:root {
  --primary-color: #D32F2F; /* Rouge Canada */
  --secondary-color: #ffffff;
  --text-color: #000000;
  --bg-color: #f9f9f9;
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  --card-font-size: 1rem;
  --card-line-height: 1.6;
}

/* Styles Généraux & Layout */
body {
  background-color: var(--bg-color);
  margin: 0;
  padding: 0;
  color: var(--text-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}


.hero {
  position: relative;
  height: 50vh;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
  background: #fff;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35);
  z-index: 1;
}
.hero .hero-content {
  position: relative;
  z-index: 2;
  color: var(--secondary-color);
  padding: 1.5rem;
  max-width: 700px;
  animation: fadeInUp 1s ease-out;
  transition: transform 0.6s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
/* La div de background lazy-load */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* L’image <img> à l’intérieur du <picture> doit recouvrir complètement */
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section {
  padding: 1rem 0;
}

/* ----------------------------------*/
/*       SECTION HEADER              */
/* ----------------------------------*/
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header .header-icon {
  font-size: 2rem;
  color: var(--primary-color);
}

.section-header .section-title {
  font-size: 2rem;
  color: var(--primary-color);
  margin-top: 0.5rem;
}


/* ----------------------------------*/
/*      INFO CARDS & FAQ CARDS       */
/* ----------------------------------*/
/* On unifie le style typographique pour toutes les cartes */
.info-card,
.faq-card {
  background: var(--secondary-color);
  border: 1px solid #ddd;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease;
}

.info-card:hover,
.faq-card:hover {
  transform: translateY(-5px);
}

/* Titres des cartes unifiés */
.info-card h3,
.info-card h4,
.faq-card h3,
.faq-card h4 {
  margin-top: 0;
  color: var(--primary-color);
  font-family: inherit;
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 600;
}

/* Paragraphe à l’intérieur des cartes unifié */
.info-card p,
.faq-card p {
  flex-grow: 1;
  font-size: var(--card-font-size);
  line-height: var(--card-line-height);
  color: var(--text-color);
  margin: 0.75rem 0;
}

/* Si vous avez des listes dans les cartes (section "Pourquoi Choisir"), on uniformise aussi */
.info-card ul,
.faq-card ul {
  list-style: disc inside;
  margin: 0.75rem 0;
  padding-left: 1rem;
  font-size: var(--card-font-size);
  line-height: var(--card-line-height);
  color: var(--text-color);
}

/* Titre secondaire au-dessus d’un paragraphe dans les cartes */
.sub-title {
  font-family: inherit;
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 600;
}

/* ----------------------------------*/
/*      CTA BUTTON                    */
/* ----------------------------------*/
.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 50px;
  background-color: var(--primary-color) !important; /* rouge #D32F2F */
  color: var(--secondary-color) !important;           /* texte blanc   */
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.cta-button:hover {
  background-color: #b71c1c !important;  /* foncé, cohérent avec la charte */
  color: var(--secondary-color) !important;
  transform: scale(1.05);
}

/* ----------------------------------*/
/*      RESPONSIVE                   */
/* ----------------------------------*/
@media screen and (max-width: 768px) {

  .section-header .section-title {
    font-size: 1.75rem;
  }
  .info-card h3,
  .info-card h4,
  .faq-card h3,
  .faq-card h4 {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 600px) {

  .cta-button {
    width: 100%;
    text-align: center;
  }
  .info-card h3,
  .info-card h4,
  .faq-card h3,
  .faq-card h4 {
    font-size: 1rem;
  }
}
#team .info-card h3 {
  font-size: 1.75rem;
}