/* =============================================================================
   Grumel Dépannage — Feuille de style principale
   Design system maison (sans framework) optimisé Core Web Vitals.
   Palette : navy #0B2239 · jaune #FFB200 · rouge #E63946 · clair #F5F7FA
   ========================================================================== */

/* ---------- Variables ---------------------------------------------------- */
:root {
  --navy:        #0B2239;
  --navy-700:    #13314f;
  --navy-600:    #1c4063;
  --yellow:      #FFB200;
  --yellow-600:  #e6a000;
  --red:         #E63946;
  --red-600:     #cf2c39;
  --bg:          #F5F7FA;
  --white:       #ffffff;
  --ink:         #0B2239;
  --muted:       #5b6b7d;
  --line:        #e3e8ef;
  --line-2:      #d6deea;

  --radius:      14px;
  --radius-lg:   22px;
  --radius-sm:   9px;

  --shadow-sm:   0 1px 2px rgba(11,34,57,.06), 0 1px 3px rgba(11,34,57,.08);
  --shadow:      0 6px 18px rgba(11,34,57,.08), 0 2px 6px rgba(11,34,57,.05);
  --shadow-lg:   0 24px 60px rgba(11,34,57,.16);
  --shadow-yellow: 0 10px 24px rgba(255,178,0,.35);

  --container:   1180px;
  --gut:         clamp(16px, 4vw, 28px);

  --ff-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 76px;
}

/* ---------- Reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--ff-head); line-height: 1.15; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.5rem); }
h3 { font-size: 1.22rem; }
p  { color: var(--muted); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gut); }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Icons -------------------------------------------------------- */
.icon    { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 19px; height: 19px; flex: none; }
.icon-xs { width: 15px; height: 15px; flex: none; }
.icon-star { width: 18px; height: 18px; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  --b-bg: var(--navy); --b-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--b-bg); color: var(--b-fg);
  font-family: var(--ff-head); font-weight: 600; font-size: .98rem;
  padding: .8em 1.4em; border: 2px solid transparent; border-radius: 999px;
  line-height: 1; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--call   { --b-bg: var(--red); box-shadow: 0 8px 20px rgba(230,57,70,.32); }
.btn--call:hover { --b-bg: var(--red-600); }
.btn--accent { --b-bg: var(--yellow); --b-fg: var(--navy); box-shadow: var(--shadow-yellow); }
.btn--accent:hover { --b-bg: var(--yellow-600); }
.btn--light  { --b-bg: #fff; --b-fg: var(--navy); box-shadow: var(--shadow-sm); }
.btn--ghost  { --b-bg: transparent; --b-fg: var(--navy); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--bg); }
.btn--ghost-light { --b-bg: transparent; --b-fg: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); }
.btn--sm { padding: .6em 1em; font-size: .9rem; }
.btn--lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- Topbar ------------------------------------------------------- */
.topbar { background: var(--navy); color: #cfd8e3; font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; gap: 22px; min-height: 38px; justify-content: flex-end; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.topbar__item:first-child { margin-right: auto; }
.topbar__rating { color: #fff; }
.topbar__rating strong { color: var(--yellow); }
.topbar__rating:hover { color: var(--yellow); }
@media (max-width: 720px) {
  .topbar__inner { justify-content: center; }
  .topbar__item:first-child, .topbar__hours { display: none; }
}

/* ---------- Header / Nav ------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header.is-scrolled { box-shadow: var(--shadow); }
.header__inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo { border-radius: 10px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--ff-head); font-weight: 800; font-size: 1.18rem; color: var(--navy); }
.brand__tag  { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav__close { display: none; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--ff-head); font-weight: 600; font-size: .96rem; color: var(--navy);
  padding: .55em .7em; border-radius: 8px; position: relative;
}
.nav__link:hover { background: var(--bg); }
.nav__link.is-active { color: var(--red); }
.nav__caret { transition: transform .2s; }

.nav__has-sub { position: relative; }
.nav__sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: .18s ease;
}
.nav__has-sub:hover .nav__sub,
.nav__has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__has-sub:hover .nav__caret { transform: rotate(90deg); }
.nav__sub a { display: block; padding: .6em .8em; border-radius: 8px; font-size: .92rem; font-weight: 500; color: var(--navy); }
.nav__sub a:hover { background: var(--bg); color: var(--red); }

.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__cta .btn--call { display: none; }

.header__actions { display: flex; align-items: center; gap: 10px; }
.header__call { display: none; }
.nav__toggle { display: none; background: var(--navy); color: #fff; border: none; border-radius: 10px; padding: 9px; }
.nav__backdrop { position: fixed; inset: 0; background: rgba(11,34,57,.5); z-index: 90; }

/* ---------- Sections ----------------------------------------------------- */
section { scroll-margin-top: var(--header-h); }
.section { padding: clamp(48px, 7vw, 92px) 0; }
.section--bg { background: var(--bg); }
.section--navy { background: var(--navy); color: #d7e0ea; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section__head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 52px); }
.section__head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-head); font-weight: 700; font-size: .76rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--yellow); }
.section__head--center .eyebrow::before { display: none; }
.section__lead { font-size: 1.1rem; margin-top: 14px; }

/* ---------- Hero --------------------------------------------------------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1100px 500px at 78% -10%, rgba(255,178,0,.16), transparent 60%),
    radial-gradient(700px 400px at 0% 110%, rgba(28,64,99,.7), transparent 60%);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px);
  align-items: center; padding: clamp(44px, 6vw, 86px) 0 clamp(52px, 6vw, 92px);
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  padding: 8px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; margin-bottom: 22px;
}
.hero__badge .stars { transform: translateY(1px); }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--yellow); }
.hero__sub { color: #cfdae6; font-size: 1.16rem; margin: 18px 0 28px; max-width: 36ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); }
.hero__trust li { display: flex; align-items: center; gap: 9px; font-size: .92rem; color: #dbe5ef; font-weight: 500; }
.hero__trust svg { color: var(--yellow); }
.hero__media { position: relative; }
.hero__img {
  width: 100%; aspect-ratio: 16/11; object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.1);
}
.hero__chip {
  position: absolute; left: -18px; bottom: 26px; background: #fff; color: var(--navy);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px 18px;
  display: flex; align-items: center; gap: 12px; max-width: 260px;
}
.hero__chip .hero__chip-ico { background: var(--yellow); color: var(--navy); border-radius: 12px; padding: 9px; }
.hero__chip strong { display: block; font-family: var(--ff-head); }
.hero__chip span { font-size: .82rem; color: var(--muted); }

/* ---------- Réassurance -------------------------------------------------- */
.reassure { background: var(--yellow); }
.reassure__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.reassure__item {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 14px; color: var(--navy); font-family: var(--ff-head); font-weight: 700; font-size: 1rem;
  text-align: center;
}
.reassure__item svg { color: var(--navy); }
.reassure__item + .reassure__item { border-left: 1px solid rgba(11,34,57,.14); }
@media (max-width: 760px) {
  .reassure__grid { grid-template-columns: repeat(2, 1fr); }
  .reassure__item:nth-child(2n) { border-left: 1px solid rgba(11,34,57,.14); }
  .reassure__item:nth-child(n+3) { border-top: 1px solid rgba(11,34,57,.14); }
}

/* ---------- Stat / chips ------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.section--navy .stat { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.stat__num { font-family: var(--ff-head); font-weight: 800; font-size: 2.1rem; color: var(--yellow); line-height: 1; }
.stat__label { margin-top: 6px; font-size: .95rem; color: var(--muted); }
.section--navy .stat__label { color: #c4d0dd; }

/* ---------- Cards / services grid --------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px){ .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .grid-4 { grid-template-columns: 1fr; } }

/* Annuaire des zones (région > département > ville) */
.zone-dept { margin-bottom: 24px; }
.zone-dept__title { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; color: var(--navy); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.zone-dept__title svg { color: var(--red); }
.zone-city-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 32px; }
.zone-city { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.zone-city__name { font-family: var(--ff-head); font-weight: 700; color: var(--navy); min-width: 150px; }
.zone-city__links { font-size: .85rem; color: var(--muted); }
.zone-city__links a { color: var(--red); }
.zone-city__links a:hover { text-decoration: underline; }
@media (max-width: 720px){ .zone-city-list { grid-template-columns: 1fr; } }

.s-card {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  position: relative; overflow: hidden;
}
.s-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--yellow), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.s-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.s-card:hover::before { transform: scaleX(1); }
.s-card__ico { display: inline-flex; padding: 13px; border-radius: 14px; background: rgba(11,34,57,.06); color: var(--navy); }
.s-card:hover .s-card__ico { background: var(--yellow); }
.s-card h3 { margin-top: 4px; }
.s-card h3 a::after { content: ""; position: absolute; inset: 0; }
.s-card p { flex: 1; font-size: .96rem; }
.s-card__more { display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-head); font-weight: 600; font-size: .92rem; color: var(--red); }
.s-card:hover .s-card__more svg { transform: translateX(4px); }
.s-card__more svg { transition: transform .2s; }

/* ---------- Transport national ------------------------------------------ */
.transport__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,60px); align-items: center; }
.transport__img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 16/11; object-fit: cover; width: 100%; }
.transport__list { display: grid; gap: 14px; margin-top: 24px; }
.transport__list li { display: flex; gap: 12px; align-items: flex-start; }
.transport__list svg { color: var(--yellow); margin-top: 3px; }
.transport__list strong { color: #fff; font-family: var(--ff-head); }

/* ---------- Feature / why-us -------------------------------------------- */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__ico { flex: none; display: inline-flex; padding: 12px; border-radius: 12px; background: var(--yellow); color: var(--navy); }
.feature h3 { font-size: 1.08rem; margin-bottom: 4px; }
.feature p { font-size: .95rem; }

/* ---------- Split / map -------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,4vw,48px); align-items: center; }
.map-embed { border: 0; width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.checklist { display: grid; gap: 12px; margin-top: 22px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.checklist svg { flex: none; color: #fff; background: var(--red); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 2px; }

/* ---------- Reviews ------------------------------------------------------ */
.reviews { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px;
}
.review__quote { color: var(--yellow); }
.review p { color: var(--ink); font-size: 1rem; flex: 1; }
.review__author { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }
.review__name { font-family: var(--ff-head); font-weight: 700; color: var(--navy); }

/* Étoiles */
.stars { display: inline-flex; gap: 1px; }
.star { color: rgba(11,34,57,.18); }
.star--on { color: var(--yellow); }
.star--half { color: var(--yellow); opacity: .55; }
.hero__badge .star { color: rgba(255,255,255,.3); }
.hero__badge .star--on { color: var(--yellow); }

/* ---------- FAQ ---------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left; padding: 18px 20px; background: none; border: none;
  font-family: var(--ff-head); font-weight: 600; font-size: 1.04rem; color: var(--navy);
}
.faq__q svg { flex: none; transition: transform .25s; color: var(--red); }
.faq__item.is-open .faq__q svg { transform: rotate(90deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a-inner { padding: 0 20px 20px; color: var(--muted); }
.faq__a-inner a { color: var(--red); text-decoration: underline; }

/* ---------- CTA band ----------------------------------------------------- */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-600)); color: #fff; border-radius: var(--radius-lg); padding: clamp(30px,5vw,56px); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(255,178,0,.25), transparent 70%); }
.cta-band__inner { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfdae6; margin-top: 8px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Breadcrumb --------------------------------------------------- */
.breadcrumb { font-size: .85rem; color: var(--muted); padding: 16px 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--line-2); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb [aria-current] { color: var(--navy); font-weight: 600; }

/* ---------- Page hero (interior) ---------------------------------------- */
.page-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 360px at 85% -20%, rgba(255,178,0,.16), transparent 60%); }
.page-hero__inner { position: relative; z-index: 2; padding: clamp(30px,4vw,56px) 0 clamp(40px,5vw,64px); max-width: 820px; }
.page-hero .breadcrumb { color: #b9c6d6; }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb [aria-current] { color: #fff; }
.page-hero .breadcrumb li:not(:last-child)::after { color: rgba(255,255,255,.3); }
.page-hero h1 { color: #fff; }
.page-hero__lead { color: #cfdae6; font-size: 1.15rem; margin-top: 16px; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Prose / article content ------------------------------------- */
.prose p { margin-bottom: 1em; color: #44515f; }
.prose h2 { margin: 1.4em 0 .5em; }
.prose h3 { margin: 1.2em 0 .4em; }
.prose a { color: var(--red); text-decoration: underline; }
.prose strong { color: var(--navy); }
.prose ul { display: grid; gap: 10px; margin: 1em 0; }
.prose ul li { display: flex; gap: 10px; align-items: flex-start; color: #44515f; }
.prose ul li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--yellow); }

/* ---------- Two-column layout (service/zone detail) --------------------- */
.layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px,4vw,52px); align-items: start; }
.aside { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 20px; }
.aside__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.aside__card--navy { background: var(--navy); color: #cfdae6; border-color: transparent; }
.aside__card--navy h3 { color: #fff; }
.aside__card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.aside__phone { font-family: var(--ff-head); font-weight: 800; font-size: 1.6rem; color: var(--yellow); display: inline-flex; align-items: center; gap: 10px; margin: 8px 0 14px; }

/* ---------- Prestations grid (service detail) -------------------------- */
.presta { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 8px; }
.presta__item { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.presta__item h3 { display: flex; align-items: center; gap: 8px; font-size: 1.02rem; margin-bottom: 6px; }
.presta__item h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--yellow); flex: none; }
.presta__item p { font-size: .93rem; }

/* ---------- Steps -------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow-sm); position: relative; }
.step::before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--yellow); font-family: var(--ff-head); font-weight: 800; margin-bottom: 12px; }
.step h3 { font-size: 1.02rem; margin-bottom: 4px; color: var(--navy); }
.step p { font-size: .9rem; }

/* ---------- Zone / chips list ------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; font-size: .9rem; font-weight: 500; color: var(--navy); box-shadow: var(--shadow-sm); transition: .15s; }
.chip:hover { border-color: var(--yellow); transform: translateY(-2px); color: var(--red); }
.chip svg { color: var(--red); }

/* ---------- Forms -------------------------------------------------------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--ff-head); font-weight: 600; font-size: .9rem; color: var(--navy); }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 12px 14px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(11,34,57,.08); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--red); }
.field__err { color: var(--red); font-size: .82rem; display: none; }
.field--error .field__err { display: block; }
.form__check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.form__check input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.form__check a { color: var(--red); text-decoration: underline; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: .82rem; color: var(--muted); }

.alert { border-radius: var(--radius); padding: 16px 18px; font-size: .96rem; display: flex; gap: 12px; align-items: flex-start; }
.alert--ok   { background: #e7f7ee; color: #166c3b; border: 1px solid #b6e6c9; }
.alert--err  { background: #fdeaec; color: #b3232f; border: 1px solid #f6c4c9; }
.alert svg { flex: none; margin-top: 2px; }

/* ---------- Footer ------------------------------------------------------- */
.footer { background: var(--navy); color: #aebcca; padding-top: clamp(44px,6vw,72px); font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 38px; padding-bottom: 44px; }
.brand--footer { gap: 10px; margin-bottom: 14px; }
.brand--footer .brand__name { color: #fff; }
.footer__pitch { color: #9fb0c1; max-width: 32ch; }
.footer__rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; color: #cdd9e5; font-size: .85rem; }
.footer__rating strong { color: #fff; }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a { padding: 6px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: .82rem; }
.footer__social a:hover { background: rgba(255,255,255,.1); color: #fff; }
.footer__title { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a:hover { color: var(--yellow); }
.footer__contact { display: grid; gap: 12px; font-style: normal; margin-bottom: 18px; }
.footer__contact a, .footer__contact span { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact a:hover { color: var(--yellow); }
.footer__contact svg { color: var(--yellow); margin-top: 2px; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; }
.footer__bar-inner { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: .82rem; color: #8fa1b3; }
.footer__legal { display: flex; gap: 18px; }
.footer__legal a:hover { color: var(--yellow); }

/* ---------- Conversion : barre mobile + WhatsApp + rappel --------------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; grid-template-columns: 1.5fr 1fr; gap: 1px;
  background: var(--line-2); box-shadow: 0 -6px 22px rgba(11,34,57,.22);
}
.mobile-cta a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  padding: 9px 4px 8px; background: #fff; color: var(--navy);
  font-family: var(--ff-head); font-weight: 700; font-size: .72rem; line-height: 1;
}
.mobile-cta a svg { width: 21px; height: 21px; }
.mobile-cta .mc-call  { background: var(--red); color: #fff; }
.mobile-cta .mc-wa    { background: #25D366; color: #fff; }
.mobile-cta .mc-devis { background: var(--yellow); color: var(--navy); }

.wa-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  display: inline-flex; align-items: center; gap: 9px;
  background: #25D366; color: #fff; padding: 13px 17px; border-radius: 999px;
  box-shadow: 0 12px 28px rgba(37,211,102,.42); font-family: var(--ff-head); font-weight: 700;
  transition: transform .15s ease;
}
.wa-fab:hover { transform: translateY(-2px); }
.wa-fab svg { width: 22px; height: 22px; }

/* Réassurance compacte sous les CTA */
.cta-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; padding: 0; }
.cta-trust li { display: flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 600; color: #dbe5ef; }
.cta-trust svg { color: var(--yellow); width: 17px; height: 17px; }
.cta-trust--light li { color: var(--muted); }

/* Bloc « être rappelé » */
.callback { background: linear-gradient(135deg, var(--navy), var(--navy-600)); color: #fff; border-radius: var(--radius-lg); padding: clamp(26px,4vw,44px); position: relative; overflow: hidden; }
.callback::after { content: ""; position: absolute; right: -50px; top: -50px; width: 240px; height: 240px; background: radial-gradient(circle, rgba(255,178,0,.22), transparent 70%); }
.callback__in { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px,3vw,40px); align-items: center; }
.callback h2 { color: #fff; }
.callback p { color: #cfdae6; margin-top: 8px; }
.callback__or { color: #cfdae6; font-size: .9rem; margin-top: 14px; }
.callback__or a { color: var(--yellow); font-family: var(--ff-head); font-weight: 700; text-decoration: none; }
.callback__form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.callback__form .field--full { grid-column: 1 / -1; }
.callback__form input { font: inherit; font-size: 1rem; padding: 13px 14px; border: 1.5px solid transparent; border-radius: var(--radius-sm); width: 100%; }
.callback__form input:focus { outline: none; box-shadow: 0 0 0 4px rgba(255,178,0,.35); }
.callback__note { grid-column: 1/-1; font-size: .78rem; color: #aebccd; margin: 2px 0 0; }
.callback__note a { color: #cfdae6; text-decoration: underline; }
@media (max-width: 760px){ .callback__in { grid-template-columns: 1fr; } }

/* ---------- FAB ---------------------------------------------------------- */
.fab-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  display: none; align-items: center; gap: 10px;
  background: var(--red); color: #fff; padding: 14px; border-radius: 999px;
  box-shadow: 0 12px 28px rgba(230,57,70,.45); animation: fabpulse 2.4s infinite;
}
.fab-call__label { font-family: var(--ff-head); font-weight: 700; padding-right: 6px; }
@keyframes fabpulse { 0%,100% { box-shadow: 0 12px 28px rgba(230,57,70,.45); } 50% { box-shadow: 0 12px 28px rgba(230,57,70,.45), 0 0 0 12px rgba(230,57,70,0); } }

/* ---------- Scroll reveal ------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
  .fab-call { animation: none; }
}

/* ---------- Utilities ---------------------------------------------------- */
.mt-0 { margin-top: 0; } .center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--muted); }
.wrap-narrow { max-width: 820px; margin-inline: auto; }
.divider { height: 1px; background: var(--line); border: 0; margin: clamp(28px,5vw,52px) 0; }

/* =============================================================================
   Contraste sur fonds foncés (navy, dégradés) — corrige texte clair/sombre illisible
   ========================================================================== */
.section--navy p { color: #cfdae6; }                         /* texte direct sur navy */
.section--navy .step p { color: var(--muted); }             /* mais cartes blanches : texte foncé */
.section--navy .prose p,
.cta-band .prose p { color: #cfdae6; }
.section--navy .prose strong,
.cta-band .prose strong { color: #fff; }                    /* gras lisible sur fond foncé */
.section--navy .prose a,
.cta-band .prose a { color: var(--yellow); }
.section--navy .prose ul li,
.section--navy .checklist li { color: #dbe5ef; }
.section--navy .feature p { color: #cfdae6; }
.section--navy .feature h3 { color: #fff; }
.section--navy .section__lead,
.section--navy .lead { color: #c4d0dd; }
/* Eyebrow en jaune sur fonds foncés (meilleure lisibilité + cohérence de marque) */
.page-hero .eyebrow,
.section--navy .eyebrow,
.cta-band .eyebrow,
.callback .eyebrow { color: var(--yellow); }

/* Titres : coupures de lignes plus harmonieuses (ignoré si non supporté) */
h1, h2, h3 { text-wrap: balance; }

/* =============================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 560px; }
  .layout { grid-template-columns: 1fr; }
  .aside { position: static; grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 880px) {
  .grid-3, .reviews { grid-template-columns: repeat(2,1fr); }
  .transport__inner, .split { grid-template-columns: 1fr; }
  .transport__img-wrap { order: -1; }
}
@media (max-width: 980px) {
  .header__call { display: inline-flex; }
  .nav__toggle { display: inline-flex; }
  .mobile-cta { display: grid; }
  .wa-fab { display: none; }
  body { padding-bottom: 62px; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw); margin: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 22px; transform: translateX(105%); transition: transform .28s ease;
    z-index: 95; box-shadow: var(--shadow-lg); overflow-y: auto;
  }
  body.nav-open .nav { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  .nav__close { display: inline-flex; align-self: flex-end; background: var(--bg); border: none; border-radius: 10px; padding: 8px; color: var(--navy); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; margin-top: 8px; }
  .nav__link { font-size: 1.05rem; padding: .8em .6em; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-left: 2px solid var(--line); border-radius: 0; margin: 0 0 6px 14px; padding: 0; }
  .nav__sub a { font-size: .95rem; }
  .nav__caret { display: none; }
  .nav__cta { flex-direction: column; margin-top: 18px; }
  .nav__cta .btn { width: 100%; }
  .nav__cta .btn--call { display: inline-flex; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-3, .grid-2, .reviews, .stats, .steps, .presta, .form__row, .footer__grid, .aside { grid-template-columns: 1fr; }
  .header__call span { display: none; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .hero__chip { left: 8px; }
  .footer__bar-inner { justify-content: center; text-align: center; }
}
