/* ==========================================================================
   « Souffle d'automne » : feuille de style unique (exemple fictif)
   Base : modèle JBC « page unique » (jh.css). Discipline CSS JBC :
   jetons en tête, une définition par composant, media queries en fin.
   ========================================================================== */

/* --- 1. Jetons ----------------------------------------------------------- */
:root {
  --ink: #2E3A2F;
  --ink-2: #3B4A3C;
  --ink-soft: #56625A;
  --paper: #F5F3EE;
  --paper-2: #ECEDE5;
  --paper-3: #E0E4D9;
  --white: #FFFFFF;
  --sage: #7C9A7E;
  --sage-deep: #4F6B52;
  --mist: #DCE4E2;
  --gold: #C8963E;
  --gold-deep: #A5772A;
  --gold-soft: #D9B26A;
  --brown: #6B4F3A;
  --on-ink: #DCDDD3;
  --on-ink-soft: #AEB3A6;

  --tint-sage: rgba(124, 154, 126, .14);
  --tint-gold: rgba(200, 150, 62, .14);
  --tint-mist: rgba(150, 178, 176, .18);
  --tint-ink: rgba(46, 58, 47, .09);
  --tint-paper: rgba(245, 243, 238, .08);
  --line-paper: rgba(245, 243, 238, .16);

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 30px;
  --r-pill: 999px;

  --sh-soft: 0 10px 30px -18px rgba(46, 58, 47, .45);
  --sh-lift: 0 26px 60px -32px rgba(46, 58, 47, .55);

  --transition: 220ms cubic-bezier(.2, .7, .3, 1);

  --wrap: 1180px;
  --wrap-text: 760px;
  --head-h: 76px;

  --f-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* --- 2. Socle ------------------------------------------------------------ */
* { box-sizing: border-box; }

html {
  overscroll-behavior: none;
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scroll-padding-top: calc(var(--head-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

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

a { color: var(--sage-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.005em;
  margin: 0 0 18px;
}

h1 { font-size: clamp(3.3rem, 9vw, 5.8rem); line-height: .98; }
h2 { font-size: clamp(2.05rem, 5vw, 3.3rem); }
h3 { font-size: clamp(1.45rem, 2.6vw, 1.7rem); line-height: 1.15; }

p { margin: 0 0 20px; }
p:last-child { margin-bottom: 0; }

/* --- 3. Structure et fonds ---------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section { padding: 96px 0; position: relative; z-index: 1; overflow: hidden; }

/* Fond clair : papier uni, sans dégradé. */
.fond-brume { background: var(--paper); }

/* Fond sauge : part du papier et y revient, halos larges à plusieurs paliers. */
.fond-sauge {
  background:
    radial-gradient(85% 80% at 0% 18%, rgba(124, 154, 126, .20) 0%, rgba(124, 154, 126, .10) 40%, rgba(124, 154, 126, .03) 70%, transparent 90%),
    radial-gradient(80% 80% at 100% 86%, rgba(200, 150, 62, .16) 0%, rgba(200, 150, 62, .07) 40%, rgba(200, 150, 62, .02) 70%, transparent 90%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 22%, var(--paper-3) 50%, var(--paper-2) 78%, var(--paper) 100%);
}

.section--ink {
  color: var(--paper);
  background:
    radial-gradient(90% 90% at 92% 0%, rgba(200, 150, 62, .24) 0%, rgba(200, 150, 62, .11) 38%, rgba(200, 150, 62, .03) 68%, transparent 92%),
    radial-gradient(85% 90% at 0% 100%, rgba(124, 154, 126, .30) 0%, rgba(124, 154, 126, .13) 40%, rgba(124, 154, 126, .04) 70%, transparent 92%),
    linear-gradient(170deg, var(--ink) 0%, #334134 50%, var(--ink-2) 100%);
}

/* Vraie texture (banque JBC, lavis aquarelle), sur certains blocs seulement. */
.papier::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .12;
  mix-blend-mode: multiply;
  background: url("../img/texture-lavis-clair.webp") repeat;
  background-size: 640px 640px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.section--ink.papier::before,
.pied.papier::before {
  mix-blend-mode: screen;
  background-image: url("../img/texture-lavis-sombre.webp");
}

.section--ink h2 { color: var(--paper); }
.section--ink .lead,
.section--ink p { color: var(--on-ink); }
.section--ink .puces li { color: var(--on-ink); }
.section--ink .puces li::before { box-shadow: 0 0 0 5px rgba(217, 178, 106, .22); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  background: var(--tint-sage);
  border-radius: var(--r-pill);
  padding: 8px 18px 8px 12px;
  margin: 0 0 22px;
  line-height: 1.5;
}
.kicker img { width: 20px; height: 20px; flex: 0 0 auto; }
.section--ink .kicker { color: var(--gold-soft); background: rgba(217, 178, 106, .15); }

.lead {
  font-size: clamp(1.1rem, 2.2vw, 1.26rem);
  line-height: 1.66;
  color: var(--ink-soft);
  max-width: 34em;
}

.texte { max-width: var(--wrap-text); }
.texte--centre { text-align: center; margin: 0 auto; }
.texte--centre .lead { margin: 0 auto; }

.note {
  margin-top: 26px;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* --- 4. Boutons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  font-family: var(--f-body);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  padding: 16px 28px;
  border-radius: var(--r-pill);
  border: 2px solid var(--gold-deep);
  background: var(--gold-deep);
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition);
  box-shadow: var(--sh-soft);
}
.btn:hover { transform: translateY(-2px); }

.btn--ghost {
  background: rgba(255, 255, 255, .6);
  color: var(--sage-deep);
  border-color: var(--sage);
  box-shadow: none;
}

.btn--petit { font-size: .95rem; padding: 12px 22px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* --- 5. Logo ------------------------------------------------------------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
}
.logo img { width: 44px; height: 44px; flex: 0 0 auto; }
.logo em { font-style: italic; font-weight: 600; color: var(--gold-soft); }
.logo--pied { font-size: 1.7rem; margin-bottom: 18px; }
.logo--pied img { width: 54px; height: 54px; }

/* --- 6. En-tête (sombre, le hero est clair) ------------------------------ */
.head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink);
  border-bottom: 1px solid var(--line-paper);
  box-shadow: 0 14px 34px -26px rgba(46, 58, 47, .9);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: var(--head-h);
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-marque { display: flex; align-items: center; gap: 12px; min-width: 0; }

.fictif {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold-soft);
  border-radius: var(--r-pill);
  padding: 4px 10px;
  white-space: nowrap;
  line-height: 1.4;
}

.nav-links {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: .96rem;
  font-weight: 500;
  color: var(--on-ink);
  text-decoration: none;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold-soft); }

.nav-mobile-only { display: none; }
.nav-desktop-only { display: inline-flex; }

.nav-cta {
  font-size: .95rem;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  background: var(--gold-deep);
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--transition);
}
.nav-links .nav-cta,
.nav-cta:hover { color: var(--white); }
.nav-cta:hover { transform: translateY(-1px); }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 11px;
  flex: 0 0 auto;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
  margin: 5px 0;
  transition: transform var(--transition), opacity var(--transition);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- 7. Hero : illustration plein cadre --------------------------------- */
.hero {
  position: relative;
  z-index: 1;
  min-height: min(calc(100vh - var(--head-h)), 880px);
  display: flex;
  align-items: center;
  background: var(--paper);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(245, 243, 238, .82) 0%, rgba(245, 243, 238, .55) 30%, rgba(245, 243, 238, 0) 52%);   /* allégé le 26/09 (Julien : « un peu plus de matière sur la gauche ») */
}

.hero-visuel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 60%;
}

.hero-inner { z-index: 2; padding-top: 60px; padding-bottom: 60px; }
.hero-texte { max-width: 580px; }

.hero h1 { margin-bottom: 22px; color: var(--ink); }
.hero h1 em { font-style: italic; color: var(--gold-deep); }

.hero-date {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r);
  padding: 14px 22px 14px 16px;
  margin: 0 0 24px;
  box-shadow: var(--sh-lift);
}
.hero-date img { width: 34px; height: 34px; flex: 0 0 auto; }
.hero-date strong {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 6.2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold-soft);
}
.hero-date span { display: block; font-size: .98rem; color: var(--on-ink); line-height: 1.5; margin-top: 2px; }

.hero-lead {
  font-size: clamp(1.1rem, 2.3vw, 1.26rem);
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.hero-pastilles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.hero-pastilles li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink);
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--tint-ink);
  border-radius: var(--r-pill);
  padding: 7px 15px 7px 11px;
  box-shadow: var(--sh-soft);
}
.hero-pastilles img { width: 18px; height: 18px; }

/* --- 8. Compteur de places ---------------------------------------------- */
.places {
  max-width: 380px;
  margin-top: 26px;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.places strong { color: var(--ink); }
.places-barre {
  height: 8px;
  margin-top: 8px;
  border-radius: var(--r-pill);
  background: var(--paper-3);
  overflow: hidden;
}
.places-barre span {
  display: block;
  height: 100%;
  width: 64%;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--sage) 0%, var(--gold) 100%);
}
.places--centre { margin-left: auto; margin-right: auto; text-align: center; }

/* --- 9. Programme en trois temps ---------------------------------------- */
.temps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 48px;
}

.temps-carte {
  background: var(--white);
  border: 1px solid var(--tint-ink);
  border-radius: var(--r);
  padding: 30px 26px 26px;
  box-shadow: var(--sh-soft);
  transition: translate var(--transition);
}
.temps-carte:hover { translate: 0 -4px; }

.temps-tete { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.temps-tete img {
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 50%;
  background: var(--tint-sage);
  flex: 0 0 auto;
}
.temps-tete h3 { margin: 0; }

.fil { list-style: none; margin: 0; padding: 0; }
.fil li {
  position: relative;
  padding: 0 0 16px 22px;
  border-left: 1px solid var(--paper-3);
  margin-left: 6px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.fil li:last-child { padding-bottom: 0; }
.fil li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: .35em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--tint-gold);
}
.fil time {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

/* --- 10. Bloc image + texte --------------------------------------------- */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.duo--flip .duo-media { order: 2; }

.duo-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lift);
}
.duo-media img { width: 100%; height: auto; }

/* --- 11. Liste à puces douces ------------------------------------------- */
.puces { list-style: none; margin: 0; padding: 0; }
.puces li {
  position: relative;
  padding: 0 0 0 34px;
  margin-bottom: 14px;
  font-size: 1.06rem;
  line-height: 1.64;
  color: var(--ink-soft);
}
.puces li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .6em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 5px var(--tint-sage);
}
.puces li:last-child { margin-bottom: 0; }

/* --- 12. Grille d'objets (à apporter, niveaux, infos) ------------------- */
.grille {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.objet {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--tint-ink);
  border-radius: var(--r);
  padding: 20px 22px;
  box-shadow: var(--sh-soft);
  transition: translate var(--transition);
}
.objet:hover { translate: 0 -4px; }
.objet img {
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: 50%;
  background: var(--tint-sage);
  flex: 0 0 auto;
}
.objet p { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--ink-soft); }
.objet strong { display: block; color: var(--ink); font-size: 1.04rem; }

.carte {
  background: var(--white);
  border: 1px solid var(--tint-ink);
  border-radius: var(--r);
  padding: 30px 26px;
  box-shadow: var(--sh-soft);
  transition: translate var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.carte:hover { translate: 0 -4px; }
.carte-ic {
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 50%;
  background: var(--tint-sage);
  margin-bottom: 16px;
}
.carte h3 { margin-bottom: 10px; }
.carte p { font-size: 1.02rem; line-height: 1.62; color: var(--ink-soft); margin: 0; }

/* --- 13. Encadré de Maëlle (fond sombre) -------------------------------- */
.signature {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}
.signature li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  color: var(--on-ink);
  background: var(--tint-paper);
  border: 1px solid var(--line-paper);
  border-radius: var(--r-pill);
  padding: 7px 15px 7px 11px;
}
.signature img { width: 18px; height: 18px; }

/* --- 14. Questions fréquentes ------------------------------------------- */
.faq { max-width: 820px; margin: 40px auto 0; }

.faq details {
  background: var(--white);
  border: 1px solid var(--tint-ink);
  border-radius: var(--r);
  box-shadow: var(--sh-soft);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 2.4vw, 1.45rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  padding: 22px 64px 22px 26px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 64px;
  bottom: 14px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.faq summary:hover::before { transform: scaleX(1); }
.faq summary::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--sage-deep);
  border-bottom: 2px solid var(--sage-deep);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--transition);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-reponse {
  padding: 4px 26px 24px;
  font-size: 1.02rem;
  line-height: 1.66;
  color: var(--ink-soft);
}
.faq details[open] .faq-reponse { animation: faq-ouvre 360ms ease; }

/* --- 15. Formulaire en étapes ------------------------------------------- */
.form-carte {
  background: var(--white);
  border: 1px solid var(--tint-ink);
  border-radius: var(--r-lg);
  padding: 38px 38px 40px;
  box-shadow: var(--sh-lift);
  max-width: 720px;
  margin: 36px auto 0;
  scroll-margin-top: calc(var(--head-h) + 18px);
}

.etapes {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  list-style: none;
  margin: 0 0 30px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--tint-ink);
}
.etapes-pas {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink-soft);
  opacity: .55;
  transition: opacity var(--transition);
}
.etapes-pas span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: .95rem;
  background: var(--paper-2);
  color: var(--ink);
  transition: background var(--transition), color var(--transition);
}
.etapes-pas.active,
.etapes-pas.faite { opacity: 1; }
.etapes-pas.active span { background: var(--gold-deep); color: var(--white); }
.etapes-pas.faite span { background: var(--sage-deep); color: var(--white); }

.etape { border: 0; margin: 0; padding: 0; min-width: 0; }
.js .etape { display: none; }
.js .etape.active { display: block; animation: etape-entre 320ms ease; }
.etape + .etape { margin-top: 34px; }
.js .etape + .etape { margin-top: 0; }

.etape-titre {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  padding: 0;
  margin: 0 0 18px;
}

.champ {
  padding: 12px 0;
  border-bottom: 1px solid var(--tint-ink);
}
.champ:last-of-type { border-bottom: 0; }

.champ-libelle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.5;
}
.champ-libelle img { width: 20px; height: 20px; flex: 0 0 auto; }

.champ-erreur {
  display: block;
  font-size: .92rem;
  font-weight: 600;
  color: #A2432B;
  line-height: 1.55;
}
.champ-erreur:not(:empty) { margin-top: 8px; }

/* Libellé réservé aux lecteurs d'écran : le titre du champ est dans le placeholder. */
.lecteur {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.saisie { position: relative; }
.saisie img {
  position: absolute;
  left: 15px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  pointer-events: none;
}
.saisie--zone img { top: 17px; transform: none; }

.champ input[type="text"],
.champ input[type="email"],
.champ input[type="tel"],
.champ textarea {
  width: 100%;
  font-family: var(--f-body);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--paper-3);
  border-radius: var(--r-sm);
  padding: 13px 15px 13px 46px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.champ input::placeholder,
.champ textarea::placeholder { color: var(--ink-soft); opacity: .8; }
.champ textarea { min-height: 116px; resize: vertical; }
.champ input:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 4px var(--tint-sage);
}

.choix { display: grid; gap: 10px; margin-top: 12px; }
.choix-carte {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--paper-3);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  margin: 0;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.choix-carte input { position: absolute; opacity: 0; width: 1px; height: 1px; font-size: 16px; }
.choix-carte img { width: 22px; height: 22px; flex: 0 0 auto; }
.choix-carte:has(input:checked) { border-color: var(--sage-deep); box-shadow: 0 0 0 4px var(--tint-sage); }
.choix-carte:has(input:focus-visible) { outline: 2px solid var(--sage-deep); outline-offset: 2px; }

.etape-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.form-pied {
  margin-top: 20px;
  font-size: .92rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.merci {
  background: var(--tint-sage);
  border: 1px solid var(--sage);
  border-radius: var(--r);
  padding: 32px 28px;
  text-align: center;
}
.merci img { width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: var(--sage-deep); margin: 0 auto 14px; }
.merci h3 { margin-bottom: 10px; }
.merci p { color: var(--ink-soft); margin: 0 0 12px; }
.merci p:last-child { margin: 0; }
.merci-fictif { font-size: .9rem; }

/* --- 16. Pied de page ---------------------------------------------------- */
.pied {
  position: relative;
  z-index: 1;
  overflow: hidden;
  color: var(--on-ink);
  padding: 72px 0 34px;
  font-size: .96rem;
  line-height: 1.68;
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(200, 150, 62, .18) 0%, rgba(200, 150, 62, .08) 40%, rgba(200, 150, 62, .02) 70%, transparent 92%),
    radial-gradient(75% 90% at 0% 100%, rgba(124, 154, 126, .24) 0%, rgba(124, 154, 126, .10) 40%, rgba(124, 154, 126, .02) 70%, transparent 92%),
    linear-gradient(170deg, var(--ink) 0%, #222B23 100%);
}

.pied-grille {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 40px;
}
.pied-marque p { margin-bottom: 22px; }

.pied-titre {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 8px 0 16px;
}

.pied-liste { list-style: none; margin: 0; padding: 0; }
.pied-liste li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line-paper);
}
.pied-liste li:first-child { padding-top: 0; }
.pied-liste li:last-child { border-bottom: 0; }
.pied-liste a { color: var(--on-ink); text-decoration: none; transition: color var(--transition); }
.pied-liste a:hover { color: var(--gold-soft); }
.pied-liste--ic li { display: flex; align-items: center; gap: 10px; }
.pied-liste--ic img { width: 18px; height: 18px; flex: 0 0 auto; }

.pied-bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line-paper);
  font-size: .86rem;
  color: var(--on-ink-soft);
}
.pied-bas p { margin: 0; }

/* --- 17. Apparition ------------------------------------------------------ */
.apparait { opacity: 0; transform: translateY(18px); transition: opacity 620ms ease, transform 620ms cubic-bezier(.2, .7, .3, 1), translate var(--transition); }
.apparait.vu { opacity: 1; transform: none; }

@keyframes etape-entre {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes faq-ouvre {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* --- 18. Coupes conditionnelles ----------------------------------------- */
.insec { white-space: nowrap; }
.br-mobile { display: none; }
.br-desktop { display: inline; }

/* ==========================================================================
   19. Media queries (regroupées, un bloc par palier)
   ========================================================================== */

@media (max-width: 1024px) {
  .nav-links {
    flex: initial !important;
    justify-content: initial !important;
    position: absolute;
    top: var(--head-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line-paper);
    box-shadow: var(--sh-lift);
    padding: 8px 24px 20px;
    clip-path: inset(0 0 100% 0);
    transition: clip-path var(--transition);
  }
  .nav-links.ouvert { clip-path: inset(0 0 0 0); }
  .nav-links li { border-bottom: 1px solid var(--line-paper); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { display: block; padding: 15px 2px; font-size: 1.05rem; }
  .nav-mobile-only { display: list-item !important; padding-top: 14px; }
  .nav-mobile-only .nav-cta { display: block; text-align: center; }
  .nav-desktop-only { display: none !important; }
  .burger { display: block; }

  /* Hero : le texte d'abord, l'illustration en grand dessous, fondue dans la brume. */
  .hero { display: block; min-height: 0; }
  .hero::before { display: none; }
  .hero-inner { padding-top: 52px; padding-bottom: 0; }
  .hero-texte { max-width: 640px; }
  .hero-visuel {
    position: relative;
    inset: auto;
    height: auto;
    aspect-ratio: 4 / 3;
    object-position: 78% 70%;
    margin-top: -30px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 26%);
  }

  .duo { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .duo--flip .duo-media { order: 0; }
  .temps { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pied-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
}

@media (max-width: 640px) {
  body { font-size: 17.5px; }
  .section { padding: 64px 0; }
  .wrap { padding: 0 20px; }
  .nav { padding: 0 12px 0 16px; gap: 10px; }
  .nav-marque { gap: 8px; }
  .logo { font-size: 1.28rem; gap: 8px; }
  .logo img { width: 36px; height: 36px; }
  .logo--pied { font-size: 1.55rem; }
  .logo--pied img { width: 48px; height: 48px; }
  .fictif { font-size: .6rem; padding: 3px 8px; }
  .hero-inner { padding-top: 38px; }
  .hero-date { padding: 12px 16px 12px 12px; gap: 12px; }
  .hero-date img { width: 28px; height: 28px; }
  .hero-visuel { aspect-ratio: 1 / 1; object-position: 80% 70%; }
  .grille { grid-template-columns: minmax(0, 1fr); }
  .form-carte { padding: 26px 18px 30px; border-radius: var(--r); }
  .etapes-pas { flex-direction: column; gap: 6px; font-size: .85rem; text-align: center; }
  .etape-actions .btn { flex: 1 1 auto; }
  .btn { padding: 15px 22px; }
  .faq summary { padding: 20px 54px 20px 20px; }
  .faq summary::before { left: 20px; right: 54px; }
  .faq summary::after { right: 22px; }
  .faq-reponse { padding: 2px 20px 22px; }
  .pied { padding-top: 56px; }
  .pied-grille { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .pied-bas { flex-direction: column; align-items: flex-start; }
  .merci { padding: 26px 16px; }
  .br-mobile { display: inline; }
  .br-desktop { display: none; }
}

@media (max-width: 360px) {
  .fictif { display: none; }
  .hero-date img { display: none; }
  .objet { padding: 18px 16px; gap: 12px; }
  .objet img { width: 42px; height: 42px; padding: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .apparait { opacity: 1 !important; transform: none !important; }
}
