/* ==========================================================================
   Antenne chez moi : feuille de style principale
   Palette : bleu marine, vert, blanc. Typo : Inter
   ========================================================================== */

:root {
  --navy: #0b2a5b;
  --navy-600: #0f3a7a;
  --navy-700: #0a2350;
  --blue-50: #eef3fb;
  --blue-100: #dde7f6;
  --green: #3e9b5f;
  --green-700: #1f6b4f;
  --green-50: #eaf5ee;
  --ink: #0f1c33;
  --text: #3b4a63;
  --muted: #6b7a92;
  --line: #e2e8f1;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --danger: #c0392b;
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(11, 42, 91, .06);
  --shadow: 0 8px 30px rgba(11, 42, 91, .08);
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 68px; }
[hidden] { display: none !important; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Soulignement animé (gauche vers droite) ---------- */
.nav a:not(.btn), .site-footer a, .link-anim {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) right bottom / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size .4s cubic-bezier(.4, 0, .2, 1), color .2s;
}
.nav a:not(.btn):hover, .nav a:not(.btn):focus-visible,
.site-footer a:hover, .site-footer a:focus-visible,
.link-anim:hover, .link-anim:focus-visible {
  background-position: left bottom; background-size: 100% 1px;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 600; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: background .2s, border-color .2s, transform .1s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(11, 42, 91, .22); }
.btn-primary:hover { background: var(--navy-600); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-700); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); }
.btn-sm { padding: .6rem 1.1rem; font-size: .925rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: auto; }
.brand-text { font-weight: 800; font-size: 1.15rem; color: var(--navy); letter-spacing: -.02em; line-height: 1; }
.brand-text span { color: var(--green); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--green-700); }
@media (max-width: 1000px) { .nav a:not(.btn) { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: #cfe0f3 url("../img/hero.jpg") center / cover no-repeat;
  min-height: clamp(440px, 36vw, 560px);
  display: grid; place-items: center;
  padding: 40px 20px;
}
.hero::after { /* léger voile pour lisibilité */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.35) 0, rgba(255,255,255,0) 45%);
  pointer-events: none;
}
.hero-badge {
  position: relative; z-index: 1;
  width: min(420px, 86vw); aspect-ratio: 1; border-radius: 50%;
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 20px 60px rgba(11, 42, 91, .18), 0 0 0 14px rgba(255,255,255,.35);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 36px;
}
.hero-badge .mark { width: 34%; margin-bottom: 10px; }
.hero-title { margin: 0; line-height: .95; }
.hero-title .l1 { display: block; color: var(--navy); font-weight: 800; font-size: clamp(2.3rem, 5.4vw, 3.6rem); letter-spacing: -.035em; }
.hero-title .l2 { display: block; color: var(--green); font-weight: 600; font-size: clamp(1.9rem, 4.4vw, 2.9rem); letter-spacing: -.02em; }
.hero-badge hr { width: 64px; border: 0; border-top: 3px solid var(--green); margin: 14px auto; border-radius: 3px; }
.hero-badge p { margin: 0; color: var(--ink); font-weight: 600; font-size: clamp(.92rem, 1.8vw, 1.05rem); line-height: 1.4; }

.hero--compact { min-height: 260px; padding: 24px; }
.hero--compact .hero-badge { width: min(260px, 64vw); padding: 24px; }
.hero--compact .hero-title .l1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.hero--compact .hero-title .l2 { font-size: clamp(1.5rem, 3.2vw, 1.95rem); }
.hero--compact .hero-badge hr { margin: 10px auto 0; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section--soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); margin-bottom: 10px; }

/* Avantages */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefit { text-align: center; padding: 8px 28px; }
.benefit + .benefit { border-left: 1px solid var(--line); }
.benefit .ico {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--green-50); display: grid; place-items: center; color: var(--green);
}
.benefit .ico svg { width: 40px; height: 40px; }
.benefit h3 { margin-bottom: .5em; }
.benefit h3 em { display: block; font-style: normal; color: var(--green); }
.benefit p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) {
  .benefits { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .benefit:nth-child(3) { border-left: 0; }
}
@media (max-width: 560px) {
  .benefits { grid-template-columns: 1fr; }
  .benefit + .benefit { border-left: 0; border-top: 1px solid var(--line); padding-top: 36px; }
}

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px;
  box-shadow: var(--shadow-sm); position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 16px;
}
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Profils */
.profiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.profile {
  text-align: center; padding: 26px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff;
}
.profile svg { width: 36px; height: 36px; margin: 0 auto 12px; color: var(--navy-600); }
.profile strong { display: block; color: var(--ink); }
.profile span { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) { .profiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .profiles { grid-template-columns: 1fr 1fr; } }

/* Types de sites */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.site-card { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.site-card .pic { aspect-ratio: 16 / 10; background: #e9eef4 center / cover no-repeat; }
.site-card .pic--terrain { background-image: url("../img/emplacement-terrain.jpg"); }
.site-card .pic--toit { background-image: url("../img/emplacement-toiture.jpg"); }
.site-card .body { padding: 24px 26px 28px; }
.site-card ul { margin: 0; padding: 0; list-style: none; }
.site-card li { padding-left: 28px; position: relative; margin: .45em 0; }
.site-card li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233e9b5f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-weight: 600; color: var(--ink); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--green-700); }
/* Icône + / − : la barre verticale pivote pour se coucher à l'ouverture */
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 2px;
  background: var(--green); border-radius: 2px; transform: translateY(-50%);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}
.faq summary::after { transform: translateY(-50%) rotate(90deg); }
.faq details.is-open summary::after { transform: translateY(-50%) rotate(0deg); }
.faq details p {
  color: var(--muted); padding-bottom: 12px;
  opacity: 0; transform: translateY(-6px);
  transition: opacity .35s ease, transform .4s cubic-bezier(.4, 0, .2, 1);
}
.faq details.is-open p { opacity: 1; transform: none; }

/* Bandeau CTA */
.cta-band { background: var(--blue-50); padding: 44px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: 1.4rem; margin-bottom: .25em; }
.cta-band p { margin: 0; color: var(--text); }

/* Pied de page */
.site-footer { background: var(--navy-700); color: #c9d4e8; padding: 48px 0 28px; font-size: .92rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 6px 0; }
.site-footer .brand-text { color: #fff; }
.site-footer .brand-text span { color: #7fd09a; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Formulaire de candidature
   ========================================================================== */
.form-page { background: var(--bg-soft); }
.form-wrap { max-width: 980px; margin: 0 auto; padding: 48px 20px 80px; }
.form-intro { text-align: center; margin-bottom: 36px; }
.form-intro h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.form-intro p { color: var(--muted); max-width: 560px; margin: 0 auto; }

.stepper { display: flex; justify-content: space-between; position: relative; max-width: 820px; margin: 0 auto 36px; padding: 0; list-style: none; }
.stepper::before { content: ""; position: absolute; top: 17px; left: 12%; right: 12%; height: 2px; background: var(--line); }
.stepper::after { content: ""; position: absolute; top: 17px; left: 12%; height: 2px; background: var(--green); transition: width .35s ease; width: var(--progress, 0); }
.stepper li { position: relative; z-index: 1; flex: 1; text-align: center; font-size: .9rem; color: var(--muted); font-weight: 500; }
.stepper li .dot {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; margin: 0 auto 8px;
  background: #d5dbe5; color: #fff; font-weight: 700; transition: background .25s; box-shadow: 0 0 0 5px var(--bg-soft);
}
.stepper li.is-active { color: var(--navy); font-weight: 600; }
.stepper li.is-active .dot, .stepper li.is-done .dot { background: var(--navy); }
.stepper li.is-done .dot { background: var(--green); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 44px); }
.form-step { display: none; }
.form-step.is-active { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.form-step h2 { font-size: 1.4rem; margin-bottom: .25em; }
.form-step .lead { color: var(--muted); margin-bottom: 26px; }
.form-sep { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.field label, .field-label { font-weight: 600; color: var(--ink); font-size: .92rem; }
.req { color: var(--danger); margin-left: 2px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], select, textarea {
  font: inherit; font-size: .97rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .75rem .9rem; background: #fff;
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
textarea { min-height: 110px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #9aa6b8; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(15, 58, 122, .12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.error-msg { color: var(--danger); font-size: .83rem; display: none; }
.field.has-error .error-msg, .has-error > .error-msg { display: block; }

/* Choix "Vous êtes" */
.choice-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.choice-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .choice-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .choice-grid, .choice-grid--3 { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  min-height: 112px; padding: 16px 10px; border: 1.5px solid var(--line); border-radius: var(--radius);
  font-weight: 500; font-size: .92rem; color: var(--ink); line-height: 1.25; transition: all .2s; background: #fff;
}
.choice span svg { width: 32px; height: 32px; color: var(--navy-600); }
.choice:hover span { border-color: #b9c6da; }
.choice input:checked + span { border-color: var(--navy); background: var(--blue-50); color: var(--navy); box-shadow: 0 0 0 3px rgba(11,42,91,.08); font-weight: 600; }
.choice input:focus-visible + span { outline: 3px solid rgba(15,58,122,.35); outline-offset: 2px; }
.choice-grid--3 .choice span { min-height: 92px; }

/* Recherche d'adresse */
.search-box { position: relative; margin-bottom: 14px; }
.search-box input { padding-left: 2.6rem; }
.search-box > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.suggestions {
  position: absolute; z-index: 1200; left: 0; right: 0; top: calc(100% + 6px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  list-style: none; margin: 0; padding: 6px; display: none; max-height: 300px; overflow: auto;
}
.suggestions.is-open { display: block; }
.suggestions li { padding: 10px 12px; border-radius: 3px; cursor: pointer; font-size: .95rem; }
.suggestions li small { display: block; color: var(--muted); font-size: .8rem; }
.suggestions li[aria-selected="true"], .suggestions li:hover { background: var(--blue-50); }

/* Carte */
.map-shell { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
#map { height: 460px; background: #e9eef4; }
@media (max-width: 640px) { #map { height: 380px; } }
.map-status {
  position: absolute; z-index: 800; left: 50%; bottom: 14px; transform: translateX(-50%);
  background: rgba(15, 28, 51, .82); color: #fff; font-size: .82rem; padding: 6px 12px; border-radius: var(--radius-sm);
  pointer-events: none; white-space: nowrap; transition: opacity .2s;
}
.map-status:empty { opacity: 0; }
.layer-switch {
  position: absolute; z-index: 800; top: 12px; right: 12px; display: flex; background: #fff; border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(0,0,0,.15); overflow: hidden;
}
.layer-switch button { font: inherit; font-size: .82rem; font-weight: 600; border: 0; background: #fff; color: var(--ink); padding: 8px 12px; cursor: pointer; }
.layer-switch button.is-active { background: var(--navy); color: #fff; }
.leaflet-container { font-family: inherit; }
.leaflet-tooltip.parcel-tip { font-family: inherit; font-size: .8rem; font-weight: 600; border-radius: 3px; padding: 4px 8px; }

.info-box {
  display: flex; gap: 12px; align-items: flex-start; background: var(--blue-50); border-radius: var(--radius);
  padding: 14px 18px; margin-top: 16px; font-size: .9rem; color: var(--text);
}
.info-box svg { flex: none; width: 22px; height: 22px; color: var(--navy-600); margin-top: 1px; }
.info-box p { margin: 0; }

.parcel-list { margin-top: 16px; }
.parcel-list h4 { font-size: .92rem; margin-bottom: 8px; }
.parcel-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; background: var(--green-50); color: var(--green-700);
  border: 1px solid #cfe7d8; border-radius: var(--radius-sm); padding: 6px 8px 6px 14px; font-size: .85rem; font-weight: 600;
}
.chip button { border: 0; background: #fff; color: var(--green-700); width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: 14px; line-height: 1; display: grid; place-items: center; }
.chip button:hover { background: var(--green); color: #fff; }
.parcel-empty { font-size: .88rem; color: var(--muted); margin: 0; }

/* Case à cocher */
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }

/* Récapitulatif */
.recap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 26px; }
.recap section { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.recap h3 { font-size: .95rem; display: flex; justify-content: space-between; align-items: center; }
.recap h3 button { font: inherit; font-size: .82rem; font-weight: 600; color: var(--navy-600); background: none; border: 0; cursor: pointer; text-decoration: underline; }
.recap dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .9rem; }
.recap dt { color: var(--muted); }
.recap dd { margin: 0; color: var(--ink); font-weight: 500; word-break: break-word; }
.recap .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .recap { grid-template-columns: 1fr; } }

.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }

/* Succès */
.success { text-align: center; padding: 30px 10px; }
.success .ico { width: 88px; height: 88px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; margin: 0 auto 20px; }
.success .ico svg { width: 44px; height: 44px; }
.success p { color: var(--muted); max-width: 520px; margin: 0 auto 1em; }
.demo-note { display: inline-block; font-size: .8rem; background: #fff6e0; color: #8a5a00; border: 1px solid #f1dca5; padding: 4px 10px; border-radius: var(--radius-sm); margin-bottom: 18px; }

/* ---------- Section professionnels ---------- */
.section--pro { background: var(--navy); color: #c9d4e8; }
.section--pro h2 { color: #fff; }
.section--pro .section-head p { color: #c9d4e8; }
.pro-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pro-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--text);
  background: #fff; border-radius: var(--radius-lg); padding: 30px 26px 26px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pro-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }
.pro-card .ico { width: 56px; height: 56px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; margin-bottom: 18px; }
.pro-card .ico svg { width: 28px; height: 28px; }
.pro-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.pro-card .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy-600); font-size: .95rem; }
.pro-card .more svg { width: 16px; height: 16px; transition: transform .25s ease; }
.pro-card:hover .more svg { transform: translateX(4px); }
@media (max-width: 860px) { .pro-cards { grid-template-columns: 1fr; } }

/* ---------- Éléments du formulaire professionnels ---------- */
.choice span small { display: block; font-size: .75rem; font-weight: 400; color: var(--muted); margin-top: -6px; }

.segmented { display: inline-flex; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 3px; background: #fff; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: block; padding: .5rem 1rem; border-radius: 3px; font-size: .92rem; font-weight: 500; color: var(--ink); transition: background .2s, color .2s; }
.segmented input:checked + span { background: var(--navy); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid rgba(15,58,122,.35); outline-offset: 1px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pills span { display: block; padding: .45rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500; color: var(--ink); background: #fff; transition: all .2s; }
.pills label:hover span { border-color: #b9c6da; }
.pills input:checked + span { border-color: var(--navy); background: var(--blue-50); color: var(--navy); font-weight: 600; }
.pills input:focus-visible + span { outline: 3px solid rgba(15,58,122,.35); outline-offset: 2px; }

.gps-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
@media (max-width: 640px) { .gps-row { grid-template-columns: 1fr 1fr; } .gps-row .btn { grid-column: 1 / -1; } }
.center-info { margin: 10px 0 0; font-size: .88rem; color: var(--muted); }
.recap-note { margin: 10px 0 0; font-size: .9rem; color: var(--muted); }

/* Pages de texte */
.prose { max-width: 780px; margin: 0 auto; padding: 56px 20px 80px; }
.prose h1 { font-size: 2rem; }
.prose h2 { font-size: 1.25rem; margin-top: 2em; }
.placeholder { background: #fff6e0; padding: 0 4px; border-radius: 4px; }

/* ---------- Ajustements mobile ---------- */
.brand-text { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
@media (max-width: 560px) {
  .site-header .container { height: 60px; }
  .brand img { width: 36px; }
  .brand-text { font-size: 1rem; }
  .hide-xs { display: none; }
  .hero { min-height: 380px; background-position: 55% center; }
  .hero-badge { width: min(300px, 80vw); padding: 26px; }
  .hero--compact { min-height: 230px; }
  .hero--compact .hero-badge { width: 200px; padding: 18px; }
  .section { padding: 56px 0; }
}
