/* ============================================================
   TOITURES LV — SUCCURSALE HAMPSTEAD
   Direction : Manoir & Artisanat — Crème · Charbon · Rouge
   ============================================================ */

/* ---------- Fonts ---------- */
/* Bodoni Moda  : titres serif de caractère (display)
   Hanken Grotesk : corps, UI
   Space Mono   : libellés techniques, sceaux */

:root {
  /* Palette — crème / charbon / rouge */
  --cream:        #F2EBDD;
  --cream-2:      #EAE1CF;
  --cream-3:      #E2D6BF;
  --paper:        #F7F2E8;
  --char:         #1A1714;   /* charbon */
  --char-2:       #2A2622;
  --char-soft:    #4A433C;
  --ink:          #211C18;
  --red:          #C0392B;   /* rouge d'accent — oklch(.54 .17 28) */
  --red-deep:     #8E2A20;   /* bordeaux discret */
  --red-bright:   #D8442F;
  --brass:        #A8854E;   /* filet laiton très discret */
  --line:         rgba(26,23,20,.16);
  --line-soft:    rgba(26,23,20,.09);
  --line-cream:   rgba(242,235,221,.18);

  /* Sober, architectural grotesque for headlines — solid, masculine, not artsy */
  --serif: "Archivo", system-ui, -apple-system, sans-serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --mono:  "Space Mono", ui-monospace, "SFMono-Regular", monospace;

  --maxw: 1600px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 2px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--char);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (max-width: 860px), (pointer: coarse) {
  body { cursor: auto; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: inherit; background: none; border: none; }
ul { list-style: none; }

::selection { background: var(--red); color: var(--cream); }

/* ---------- Type scale ---------- */
.display {
  font-family: var(--serif);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.012em;
  font-feature-settings: "lnum" 1;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 400;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  line-height: 1.5;
  color: var(--char-soft);
}

/* Section heading shared */
.sec-head { display: grid; gap: 18px; max-width: 760px; }
.sec-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.sec-num::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--red);
  display: inline-block;
}
.sec-title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.0;
  letter-spacing: -0.015em;
}
.sec-title em { font-style: normal; color: var(--red); font-weight: 800; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
section { position: relative; }
.pad { padding-block: clamp(80px, 11vw, 160px); }

.hairline { height: 1px; background: var(--line); border: 0; }

/* curseur personnalisé retiré 2026-06-28 — curseur natif conservé */

/* ============================================================
   UTILITY BAR
   ============================================================ */
.utilbar {
  background: var(--char);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}
.utilbar .wrap {
  display: flex;
  align-items: center;
  gap: 10px 26px;
  min-height: 38px;
  flex-wrap: wrap;
  justify-content: center;
}
.utilbar .u-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; opacity: .85; }
.utilbar .u-item .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red-bright); }
.utilbar .u-sep { width: 1px; height: 13px; background: var(--line-cream); }
.utilbar .u-phone { margin-left: auto; opacity: 1; font-weight: 700; color: var(--cream); }
.utilbar .u-phone .dot { background: #4caf50; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1 } 50% { opacity:.3 } }
@media (max-width: 980px) {
  .utilbar { display: none; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.nav.scrolled { background: color-mix(in srgb, var(--cream) 94%, transparent); border-color: var(--line); }
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

/* Wordmark */
.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-logo { height: 48px; width: auto; display: block; }
@media (max-width: 560px) { .brand-logo { height: 40px; } }
.brand-logo--foot { height: 64px; }
.hero-logo { height: clamp(84px, 10vw, 128px); width: auto; display: block; margin-bottom: 24px; }
.brand .mono-mark {
  width: 42px; height: 42px;
  border: 1.5px solid var(--char);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.04em;
  position: relative;
}
.brand .mono-mark::after {
  content: "";
  position: absolute; inset: 3px;
  border: 1px solid var(--line);
}
.brand .b-text { display: grid; line-height: 1; }
.brand .b-name { font-family: var(--serif); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; }
.brand .b-sub { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.24em; color: var(--red); margin-top: 4px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  padding: 10px 14px;
  position: relative;
  color: var(--char-soft);
  transition: color .2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1.5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--char); }
.nav-links a.active { color: var(--char); font-weight: 600; }
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--red);
  color: var(--cream);
  padding: 12px 20px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  transition: background .25s var(--ease), transform .25s var(--ease);
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--red-deep); transform: translateY(-1px); }
.nav-cta .arr { transition: transform .25s var(--ease); }
.nav-cta:hover .arr { transform: translateX(3px); }

.burger {
  display: none;
  width: 46px; height: 46px;
  flex-direction: column; justify-content: center; gap: 5px;
  align-items: center;
  margin-left: auto;
}
.burger span { width: 24px; height: 2px; background: var(--char); transition: transform .3s var(--ease), opacity .2s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-links, .nav .nav-cta { display: none; }
  .burger { display: flex; }
}

/* Mobile full-screen menu */
.menu {
  position: fixed; inset: 0;
  z-index: 1500;
  background: var(--char);
  color: var(--cream);
  display: flex; flex-direction: column;
  padding: clamp(24px,7vw,48px);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .55s var(--ease-out);
  pointer-events: none;
}
.menu.open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu-top { display: flex; align-items: center; justify-content: space-between; }
.menu-top .brand .mono-mark { border-color: var(--cream); }
.menu-top .brand .b-name { color: var(--cream); }
.menu-close { width: 46px; height: 46px; display: grid; place-items: center; font-size: 1.6rem; color: var(--cream); }
.menu-links { margin-top: auto; display: grid; gap: 2px; }
.menu-links a {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 9vw, 3.2rem);
  line-height: 1.06;
  display: flex; align-items: baseline; gap: 16px;
  padding: 6px 0;
}
.menu-links a .mi-num { font-family: var(--mono); font-size: 0.8rem; color: var(--red-bright); font-weight: 400; }
.menu-foot { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-cream); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-family: var(--mono); font-size: 0.74rem; }
.menu-foot a.menu-call { color: var(--red-bright); font-weight: 700; font-size: 1.1rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 16px 26px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  min-height: 52px;
  white-space: nowrap;
}
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--red); color: var(--cream); }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--char); color: var(--char); }
.btn-ghost:hover { background: var(--char); color: var(--cream); }
.btn-light { border: 1.5px solid var(--line-cream); color: var(--cream); }
.btn-light:hover { background: var(--cream); color: var(--char); border-color: var(--cream); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(56px, 8vw, 110px);
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 26px;
}
.hero-eyebrow .he-line { width: 46px; height: 1px; background: var(--red); }
.hero-eyebrow span { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); }

.hero h1 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.7rem, 7.6vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.hero h1 em { font-style: normal; font-weight: 800; color: var(--red); }
.hero h1 .red { color: var(--red); }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; }

.hero-sub {
  margin-top: 28px;
  max-width: 50ch;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  color: var(--char-soft);
  line-height: 1.55;
}
.hero-cta { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Stats */
.hero-stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.hero-stats .st { padding: 22px 22px 4px 0; position: relative; }
.hero-stats .st + .st { padding-left: 26px; }
.hero-stats .st + .st::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 8px; width: 1px; background: var(--line); }
.hero-stats .st .v { font-family: var(--serif); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1; letter-spacing: -0.02em; }
.hero-stats .st .v .suf { color: var(--red); }
.hero-stats .st .l { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--char-soft); margin-top: 9px; line-height: 1.4; }

/* ---- Rotating service seal ---- */
.seal-wrap {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
}
.seal-ring {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  animation: spin 34s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.seal-ring text {
  font-family: var(--mono);
  font-size: 8.3px;
  letter-spacing: 0.34em;
  fill: var(--char);
  text-transform: uppercase;
  font-weight: 700;
}
.seal-ring .sep { fill: var(--red); }

.seal-core {
  position: relative;
  width: 58%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--char);
  color: var(--cream);
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: 0 30px 70px -30px rgba(26,23,20,.6);
}
.seal-core::before {
  content: "";
  position: absolute; inset: 9px;
  border: 1px solid var(--line-cream);
  border-radius: 50%;
}
.seal-core .sc-in { display: grid; gap: 8px; padding: 12px; }
.seal-core .sc-mono { font-family: var(--serif); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -0.03em; }
.seal-core .sc-mono .amp { color: var(--red-bright); }
.seal-core .sc-est { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: .7; }
.seal-core .sc-line { width: 30px; height: 1px; background: var(--red); margin: 2px auto; }

.seal-badge {
  position: absolute;
  bottom: 4%; right: 0%;
  background: var(--red);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 13px;
  border-radius: 50px;
  display: flex; align-items: center; gap: 7px;
  box-shadow: 0 12px 30px -12px var(--red);
}
.seal-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cream); }

@media (prefers-reduced-motion: reduce) {
  .seal-ring { animation: none; }
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .seal-wrap { max-width: 340px; order: -1; margin-bottom: 8px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 0 0; }
  .hero-stats .st:nth-child(3), .hero-stats .st:nth-child(4) { border-top: 1px solid var(--line); margin-top: 0; }
  .hero-stats .st:nth-child(3)::before, .hero-stats .st:nth-child(odd)::before { display: none; }
}
@media (max-width: 520px) {
  .hero-stats .st + .st { padding-left: 18px; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--paper); }
.serv-grid {
  margin-top: clamp(36px,4.5vw,60px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.serv-card {
  background: var(--paper);
  padding: clamp(16px,1.6vw,22px) clamp(14px,1.4vw,20px);
  display: grid;
  gap: 9px;
  align-content: start;
  position: relative;
  transition: background .35s var(--ease);
  min-height: 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.serv-card:hover { background: var(--cream); }
.serv-card .sv-top { display: flex; justify-content: space-between; align-items: flex-start; }
.serv-card .sv-n { font-family: var(--mono); font-size: 0.66rem; color: var(--red); letter-spacing: 0.08em; }
/* Tuiles fines : nom du service uniquement (pas de description ni de lien) */
.serv-card h3 { font-family: var(--serif); font-weight: 700; font-size: 0.98rem; line-height: 1.14; letter-spacing: -0.01em; }
.serv-card:hover h3 { color: var(--red); }
@media (max-width: 760px) { .serv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .serv-grid { grid-template-columns: 1fr; } }

/* ============================================================
   TYPES DE TOITS
   ============================================================ */
.toits { background: var(--cream); }
.toits-grid {
  margin-top: clamp(36px,4.5vw,60px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(12px,1.4vw,18px);
}
.toit-card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 84px;
  padding: 18px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--char);
  text-decoration: none;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.toit-card:hover { background: var(--red); color: var(--cream); border-color: var(--red); }
@media (max-width: 960px) { .toits-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .toits-grid { grid-template-columns: 1fr; } }

/* ============================================================
   RÉALISATIONS
   ============================================================ */
.realisations { background: var(--cream); }

/* ============================================================
   ESTIMATION
   ============================================================ */
.estimation { background: var(--paper); padding-bottom: clamp(56px, 7vw, 104px); }
.estimation .sec-title { color: var(--ink); }
.estimation .sec-num { color: var(--red); }
.estimation .sec-num::before { background: var(--red); }
.est-grid { margin-top: clamp(44px,6vw,72px); display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px,4vw,64px); align-items: start; }

.est-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.est-opt {
  border: 1px solid var(--line);
  padding: 15px 16px;
  border-radius: var(--radius);
  text-align: left;
  display: grid; gap: 4px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
  min-height: 64px;
}
.est-opt:hover { border-color: var(--char-soft); }
.est-opt.sel { border-color: var(--red-bright); background: rgba(216,68,47,.12); }
.est-opt .eo-name { font-weight: 600; font-size: 0.96rem; }
.est-opt .eo-meta { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.06em; color: var(--char-soft); }
.est-opt.sel .eo-meta { color: var(--red); }

.est-result {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px,3.4vw,42px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(216,68,47,.10), transparent 55%);
}
.est-result .er-label { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--char-soft); }
@media (max-width: 860px) { .est-grid { grid-template-columns: 1fr; } }

/* ============================================================
   AVIS
   ============================================================ */
.avis { background: var(--char); color: var(--cream); }
.avis .sec-title { color: var(--cream); }
.avis .sec-num { color: var(--red-bright); }
.avis .sec-num::before { background: var(--red-bright); }
.avis-lead { margin-top: clamp(28px,4vw,44px); max-width: 60ch; color: rgba(242,235,221,.78); font-size: clamp(1.02rem,1.5vw,1.18rem); line-height: 1.55; }

.avis-quotes { margin-top: clamp(28px,4vw,40px); display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.quote {
  border: 1px solid var(--line-cream); border-radius: var(--radius);
  padding: clamp(26px,3vw,34px); display: grid; gap: 20px;
  background: rgba(242,235,221,.02);
}
.quote .q-stars { color: var(--red-bright); letter-spacing: 3px; font-size: 0.9rem; }
.quote .q-text { font-family: var(--serif); font-weight: 500; font-size: 1.16rem; line-height: 1.42; }
.quote .q-who { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.quote .q-who .q-av { width: 40px; height: 40px; border-radius: 50%; background: var(--red-deep); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; color: var(--cream); font-size: 0.95rem; }
.quote .q-who .q-name { font-weight: 600; font-size: 0.92rem; }
.quote .q-who .q-loc { font-family: var(--mono); font-size: 0.64rem; color: rgba(242,235,221,.55); letter-spacing: 0.06em; }
@media (max-width: 860px) { .avis-quotes { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--paper); }
.faq-grid { margin-top: clamp(44px,6vw,72px); display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px,5vw,64px); align-items: start; }
.faq-aside { display: grid; gap: 26px; position: sticky; top: 120px; align-content: start; }
.faq-aside .sec-title { line-height: 1.08; }
.faq-aside p { color: var(--char-soft); }
.faq-list { display: grid; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; gap: 20px;
  padding: 26px 0;
  font-family: var(--serif); font-weight: 600; font-size: clamp(1.1rem,1.8vw,1.4rem);
  min-height: 56px;
}
.faq-q .fq-n { font-family: var(--mono); font-size: 0.72rem; color: var(--red); font-weight: 400; flex-shrink: 0; }
.faq-q .fq-ico { margin-left: auto; width: 26px; height: 26px; flex-shrink: 0; position: relative; }
.faq-q .fq-ico::before, .faq-q .fq-ico::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--red); transition: transform .3s var(--ease); }
.faq-q .fq-ico::before { width: 14px; height: 2px; }
.faq-q .fq-ico::after { width: 2px; height: 14px; }
.faq-item.open .fq-ico::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { overflow: hidden; height: 0; transition: height .4s var(--ease); }
.faq-a .fa-in { padding: 0 0 28px 38px; color: var(--char-soft); max-width: 60ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-aside { position: relative; top: 0; } }

/* ============================================================
   CTA FINAL + FOOTER
   ============================================================ */
.cta {
  background: var(--red);
  color: var(--cream);
  text-align: center;
  overflow: hidden;
  position: relative;
}
.cta .wrap { position: relative; z-index: 2; }
.cta .cta-eye { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: .8; }
.cta h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 0.96; letter-spacing: -0.02em; margin: 24px auto 0; max-width: 16ch; }
.cta h2 em { font-style: normal; color: var(--cream); }
.cta .cta-sub { max-width: 46ch; margin: 26px auto 0; opacity: .9; font-size: 1.08rem; }
.cta .cta-btns { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta .btn-onred { background: var(--cream); color: var(--char); }
.cta .btn-onred:hover { background: var(--char); color: var(--cream); }
.cta .btn-onred-ghost { border: 1.5px solid rgba(242,235,221,.5); color: var(--cream); }
.cta .btn-onred-ghost:hover { background: rgba(242,235,221,.12); border-color: var(--cream); }

.footer { background: var(--char); color: var(--cream); padding-top: clamp(44px,5vw,64px); }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(22px,3vw,44px); padding-bottom: 30px; border-bottom: 1px solid var(--line-cream); }
.foot-brand .brand .mono-mark { border-color: var(--cream); }
.foot-brand .brand .b-name { color: var(--cream); }
.foot-powered { display: block; margin-top: 12px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(242,235,221,.55); }
.foot-powered::before { content: ""; display: inline-block; width: 14px; height: 2px; background: var(--red); margin-right: 8px; vertical-align: middle; }
.foot-brand p { margin-top: 18px; color: rgba(242,235,221,.6); font-size: 0.95rem; max-width: 34ch; }
.foot-nap { margin-top: 24px; display: grid; gap: 8px; font-family: var(--mono); font-size: 0.78rem; color: rgba(242,235,221,.75); }
.foot-nap a { color: var(--red-bright); }
.foot-col h5 { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(242,235,221,.5); margin-bottom: 20px; }
.foot-col ul { display: grid; gap: 12px; }
.foot-col a { font-size: 0.94rem; color: rgba(242,235,221,.85); transition: color .2s; }
.foot-col a:hover { color: var(--red-bright); }
.foot-certs { display: grid; gap: 12px; }
.foot-certs .cert { border: 1px solid var(--line-cream); padding: 12px 14px; border-radius: var(--radius); font-family: var(--mono); font-size: 0.72rem; display: flex; align-items: center; gap: 10px; color: rgba(242,235,221,.85); }
.foot-certs .cert .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red-bright); flex-shrink: 0; }
.foot-certs--inline { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-certs--inline .cert { border: 0; padding: 0; font-size: 0.7rem; }
.foot-pages { padding: 20px 0; border-bottom: 1px solid var(--line-cream); }
.foot-pages h5 { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(242,235,221,.45); margin-bottom: 12px; }
.foot-pages-list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; list-style: none; margin: 0; padding: 0; }
.foot-pages-list li { display: inline-flex; align-items: center; }
.foot-pages-list a { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(242,235,221,.7); transition: color .2s; }
.foot-pages-list a:hover { color: var(--red-bright); }
.foot-pages-list li:not(:last-child)::after { content: "·"; margin: 0 12px; color: rgba(242,235,221,.3); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding-block: 24px; font-family: var(--mono); font-size: 0.72rem; color: rgba(242,235,221,.5); }
.foot-bottom a:hover { color: var(--red-bright); }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-top { grid-template-columns: 1fr; } }

/* ============================================================
   STICKY MOBILE CALL BAR
   ============================================================ */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: var(--char); color: var(--cream);
  display: none; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-cream);
  transform: translateY(100%); transition: transform .4s var(--ease-out);
}
.callbar.show { transform: none; }
.callbar a { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 16px 10px; font-weight: 600; font-size: 0.92rem; min-height: 56px; }
.callbar a.cb-call { background: var(--red); }
.callbar a.cb-quote { color: var(--cream); }
@media (max-width: 720px) { .callbar { display: grid; } body { padding-bottom: 0; } }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
/* Reveal base = VISIBLE. Entrance is added from hidden via the Web Animations
   API (JS-clock driven) so content is never stuck hidden if animations don't run. */
.reveal { opacity: 1; transform: none; }

.line-reveal { display: block; overflow: hidden; }
.line-reveal > span { display: block; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

/* Focus visibility for keyboard nav */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.avis a:focus-visible {
  outline-color: var(--red-bright);
}

/* ============================================================
   HÉROS — REFONTE (24-7, carrousel encadré, lightbox)
   ============================================================ */

/* Bloc Urgence 24-7 — plaque rouge sur crème (Manoir) */
.hero-247 { margin-top: 34px; max-width: 46ch; background: var(--red); color: var(--cream); border-radius: var(--radius); padding: 20px 24px; position: relative; box-shadow: 0 24px 50px -28px var(--red); }
.hero-247 .lab { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: .92; }
.hero-247 .lab .live { width: 8px; height: 8px; border-radius: 50%; background: var(--cream); animation: pulse 1.8s infinite; }
.hero-247 .invite { font-family: var(--serif); font-weight: 700; font-size: clamp(1.1rem, 1.7vw, 1.42rem); line-height: 1.16; margin: 10px 0 6px; }
.hero-247 .phone247 { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1; letter-spacing: -0.01em; color: var(--cream); }
.hero-247 .phone247 .ic { font-size: 0.6em; }
.hero-247 .phone247:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-247 .reassure { font-size: 0.92rem; line-height: 1.5; color: rgba(242,235,221,.86); margin-top: 8px; max-width: 48ch; }

/* Panneau photo encadré + carrousel */
/* Héros — média PLEIN-FOND (vidéo + repli carrousel), texte clair par-dessus */
.hero { display: flex; align-items: center; min-height: clamp(560px, 88vh, 880px); padding-top: clamp(96px,13vh,160px); padding-bottom: clamp(64px,9vh,120px); color: var(--cream); }
.hero-grid { display: block; max-width: 820px; }
.hero h1, .hero-text { color: var(--cream); }
.hero-sub { color: rgba(242,235,221,.86); }
.hero-stats { border-top-color: var(--line-cream); }
.hero-stats .st + .st::before { background: var(--line-cream); }
.hero-stats .st .v { color: var(--cream); }
.hero-stats .st .l { color: rgba(242,235,221,.72); }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--char); }
.hero-carousel { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); background-size: cover; background-position: center; }
.hero-slide.is-active { opacity: 1; animation: heroKen 22s ease-in-out infinite alternate; }
@keyframes heroKen { from { transform: scale(1.06); } to { transform: scale(1.16) translate(-2%,-2%); } }
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } .hero-slide.is-active { animation: none; } }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,14,.58), rgba(20,17,14,.85)), linear-gradient(90deg, rgba(20,17,14,.82) 6%, rgba(20,17,14,.30) 72%); }
.hero-vtag { position: absolute; left: 14px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(242,235,221,.85); background: rgba(20,17,14,.5); border: 1px solid var(--line-cream); padding: 5px 9px; }
.hero-vtag i { width: 6px; height: 6px; border-radius: 50%; background: var(--red-bright); }
.hero-bg.has-video .hero-vtag { display: none; }
/* puces du carrousel (repli) sous le texte */
.hero .hero-dots { position: relative; z-index: 2; display: flex; gap: 9px; margin-top: 42px; }
.hero .hero-dots button { box-sizing: content-box; width: 26px; height: 4px; padding: 10px 0; background: rgba(242,235,221,.35); background-clip: content-box; border: 0; cursor: pointer; transition: background .25s var(--ease); }
.hero .hero-dots button[aria-selected="true"] { background: var(--cream); }
.hero-bg.has-video ~ .wrap .hero-dots { display: none; }
/* Placeholders « chantier » bois patiné — remplacer par background-image: url(...) */
.hero-slide.hs-1 { background: linear-gradient(150deg,#3a322a,#1f1a16), repeating-linear-gradient(135deg,#46382a 0 16px,#3a2e22 16px 32px); }
.hero-slide.hs-2 { background: linear-gradient(150deg,#46382a,#241a12), repeating-linear-gradient(90deg,#5a4632 0 18px,#46382a 18px 36px); }
.hero-slide.hs-3 { background: linear-gradient(150deg,#2e2620,#15110d), repeating-linear-gradient(45deg,#3a2e22 0 14px,#2a2018 14px 28px); }
.hero-slide.hs-4 { background: linear-gradient(150deg,#403930,#211c18), repeating-linear-gradient(135deg,#4a433c 0 20px,#3a342c 20px 40px); }


/* Vidéo d'intro en FOND plein-cadre (autoplay muet) + repli carrousel */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.hero-bg.has-video .hero-video { opacity: 1; }
.hero-bg.has-video .hero-carousel { opacity: 0; }

/* ============================================================
   ESTIMATION — QUIZ D'URGENCE PROGRESSIF (une question à la fois)
   ============================================================ */
.est-grid--quiz { align-items: stretch; }
.est-left { min-width: 0; }

/* Panneau CTA urgence — toujours visible à droite du quiz */
.est-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(28px, 3.4vw, 42px);
  border-radius: var(--radius);
  background: var(--char);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.est-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(130% 130% at 100% 0%, rgba(216,68,47,.22), transparent 58%);
  pointer-events: none;
}
.est-cta > * { position: relative; z-index: 1; }
.ec-eye {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.ec-live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 0 rgba(216,68,47,.55);
  animation: ecPulse 2s infinite;
}
@keyframes ecPulse {
  0% { box-shadow: 0 0 0 0 rgba(216,68,47,.55); }
  70% { box-shadow: 0 0 0 9px rgba(216,68,47,0); }
  100% { box-shadow: 0 0 0 0 rgba(216,68,47,0); }
}
.ec-lead {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.55;
  color: rgba(242,235,221,.82);
  max-width: 38ch;
}
.ec-lead strong { color: var(--cream); }
.ec-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--cream);
  transition: color .2s var(--ease);
}
.ec-phone:hover { color: var(--red-bright); }
.ec-ic { font-size: 0.55em; color: var(--red-bright); }
.ec-btn { width: 100%; justify-content: center; }
.ec-note {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: rgba(242,235,221,.55);
}

/* Barre de progression */
.uq-bar { display: grid; gap: 12px; margin-bottom: clamp(22px, 3vw, 32px); }
.uq-progress { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.uq-track { display: block; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.uq-fill { display: block; height: 100%; width: 0; background: var(--red); border-radius: 3px; transition: width .35s var(--ease); }

/* Étapes : une seule visible à la fois */
.uq-step { display: none; }
.uq-step.is-active { display: block; animation: uqIn .35s var(--ease) both; }
@keyframes uqIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.uq-q {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 24ch;
}

/* Réponses empilées (mobile-first) */
.est-opts--stack { grid-template-columns: 1fr; }
.est-opts--stack .est-opt { min-height: 0; padding: 16px 18px; cursor: pointer; }

/* Navigation (retour) */
.uq-nav { margin-top: 22px; min-height: 28px; }
.uq-back {
  background: none; border: 0; cursor: pointer;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em;
  color: var(--char-soft); padding: 6px 0;
  transition: color .2s var(--ease);
}
.uq-back:hover { color: var(--ink); }

/* Bouton recommencer (dans le résultat) */
.uq-restart {
  margin-top: 24px; background: none; border: 0; cursor: pointer;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em;
  color: var(--char-soft); padding: 6px 0;
  transition: color .2s var(--ease);
}
.uq-restart:hover { color: var(--red); }

/* Résultat urgence */
.ur-level {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 18px 0 12px;
  color: var(--ink);
}
.ur-level--haute    { color: var(--red); }
.ur-level--surveiller { color: var(--brass); }
.ur-level--preventif  { color: var(--char); }

.ur-desc {
  font-size: 1rem;
  color: var(--char-soft);
  line-height: 1.55;
  max-width: 44ch;
  min-height: 1.5em;
}
.ur-cta {
  margin-top: 22px;
  min-height: 52px;
}
.ur-cta .btn { width: 100%; justify-content: center; }

/* ============================================================
   SECTION CONTACT
   ============================================================ */
.contact { background: var(--paper); }
.contact-grid {
  margin-top: clamp(44px, 6vw, 72px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.contact-text { display: grid; gap: 22px; }
.contact-lead {
  color: var(--char-soft);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  max-width: 42ch;
  line-height: 1.55;
}

/* Bloc appel direct */
.contact-call {
  margin-top: 10px;
  display: grid;
  gap: 8px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}
.cc-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--char-soft);
}
.cc-phone {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--red);
  transition: color .2s var(--ease);
}
.cc-phone:hover { color: var(--red-deep); }
.cc-ic { font-size: 0.6em; }
.cc-hours {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--char-soft);
}

/* Formulaire */
.contact-form-wrap {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 44px);
}
.contact-form { display: grid; gap: 20px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field { display: grid; gap: 8px; }
.cf-lbl {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--char-soft);
}
.cf-lbl span { color: var(--red); }
.cf-input {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--char);
  padding: 14px 16px;
  font: inherit;
  font-size: 0.96rem;
  border-radius: var(--radius);
  outline: none;
  transition: border-color .2s var(--ease), background .2s var(--ease);
  min-height: 52px;
}
.cf-input:focus { border-color: var(--char); background: var(--cream); }
.cf-input.err { border-color: var(--red); background: rgba(192,57,43,.06); }
.cf-input::placeholder { color: var(--char-soft); opacity: .55; }
.cf-textarea { resize: vertical; min-height: 130px; }
.cf-err-msg {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  color: var(--red);
  margin-top: 2px;
}
.cf-note {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  color: var(--char-soft);
  line-height: 1.5;
}
.cf-note.ok { color: #3a7c5a; }
.cf-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--char-soft);
  cursor: pointer;
}
.cf-consent input {
  accent-color: var(--red);
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex: 0 0 auto;
}
.cf-consent input[aria-invalid="true"] { outline: 2px solid var(--red); outline-offset: 2px; }
.contact-form .btn { min-height: 54px; justify-content: center; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
}
/* ============================================================
   ONE-STOP-SHOP BANDEAU
   ============================================================ */
.onetoit {
  background: var(--char);
  color: var(--cream);
  padding-block: clamp(36px, 5vw, 52px);
  border-top: 1px solid var(--line-cream);
  border-bottom: 1px solid var(--line-cream);
}
.onetoit-inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 52px);
  flex-wrap: wrap;
}
.onetoit-mark {
  font-size: 2.2rem;
  color: var(--red-bright);
  flex-shrink: 0;
  line-height: 1;
}
.onetoit-body {
  flex: 1;
  min-width: 240px;
  display: grid;
  gap: 8px;
}
.onetoit-headline {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.onetoit-text {
  font-size: clamp(0.93rem, 1.3vw, 1.05rem);
  color: rgba(242,235,221,.74);
  max-width: 64ch;
  line-height: 1.5;
}
.onetoit-cta {
  flex-shrink: 0;
  border-color: rgba(242,235,221,.38);
  color: var(--cream);
}
.onetoit-cta:hover {
  background: var(--cream);
  color: var(--char);
  border-color: var(--cream);
}
@media (max-width: 720px) {
  .onetoit-mark { display: none; }
  .onetoit-cta { width: 100%; justify-content: center; }
}

/* ============================================================
   FOOTER — PAGES & SERVICES MULTI-COLONNES (pages secondaires)
   ============================================================ */
.foot-col--services { grid-column: span 2; max-width: 520px; }
.foot-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 26px;
  list-style: none;
}
.foot-services-grid li { break-inside: avoid; }
.foot-services-grid a {
  font-size: 0.88rem;
  color: rgba(242,235,221,.78);
  transition: color .2s;
  display: block;
}
.foot-services-grid a:hover { color: var(--red-bright); }
@media (max-width: 1100px) {
  .foot-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .foot-col--services { grid-column: 1 / -1; }
  .foot-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .foot-services-grid { grid-template-columns: 1fr; }
}

/* ========================= FAQ HUB — accordion (deep-linkable) ========================= */
.faqlist{list-style:none;margin:34px 0 0;padding:0;border-top:1px solid var(--line)}
.faqitem{border-bottom:1px solid var(--line)}
.faqq{width:100%;display:flex;justify-content:space-between;align-items:center;gap:18px;background:none;border:0;cursor:pointer;text-align:left;padding:24px 0;font-family:var(--serif);font-weight:700;font-size:clamp(1.05rem,2.2vw,1.4rem);color:var(--char)}
.faqq:hover{color:var(--red)}
.faqq-ic{flex:none;color:var(--red);font-size:1.5rem;transition:transform .25s}
.faqitem.is-open .faqq-ic{transform:rotate(45deg)}
.faqa{padding:0 0 28px;max-width:72ch;color:var(--char-soft);line-height:1.7}
.faqa p{margin:0 0 14px}.faqa[hidden]{display:none}

.real-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(14px,2vw,24px);margin-top:clamp(30px,4vw,52px)}
.real-photo{aspect-ratio:4/3;background:var(--cream-2);border:1px solid var(--line);display:grid;place-items:center;color:var(--char-soft);font-family:var(--mono);font-size:.72rem;letter-spacing:.12em;text-transform:uppercase}
@media(max-width:760px){.real-grid{grid-template-columns:1fr}}

/* ===== LEAD MAGNET — guide d'entretien (encadré compact, thème clair) ===== */
.leadmag { background: var(--cream); }
.leadmag-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}
.leadmag .sec-num { color: var(--red); display: inline-flex; }
.lm-title { font-family: var(--serif); font-weight: 800; font-size: clamp(1.6rem,3.4vw,2.7rem); line-height: 1.1; letter-spacing: -0.015em; margin: 16px 0 14px; color: var(--ink); }
.lm-title em { color: var(--red); font-style: normal; }
.lm-sub { color: var(--char-soft); font-size: clamp(1rem,1.4vw,1.1rem); line-height: 1.6; max-width: 52ch; }
.lm-points { margin-top: 20px; display: grid; gap: 11px; }
.lm-points li { position: relative; padding-left: 26px; font-size: 0.96rem; color: var(--char); line-height: 1.45; }
.lm-points li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 11px; height: 2px; background: var(--red); }

/* Carte bordée (encadré) contenant le formulaire */
.lm-formcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 18px 44px -28px rgba(26,23,20,.4);
}
.lm-form { display: grid; gap: 12px; }
.lm-frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lm-in {
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--char);
  padding: 13px 16px;
  font-family: var(--sans);
  font-size: 0.98rem;
  border-radius: var(--radius);
  outline: none;
  min-height: 50px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.lm-in::placeholder { color: var(--char-soft); opacity: .55; }
.lm-in:focus { border-color: var(--char); background: var(--paper); }
.lm-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--char-soft);
  cursor: pointer;
}
.lm-check input { accent-color: var(--red); width: 16px; height: 16px; margin-top: 1px; flex: 0 0 auto; }
.lm-check input[aria-invalid="true"] { outline: 2px solid var(--red); outline-offset: 2px; }
.lm-btn { justify-content: center; margin-top: 4px; min-height: 54px; }
.lm-msg { margin-top: 2px; font-family: var(--mono); font-size: 0.78rem; line-height: 1.5; }
.lm-err { color: var(--red); }
.lm-ok { color: #3a7c5a; font-weight: 600; }
@media (max-width: 860px) {
  .leadmag-card { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .lm-frow { grid-template-columns: 1fr; }
}

/* ---- Hero : mention urgence complète ---- */
.hero-247 .lab-full { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(242,235,221,.62); margin: 6px 0 2px; }
@media (max-width: 1080px) { .avis-quotes { grid-template-columns: 1fr 1fr; } }
