/* ============================================================
   Au Fil Des Mots — Cabinet de logopédie, Bernex
   Feuille de styles · palette OKLCH · typographie fluide · grille 4px
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Couleurs — vert apaisant (santé, nature) + corail chaleureux (enfance) */
  --ivory:      oklch(0.990 0.006 95);
  --cream:      oklch(0.975 0.012 92);
  --sand:       oklch(0.948 0.018 88);
  --mist:       oklch(0.955 0.016 170);
  --sage:       oklch(0.800 0.045 165);
  --sage-soft:  oklch(0.915 0.030 165);
  --sage-deep:  oklch(0.620 0.055 168);
  --pine:       oklch(0.455 0.052 170);
  --espresso:   oklch(0.330 0.035 172);
  --ink:        oklch(0.265 0.030 174);
  --taupe:      oklch(0.510 0.024 172);
  --coral:      oklch(0.710 0.130 42);
  --coral-deep: oklch(0.560 0.135 40);
  --honey:      oklch(0.835 0.090 78);

  /* Rôles sémantiques */
  --bg:         var(--ivory);
  --surface:    var(--cream);
  --border:     color-mix(in oklch, var(--sage-deep) 32%, transparent);
  --text:       var(--ink);
  --text-soft:  var(--taupe);
  --accent:     var(--coral);
  --accent-ink: var(--coral-deep);
  --on-accent:  oklch(0.992 0.006 95);

  /* Typographie */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --text-xs:   clamp(0.78rem, 0.76rem + 0.10vw, 0.84rem);
  --text-sm:   clamp(0.86rem, 0.83rem + 0.14vw, 0.94rem);
  --text-base: clamp(1.00rem, 0.96rem + 0.22vw, 1.13rem);
  --text-lg:   clamp(1.16rem, 1.08rem + 0.40vw, 1.38rem);
  --text-xl:   clamp(1.45rem, 1.28rem + 0.80vw, 2.00rem);
  --text-2xl:  clamp(1.90rem, 1.55rem + 1.65vw, 3.05rem);
  --text-3xl:  clamp(2.45rem, 1.90rem + 2.75vw, 4.35rem);

  /* Espacement — grille 4px */
  --space-1: 0.25rem; --space-2: 0.5rem;  --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem;  --space-6: 2rem;    --space-8: 3rem;    --space-10: 4rem;
  --space-12: 6rem;   --space-16: 8rem;
  --section-y: clamp(4.5rem, 3rem + 7vw, 9rem);

  /* Divers */
  --container: 76rem;
  --gutter: clamp(1.25rem, 0.7rem + 2.6vw, 3rem);
  --radius: 6px;
  --radius-lg: 14px;
  --radius-xl: 22px;

  --shadow-sm:
    0 1px 2px oklch(0.27 0.03 174 / 0.05),
    0 2px 6px oklch(0.27 0.03 174 / 0.06);
  --shadow-md:
    0 4px 10px oklch(0.27 0.03 174 / 0.05),
    0 12px 28px oklch(0.27 0.03 174 / 0.09);
  --shadow-lg:
    0 8px 20px oklch(0.27 0.03 174 / 0.06),
    0 30px 60px oklch(0.27 0.03 174 / 0.12);

  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, iframe, svg { display: block; max-width: 100%; }
img { height: auto; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Utilitaires ---------- */
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section-y); }

.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;
}
.skip-link {
  position: fixed; top: 0; left: 50%; translate: -50% -120%;
  z-index: 200; background: var(--ink); color: var(--ivory);
  padding: 0.7rem 1.2rem; border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  font-size: var(--text-sm); transition: translate 200ms var(--ease);
}
.skip-link:focus { translate: -50% 0; }

.eyebrow {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-weight: 500;
  color: var(--pine);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: var(--text-2xl);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--espresso);
  font-optical-sizing: auto;
  text-wrap: balance;
}
.section-title em { font-style: italic; color: var(--accent-ink); }

.section-head { max-width: 46ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-intro { margin-top: var(--space-4); color: var(--text-soft); font-size: var(--text-lg); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95em 1.7em;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: background 200ms var(--ease), color 200ms var(--ease),
              transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary {
  background: var(--accent-ink); color: var(--on-accent);
  box-shadow: 0 6px 16px oklch(0.598 0.132 40 / 0.28);
}
.btn-primary:hover {
  background: oklch(from var(--accent-ink) calc(l - 0.04) c h);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px oklch(0.598 0.132 40 / 0.34);
}
.btn-ghost {
  background: transparent; color: var(--espresso);
  box-shadow: inset 0 0 0 1px var(--border);
}
.btn-ghost:hover {
  box-shadow: inset 0 0 0 1px var(--sage-deep);
  color: var(--pine);
  transform: translateY(-2px);
}

/* ============================================================
   EN-TÊTE
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background 300ms var(--ease), box-shadow 300ms var(--ease),
              border-color 300ms var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header[data-scrolled] {
  background: color-mix(in oklch, var(--ivory) 82%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex; align-items: center; gap: var(--space-5);
  min-height: 4.75rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; margin-right: auto; }
.brand-mark {
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem; flex: none;
  color: var(--ivory); background: var(--pine);
  border-radius: 50%;
}
.brand-mark svg { width: 1.5rem; height: 1.5rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display); font-weight: 430;
  font-size: 1.16rem; letter-spacing: 0.01em; color: var(--espresso);
}
.brand-tag {
  font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-soft);
}

.nav-list { display: flex; gap: clamp(1rem, 2vw, 1.9rem); list-style: none; padding: 0; }
.nav-list a {
  position: relative; font-size: var(--text-sm); font-weight: 400;
  color: var(--espresso); padding: 0.25rem 0;
  transition: color 180ms var(--ease);
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: var(--accent);
  scale: 0 1; transform-origin: left; transition: scale 220ms var(--ease);
}
.nav-list a:hover { color: var(--pine); }
.nav-list a:hover::after { scale: 1 1; }

.header-cta { flex: none; }
.nav-list-cta { display: none; }

.nav-toggle {
  display: none; width: 2.75rem; height: 2.75rem; flex: none;
  position: relative; border-radius: 50%;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  content: ""; position: absolute; left: 50%; width: 20px; height: 1.5px;
  background: var(--espresso); translate: -50% 0;
  transition: transform 240ms var(--ease), opacity 200ms var(--ease);
}
.nav-toggle-bar { top: 50%; translate: -50% -50%; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after  { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   HÉRO
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(120% 100% at 88% 8%, var(--sage-soft) 0%, transparent 55%),
    radial-gradient(90% 80% at 5% 95%, color-mix(in oklch, var(--honey) 28%, transparent) 0%, transparent 50%),
    linear-gradient(180deg, var(--cream), var(--ivory));
  overflow: hidden;
  isolation: isolate;
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  padding-block: clamp(3.5rem, 4rem + 4vw, 7rem);
}
/* Empêche le débordement des colonnes (grid/flex blowout) :
   un enfant de grille ne doit pas imposer sa taille intrinsèque. */
.hero-copy, .hero-art,
.approche-intro, .steps,
.apropos-content, .apropos-card,
.contact-info, .contact-map { min-width: 0; }
.hero-copy { max-width: 38rem; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: var(--text-3xl);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-block: var(--space-2) var(--space-5);
  color: var(--espresso);
  font-optical-sizing: auto;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.hero-title em { font-style: italic; color: var(--accent-ink); }
.hero-lead {
  font-size: var(--text-lg); max-width: 38ch;
  color: var(--text-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5);
  margin-top: var(--space-6); padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  font-size: var(--text-sm); color: var(--text-soft);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 0.5rem; list-style: none; }
.hero-meta svg { width: 1.05rem; height: 1.05rem; color: var(--sage-deep); flex: none; }

.hero-art { position: relative; justify-self: center; width: 100%; max-width: 32rem; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 20px 40px oklch(0.27 0.03 174 / 0.10)); }

/* ============================================================
   SIGNATURE
   ============================================================ */
.signature { background: var(--pine); color: var(--ivory); padding-block: clamp(3.5rem, 6vw, 6rem); }
.signature-text {
  font-family: var(--font-display);
  font-weight: 330;
  font-size: var(--text-xl);
  line-height: 1.45;
  letter-spacing: -0.01em;
  text-align: center;
  max-width: 34ch;
  margin-inline: auto;
  color: var(--ivory);
  text-wrap: balance;
}
.signature-text strong { font-weight: 500; font-style: italic; color: color-mix(in oklch, var(--honey) 80%, white); }

/* ============================================================
   DOMAINES (services)
   ============================================================ */
.domaines { background: var(--bg); }
.domaines-grid {
  list-style: none; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr));
  gap: clamp(1.1rem, 2.2vw, 1.75rem);
}
.domaine-card {
  display: flex; flex-direction: column; gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease),
              border-color 300ms var(--ease);
}
.domaine-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in oklch, var(--sage) 55%, var(--border));
}
.domaine-icon {
  display: grid; place-items: center;
  width: 3.25rem; height: 3.25rem; margin-bottom: 0.3rem;
  color: var(--pine); border-radius: 16px;
  background: color-mix(in oklch, var(--sage) 24%, transparent);
}
.domaine-icon svg { width: 1.7rem; height: 1.7rem; }
.domaine-card h3 {
  font-family: var(--font-display); font-weight: 440;
  font-size: var(--text-lg); color: var(--espresso); letter-spacing: -0.01em;
}
.domaine-card p { color: var(--text-soft); font-size: var(--text-sm); line-height: 1.6; }

/* ============================================================
   APPROCHE / DÉROULEMENT
   ============================================================ */
.approche { background: linear-gradient(180deg, var(--bg), var(--mist)); overflow: hidden; }
.approche-inner {
  display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start;
  grid-template-columns: 1fr;
}
.approche-intro { max-width: 42ch; }
.approche-intro p { color: var(--text-soft); margin-top: var(--space-4); }
.steps { list-style: none; padding: 0; display: grid; gap: 0; counter-reset: step; }
.step {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.25rem;
  padding-bottom: var(--space-6);
}
.step:last-child { padding-bottom: 0; }
.step-num {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; flex: none;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 440;
  color: var(--ivory); background: var(--pine); border-radius: 50%;
}
.step:not(:last-child) .step-num::after {
  content: ""; position: absolute; top: 2.75rem; left: 50%; translate: -50% 0;
  width: 2px; height: calc(100% + var(--space-6) - 2.75rem);
  background: var(--border);
}
.step-body { padding-top: 0.3rem; }
.step-body h3 {
  font-family: var(--font-display); font-weight: 440;
  font-size: var(--text-lg); color: var(--espresso); margin-bottom: 0.35rem;
}
.step-body p { color: var(--text-soft); font-size: var(--text-sm); line-height: 1.6; max-width: 40ch; }

/* ============================================================
   À PROPOS
   ============================================================ */
.apropos { background: var(--surface); }
.apropos-inner {
  display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
  grid-template-columns: 1fr;
}
.apropos-content { max-width: 48ch; }
.apropos-content p { color: var(--text-soft); margin-top: var(--space-4); }
.apropos-content p strong { color: var(--espresso); font-weight: 500; }
.values { list-style: none; padding: 0; margin-top: var(--space-6); display: grid; gap: var(--space-4); }
.values li { display: flex; gap: 1.1rem; align-items: baseline; padding-top: var(--space-4); border-top: 1px solid var(--border); }
.value-num {
  font-family: var(--font-display); font-style: italic;
  font-size: var(--text-lg); color: var(--accent-ink); flex: none;
}
.value-text { display: flex; flex-direction: column; gap: 0.15rem; font-size: var(--text-sm); color: var(--text-soft); }
.value-text strong { color: var(--espresso); font-weight: 500; font-size: var(--text-base); }

/* Carte profil (remplace une photo) */
.apropos-card {
  justify-self: center; width: 100%; max-width: 26rem;
  background:
    radial-gradient(110% 90% at 80% 0%, var(--sage-soft) 0%, transparent 55%),
    linear-gradient(165deg, var(--cream), var(--ivory));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.apropos-card .card-photo {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 28%;
  border-radius: var(--radius-lg); margin-bottom: var(--space-5);
  box-shadow: var(--shadow-sm);
}
.apropos-card .card-name {
  font-family: var(--font-display); font-weight: 440; font-size: var(--text-xl);
  color: var(--espresso); line-height: 1.1;
}
.apropos-card .card-role {
  margin-top: 0.4rem; font-size: var(--text-sm); letter-spacing: 0.04em;
  color: var(--pine);
}
.apropos-card .card-divider {
  width: 3rem; height: 1px; background: var(--border); margin: var(--space-5) auto;
}
.apropos-card .card-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.card-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: var(--text-xs); letter-spacing: 0.04em;
  padding: 0.45rem 0.85rem; border-radius: 100px;
  background: color-mix(in oklch, var(--sage) 22%, transparent);
  color: var(--pine);
}

/* ============================================================
   INFOS PRATIQUES
   ============================================================ */
.pratique { background: var(--bg); }
.pratique-grid {
  list-style: none; padding: 0;
  display: grid; gap: clamp(1.1rem, 2.2vw, 1.75rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.pratique-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(1.4rem, 2.4vw, 1.9rem);
  display: flex; flex-direction: column; gap: 0.6rem;
}
.pratique-card .pratique-icon {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem;
  color: var(--accent-ink); border-radius: 12px;
  background: color-mix(in oklch, var(--coral) 14%, transparent);
  margin-bottom: 0.3rem;
}
.pratique-card .pratique-icon svg { width: 1.4rem; height: 1.4rem; }
.pratique-card h3 { font-family: var(--font-display); font-weight: 440; font-size: var(--text-base); color: var(--espresso); }
.pratique-card p { color: var(--text-soft); font-size: var(--text-sm); line-height: 1.6; }
.pratique-note {
  margin-top: var(--space-6); font-size: var(--text-sm); color: var(--text-soft);
  max-width: 60ch;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--mist); }
.contact-grid {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
}
.contact-list { list-style: none; padding: 0; display: grid; gap: var(--space-5); }
.contact-list li { display: grid; gap: 0.25rem; }
.contact-label {
  font-size: var(--text-xs); text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--pine); font-weight: 500;
}
.contact-value {
  font-family: var(--font-display); font-size: var(--text-lg);
  color: var(--espresso); font-weight: 380; line-height: 1.3;
  transition: color 180ms var(--ease);
  width: fit-content;
}
a.contact-value:hover { color: var(--pine); }

.contact-note {
  margin-top: var(--space-4); font-style: italic;
  font-family: var(--font-display); color: var(--espresso);
}
.contact-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }

.contact-map {
  position: relative;
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
  min-height: 24rem;
}
.contact-map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
  filter: grayscale(0.15) contrast(0.97);
}

/* ============================================================
   PIED DE PAGE
   ============================================================ */
.site-footer { background: var(--ink); color: oklch(0.9 0.01 170 / 0.8); padding-block: var(--space-10) var(--space-6); }
.footer-inner {
  display: grid; gap: var(--space-8);
  grid-template-columns: 1fr;
  padding-bottom: var(--space-8);
  border-bottom: 1px solid oklch(1 0 0 / 0.1);
}
.footer-brand .brand-mark { margin-bottom: var(--space-4); background: var(--sage-deep); }
.footer-name { font-family: var(--font-display); font-size: var(--text-lg); color: var(--ivory); }
.footer-desc { font-size: var(--text-sm); max-width: 28ch; margin-top: 0.4rem; }
.footer-heading {
  font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.2em;
  color: oklch(from var(--honey) l c h / 0.85); margin-bottom: var(--space-4);
}
.footer-nav ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.footer-nav a, .footer-contact a { transition: color 180ms var(--ease); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--ivory); }
.footer-contact address { font-style: normal; font-size: var(--text-sm); line-height: 1.9; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2);
  padding-top: var(--space-5); font-size: var(--text-xs);
  color: oklch(0.9 0.01 170 / 0.7); letter-spacing: 0.04em;
}

/* ============================================================
   RÉVÉLATIONS AU SCROLL
   ============================================================ */
.reveal {
  opacity: 0; translate: 0 28px;
  transition: opacity 700ms var(--ease), translate 700ms var(--ease);
}
.reveal.is-visible { opacity: 1; translate: 0 0; }
.domaines-grid .reveal:nth-child(2) { transition-delay: 70ms; }
.domaines-grid .reveal:nth-child(3) { transition-delay: 140ms; }
.domaines-grid .reveal:nth-child(4) { transition-delay: 70ms; }
.domaines-grid .reveal:nth-child(5) { transition-delay: 140ms; }
.domaines-grid .reveal:nth-child(6) { transition-delay: 210ms; }
.pratique-grid .reveal:nth-child(2) { transition-delay: 80ms; }
.pratique-grid .reveal:nth-child(3) { transition-delay: 160ms; }
.pratique-grid .reveal:nth-child(4) { transition-delay: 240ms; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 48rem) {
  .hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .approche-inner { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .apropos-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } /* 2 col tablette */
}

@media (min-width: 64rem) {
  /* 3 × 2 net plutôt qu'une ligne orpheline (4 + 2) */
  .domaines-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr); }
}

@media (max-width: 60rem) {
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-list {
    position: fixed; inset: 4.75rem 0 auto 0;
    flex-direction: column; gap: 0;
    background: color-mix(in oklch, var(--ivory) 96%, transparent);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    padding: var(--space-4) var(--gutter) var(--space-6);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    clip-path: inset(0 0 100% 0);
    transition: clip-path 360ms var(--ease);
    max-height: calc(100svh - 4.75rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-list[data-open] { clip-path: inset(0 0 0 0); }
  .nav-list li { width: 100%; }
  .nav-list a {
    display: block; padding: 1rem 0; font-size: var(--text-lg);
    font-family: var(--font-display); border-bottom: 1px solid var(--border);
  }
  .nav-list a::after { display: none; }
  .nav-list-cta { display: block; margin-top: var(--space-5); }
  .nav-list-cta a {
    font-family: var(--font-sans); font-size: var(--text-sm);
    text-transform: uppercase; letter-spacing: 0.06em; text-align: center;
    padding: 0.95rem 1.5rem; border-bottom: 0;
    background: var(--accent-ink); color: var(--on-accent);
    border-radius: 100px;
  }
}

/* Verrouillage du défilement quand le menu mobile est ouvert */
html.menu-open, html.menu-open body { overflow: hidden; }

/* Cibles tactiles ≥ 44px sur écrans tactiles */
@media (hover: none) and (pointer: coarse) {
  a.contact-value,
  .footer-nav a,
  .footer-contact a {
    display: inline-flex; align-items: center; min-height: 44px;
  }
}

@media (max-width: 36rem) {
  .brand-tag { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .eyebrow { letter-spacing: 0.16em; }
}

/* ============================================================
   MOUVEMENT RÉDUIT
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; translate: none; }
}
