/* Ambulance H24 — feuille de style unique, sans police web ni framework */
:root {
  --navy: #0b1f3a;
  --navy-2: #13305a;
  --red: #d7262e;
  --red-d: #b51d24;
  --wa: #0f7a40;
  --ink: #16202e;
  --muted: #4d5b6e;
  --line: #dde4ee;
  --bg: #f4f7fb;
  --white: #fff;
  --r: 14px;
  --shadow: 0 1px 2px rgb(11 31 58 / 6%), 0 8px 24px rgb(11 31 58 / 8%);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.65 var(--font); color: var(--ink); background: var(--white); }
img, svg { max-width: 100%; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); margin: 0 0 .5em; font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 .6em; font-weight: 800; }
h3 { font-size: 1.2rem; margin: 1.4em 0 .4em; font-weight: 700; }
p, ul, ol { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; vertical-align: -0.2em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--white); padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* Barre d'urgence */
.topbar { background: var(--navy); color: #c9d6ea; font-size: .86rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.topbar p { margin: 0; }
.topbar a { color: var(--white); font-weight: 700; }
.topbar strong { color: var(--white); }
@media (max-width: 720px) { .topbar-r { display: none; } }

/* En-tête */
.header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 96%); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.logo-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--red); color: var(--white); font-weight: 900; font-size: .9rem; letter-spacing: -.02em; }
.logo-txt { font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.logo-txt b { color: var(--red); margin-left: 2px; }
.header-nav { margin-left: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .nav summary { padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .96rem; color: var(--ink); text-decoration: none; cursor: pointer; }
.nav a:hover, .nav summary:hover, .nav a[aria-current] { background: var(--bg); color: var(--navy); }
.nav-drop { position: relative; }
.nav-drop summary { list-style: none; }
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop summary::after { content: "▾"; margin-left: 6px; font-size: .8em; }
.nav-drop-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); display: grid; }
.menu { display: none; }
@media (max-width: 980px) {
  .header-nav { display: none; }
  .menu { display: block; margin-left: auto; }
  .menu > summary { list-style: none; display: grid; gap: 5px; padding: 10px; cursor: pointer; }
  .menu > summary::-webkit-details-marker { display: none; }
  .menu > summary span { display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; }
  .menu[open] .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: 80vh; overflow: auto; }
  .menu .nav-drop-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .header-call { display: none; }
}

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 12px; font-weight: 800; font-size: 1.02rem; text-decoration: none; line-height: 1.2; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-call { background: var(--red); color: var(--white); box-shadow: 0 6px 18px rgb(215 38 46 / 30%); }
.btn-call:hover { background: var(--red-d); color: var(--white); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: #0b6a37; color: var(--white); }
.btn-ghost { background: var(--white); color: var(--navy); border: 2px solid var(--line); }
.btn-sm { padding: 10px 16px; font-size: .95rem; margin-left: 8px; }

/* Fil d'Ariane */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 16px 0 0; margin: 0; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); background:
  radial-gradient(circle at 85% 20%, rgb(215 38 46 / 9%), transparent 40%),
  linear-gradient(180deg, var(--bg), var(--white)); }
.hero::after { content: ""; position: absolute; right: -60px; top: 40px; width: 360px; height: 360px; opacity: .06; pointer-events: none;
  background: conic-gradient(from 90deg at 50% 50%, var(--navy) 0 0) center / 33.3% 100% no-repeat, conic-gradient(var(--navy) 0 0) center / 100% 33.3% no-repeat; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 700; font-size: .88rem; color: var(--navy); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #18a957; box-shadow: 0 0 0 4px rgb(24 169 87 / 18%); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0; list-style: none; font-weight: 600; font-size: .95rem; color: var(--navy); }
.hero-trust li { display: flex; align-items: center; gap: 6px; }
.hero-trust .ico { color: #18a957; }
.hero-card { background: var(--navy); color: #d5e0f0; border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.hero-card p.k { color: var(--white); font-size: 1.25rem; font-weight: 800; margin-bottom: 6px; }
.hero-card ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 12px; }
.hero-card li { display: flex; gap: 10px; }
.hero-card li .ico { color: #ff6b70; margin-top: 3px; }
.hero-card .btn { width: 100%; }
.hero-card small { display: block; margin-top: 12px; color: #9fb1cc; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Sections */
.section { padding: clamp(48px, 7vw, 84px) 0; }
.section.alt { background: var(--bg); }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.prose { max-width: 780px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; gap: 24px; } }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: box-shadow .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); border-color: #c5d2e3; }
.card h3 { margin-top: 14px; }
.card h3 a { text-decoration: none; color: var(--navy); }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { color: var(--muted); margin: 0; }
.card-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #fdecec; color: var(--red); }
.card-ico .ico { width: 26px; height: 26px; }
.more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--red); }

.checks { list-style: none; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; }
.checks .ico { color: #18a957; margin-top: 4px; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; list-style: none; padding: 0; }
.steps li { counter-increment: s; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 800; margin-bottom: 12px; }
.steps h3 { margin-top: 0; }
.steps p { margin: 0; color: var(--muted); }

.zones { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.zones li { padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .93rem; }

.note { border-left: 4px solid var(--red); background: #fff6f6; padding: 16px 20px; border-radius: 0 var(--r) var(--r) 0; }
.note p:last-child { margin: 0; }

table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .97rem; background: var(--white); }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg); color: var(--navy); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.table-wrap table { margin: 0; }

/* FAQ */
.faq-item { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; background: var(--white); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--red); font-weight: 700; }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary h2, .faq-item summary h3 { display: inline; margin: 0; font-size: 1.07rem; }
.faq-a { padding: 0 20px 6px; color: var(--muted); }

/* Bandeau d'appel */
.cta-band { background: var(--navy); color: #cfdbec; padding: 44px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-title { color: var(--white); font-size: 1.6rem; font-weight: 800; margin: 0 0 4px; }
.cta-in p { margin: 0; max-width: 56ch; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Pied de page */
.footer { background: #071528; color: #a9b8ce; font-size: .95rem; padding: 56px 0 90px; }
.footer a { color: #dbe5f3; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 32px; }
.footer-brand { color: var(--white); font-weight: 800; font-size: 1.2rem; margin-bottom: 8px; }
.footer-h { color: var(--white); font-weight: 700; margin-bottom: 10px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.footer address { font-style: normal; line-height: 2; }
.footer-bottom { border-top: 1px solid #1c2c45; margin-top: 32px; padding-top: 20px; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Barre d'appel mobile */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1.4fr 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(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgb(11 31 58 / 10%); }
  .mobile-bar .btn { padding: 13px 10px; }
  body { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.section:not(.alt) + .section:not(.alt) { padding-top: 0; }
@media (max-width: 980px) { .header .header-call { display: none; } }
@media (max-width: 900px) { .hero::after { display: none; } }
