/*
Theme Name: Guide Thermique
Theme URI: https://guide-thermique.fr
Author: Guide Thermique
Author URI: https://guide-thermique.fr
Description: Thème sur-mesure pour Guide Thermique – rénovation énergétique.
Version: 4.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: guide-thermique
*/

/* ─────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Navy (couleur secondaire — bleu marine du gilet du hibou) */
  --navy:         #1B2A4A;
  --navy-deep:    #0F1B33;
  --navy-light:   #2A3D66;
  --navy-soft:    #E5EAF3;
  --navy-softer:  #EFF1F7;

  /* Orange (couleur action / CTA / accents chauds) */
  --orange:       #FF6B35;
  --orange-hover: #E5551F;
  --orange-soft:  rgba(255, 107, 53, 0.10);
  --orange-glow:  rgba(255, 107, 53, 0.25);
  --orange-bg:    #FFF1EB;

  /* Fonds neutres */
  --white:     #FFFFFF;
  --off-white: #FAFAFA;

  /* Gris (textes et bordures) */
  --gray-50:  #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;

  /* Textes */
  --text-primary: #0F1B33;
  --text-body:    #4B5563;
  --text-muted:   #9CA3AF;

  /* Bordures et séparateurs (légèrement bleuté, en harmonie avec le navy) */
  --border:       #EFF1F7;
  --border-soft:  #F5F7FB;

  /* Ombres */
  --shadow-sm: 0 2px 8px rgba(15, 27, 51, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 27, 51, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 27, 51, 0.12);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--white);
  color: var(--navy);
  overflow-x: hidden;
}

/* ─────────────────────────────────────────────
   NAVBAR
───────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar__logo-owl {
  width: 36px;
  height: 36px;
}

.navbar__logo-text {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.01em;
}

.navbar__logo-text span {
  color: var(--navy);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.navbar__links a:hover {
  opacity: 1;
  color: var(--orange);
}

.navbar__cta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  background: var(--navy);
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(27, 42, 74, 0.18);
  transition: background 0.2s ease, transform 0.12s ease, box-shadow 0.2s ease;
}

.btn-nav:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(15, 27, 51, 0.28);
}

.btn-nav:active {
  transform: translateY(0) scale(0.98);
}

/* Hamburger */
.navbar__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.navbar__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.open span:nth-child(2) { opacity: 0; }
.navbar__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar__mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem clamp(1.25rem, 5vw, 2rem);
  flex-direction: column;
  gap: 0.25rem;
  z-index: 99;
}

.navbar__mobile-menu.open {
  display: flex;
}

.navbar__mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(27, 42, 74, 0.07);
  opacity: 0.8;
}

.navbar__mobile-menu a:last-of-type {
  border-bottom: none;
}

.navbar__mobile-menu .btn-nav {
  margin-top: 0.75rem;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
}

/* ─────────────────────────────────────────────
   HERO — DESKTOP
   Fond crème uni + image absolue droite qui déborde
   (comportement alan.com)
───────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Fond blanc très subtil — PAS d'image en background */
  background: linear-gradient(170deg, #FFFFFF 0%, #FAFAFA 100%);
}

/* ── Image desktop : base (écrasé par le bloc min-width:768px ci-dessous) ── */
.hero__img-desktop-wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero__img-desktop {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__img-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ── Desktop uniquement : image plein écran façon Alan ── */
@media (min-width: 768px) {
  /* Image couvre 100% du hero — vrai fond immersif */
  .hero__img-desktop-wrap {
    inset: 0;
    width: 100%;
  }

  .hero__img-desktop {
    object-position: center right;
  }

  /* Overlay gauche → transparent : texte lisible, hibou net à droite */
  .hero__img-fade {
    background: linear-gradient(
      to right,
      #FFFFFF                    0%,
      rgba(255, 255, 255, 0.95) 25%,
      rgba(255, 255, 255, 0.70) 40%,
      rgba(255, 255, 255, 0.30) 55%,
      rgba(255, 255, 255, 0.00) 70%
    );
  }
}

/* ── Contenu : colonne gauche sur fond crème ── */
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  padding-top: 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100dvh;
}

.hero__inner {
  max-width: 520px;
}

/* Image mobile : masquée sur desktop */
.hero__img-mobile-wrap {
  display: none;
}

/* ─────────────────────────────────────────────
   HERO — ÉLÉMENTS TEXTE
───────────────────────────────────────────── */

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--navy-soft);
  border: 1px solid rgba(27, 42, 74, 0.18);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
}

/* H1 */
.hero__h1 {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.22s forwards;
}

.hero__h1 .accent {
  color: var(--orange);
}

/* Sous-titre */
.hero__subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-body);
  max-width: 480px;
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.36s forwards;
}

/* Bouton unique dans le hero (plus de .hero__buttons wrapper) */
.hero__inner > .btn-primary {
  margin-top: 0;
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.44s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  background: var(--orange);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 18px var(--orange-glow);
  transition: background 0.2s ease, transform 0.12s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(255, 107, 53, 0.45);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 10px rgba(255, 107, 53, 0.22);
}

.btn-primary svg {
  transition: transform 0.2s ease;
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.6rem;
  background: transparent;
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid var(--navy);
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.12s ease;
}

.btn-outline:hover {
  background: var(--navy);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline:active {
  transform: translateY(0) scale(0.98);
}

/* Réassurance */
.hero__reassurance {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.64s forwards;
}

.hero__reassurance-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero__reassurance-item svg {
  flex-shrink: 0;
  color: var(--navy);
}

.hero__reassurance-sep {
  width: 1px;
  height: 14px;
  background: var(--gray-200);
}

/* ─────────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────────
   RESPONSIVE — MOBILE (< 768px)
   Comportement alan.com : texte centré en haut,
   image en carte arrondie en dessous
───────────────────────────────────────────── */
@media (max-width: 767px) {
  /* Navbar */
  .navbar__links        { display: none; }
  .navbar__cta .btn-nav { display: none; }
  .navbar__burger       { display: flex; }

  /* Hero : layout colonne, hauteur naturelle */
  .hero {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 2.5rem;
  }

  /* Masquer l'image desktop sur mobile */
  .hero__img-desktop-wrap {
    display: none;
  }

  /* Content : colonne, padding-top sous navbar */
  .hero__content {
    min-height: auto;
    padding-top: calc(68px + 2rem);
    padding-bottom: 0;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2rem;
  }

  /* Bloc texte : centré sur mobile */
  .hero__inner {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero__h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .hero__subtitle {
    max-width: 100%;
    text-align: center;
  }

  /* Bouton unique full-width */
  .hero__inner > .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }

  /* Réassurance centrée */
  .hero__reassurance {
    justify-content: center;
  }

  .hero__reassurance-sep {
    display: none;
  }

  /* Image mobile : carte arrondie sous le texte — AUCUN overlay */
  .hero__img-mobile-wrap {
    display: block;
    margin: 0 1.25rem;
    border-radius: 24px;
    overflow: hidden;
    line-height: 0;
    opacity: 0;
    transform: translateY(22px);
    animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.78s forwards;
  }

  .hero__img-mobile {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
    object-fit: cover;
  }
}

@media (max-width: 400px) {
  .hero__h1 { font-size: 1.85rem; }
}


/* ═══════════════════════════════════════════════
   SECTION CATÉGORIES
═══════════════════════════════════════════════ */
.categories {
  background: #ffffff;
  padding: 70px 0;
}

.categories__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

/* ── En-tête centré ── */
.categories__header {
  text-align: center;
  margin-bottom: 40px;
}

.categories__label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.categories__label-line {
  width: 40px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  margin: 0 auto 0.875rem;
}

.categories__h2 {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.05rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.categories__subtitle {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Grille 3 × 2 ── */
.categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* ── Card ── */
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  padding-bottom: 64px; /* espace pour la flèche en absolute */
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  min-height: 220px;
  box-shadow: 0 4px 24px rgba(15, 27, 51, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;

  /* État initial animation scroll */
  opacity: 0;
  transform: translateY(20px);
}

.cat-card--visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity      0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform    0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow   0.3s ease,
    border-color 0.3s ease;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(15, 27, 51, 0.10);
  border-color: var(--navy);
}

.cat-card:focus-visible {
  outline: 2.5px solid var(--navy);
  outline-offset: 3px;
}

/* ── Icône ── */
.cat-card__icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cat-card__icon-wrap svg {
  width: 20px;
  height: 20px;
}

/* ── Titre ── */
.cat-card__title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 16px;
  margin-bottom: 0;
  line-height: 1.3;
}

/* ── Description ── */
.cat-card__desc {
  font-size: 0.844rem;
  line-height: 1.5;
  color: var(--text-body);
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Flèche (absolute bas-droite) ── */
.cat-card__arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease;
}

.cat-card:hover .cat-card__arrow {
  background: var(--navy);
  color: #ffffff;
}

/* ── Responsive Tablet ── */
@media (max-width: 1024px) {
  .categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Responsive Mobile ── */
@media (max-width: 767px) {
  .categories {
    padding: 50px 0;
  }

  .categories__header {
    margin-bottom: 32px;
  }

  .categories__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}


/* ═══════════════════════════════════════════════
   SECTION COMMENT ÇA MARCHE — TIMELINE HORIZONTALE
═══════════════════════════════════════════════ */
.hiw {
  background: #ffffff;
  padding: 70px 0;
}

.hiw__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Header centré ── */
.hiw__header {
  text-align: center;
  max-width: 640px;
  width: 100%;
}

.hiw__label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.hiw__label-line {
  width: 40px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  margin: 0 auto 0.875rem;
}

.hiw__h2 {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.05rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.hiw__subtitle {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Hibou centré ── */
.hiw__owl-wrap {
  margin-top: 32px;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.hiw__owl {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(15, 27, 51, 0.12));
}

/* ── Timeline horizontale ── */
.hiw__timeline {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

/* ── Étape ── */
.timeline-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

/* ── Ligne pointillée entre les étapes ── */
.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 32px; /* centre vertical du cercle (64px ÷ 2) */
  left: calc(50% + 40px);  /* commence après le bord droit du cercle */
  right: calc(-50% + 40px); /* se termine avant le bord gauche du cercle suivant */
  height: 2px;
  background-image: linear-gradient(to right, var(--navy) 50%, transparent 50%);
  background-size: 12px 2px;
  background-repeat: repeat-x;
  opacity: 0.28;
  z-index: 0;
}

/* ── Cercle numéroté ── */
.timeline-step__circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(15, 27, 51, 0.20);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* ── Titre de l'étape ── */
.timeline-step__title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 20px;
  margin-bottom: 0;
  line-height: 1.3;
}

/* ── Description de l'étape ── */
.timeline-step__desc {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.6;
  max-width: 240px;
  margin-top: 10px;
}

/* ── Badges garanties ── */
.hiw__badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 56px;
  width: 100%;
}

.hiw__badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 10px 18px;
}

.hiw__badge-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

/* ── Animations au scroll ── */
.hiw-anim {
  opacity: 0;
  transform: translateY(18px);
}

.hiw-anim--visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity   0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hiw-owl-anim {
  opacity: 0;
  transform: scale(0.95);
}

.hiw-owl-anim--visible {
  opacity: 1;
  transform: scale(1);
  transition:
    opacity   0.6s ease-out,
    transform 0.6s ease-out;
}

/* ── Responsive Tablet ── */
@media (max-width: 1024px) {
  .hiw__container {
    padding: 0 clamp(1.25rem, 5vw, 3rem);
  }

  .hiw__owl {
    max-width: 240px;
  }

  .timeline-step__desc {
    max-width: 180px;
  }
}

/* ── Responsive Mobile ── */
@media (max-width: 767px) {
  .hiw {
    padding: 50px 0;
  }

  .hiw__container {
    padding: 0 24px;
  }

  .hiw__owl {
    max-width: 180px;
  }

  .hiw__owl-wrap {
    margin-top: 24px;
    margin-bottom: 32px;
  }

  /* Timeline verticale */
  .hiw__timeline {
    flex-direction: column;
    align-items: center;
  }

  .timeline-step {
    flex: none;
    width: 100%;
    max-width: 340px;
    padding: 0 16px;
    padding-bottom: 32px;
  }

  .timeline-step:last-child {
    padding-bottom: 0;
  }

  /* Connecteur vertical pointillé */
  .timeline-step:not(:last-child)::after {
    top: 64px;
    left: calc(50% - 1px);
    right: auto;
    width: 2px;
    height: calc(100% - 64px);
    background-image: linear-gradient(to bottom, var(--navy) 50%, transparent 50%);
    background-size: 2px 12px;
    background-repeat: repeat-y;
    opacity: 0.28;
  }

  .timeline-step__desc {
    max-width: 100%;
  }

  .hiw__badges {
    margin-top: 40px;
    gap: 10px;
  }

  .hiw__badge {
    width: 100%;
    max-width: 340px;
    justify-content: center;
  }
}


/* ═══════════════════════════════════════════════
   SECTION VITEUNEDEVIS — PARTENAIRE
═══════════════════════════════════════════════ */
.vud {
  background: #ffffff;
  padding: 70px 0;
}

.vud__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Header ── */
.vud__header {
  text-align: center;
  margin-bottom: 40px;
  max-width: 720px;
}

.vud__label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.vud__label-line {
  width: 40px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  margin: 0 auto 0.875rem;
}

.vud__h2 {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.05rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.vud__subtitle {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Bande partenariat ── */
.vud__partner-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
  margin-bottom: 50px;
}

.vud__partner-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.09375rem;
}

.vud__partner-logo-placeholder {
  width: 140px;
  height: 40px;
  background: var(--gray-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
}

/* ── Grille stats ── */
.vud__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
  margin-bottom: 50px;
}

.vud__stat {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  cursor: default;
}

.vud__stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(27, 42, 74, 0.09);
  border-color: var(--navy);
  background: var(--navy-soft);
}

.vud__stat:hover .vud__stat-num {
  transform: scale(1.05);
}

.vud__stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.vud__stat-icon svg {
  width: 26px;
  height: 26px;
}

.vud__stat-num {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(2.375rem, 4.5vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.09375rem;
  color: var(--navy);
  margin-bottom: 6px;
  display: block;
  transition: transform 0.25s ease;
}

.vud__stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.4;
}

/* ── Badges pill ── */
.vud__badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.vud__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 12px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.2s ease, border-color 0.2s ease;
  cursor: default;
}

.vud__badge:hover {
  background: var(--navy-soft);
  border-color: var(--navy);
}

/* ── Mention légale ── */
.vud__legal {
  font-size: 0.78125rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
  max-width: 680px;
  font-style: italic;
}

/* ── Animations scroll ── */
.vud-anim {
  opacity: 0;
  transform: translateY(18px);
}

.vud-anim--visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity   0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .vud__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .vud {
    padding: 50px 0;
  }

  .vud__container {
    padding: 0 24px;
  }

  .vud__header {
    margin-bottom: 40px;
  }

  .vud__h2 {
    font-size: 1.75rem;
  }

  .vud__subtitle {
    font-size: 0.9375rem;
  }

  .vud__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .vud__stat {
    padding: 24px 18px;
  }

  .vud__stat-num {
    font-size: 2.5rem;
  }

  .vud__badges {
    flex-direction: column;
    align-items: stretch;
  }

  .vud__badge {
    justify-content: center;
  }
}


/* ═══════════════════════════════════════════════
   SECTION NOS DERNIERS GUIDES
═══════════════════════════════════════════════ */
.guides {
  background: var(--white);
  padding: 70px 0;
}

.guides__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
}

/* ── Header ── */
.guides__header {
  text-align: center;
  margin-bottom: 40px;
}

.guides__label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.guides__label-line {
  width: 40px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  margin: 0 auto 0.875rem;
}

.guides__h2 {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.05rem;
  color: var(--navy);
  max-width: 720px;
  margin: 0 auto 0.75rem;
}

.guides__subtitle {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Grille cards ── */
.guides__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

/* ── Card article ── */
.guide-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.guide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(27, 42, 74, 0.10);
  border-color: var(--navy);
}

.guide-card:focus-within {
  outline: 2.5px solid var(--navy);
  outline-offset: 2px;
}

/* Zone image placeholder */
.guide-card__img {
  aspect-ratio: 16 / 11;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Corps de la card */
.guide-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Badge catégorie */
.guide-card__cat {
  display: inline-flex;
  align-items: center;
  background: var(--navy-soft);
  color: var(--navy);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
  line-height: 1;
}

/* Placeholder titre */
.guide-card__title-ph {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

/* Placeholder extrait */
.guide-card__excerpt-ph {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  flex: 1;
}

/* Lignes placeholder communes */
.guide-card__ph-line {
  border-radius: 4px;
  background: var(--gray-200);
  height: 16px;
}

.guide-card__ph-line--sm {
  height: 11px;
  border-radius: 3px;
  background: var(--gray-100);
}

.guide-card__ph-line--full { width: 100%; }
.guide-card__ph-line--85  { width: 85%; }
.guide-card__ph-line--70  { width: 70%; }

/* Lien "Lire l'article" */
.guide-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  margin-top: auto;
  align-self: flex-start;
  transition: gap 0.2s ease, color 0.2s ease;
}

.guide-card__link:hover {
  color: var(--orange);
}

.guide-card__link svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.guide-card__link:hover svg {
  transform: translateX(4px);
}

.guide-card__link:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ── CTA centré ── */
.guides__cta-wrap {
  display: flex;
  justify-content: center;
}

.guides__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.guides__cta svg {
  transition: transform 0.2s ease;
}

.guides__cta:hover {
  background: var(--navy);
  color: #ffffff;
  transform: translateY(-2px);
}

.guides__cta:hover svg {
  transform: translateX(3px);
}

.guides__cta:focus-visible {
  outline: 2.5px solid var(--navy);
  outline-offset: 3px;
}

/* ── Animations scroll ── */
.guides-anim {
  opacity: 0;
  transform: translateY(20px);
}

.guides-anim--visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity   0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .guides__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .guides {
    padding: 50px 0;
  }

  .guides__container {
    padding: 0 24px;
  }

  .guides__header {
    margin-bottom: 40px;
  }

  .guides__h2 {
    font-size: 1.75rem;
  }

  .guides__subtitle {
    font-size: 0.9375rem;
  }

  .guides__grid {
    gap: 20px;
  }

  .guides__cta {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }
}


/* ═══════════════════════════════════════════════
   SECTION VIDÉOS YOUTUBE
═══════════════════════════════════════════════ */
.yt {
  background: #ffffff;
  padding: 70px 0;
}

.yt__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
}

/* ── Header ── */
.yt__header {
  text-align: center;
  margin-bottom: 40px;
}

.yt__label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.yt__label-line {
  width: 40px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  margin: 0 auto 0.875rem;
}

.yt__h2 {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.05rem;
  color: var(--navy);
  max-width: 720px;
  margin: 0 auto 0.75rem;
}

.yt__subtitle {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Grille ── */
.yt__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

/* ── Card ── */
.yt-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.yt-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(27, 42, 74, 0.10);
  border-color: var(--navy);
}

.yt-card:focus-within {
  outline: 2.5px solid var(--navy);
  outline-offset: 2px;
}

/* Thumbnail */
.yt-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--navy-softer) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Bouton play */
.yt-card__play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.92);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.yt-card__play svg {
  margin-left: 4px; /* optique : triangle visuellement centré */
}

.yt-card:hover .yt-card__play {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.40);
}

/* Badge durée */
.yt-card__duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* Corps */
.yt-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Badge catégorie */
.yt-card__cat {
  display: inline-flex;
  align-items: center;
  background: var(--navy-soft);
  color: var(--navy);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
  line-height: 1;
}

/* Placeholder titre */
.yt-card__title-ph {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

/* Métadonnées */
.yt-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.yt-card__meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D8D0C8;
  flex-shrink: 0;
}

.yt-card__meta-sep {
  font-size: 0.75rem;
  color: #C4B89E;
  line-height: 1;
}

/* Lignes placeholder */
.yt-card__ph {
  border-radius: 4px;
  background: #F0EBE0;
  flex-shrink: 0;
}

.yt-card__ph--md  { height: 16px; border-radius: 4px; }
.yt-card__ph--sm  { height: 11px; border-radius: 3px; background: var(--gray-100); }
.yt-card__ph--full { width: 100%; }
.yt-card__ph--70   { width: 70%; }

/* Lien */
.yt-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  margin-top: auto;
  align-self: flex-start;
  transition: color 0.2s ease;
}

.yt-card__link:hover {
  color: var(--orange);
}

.yt-card__link svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.yt-card__link:hover svg {
  transform: translateX(4px);
}

.yt-card__link:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ── CTA YouTube ── */
.yt__cta-wrap {
  display: flex;
  justify-content: center;
}

.yt__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FF0000;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.yt__cta:hover {
  background: #CC0000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.25);
}

.yt__cta:focus-visible {
  outline: 2.5px solid var(--navy);
  outline-offset: 3px;
}

/* ── Animations scroll ── */
.yt-anim {
  opacity: 0;
  transform: translateY(20px);
}

.yt-anim--visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity   0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .yt__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .yt {
    padding: 50px 0;
  }

  .yt__container {
    padding: 0 24px;
  }

  .yt__header {
    margin-bottom: 40px;
  }

  .yt__h2 {
    font-size: 1.75rem;
  }

  .yt__subtitle {
    font-size: 0.9375rem;
  }

  .yt__grid {
    gap: 20px;
  }

  .yt__cta {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }
}


/* ═══════════════════════════════════════════════
   SECTION CTA FINAL
═══════════════════════════════════════════════ */
.cta-final {
  position: relative;
  background: linear-gradient(135deg, #FFF8F4 0%, #FFE8DA 100%);
  padding: 70px 0;
  overflow: hidden;
}

/* Grain texture */
.cta-final__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.038;
  pointer-events: none;
  z-index: 0;
}

.cta-final__container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 60px;
  align-items: center;
}

/* ── Colonne gauche ── */
.cta-final__left {
  display: flex;
  flex-direction: column;
}

.cta-final__label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.cta-final__label-line {
  width: 40px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  margin-bottom: 0.875rem;
}

.cta-final__h2 {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.05rem;
  color: var(--navy);
  max-width: 540px;
  margin-bottom: 1rem;
}

.cta-final__accent {
  color: var(--orange);
}

.cta-final__subtitle {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 520px;
  margin-bottom: 1.75rem;
}

/* ── Bouton CTA ── */
.cta-final__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--orange);
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  padding: 18px 36px;
  border-radius: 56px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  align-self: flex-start;
  box-shadow: 0 12px 32px rgba(255, 107, 53, 0.35);
  transition: background 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              transform  0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  animation: ctaPulse 2.5s ease-in-out infinite;
  margin-bottom: 1rem;
}

.cta-final__btn svg {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
}

.cta-final__btn:hover {
  background: var(--orange-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(255, 107, 53, 0.45);
  animation: none;
}

.cta-final__btn:hover svg {
  transform: translateX(5px);
}

.cta-final__btn:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 4px;
  animation: none;
}

.cta-final__btn:active {
  transform: translateY(0) scale(0.98);
}

@keyframes ctaPulse {
  0%,  100% { box-shadow: 0 12px 32px rgba(255, 107, 53, 0.35); }
  50%        { box-shadow: 0 16px 44px rgba(255, 107, 53, 0.55); }
}

/* ── Réassurance ── */
.cta-final__reassurance {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.cta-final__reassurance-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84375rem;
  font-weight: 500;
  color: var(--text-body);
}

/* ── Colonne droite : hibou ── */
.cta-final__right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-final__owl-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Halo chaud derrière l'image */
.cta-final__owl-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(255, 107, 53, 0.25) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.cta-final__owl {
  position: relative;
  z-index: 1;
  max-width: 360px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 25px 50px rgba(255, 107, 53, 0.20));
}

/* ── Animations scroll ── */
.cta-anim {
  opacity: 0;
  transform: translateY(18px);
}

.cta-anim--visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity   0.55s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-owl-anim {
  opacity: 0;
  transform: scale(0.95);
}

.cta-owl-anim--visible {
  opacity: 1;
  transform: scale(1);
  transition:
    opacity   0.8s ease-out 0.2s,
    transform 0.8s ease-out 0.2s;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .cta-final__container {
    padding: 0 clamp(1.25rem, 5vw, 3rem);
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .cta-final {
    padding: 50px 0;
  }

  .cta-final__container {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0 24px;
  }

  /* Hibou au-dessus sur mobile */
  .cta-final__right {
    order: -1;
  }

  .cta-final__owl {
    max-width: 220px;
  }

  .cta-final__h2 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .cta-final__subtitle {
    font-size: 1rem;
    max-width: 100%;
  }

  .cta-final__btn {
    align-self: stretch;
    justify-content: center;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    padding: 18px 32px;
    font-size: 1rem;
  }

  .cta-final__reassurance {
    justify-content: center;
  }
}


/* ═══════════════════════════════════════════════
   SECTION FAQ
═══════════════════════════════════════════════ */
.faq {
  background: #ffffff;
  padding: 70px 0;
}

.faq__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: 40fr 60fr;
  gap: 80px;
  align-items: start;
}

/* ── Colonne gauche sticky ── */
.faq__left {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
}

.faq__label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.faq__label-line {
  width: 40px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  margin-bottom: 0.875rem;
}

.faq__h2 {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.05rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.faq__subtitle {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 380px;
  margin-bottom: 2.25rem;
}

/* Carte d'aide */
.faq__help-card {
  background: var(--navy-softer);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.faq__help-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.faq__help-text {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 16px;
}

.faq__help-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  align-self: flex-start;
  transition: color 0.2s ease;
}

.faq__help-link:hover {
  color: var(--orange);
}

.faq__help-link svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq__help-link:hover svg {
  transform: translateX(4px);
}

.faq__help-link:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ── Colonne droite : accordéon ── */
.faq__right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Item accordéon ── */
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item--open {
  border-color: rgba(27, 42, 74, 0.30);
  box-shadow: 0 4px 20px rgba(27, 42, 74, 0.08);
}

/* Bouton trigger */
.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
}

.faq-item__trigger:focus-visible {
  outline: 2.5px solid var(--navy);
  outline-offset: -2px;
  border-radius: 14px;
}

.faq-item__question {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  flex: 1;
}

/* Icône +/− */
.faq-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
  transition: background 0.25s ease, color 0.25s ease, transform 0.3s ease;
}

.faq-item__trigger:hover .faq-item__icon {
  background: rgba(27, 42, 74, 0.18);
}

.faq-item--open .faq-item__icon {
  background: var(--navy);
  color: #ffffff;
  transform: rotate(45deg); /* + devient × */
}

/* Corps réponse */
.faq-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item__answer {
  padding: 0 22px 20px;
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ── Animations scroll ── */
.faq-anim {
  opacity: 0;
  transform: translateY(15px);
}

.faq-anim--visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity   0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .faq__container {
    gap: 48px;
    padding: 0 clamp(1.25rem, 5vw, 3rem);
  }
}

@media (max-width: 767px) {
  .faq {
    padding: 50px 0;
  }

  .faq__container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 24px;
  }

  /* Plus de sticky sur mobile */
  .faq__left {
    position: static;
  }

  .faq__subtitle {
    max-width: 100%;
  }

  .faq__help-card {
    max-width: 100%;
  }

  .faq-item__question {
    font-size: 0.9375rem;
  }

  .faq-item__trigger {
    padding: 18px 20px;
  }

  .faq-item__answer {
    padding: 0 20px 20px;
  }
}


/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.site-footer {
  background: #0F1B33;
  color: rgba(255, 255, 255, 0.62);
  font-family: 'DM Sans', sans-serif;
}

/* ── Zone haute ── */
.site-footer__top {
  padding: 72px 0 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: clamp(24px, 5vw, 80px);
  padding-right: clamp(24px, 5vw, 80px);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px 40px;
}

/* ── Col logo / brand ── */
.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 18px;
}

.site-footer__logo-owl {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.site-footer__logo-text {
  font-family: 'Fraunces', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.site-footer__logo-text span {
  color: #E8751A;
}

.site-footer__tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  max-width: 280px;
  margin-bottom: 28px;
}

/* ── Réseaux sociaux ── */
.site-footer__socials {
  display: flex;
  gap: 10px;
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.site-footer__social-link:hover {
  background: rgba(232, 119, 26, 0.18);
  border-color: rgba(232, 119, 26, 0.45);
  color: #E8751A;
}

/* ── Colonnes nav ── */
.site-footer__nav-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 20px;
}

.site-footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.site-footer__nav ul li a {
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__nav ul li a:hover {
  color: #ffffff;
}

/* ── Séparateur ── */
.site-footer__separator {
  max-width: 1200px;
  margin: 0 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.09);
  margin-left: clamp(24px, 5vw, 80px);
  margin-right: clamp(24px, 5vw, 80px);
}

/* ── Barre bas ── */
.site-footer__bottom {
  padding: 24px clamp(24px, 5vw, 80px);
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer__copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.38);
  margin: 0;
}

.site-footer__partner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer__partner-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.site-footer__partner-logo {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 5px 12px;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: default;
}

/* ── Tablet (≤ 1024px) : 2 colonnes ── */
@media (max-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 48px;
    align-items: start;
  }

  .site-footer__logo {
    grid-row: 1;
    grid-column: 1;
  }

  .site-footer__tagline {
    grid-row: 2;
    grid-column: 1;
    max-width: 260px;
    margin-bottom: 0;
  }

  .site-footer__socials {
    grid-row: 1 / 3;
    grid-column: 2;
    align-self: center;
  }
}

/* ── Mobile (≤ 767px) : 1 colonne ── */
@media (max-width: 767px) {
  .site-footer__top {
    padding-top: 52px;
    padding-bottom: 44px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .site-footer__brand {
    grid-column: auto;
    display: block;
  }

  .site-footer__tagline {
    max-width: 100%;
    margin-bottom: 24px;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .site-footer__copy {
    order: 2;
  }

  .site-footer__partner {
    order: 1;
  }
}
