/* ============================================
   YOURWEDRISE — LUXURY EDITORIAL
   ============================================ */

:root {
  /* Fonds */
  --cream: #F5EFE4;          /* crème principal (couleur unifiée zone transition) */
  --cream-soft: #EFE7D5;     /* crème élevée pour cards/sections alternées */
  --cream-deep: #E8DDC5;     /* crème bordure/lignes */
  --ivory: #FBF7EE;          /* blanc cassé le plus clair */

  /* Bleu marine */
  --navy: #1A2B4A;           /* marine principal (texte + sections drama) */
  --navy-deep: #0F1E3D;      /* marine profond pour contrastes forts */
  --navy-soft: #2A3B5E;      /* marine légèrement éclairci (hovers, bordures) */

  /* Rouge (éléments importants) */
  --red: #8B1A1A;            /* rouge bordeaux — urgence, douleur */
  --red-deep: #6F1216;       /* rouge plus sombre pour hover */

  /* Or (accent typo sur fonds foncés) */
  --gold: #C9A96E;
  --gold-soft: #B08F4F;
  --gold-light: #E0C893;

  /* Textes */
  --text: #1A2B4A;           /* texte principal = marine sur crème */
  --text-muted: #5A6680;     /* texte secondaire */
  --text-on-navy: #F5EFE2;   /* texte crème sur marine */
  --text-on-red: #F5EFE2;    /* texte crème sur rouge */

  /* Aliases pour compatibilité */
  --bg: var(--cream);
  --bg-elev: var(--cream-soft);
  --bg-soft: var(--cream-deep);
  --gray: var(--cream-deep);
  --gray-2: #D4C5A3;

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1200px;
  --container-narrow: 840px;
  --radius: 2px;
  --transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

p { color: var(--text-muted); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.022em;
}

h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.028em;
}

h1 { color: var(--navy); }
h1 em { color: var(--red); font-style: italic; font-weight: 400; }

h2 {
  font-size: clamp(2.1rem, 4.8vw, 3.8rem);
  margin-bottom: 1.5rem;
  line-height: 1.05;
  letter-spacing: -0.022em;
}

h2 { color: var(--navy); }
h2 em { color: var(--red); font-style: italic; }

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 500;
  margin-bottom: 0.8rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { color: var(--text-muted); font-size: 1.05rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.2rem;
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container.narrow { max-width: var(--container-narrow); }
.container.center { text-align: center; }

.section { padding: 7rem 0; position: relative; }

.section-header { text-align: center; margin-bottom: 4rem; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-header .section-sub { color: var(--text-muted); font-size: 1.1rem; margin-top: 1rem; }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.05rem 2.2rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--navy);
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  color: var(--navy);
  white-space: nowrap;
  border-radius: 980px;
}

.btn-gold {
  background: var(--red);
  color: var(--ivory);
  border-color: var(--red);
}

.btn-gold:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(139, 26, 26, 0.25);
}

.btn-navy {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-deep);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(26, 43, 74, 0.25);
}

.btn-lg { padding: 1.2rem 2.4rem; font-size: 1rem; }
.btn-sm { padding: 0.7rem 1.4rem; font-size: 0.85rem; }

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(245, 239, 226, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(26, 43, 74, 0.12);
}

/* Navbar sur hero (fond sombre) en haut → liens clairs */
.navbar:not(.scrolled) .nav-links a { color: var(--ivory); }

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  position: relative;
}

/* Logo SVG — viewBox ajusté 425x72 (ratio ~5.9:1) */
.logo-img {
  height: 56px;
  width: auto;
  display: block;
  transition: opacity var(--transition);
}

/* Dans la navbar : 2 versions superposées, switch opacity selon scrolled */
.navbar .logo { position: relative; height: 56px; min-width: 330px; display: flex; align-items: center; }
.navbar .logo-img-light,
.navbar .logo-img-dark {
  position: absolute;
  left: 0;
  top: 0;
  transition: opacity 0.3s ease;
}
.navbar .logo-img-light { opacity: 1; }
.navbar .logo-img-dark { opacity: 0; }
.navbar.scrolled .logo-img-light { opacity: 0; }
.navbar.scrolled .logo-img-dark { opacity: 1; }
.navbar.scrolled .logo { height: 48px; }
.navbar.scrolled .logo-img { height: 48px; }

/* Footer */
.footer .logo-img { height: 60px; }

.nav-links {
  display: flex;
  gap: 2.4rem;
  font-size: 0.9rem;
  font-weight: 400;
}

.nav-links a {
  color: var(--navy);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 1px;
  background: var(--navy);
  transition: var(--transition);
}

.navbar:not(.scrolled) .nav-toggle span { background: var(--ivory); }

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 120px;
  background: var(--navy);
  color: var(--text-on-navy);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* When video loads, hide the fallback gradient bg (poster provides the fallback instead) */
.hero:has(.hero-video[src]) .hero-bg,
.hero:has(video > source) .hero-bg { display: none; }

/* Overlay sombre : 55% opacité stable jusqu'à 60% puis fade vers 0 pour céder la place au crème */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.55) 60%,
    rgba(0, 0, 0, 0.30) 75%,
    rgba(0, 0, 0, 0) 90%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-bg, .hero-overlay { position: relative; z-index: 1; }
.hero-content { position: relative; z-index: 3; }

/* Fallback fond si la vidéo ne charge pas — pas de gradient décoratif
   pour éviter toute variation de couleur */
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy-deep);
  z-index: 0;
}

/* Dégradé crème : transition douce vers #F5EFE4 sur la partie basse du hero.
   La section suivante étant uniforme #F5EFE4, le dégradé ne crée aucune variation. */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    transparent 0%,
    transparent 55%,
    rgba(245, 239, 228, 0.20) 68%,
    rgba(245, 239, 228, 0.60) 80%,
    rgba(245, 239, 228, 0.90) 92%,
    #F5EFE4 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Continuité : début de la section problème invisible (le crème du hero fond dedans) */
.section-problem { margin-top: -1px; }

.hero .eyebrow { color: var(--gold); }
.hero h1 { color: var(--ivory); }
.hero h1 em { color: var(--gold); }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  padding-block: 4rem;
  margin: 0 auto;
  text-align: center;
}

.hero h1 { margin-left: auto; margin-right: auto; }
.hero-sub { margin-left: auto; margin-right: auto; }
.hero-trust { justify-content: center; }

.hero h1 {
  margin-bottom: 2rem;
  max-width: 24ch;
}

.hero-sub {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  max-width: 58ch;
  margin-bottom: 2.5rem;
  color: var(--text-on-navy);
  opacity: 0.88;
}

.hero-sub strong { color: var(--gold); font-weight: 500; }

.hero-cta { margin-bottom: 2.5rem; }

.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
}

.hero-trust li::first-letter { color: var(--red); font-weight: 700; }

.hero-trust.center-list { justify-content: center; margin-top: 2rem; }

.hero-scroll {
  display: none;
}

.hero-scroll span {
  display: block;
  width: 1px; height: 20px;
  background: var(--gold);
  animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
  0% { transform: translateY(-20px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(60px); opacity: 0; }
}

/* ============================================
   PROBLÈME
   ============================================ */

.section-problem {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

/* Nuances rouges subtiles — positionnées dans la moitié basse de la section
   pour ne PAS perturber le dégradé hero → crème en haut */
.section-problem::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 40%;
  bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 70%, rgba(139, 26, 26, 0.06), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 90%, rgba(139, 26, 26, 0.04), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.section-problem .container { position: relative; z-index: 1; }

.problem-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-problem h2 { color: var(--navy); margin-bottom: 1.2rem; text-align: center; }
.section-problem h2 em { color: var(--red); }

.problem-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.problem-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

.problem-body { display: flex; flex-direction: column; gap: 2.5rem; }

.problem-text p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.problem-text .highlight {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  font-style: normal;
  line-height: 1.4;
}

.problem-text .highlight em { color: var(--red); font-style: italic; font-weight: 500; }

.urgency-intro {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  color: var(--navy);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.4;
}

.urgency-intro em { color: var(--red); font-style: italic; }

.urgency-secondary {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  color: var(--navy);
  max-width: 720px;
  margin: 3rem auto 0;
  padding: 1.4rem 2rem;
  border-top: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
  line-height: 1.5;
}

.urgency-secondary strong { color: var(--red); font-weight: 500; font-style: italic; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.problem-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.problem-card {
  background: var(--ivory);
  border: 1px solid var(--cream-deep);
  border-left: 3px solid var(--red);
  padding: 1.4rem 1.6rem;
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.problem-card:hover {
  border-left-width: 5px;
  transform: translateX(4px);
  box-shadow: 0 10px 25px rgba(26, 43, 74, 0.08);
}

.problem-card .dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  margin-top: 0.55rem;
  flex-shrink: 0;
}

.problem-card p {
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 0;
}

.problem-card strong { color: var(--red); font-weight: 500; }

/* ============================================
   PHOTO STACK (paquet de photos swipeable)
   ============================================ */

.photo-stack-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.photo-stack {
  --card-w: 340px;
  --card-h: 440px;
  --stack-offset-y: 8px;
  --stack-offset-z: 14px;
  position: relative;
  width: var(--card-w);
  height: var(--card-h);
  perspective: 900px;
  transform-style: preserve-3d;
  user-select: none;
  touch-action: none;
}

.photo-card {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  background: var(--ivory);
  cursor: grab;
  transform-origin: center center;
  will-change: transform, opacity;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.45s ease;
}

.photo-card:active { cursor: grabbing; }

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  filter: saturate(0.95) contrast(1.02);
}

/* Pseudo "paquet" : chaque carte empilée un peu derrière */
.photo-card:nth-child(1) { transform: translateY(0) translateZ(0) rotate(-2deg); z-index: 7; }
.photo-card:nth-child(2) { transform: translateY(calc(var(--stack-offset-y) * 1)) translateZ(calc(var(--stack-offset-z) * -1)) rotate(1.5deg); z-index: 6; }
.photo-card:nth-child(3) { transform: translateY(calc(var(--stack-offset-y) * 2)) translateZ(calc(var(--stack-offset-z) * -2)) rotate(-1deg); z-index: 5; }
.photo-card:nth-child(4) { transform: translateY(calc(var(--stack-offset-y) * 3)) translateZ(calc(var(--stack-offset-z) * -3)) rotate(2deg); z-index: 4; }
.photo-card:nth-child(5) { transform: translateY(calc(var(--stack-offset-y) * 4)) translateZ(calc(var(--stack-offset-z) * -4)) rotate(-1.5deg); z-index: 3; }
.photo-card:nth-child(6) { transform: translateY(calc(var(--stack-offset-y) * 5)) translateZ(calc(var(--stack-offset-z) * -5)) rotate(1deg); z-index: 2; }
.photo-card:nth-child(7) { transform: translateY(calc(var(--stack-offset-y) * 6)) translateZ(calc(var(--stack-offset-z) * -6)) rotate(-2.2deg); z-index: 1; }

.photo-stack-caption {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  opacity: 0.85;
  margin-top: 0.8rem;
}

/* ============================================
   PROMESSE
   ============================================ */

.section-promise {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--text-on-navy);
  padding: 5rem 0 !important;
}

.promise-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(201, 169, 110, 0.1), transparent 65%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-deep) 100%);
  pointer-events: none;
}

.section-promise h2 { text-align: center; margin-bottom: 3rem; color: var(--ivory); position: relative; z-index: 1; }
.section-promise h2 em { color: var(--gold); }

.promise-text {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.promise-text p {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  color: var(--text-on-navy);
  line-height: 1.6;
}

.promise-text em { color: var(--gold); font-style: italic; font-family: var(--font-display); font-size: 1.15em; }
.promise-text strong { color: var(--ivory); font-weight: 500; }

/* Bloc de fermeture : une seule ligne, taille modérée, tout en or italique */
.promise-closing {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.9vw, 1.7rem) !important;
  font-style: italic;
  color: var(--gold) !important;
  line-height: 1.4;
  margin: 2.5rem auto 0 !important;
  text-align: center;
  max-width: none;
  position: relative;
  z-index: 1;
}

.promise-closing em { color: var(--ivory); font-style: italic; font-weight: 500; }

/* CTA outer : zone crème entre section promesse (marine) et section suivante */
.promise-cta-outer {
  background: var(--cream);
  padding: 4rem 0;
  text-align: center;
}

/* Rotation des mots — largeur fixe pour éviter le décalage de mise en page */
.word-rotate {
  display: inline-block;
  min-width: 8ch;
  text-align: left;
  position: relative;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.word-rotate.swap-out { opacity: 0; transform: translateY(-8px); }
.word-rotate.swap-in { opacity: 0; transform: translateY(8px); }

/* ============================================
   PROGRAMME — 6 PILIERS
   ============================================ */

.section-programme {
  background: var(--cream-soft);
  position: relative;
}

/* Dégradé haut : fondu depuis la section précédente (crème) vers cream-soft */
.section-programme::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(to bottom, var(--cream) 0%, var(--cream-soft) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Dégradé bas : fondu vers la section suivante (crème) */
.section-programme::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(to bottom, var(--cream-soft) 0%, var(--cream) 100%);
  pointer-events: none;
  z-index: 0;
}

.section-programme .container { position: relative; z-index: 1; }

/* Grid 3 × 2 : 3 colonnes, 2 lignes */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background: var(--ivory);
  border: 1px solid var(--cream-deep);
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease;
  isolation: isolate;
}

.pillar:hover,
.pillar:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(26, 43, 74, 0.15);
  outline: none;
}

/* Image derrière — légèrement visible par transparence du content */
.pillar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
  filter: saturate(0.85) brightness(0.92);
}

.pillar:hover .pillar-img,
.pillar:focus-visible .pillar-img {
  transform: scale(1.06);
  filter: saturate(1) brightness(1);
}

/* Content superposé — fond semi-transparent avec effet "texte sur photo" */
.pillar-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 1.8rem;
  background: linear-gradient(to bottom,
    rgba(251, 247, 238, 0.55) 0%,
    rgba(251, 247, 238, 0.85) 45%,
    rgba(251, 247, 238, 0.96) 100%
  );
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Au hover : le content passe derrière (fade + léger slide down) */
.pillar:hover .pillar-content,
.pillar:focus-visible .pillar-content {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

/* Overlay gradient subtil qui reste au hover pour lisibilité éventuelle */
.pillar::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(26, 43, 74, 0.25) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.pillar:hover::after,
.pillar:focus-visible::after { opacity: 1; }

.pillar-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-style: italic;
  color: var(--red);
  margin-bottom: 0.6rem;
  line-height: 1;
}

.pillar h3 { color: var(--navy); margin-bottom: 0.6rem; }
.pillar p { color: var(--text); font-size: 0.95rem; line-height: 1.55; margin-bottom: 0; }

/* Hint "Survoler pour voir" — visible en bas, disparaît au hover */
.pillar-hint {
  position: absolute;
  bottom: 0.8rem;
  right: 1.2rem;
  z-index: 4;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.pillar:hover .pillar-hint,
.pillar:focus-visible .pillar-hint { opacity: 0; }

/* ============================================
   POUR QUI
   ============================================ */

.avatars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.avatar-card {
  background: var(--ivory);
  border: 1px solid var(--cream-deep);
  padding: 1.8rem 1.6rem;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
  position: relative;
  cursor: pointer;
}

/* Hover / focus : la carte devient navy */
.avatar-card:hover,
.avatar-card:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--ivory);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(26, 43, 74, 0.18);
  outline: none;
}

.avatar-card:hover .avatar-label,
.avatar-card:focus-visible .avatar-label {
  color: var(--gold);
  border-color: rgba(201, 169, 110, 0.5);
}

.avatar-card:hover h3,
.avatar-card:focus-visible h3 { color: var(--ivory); }

.avatar-card:hover p,
.avatar-card:focus-visible p { color: rgba(245, 239, 226, 0.82); }

.avatar-card:hover blockquote,
.avatar-card:focus-visible blockquote {
  color: var(--gold);
  border-top-color: rgba(201, 169, 110, 0.3);
}

/* Label plus visible : pill rouge bordeaux avec contraste fort */
.avatar-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--red);
  border-radius: 980px;
  transition: color 0.35s ease, border-color 0.35s ease;
}

.avatar-card h3 {
  color: var(--navy);
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
  transition: color 0.35s ease;
}

.avatar-card p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: color 0.35s ease;
}

.avatar-card blockquote {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--navy);
  font-size: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cream-deep);
  line-height: 1.45;
  transition: color 0.35s ease, border-color 0.35s ease;
}

/* ============================================
   AVANT / APRÈS
   ============================================ */

.section-avantapres { background: var(--cream); }

.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.ba-card {
  background: var(--ivory);
  border: 1px solid var(--cream-deep);
  overflow: hidden;
  transition: var(--transition);
}

.ba-card:hover { border-color: var(--navy); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(26, 43, 74, 0.08); }

.ba-photo {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  filter: saturate(0.92);
}

.ba-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 320px;
  position: relative;
}

.ba-split::after {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: var(--gold);
  transform: translateX(-50%);
  z-index: 1;
}

.ba-side {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.ba-before {
  background:
    linear-gradient(135deg, rgba(26, 43, 74, 0.15), rgba(26, 43, 74, 0.05)),
    linear-gradient(45deg, #d9cfba, #c4b99f);
}

.ba-after {
  background:
    linear-gradient(135deg, rgba(139, 26, 26, 0.12), rgba(201, 169, 110, 0.08)),
    linear-gradient(45deg, #1a2b4a, #2a3b5e);
}

.ba-before span { color: var(--navy); }
.ba-after span { color: var(--gold); }

.ba-side span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  opacity: 0.85;
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 500;
}

.ba-card figcaption {
  padding: 1.5rem;
  text-align: center;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.1rem;
  background: var(--ivory);
}

.ba-card figcaption em { color: var(--text-muted); font-size: 0.95rem; }
.ba-card figcaption strong { color: var(--red); font-family: var(--font-body); font-weight: 500; font-style: normal; font-size: 1rem; letter-spacing: 0.02em; }

.small-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  opacity: 0.8;
}

/* ============================================
   TÉMOIGNAGES
   ============================================ */

.section-temoignages {
  background: var(--navy);
  color: var(--text-on-navy);
  position: relative;
}

.section-temoignages h2 { color: var(--ivory); }
.section-temoignages h2 em { color: var(--gold); }
.section-temoignages .eyebrow { color: var(--gold); }

/* Marquee horizontal infini — défile de droite à gauche */
.testimonials-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* Fondu latéral pour que les bords soient élégants */
  mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scroll-testimonials 120s linear infinite;
  will-change: transform;
}

.testimonials-marquee:hover .testimonials-track { animation-play-state: paused; }

@keyframes scroll-testimonials {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 169, 110, 0.2);
  padding: 2.2rem 1.8rem;
  position: relative;
  transition: var(--transition);
  width: 360px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.testimonial:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  background: rgba(201, 169, 110, 0.06);
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold);
  line-height: 0.6;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.testimonial p {
  color: var(--ivory);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 169, 110, 0.2);
}

.t-avatar {
  width: 48px; height: 48px;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  font-family: var(--font-display);
  font-weight: 500;
  flex-shrink: 0;
}

.testimonial footer strong { color: var(--gold); font-weight: 500; font-family: var(--font-body); font-style: normal; }
.testimonial footer span { color: rgba(245, 239, 226, 0.6); font-size: 0.85rem; }

/* ============================================
   LE COACH
   ============================================ */

.section-coach { background: var(--cream); }

.coach-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.coach-photo { position: relative; }

.coach-frame {
  aspect-ratio: 3/4;
  border: 1px solid var(--navy);
  position: relative;
  overflow: hidden;
}

.coach-frame::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid var(--gold);
  opacity: 0.5;
  pointer-events: none;
  z-index: 2;
}

.coach-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95);
}

.coach-placeholder {
  width: 100%; height: 100%;
  background:
    radial-gradient(circle at 50% 30%, rgba(201, 169, 110, 0.18), transparent 60%),
    linear-gradient(180deg, var(--navy), var(--navy-deep));
  display: none; /* affiché par JS onerror si l'image ne charge pas */
  align-items: center;
  justify-content: center;
}

.coach-placeholder span {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  opacity: 0.8;
  letter-spacing: 0.1em;
}

.coach-text p {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.coach-text strong { color: var(--red); font-weight: 500; }

.coach-punch {
  margin-top: 1.5rem !important;
  padding: 1.2rem 1.5rem;
  border-left: 3px solid var(--red);
  background: var(--ivory);
  font-family: var(--font-display);
  font-size: 1.2rem !important;
  line-height: 1.45;
  color: var(--navy) !important;
  font-style: normal;
}

.coach-punch em { color: var(--red); font-style: italic; font-weight: 500; }

.signature {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--red) !important;
  font-size: 1.2rem !important;
  margin-top: 2rem !important;
}

/* ============================================
   FAQ
   ============================================ */

.section-faq {
  background: var(--cream-soft);
  position: relative;
}

/* Dégradé haut : fondu depuis la section coach (crème) vers cream-soft */
.section-faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(to bottom, var(--cream) 0%, var(--cream-soft) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Dégradé bas : fondu vers la section CTA (marine) — ici on fade vers le marine */
.section-faq::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(to bottom, var(--cream-soft) 0%, var(--cream) 100%);
  pointer-events: none;
  z-index: 0;
}

.section-faq .container { position: relative; z-index: 1; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--ivory);
  border: 1px solid var(--cream-deep);
  padding: 0;
  transition: var(--transition);
}

.faq-item[open] { border-color: var(--navy); box-shadow: 0 8px 24px rgba(26, 43, 74, 0.06); }

.faq-item summary {
  cursor: pointer;
  padding: 1.5rem 1.8rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color var(--transition);
  font-weight: 500;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--red);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item summary:hover { color: var(--red); }

.faq-item p {
  padding: 0 1.8rem 1.8rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

/* ============================================
   CTA FINAL
   ============================================ */

.section-cta {
  background: var(--navy);
  color: var(--text-on-navy);
  position: relative;
}

.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.12), transparent 65%);
  pointer-events: none;
}

.section-cta .container { position: relative; z-index: 1; }
.section-cta h2 { color: var(--ivory); }
.section-cta h2 em { color: var(--gold); }
.section-cta .eyebrow { color: var(--gold); }
.section-cta .hero-trust { color: rgba(245, 239, 226, 0.75); justify-content: center; }

.cta-shock {
  max-width: 620px;
  margin: 0 auto 4rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(201, 169, 110, 0.25);
}

.cta-shock p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.3;
  color: var(--ivory);
  margin-bottom: 0.4rem;
}

.cta-shock em { color: var(--gold); font-style: italic; }
.cta-shock strong { color: var(--ivory); font-weight: 500; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.cta-shock strong.shock-wait { color: var(--red); border-bottom-color: var(--red); opacity: 0.9; }

.cta-shock-question {
  margin-top: 1.5rem !important;
  font-style: italic;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem) !important;
  color: var(--gold) !important;
}

.cta-sub {
  font-size: 1.15rem;
  color: var(--text-on-navy);
  margin: 1.5rem auto 3rem;
  max-width: 540px;
  opacity: 0.9;
}

.cta-sub strong { color: var(--gold); font-weight: 500; }

.iclosed-wrap {
  max-width: 1040px;
  width: 100%;
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
}

.iclosed-widget { display: block; min-height: 560px; }

.final-cta { margin-bottom: 2rem; }

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--navy-deep);
  color: var(--text-on-navy);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(201, 169, 110, 0.2);
  position: relative;
}

/* Dégradé haut du footer : transition douce depuis la section CTA (navy) vers navy-deep */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 110px;
  background: linear-gradient(to bottom, var(--navy) 0%, var(--navy-deep) 100%);
  pointer-events: none;
  z-index: 0;
}

.footer .container { position: relative; z-index: 1; }


.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.footer-tag {
  margin-top: 1rem;
  color: rgba(245, 239, 226, 0.7);
  font-size: 0.95rem;
  max-width: 400px;
  font-family: var(--font-display);
  font-style: italic;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  justify-self: end;
}

.footer-links a {
  color: rgba(245, 239, 226, 0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 239, 226, 0.1);
  color: rgba(245, 239, 226, 0.5);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  .coach-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { justify-self: start; flex-direction: row; flex-wrap: wrap; gap: 1.5rem; }
}

@media (max-width: 960px) {
  .problem-layout { grid-template-columns: 1fr; gap: 3rem; }
  .photo-stack-wrap { order: -1; }
  .photo-stack { --card-w: 280px; --card-h: 360px; }
}

@media (max-width: 768px) {
  .section { padding: 5rem 0; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .navbar .btn { display: none; }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    border-top: 1px solid var(--gray);
  }

  .hero { padding-top: 100px; min-height: 90vh; }
  .hero-sub { font-size: 1rem; }
  .hero-trust { flex-direction: column; gap: 0.8rem; }

  .problem-text .highlight { font-size: 1.25rem; }
  .promise-text p { font-size: 1.05rem; }
  .promise-closing { font-size: 1.3rem !important; }

  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 320px; }
  .pillar-hint { display: none; }

  .coach-frame { max-width: 280px; margin: 0 auto; }

  .iclosed-wrap { max-width: 100%; }

  .btn-lg { width: 100%; padding: 1.1rem 1.5rem; font-size: 0.95rem; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .hero { padding-top: 90px; }
  .logo-img { height: 36px; }
}
