/* ==========================================================
   Rive · École de natation — feuille de style principale
   Charte « Léman » : bleu nuit, bleu lac, laiton, sable, ivoire
   ========================================================== */

/* Polices hébergées sur le site (licence SIL Open Font License, voir assets/fonts) */
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/jost-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/jost-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/jost-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('../fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 600; font-display: swap; src: url('../fonts/cormorant-garamond-latin-600-italic.woff2') format('woff2'); }

:root {
  --nuit: #13233A;
  --nuit-2: #1B2F4A;
  --lac: #4E7288;
  --laiton: #C9A56B;
  --laiton-fonce: #A8834A;
  --sable: #E6DCCB;
  --ivoire: #F5F0E6;
  --ivoire-2: #FBF8F2;
  --texte-doux: #3A4A5E;
  --texte-clair: #D6DCE4;
  --ligne: #E2D7C4;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', sans-serif;

  --largeur: 1200px;
  --gouttiere: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivoire);
  color: var(--nuit);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.conteneur {
  width: 100%;
  max-width: calc(var(--largeur) + 2 * var(--gouttiere));
  margin: 0 auto;
  padding: 0 var(--gouttiere);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Typographie ---------- */

.surtitre {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--lac);
  margin: 0 0 18px;
}
.surtitre--laiton { color: var(--laiton); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
}
h1 { font-size: clamp(44px, 6.4vw, 84px); }
h2 { font-size: clamp(36px, 4.6vw, 58px); }
h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; }
h1 em, h2 em { font-style: italic; }

.chapo {
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 300;
  line-height: 1.7;
  color: var(--texte-doux);
  max-width: 620px;
}

.filet {
  width: 56px; height: 1px; background: var(--laiton-fonce);
  border: 0; margin: 28px 0;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 30px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.btn .fleche { transition: transform .4s var(--ease); }
.btn:hover .fleche { transform: translateX(5px); }

.btn--laiton { background: var(--laiton); color: var(--nuit); }
.btn--laiton:hover { background: var(--ivoire); }

.btn--contour-clair { border-color: rgba(245, 240, 230, .6); color: var(--ivoire); }
.btn--contour-clair:hover { background: var(--ivoire); color: var(--nuit); }

.btn--nuit { background: var(--nuit); color: var(--ivoire); }
.btn--nuit:hover { background: var(--lac); }

.btn--contour { border-color: var(--nuit); color: var(--nuit); }
.btn--contour:hover { background: var(--nuit); color: var(--ivoire); }

/* ---------- Logo ---------- */

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: inherit;
}
.logo__nom {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: .28em;
  padding-left: .28em;
  line-height: 1;
}
.logo__sous {
  font-size: 8.5px;
  letter-spacing: .34em;
  text-transform: uppercase;
  line-height: 1;
}
.logo__emblème { width: 34px; height: 17px; }

/* ---------- En-tête ---------- */

.entete {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--ivoire);
  transition: background .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), padding .5s var(--ease);
  padding: 22px 0;
}
.entete.est-defile {
  background: rgba(245, 240, 230, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--nuit);
  box-shadow: 0 1px 0 var(--ligne);
  padding: 12px 0;
}
.entete__barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav { display: flex; align-items: center; gap: 36px; }
.nav__liens { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__liens a {
  position: relative;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .06em;
  padding: 6px 0;
}
.nav__liens a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__liens a:hover::after { transform: scaleX(1); transform-origin: left; }
.entete .btn { min-height: 44px; padding: 0 22px; font-size: 12px; }
.entete:not(.est-defile) .btn--nuit { background: var(--laiton); color: var(--nuit); }

.burger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; color: inherit; cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 24px; height: 1.5px; background: currentColor;
  position: relative; transition: transform .4s var(--ease), background .4s;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.menu-ouvert .burger span { background: transparent; }
.menu-ouvert .burger span::before { transform: translateY(7px) rotate(45deg); }
.menu-ouvert .burger span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--nuit);
  color: var(--ivoire);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 110px;
}
.hero__ondes {
  position: absolute;
  right: -18vw;
  top: 50%;
  width: min(1100px, 95vw);
  aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
}
.hero__ondes circle {
  fill: none;
  stroke: #2B4462;
  stroke-width: 1;
  transform-origin: center;
  transform-box: fill-box;
  animation: onde 9s var(--ease) infinite;
  opacity: 0;
}
.hero__ondes circle:nth-child(2) { animation-delay: 1.8s; }
.hero__ondes circle:nth-child(3) { animation-delay: 3.6s; }
.hero__ondes circle:nth-child(4) { animation-delay: 5.4s; }
.hero__ondes circle:nth-child(5) { animation-delay: 7.2s; }
@keyframes onde {
  0% { transform: scale(.15); opacity: 0; }
  15% { opacity: .9; }
  100% { transform: scale(1); opacity: 0; }
}
.hero__reflet {
  position: absolute; inset: auto 0 0 0; height: 160px;
  background: linear-gradient(to top, rgba(10, 22, 38, .6), transparent);
  pointer-events: none;
}
.hero__contenu { position: relative; max-width: 760px; }
.hero h1 { margin-bottom: 30px; }
.hero .chapo { color: var(--texte-clair); margin: 0 0 44px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__confiance {
  margin-top: 64px;
  display: flex; flex-wrap: wrap; gap: 14px 36px;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: #AEB9C6;
}
.hero__confiance li { display: flex; align-items: center; gap: 12px; }
.hero__confiance li::before { content: ""; width: 18px; height: 1px; background: var(--laiton); }
.hero__confiance { list-style: none; padding: 0; }

.defiler {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: #AEB9C6;
  text-decoration: none;
}
.defiler__trait { width: 1px; height: 44px; background: rgba(201, 165, 107, .35); position: relative; overflow: hidden; }
.defiler__trait::after {
  content: ""; position: absolute; left: 0; top: -44px; width: 1px; height: 44px; background: var(--laiton);
  animation: goutte 2.4s var(--ease) infinite;
}
@keyframes goutte { to { top: 44px; } }

/* ---------- Sections ---------- */

.section { padding: clamp(96px, 12vw, 160px) 0; position: relative; }
.section--ivoire-2 { background: var(--ivoire-2); }
.section--sable { background: var(--sable); }
.section--nuit { background: var(--nuit); color: var(--ivoire); }
.section--nuit .chapo { color: var(--texte-clair); }

.entete-section { max-width: 760px; margin-bottom: clamp(56px, 7vw, 88px); }
.entete-section--centre { margin-left: auto; margin-right: auto; text-align: center; }
.entete-section--centre .chapo { margin-left: auto; margin-right: auto; }
.entete-section--centre .filet { margin-left: auto; margin-right: auto; }

/* ---------- Promesse / manifeste ---------- */

.manifeste {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
}
.manifeste__citation {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 44px);
  font-style: italic;
  line-height: 1.2;
  margin: 0;
}
.manifeste__citation cite {
  display: block; margin-top: 24px;
  font-family: var(--sans); font-style: normal;
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--lac);
}
.chiffre-cle {
  border-left: 1px solid var(--laiton-fonce);
  padding-left: 32px;
}
.chiffre-cle__valeur {
  font-family: var(--serif);
  font-size: clamp(72px, 9vw, 120px);
  line-height: 1;
  font-weight: 500;
}
.chiffre-cle__texte { font-size: 17px; color: var(--texte-doux); margin: 12px 0 10px; max-width: 420px; }
.chiffre-cle__source { font-size: 12px; color: var(--lac); letter-spacing: .04em; }

/* ---------- Parcours (6 étapes) ---------- */

.parcours { position: relative; }
.parcours__ligne {
  position: absolute;
  top: 34px; left: 0; right: 0;
  height: 1px;
  background: rgba(201, 165, 107, .25);
}
.parcours__ligne span {
  position: absolute; inset: 0;
  background: var(--laiton);
  transform: scaleX(0); transform-origin: left;
  transition: transform 2.4s var(--ease);
}
.parcours.est-visible .parcours__ligne span { transform: scaleX(1); }
.parcours__etapes {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px;
  position: relative;
}
.etape__num {
  width: 68px; height: 68px; border-radius: 50%;
  border: 1px solid var(--laiton);
  background: var(--nuit);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 26px; color: var(--laiton);
  margin-bottom: 28px;
  transition: background .5s var(--ease), color .5s var(--ease);
}
.etape:hover .etape__num { background: var(--laiton); color: var(--nuit); }
.etape h3 { font-size: 23px; margin-bottom: 10px; }
.etape p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--texte-clair); }
.etape__seances { display: block; margin-top: 14px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--laiton); }

.parcours__arrivee {
  margin-top: 80px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
  border-top: 1px solid rgba(245, 240, 230, .15);
  padding-top: 48px;
}
.parcours__arrivee p { margin: 0; font-family: var(--serif); font-size: clamp(26px, 2.8vw, 36px); max-width: 700px; line-height: 1.25; }
.parcours__arrivee strong { color: var(--laiton); font-weight: 500; }

/* ---------- Produit : Le Cahier de Nage ---------- */

.produit {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}
.cahier {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
  perspective: 1400px;
}
.cahier__couverture {
  position: absolute; inset: 0;
  background: var(--ivoire-2);
  border: 1px solid #D9CDB8;
  box-shadow: 18px 18px 0 var(--sable), 0 30px 60px -30px rgba(19, 35, 58, .35);
  padding: 9% 8%;
  display: flex; flex-direction: column; justify-content: space-between;
  transform: rotateY(-8deg) rotateX(2deg);
  transform-origin: left center;
  transition: transform 1s var(--ease);
}
.cahier:hover .cahier__couverture { transform: rotateY(0) rotateX(0); }
.cahier__haut { display: flex; justify-content: space-between; align-items: flex-start; }
.cahier__num { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--lac); }
.cahier__age {
  width: 72px; height: 72px; border-radius: 50%;
  border: 1px solid var(--laiton-fonce);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 11px; line-height: 1.25;
}
.cahier__titre { font-family: var(--serif); font-size: clamp(44px, 5vw, 60px); line-height: .95; }
.cahier__titre em { display: block; }
.cahier__texte { font-size: 14px; color: var(--texte-doux); margin: 0; max-width: 280px; }
.cahier__vagues { width: 100%; height: auto; }
.cahier__vagues path { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 2.2s var(--ease); }
.est-visible .cahier__vagues path { stroke-dashoffset: 0; }
.est-visible .cahier__vagues path:nth-child(2) { transition-delay: .3s; }
.est-visible .cahier__vagues path:nth-child(3) { transition-delay: .6s; }
.cahier__pied { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; }

.contenu-liste { list-style: none; margin: 40px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.contenu-liste li { display: flex; gap: 16px; }
.contenu-liste svg { flex: none; width: 28px; height: 28px; stroke: var(--laiton-fonce); margin-top: 2px; }
.contenu-liste strong { display: block; font-weight: 500; margin-bottom: 2px; }
.contenu-liste span { font-size: 15px; color: var(--texte-doux); line-height: 1.55; }

.prix {
  display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px;
  padding: 32px 0 0; border-top: 1px solid var(--ligne);
}
.prix__comparaison { font-size: 14px; color: var(--texte-doux); margin: 0; }
.prix__comparaison s { color: var(--lac); }
.prix__montant { font-family: var(--serif); font-size: 56px; line-height: 1; }
.prix__montant small { font-family: var(--sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-doux); margin-left: 8px; }

/* ---------- Maître nageur ---------- */

.portrait {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}
.portrait__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--nuit-2);
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 28px;
  color: #AEB9C6; font-size: 13px; letter-spacing: .06em;
  overflow: hidden;
}
.portrait__photo::before {
  content: ""; position: absolute; inset: 22px;
  border: 1px solid rgba(201, 165, 107, .5);
  pointer-events: none;
}
.portrait__photo svg { position: absolute; right: -30%; top: -10%; width: 120%; opacity: .5; }
.portrait__faits { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 0; }
.portrait__faits li {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 18px 0; border-bottom: 1px solid rgba(245, 240, 230, .15);
  font-size: 15px;
}
.portrait__faits li span:first-child { color: #AEB9C6; letter-spacing: .06em; }
.portrait__faits li span:last-child { text-align: right; }

/* ---------- Deux offres ---------- */

.offres { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.offre {
  position: relative;
  background: var(--ivoire-2);
  border: 1px solid var(--ligne);
  padding: clamp(36px, 4vw, 56px);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s var(--ease);
}
.offre:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -40px rgba(19, 35, 58, .45); border-color: var(--laiton); }
.offre__type { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--lac); }
.offre h3 { font-size: clamp(30px, 3vw, 40px); font-weight: 500; }
.offre p { margin: 0; color: var(--texte-doux); }
.offre ul { margin: 6px 0 12px; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; }
.offre li { display: flex; gap: 12px; align-items: baseline; }
.offre li::before { content: ""; flex: none; width: 14px; height: 1px; background: var(--laiton-fonce); transform: translateY(-4px); }
.offre .btn { align-self: flex-start; margin-top: auto; }

/* ---------- FAQ ---------- */

.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0;
  font-family: var(--serif); font-size: clamp(21px, 2vw, 26px); font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--nuit), var(--nuit)) center / 14px 1px no-repeat,
    linear-gradient(var(--nuit), var(--nuit)) center / 1px 14px no-repeat;
  transition: transform .5s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq__reponse { overflow: hidden; }
.faq__reponse p { margin: 0 0 28px; color: var(--texte-doux); max-width: 720px; }

/* ---------- Guide gratuit ---------- */

.guide {
  display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: center;
}
.formulaire { display: flex; flex-direction: column; gap: 14px; }
.formulaire label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #AEB9C6; }
.formulaire__ligne { display: flex; gap: 0; }
.formulaire input {
  flex: 1; min-width: 0; min-height: 56px;
  padding: 0 20px;
  background: transparent; color: var(--ivoire);
  border: 1px solid rgba(245, 240, 230, .35); border-right: 0;
  font-family: var(--sans); font-size: 16px;
}
.formulaire input::placeholder { color: #8C9AAB; }
.formulaire input:focus { outline: none; border-color: var(--laiton); }
.formulaire .btn { min-height: 56px; }
.formulaire__note { font-size: 13px; color: #AEB9C6; margin: 0; }

/* ---------- Pied de page ---------- */

.pied { background: #0E1B2D; color: #AEB9C6; padding: 88px 0 36px; font-size: 15px; }
.pied__grille { display: grid; grid-template-columns: 2fr; grid-auto-columns: 1fr; grid-auto-flow: column; gap: 48px; }
.pied .logo { color: var(--ivoire); align-items: flex-start; }
.pied .logo__nom { padding-left: 0; }
.pied h4 { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--laiton); margin: 0 0 18px; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pied a { text-decoration: none; transition: color .3s; }
.pied a:hover { color: var(--ivoire); }
.pied__avertissement { margin: 24px 0 0; max-width: 380px; font-size: 14px; line-height: 1.6; }
.pied__bas {
  margin-top: 72px; padding-top: 28px; border-top: 1px solid rgba(245, 240, 230, .1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px;
}

/* ---------- Animations d'apparition ---------- */

.js .revele {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--delai, 0s);
}
.js .revele.est-visible { opacity: 1; transform: none; }

.js .hero .anim-ligne { display: block; overflow: hidden; }
.js .hero .anim-ligne > span {
  display: inline-block;
  transform: translateY(105%);
  animation: monte 1.2s var(--ease) forwards;
  animation-delay: var(--delai, .2s);
}
@keyframes monte { to { transform: none; } }
.js .hero .anim-fondu { opacity: 0; animation: fondu 1.2s var(--ease) forwards; animation-delay: var(--delai, .8s); }
@keyframes fondu { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .parcours__etapes { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 56px; }
  .parcours__ligne { display: none; }
  .pied__grille { grid-template-columns: 1fr 1fr; grid-auto-flow: row; }
}

@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    background: var(--nuit); color: var(--ivoire);
    flex-direction: column; justify-content: center; gap: 40px;
    opacity: 0; visibility: hidden;
    transition: opacity .5s var(--ease), visibility .5s;
  }
  .menu-ouvert .nav { opacity: 1; visibility: visible; }
  .menu-ouvert .entete { color: var(--ivoire); background: transparent; box-shadow: none; }
  .nav__liens { flex-direction: column; align-items: center; gap: 26px; }
  .nav__liens a { font-family: var(--serif); font-size: 32px; letter-spacing: 0; }
  .manifeste, .produit, .portrait, .guide, .offres { grid-template-columns: 1fr; }
  .contenu-liste { grid-template-columns: 1fr; }
  .hero__ondes { right: -50vw; width: 140vw; opacity: .7; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 { font-size: 38px; }
  .parcours__etapes { grid-template-columns: 1fr; }
  .etape { display: grid; grid-template-columns: 68px 1fr; gap: 0 22px; }
  .etape__num { margin: 0; grid-row: span 3; }
  .formulaire__ligne { flex-direction: column; gap: 12px; }
  .formulaire input { border-right: 1px solid rgba(245, 240, 230, .35); }
  .pied__grille { grid-template-columns: 1fr; grid-auto-flow: row; }
  .defiler { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .revele, .js .hero .anim-fondu { opacity: 1 !important; transform: none !important; }
  .js .hero .anim-ligne > span { transform: none !important; }
  .hero__ondes circle { opacity: .5; transform: scale(.6); }
  .parcours__ligne span { transform: scaleX(1); }
  .cahier__vagues path { stroke-dashoffset: 0; }
}

/* ---------- Méthode : 3 temps (version synthétique) ---------- */

.phases { position: relative; }
.phases__barre { display: flex; gap: 6px; height: 3px; margin-bottom: 48px; }
.phases__barre span {
  flex: var(--part) 1 0;
  background: var(--laiton);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.2s var(--ease);
}
.phases__barre span:nth-child(2) { transition-delay: .6s; }
.phases__barre span:nth-child(3) { transition-delay: 1.2s; }
.phases.est-visible .phases__barre span { transform: scaleX(1); }
.phases__liste { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.phase {
  flex: var(--part) 1 0;
  padding: 0 clamp(16px, 2.5vw, 40px) 0 0;
  display: flex; flex-direction: column; gap: 14px;
}
.phase__num {
  font-family: var(--serif); font-size: clamp(64px, 7vw, 96px); line-height: .9;
  color: var(--laiton);
}
.phase__seances { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #AEB9C6; }
.phase h3 { font-size: clamp(28px, 2.8vw, 36px); font-weight: 500; }
.phase p { margin: 0; color: var(--texte-clair); max-width: 380px; }

/* ---------- Cahier : couverture bleu nuit, ombre laiton ---------- */

.cahier__couverture {
  background: var(--nuit);
  border-color: var(--nuit);
  box-shadow: 18px 18px 0 var(--laiton), 0 40px 80px -30px rgba(19, 35, 58, .5);
  color: var(--ivoire);
}
.cahier__num { color: var(--laiton); }
.cahier__age { border-color: var(--laiton); color: var(--ivoire); flex-direction: column; }
.cahier__age small { display: block; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; color: var(--laiton); margin-top: 2px; }
.cahier__titre em { color: var(--laiton); }
.cahier__texte { color: var(--ivoire); font-size: 16px; font-family: var(--serif); font-style: italic; }
.cahier__filet { background: var(--laiton); margin: 20px 0; }
.cahier__vagues { stroke: var(--laiton); }
.cahier__proprietaire { display: flex; align-items: flex-end; gap: 10px; font-size: 13px; color: var(--ivoire); }
.cahier__proprietaire span { flex: 1; border-bottom: 1px dashed var(--laiton); height: 1px; margin-bottom: 4px; }
.cahier__pied { color: var(--laiton); }
#cahier { background: var(--ivoire-2); }

@media (max-width: 900px) {
  .phases__liste { flex-direction: column; gap: 48px; }
  .phases__barre { display: none; }
  .phase { padding: 0 0 0 24px; border-left: 2px solid var(--laiton); }
}
@media (prefers-reduced-motion: reduce) {
  .phases__barre span { transform: scaleX(1); }
}

.chiffre-cle__pct { font-size: .42em; color: var(--lac); vertical-align: middle; }
.chiffre-cle__second { border-top: 1px solid var(--ligne); padding-top: 12px; }
.chiffre-cle__second strong { font-weight: 500; color: var(--nuit); }

/* ---------- Consentement du formulaire ---------- */
.formulaire__consentement {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13px !important; letter-spacing: 0 !important; text-transform: none !important;
  line-height: 1.55; color: #C9D2DC !important; cursor: pointer;
}
.formulaire__consentement input {
  flex: none; width: 18px; height: 18px; min-height: 0; margin-top: 2px; padding: 0;
  accent-color: var(--laiton); border: 0;
}
.formulaire__consentement a { color: var(--laiton); }

/* ---------- Messages du formulaire et piège à robots ---------- */
.formulaire__piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formulaire__message { margin: 0; font-size: 15px; line-height: 1.6; }
.formulaire__message:empty { display: none; }
.formulaire__message.est-ok { color: var(--ivoire); border-left: 2px solid var(--laiton); padding: 4px 0 4px 16px; }
.formulaire__message.est-erreur { color: #F2B8A8; border-left: 2px solid #E08A73; padding: 4px 0 4px 16px; }
.formulaire button[disabled] { opacity: .7; cursor: wait; }
