/* ============================================================
   ADEPT PLOMBERIE — Feuille de style principale
   Design inspiré des thèmes "plumber services" (Mezon)
   ============================================================ */

:root {
  --navy: #081e35;
  --navy-2: #0d2b4b;
  --navy-3: #123a63;
  --blue: #0f5fce;
  --blue-dark: #0b4aa2;
  --blue-light: #e8f1fd;
  --accent: #ff8a1e;
  --accent-dark: #ea7607;
  --yellow: #ffd60a;
  --text: #1d2d3e;
  --muted: #5c6b7d;
  --bg-soft: #f4f8fc;
  --line: #e2eaf3;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(8, 30, 53, 0.10);
  --shadow-lg: 0 24px 60px rgba(8, 30, 53, 0.16);
  --font-head: "Archivo", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--navy);
  font-weight: 800;
}

.container {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 15.5px;
  letter-spacing: .2px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }

.btn--accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 138, 30, .35);
}
.btn--accent:hover { box-shadow: 0 14px 30px rgba(255, 138, 30, .45); }

.btn--blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 95, 206, .30);
}
.btn--blue:hover { box-shadow: 0 14px 30px rgba(15, 95, 206, .40); }

.btn--ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .16); }

.btn--outline {
  background: #fff;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--outline:hover { background: var(--blue-light); }

.btn--whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .35);
}

/* ---------- Barre supérieure ---------- */
.topbar {
  background: var(--navy);
  color: #cfe0f2;
  font-size: 13.5px;
  padding: 9px 0;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.topbar__group { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: #cfe0f2; }
.topbar__item svg { width: 15px; height: 15px; fill: var(--accent); flex: none; }
.topbar__item a { color: #fff; font-weight: 600; }
.topbar__item a:hover { color: var(--yellow); }
.topbar__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 138, 30, .15);
  border: 1px solid rgba(255, 138, 30, .4);
  color: var(--yellow);
  font-weight: 700;
  padding: 2px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: .4px;
}
.topbar__badge svg { width: 12px; height: 12px; fill: currentColor; flex: none; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, border-color .25s ease;
}
/* Verre dépoli réservé au desktop : un backdrop-filter fait du header le bloc
   conteneur des descendants en position fixed, ce qui enfermerait le menu
   mobile dans la barre au lieu de couvrir l'écran. */
@media (min-width: 1061px) {
  .header {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
  }
}
.header.is-scrolled {
  box-shadow: 0 6px 24px rgba(8, 30, 53, .09);
  border-bottom-color: transparent;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 76px;
}

/* Marque */
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 48px; height: 48px; border-radius: 11px; flex: none; }
.brand__text { display: flex; flex-direction: column; justify-content: center; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  color: var(--navy);
  letter-spacing: .2px;
  line-height: 1.15;
  white-space: nowrap;
  transition: color .2s ease;
}
.brand__name span { color: var(--blue); transition: color .2s ease; }
.brand__tag {
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 1.3px;
  text-transform: uppercase;
  line-height: 1.45;
  white-space: nowrap;
  transition: color .2s ease;
}

/* Navigation */
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative;
  padding: 9px 12px;
  color: var(--navy);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.5;
  border-radius: 9px;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: var(--blue); background: var(--blue-light); }
.nav a.is-active { color: var(--blue); }
/* Souligné positionné en absolu : n'ajoute aucune hauteur au lien */
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--yellow));
}
/* Bouton d'appel réservé au menu mobile */
.nav a.nav__phone { display: none; }

/* Actions */
.header__cta { display: flex; align-items: center; gap: 14px; flex: none; }
.header__phone { display: flex; align-items: center; gap: 10px; }
.header__phone svg {
  width: 36px; height: 36px;
  padding: 9px;
  border-radius: 50%;
  background: var(--blue-light);
  fill: var(--blue);
  flex: none;
  transition: background .15s ease;
}
.header__phone:hover svg { background: #d5e5fa; }
.header__phone-label {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .8px;
  line-height: 1.4;
}
.header__phone-number {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16.5px;
  color: var(--navy);
  line-height: 1.15;
  white-space: nowrap;
  transition: color .15s ease;
}
.header__phone:hover .header__phone-number { color: var(--blue); }
.header__cta .btn { padding: 13px 22px; font-size: 15px; }

.burger {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background .15s ease;
}
.burger:hover { background: var(--blue-light); }
.burger span {
  width: 22px;
  height: 2.5px;
  border-radius: 3px;
  background: var(--navy);
  transition: transform .25s ease, opacity .2s ease, background .25s ease;
}
.burger.is-open { background: rgba(255, 255, 255, .1); }
.burger.is-open:hover { background: rgba(255, 255, 255, .18); }
.burger.is-open span { background: #fff; }
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Marque visible par-dessus le menu mobile ouvert */
.header:has(.nav.is-open) .brand { position: relative; z-index: 99; }
.header:has(.nav.is-open) .brand__name { color: #fff; }
.header:has(.nav.is-open) .brand__name span { color: var(--yellow); }
.header:has(.nav.is-open) .brand__tag { color: #9db6d2; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(15, 95, 206, .45), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(255, 138, 30, .18), transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46' viewBox='0 0 46 46'%3E%3Cpath d='M23 8c5 7 9 11.5 9 16a9 9 0 1 1-18 0c0-4.5 4-9 9-16z' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1.4'/%3E%3C/svg%3E");
  opacity: .8;
}
.hero .container { position: relative; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 60px;
  align-items: center;
  padding: 90px 0 110px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--yellow);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero__eyebrow svg { width: 15px; height: 15px; fill: var(--yellow); }
.hero h1 {
  color: #fff;
  font-size: clamp(34px, 4.6vw, 54px);
  letter-spacing: -.5px;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--yellow);
  position: relative;
}
.hero__lead {
  color: #c9d9ec;
  font-size: 18px;
  max-width: 560px;
  margin-bottom: 32px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero__slogan {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 600;
  color: #9fb8d4;
  font-size: 15.5px;
}
.hero__slogan strong { color: var(--yellow); }

/* Carte flottante hero */
.hero-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 30px;
  color: var(--text);
}
.hero-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 18px;
}
.hero-card__head svg { width: 48px; height: 48px; padding: 12px; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); border-radius: 14px; fill: #fff; flex: none; }
.hero-card__head h3 { font-size: 19px; }
.hero-card__head p { font-size: 13.5px; color: var(--muted); }
.hero-card ul { list-style: none; display: grid; gap: 12px; margin-bottom: 22px; }
.hero-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 500; }
.hero-card li svg { width: 19px; height: 19px; fill: var(--blue); flex: none; margin-top: 2px; }
.hero-card .btn { width: 100%; justify-content: center; }

/* ---------- Bande de confiance ---------- */
.trustbar { background: var(--blue); position: relative; z-index: 2; }
.trustbar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trustbar__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  color: #fff;
}
.trustbar__item + .trustbar__item { border-left: 1px solid rgba(255, 255, 255, .18); }
.trustbar__item svg { width: 34px; height: 34px; fill: var(--yellow); flex: none; }
.trustbar__item strong { display: block; font-family: var(--font-head); font-size: 16.5px; line-height: 1.2; }
.trustbar__item small { color: #cfe0f5; font-size: 13px; }

/* ---------- Sections génériques ---------- */
.section { padding: 92px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head--center { margin-inline: auto; text-align: center; }
.overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: var(--font-head);
}
.overline::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--accent); }
.section-head--center .overline::after { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--accent); }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.4px; margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 17px; }
.section--navy .section-head p { color: #b9cce2; }

/* ---------- Cartes services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }

.card__icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--blue-light);
  margin-bottom: 22px;
}
.card__icon svg { width: 30px; height: 30px; fill: var(--blue); }
.card--accent .card__icon { background: #fff3e4; }
.card--accent .card__icon svg { fill: var(--accent); }
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15px; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--blue);
  font-family: var(--font-head);
}
.card__link svg { width: 15px; height: 15px; fill: currentColor; transition: transform .2s; }
.card__link:hover svg { transform: translateX(4px); }

/* ---------- Liste à puces avec coches ---------- */
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li svg {
  width: 22px; height: 22px;
  padding: 4px;
  background: var(--blue-light);
  border-radius: 50%;
  fill: var(--blue);
  flex: none;
  margin-top: 2px;
}
.checklist li strong { color: var(--navy); }
.section--navy .checklist li svg { background: rgba(255, 255, 255, .12); fill: var(--yellow); }
.section--navy .checklist li { color: #d4e2f2; }
.section--navy .checklist li strong { color: #fff; }

/* ---------- Deux colonnes ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 18px; letter-spacing: -.3px; }
.split p { color: var(--muted); margin-bottom: 16px; }
.section--navy .split p { color: #c2d4e8; }

/* Panneau visuel décoratif */
.visual-panel {
  position: relative;
  border-radius: var(--radius);
  background:
    radial-gradient(400px 260px at 80% 10%, rgba(255, 214, 10, .15), transparent 60%),
    linear-gradient(145deg, var(--blue), var(--navy-2));
  min-height: 380px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.visual-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46' viewBox='0 0 46 46'%3E%3Cpath d='M23 8c5 7 9 11.5 9 16a9 9 0 1 1-18 0c0-4.5 4-9 9-16z' fill='none' stroke='rgba(255,255,255,0.08)' stroke-width='1.4'/%3E%3C/svg%3E");
}
.visual-panel svg.visual-panel__icon { width: 130px; height: 130px; fill: rgba(255, 255, 255, .9); position: relative; }

/* Logo de certification : posé sur un carton blanc, sinon ses aplats violets
   se noient dans le dégradé bleu du panneau. La marge basse dégage le badge. */
.visual-panel__logo {
  position: relative;
  width: min(76%, 300px);
  height: auto;
  background: #fff;
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 92px;
  box-shadow: 0 18px 40px rgba(8, 30, 53, .35);
}
.visual-panel__badge {
  position: absolute;
  z-index: 1;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(8, 30, 53, .75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.visual-panel__badge svg { width: 30px; height: 30px; fill: var(--yellow); flex: none; }
.visual-panel__badge strong { font-family: var(--font-head); display: block; font-size: 15.5px; }
.visual-panel__badge small { color: #b9cce2; font-size: 13px; }

/* ---------- Chips zone d'intervention ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.chip svg { width: 15px; height: 15px; fill: var(--accent); }
.chip:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.section--navy .chip { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .2); color: #fff; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 34px 28px;
  position: relative;
}
.step__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 46px;
  color: transparent;
  -webkit-text-stroke: 2px var(--blue-light);
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Bandeau CTA urgence ---------- */
.cta-band {
  background:
    radial-gradient(600px 300px at 15% 20%, rgba(255, 255, 255, .12), transparent 60%),
    linear-gradient(120deg, var(--accent-dark), var(--accent) 55%, #ffb45e);
  border-radius: var(--radius);
  padding: 52px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  color: #fff;
  box-shadow: 0 24px 50px rgba(234, 118, 7, .35);
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; letter-spacing: -.3px; }
.cta-band p { color: #fff3e4; font-size: 16.5px; max-width: 560px; }
.cta-band .btn--white {
  background: #fff;
  color: var(--accent-dark);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
  font-size: 18px;
  padding: 18px 34px;
}
.cta-band .btn--white svg { fill: var(--accent-dark); }

/* ---------- Tableaux tarifs ---------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 15.5px;
}
.price-table th {
  background: var(--navy);
  color: #fff;
  text-align: left;
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: .4px;
  padding: 18px 24px;
}
.price-table th:last-child { text-align: right; }
.price-table td { padding: 17px 24px; border-top: 1px solid var(--line); }
.price-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--blue);
  font-family: var(--font-head);
  white-space: nowrap;
}
.price-table tr:nth-child(even) td { background: var(--bg-soft); }
.price-table td small { display: block; font-weight: 400; color: var(--muted); font-family: var(--font-body); }

.price-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.price-note svg { width: 18px; height: 18px; fill: var(--accent); flex: none; margin-top: 2px; }

/* Cartes tarifs rapides */
.rate-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.rate-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 30px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.rate-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.rate-card h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); margin-bottom: 10px; font-weight: 700; }
.rate-card strong { font-family: var(--font-head); font-size: 30px; color: var(--blue); display: block; margin-bottom: 6px; }
.rate-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- Accordéon FAQ ---------- */
.accordion { display: grid; gap: 14px; }
.accordion details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow .2s;
}
.accordion details[open] { box-shadow: var(--shadow); border-color: transparent; }
.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--navy);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  font-size: 26px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  transition: transform .25s;
  flex: none;
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion__body { padding: 0 26px 22px; color: var(--muted); font-size: 15.5px; }
.accordion__body p + p { margin-top: 10px; }

/* ---------- Témoignages ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.quote {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  position: relative;
}
.quote::before {
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 90px;
  color: var(--blue-light);
  position: absolute;
  top: 6px;
  right: 26px;
  line-height: 1;
}
.quote__stars { display: flex; gap: 3px; margin-bottom: 14px; }
.quote__stars svg { width: 17px; height: 17px; fill: var(--accent); }
.quote p { color: var(--text); font-size: 15.5px; font-style: italic; margin-bottom: 18px; position: relative; }
.quote footer { display: flex; align-items: center; gap: 12px; }
.quote__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy-2));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
}
.quote footer strong { display: block; font-family: var(--font-head); font-size: 15px; color: var(--navy); }
.quote footer small { color: var(--muted); font-size: 13px; }

/* ---------- Formulaire ---------- */
.form-panel {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 40px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .form-field--full { grid-column: 1 / -1; }
.form-field label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 7px;
  font-family: var(--font-head);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg-soft);
  transition: border-color .2s, background .2s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-hint { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* ---------- Infos contact ---------- */
.contact-cards { display: grid; gap: 18px; }
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  transition: box-shadow .2s, transform .2s;
}
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-card svg {
  width: 46px; height: 46px;
  padding: 12px;
  background: var(--blue-light);
  border-radius: 12px;
  fill: var(--blue);
  flex: none;
}
.contact-card--accent svg { background: #fff3e4; fill: var(--accent); }
.contact-card--green svg { background: #e5f9ed; fill: #25d366; }
.contact-card h3 { font-size: 16px; margin-bottom: 4px; }
.contact-card p, .contact-card a.contact-card__link { color: var(--muted); font-size: 15px; }
.contact-card a.contact-card__link { font-weight: 700; color: var(--blue); display: inline-block; }
.contact-card a.contact-card__link:hover { text-decoration: underline; }

/* ---------- Galerie réalisations (photos de chantier) ---------- */
.works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.work {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy-2), var(--navy));
  box-shadow: 0 6px 18px rgba(8, 30, 53, .10);
  transition: transform .25s ease, box-shadow .25s ease;
}
.work img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
/* Voile dégradé : garantit la lisibilité de la légende */
.work::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(8, 30, 53, .94) 0%,
    rgba(8, 30, 53, .62) 34%,
    rgba(8, 30, 53, .12) 66%,
    rgba(8, 30, 53, .04) 100%);
}
.work figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 20px 18px;
  color: #fff;
}
.work strong { font-family: var(--font-head); font-size: 15.5px; line-height: 1.3; }
.work small { color: #c2d6ea; font-size: 12.5px; line-height: 1.4; }
.work:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.work:hover img { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  .work:hover img { transform: none; }
}

/* Portrait de l'artisan (taille bornée : la photo source est petite) */
.artisan { display: flex; align-items: flex-start; gap: 22px; }
.artisan p { margin-bottom: 0; }
.artisan__photo {
  flex: none;
  width: 132px;
  height: 168px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: var(--shadow);
}

/* Panneau visuel avec photo de chantier */
.visual-panel--photo { display: block; }
.visual-panel--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.visual-panel--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 30, 53, .72) 0%, rgba(8, 30, 53, .18) 55%, rgba(8, 30, 53, .3) 100%);
}

/* ---------- Articles blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post__banner {
  height: 130px;
  background: linear-gradient(135deg, var(--blue), var(--navy-2));
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.post__banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46' viewBox='0 0 46 46'%3E%3Cpath d='M23 8c5 7 9 11.5 9 16a9 9 0 1 1-18 0c0-4.5 4-9 9-16z' fill='none' stroke='rgba(255,255,255,0.09)' stroke-width='1.4'/%3E%3C/svg%3E");
}
.post__banner svg { width: 44px; height: 44px; fill: rgba(255, 255, 255, .95); position: relative; }
.post__banner--accent { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.post__banner--teal { background: linear-gradient(135deg, #0ba5be, #086e80); }
.post__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post__cat {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 10px;
  font-family: var(--font-head);
}
.post h3 { font-size: 18px; margin-bottom: 10px; line-height: 1.35; }
.post p { color: var(--muted); font-size: 14.5px; flex: 1; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #b9cce2; }
.footer__cta { border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 34px 0; }
.footer__cta .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__cta h3 { color: #fff; font-size: 22px; }
.footer__cta h3 span { color: var(--yellow); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 64px 0;
}
.footer h4 {
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  margin-bottom: 20px;
}
.footer p { font-size: 14.5px; }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer ul a { color: #b9cce2; font-size: 14.5px; transition: color .15s; }
.footer ul a:hover { color: var(--yellow); }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__brand img { width: 46px; height: 46px; border-radius: 10px; }
.footer__brand strong { font-family: var(--font-head); color: #fff; font-size: 18px; }
.footer__contact { display: grid; gap: 13px; }
.footer__contact a, .footer__contact span { display: flex; gap: 11px; align-items: flex-start; color: #d4e2f2; font-size: 14.5px; }
.footer__contact a:hover { color: var(--yellow); }
.footer__contact svg { width: 17px; height: 17px; fill: var(--accent); flex: none; margin-top: 3px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  transition: background .2s, transform .2s;
}
.footer__social a:hover { background: var(--blue); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; fill: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: 13.5px; }
.footer__bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer__bottom a { color: #b9cce2; }
.footer__bottom a:hover { color: var(--yellow); }

/* ---------- Barre mobile fixe ---------- */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--navy);
  box-shadow: 0 -6px 24px rgba(8, 30, 53, .3);
}
.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 11px 6px 13px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-head);
}
.mobile-bar svg { width: 20px; height: 20px; fill: var(--yellow); }
.mobile-bar a.mobile-bar__call { background: var(--accent); }
.mobile-bar a.mobile-bar__call svg { fill: #fff; }

/* ---------- Bannière de page ---------- */
.page-hero {
  background:
    radial-gradient(700px 380px at 85% -20%, rgba(15, 95, 206, .5), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%);
  color: #fff;
  padding: 74px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46' viewBox='0 0 46 46'%3E%3Cpath d='M23 8c5 7 9 11.5 9 16a9 9 0 1 1-18 0c0-4.5 4-9 9-16z' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1.4'/%3E%3C/svg%3E");
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.4px; margin-bottom: 14px; max-width: 800px; }
.page-hero p { color: #c9d9ec; font-size: 17.5px; max-width: 680px; }
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13.5px;
  color: #8fa9c6;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.breadcrumb a { color: #c9d9ec; }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb svg { width: 12px; height: 12px; fill: #8fa9c6; }
.page-hero__actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
/* Le bloc téléphone laisse la place à la navigation avant qu'elle ne serre */
@media (max-width: 1180px) {
  .header .container { gap: 18px; }
  .header__phone { display: none; }
}

/* Passage au menu mobile tant que la barre est encore confortable */
@media (max-width: 1060px) {
  .topbar__group--right { display: none; }
  .nav {
    position: fixed;
    inset: 0;
    background: linear-gradient(160deg, var(--navy-2), var(--navy));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 96px 26px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.4, 0, .2, 1);
    z-index: 80;
  }
  .nav.is-open { transform: translateX(0); }
  /* Marges auto plutôt que justify-content:center : elles centrent le groupe
     quand il y a de la place et retombent à 0 en cas de débordement, sans
     jamais rendre les premiers liens inatteignables (écran bas, paysage). */
  .nav > a:first-of-type { margin-top: auto; }
  .nav > a:last-of-type { margin-bottom: auto; }
  .nav a {
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 19px;
    padding: 14px 18px;
    border-radius: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }
  .nav a:hover { background: rgba(255, 255, 255, .08); color: var(--yellow); }
  .nav a.is-active { color: var(--yellow); background: rgba(255, 255, 255, .06); }
  .nav a.is-active::after { display: none; }
  .nav a.nav__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    padding: 16px 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 138, 30, .35);
  }
  .nav a.nav__phone:hover { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; }
  .nav a.nav__phone svg { width: 19px; height: 19px; fill: #fff; flex: none; }
  .burger { display: flex; z-index: 99; }
  .header__cta .btn { display: none; }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; padding: 64px 0 80px; }
  .trustbar .container { grid-template-columns: 1fr 1fr; }
  .trustbar__item:nth-child(3) { border-left: 0; }
  .trustbar__item { border-top: 1px solid rgba(255, 255, 255, .18); }
  .trustbar__item:nth-child(-n+2) { border-top: 0; }

  .cards, .cards--4, .steps, .rate-cards, .posts { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .quotes { grid-template-columns: 1fr; }
  /* 3 colonnes : des tuiles plus petites restent nettes (photos sources ~150px) */
  .works { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .section { padding: 70px 0; }
}

@media (max-width: 640px) {
  .topbar .container { justify-content: center; }
  .topbar__group { gap: 12px; justify-content: center; }
  .cards, .cards--4, .cards--2, .steps, .rate-cards, .posts { grid-template-columns: 1fr; }
  /* Les photos restent en 2 colonnes : une seule par ligne serait démesurée */
  .works { grid-template-columns: 1fr 1fr; gap: 14px; }
  .work figcaption { padding: 14px 13px; }
  .work strong { font-size: 14px; }
  .work small { font-size: 11.5px; }
  .form-grid { grid-template-columns: 1fr; }
  .trustbar .container { grid-template-columns: 1fr; }
  .trustbar__item { border-left: 0 !important; border-top: 1px solid rgba(255, 255, 255, .18) !important; }
  .trustbar__item:first-child { border-top: 0 !important; }
  .artisan { flex-direction: column; gap: 18px; }
  .cta-band { padding: 38px 28px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; padding: 52px 0; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 68px; }
  .form-panel { padding: 28px 22px; }
  .price-table th, .price-table td { padding: 14px 16px; }
  .hero__actions .btn, .page-hero__actions .btn { width: 100%; justify-content: center; }
}

/* Tableaux scrollables sur mobile */
.table-scroll { overflow-x: auto; border-radius: var(--radius); }
.table-scroll .price-table { min-width: 560px; }

/* ---------- Icône en ligne (remplace les emojis dans les titres) ---------- */
.ico {
  width: .85em;
  height: .85em;
  fill: var(--accent);
  flex: none;
  vertical-align: -.04em;
  margin-right: .38em;
}

/* Coordonnées en ligne dans la FAQ */
.inline-contacts { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.inline-contacts span { display: inline-flex; align-items: center; gap: 7px; }
.inline-contacts svg { width: 16px; height: 16px; fill: var(--accent); flex: none; }

/* ---------- Zone d'intervention : carte Mapbox ---------- */
.zone {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.zone__mapwrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  background: #0a1c2e;
  box-shadow: var(--shadow-lg);
  height: 460px;
}

/* Deux classes : mapbox-gl.css impose position:relative à .mapboxgl-map,
   ce qui écraserait un sélecteur de même spécificité et aplatirait le conteneur. */
.zone__mapwrap .zone__map { position: absolute; inset: 0; }

/* État de chargement / repli si la carte ne peut pas s'afficher */
.zone__loader {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
  color: #b9cce2;
  font-size: 14.5px;
  background:
    radial-gradient(600px 300px at 30% 20%, rgba(15, 95, 206, .28), transparent 65%),
    linear-gradient(150deg, #0a2138, #061524);
}
.zone__loader strong { display: block; color: #fff; font-family: var(--font-head); font-size: 17px; }
.zone__loader.is-error .zone__spinner { display: none; }
.zone__spinner {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .2);
  border-top-color: var(--accent);
  animation: zone-spin 0.9s linear infinite;
}
@keyframes zone-spin { to { transform: rotate(360deg); } }

.zone__legend {
  position: absolute;
  left: 14px;
  bottom: 38px;   /* laisse le logo Mapbox visible : ses conditions l'exigent */
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  max-width: calc(100% - 28px);
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(8, 30, 53, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: 12.5px;
  font-weight: 600;
  color: #d4e2f2;
}
.zone__legend span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.zone__dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.zone__dot--base { background: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 214, 10, .22); }
.zone__dot--express { background: var(--accent); box-shadow: 0 0 0 3px rgba(255, 138, 30, .22); }
.zone__dot--large { background: #4d94ff; box-shadow: 0 0 0 3px rgba(77, 148, 255, .22); }

.zone__recenter {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(8, 30, 53, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.zone__recenter svg { width: 15px; height: 15px; fill: var(--yellow); }
.zone__recenter:hover { background: var(--blue); border-color: var(--blue); }

/* Panneau latéral */
.zone__panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
}

.zone__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.zone__stats div {
  padding: 12px 6px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}
.zone__stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--yellow);
  line-height: 1.2;
}
.zone__stats small { display: block; font-size: 11.5px; color: #b9cce2; line-height: 1.35; margin-top: 3px; }

.zone__hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #b9cce2;
  margin: 0;
}
.zone__hint svg { width: 15px; height: 15px; fill: var(--accent); flex: none; }

.zone__chips {
  gap: 9px;
  overflow-y: auto;
  max-height: 234px;
  padding-right: 4px;
  align-content: flex-start;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .25) transparent;
}
.zone__chips::-webkit-scrollbar { width: 6px; }
.zone__chips::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .22); border-radius: 999px; }

.zone__chips .chip {
  font-size: 13.5px;
  padding: 8px 15px;
  font-family: inherit;
  line-height: 1.4;
}
.zone__chips button.chip { cursor: default; }
.zone__chips button.chip.is-linked { cursor: pointer; }
.zone__chips button.chip.is-linked:hover,
.zone__chips button.chip.is-linked:focus-visible {
  background: rgba(255, 255, 255, .16);
  border-color: var(--accent);
  outline: none;
}
.zone__chips .chip.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 138, 30, .35);
}
.zone__chips .chip.is-active svg { fill: #fff; }
.zone__chips .chip--muted { opacity: .72; }

/* .btn est en nowrap : sans ce retour à la ligne, la largeur du libellé devient la
   largeur minimale de toute la grille et fait déborder la page sur mobile. */
.zone__cta { margin-top: auto; justify-content: center; text-align: center; white-space: normal; }

.zone__note {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  text-align: center;
  margin-top: 34px;
  color: #b9cce2;
}
.zone__note svg { width: 17px; height: 17px; fill: var(--accent); flex: none; }
.zone__note a { color: var(--yellow); font-weight: 700; }

/* Habillage Mapbox */
.zone__mapwrap .mapboxgl-ctrl-group {
  background: rgba(8, 30, 53, .82);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  overflow: hidden;
}
.zone__mapwrap .mapboxgl-ctrl-group button + button { border-top-color: rgba(255, 255, 255, .14); }
.zone__mapwrap .mapboxgl-ctrl-group button span { filter: invert(1); }
.zone__mapwrap .mapboxgl-ctrl-attrib { background: rgba(8, 30, 53, .7); }
.zone__mapwrap .mapboxgl-ctrl-attrib a { color: #b9cce2; }

.zone-popup .mapboxgl-popup-content {
  background: #0d2b4b;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  padding: 13px 15px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .45);
  color: #fff;
}
.zone-popup .mapboxgl-popup-tip { display: none; }
.zone-popup strong { display: block; font-family: var(--font-head); font-size: 15.5px; }
.zone-popup__meta { display: block; font-size: 12.5px; color: #b9cce2; margin-top: 2px; }
.zone-popup__cta {
  display: inline-block;
  margin-top: 9px;
  font-weight: 700;
  font-size: 13px;
  color: var(--yellow);
}

@media (max-width: 900px) {
  .zone { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .zone__mapwrap { height: 340px; }
  .zone__panel { padding: 22px 18px; }
  .zone__chips { max-height: none; overflow: visible; padding-right: 0; }
  .zone__recenter { padding: 8px 13px; font-size: 12.5px; }
  .zone__legend { font-size: 11.5px; gap: 5px 11px; padding: 8px 12px; }
}

@media (max-width: 480px) {
  .zone__mapwrap { height: 300px; }
  .zone__stats strong { font-size: 18px; }
  .zone__chips .chip { font-size: 12.5px; padding: 7px 13px; }
  .zone__cta { width: 100%; }
}
