/* ============================================================
   POSTE ZEN — styles.css
   « La Grille de Montage » — un seul fichier, variables :root.
   ============================================================ */

:root {
  /* Neutres — bois clair */
  --sable-000: #F7F4EC;
  --sable-100: #EFEADD;
  --sable-200: #E3DCC8;
  --sable-300: #CFC5AA;
  --mousse-700: #5B6350;
  --encre-900: #23261E;

  /* Chêne — accent mobilier */
  --chene-500: #BD7A45;
  --chene-600: #9C6236;
  --chene-100: #F1E1CC;

  /* Sauge — ergonomie / zen */
  --sauge-500: #7C9070;
  --sauge-600: #5F7355;
  --sauge-100: #E6EBDE;

  /* Bleu plan — fil technique */
  --plan-500: #3F6273;
  --plan-600: #2E4B59;
  --plan-100: #DCE7EA;

  /* Sémantique */
  --alerte: #B4502E; --alerte-bg: #F6E5DE;
  --ok: #5F7355; --ok-bg: #E6EBDE;
  --info: #2E4B59; --info-bg: #DCE7EA;

  /* Typo */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Rayons */
  --r-sm: 6px; --r-md: 10px; --r-lg: 18px; --r-full: 999px;

  /* Élévation */
  --shadow-sm: 0 1px 2px rgba(35,38,30,.05);
  --shadow-md: 0 8px 22px rgba(35,38,30,.09);
  --shadow-lg: 0 16px 36px -16px rgba(35,38,30,.20);
  --ring-focus: 0 0 0 3px rgba(189,122,69,.35);

  /* Motion */
  --ease: cubic-bezier(.2,.7,.3,1);
  --dur-fast: 120ms; --dur: 200ms; --dur-enter: 420ms;

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --gutter: clamp(22px, 5vw, 64px);
  --pad-x: calc(var(--gutter) + env(safe-area-inset-left));
  --pad-r: calc(var(--gutter) + env(safe-area-inset-right));
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1rem/1.62 var(--font-body);
  color: var(--encre-900);
  background: var(--sable-000);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--plan-600); text-decoration: none; }
a:hover { color: var(--chene-600); }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--encre-900); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Typo tokens ---------- */
.display  { font: 600 clamp(2.5rem, 4.6vw, 3.815rem)/1.08 var(--font-display); letter-spacing: -.015em; }
.h1       { font: 600 clamp(1.9rem, 3.3vw, 2.6rem)/1.12 var(--font-display); letter-spacing: -.01em; }
.h2       { font: 600 clamp(1.4rem, 2.3vw, 1.85rem)/1.16 var(--font-display); }
.lead     { font: 400 1.2rem/1.55 var(--font-body); color: var(--mousse-700); }
.small    { font-size: .875rem; line-height: 1.55; }
.kicker {
  font: 500 .72rem/1.3 var(--font-mono);
  letter-spacing: .12em; text-transform: uppercase; color: var(--plan-600);
  margin: 0 0 16px; display: block;
}
.num-module { font-family: var(--font-mono); font-feature-settings: "tnum" 1; letter-spacing: -.01em; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-r); }
.section   { padding-block: clamp(60px, 8.5vw, 124px); }
.section--alt { background: var(--sable-100); }
.section__head { max-width: 62ch; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section__head .lead { margin-top: 14px; }

.blueprint-field {
  background-color: var(--sable-100);
  background-image:
    linear-gradient(90deg, rgba(63,98,115,.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(63,98,115,.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Repères d'angle — signature visuelle */
.corner-marks { position: relative; }
.corner-marks::before, .corner-marks::after {
  content: ""; position: absolute; width: 16px; height: 16px;
  border: 1.5px solid var(--plan-500); opacity: .55; pointer-events: none;
}
.corner-marks::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.corner-marks::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* ---------- Buttons ---------- */
.btn {
  font: 600 1rem var(--font-body); border-radius: var(--r-md);
  padding: 14px 24px; display: inline-flex; align-items: center; gap: 8px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  cursor: pointer; border: 0; text-decoration: none; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--plan-600); color: #fff; box-shadow: var(--shadow-md); border: 1px solid var(--plan-600); }
.btn-primary:hover { background: var(--chene-500); border-color: var(--chene-500); color: #fff; transform: translateY(-1px); }
.btn-primary:focus-visible { outline: 0; box-shadow: var(--ring-focus); }
.btn-ghost { background: #fff; color: var(--encre-900); border: 1.5px solid var(--sable-300); }
.btn-ghost:hover { border-color: var(--plan-500); background: var(--sable-100); color: var(--encre-900); }
.btn-lg { padding: 16px 30px; font-size: 1.0625rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,244,236,.86); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.header.is-stuck { box-shadow: var(--shadow-sm); border-bottom-color: var(--sable-200); }
.header__inner {
  max-width: var(--container-wide); margin: 0 auto;
  padding: 14px var(--pad-r) 14px var(--pad-x);
  display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--encre-900); }
.brand:hover { color: var(--encre-900); }
.brand__mark { width: 30px; height: 30px; flex: 0 0 auto; }
.brand__name { font: 600 1.375rem/1 var(--font-display); letter-spacing: -.01em; color: var(--plan-600); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.nav__link { font: 500 .95rem var(--font-body); color: var(--mousse-700); }
.nav__link:hover { color: var(--encre-900); }
.header__cta { margin-left: 8px; }
.nav__sep { width: 1px; height: 26px; background: var(--sable-200); }
.nav-toggle { display: none; }
.nav__head { display: none; }
.nav-close { display: none; }
.nav-backdrop { display: none; }

/* ---------- Hero ---------- */
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px,5vw,72px);
  align-items: center; padding-block: clamp(56px, 8vw, 104px);
}
.hero h1 { margin-bottom: 20px; }
.hero .lead { max-width: 44ch; }
.hero__cta { display: flex; gap: 12px; margin: 28px 0 26px; flex-wrap: wrap; }
.hero__proof { display: flex; gap: 22px; flex-wrap: wrap; }

/* Repère (badge signature étapes / chiffres) */
.repere { display: inline-flex; align-items: center; gap: 10px; }
.repere__num {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--plan-500); color: var(--plan-600); font-size: .78rem;
  background: var(--sable-000); flex: 0 0 auto;
}
.repere__label { font-size: .85rem; color: var(--mousse-700); line-height: 1.3; max-width: 16ch; }

/* Carte hero (visuel) */
.hero__media { aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--sable-200); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Bande de réassurance ---------- */
.reassure { border-top: 1px solid var(--sable-200); border-bottom: 1px solid var(--sable-200); background: #fff; }
.reassure__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding-block: 34px; text-align: center;
}
.stat__num { font: 600 clamp(1.6rem, 2.8vw, 2.2rem)/1 var(--font-display); color: var(--plan-600); }
.stat__label { font: 500 .7rem var(--font-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--mousse-700); margin-top: 8px; }

/* ---------- Problème ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pain-card {
  background: #fff; border: 1px solid var(--sable-200); border-left: 3px solid var(--alerte);
  border-radius: var(--r-md); padding: 24px; box-shadow: var(--shadow-sm);
}
.pain-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.pain-card p { color: var(--mousse-700); }
.pain-quote { font-style: italic; color: var(--encre-900); }

/* ---------- Solution / features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: #fff; border: 1px solid var(--sable-200); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  position: relative;
}
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.feature__icon {
  width: 46px; height: 46px; border-radius: var(--r-md); background: var(--plan-100);
  display: grid; place-items: center; color: var(--plan-600); margin-bottom: 16px;
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--mousse-700); }
.feature em { font-style: normal; font-weight: 600; color: var(--chene-600); }

/* ---------- Étapes (process / méthode) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.step { position: relative; }
.step__num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--sable-000); color: var(--plan-600);
  border: 1.5px solid var(--plan-500);
  font: 600 1.0625rem var(--font-mono); display: grid; place-items: center; margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--mousse-700); font-size: .95rem; }
.steps--line { border-top: 1px dashed var(--sable-300); padding-top: 32px; margin-top: 8px; }

/* ---------- Gammes / tarifs ---------- */
.gammes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gamme {
  background: #fff; border: 1px solid var(--sable-200); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.gamme--mid { border-color: var(--chene-500); box-shadow: var(--shadow-md); }
.gamme__badge {
  align-self: flex-start; font: 600 .68rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--chene-600); background: var(--chene-100); padding: 4px 10px; border-radius: var(--r-full);
}
.gamme__price { font: 600 2rem/1 var(--font-display); color: var(--encre-900); }
.gamme__price span { font: 500 .95rem var(--font-body); color: var(--mousse-700); }
.gamme ul { display: grid; gap: 10px; }
.gamme li { display: flex; gap: 10px; align-items: flex-start; color: var(--encre-900); font-size: .95rem; }

/* ---------- Objections ---------- */
.objections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.objection {
  background: #fff; border: 1px solid var(--sable-200); border-radius: var(--r-lg);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.objection h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--plan-600); }
.objection p { color: var(--mousse-700); }

/* ---------- Témoignages ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: #fff; border: 1px solid var(--sable-200); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 18px;
}
.testimonial__quote { color: var(--encre-900); font-size: 1.03rem; line-height: 1.55; }
.testimonial__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 44px; height: 44px; border-radius: var(--r-full); flex: 0 0 auto;
  display: grid; place-items: center; color: #fff; font: 600 1rem var(--font-body);
  background: var(--plan-600);
}
.avatar--chene { background: var(--chene-500); }
.avatar--sauge { background: var(--sauge-600); }
.testimonial__name { font-weight: 600; color: var(--encre-900); font-size: .95rem; }
.testimonial__role { color: var(--mousse-700); font-size: .8125rem; }

/* ---------- CTA final ---------- */
.cta-final { background: var(--sable-100); text-align: center; border-top: 1px solid var(--sable-200); }
.cta-final .lead { max-width: 52ch; margin: 16px auto 32px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--sable-200); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font: 600 1.03rem var(--font-display); color: var(--encre-900);
}
.faq__q:hover { color: var(--plan-600); }
.faq__chev { flex: 0 0 auto; transition: transform var(--dur) var(--ease); color: var(--mousse-700); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 0 22px; color: var(--mousse-700); max-width: 68ch; }
.faq__item summary { list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.reassure-list { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.reassure-item { display: flex; gap: 14px; align-items: flex-start; }
.reassure-item__ico {
  width: 38px; height: 38px; border-radius: var(--r-md); background: var(--ok-bg); color: var(--ok);
  display: grid; place-items: center; flex: 0 0 auto;
}
.reassure-item__ico svg { width: 20px; height: 20px; }
.reassure-item h3 { font-size: 1rem; margin-bottom: 3px; }
.reassure-item p { color: var(--mousse-700); font-size: .9375rem; }

.form-card {
  background: #fff; border: 1px solid var(--sable-200); border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md);
}
.field { margin-bottom: 18px; }
.field label { display: block; font: 600 .875rem var(--font-body); color: var(--encre-900); margin-bottom: 7px; }
.field .req { color: var(--alerte); }
.input, .textarea, .select {
  width: 100%; font: 400 1rem var(--font-body); color: var(--encre-900);
  background: #fff; border: 1.5px solid var(--sable-300); border-radius: var(--r-sm);
  padding: 12px 14px; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input:focus, .textarea:focus, .select:focus { outline: 0; border-color: var(--plan-500); box-shadow: var(--ring-focus); }
.textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .8125rem; color: var(--mousse-700); margin-top: 4px; }
.form-success {
  display: none; background: var(--ok-bg); border: 1px solid var(--sauge-500); color: var(--ok);
  border-radius: var(--r-md); padding: 18px 20px; font-weight: 600; margin-bottom: 18px;
}
.form-success.is-visible { display: flex; gap: 10px; align-items: center; }

/* ---------- Bloc de rappel (pages contenu) ---------- */
.callout {
  background: #fff; border: 1px solid var(--sable-200); border-left: 3px solid var(--chene-500);
  border-radius: var(--r-md); padding: 24px 28px; box-shadow: var(--shadow-sm);
}

/* ---------- Prose (pages contenu) ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin: 44px 0 14px; }
.prose h3 { margin: 30px 0 10px; font-size: 1.2rem; }
.prose p { color: var(--mousse-700); margin-bottom: 16px; }
.prose ul.ticks { margin: 12px 0 20px; display: grid; gap: 10px; }
.prose ul.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--encre-900); }
.tick {
  flex: 0 0 22px; height: 22px; border-radius: 6px; background: var(--ok-bg); color: var(--ok);
  display: grid; place-items: center; margin-top: 2px;
}
.tick svg { width: 14px; height: 14px; }
.page-hero { background: var(--sable-100); border-bottom: 1px solid var(--sable-200); }
.page-hero .container { padding-block: clamp(48px, 7vw, 88px); text-align: center; }
.page-hero .lead { max-width: 60ch; margin: 16px auto 0; }

/* ---------- Imagerie ---------- */
.media {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: var(--sable-200); border: 1px solid var(--sable-200);
  box-shadow: var(--shadow-md);
}
.media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform var(--dur-enter) var(--ease);
}
.media--framed { box-shadow: var(--shadow-lg); }
.media--tint::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(63,98,115,.10), rgba(189,122,69,.10));
  pointer-events: none;
}

.showcase {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.showcase--reverse { grid-template-columns: .95fr 1.05fr; }
.showcase--reverse .showcase__media { order: -1; }
.showcase__media { aspect-ratio: 4/3; }
.showcase h2 { margin-bottom: 12px; }
.showcase p { color: var(--mousse-700); }
.showcase .repere-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; }
@media (max-width: 860px) {
  .showcase, .showcase--reverse { grid-template-columns: 1fr; }
  .showcase--reverse .showcase__media { order: 0; }
}

.strip-media { max-width: 760px; margin: 32px auto; aspect-ratio: 16/7; }
.strip-media figcaption {
  font: 500 .76rem var(--font-mono); color: var(--mousse-700); text-align: center; margin-top: 10px;
}

/* ---------- Footer ---------- */
.footer { background: var(--encre-900); color: #d9dccf; padding-block: clamp(48px, 6vw, 72px); }
.footer a { color: #b9c0a9; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { color: #97a08a; margin-top: 12px; max-width: 34ch; font-size: .9375rem; }
.footer__col h4 { font: 600 .74rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #8b9479; margin-bottom: 14px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { font-size: .9375rem; }
.footer__bar {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .8125rem; color: #8b9479;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(14px) scale(.99); transition: opacity var(--dur-enter) var(--ease), transform var(--dur-enter) var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .feature-grid, .steps, .objections, .testimonials, .gammes { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; padding-block: clamp(36px, 8vw, 56px); }
  /* Pas de `order: -1` ici : l'ordre DOM (copy puis media) est le bon ordre de
     lecture mobile — titre et accroche avant l'illustration. */
  .hero__media { aspect-ratio: 16/10; }
  .reassure__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }

  .nav-toggle {
    display: inline-grid; place-items: center; margin-left: auto;
    width: 44px; height: 44px;
    background: #fff; border: 1.5px solid var(--sable-300); border-radius: var(--r-sm);
    cursor: pointer; color: var(--encre-900); flex: 0 0 auto;
  }

  .nav {
    /* .header porte un backdrop-filter : il devient donc le bloc conteneur des
       descendants position:fixed. Sans hauteur explicite, top/bottom se calent
       sur les 73px du header et le panneau est réduit à un bandeau. */
    position: fixed; top: 0; right: 0; bottom: 0;
    height: 100vh; height: 100dvh;
    width: min(88vw, 340px); margin-left: 0;
    background: #fff; z-index: 60;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px var(--pad-r) calc(24px + env(safe-area-inset-bottom)) var(--gutter);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
    overflow-y: auto;
    visibility: hidden;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }

  .nav__head {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--sable-200);
  }
  .nav__title { font: 600 .72rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mousse-700); }
  .nav-close {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    margin-right: -8px; background: none; border: 0; border-radius: var(--r-sm);
    color: var(--encre-900); cursor: pointer;
  }
  .nav-close:hover { background: var(--sable-100); }

  .nav__sep { display: none; }
  .nav__link {
    display: flex; align-items: center; min-height: 48px; padding: 4px 0;
    font-size: 1.05rem; color: var(--encre-900); border-bottom: 1px solid var(--sable-200);
  }
  .header__cta {
    margin: 20px 0 0; justify-content: center; width: 100%;
    padding: 15px 24px; font-size: 1.05rem;
  }

  .nav-backdrop {
    display: block; position: fixed; inset: 0; z-index: 55;
    background: rgba(35,38,30,.42); backdrop-filter: blur(1px);
    opacity: 0; transition: opacity var(--dur) var(--ease);
  }
  .nav-backdrop.is-open { opacity: 1; }
  /* Sans cette règle, le `display: block` ci-dessus l'emporte sur l'attribut
     [hidden] de l'UA : le backdrop reste un calque invisible en position fixed
     (z-index 55) qui intercepte tous les clics de la page en mobile. */
  .nav-backdrop[hidden] { display: none; }
}

@media (max-width: 560px) {
  .problem-grid, .feature-grid, .steps, .objections, .testimonials, .gammes { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  /* Footer mobile : la marque prend toute la largeur, les trois listes (4, 2 et
     3 entrées) tiennent sur 2 colonnes — un empilement en 4 blocs donnait un
     footer interminable au scroll. */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col h4 { margin-bottom: 6px; }

  .hero .lead { max-width: none; }
  .hero__cta { gap: 10px; margin: 24px 0 20px; }
  .cta-final .lead { margin-bottom: 26px; }
  .btn-lg { width: 100%; justify-content: center; }
  .reassure__grid { gap: 22px 16px; padding-block: 28px; }
  .btn { min-height: 48px; }
  /* Cibles tactiles ~44px pour les liens de listes. Volontairement PAS `.footer a` :
     ce sélecteur (0,1,1) écrasait le `display:inline-flex` de `.brand` (0,1,0) et
     cassait l'alignement logo/nom dans le footer en mobile. */
  .footer__col ul { gap: 0; }
  .footer__col a {
    display: flex; align-items: center; min-height: 44px; padding: 2px 0;
    line-height: 1.3;
  }
  .footer__bar { margin-top: 32px; gap: 10px; }
  .faq__q { padding: 20px 0; min-height: 56px; }
  .showcase .media--framed { display: none; }
  .strip-media { display: none; }
  .blueprint-field { background-image: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
