/* ==========================================================================
   Landing pages Google Ads — Couvreur Renov'toitures
   DA : fond clair, cartes à filets légers, blocs ardoise profonde,
   accent rouille (couleur du logo). Mobile-first.
   ========================================================================== */

:root {
  --bg: #f6f4ef;
  --bg-2: #efebe3;
  --surface: #ffffff;
  --line: #e5e0d5;
  --line-strong: #d6cfc1;
  --ink: #171612;
  --text: #2e2b26;
  --muted: #625b4f;
  --dark: #1f2524;
  --dark-2: #2b3231;
  --dark-line: rgba(255, 255, 255, 0.12);
  --accent: #b8431b;
  --accent-hover: #9c3714;
  --accent-bright: #f4511e;
  --accent-soft: #fbeee7;
  --star: #f5a524;
  --ok: #2f7d4f;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(23, 22, 18, 0.04), 0 8px 24px rgba(23, 22, 18, 0.06);
  --shadow-lg: 0 2px 6px rgba(23, 22, 18, 0.06), 0 24px 60px rgba(23, 22, 18, 0.14);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px; /* place pour la barre d'appel mobile */
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
:target { scroll-margin-top: 90px; }
*:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px; border-radius: 999px;
  font: 700 15px/1.2 var(--font); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: #fff; }
.btn-block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }
.btn-call .pulse { width: 8px; height: 8px; border-radius: 50%; background: #7ef0a8; box-shadow: 0 0 0 0 rgba(126,240,168,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(126,240,168,0); } 100% { box-shadow: 0 0 0 0 rgba(126,240,168,0); } }
@media (prefers-reduced-motion: reduce) { .btn-call .pulse { animation: none; } html { scroll-behavior: auto; } }

/* --------------------------------------------------------------------------
   Topbar + header
   -------------------------------------------------------------------------- */
.topbar { background: var(--dark); color: rgba(255,255,255,.82); font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; text-align: center; }
.topbar strong { color: #fff; font-weight: 700; }
.topbar .dot { width: 7px; height: 7px; border-radius: 50%; background: #7ef0a8; flex-shrink: 0; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.topbar .hide-sm { display: none; }
@media (min-width: 768px) { .topbar .hide-sm { display: inline; } }

.header { position: sticky; top: 0; z-index: 50; background: rgba(246,244,239,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: none; }
.header .btn { min-height: 44px; padding: 10px 18px; font-size: 14px; }
@media (min-width: 768px) { .header-phone { display: inline-flex; } }

/* Logo reconstruit (profil de toit + mot-symbole bicolore) */
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; padding-top: 8px; }
.logo-word { position: relative; display: inline-flex; font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; }
.logo-word .a { color: var(--ink); }
.logo-word .b { color: var(--accent); }
.logo-roof { position: absolute; top: -10px; left: 30%; height: 12px; width: auto; }
.logo-sub { margin-top: 6px; font-size: 9.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.logo.light .a { color: #fff; }
.logo.light .logo-sub { color: rgba(255,255,255,.6); }

/* --------------------------------------------------------------------------
   Éléments communs de section
   -------------------------------------------------------------------------- */
.section { padding: 64px 0; }
@media (min-width: 1024px) { .section { padding: 96px 0; } }
.section-alt { background: var(--bg-2); }
.section-white { background: var(--surface); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow .icon { width: 14px; height: 14px; }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { margin-top: 14px; font-size: clamp(28px, 4.2vw, 40px); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.section-head.left { margin-left: 0; text-align: left; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

/* --------------------------------------------------------------------------
   Hero split-screen
   -------------------------------------------------------------------------- */
.hero { position: relative; padding: 36px 0 56px; overflow: hidden; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 36px; }
.hero-photo { display: none; }
.hero h1 { margin-top: 18px; font-size: clamp(32px, 6.4vw, 54px); font-weight: 800; letter-spacing: -0.03em; }
.hero h1 .hl { color: var(--accent); }
.hero-sub { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 560px; }
.hero-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.hero-points .tick { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; flex-shrink: 0; margin-top: 1px; }
.hero-points .tick .icon { width: 14px; height: 14px; }
.hero-ctas { display: grid; gap: 12px; margin-top: 28px; }
@media (min-width: 560px) { .hero-ctas { display: flex; flex-wrap: wrap; } }
.hero-ctas .btn-primary { font-size: 16px; min-height: 58px; padding: 16px 28px; }

/* Bandeau de réassurance sous le CTA */
.trust { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
@media (min-width: 480px) { .trust { grid-template-columns: repeat(3, auto); justify-content: start; } }
.trust-badge { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.trust-badge .ti { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.trust-badge .ti .icon { width: 18px; height: 18px; }
.trust-badge strong { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink); line-height: 1.2; }
.trust-badge div > span { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.stars { display: inline-flex; gap: 1px; color: var(--star); }
.stars .icon { width: 13px; height: 13px; }
.g-logo { width: 18px; height: 18px; }

@media (min-width: 1024px) {
  .hero { padding: 64px 0 88px; }
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; align-items: center; }
  .hero-photo {
    display: block; position: absolute; top: 0; right: 0; bottom: 0; width: 36%;
    border-bottom-left-radius: 48px; overflow: hidden;
  }
  .hero-photo img { width: 100%; height: 100%; object-fit: cover; }
  .hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,37,36,.35), rgba(31,37,36,.05)); }
}

/* Carte formulaire flottante */
.form-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 24px 20px; }
@media (min-width: 640px) { .form-card { padding: 30px 28px; } }
.form-card .fc-badge { position: absolute; top: -13px; left: 24px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }
.form-card .fc-badge .icon { width: 14px; height: 14px; color: #7ef0a8; }
.form-card h2 { font-size: 22px; font-weight: 800; margin-top: 6px; }
.form-card .fc-sub { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.form { display: grid; gap: 14px; margin-top: 20px; }
.form .row { display: grid; gap: 14px; }
@media (min-width: 480px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 16px/1.4 var(--font); color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px;
  transition: border-color .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23625b4f' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.field.has-error input, .field.has-error select { border-color: #c0392b; }
.field .err { display: none; margin-top: 5px; font-size: 12.5px; color: #c0392b; font-weight: 600; }
.field.has-error .err { display: block; }
.form .btn-primary { min-height: 56px; font-size: 16px; margin-top: 4px; }
.form-note { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 12.5px; color: var(--muted); text-align: center; }
.form-note .icon { width: 14px; height: 14px; color: var(--ok); }
.form-alt { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-strong); text-align: center; font-size: 14px; color: var(--muted); }
.form-alt a { color: var(--accent); font-weight: 800; text-decoration: none; white-space: nowrap; }
.form-status { display: none; padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.form-status.error { display: block; background: #fdecea; color: #a0281b; }

/* --------------------------------------------------------------------------
   Bande chiffres (bloc ardoise)
   -------------------------------------------------------------------------- */
.stats { margin-top: -24px; position: relative; z-index: 2; }
.stats-inner { background: var(--dark); color: #fff; border-radius: 22px; display: grid; grid-template-columns: repeat(2, 1fr); overflow: hidden; }
.stat { padding: 22px 18px; border-right: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); }
.stat:nth-child(2n) { border-right: 0; }
.stat strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.stat strong .acc { color: var(--accent-bright); }
.stat > span { display: block; margin-top: 4px; font-size: 13px; color: rgba(255,255,255,.7); }
@media (min-width: 768px) {
  .stats-inner { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0; padding: 28px 28px; }
  .stat:nth-child(2n) { border-right: 1px solid var(--dark-line); }
  .stat:last-child { border-right: 0; }
  .stat strong { font-size: 32px; }
}

/* --------------------------------------------------------------------------
   Section urgence / problème
   -------------------------------------------------------------------------- */
.problem-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .problem-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .problem-grid { grid-template-columns: repeat(4, 1fr); } }
.problem-card { padding: 24px 22px; }
.problem-card .pi { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.problem-card .pi .icon { width: 22px; height: 22px; }
.problem-card h3 { margin-top: 16px; font-size: 17px; font-weight: 800; }
.problem-card p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.callout { margin-top: 24px; display: grid; gap: 16px; align-items: center; padding: 20px 22px; border-radius: var(--radius); background: #fff7e8; border: 1px solid #f3dfb4; }
.callout .ci { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #f5a524; color: #fff; flex-shrink: 0; }
.callout-body { display: flex; gap: 14px; align-items: flex-start; }
.callout strong { display: block; color: var(--ink); font-size: 16px; }
.callout p { margin-top: 4px; font-size: 14.5px; color: #5c4a22; }
@media (min-width: 768px) { .callout { grid-template-columns: 1fr auto; } }

/* --------------------------------------------------------------------------
   Prestations
   -------------------------------------------------------------------------- */
.presta-grid { display: grid; gap: 28px; }
@media (min-width: 1024px) { .presta-grid { grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; } }
.presta-visual { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4/3; }
.presta-visual img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .presta-visual { aspect-ratio: auto; height: 100%; min-height: 520px; position: sticky; top: 96px; } }
.presta-visual .tag { position: absolute; left: 16px; bottom: 16px; right: 16px; background: rgba(255,255,255,.95); border-radius: 14px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.presta-visual .tag .ti { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--accent); color: #fff; flex-shrink: 0; }
.presta-visual .tag strong { display: block; font-size: 14px; color: var(--ink); line-height: 1.3; }
.presta-visual .tag span { display: block; font-size: 12.5px; color: var(--muted); }
.presta-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .presta-list { grid-template-columns: 1fr 1fr; } }
.presta-item { display: flex; gap: 14px; padding: 18px; }
.presta-item .check { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: #fff; flex-shrink: 0; }
.presta-item .check .icon { width: 15px; height: 15px; }
.presta-item h3 { font-size: 15.5px; font-weight: 800; }
.presta-item p { margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.presta-cta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.presta-cta small { color: var(--muted); font-size: 13.5px; }

/* --------------------------------------------------------------------------
   Réassurance + étapes
   -------------------------------------------------------------------------- */
.why-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-card { padding: 26px 22px; position: relative; overflow: hidden; }
.why-card .wi { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--ink); color: #fff; }
.why-card .wi .icon { width: 24px; height: 24px; }
.why-card h3 { margin-top: 18px; font-size: 18px; font-weight: 800; }
.why-card p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.why-card.featured { background: var(--accent); border-color: var(--accent); }
.why-card.featured h3, .why-card.featured p { color: #fff; }
.why-card.featured p { opacity: .9; }
.why-card.featured .wi { background: #fff; color: var(--accent); }

.steps { margin-top: 56px; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 26px 24px; }
.step .num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #f5a524; color: var(--ink); font-weight: 800; font-size: 15px; }
.step h3 { margin-top: 16px; font-size: 18px; font-weight: 800; }
.step p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.steps-title { margin-top: 64px; text-align: center; }
.steps-title h3 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; }

/* --------------------------------------------------------------------------
   Proximité locale (texte + carte)
   -------------------------------------------------------------------------- */
.local-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1024px) { .local-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.local-text h2 { margin-top: 14px; font-size: clamp(26px, 3.8vw, 36px); font-weight: 800; }
.local-text p { margin-top: 14px; color: var(--muted); }
.local-text p strong { color: var(--ink); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.pill .icon { width: 14px; height: 14px; color: var(--accent); }
.local-note { margin-top: 20px; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-size: 14.5px; }
.local-note .icon { color: var(--accent); margin-top: 2px; }
.map-card { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); aspect-ratio: 4/3; position: relative; box-shadow: var(--shadow); }
.map-card iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-card .map-label { position: absolute; left: 14px; top: 14px; background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 13px; line-height: 1.35; max-width: 70%; }
.map-card .map-label strong { display: block; color: var(--ink); }
.map-card .map-label span { color: var(--muted); }

/* --------------------------------------------------------------------------
   Réalisations
   -------------------------------------------------------------------------- */
.gallery { display: grid; gap: 16px; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.shot { overflow: hidden; }
.shot .ph { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.shot .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.shot:hover .ph img { transform: scale(1.04); }
.shot .ph .lbl { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; letter-spacing: .02em; }
.shot .cap { padding: 16px 18px 18px; }
.shot .cap h3 { font-size: 16px; font-weight: 800; }
.shot .cap p { margin-top: 4px; font-size: 13.5px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Avis clients
   -------------------------------------------------------------------------- */
.reviews-head { display: grid; gap: 20px; align-items: end; margin-bottom: 32px; }
@media (min-width: 900px) { .reviews-head { grid-template-columns: 1fr auto; } }
.reviews-head h2 { margin-top: 14px; font-size: clamp(28px, 4vw, 38px); font-weight: 800; }
.reviews-head p { margin-top: 10px; color: var(--muted); }
.rating-box { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.rating-box .g-logo { width: 30px; height: 30px; }
.rating-box .score { font-size: 30px; font-weight: 800; color: var(--ink); line-height: 1; }
.rating-box .score small { font-size: 15px; color: var(--muted); font-weight: 700; }
.rating-box .meta { font-size: 12.5px; color: var(--muted); }
.rating-box .stars .icon { width: 16px; height: 16px; }
.reviews { display: grid; gap: 16px; }
@media (min-width: 640px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .reviews { grid-template-columns: repeat(4, 1fr); } }
.review { margin: 0; padding: 22px; display: flex; flex-direction: column; }
.review-top { display: flex; align-items: center; gap: 12px; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--dark); color: #fff; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.review-top strong { display: block; color: var(--ink); font-size: 15px; line-height: 1.2; }
.review-top div > span { display: block; font-size: 12.5px; color: var(--muted); }
.review-top .g-logo { margin-left: auto; }
.review .stars { margin-top: 14px; }
.review .stars .icon { width: 15px; height: 15px; }
.review blockquote { margin: 10px 0 0; font-size: 14.5px; color: var(--text); line-height: 1.6; }
.review .verified { margin-top: auto; padding-top: 14px; font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.review .verified .icon { width: 14px; height: 14px; color: var(--ok); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 800; color: var(--ink); font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-2); flex-shrink: 0; transition: transform .25s, background .2s; }
.faq summary .plus .icon { width: 16px; height: 16px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq .answer { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }
.faq-more { margin-top: 28px; text-align: center; color: var(--muted); }
.faq-more a { color: var(--accent); font-weight: 800; text-decoration: none; }

/* --------------------------------------------------------------------------
   CTA final
   -------------------------------------------------------------------------- */
.final { padding: 64px 0; }
@media (min-width: 1024px) { .final { padding: 96px 0; } }
.final-inner { position: relative; overflow: hidden; background: var(--dark); color: #fff; border-radius: 28px; padding: 48px 22px; text-align: center; }
@media (min-width: 768px) { .final-inner { padding: 72px 48px; } }
.final-inner::before { content: ""; position: absolute; inset: 0; background: var(--final-img) center/cover no-repeat; opacity: .16; }
.final-inner > * { position: relative; }
.final .eyebrow { background: rgba(244,81,30,.16); color: #ff9a74; }
.final h2 { color: #fff; margin: 16px auto 0; max-width: 760px; font-size: clamp(28px, 4.6vw, 44px); font-weight: 800; }
.final p { margin: 16px auto 0; max-width: 620px; color: rgba(255,255,255,.78); font-size: 17px; }
.final .ctas { margin-top: 30px; display: grid; gap: 12px; justify-content: center; }
@media (min-width: 560px) { .final .ctas { display: flex; flex-wrap: wrap; } }
.final .ctas .btn-primary { font-size: 17px; min-height: 60px; padding: 16px 30px; }
.final .mini { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-size: 13.5px; color: rgba(255,255,255,.72); }
.final .mini span { display: inline-flex; gap: 7px; align-items: center; }
.final .mini .icon { width: 15px; height: 15px; color: #7ef0a8; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--dark); color: rgba(255,255,255,.72); padding: 48px 0 28px; font-size: 14px; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer h3 { color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; }
.footer p { margin-top: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer li { display: flex; gap: 10px; align-items: flex-start; }
.footer li .icon { width: 16px; height: 16px; color: var(--accent-bright); margin-top: 3px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--dark-line); display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; font-size: 12.5px; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.7); }

/* --------------------------------------------------------------------------
   Barre d'appel fixe mobile
   -------------------------------------------------------------------------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(23,22,18,.08);
}
.sticky-bar .btn { min-height: 54px; padding: 12px 14px; }
.sticky-bar .sb-call { flex: 1 1 auto; font-size: 16px; }
.sticky-bar .sb-quote { flex: 0 0 auto; }
.sticky-bar .sb-call small { display: block; font-size: 11.5px; font-weight: 600; opacity: .85; }
.sticky-bar .sb-call .txt { text-align: left; line-height: 1.15; }
@media (min-width: 1024px) { .sticky-bar { display: none; } }

/* Apparition douce */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Maillage interne : autres services de la même ville
   -------------------------------------------------------------------------- */
.xlinks { display: grid; gap: 14px; }
@media (min-width: 768px) { .xlinks { grid-template-columns: repeat(2, 1fr); } }
.xlink { display: flex; align-items: center; gap: 16px; padding: 20px; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.xlink:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.xlink .xi { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.xlink .xt { flex: 1; min-width: 0; }
.xlink .xt strong { display: block; color: var(--ink); font-size: 16px; font-weight: 800; line-height: 1.3; }
.xlink .xt span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.xlink .xa { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; flex-shrink: 0; transition: background .2s; }
.xlink .xa .icon { width: 16px; height: 16px; }
.xlink:hover .xa { background: var(--accent); }
.footer nav li span[aria-current] { color: #fff; font-weight: 700; }

/* --------------------------------------------------------------------------
   Bandeau cookies (mode Consentement v2) — au-dessus de la barre d'appel mobile
   -------------------------------------------------------------------------- */
.consent {
  position: fixed; left: 12px; right: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 70;
  max-width: 560px; margin: 0 auto; padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); font-size: 14px; color: var(--text);
}
.consent p { margin: 0; line-height: 1.5; }
.consent a { color: var(--accent); font-weight: 700; }
.consent-actions { display: flex; gap: 10px; margin-top: 12px; }
.consent-actions .btn { flex: 1 1 0; min-height: 44px; padding: 10px 14px; font-size: 15px; }
@media (min-width: 1024px) { .consent { left: auto; right: 24px; bottom: 24px; margin: 0; } }
