/* Débouch'Services — page d'atterrissage Google Ads « interventions » (débouchage, PACA).
   Déclinaison de la page A de Dépann'Auto (intervention.depannauto.com), palette bleu foncé. Mobile first. */

:root {
  --bg: #f4f7fc;
  --bg-alt: #e9eff9;
  --card: #ffffff;
  --chip: #e1eafa;
  --ink: #0b1630;
  --ink-soft: #243255;
  --muted: #4d5a78;
  --line: #d6dfef;
  --navy: #0a2a66;
  --navy-deep: #061a42;
  --blue: #1458d6;
  --sky: #38b6ff;
  --blue-soft: #dbe7fb;
  --green: #22c163;
  --green-soft: #e3f7ea;
  --white: #ffffff;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px -24px rgba(6, 26, 66, .45);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 16px;
  --max: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; }
p, li, blockquote, figcaption, dd, summary { text-wrap: pretty; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
.nw { white-space: nowrap; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; font-size: 17px; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.btn-accent { background: var(--sky); color: var(--navy-deep); box-shadow: 0 10px 24px -12px rgba(29, 155, 238, .9); }
.btn-accent:hover { background: #5cc6ff; }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--white); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.brand-name { font-weight: 800; font-size: 21px; letter-spacing: -0.04em; color: var(--navy); white-space: nowrap; }
.brand-name b { color: var(--blue); font-weight: 800; }
.nav { display: none; gap: 28px; font-weight: 600; font-size: 16px; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header .phone-pill { display: none; }
.header .cta-head { min-height: 46px; padding: 0 18px; font-size: 15px; }
.cta-long { display: none; }

/* ---------- Héros (structure de la page Dépann'Auto) ---------- */
.hero { position: relative; padding: 24px 0 28px; overflow-x: clip; }
.hero .wrap { display: grid; gap: 22px; }
.badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 22px; background: var(--navy-deep); font-weight: 600; font-size: 13px; line-height: 1.3; color: #fff; }
.badge-reg { font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
@media (max-width: 480px) { .badge-reg { display: block; } }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34, 193, 99, .18); flex: none; }
.dot.live { animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 193, 99, .65); } 70%, 100% { box-shadow: 0 0 0 11px rgba(34, 193, 99, 0); } }

.hero-text { container-type: inline-size; min-width: 0; }
.hero h1 .l { display: block; white-space: nowrap; }
/* 3 lignes fixes : la plus longue (« On localise notre technicien ») doit tenir dans la colonne. */
.hero h1 { --h1-div: 14.8; margin-top: 15px; font-size: clamp(24px, 7vw, 56px); font-size: min(68px, calc(100cqi / var(--h1-div))); line-height: 1.08; letter-spacing: -0.015em; color: var(--navy-deep); }
.hero h1 .hl { color: #1d9bee; background: linear-gradient(180deg, #5cc9ff 0%, #1d9bee 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.swash { position: relative; display: inline-block; }
.swash svg { position: absolute; left: 2%; bottom: -0.22em; width: 96%; height: .26em; overflow: visible; }
.hero .lead { margin-top: 18px; font-size: 15.5px; line-height: 1.6; color: var(--muted); max-width: 35rem; }

.chips { margin-top: 21px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.chip { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 9px 10px; border-radius: 14px; background: var(--chip); font-weight: 600; font-size: 12.5px; line-height: 1.2; color: var(--ink-soft); }
.chip svg { width: 22px; height: 22px; color: var(--blue); flex: none; }
.chip strong { font-weight: 800; color: var(--ink); }

.ctas { margin-top: 21px; display: grid; gap: 10px; max-width: 35rem; }
.ctas .btn { min-height: 52px; width: 100%; }
.hero .ctas { grid-template-columns: 1fr; }
.locate-note { margin-top: 11px; font-size: 12.5px; color: var(--muted); }

.avis-mini { margin-top: 18px; display: grid; gap: 5px; width: 100%; max-width: 35rem; padding: 13px 16px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s; }
.avis-mini:hover { border-color: var(--sky); }
.avis-mini-tete { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; }
.avis-mini-tete strong { font-weight: 800; }
.stars { display: inline-flex; gap: 2px; color: #f5b301; }
.stars svg { width: 16px; height: 16px; }
.avis-mini-texte { font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.avis-mini-texte span { color: var(--muted); white-space: nowrap; }

/* Visuel : photo en forme organique, carte PACA, téléphone */
.visual { position: relative; width: 100%; aspect-ratio: 1 / .8; max-width: 640px; margin: 0 auto; }
.v-swoosh { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.v-photo { position: absolute; left: 0; top: 7%; width: 82%; height: 86%; border-radius: 46% 54% 42% 58% / 58% 46% 54% 42%; overflow: hidden; background: #b7c9e8;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .15) 0%, #000 22%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, .15) 0%, #000 22%); }
.v-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 62%; }
.v-paca { position: absolute; left: 2%; top: 4%; width: 42%; filter: drop-shadow(0 10px 18px rgba(6, 26, 66, .18)); }
.v-paca svg { width: 100%; height: auto; }

.phone { position: absolute; right: 0; top: 1%; width: 45%; aspect-ratio: 9 / 18.6; transform: rotate(5deg); transform-origin: 50% 60%; background: #101523; border-radius: 13% / 6.3%; padding: 3.2%; box-shadow: 0 30px 60px -20px rgba(6, 26, 66, .6), inset 0 0 0 2px #38405a; }
.phone-screen { position: relative; width: 100%; height: 100%; background: var(--white); border-radius: 11% / 5.4%; overflow: hidden; display: flex; flex-direction: column; font-size: clamp(7px, 2.05vw, 13px); }
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 6% 9% 0; font-weight: 700; font-size: .95em; }
.ph-island { position: absolute; top: 2.4%; left: 50%; transform: translateX(-50%); width: 34%; height: 4.2%; background: #111; border-radius: 99px; }
.ph-icons { display: flex; gap: 3px; align-items: center; }
.ph-icons i { display: block; width: 3px; background: var(--ink); border-radius: 1px; }
.ph-brand { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 7%; font-weight: 800; font-size: 1.3em; letter-spacing: -0.04em; color: var(--navy); }
.ph-brand img { width: 1.7em; height: 1.7em; border-radius: .4em; }
.ph-brand b { color: var(--blue); }
.ph-head { background: #f1f5fc; margin-top: 5%; padding: 6% 6% 5%; text-align: center; }
.ph-title { font-weight: 700; font-size: 1.12em; letter-spacing: -0.02em; }
.ph-eta { display: inline-flex; align-items: center; gap: .45em; margin-top: .6em; padding: .4em .95em; border-radius: 99px; background: var(--green-soft); color: #128a45; font-weight: 800; font-size: 1.12em; }
.ph-eta svg { width: 1.25em; height: 1.25em; }
.ph-map { position: relative; flex: 1; overflow: hidden; background: #e6edf8; }
.ph-map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-card { position: absolute; left: 5%; right: 5%; bottom: 4%; display: flex; align-items: center; gap: .7em; padding: .8em; background: var(--white); border-radius: 1.1em; box-shadow: 0 8px 22px -10px rgba(6, 26, 66, .5); }
.ph-avatar { width: 3.2em; height: 3.2em; border-radius: .8em; background: var(--blue-soft); display: grid; place-items: center; overflow: hidden; flex: none; }
.ph-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ph-who { flex: 1; min-width: 0; }
.ph-name { font-weight: 800; font-size: .95em; line-height: 1.15; letter-spacing: -0.02em; }
.ph-state { display: flex; align-items: center; gap: .4em; color: var(--muted); font-size: .9em; font-weight: 600; }
.ph-state .dot { width: .6em; height: .6em; box-shadow: none; }
.ph-call { width: 2.6em; height: 2.6em; border-radius: 50%; background: var(--sky); display: grid; place-items: center; flex: none; color: var(--navy-deep); }
.ph-call svg { width: 1.3em; height: 1.3em; }
.pin-pulse { transform-origin: center; transform-box: fill-box; animation: pinpulse 2.2s ease-out infinite; }
@keyframes pinpulse { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.route { stroke-dasharray: 2 9; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.section h2 { font-size: clamp(26px, 6.6vw, 40px); margin-bottom: 16px; line-height: 1.15; }
.intro { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 640px; }

.services { display: grid; gap: 18px; margin-top: 34px; }
.svc { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; overflow: hidden; }
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue); }
.svc-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft); color: var(--navy); margin-bottom: 14px; }
.svc-ico svg { width: 24px; height: 24px; }
.svc-img { display: block; margin: -22px -22px 16px; aspect-ratio: 16 / 10; background: var(--blue-soft); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; }
.svc h3 { font-size: 20px; margin-bottom: 10px; }
.svc p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.svc .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 800; font-size: 14.5px; color: var(--blue); }
.svc .more svg { width: 16px; height: 16px; }

.steps { display: grid; gap: 18px; margin-top: 34px; }
.step { background: var(--card); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 16px; }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Points animés (couverture) et épingle principale (Cannes) */
.pt { pointer-events: none; }
.pt-dot { fill: #38b6ff; stroke: #fff; stroke-width: 1; transition: fill 1.2s ease; }
.pt.is-red .pt-dot, .pt.is-red .pt-ring { fill: #e5484d; }
.pt-ring { fill: #38b6ff; transition: fill 1.2s ease; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ptpulse 3.2s ease-out infinite; animation-delay: var(--d, 0s); }
@keyframes ptpulse { 0% { transform: scale(.35); opacity: .55; } 70%, 100% { transform: scale(1); opacity: 0; } }
.pin-main { pointer-events: none; }
.pin-main path { fill: #38b6ff; stroke: #0a2a66; stroke-width: 5; stroke-linejoin: round; }
.pin-main circle { fill: #0a2a66; }
.paca-svg .pin-main path { stroke: #fff; }
.paca-svg .pin-main circle { fill: #fff; }
.paca-svg .pt-dot { stroke: #061a42; }

/* Carte de PACA */
.zones-grid { display: grid; gap: 22px; margin-top: 26px; align-items: start; }
.paca-map { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); border-radius: var(--radius-lg); padding: 14px; box-shadow: var(--shadow); }
.paca-svg { width: 100%; height: auto; max-height: 560px; }
.dep path { fill: #2a58b4; stroke: #061a42; stroke-width: 1.4; stroke-linejoin: round; cursor: pointer; transition: fill .15s; }
.dep:hover path, .dep:focus path { fill: #3f78e0; outline: none; }
.dep.is-on path { fill: var(--sky); }
.dep:focus-visible path { stroke: #fff; stroke-width: 2.5; }
.dep-num { fill: #fff; font: 800 26px var(--font); pointer-events: none; paint-order: stroke; stroke: rgba(6, 26, 66, .55); stroke-width: 3px; }
.dep-num.is-on { fill: var(--navy-deep); stroke: none; }
.dep-legend { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
.dep-btn { display: flex; align-items: center; gap: 8px; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 13.5px; line-height: 1.2; color: var(--navy); }
.dep-btn b { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--navy); color: #fff; font-size: 13px; }
.dep-btn.is-on { border-color: var(--blue); background: var(--blue-soft); }
.dep-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.dep-panel h3 { font-size: 24px; margin-bottom: 8px; }
.dep-panel .dep-sub { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-bottom: 18px; }
.dep-villes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.dep-villes li { padding: 7px 13px; border-radius: 999px; background: var(--bg-alt); font-weight: 700; font-size: 14px; color: var(--navy); }
.dep-actions { display: grid; gap: 10px; }
.dep-hint { color: var(--muted); }
.zones-note { margin-top: 18px; color: var(--muted); }

.faq { margin: 30px auto 0; display: grid; gap: 12px; max-width: 800px; width: 100%; }
#faq .wrap { text-align: center; }
#faq .faq { text-align: left; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.faq summary { text-wrap: balance; cursor: pointer; padding: 18px 0; font-weight: 800; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq .ans { padding: 0 0 18px; color: var(--muted); line-height: 1.6; }

.avis-piste { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 22px var(--gutter) 10px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: thin; }
.avis { flex: 0 0 min(86%, 380px); scroll-snap-align: start; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.avis blockquote { text-wrap: balance; margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); }
.avis figcaption { font-size: 14px; color: var(--muted); }
.avis figcaption strong { color: var(--ink); }
.avis-note { margin-top: 16px; font-size: 14px; }
.avis-note a { color: var(--blue); font-weight: 700; }

.final { text-align: center; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; padding: 56px var(--gutter); }
.final h2 { font-size: clamp(23px, 6.2vw, 42px); margin-bottom: 10px; }
.final p { color: #d6e2fa; max-width: 560px; margin: 0 auto 22px; }
.tel-big { display: block; margin: 18px 0 6px; font-size: clamp(30px, 8vw, 44px); font-weight: 800; text-decoration: none; letter-spacing: -0.02em; }

.footer { background: var(--navy-deep); color: #c3d0ea; padding: 36px 0 110px; font-size: 14.5px; }
.footer .wrap { display: grid; gap: 14px; }
.footer .brand-name { color: #fff; }
.footer .brand-name b { color: var(--sky); }
.footer .brand img { width: 42px; height: 42px; }
.footer a { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.linkish { background: none; border: 0; padding: 0; text-decoration: underline; color: #fff; font-size: inherit; }

.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); }
.callbar .btn { width: 100%; }

/* ---------- Bouton « Localiser » : radar pendant la recherche ---------- */
.loc-ico { position: relative; display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; }
.loc-ico svg { width: 100%; height: 100%; }
.loc-ico i { position: absolute; inset: -1px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; pointer-events: none; }
[data-locate].is-searching { position: relative; overflow: hidden; isolation: isolate; cursor: progress; }
[data-locate].is-searching .loc-ico i { animation: radar 1.5s cubic-bezier(.2, .6, .35, 1) infinite; }
[data-locate].is-searching .loc-ico i + i { animation-delay: .75s; }
[data-locate].is-searching .loc-ico svg { animation: radar-coeur 1.5s ease-in-out infinite; }
[data-locate].is-searching::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-100%); animation: balayage 1.5s ease-in-out infinite; }
@keyframes radar { 0% { transform: scale(.5); opacity: .85; } 100% { transform: scale(2.7); opacity: 0; } }
@keyframes radar-coeur { 0%, 100% { transform: scale(1); } 50% { transform: scale(.8); } }
@keyframes balayage { to { transform: translateX(100%); } }

/* ---------- Fenêtre de résultat de la localisation ---------- */
html.lm-bloque, html.lm-bloque body { overflow: hidden; }
.lm { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.lm[hidden] { display: none; }
.lm-fond { position: absolute; inset: 0; background: rgba(6, 26, 66, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: lm-fondu .25s ease; }
.lm-boite { position: relative; width: 100%; max-height: calc(100vh - 12px); max-height: calc(100dvh - 12px); overflow-y: auto; overscroll-behavior: contain; background: var(--white); border-radius: 26px 26px 0 0; padding: 10px 18px calc(20px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 60px -20px rgba(6, 26, 66, .5); animation: lm-monte .32s cubic-bezier(.2, .8, .2, 1); }
.lm-boite::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 99px; background: var(--line); margin: 0 auto 4px; }
.lm-boite:focus { outline: none; }
.lm-haut { display: flex; align-items: center; min-height: 40px; }
.lm-fermer { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg-alt); display: grid; place-items: center; flex: none; }
.lm-fermer svg { width: 18px; height: 18px; }
.lm-statut { display: flex; align-items: center; gap: 12px; }
.lm-avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; color: var(--navy-deep); }
.lm-avatar svg { width: 24px; height: 24px; }
.lm-etat { font-weight: 700; font-size: 14px; line-height: 1.3; color: var(--ink-soft); }
.lm-titre { margin-top: 14px; font-size: 24px; letter-spacing: -0.03em; }
.lm-titre:focus { outline: none; }
.lm-texte { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.lm-appel { margin-top: 16px; width: 100%; min-height: 66px; padding: 0 20px; gap: 12px; }
.lm-appel svg { width: 26px; height: 26px; }
.lm-appel-txt { display: grid; text-align: left; line-height: 1.15; min-width: 0; }
.lm-appel-txt small { font-size: 14.5px; font-weight: 700; opacity: .78; }
.lm-lien { display: block; margin: 12px auto 0; padding: 10px 14px; background: none; border: 0; font-weight: 700; color: var(--ink-soft); text-decoration: underline; }
@keyframes lm-monte { from { transform: translateY(100%); } to { transform: none; } }
@keyframes lm-apparait { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes lm-fondu { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Tablette ---------- */
@media (min-width: 560px) { .dep-legend { grid-template-columns: 1fr 1fr; } }
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .chips { gap: 12px; }
  .chip { flex-direction: row; align-items: center; padding: 10px 14px; font-size: 14.5px; }
  .hero .ctas { grid-template-columns: 1fr 1fr; }
  .ctas .btn { width: 100%; padding: 0 16px; }
  .cta-long { display: inline; }
  .cta-short { display: none; }
  .lm { align-items: center; padding: 24px; }
  .lm-boite { max-width: 460px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); border-radius: var(--radius-lg); padding: 16px 28px 28px; animation-name: lm-apparait; }
  .lm-boite::before { display: none; }
  .lm-titre { font-size: 27px; }
}
@media (min-width: 700px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .avis { flex-basis: 360px; }
}

/* ---------- Ordinateur ---------- */
@media (min-width: 1024px) {
  :root { --gutter: 32px; }
  .header .wrap { height: 78px; }
  .brand img { width: 50px; height: 50px; }
  .brand-name { font-size: 28px; }
  .nav { display: flex; }
  .header .phone-pill { display: inline-flex; min-height: 50px; padding: 0 20px; font-size: 18px; }
  .header .cta-head { min-height: 50px; padding: 0 22px; font-size: 16px; }
  .header-actions { gap: 18px; }
  .hero { padding: 38px 0 44px; }
  .hero h1 { margin-top: 20px; --h1-div: 15.4; }
  .hero .lead { font-size: 17px; margin-top: 24px; }
  .chips { margin-top: 28px; }
  .ctas { margin-top: 28px; }
  .locate-note { margin-top: 14px; }
  .avis-mini { margin-top: 24px; padding: 17px 18px; gap: 6px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); align-items: center; gap: 24px; }
  .chips { grid-template-columns: repeat(3, auto); justify-content: start; }
  .chip { font-size: 15px; padding: 10px 14px; }
  .chip svg { width: 30px; height: 30px; }
  .btn, .ctas .btn { min-height: 58px; font-size: 18px; padding: 0 30px; }
  .visual { max-width: none; aspect-ratio: 1 / .76; }
  .phone { width: 36%; top: 0; right: -1%; }
  .v-photo { width: 78%; top: 6%; height: 88%; }
  .v-paca { left: 3%; top: 4%; width: 36%; }
  .phone-screen { font-size: clamp(7px, .84vw, 12px); }
  .section { padding: 64px 0; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .callbar { display: none; }
  .footer { padding-bottom: 36px; }
  .avis-piste { margin: 0; padding-left: 0; padding-right: 0; }
  .zones-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px 36px; }
  .paca-map { grid-column: 1; grid-row: 1 / span 2; }
  .dep-legend { grid-column: 2; grid-row: 1; margin-top: 0; grid-template-columns: 1fr 1fr; }
  .dep-panel { grid-column: 2; grid-row: 2; }
  .dep-num { font-size: 22px; }
}
@media (max-width: 599px) { .phone { width: 42%; right: -2%; } .brand-name { font-size: 18px; } .header .cta-head { padding: 0 14px; } }
@media (max-width: 359px) {
  :root { --gutter: 14px; }
  .brand-name { font-size: 18px; }
  .brand img { width: 34px; height: 34px; }
  .btn { padding: 0 16px; font-size: 15px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Vidéos d'interventions (chargées à la demande, image entière : ratio réel de chaque vidéo) ---------- */
#videos .wrap { text-align: center; }
#videos .intro { margin-left: auto; margin-right: auto; }
.videos { display: grid; gap: 28px; justify-items: center; margin-top: 34px; }
.vid { margin: 0; width: min(100%, 340px); }
.vid-cadre { border-radius: 26px; overflow: hidden; background: #040f2b; box-shadow: var(--shadow); border: 1px solid var(--line); }
.vid-a .vid-cadre { aspect-ratio: 576 / 720; }
.vid-b .vid-cadre { aspect-ratio: 480 / 854; }
.vid-cadre video { display: block; width: 100%; height: 100%; object-fit: contain; background: #040f2b; }
.vid figcaption { margin-top: 14px; text-align: center; font-weight: 700; color: var(--ink-soft); }
.videos-cta { margin-top: 36px; text-align: center; }
@media (min-width: 700px) {
  .videos { display: flex; justify-content: center; align-items: flex-start; gap: 40px; }
  .vid { width: auto; }
  .vid-cadre { height: 460px; }
  .vid-a .vid-cadre { width: 368px; }
  .vid-b .vid-cadre { width: 258px; }
}

.lm-delai { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--blue-soft); color: var(--navy); font-weight: 800; font-size: 15px; line-height: 1.4; }
.lm-delai[hidden] { display: none; }

/* ---------- Fenêtre « Localiser » : recherche animée, résultat, appel, rappel ---------- */
.lm-boite { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.radar { position: relative; width: 210px; height: 210px; margin: 6px auto 4px; }
.radar i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--sky); opacity: 0; animation: radar-onde 2.4s ease-out infinite; }
.radar i:nth-child(2) { animation-delay: .8s; }
.radar i:nth-child(3) { animation-delay: 1.6s; }
.radar::before { content: ""; position: absolute; inset: 30px; border-radius: 50%; background: radial-gradient(circle, rgba(56, 182, 255, .28), rgba(56, 182, 255, .06) 70%, transparent 71%); }
.radar b { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--sky); border: 1.5px solid #fff; opacity: 0; transform: rotate(var(--a)) translateX(var(--r)); animation: radar-point 3s ease-out var(--d) infinite; }
.radar-pin { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -26px 0 0 -22px; color: var(--navy); }
.radar-pin svg { width: 100%; height: 100%; fill: var(--sky); stroke: var(--navy); stroke-width: 1.6; }
@keyframes radar-onde { 0% { transform: scale(.25); opacity: .8; } 100% { transform: scale(1); opacity: 0; } }
@keyframes radar-point { 0%, 8% { opacity: 0; transform: rotate(var(--a)) translateX(calc(var(--r) * .4)) scale(.3); } 30%, 85% { opacity: 1; transform: rotate(var(--a)) translateX(var(--r)) scale(1); } 100% { opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .radar i { animation: none; opacity: .25; transform: none; } .radar i:nth-child(2) { inset: 28px; } .radar i:nth-child(3) { inset: 56px; } .radar b { animation: none; opacity: 1; } }
.lm-rech { margin-top: 10px; text-align: center; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--navy-deep); }
.lm-commune { margin-top: 8px; text-align: center; font-weight: 700; font-size: 16px; color: var(--blue); }
.lm-commune[hidden], .lm-sous[hidden], .lm-texte[hidden], .lm-vue[hidden] { display: none; }
.lm-titre { margin-top: 6px; font-size: clamp(25px, 6.6vw, 31px); line-height: 1.15; text-wrap: balance; color: var(--navy-deep); }
.lm-sous { margin-top: 10px; font-weight: 700; font-size: 15px; line-height: 1.5; color: var(--muted); }
.lm-texte { margin-top: 12px; }
.lm-appel { margin-top: 22px; min-height: 84px; padding: 0 22px; border-radius: 22px; }
.lm-appel svg { width: 30px; height: 30px; }
.lm-appel-txt > span { font-size: 19px; }
.lm-appel-txt small { font-size: clamp(24px, 7vw, 30px); font-weight: 800; opacity: 1; letter-spacing: -0.01em; white-space: nowrap; }
.lm-ou { display: flex; align-items: center; gap: 12px; margin: 24px 0 14px; color: var(--muted); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.lm-ou::before, .lm-ou::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.lm-form { display: grid; gap: 14px; }
.lm-form .f-row label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 5px; }
.lm-form .f-row input { width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.lm-form .f-row input:focus { border-color: var(--blue); }
.lm-form .f-row input[aria-invalid="true"] { border-color: #b42318; background: #fff6f5; }
.f-err { margin-top: 5px; color: #b42318; font-size: 14px; font-weight: 600; line-height: 1.35; }
.f-err[hidden] { display: none; }
.lm-valider { width: 100%; min-height: 54px; background: var(--navy); color: #fff; }
.lm-valider:hover { background: var(--navy-deep); }
.lm-valider[disabled] { opacity: .6; cursor: wait; }
.f-msg { font-size: 14.5px; font-weight: 700; line-height: 1.4; }
.f-msg:empty { display: none; }
.f-msg.ko { color: #b42318; }
.f-msg a { color: var(--blue); }
.lm-note { font-size: 12.5px; color: var(--muted); }
.lm-ok { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--green-soft); color: #14532d; margin-top: 4px; }
.lm-ok svg { width: 30px; height: 30px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Fenêtre « Localiser » : sans barre de défilement visible, titre lumineux, rappel sur une ligne ---------- */
.lm-boite { scrollbar-width: none; -ms-overflow-style: none; }
.lm-boite::-webkit-scrollbar { display: none; }
.lm-hl { color: #1d9bee; background: linear-gradient(100deg, #1d9bee 0%, #38bdf8 38%, #d4f1ff 50%, #38bdf8 62%, #1d9bee 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: lm-reflet 2.5s ease-in-out infinite; }
@keyframes lm-reflet { 0% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
@media (prefers-reduced-motion: reduce) { .lm-hl { animation: none; background: none; -webkit-text-fill-color: #1d9bee; color: #1d9bee; } }
@media (min-width: 600px) {
  .lm-boite { max-width: 540px; padding: 10px 26px 22px; }
  .lm-haut { min-height: 34px; }
  .lm-fermer { width: 36px; height: 36px; }
  .lm-titre { margin-top: 0; font-size: 27px; line-height: 1.14; }
  .lm-sous { margin-top: 8px; font-size: 14.5px; }
  .lm-appel { margin-top: 16px; min-height: 74px; }
  .lm-appel-txt > span { font-size: 17px; }
  .lm-appel-txt small { font-size: 26px; }
  .lm-ou { margin: 16px 0 10px; }
  .lm-form { grid-template-columns: 1fr 1fr; gap: 10px 12px; }
  .lm-form .lm-valider, .lm-form .f-msg, .lm-form .lm-note { grid-column: 1 / -1; }
  .lm-form .f-row label { margin-bottom: 3px; }
  .lm-form .f-row input { height: 46px; }
  .lm-valider { min-height: 48px; }
  .lm-note { font-size: 12px; }
}
@media (max-width: 599px) { .lm-titre { font-size: 26px; } }

/* ---------- Les Compagnons de l'Assainissement (21/11/2026) : logo complet dans l'en-tête, nom long ---------- */
.header .brand-lcda img { width: auto; height: 40px; border-radius: 0; }
@media (min-width: 1024px) { .header .brand-lcda img { height: 50px; } }
@media (max-width: 380px) { .header .brand-lcda img { height: 30px; } }
.ph-brand { font-size: .92em; line-height: 1.1; text-align: left; }
.ph-brand img { border-radius: 50%; }
.ph-brand span { display: block; }
.ph-brand b { display: block; }
.footer .brand-name { white-space: normal; }
.footer .brand img, .ph-avatar img { border-radius: 50%; }
.nw { white-space: nowrap; }
