/* Rank13 — feuille de style principale
   Parti pris : sobre, éditorial, sans effets. Titres en serif, interface en Montserrat. */
@font-face {
  font-family: "Source Serif 4";
  src: url("/assets/fonts/source-serif-4-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #0A2A66;
  --navy-deep: #08214F;
  --blue: #1565E0;
  --blue-dark: #0F52BA;
  --sky: #8EC1FF;
  --paper: #FAF8F4;
  --sand: #F1EDE5;
  --white: #FFFFFF;
  --ink: #1B2433;
  --muted: #5B6475;
  --line: #E2DDD3;
  --line-strong: #CFC8BA;

  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-ui: "Montserrat", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 6px;
  --wrap: 1160px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--font-serif); color: var(--navy); line-height: 1.15; margin: 0 0 .55em; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
em { font-style: italic; }
sup { font-size: .55em; line-height: 0; vertical-align: .75em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; }
.skip:focus { left: 8px; }

/* Petit libellé de section : un trait + un mot, sans majuscules criardes */
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--font-ui); font-weight: 600; font-size: .85rem; color: var(--blue); margin: 0 0 1.1em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }
.eyebrow-light { color: var(--sky); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-ui); font-weight: 600; font-size: .98rem; line-height: 1.2;
  padding: .95em 1.4em; border-radius: var(--radius); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--sand); color: var(--navy); }
.btn-outline-white { color: var(--white); border-color: rgba(255,255,255,.5); background: transparent; }
.btn-outline-white:hover { border-color: var(--white); color: var(--white); }
.btn-sm { padding: .65em 1.05em; font-size: .9rem; }
.btn-lg { padding: 1.05em 1.6em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-icon::before { content: ""; width: 16px; height: 16px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav a { font-family: var(--font-ui); font-weight: 500; font-size: .93rem; color: var(--ink); text-decoration: none; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav .btn-primary { color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; margin-right: -10px; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--navy); content: ""; transition: transform .2s, top .2s; }
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -7px; }
.nav-toggle-bar::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 64px); overflow-y: auto; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 4px var(--gutter) 24px; gap: 16px; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .btn { width: 100%; padding: .95em 1.2em; font-size: 1rem; }
}

/* ---------- Apparition douce ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero h1 .hl { display: block; font-style: italic; font-weight: 500; color: var(--blue); }
.hl { color: var(--blue); }
.hero-lead { font-size: clamp(1.08rem, 1.7vw, 1.22rem); line-height: 1.6; color: var(--muted); max-width: 36em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .94rem; color: var(--ink); }
.tick li, .hero-checks li { position: relative; padding-left: 24px; }
.tick li::before, .hero-checks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg);
}
.hero-price { margin: 22px 0 0; font-size: .95rem; color: var(--muted); }
.hero-price a { font-weight: 600; }

/* SERP animée */
.hero-visual { position: relative; min-width: 0; }
.serp { --row: 78px; --gap: 10px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 20px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(27,36,51,.35); }
.serp-bar { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; font-size: .93rem; margin-bottom: 16px; min-width: 0; }
.serp-g { font-family: var(--font-ui); font-weight: 800; color: var(--blue); flex: none; }
.serp-query { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.serp-page { margin-left: auto; flex: none; font-family: var(--font-ui); font-weight: 600; font-size: .72rem; padding: 3px 9px; border-radius: 999px; background: var(--sand); color: var(--muted); transition: background .4s, color .4s; }
.serp.is-page1 .serp-page { background: var(--blue); color: var(--white); }

.rank-board { position: relative; list-style: none; margin: 0; padding: 0; height: calc(var(--row) * 3 + var(--gap) * 2); transition: opacity .35s; }
.rank-row {
  position: absolute; left: 0; right: 0; top: 0; height: var(--row);
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 0 14px; border-radius: var(--radius); background: var(--paper); border: 1.5px solid transparent;
  transition: transform .9s cubic-bezier(.65,0,.25,1), background .4s, border-color .4s;
}
.rank-board.is-resetting { opacity: 0; }
.rank-board.no-anim .rank-row { transition: none; }
.rank-row[data-slot="1"] { transform: translateY(0); }
.rank-row[data-slot="2"] { transform: translateY(calc(var(--row) + var(--gap))); }
.rank-row[data-slot="3"] { transform: translateY(calc((var(--row) + var(--gap)) * 2)); }
.rank-pos { width: 34px; height: 34px; border-radius: 4px; display: grid; place-items: center; font-family: var(--font-ui); font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; color: var(--muted); background: var(--white); border: 1px solid var(--line); }
.rank-body { min-width: 0; }
.rank-url { margin: 0 0 4px; font-size: .8rem; color: var(--muted); }
.rank-line { margin: 6px 0 0; height: 7px; border-radius: 4px; background: var(--line); }
.w80 { width: 80%; } .w70 { width: 70%; } .w60 { width: 60%; } .w50 { width: 50%; }
.rank-title { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 1.05rem; color: var(--blue); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-row.is-you { z-index: 2; background: var(--white); border-color: var(--blue); }
.rank-row.is-you .rank-pos { background: var(--blue); border-color: var(--blue); color: var(--white); }
.rank-up { color: #11865A; font-size: .9rem; opacity: 0; transition: opacity .3s; }
.rank-row.is-moving .rank-up { opacity: 1; }
.rank-row.is-you.is-first { background: var(--navy); border-color: var(--navy); }
.rank-row.is-first .rank-pos { background: var(--white); border-color: var(--white); color: var(--navy); }
.rank-row.is-first .rank-url { color: rgba(255,255,255,.7); }
.rank-row.is-first .rank-title { color: var(--white); }
.rank-row.is-first .rank-up { opacity: 1; color: var(--sky); }

.rank-status { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.rank-status-label { font-family: var(--font-ui); font-weight: 600; font-size: .78rem; color: var(--muted); }
.rank-status-value { font-family: var(--font-serif); font-weight: 600; font-size: 2rem; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.rank-status-num { display: inline-block; }
.rank-status-num.is-flip { animation: flip .45s ease; }
@keyframes flip { 0% { transform: translateY(0); opacity: 1; } 45% { transform: translateY(-40%); opacity: 0; } 55% { transform: translateY(40%); opacity: 0; } 100% { transform: none; opacity: 1; } }
.rank-status-msg { margin-left: auto; font-family: var(--font-ui); font-weight: 600; color: var(--blue); font-size: .9rem; text-align: right; }
.serp.is-won .rank-status-value { color: var(--blue); }

/* ---------- Chiffres ---------- */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { margin: 0; padding: 32px 28px; border-left: 1px solid var(--line); color: var(--muted); font-size: 1rem; line-height: 1.55; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { display: block; font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.1; color: var(--navy); margin-bottom: 8px; }
.fact-src { display: block; margin-top: 6px; font-size: .78rem; color: var(--muted); opacity: .85; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section-white { background: var(--white); }
.section-tint { background: var(--sand); }
.section-dark { background: var(--navy); color: rgba(255,255,255,.8); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head > p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.section-dark .section-head > p:not(.eyebrow) { color: rgba(255,255,255,.75); }

/* ---------- Tarif ---------- */
.pricing { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.price-card { position: sticky; top: 96px; background: var(--navy); color: rgba(255,255,255,.82); border-radius: 8px; padding: 32px 30px; }
.price-name { font-family: var(--font-ui); font-weight: 600; font-size: .9rem; color: var(--sky); margin: 0 0 14px; }
.price-amount { font-family: var(--font-serif); font-weight: 600; color: var(--white); font-size: clamp(3rem, 6vw, 3.8rem); line-height: 1; margin: 0; letter-spacing: -.02em; white-space: nowrap; }
.price-amount small { font-family: var(--font-ui); font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-left: 6px; color: rgba(255,255,255,.8); }
.price-term { margin: 10px 0 0; font-size: 1.05rem; color: var(--white); }
.price-monthly { margin: 4px 0 22px; font-size: .95rem; color: rgba(255,255,255,.7); }
.price-card .tick { list-style: none; margin: 0 0 26px; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.18); display: grid; gap: 10px; font-size: .97rem; }
.price-card .tick li::before { border-color: var(--sky); }
.price-actions { display: grid; gap: 10px; }
.price-note { margin: 16px 0 0; font-size: .82rem; color: rgba(255,255,255,.6); }

.deliverables { display: grid; gap: 0; }
.deliv { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 20px; padding: 28px 0; border-top: 1px solid var(--line-strong); }
.deliv:first-child { border-top: 0; padding-top: 0; }
.deliv-num { font-family: var(--font-serif); font-weight: 600; font-size: 2rem; line-height: 1; color: var(--blue); }
.deliv h3 { margin: 4px 0 4px; }
.deliv-when { margin: 0 0 12px; font-size: .9rem; color: var(--muted); font-family: var(--font-ui); font-weight: 500; }
.deliv .tick { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.deliv-body { min-width: 0; }

/* ---------- Ancrage local (photo) ---------- */
.local-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.local-text .big { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; }
.local-text .big em { color: var(--blue); font-weight: 500; }
.statement-text { font-size: 1.12rem; color: var(--muted); max-width: 58ch; }
.photo { margin: 0; }
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; background: var(--sand); }
.photo figcaption { margin-top: 10px; font-size: .82rem; color: var(--muted); }

/* ---------- Colonnes à filets (engagements, services, secteurs) ---------- */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.col { padding: 22px 0 8px; border-top: 2px solid var(--navy); }
.col-num { display: block; font-family: var(--font-ui); font-weight: 600; font-size: .82rem; color: var(--blue); margin-bottom: 10px; }
.col h3 { margin-bottom: .4em; }
.col-punch { font-family: var(--font-serif); font-style: italic; font-size: 1.08rem; color: var(--navy); line-height: 1.4; }
.col p:last-child { color: var(--muted); font-size: .97rem; }
.cols-note { margin: 36px 0 0; color: var(--muted); font-size: .97rem; max-width: 70ch; }

/* Services : liste en deux colonnes */
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; list-style: none; margin: 0; padding: 0; }
.service-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 16px; padding: 22px 0; border-top: 1px solid var(--line-strong); }
.service-list .col-num { margin: 4px 0 0; }
.service-list h3 { margin: 0 0 4px; font-size: 1.2rem; }
.service-list p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- ROI ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; background: var(--white); }
.compare-col { padding: clamp(24px, 4vw, 40px); }
.compare-col + .compare-col { border-left: 1px solid var(--line-strong); background: var(--navy); color: rgba(255,255,255,.82); }
.compare-label { font-family: var(--font-ui); font-weight: 600; font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.compare-col + .compare-col .compare-label { color: var(--sky); }
.compare-big { font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; color: var(--navy); margin-bottom: 12px; }
.compare-col + .compare-col .compare-big { color: var(--white); }
.compare-col p:last-child { margin: 0; }

/* ---------- Méthode ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.step { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.3); }
.step-num { display: block; font-family: var(--font-serif); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--sky); margin-bottom: 16px; }
.step h3 { font-size: 1.3rem; }
.step p { margin: 0; color: rgba(255,255,255,.75); }
.method-note { margin: 40px 0 0; color: rgba(255,255,255,.7); font-size: .95rem; }

/* ---------- Zone ---------- */
.zone .section-head { margin-bottom: 28px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 4px; background: var(--white); color: var(--ink); font-size: .92rem; border: 1px solid var(--line); }

/* ---------- Audit ---------- */
.audit { background: var(--navy); color: rgba(255,255,255,.82); }
.audit h2 { color: var(--white); }
.audit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 56px); align-items: start; }
.audit .tick { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.audit .tick li::before { border-color: var(--sky); }
.audit-form { background: var(--white); color: var(--ink); border-radius: 8px; padding: clamp(20px, 3vw, 32px); }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-family: var(--font-ui); font-weight: 600; font-size: .85rem; color: var(--navy); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; /* 16px : évite le zoom auto sur iPhone */
  color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,101,224,.15); }
.field textarea { resize: vertical; min-height: 110px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: .82rem; color: var(--muted); text-align: center; }
.form-alert { background: #FDECEC; border: 1px solid #F3B7B7; color: #8A1C1C; border-radius: var(--radius); padding: 14px 16px; font-size: .95rem; }
.form-alert p { margin: 0 0 4px; }
.form-success { background: var(--sand); border-radius: 8px; padding: 28px; }
.form-success h2 { font-size: 1.5rem; }
.form-success p:last-child { margin: 0; }

/* ---------- Fenêtre « Me faire rappeler » ---------- */
.callback { width: min(460px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow-y: auto; border: 0; border-radius: 10px; padding: 0; background: var(--white); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(8,33,79,.5); }
.callback::backdrop { background: rgba(8,33,79,.55); }
.callback:target { display: block; position: fixed; inset: 0; margin: auto; z-index: 100; height: fit-content; } /* repli sans JavaScript */
.callback-inner { padding: 28px 26px 24px; position: relative; }
.callback h2 { font-size: 1.6rem; margin-bottom: .3em; padding-right: 36px; }
.callback-intro { color: var(--muted); font-size: .97rem; }
.callback-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; font-size: 1.6rem; line-height: 1; color: var(--muted); border-radius: 4px; text-decoration: none; display: grid; place-items: center; }
.callback-close:hover { color: var(--ink); background: var(--sand); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.15rem; }
.faq summary::after { content: "+"; flex: none; width: 28px; text-align: center; color: var(--blue); font-family: var(--font-ui); font-weight: 500; font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 22px; max-width: 70ch; }

/* ---------- CTA final ---------- */
.cta-band { background: var(--paper); padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.cta-inner { max-width: 820px; }
.cta-band h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.cta-band p { font-size: 1.12rem; color: var(--muted); margin: 0 0 28px; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cta-mail { font-family: var(--font-ui); font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Pages internes ---------- */
.page-hero { padding: clamp(40px, 7vw, 80px) 0 clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.contact-card { background: var(--navy); color: rgba(255,255,255,.85); border-radius: 8px; padding: 30px; }
.contact-card h2 { color: var(--white); font-size: 1.5rem; }
.contact-card a { color: var(--white); overflow-wrap: anywhere; }
.contact-card address { font-style: normal; margin-bottom: 18px; }
.contact-card .label { display: block; font-family: var(--font-ui); font-size: .8rem; font-weight: 600; color: var(--sky); }
.contact-card .btn { margin-top: 6px; }
.contact-form h2 { font-size: 1.7rem; }
.prose { max-width: 760px; overflow-wrap: break-word; }
.prose h2 { font-size: 1.45rem; margin-top: 1.6em; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 56px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 150px; margin-bottom: 16px; }
.footer-title { font-family: var(--font-ui); font-weight: 600; color: var(--white); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-small { margin-top: 10px; font-size: .88rem; }
.footer-bottom { margin-top: 44px; padding-top: 20px; padding-bottom: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-bottom p { margin: 0; }

/* ---------- Barre d'actions mobile ---------- */
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid, .audit-grid, .contact-grid, .local-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; width: 100%; }
  .pricing { grid-template-columns: 1fr; }
  .price-card { position: static; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .cols, .steps { grid-template-columns: 1fr; gap: 0; }
  .col, .step { padding-bottom: 22px; }
  .step + .step { margin-top: 8px; }
  .service-list { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact { border-left: 0; border-top: 1px solid var(--line); padding: 22px 0; }
  .fact:first-child { border-top: 0; }
  .compare { grid-template-columns: 1fr; }
  .compare-col + .compare-col { border-left: 0; border-top: 1px solid var(--line-strong); }
}
@media (max-width: 760px) {
  :root { --gutter: 18px; }
  body { font-size: 1rem; padding-bottom: 76px; }
  html { scroll-padding-top: 72px; }
  .header-inner { min-height: 62px; }
  .brand img { width: 124px; }
  .section-head { margin-bottom: 32px; }
  .hero-ctas .btn { width: 100%; }
  .hero-checks { flex-direction: column; gap: 8px; }
  .serp { --row: 70px; padding: 14px; }
  .serp-bar { font-size: .85rem; padding: 8px 12px; gap: 8px; }
  .rank-row { padding: 0 10px; gap: 10px; grid-template-columns: 30px minmax(0, 1fr) auto; }
  .rank-pos { width: 30px; height: 30px; font-size: .85rem; }
  .rank-title { font-size: .95rem; }
  .rank-status-value { font-size: 1.7rem; }
  .rank-status-msg { font-size: .82rem; }
  .cols-4 { grid-template-columns: 1fr; gap: 0; }
  .form-row, .footer-grid { grid-template-columns: 1fr; }
  .deliv { grid-template-columns: 1fr; padding: 22px 0; }
  .deliv-num { font-size: 1.6rem; }
  .price-card { padding: 26px 22px; }
  .cta-actions .btn { width: 100%; }
  .footer-grid { gap: 28px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line-strong);
  }
  .mobile-bar .btn { padding: .85em .6em; font-size: .92rem; }
}
@media (max-width: 360px) {
  .mobile-bar .btn { font-size: .84rem; }
  .price-amount { font-size: 2.6rem; }
}
