/* ═══════════════════════════════════════════════════════════
   Flos Nominis — feuille de style du site (palette « Herbier intime »)
   ═══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #F7F4F0;
  --paper: #FCFAF7;
  --sage: #6F8B75;
  --sage-deep: #587160;
  --sage-soft: #90AE94;
  --sage-pale: #E4ECE5;
  --sage-mist: #EEF2EE;
  --ink: #334237;
  --ink-soft: #5B665E;
  --muted: #8A928C;
  --line: rgba(51, 66, 55, 0.14);
  --line-soft: rgba(51, 66, 55, 0.08);
  --rose: #C9A4A4;
  --wood: #C9B08F;
  --wood-dark: #A98E6B;
  --shadow: 0 30px 60px -20px rgba(51, 66, 55, 0.35), 0 10px 24px -12px rgba(51, 66, 55, 0.25);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --radius: 4px;
  --max: 1180px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--sage-pale); color: var(--ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (min-width: 900px) { .wrap { padding: 0 48px; } }

/* ── Typographie ────────────────────────────────────────── */
.eyebrow {
  display: block;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--sage); font-weight: 400; margin-bottom: 18px;
}
.h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 5.6vw, 66px); line-height: 1.06;
  letter-spacing: -0.01em; color: var(--ink);
}
.h1 em, .h2 em { font-style: italic; font-weight: 400; color: var(--sage-deep); }
.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 4vw, 46px); line-height: 1.12; color: var(--ink);
  margin-bottom: 18px;
}
.lead { font-size: 17px; color: var(--ink-soft); max-width: 560px; }
.small { font-size: 13px; color: var(--muted); }

/* ── Boutons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px;
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: var(--cream); box-shadow: 0 12px 30px -14px rgba(51,66,55,.6); }
.btn-primary:hover { background: var(--sage-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(247, 244, 240, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s ease;
}
.nav.scrolled { box-shadow: 0 8px 30px -20px rgba(51,66,55,.4); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: 26px; height: 26px; }
.brand-word { font-family: var(--sans); font-weight: 400; font-size: 14px; letter-spacing: 0.34em; text-transform: uppercase; }
.nav-links { display: none; gap: 30px; list-style: none; }
.nav-links a {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--ink-soft);
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-cta { display: none; padding: 11px 20px; font-size: 11px; }
@media (min-width: 900px) { .nav-links { display: flex; } .nav-cta { display: inline-flex; } }

/* Sélecteur de langue */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 12px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
  color: var(--ink-soft);
}
.lang-btn:hover { border-color: var(--ink); color: var(--ink); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 10px;
  box-shadow: 0 20px 40px -20px rgba(51,66,55,.4); padding: 6px; display: none; z-index: 200;
}
.lang-menu.open { display: block; }
.lang-menu a {
  display: block; padding: 9px 12px; border-radius: 6px; text-decoration: none; font-size: 13px; color: var(--ink-soft);
}
.lang-menu a:hover { background: var(--sage-mist); color: var(--ink); }
.lang-menu a[aria-current="page"] { color: var(--sage-deep); font-weight: 500; }

/* Menu mobile */
.burger { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { width: 20px; height: 1px; background: var(--ink); transition: transform .3s, opacity .3s; }
@media (min-width: 900px) { .burger { display: none; } }
.mobile-menu {
  position: fixed; inset: 68px 0 auto 0; z-index: 99; background: var(--paper);
  border-bottom: 1px solid var(--line-soft); padding: 16px 24px 24px;
  transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.mobile-menu.open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-soft); text-decoration: none; font-size: 15px; }
.mobile-menu .btn { margin-top: 18px; }

/* ── Héros ───────────────────────────────────────────────── */
.hero { position: relative; padding: 120px 0 60px; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 150px 0 90px; } .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; } }
.hero-copy { order: 2; }
.hero-scene { order: 1; }
@media (min-width: 900px) { .hero-copy { order: 1; } .hero-scene { order: 2; } }
.hero .lead { margin: 22px 0 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.reassure {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px;
  margin-top: 34px; font-size: 13px; color: var(--ink-soft);
}
.reassure li { display: flex; align-items: center; gap: 10px; }
.reassure li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); flex: none;
}

/* Scène : mur de chambre + cadre */
.scene {
  position: relative; border-radius: 18px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 15% 0%, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(180deg, #F3EEE6 0%, #ECE5DA 100%);
  aspect-ratio: 1 / 1;
  box-shadow: inset 0 0 0 1px rgba(51,66,55,.06);
}
@media (min-width: 900px) { .scene { aspect-ratio: 4 / 4.6; } }
.scene::before {
  /* ligne de plinthe */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 14%;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.35) 100%);
  border-top: 1px solid rgba(51,66,55,.08);
}
.scene-light {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,250,240,.55) 0%, rgba(255,250,240,0) 45%);
  mix-blend-mode: soft-light;
}
.frame {
  position: absolute; left: 50%; top: 50%; width: 58%;
  transform: translate(-50%, -54%);
  padding: 3.2%;
  background: linear-gradient(135deg, #D9C4A5 0%, #C7AE8C 45%, #B99E7B 100%);
  box-shadow:
    0 40px 70px -30px rgba(51,66,55,.55),
    0 14px 28px -14px rgba(51,66,55,.35),
    inset 0 0 0 1px rgba(255,255,255,.35);
  will-change: transform;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.frame::after {
  /* passe-partout fin */
  content: ''; position: absolute; inset: 3.2%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
  pointer-events: none;
}
.frame canvas { width: 100%; height: auto; display: block; background: #8A9BA8; }
.frame-hook {
  position: absolute; left: 50%; top: 0; width: 1px; height: 14%; background: rgba(51,66,55,.18);
  transform: translateX(-50%);
}
.shelf {
  position: absolute; left: 12%; right: 12%; bottom: 14%; height: 6px; border-radius: 3px;
  background: linear-gradient(180deg, #D9C4A5, #B99E7B); box-shadow: 0 10px 18px -8px rgba(51,66,55,.35);
}
.shelf-plant { position: absolute; bottom: 15%; left: 16%; width: 9%; color: var(--sage); opacity: .9; }
.shelf-book { position: absolute; bottom: 15%; right: 17%; width: 10%; height: 4%; background: var(--rose); border-radius: 2px; opacity: .85; }
.shelf-book::after { content: ''; position: absolute; right: -14%; bottom: 0; width: 12%; height: 130%; background: var(--sage-soft); border-radius: 2px; }
.scene-caption {
  position: absolute; left: 0; right: 0; bottom: 3.5%; text-align: center;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft);
  transition: opacity .5s;
}
.scene-caption strong { font-weight: 500; color: var(--ink); }

/* Pétales flottants */
.petals { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.petal {
  position: absolute; top: -8%; width: 12px; height: 18px; border-radius: 60% 60% 60% 60% / 70% 70% 50% 50%;
  background: var(--sage-soft); opacity: 0;
  animation: petal-fall linear infinite;
}
.petal.rose { background: var(--rose); }
.petal.pale { background: var(--sage-pale); }
@keyframes petal-fall {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
  10%  { opacity: .55; }
  90%  { opacity: .45; }
  100% { transform: translate3d(-40px, 115vh, 0) rotate(300deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .petal { animation: none; display: none; }
  html { scroll-behavior: auto; }
}

/* ── Sections ────────────────────────────────────────────── */
.section { padding: 84px 0; }
@media (min-width: 900px) { .section { padding: 120px 0; } }
.section-alt { background: var(--paper); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-sage { background: var(--sage-mist); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── Les 12 fleurs ───────────────────────────────────────── */
.story-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.story-text p + p { margin-top: 16px; }
.story-text p { color: var(--ink-soft); font-size: 16.5px; }
.picker-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.months { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
@media (min-width: 560px) { .months { gap: 10px; } }
.month {
  position: relative; border: 0; padding: 0; border-radius: 6px; overflow: hidden; cursor: pointer;
  aspect-ratio: 120 / 155; background: #8A9BA8;
  outline: 2px solid transparent; outline-offset: 2px;
  transition: transform .25s ease, outline-color .25s ease, box-shadow .25s ease;
}
.month canvas { width: 100%; height: 100%; }
.month:hover { transform: translateY(-3px); box-shadow: 0 14px 24px -14px rgba(51,66,55,.6); }
.month.active { outline-color: var(--ink); }
.month span {
  position: absolute; left: 0; right: 0; bottom: 5px; font-size: 9px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.85); text-align: center;
}
.flower-card {
  margin-top: 22px; padding: 26px 28px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 14px;
  display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center;
  transition: opacity .35s ease, transform .35s ease;
}
.flower-card.swap { opacity: 0; transform: translateY(6px); }
@media (min-width: 560px) { .flower-card { grid-template-columns: 96px 1fr; gap: 26px; } }
.flower-card canvas { width: 96px; height: 124px; border-radius: 6px; }
.flower-month { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--sage); margin-bottom: 6px; }
.flower-name { font-family: var(--serif); font-size: 32px; line-height: 1.1; }
.flower-latin { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 17px; margin-bottom: 10px; }
.flower-desc { font-size: 14.5px; color: var(--ink-soft); }
.flower-cta { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--sage-deep); font-weight: 500; }
.flower-cta:hover { color: var(--ink); }

/* ── Configurateur ───────────────────────────────────────── */
.config-grid { display: grid; gap: 56px; align-items: start; }
@media (min-width: 900px) { .config-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.field { margin-bottom: 28px; }
.field-label { display: block; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.input {
  width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--serif); font-size: 24px; padding: 13px 16px; color: var(--ink); outline: none;
  transition: border-color .25s, box-shadow .25s; -webkit-appearance: none; appearance: none;
}
.input:focus { border-color: var(--sage); box-shadow: 0 0 0 4px rgba(111,139,117,.14); }
.input::placeholder { color: #B5B9B5; font-style: italic; }
.help { margin-top: 8px; font-size: 12.5px; color: var(--muted); }

.swatches { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.swatch {
  aspect-ratio: 1; border-radius: 6px; cursor: pointer; border: 0; padding: 0;
  outline: 2px solid transparent; outline-offset: 3px; transition: transform .2s, outline-color .2s;
}
.swatch:hover { transform: scale(1.06); }
.swatch.active { outline-color: var(--ink); }
.swatches-text { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; }
.swatch-round { border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(51,66,55,.12); }

.offers { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.offer {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.offer:hover { border-color: var(--sage); }
.offer.selected { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.offer input { margin-top: 5px; accent-color: var(--ink); width: 16px; height: 16px; }
.offer-name { font-size: 15px; font-weight: 500; color: var(--ink); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.offer-tag { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--sage-pale); color: var(--sage-deep); font-weight: 500; }
.offer-desc { font-size: 13px; color: var(--ink-soft); margin-top: 3px; }
.offer-price { font-family: var(--serif); font-size: 24px; color: var(--ink); text-align: right; line-height: 1.1; }
.offer-price .chf { display: block; font-family: var(--sans); font-size: 11px; color: var(--muted); letter-spacing: .04em; margin-top: 2px; }
.gift-note {
  display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 22px; padding: 14px 16px;
  background: var(--sage-mist); border-radius: 10px; font-size: 13.5px; color: var(--ink-soft);
}
.gift-note svg { flex: none; width: 18px; height: 18px; color: var(--sage-deep); margin-top: 2px; }
.secure { margin-top: 12px; font-size: 11.5px; letter-spacing: .06em; color: var(--muted); text-align: center; }
.chf-note { margin-top: 6px; font-size: 11px; color: var(--muted); text-align: center; }

.preview { position: relative; }
@media (min-width: 900px) { .preview { position: sticky; top: 100px; } }
.preview-label { display: block; text-align: center; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.preview-wall {
  position: relative; border-radius: 16px; padding: 10% 16%;
  background: linear-gradient(180deg, #F3EEE6 0%, #ECE5DA 100%);
  box-shadow: inset 0 0 0 1px rgba(51,66,55,.06);
}
.preview-frame {
  position: relative; padding: 4.5%;
  background: linear-gradient(135deg, #D9C4A5 0%, #C7AE8C 45%, #B99E7B 100%);
  box-shadow: 0 30px 50px -24px rgba(51,66,55,.5), 0 10px 20px -12px rgba(51,66,55,.3), inset 0 0 0 1px rgba(255,255,255,.35);
}
.preview-frame canvas { width: 100%; height: auto; }
.preview-info { margin-top: 16px; text-align: center; font-size: 13px; color: var(--muted); }
.preview-info strong { color: var(--ink); font-weight: 500; }
.preview-info em { font-family: var(--serif); font-size: 15px; }

/* ── Ce que reçoivent les parents ───────────────────────── */
.receive-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .receive-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .receive-grid { grid-template-columns: repeat(5, 1fr); gap: 18px; } }
.receive-item { padding: 26px 22px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 14px; }
.receive-item svg { width: 30px; height: 30px; color: var(--sage); margin-bottom: 18px; }
.receive-item h3 { font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.2; margin-bottom: 8px; }
.receive-item p { font-size: 13.5px; color: var(--ink-soft); }
.receive-delay { margin-top: 26px; text-align: center; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* ── Pour qui ───────────────────────────────────────────── */
.who-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .who-grid { grid-template-columns: repeat(4, 1fr); } }
.who { padding: 28px 24px 30px; border-top: 1px solid var(--ink); }
.who h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; margin-bottom: 10px; }
.who p { font-size: 14px; color: var(--ink-soft); }
.occasions { margin-top: 36px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--sage-deep); }

/* ── Comment ça marche ──────────────────────────────────── */
.steps { display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 36px; } }
.step-n { font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--sage-pale); margin-bottom: 14px; }
.step h3 { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-soft); }

/* ── Promesse ───────────────────────────────────────────── */
.promise-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .promise-grid { grid-template-columns: 1.2fr 1fr; gap: 80px; } }
.quote { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); line-height: 1.3; color: var(--ink); }
.quote::before { content: '«\00a0'; color: var(--sage); }
.quote::after { content: '\00a0»'; color: var(--sage); }
.quote-author { margin-top: 18px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.honesty { padding: 30px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 14px; }
.honesty h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin-bottom: 10px; }
.honesty p { font-size: 14.5px; color: var(--ink-soft); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--serif); font-size: 21px; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 300; font-size: 24px; color: var(--sage); transition: transform .3s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { padding: 0 0 22px; font-size: 15px; color: var(--ink-soft); max-width: 680px; }

/* ── Guide ───────────────────────────────────────────────── */
.guide-box {
  max-width: 640px; margin: 0 auto; text-align: center; padding: 48px 28px;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 18px;
}
.guide-box .h2 { font-size: clamp(28px, 3.4vw, 38px); }
.guide-box p { color: var(--ink-soft); font-size: 15px; max-width: 460px; margin: 0 auto 26px; }
.guide-form { max-width: 480px; margin: 0 auto; }
.guide-row { display: flex; gap: 8px; }
@media (max-width: 520px) { .guide-row { flex-direction: column; } }
.guide-input {
  flex: 1; padding: 14px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-family: var(--sans); font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.guide-input:focus { border-color: var(--sage); box-shadow: 0 0 0 4px rgba(111,139,117,.14); }
.guide-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; text-align: left; font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.consent input { margin-top: 4px; accent-color: var(--sage-deep); flex: none; }
.consent a { color: var(--ink-soft); }
.guide-msg { margin-top: 12px; font-size: 13.5px; color: #B0542F; }
.guide-msg.ok { color: var(--sage-deep); }

/* ── Pied de page ───────────────────────────────────────── */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--line-soft); }
.footer-grid { display: grid; gap: 30px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; } }
.footer .brand { margin-bottom: 12px; }
.footer p { font-size: 13.5px; color: var(--ink-soft); max-width: 340px; }
.footer h4 { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 500; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer li a { text-decoration: none; font-size: 14px; color: var(--ink-soft); }
.footer li a:hover { color: var(--ink); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 12px; color: var(--muted); }

/* Bandeau langue */
.lang-banner {
  position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 20px); z-index: 90;
  display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 20px;
  background: var(--ink); color: var(--cream); border-radius: 999px; font-size: 13px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); opacity: 0; pointer-events: none;
  transition: opacity .4s, transform .4s; width: max-content; max-width: calc(100vw - 32px);
  flex-wrap: wrap; border-radius: 22px; line-height: 1.4;
}
.lang-banner.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.lang-banner a { color: var(--cream); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.lang-banner button { background: none; border: 0; color: rgba(255,255,255,.6); font-size: 20px; line-height: 1; cursor: pointer; padding: 0 2px; }

/* ── Pages légales ──────────────────────────────────────── */
.legal { max-width: 760px; margin: 0 auto; padding: 130px 24px 80px; }
.legal h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 50px); font-weight: 400; margin-bottom: 8px; }
.legal .updated { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-family: var(--serif); font-size: 26px; font-weight: 500; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 15px; color: var(--ink-soft); margin-bottom: 12px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--sage-deep); }
.legal .todo { background: #FFF3D6; padding: 2px 6px; border-radius: 4px; color: #7A5A12; }

/* ── Page de succès ─────────────────────────────────────── */
.success { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 110px 24px 60px; text-align: center; }
.state { display: none; flex-direction: column; align-items: center; max-width: 640px; width: 100%; }
.state.active { display: flex; }
.spinner { width: 34px; height: 34px; border: 2px solid var(--line); border-top-color: var(--sage); border-radius: 50%; animation: spin .8s linear infinite; margin-bottom: 24px; }
@keyframes spin { to { transform: rotate(360deg); } }
.success .lead { margin: 12px auto 36px; }
.success .preview-wall { width: 100%; max-width: 380px; margin-bottom: 36px; }
.divider { width: 40px; height: 1px; background: var(--line); margin: 30px auto; }
.back-link { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.back-link:hover { color: var(--ink); }
