/* =========================================================
   RACINE — salon de coiffure
   Système de design : cocooning, brun chaud & vert végétal
   ========================================================= */

:root {
  /* ---- Base chaleureuse ---- */
  --cream: #f1ebe0;
  --cream-2: #e7dfd1;
  --paper: #fbf7f0;
  --sand: #ddd2be;

  /* ---- Encre brune ---- */
  --ink: #2a241c;
  --ink-soft: #4a3f33;
  /* Tons de texte : vérifiés ≥ 4,5:1 sur --cream comme sur --cream-2 */
  --muted: #6b5d4d;
  /* Teinte claire réservée au décoratif (pastilles, bordures) — jamais du texte */
  --muted-2: #9a8b78;

  /* ---- Vert végétal : accent principal ---- */
  --green: #4e6446;
  --green-deep: #3b4e35;
  --green-strong: #435a3c;
  --green-soft: #7d9070;
  --green-wash: #e3eadc;

  /* ---- Brun chaud : accent secondaire ---- */
  --brown: #8a684a;
  --brown-deep: #6d5138;
  --brown-wash: #eee1d0;

  --line: #dbd0bd;
  --line-soft: #e8dfd0;

  /* ---- Pied de page ---- */
  --footer-bg: #2b241b;
  --footer-text: #c8bcab;
  --footer-accent: #a8bd9a;

  /* ---- Typographie ---- */
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Karla", ui-sans-serif, system-ui, sans-serif;

  /* ---- Layout ---- */
  --wrap: 1140px;
  --wrap-narrow: 720px;
  --pad: clamp(1.25rem, 3.5vw, 2.25rem);
  --header-h: 68px;
  --radius: 14px;
  --arch: 999px 999px 16px 16px;

  /* ---- Rythme vertical : dense, sans grands vides ---- */
  --space-section: clamp(2.75rem, 5.5vw, 4.5rem);
  --space-section-sm: clamp(2rem, 3.5vw, 3rem);
  --space-title: clamp(1.3rem, 2.2vw, 1.9rem);

  --ease: cubic-bezier(0.33, 1, 0.68, 1);
  --shadow-soft: 0 16px 34px -22px rgba(56, 42, 26, 0.35);
  --shadow-lift: 0 22px 46px -24px rgba(56, 42, 26, 0.42);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  font-weight: 400;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.68;
  font-size: 16.5px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; }

::selection { background: var(--green); color: var(--paper); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* =========================================================
   Layout
   ========================================================= */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.wrap-narrow { width: 100%; max-width: var(--wrap-narrow); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--space-section); }
.section-tight { padding-block: var(--space-section-sm); }
.bleed { width: 100vw; margin-left: calc(50% - 50vw); }

/* Marge sous les titres de section — un seul réglage pour tout le site */
.section-title { margin-bottom: var(--space-title); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--green); color: var(--paper);
  padding: 0.7rem 1.2rem; z-index: 500;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* =========================================================
   Typographie
   ========================================================= */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.012em;
  font-variation-settings: "SOFT" 40, "WONK" 1;
}

.display { font-size: clamp(2.15rem, 4.8vw, 3.5rem); line-height: 1.08; }
.h2 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); }
.h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.eyebrow {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.85rem;
}
.lede { font-size: clamp(1rem, 1.5vw, 1.14rem); color: var(--ink-soft); max-width: 54ch; }
.body-copy { color: var(--muted); max-width: 60ch; }
.body-copy p + p { margin-top: 0.95rem; }
.body-copy strong { color: var(--ink); font-weight: 700; }

.serif-accent { font-style: italic; color: var(--green); }

/* =========================================================
   Boutons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55ch;
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.85rem 1.55rem;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
              border-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn span { transition: transform 0.3s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn-primary { background: var(--green); color: var(--paper); }
.btn-primary:hover { background: var(--green-strong); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn-soft { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-soft:hover { border-color: var(--green); color: var(--green); }
.btn-block { width: 100%; justify-content: center; }

.link-underline {
  display: inline-flex; align-items: center; gap: 0.5ch;
  font-weight: 700; font-size: 0.93rem; color: var(--green);
  padding-bottom: 3px;
  border-bottom: 2px solid var(--green-wash);
  transition: border-color 0.3s var(--ease);
}
.link-underline:hover { border-color: var(--green); }
.link-underline span { transition: transform 0.3s var(--ease); }
.link-underline:hover span { transform: translateX(3px); }

/* =========================================================
   En-tête
   ========================================================= */
.topbar { background: var(--footer-bg); color: var(--footer-text); font-size: 0.78rem; }
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 34px; flex-wrap: wrap;
}
.topbar a { font-weight: 700; color: var(--paper); }
.topbar a:hover { color: var(--footer-accent); }
.status { display: inline-flex; align-items: center; gap: 0.5ch; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-2); flex-shrink: 0; }
.status.is-open .status-dot { background: #8fb37e; box-shadow: 0 0 0 3px rgba(143, 179, 126, 0.25); }
.status.is-closed .status-dot { background: #b8895f; }

.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(241, 235, 224, 0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 26px -24px rgba(56, 42, 26, 0.55); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 0.55rem; flex-shrink: 0; }
.logo-mark { width: 28px; height: 28px; color: var(--green); }
.logo-mark svg { width: 100%; height: 100%; }
.logo-text {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variation-settings: "SOFT" 40, "WONK" 1;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.7rem); }
.nav a { font-size: 0.91rem; font-weight: 500; color: var(--ink-soft); position: relative; padding-block: 0.3rem; transition: color 0.25s ease; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--green); border-radius: 2px;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
/* `:not(.btn)` : sans lui, cette règle (0,2,1) écraserait la couleur du
   bouton sur la page courante et le rendrait illisible. */
.nav a[aria-current="page"]:not(.btn) { color: var(--ink); }
.nav .btn { padding: 0.62rem 1.2rem; font-size: 0.86rem; }
.nav .btn::after { display: none; }
/* `.nav a` (0,1,1) l'emporterait sinon sur `.btn-primary` (0,1,0)
   et le libellé du bouton deviendrait illisible. */
.nav .btn-primary { color: var(--paper); }
.nav .btn-outline { color: var(--ink); }
.nav .btn-primary:hover { color: var(--paper); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero — compact, sans vide latéral
   ========================================================= */
.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: center;
  padding-block: clamp(1.75rem, 3.5vw, 3rem);
}
.hero h1 { margin-bottom: 1.15rem; }
.hero .lede { margin-bottom: 1.7rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.7rem; }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem;
  border-top: 1px solid var(--line); padding-top: 1.1rem;
  font-size: 0.88rem; color: var(--muted);
}
.hero-facts strong { display: block; color: var(--ink); font-weight: 700; font-size: 0.93rem; }

/* Arche végétale */
.arch { border-radius: var(--arch); overflow: hidden; background: var(--green-wash); position: relative; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-arch { width: min(100%, 400px); aspect-ratio: 5 / 6; }
.hero-arch svg { width: 100%; height: 100%; display: block; }

.badge-float {
  position: absolute;
  bottom: 5%; left: -2%;
  background: var(--paper);
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  box-shadow: var(--shadow-soft);
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.84rem; font-weight: 700;
}
.badge-float .stars { color: var(--brown); letter-spacing: 0.06em; }
.badge-float small { display: block; font-weight: 400; color: var(--muted); font-size: 0.76rem; }

/* Illustrations */
.hair-line { fill: none; stroke: var(--brown); stroke-width: 2.4; stroke-linecap: round; }
.hair-line-soft { fill: none; stroke: var(--brown); stroke-width: 1.6; stroke-linecap: round; opacity: 0.45; }
.hair-fill { fill: var(--brown); opacity: 0.16; }
.hair-fill-2 { fill: var(--green); opacity: 0.16; }
.face-line { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Feuillage — motif végétal */
.leaf { fill: var(--green); opacity: 0.28; }
.leaf-stem { fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; opacity: 0.5; }

/* =========================================================
   Réassurance
   ========================================================= */
.assurances {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.assurance { background: var(--cream); padding: clamp(1.2rem, 2.4vw, 1.6rem); text-align: center; }
/* `display: block` est indispensable : sur un <span> resté en ligne,
   width/height et `margin: auto` sont ignorés — le SVG s'étalait alors
   sur toute la largeur de la cellule et le texte débordait dessous. */
.assurance .a-icon { display: block; width: 28px; height: 28px; margin: 0 auto 0.6rem; color: var(--green); }
.assurance .a-icon svg { display: block; width: 100%; height: 100%; }
.assurance h3 { font-size: 1.04rem; margin-bottom: 0.25rem; }
.assurance p { font-size: 0.86rem; color: var(--muted); }

/* =========================================================
   Prestations
   ========================================================= */
.tarifs-groupe { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.tarifs-groupe > h3 {
  font-size: 1.35rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--green);
  margin-bottom: 0.25rem;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
}
.tarifs-groupe > h3 .g-note {
  font-family: var(--body); font-size: 0.75rem; font-weight: 500;
  color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase;
}

.tarif-ligne {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.3rem 1.25rem;
  align-items: baseline;
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--line-soft);
}
.tarif-ligne .t-nom { font-weight: 700; font-size: 0.98rem; }
.tarif-ligne .t-desc { grid-column: 1; font-size: 0.86rem; color: var(--muted); line-height: 1.55; }
.tarif-ligne .t-prix {
  grid-row: 1 / span 2; grid-column: 2;
  font-family: var(--display);
  font-size: 1.3rem; font-weight: 600;
  color: var(--brown-deep);
  white-space: nowrap;
}
.tarif-ligne .t-duree {
  font-size: 0.76rem; color: var(--muted); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* =========================================================
   Équipe
   ========================================================= */
.equipe-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(1.25rem, 2.4vw, 2rem); }
.membre { text-align: center; }
.membre .m-portrait {
  border-radius: var(--arch);
  aspect-ratio: 5 / 6;
  margin-bottom: 0.9rem;
  overflow: hidden;
  transition: transform 0.5s var(--ease);
}
.membre:hover .m-portrait { transform: translateY(-5px); }
.membre .m-portrait svg { width: 100%; height: 100%; display: block; }
.membre h3 { font-size: 1.25rem; margin-bottom: 0.1rem; }
.membre .m-role { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.11em; color: var(--green); margin-bottom: 0.5rem; }
.membre p { font-size: 0.88rem; color: var(--muted); max-width: 30ch; margin-inline: auto; }

/* =========================================================
   Galerie
   ========================================================= */
.galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(0.8rem, 1.5vw, 1.15rem); }
.galerie-item {
  border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 1; position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.galerie-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.galerie-item svg { width: 100%; height: 100%; display: block; }
.galerie-item .g-label {
  position: absolute; left: 0.75rem; bottom: 0.75rem;
  background: rgba(251, 247, 240, 0.93);
  border-radius: 999px; padding: 0.3rem 0.8rem;
  font-size: 0.74rem; font-weight: 700;
}
.galerie-item:nth-child(4n+1) { background: var(--green-wash); }
.galerie-item:nth-child(4n+2) { background: var(--brown-wash); }
.galerie-item:nth-child(4n+3) { background: var(--cream-2); }
.galerie-item:nth-child(4n+4) { background: var(--sand); }

/* =========================================================
   Avis
   ========================================================= */
.avis-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.avis {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 2.4vw, 1.6rem);
  display: flex; flex-direction: column;
}
.avis .stars { color: var(--brown); letter-spacing: 0.08em; margin-bottom: 0.65rem; font-size: 0.92rem; }
.avis blockquote { font-family: var(--display); font-size: 1.05rem; line-height: 1.45; margin-bottom: 0.9rem; }
.avis figcaption { margin-top: auto; font-size: 0.83rem; color: var(--muted); }
.avis figcaption strong { display: block; color: var(--ink); font-weight: 700; font-size: 0.9rem; }

/* =========================================================
   Infos pratiques
   ========================================================= */
.infos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 3.5vw, 3rem); align-items: start; }
.horaires { width: 100%; border-collapse: collapse; }
.horaires th, .horaires td { text-align: left; padding: 0.62rem 0.3rem; border-bottom: 1px solid var(--line-soft); font-size: 0.93rem; }
.horaires th { font-weight: 500; color: var(--ink-soft); }
.horaires td { text-align: right; font-weight: 700; }
.horaires tr.today th, .horaires tr.today td { color: var(--green); }
.horaires tr.today th::before { content: "→ "; }
.horaires .ferme { color: var(--muted); font-weight: 500; }

.contact-liste { display: grid; gap: 1rem; }
.contact-liste li { display: grid; grid-template-columns: 2rem 1fr; gap: 0.8rem; align-items: start; }
.contact-liste .c-icon { width: 21px; height: 21px; color: var(--green); margin-top: 0.2rem; }
.contact-liste .c-icon svg { width: 100%; height: 100%; }
.contact-liste .c-label { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.11em; color: var(--muted); }
.contact-liste a { font-weight: 700; }
.contact-liste a:hover { color: var(--green); }

/* =========================================================
   Formulaire
   ========================================================= */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.9rem);
  display: grid; gap: 0.95rem;
  box-shadow: var(--shadow-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.95rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); }

/* Les éléments de grille ont min-width:auto par défaut : un <select>
   aux libellés longs élargirait sinon toute la colonne. */
.infos-grid > *, .form-row > *, .form-card > *, .field > * { min-width: 0; }

.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  font-family: var(--body); font-size: 0.95rem;
  color: var(--ink); background: var(--cream);
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: 0.72rem 0.9rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); background: var(--paper);
  box-shadow: 0 0 0 4px var(--green-wash);
}
.field textarea { resize: vertical; min-height: 92px; }
.field select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a6c5c' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem;
}
.form-note { font-size: 0.88rem; font-weight: 700; color: var(--green); min-height: 1.3em; text-align: center; }
.form-legal { font-size: 0.78rem; color: var(--muted); }

/* =========================================================
   Bandeau démonstration
   ========================================================= */
.demo-banner {
  background: var(--footer-bg);
  color: var(--footer-text);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.5rem);
  text-align: center;
  max-width: 720px; margin-inline: auto;
}
.demo-banner .eyebrow { color: var(--footer-accent); margin-bottom: 0.5rem; }
.demo-banner h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-bottom: 0.8rem; color: var(--paper); }
.demo-banner p { color: var(--footer-text); max-width: 52ch; margin: 0 auto 1.4rem; font-size: 0.95rem; }
.demo-banner strong { color: var(--paper); font-weight: 700; }

/* =========================================================
   Pied de page
   ========================================================= */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding-top: clamp(2.25rem, 4.5vw, 3.25rem); }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}
.site-footer .logo-text { color: var(--paper); }
.site-footer .logo-mark { color: var(--footer-accent); }
.footer-brand p { color: var(--footer-text); font-size: 0.89rem; max-width: 34ch; margin-top: 0.8rem; }
.footer-col h4 {
  font-family: var(--body); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--footer-accent); margin-bottom: 0.85rem;
}
.footer-col ul { display: grid; gap: 0.55rem; }
.footer-col a, .footer-col span { color: var(--footer-text); font-size: 0.9rem; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  border-top: 1px solid rgba(251, 247, 240, 0.13);
  padding-block: 1.2rem clamp(1.25rem, 2.5vw, 1.8rem);
  display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; justify-content: space-between;
  font-size: 0.82rem; color: #9a8d7c;
}
.footer-bottom a { color: var(--footer-text); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--paper); }
.footer-disclaimer { width: 100%; color: #a99c8b; line-height: 1.7; }

/* =========================================================
   Révélations
   ========================================================= */
.js-anim .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.07s; }
.reveal-d2 { transition-delay: 0.14s; }
.reveal-d3 { transition-delay: 0.21s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-arch { width: min(72%, 320px); }
  .infos-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed; inset: calc(var(--header-h) + 34px) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 0.7rem var(--pad) 1.4rem;
    transform: translateY(-150%);
    transition: transform 0.45s var(--ease);
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
    box-shadow: var(--shadow-soft);
  }
  .nav.open { transform: translateY(0); }
  .nav a { font-size: 1rem; padding-block: 0.78rem; border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 0.85rem; justify-content: center; }
  .menu-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .badge-float { left: 0; bottom: -1.2rem; }
}

/* =========================================================
   Mouvement réduit
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js-anim .reveal { opacity: 1; transform: none; }
}

/* Brin décoratif autonome, pour les pages sans arche. */
.brin-decor { width: 34px; height: 44px; display: block; margin-bottom: 0.4rem; }
.tarifs-groupe > h3 .brin-decor { display: inline-block; width: 22px; height: 28px; vertical-align: -0.35em; margin: 0 0 0 0.1rem; }
