/*
Theme Name: Serrure YES
Description: Thème sur mesure — le HTML est identique au build statique vérifié.
Version: 1.0
Author: GoAhead Digital
*/

/* ============================================================
   SERRURE'YES — design system v2
   Look & animation language ported from super-serrurier-paris-18
   (network sibling), recolored to the Serrure'YES brand:
   yellow #FFCB05 plays the gold role, blue #0088CB for links,
   cool neutrals, Roboto Black display + Roboto UI.
   ============================================================ */
:root {
  color-scheme: only light;
  --yl: #0088CB;          /* brand yellow — accent surfaces & gradients */
  --yl-d: #0074AD;        /* darker yellow — hover, ticks */
  --yl-t: #006DA3;        /* readable amber for text on light */
  --yl-100: #DCF0FA;      /* tint */
  --yl-50: #F2F9FD;       /* faint tint */
  --blue: #0088CB;
  --blue-d: #006DA3;
  --blue-100: #E5F4FB;
  --ink: #14181F;
  --ink-2: #2B313B;
  --muted: #5B6470;
  --red: #D92B31;
  --red-tint: #FCE9EA;
  --green: #118344;       /* WhatsApp — AA on white, official #25D366 is not */
  --cream: #F5F8FA;
  --line: #DFE6EB;
  --line-2: #ECEEF1;
  --r: 14px;
  --shadow: 0 1px 2px rgba(20,24,31,.04), 0 8px 24px -12px rgba(20,24,31,.12);
}

* , *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-d); text-decoration: none; }
a:hover { text-decoration: underline; }
a, button, summary, label { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 900; line-height: 1.16; letter-spacing: -.015em; color: var(--ink); margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.95rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 2.9vw, 2.1rem); }
h3 { font-size: 1.16rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 800px; margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
section.alt { background: var(--cream); }
.sec-head { max-width: 740px; margin-bottom: 34px; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.lede { font-size: 1.12rem; color: var(--ink-2); max-width: 40em; }
.eyebrow {
  font-family: "Roboto", system-ui, sans-serif; display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--yl-t); margin: 0 0 12px;
}
/* yellow underline highlight — gradient on the inline itself */
h1 em, h2 em, .hl {
  font-style: normal;
  background-image: linear-gradient(90deg, rgba(0,136,203,.35), rgba(0,136,203,.10));
  background-repeat: no-repeat; background-size: 100% .30em; background-position: 0 86%;
  border-radius: 2px; padding: 0 .04em;
}

/* ---------- top bar ---------- */
.topbar { background: var(--ink); color: #D7DEE4; font-size: .8rem; }
.topbar .wrap {
  display: flex; gap: 18px; align-items: center; justify-content: space-between;
  min-height: 38px; flex-wrap: wrap; padding-top: 7px; padding-bottom: 7px;
}
.topbar b { color: var(--yl); font-weight: 600; }
.topbar a { color: #fff; font-weight: 500; }
.topbar svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 5px; }
.topbar .dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--yl); margin-right: 7px; vertical-align: 1px;
}
.topbar .spacer { flex: 1; }
@media (max-width: 760px) { .topbar .hide-m { display: none; } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 14px; min-height: 72px; }
.logo { flex-shrink: 0; display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo .mark { width: 42px; height: 42px; flex: none; }
.logo .txt strong {
  display: block; font-weight: 900; font-size: 1.18rem; letter-spacing: -.025em;
  line-height: 1; color: var(--ink);
}
.logo .txt strong i { font-style: normal; color: var(--blue); }
.logo .txt small {
  display: block; font-size: .58rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-d); margin-top: 4px;
}
@media (max-width: 560px) {
  .logo .mark { width: 36px; height: 36px; }
  .logo .txt strong { font-size: 1.02rem; }
  .logo .txt small { font-size: .52rem; letter-spacing: .1em; }
}
.nav { display: flex; gap: 2px; align-items: center; margin-left: auto; flex-wrap: nowrap; }
.nav > a, .nav .navgroup > button {
  display: inline-flex; align-items: center; gap: 5px; padding: 9px 9px;
  border-radius: 9px; color: var(--ink-2); font-size: .87rem; font-weight: 500;
  position: relative; background: none; border: 0; font-family: inherit;
  /* labels like « Urgence 7j/7 » must stay on one line: without this the flex
     items shrink and break their own text, turning the bar into two rows */
  white-space: nowrap; flex: 0 0 auto;
}
.nav > a:hover, .nav .navgroup > button:hover { background: var(--yl-100); color: var(--ink); text-decoration: none; }
.nav > a[aria-current="page"] { color: var(--blue-d); font-weight: 700; }
/* underline that unfolds on hover */
.nav > a::after, .nav .navgroup > button::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--yl); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease; border: 0; vertical-align: unset; margin: 0; display: block;
}
.nav > a:hover::after, .nav .navgroup > button:hover::after { transform: scaleX(1); }
.nav .caret { transition: transform .22s ease; color: var(--yl-d); width: 14px; height: 14px; }
.navgroup.open .caret { transform: rotate(180deg); }
.nav .urgence-link { color: var(--red); font-weight: 700; }
.nav .urgence-link:hover { background: var(--red-tint); color: var(--red); }
.navgroup { position: relative; }
.navgroup .menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 265px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 48px -20px rgba(20,24,31,.3); padding: 9px;
  opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s; z-index: 80;
  display: block;
}
.navgroup.open .menu { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.navgroup .menu a {
  display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 10px;
  color: var(--ink-2); font-size: .9rem; transition: background .18s ease, transform .18s ease;
}
.navgroup .menu a:hover { background: var(--yl-50); text-decoration: none; transform: translateX(3px); }
.navgroup .menu a strong { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-blue {
  background: linear-gradient(180deg, #2BA3DC, var(--yl)); color: #fff;
  box-shadow: 0 2px 0 #00537A, 0 10px 22px -10px rgba(0,116,173,.55);
}
.btn-blue:hover { box-shadow: 0 2px 0 #00537A, 0 14px 26px -10px rgba(0,116,173,.7); }
.btn-wa { background: var(--green); color: #fff; box-shadow: 0 10px 22px -12px rgba(17,131,68,.75); }
.btn-wa:hover { color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.btn-ghost-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); color: #fff; border-color: #fff; }
.btn-lg { padding: 18px 32px; font-size: 1.08rem; }
.btn-sm, .header-call { padding: 11px 18px; font-size: .92rem; }
.callnum { font-variant-numeric: tabular-nums; letter-spacing: .01em; white-space: nowrap; }
.header-call { white-space: nowrap; }
.nav-toggle {
  display: none; width: 44px; height: 44px; place-items: center;
  border: 1px solid var(--line); border-radius: 11px; background: #fff; padding: 0;
  margin-left: auto; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Stage 1 of the auto-fit: shrink the bar before hiding anything. Losing the
   links entirely on a wide screen looks broken — condensing keeps them. */
.site-header.condensed .wrap { gap: 10px; }
.site-header.condensed .logo .txt small { display: none; }
.site-header.condensed .logo .txt strong { font-size: 1.02rem; }
.site-header.condensed .logo .mark { width: 36px; height: 36px; }
.site-header.condensed .nav { gap: 0; }
.site-header.condensed .nav > a,
.site-header.condensed .nav .navgroup > button { padding: 9px 7px; font-size: .82rem; }
.site-header.condensed .header-call { padding: 10px 13px; font-size: .84rem; }
.site-header.condensed .nav .caret { width: 12px; height: 12px; }

/* Auto-collapse: main.js measures the real header content and adds .compact
   when it no longer fits. This is what makes the bar survive Chrome's
   auto-translation — English/German labels are far longer than the French
   ones, and no fixed breakpoint can predict that. */
.site-header.compact .nav-toggle { display: grid; }
.site-header.compact .nav {
  display: none; position: absolute; top: calc(100% + 10px); right: 16px;
  width: min(88vw, 340px); max-height: min(74vh, 620px); overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px;
  box-shadow: 0 24px 48px -20px rgba(20,24,31,.3);
  flex-direction: column; align-items: stretch;
}
.site-header.compact .nav.open { display: flex; animation: mpop .24s ease both; }
.site-header.compact .nav > a { min-height: 44px; }
.site-header.compact .nav > a::after,
.site-header.compact .nav .navgroup > button::after { display: none; }
.site-header.compact .navgroup .menu {
  position: static; opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  box-shadow: none; border: 0; padding: 0 0 0 14px;
}
.site-header.compact .navgroup > button { width: 100%; text-align: left; min-height: 44px; }
/* the phone number is the primary CTA — it stays visible when collapsed */
.site-header.compact .header-call { display: inline-flex; }

/* 1080–1300px: the full bar (logo + 7 items + phone) needs ~1090px and the
   container gives 1100 — too tight. Drop the logo tagline and tighten the
   nav so everything stays on one line instead of wrapping. */
@media (max-width: 1300px) {
  .site-header .logo .txt small { display: none; }
  .site-header .logo .txt strong { font-size: 1.12rem; }
  .site-header .wrap { gap: 12px; }
  .header-call { padding: 11px 15px; font-size: .88rem; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: grid; }
  .nav {
    display: none; position: absolute; top: calc(100% + 10px); right: 16px;
    width: min(88vw, 340px); max-height: min(74vh, 620px); overflow-y: auto;
    background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px;
    box-shadow: 0 24px 48px -20px rgba(20,24,31,.3);
    flex-direction: column; align-items: stretch;
  }
  .nav.open { display: flex; animation: mpop .24s ease both; }
  .nav > a { min-height: 44px; }
  .nav > a::after, .nav .navgroup > button::after { display: none; }
  .navgroup .menu {
    position: static; opacity: 1; visibility: visible; transform: none; pointer-events: auto;
    box-shadow: none; border: 0; padding: 0 0 0 14px;
  }
  .navgroup > button { width: 100%; text-align: left; min-height: 44px; }
  .header-call { display: none; }
}
@keyframes mpop { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 56px 0 60px; border-bottom: 1px solid var(--line);
  background: radial-gradient(1000px 460px at 76% -10%, var(--yl-100), transparent 62%),
              linear-gradient(180deg, var(--yl-50), #fff 72%);
}
.hero .wrap { display: grid; grid-template-columns: 1.12fr .88fr; gap: 52px; align-items: center; padding-top: 0; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.hero-badges li {
  display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 14px; font-size: .8rem; font-weight: 600; color: var(--ink-2);
  box-shadow: 0 1px 2px rgba(20,24,31,.04); transition: border-color .2s ease, box-shadow .2s ease;
}
.hero-badges li:hover { border-color: var(--yl-d); box-shadow: 0 2px 8px -3px rgba(0,116,173,.45); }
.hero-badges svg { width: 13px; height: 13px; color: var(--yl-d); }
.hero h1 { margin-bottom: 14px; }
.hero .lede { font-size: 1.14rem; max-width: 36em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.hero-note { font-size: .87rem; color: var(--muted); }
.hero-note strong { color: var(--ink); }
.reassure { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .87rem; color: var(--muted); margin: 0; }
.reassure span { display: inline-flex; align-items: center; gap: 6px; }
.tick { color: var(--yl-d); font-weight: 700; }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: 1fr; gap: 34px; } }

/* price card in hero */
.pricebox {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px;
  box-shadow: 0 2px 4px rgba(20,24,31,.04), 0 24px 48px -24px rgba(20,24,31,.2);
}
.pricebox h2 { font-size: 1.06rem; margin: 0 0 4px; }
.pricebox .sub { font-size: .82rem; color: var(--muted); margin: 0 0 18px; }
.pl { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.pl:last-of-type { border-bottom: 0; }
.pl span { font-size: .93rem; color: var(--ink-2); }
.pl b { font-family: "Roboto", system-ui, sans-serif; font-weight: 900; font-size: 1.22rem; color: var(--yl-t); white-space: nowrap; }
.pl .from { font-size: .7rem; color: var(--muted); font-weight: 600; font-family: "Roboto", system-ui, sans-serif; }
.pricebox .note { font-size: .76rem; color: var(--muted); margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line-2); }
.pricebox .btn { width: 100%; margin-top: 16px; }

/* ---------- trust strip (dark) ---------- */
.trust { background: var(--ink); color: #D7DEE4; padding: 30px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item svg { flex-shrink: 0; margin-top: 2px; width: 20px; height: 20px; color: var(--yl); }
.trust-item strong { display: block; color: #fff; font-size: .95rem; font-family: "Roboto", system-ui, sans-serif; }
.trust-item span { font-size: .82rem; color: #9FAAB4; line-height: 1.5; }
@media (max-width: 980px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- grids & cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px;
  box-shadow: 0 1px 2px rgba(20,24,31,.03);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin: 0 0 8px; }
.card p { margin: 0 0 .6em; font-size: .93rem; color: var(--muted); }
.card .ico {
  width: 42px; height: 42px; border-radius: 11px; background: var(--yl-100);
  display: grid; place-items: center; margin-bottom: 14px;
}
.card .ico svg { width: 21px; height: 21px; color: var(--yl-t); }
.card.urgence .ico { background: var(--red-tint); }
.card.urgence .ico svg { color: var(--red); }
.card .price { font-family: "Roboto", system-ui, sans-serif; font-size: 1.35rem; color: var(--yl-t); font-weight: 900; }
.card .price small {
  font-size: .62rem; font-family: "Roboto", system-ui, sans-serif; color: var(--muted);
  text-transform: uppercase; letter-spacing: .1em; font-weight: 700; display: block; margin-top: 2px;
}
.card a { font-size: .87rem; font-weight: 700; color: var(--yl-t); }

/* ---------- price table ---------- */
.price-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
table.price-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-2); font-size: .94rem; }
.price-table thead th {
  background: var(--yl-50); font-family: "Roboto", system-ui, sans-serif; font-size: .9rem;
  letter-spacing: .02em; color: var(--ink); white-space: nowrap; font-weight: 700;
}
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover { background: var(--yl-50); }
.price-table td.p { font-family: "Roboto", system-ui, sans-serif; font-weight: 900; color: var(--yl-t); white-space: nowrap; font-size: 1.05rem; }
.price-table .fixe {
  display: inline-block; background: var(--yl-100); color: var(--yl-t); border-radius: 999px;
  font-size: .7rem; font-weight: 700; padding: 2px 9px; margin-left: 8px;
  font-family: "Roboto", system-ui, sans-serif;
}

/* Mobile: the price is the whole point of these tables, and it was landing
   off-screen behind a horizontal scroll. Below 680px each row becomes a card
   with the price beside its own label, so nothing needs sliding. */
@media (max-width: 680px) {
  .price-table-wrap { overflow-x: visible; border: 0; background: transparent; border-radius: 0; }
  table.price-table { min-width: 0; display: block; }
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .price-table tbody, .price-table tr, .price-table td { display: block; width: 100%; }
  .price-table tr {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    margin-bottom: 12px; padding: 6px 0; box-shadow: 0 1px 2px rgba(20,24,31,.03);
  }
  .price-table tr:hover { background: #fff; }
  .price-table td { border: 0; padding: 9px 16px; }
  .price-table td:first-child {
    font-weight: 700; font-size: 1rem; color: var(--ink);
    border-bottom: 1px solid var(--line-2); padding-bottom: 11px; margin-bottom: 3px;
  }
  .price-table td.p {
    display: flex; align-items: baseline; justify-content: space-between; gap: 10px 16px;
    font-size: 1.02rem;
    /* desktop sets nowrap; long values ("travaux en journée uniquement…")
       would then blow past the viewport instead of wrapping */
    white-space: normal; flex-wrap: wrap; min-width: 0;
  }
  .price-table td.p > * { min-width: 0; }
  .price-table td.p[data-label]::before {
    content: attr(data-label);
    font-family: "Roboto", system-ui, sans-serif; font-weight: 500; font-size: .88rem;
    color: var(--muted); white-space: nowrap;
  }
}

/* ---------- checklist / pills ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.checklist li { position: relative; padding-left: 33px; font-size: .96rem; color: var(--ink-2); line-height: 1.6; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--yl-d); font-weight: 700; }

/* ---------- zones ---------- */
.zone-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .zone-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .zone-list { grid-template-columns: 1fr; } }
.zone-item {
  display: flex; align-items: center; gap: 12px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); padding: 15px 18px;
  color: var(--ink); font-weight: 500;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.zone-item:hover { border-color: var(--yl-d); box-shadow: var(--shadow); text-decoration: none; transform: translateY(-2px); }
.zone-item svg { width: 18px; height: 18px; color: var(--yl-d); flex: none; }
.zone-item small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq summary {
  cursor: pointer; padding: 17px 50px 17px 20px; font-weight: 600; font-size: 1rem;
  list-style: none; position: relative; color: var(--ink); min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--yl-d); font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { color: var(--yl-t); }
.faq .a { padding: 0 20px 18px; color: var(--muted); font-size: .95rem; }

/* ---------- steps ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px 20px; }
.step::before {
  content: counter(s); display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; background: linear-gradient(180deg, #2BA3DC, var(--yl)); color: #fff;
  font-weight: 700; font-family: "Roboto", system-ui, sans-serif; font-size: 1.12rem; margin-bottom: 14px;
  box-shadow: 0 2px 0 #00537A;
}
.step h3 { font-size: 1.02rem; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery figure { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.gallery img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; transition: transform .35s ease; }
.gallery figure:hover img { transform: scale(1.045); }
.gallery figcaption { padding: 10px 14px; font-size: .84rem; color: var(--muted); }

/* ---------- réalisations ---------- */
.real {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px; margin-bottom: 20px;
}
.real-n {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--yl-t); margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.real-fam {
  background: var(--yl-100); color: var(--yl-t); border-radius: 999px;
  padding: 3px 10px; letter-spacing: .06em;
}
.real h2 { font-size: clamp(1.15rem, 2.1vw, 1.5rem); margin-bottom: 18px; }
.real-grid { display: grid; grid-template-columns: 380px 1fr; gap: 30px; align-items: start; }
@media (max-width: 860px) { .real-grid { grid-template-columns: 1fr; gap: 20px; } }
.real-ph { margin: 0; }
.real-ph img {
  width: 100%; border-radius: 10px; border: 1px solid var(--line);
  aspect-ratio: 3 / 4; object-fit: cover;
}
.real-ph figcaption { font-size: .82rem; color: var(--muted); margin-top: 9px; line-height: 1.5; }
.real-facts {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 20px;
  background: var(--cream); border-radius: 10px; padding: 15px 17px;
}
.real-facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.real-facts dd { margin: 0; font-size: .92rem; color: var(--ink); }
.real-txt h3 { font-size: .98rem; margin: 0 0 5px; }
.real-txt h3 + p { margin-bottom: 15px; font-size: .95rem; color: var(--ink-2); }
.real-link { margin: 14px 0 0; font-size: .9rem; font-weight: 700; }
.real-txt h3 { margin-top: 16px; }
.real-txt h3:first-of-type { margin-top: 0; }
.real-photo-note {
  font-size: .89rem; color: var(--muted); border-left: 3px solid var(--yl);
  padding: 3px 0 3px 14px; margin: 0;
}
@media (max-width: 560px) { .real { padding: 20px 16px; } .real-facts { grid-template-columns: 1fr; gap: 2px 0; } .real-facts dd { margin-bottom: 8px; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: radial-gradient(700px 300px at 12% 0%, rgba(0,136,203,.22), transparent 60%),
              linear-gradient(135deg, #1B202A, #0F131A);
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #AEB9C2; max-width: 44em; margin: 0 auto 26px; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- urgence pill ---------- */
.pill-urgence {
  display: inline-flex; align-items: center; gap: 8px; background: var(--red-tint);
  color: var(--red); font-weight: 700; font-size: .82rem; border-radius: 999px;
  padding: 6px 14px; margin-bottom: 14px; letter-spacing: .02em;
}
.pill-urgence .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

/* ---------- lead form ---------- */
.lead-form {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 2px 4px rgba(20,24,31,.04), 0 24px 48px -24px rgba(20,24,31,.2); padding: 28px;
}
.lead-form h3 { margin-bottom: 4px; }
.lead-form .sub { font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.lead-form label { display: block; font-size: .8rem; font-weight: 600; margin: 14px 0 5px; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px;
  font-family: inherit; font-size: .95rem; background: var(--cream); color: var(--ink);
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { background: #fff; }
.lead-form button { width: 100%; margin-top: 18px; }
.lead-form .privacy { font-size: .75rem; color: var(--muted); margin: 10px 0 0; }

/* ---------- prose / breadcrumb ---------- */
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: .35em; }
.crumbs { font-size: .82rem; color: var(--muted); padding: 16px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue-d); }
.crumbs span { margin: 0 6px; color: var(--yl-d); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #9FAAB4; padding: 56px 0 26px; font-size: .9rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px; padding: 0 0 8px; }
@media (max-width: 980px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .95rem; margin: 0 0 14px; font-family: "Roboto", system-ui, sans-serif; }
.site-footer a { color: #C6D0D8; display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--yl); text-decoration: none; }
.site-footer p { color: #9FAAB4; }
.site-footer .logo { display: inline-flex; margin-bottom: 18px; }
.site-footer .logo .txt strong { color: #fff; }
.site-footer .logo .txt strong i { color: #4FBBEC; }
.site-footer .logo .txt small { color: #8FC9E6; }
.site-footer .logo a, .site-footer .logo .mark { padding: 0; }
.site-footer .nap b { color: #D7DEE4; font-weight: 600; }
.site-footer .siret {
  background: #1E242E; border: 1px solid #2B313B; border-radius: 10px; padding: 14px 16px;
  margin-top: 16px; font-size: .79rem; line-height: 1.7; color: #9FAAB4;
}
.site-footer .siret b { color: var(--yl); }
.site-footer .legal {
  border-top: 1px solid #2B313B; margin-top: 34px; padding-top: 20px; font-size: .8rem;
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; color: #8593A0;
}
.site-footer .legal a { display: inline; color: #8593A0; }

/* ---------- floating WhatsApp button ----------
   One persistent WhatsApp affordance at every screen size: this FAB above
   860px, and the sticky call bar (which already carries a WhatsApp button)
   below it — never both at once. */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 75;
  display: inline-flex; align-items: center; gap: 0;
  height: 58px; padding: 0 17px; border-radius: 999px;
  background: var(--green); color: #fff; text-decoration: none;
  box-shadow: 0 6px 20px -4px rgba(17,131,68,.55), 0 2px 6px rgba(20,24,31,.18);
  transition: gap .25s ease, padding .25s ease, transform .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.wa-fab svg { width: 26px; height: 26px; flex: none; }
.wa-fab span {
  max-width: 0; opacity: 0; white-space: nowrap; font-weight: 700; font-size: 1rem;
  transition: max-width .25s ease, opacity .2s ease;
}
.wa-fab:hover, .wa-fab:focus-visible {
  color: #fff; text-decoration: none; gap: 10px; transform: translateY(-2px);
  box-shadow: 0 10px 26px -4px rgba(17,131,68,.65), 0 2px 6px rgba(20,24,31,.2);
}
.wa-fab:hover span, .wa-fab:focus-visible span { max-width: 130px; opacity: 1; }
/* breathing ring — drawn on a pseudo-element so it never affects layout */
.wa-fab::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(17,131,68,.5); pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .wa-fab::after { animation: waPulse 2.8s ease-out infinite; }
}
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(17,131,68,.45); }
  70%  { box-shadow: 0 0 0 16px rgba(17,131,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(17,131,68,0); }
}
/* the sticky call bar already offers WhatsApp on small screens */
@media (max-width: 860px) { .wa-fab { display: none; } }
@media print { .wa-fab { display: none; } }

/* ---------- mobile sticky call bar ---------- */
.callbar { display: none; }
@media (max-width: 860px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed;
    left: 0; right: 0; bottom: 0; z-index: 70;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .callbar .btn { padding: 13px; }
  body { padding-bottom: 78px; }
}

/* touch targets */
@media (hover: none), (max-width: 860px) {
  .site-footer .cols a, .crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
  .faq summary { display: flex; align-items: center; }
}

/* ==================================================================
   ANIMATIONS — all additive; content readable without them.
   ================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* hero cascade */
  .hero .hero-badges, .hero .pill-urgence { animation: rise .45s .04s both; }
  .hero h1 { animation: rise .5s .10s both; }
  .hero .lede { animation: rise .5s .17s both; }
  .hero .hero-ctas { animation: rise .5s .24s both; }
  .hero .hero-note, .hero .reassure { animation: rise .5s .31s both; }
  .hero .pricebox, .hero .lead-form { animation: riseIn .6s .18s both; }
  .hero .pl { animation: fade .4s both; }
  .hero .pl:nth-child(2) { animation-delay: .34s; }
  .hero .pl:nth-child(3) { animation-delay: .40s; }
  .hero .pl:nth-child(4) { animation-delay: .46s; }
  .hero .pl:nth-child(5) { animation-delay: .52s; }

  .topbar .dot, .pill-urgence .dot { animation: pulse 2.4s ease-in-out infinite; }

  /* soft glow on the hero call button */
  .hero .btn-blue { animation: rise .5s .24s both, glow 3.2s 1.2s ease-in-out infinite; }

  /* scroll-driven reveals — pure CSS, @supports-guarded */
  @supports (animation-timeline: view()) {
    .card, .step, .trust-item, .faq details, .price-table-wrap, .zone-item, .gallery figure {
      animation: revealUp .55s both;
      animation-timeline: view();
      animation-range: entry 0% entry 42%;
    }
    .grid-2 > :nth-child(2), .grid-3 > :nth-child(2), .grid-4 > :nth-child(2),
    .steps > :nth-child(2), .zone-list > :nth-child(2), .gallery > :nth-child(2) { animation-delay: .04s; }
    .grid-3 > :nth-child(3), .grid-4 > :nth-child(3),
    .steps > :nth-child(3), .zone-list > :nth-child(3), .gallery > :nth-child(3) { animation-delay: .08s; }
    .grid-4 > :nth-child(4), .steps > :nth-child(4),
    .zone-list > :nth-child(4), .gallery > :nth-child(4) { animation-delay: .12s; }
  }
}

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(20px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes revealUp { from { opacity: 0; transform: translateY(18px) ; } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.82); } }
@keyframes glow {
  0%, 100% { box-shadow: 0 2px 0 #00537A, 0 10px 22px -10px rgba(0,116,173,.55); }
  50% { box-shadow: 0 2px 0 #00537A, 0 12px 30px -8px rgba(0,136,203,.9); }
}

@media print { .site-header, .callbar, .cta-band, .topbar { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }
