/* =========================================================
   3V Digital : feuille de style du site (direction « Radar local »)
   Ordre : polices, variables, reset, typographie, composants,
   en-tête et menu, sections, pages, pied de page, media queries
   ========================================================= */

/* ---------- Polices (hébergées sur le site, licence OFL) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-opsz.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Martian Mono";
  src: url("../fonts/martian-mono-wght.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

/* ---------- Variables : un changement de couleur = une ligne ---------- */
:root {
  --background: #090a0b;
  --foreground: #f5f5f3;
  --surface: #141619;          /* panneaux, champs de formulaire */
  --surface-alt: #101214;      /* sections encrées, pied de page */
  --muted-foreground: #a5a9b0; /* textes secondaires */
  --emphasis: #aeb3bc;         /* deuxième ligne grise des grands titres */
  --faint: #6f747c;            /* repères discrets */
  --accent: #d3d6db;
  --border: #ffffff1f;
  --border-strong: #ffffff38;
  --input: #ffffff38;
  --placeholder: #898f98;
  --destructive: #fda8a2;      /* messages d'erreur du formulaire */
  --paper: #f5f5f3;            /* bloc clair « On en parle ? » */
  --ink: #101214;

  --font-sans: "Bricolage Grotesque", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "Martian Mono", "SFMono-Regular", Consolas, monospace;

  --gutter: 40px;
  --section: clamp(56px, 7vw, 96px);
  --radius: 12px;
  --header-height: 68px;
}

/* ---------- Reset léger ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid var(--border);
}

html {
  -webkit-text-size-adjust: 100%;
  background: var(--background);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  min-width: 320px;
  color: var(--foreground);
  background: var(--background);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: inherit; }
button, input, textarea { font: inherit; color: inherit; background: transparent; }
button, summary { cursor: pointer; }
fieldset { min-width: 0; }
img, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }

::selection { color: #090a0b; background: #f5f5f3; }

a, button, input, textarea, summary { -webkit-tap-highlight-color: transparent; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid;
  outline-offset: 4px;
}

/* ---------- Typographie ---------- */

/* Étiquette technique en police mono (surtitres, repères, numéros) */
.label,
.title-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .06em;
  line-height: 1.6;
  text-transform: uppercase;
}

.label { color: var(--muted-foreground); }

.label-dot { display: inline-flex; align-items: center; gap: 10px; }

.title-kicker.label-dot { display: flex; width: fit-content; }

.label-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--foreground);
  border-radius: 50%;
  box-shadow: 0 0 0 4px #f5f5f31f;
}

.page-title,
.hero-title {
  font-weight: 760;
  letter-spacing: -.05em;
  line-height: .92;
}

.hero-title { font-size: clamp(58px, 7.6vw, 124px); }

.page-title { font-size: clamp(50px, 6.6vw, 108px); }

.page-title .title-kicker,
.hero-title .title-kicker {
  margin-bottom: 24px;
  color: var(--muted-foreground);
  letter-spacing: .06em;
}

.light {
  display: block;
  color: var(--emphasis);
  font-weight: 400;
}

.page-title,
.hero-title,
.section-title { text-wrap: balance; }

.section-title {
  font-size: clamp(36px, 4.6vw, 68px);
  font-weight: 720;
  letter-spacing: -.04em;
  line-height: .98;
}

.section-title .light { display: inline; }

.lead {
  max-width: 34rem;
  color: var(--muted-foreground);
  font-size: 18px;
  line-height: 1.55;
}

.index { color: var(--faint); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; }

/* ---------- Composants ---------- */
.skip-link {
  position: fixed;
  top: .75rem;
  left: 1rem;
  z-index: 100;
  padding: .75rem 1rem;
  color: var(--background);
  background: var(--foreground);
  font-size: .875rem;
  font-weight: 600;
  transform: translateY(-5rem);
  transition: transform .15s;
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(100% - var(--gutter) * 2, 1360px);
  margin-inline: auto;
}

.section { padding-block: var(--section); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 24rem);
  align-items: end;
  gap: 24px 48px;
  margin-bottom: 40px;
}

.section-head .label { grid-column: 1 / -1; }

.section-head .lead { justify-self: end; font-size: 17px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 22px;
  color: var(--background);
  background: var(--foreground);
  border: 1px solid var(--foreground);
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  transition: background .18s, border-color .18s, transform .18s;
}

.btn::after {
  content: "→";
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  transition: transform .18s;
}

.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn:hover::after { transform: translateX(3px); }

.btn-ghost {
  color: var(--foreground);
  background: transparent;
  border-color: var(--border-strong);
}

.btn-ghost:hover { background: var(--surface); border-color: var(--foreground); }

.link {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid #f5f5f366;
  font-size: 15px;
  transition: border-color .18s;
}

.link:hover { border-color: var(--foreground); }

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-wordmark {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.brand-symbol {
  flex-shrink: 0;
  width: 36px;
  height: auto;
  aspect-ratio: 436 / 317;
  color: inherit;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

/* Liste à tirets techniques (« + » en police mono) */
.ticks { display: grid; gap: 10px; }

.ticks li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  font-size: 15.5px;
  line-height: 1.45;
}

.ticks li::before {
  content: "+";
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
}

/* Champ invisible anti-spam (les robots le remplissent, pas les humains) */
.visually-hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- En-tête et menu ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-height);
}

.main-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  color: var(--muted-foreground);
  font-size: 15px;
}

.main-nav a { position: relative; transition: color .18s; }

.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--foreground); }

.main-nav a[aria-current="page"]::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -11px;
  width: 4px;
  height: 4px;
  background: var(--foreground);
  border-radius: 50%;
  transform: translateY(-50%);
}

.header-tel {
  padding: 9px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
  transition: border-color .18s;
}

.header-tel:hover { border-color: var(--foreground); }

.menu-button {
  display: none;
  align-items: center;
  gap: .75rem;
  height: 44px;
  margin-left: auto;
  font-size: 14px;
}

.menu-lines { display: grid; gap: 6px; width: 22px; }

.menu-lines span {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform .18s, opacity .18s;
}

.menu-button[aria-expanded="true"] .menu-lines span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-lines span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] .menu-lines span:last-child { transform: translateY(-7px) rotate(-45deg); }

.site-navigation {
  position: absolute;
  top: 100%;
  inset-inline: 0;
  height: calc(100dvh - var(--header-height));
  overflow-y: auto;
  background: var(--background);
}

.navigation-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
  min-height: 100%;
  padding-block: 2rem;
}

.navigation-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
  color: #969ca6;
  border-bottom: 1px solid var(--border);
  font-size: clamp(2.2rem, 9vw, 3.4rem);
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1.05;
}

.navigation-links a[aria-current="page"] { color: var(--foreground); }

.navigation-bottom {
  display: grid;
  gap: 1rem;
  color: var(--muted-foreground);
}

.navigation-contact { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; color: var(--foreground); }

/* ---------- Accueil : radar ---------- */
.hero {
  position: relative;
  height: calc(100svh - var(--header-height));
  min-height: 660px;
  max-height: 1000px;
  overflow: hidden;
}

.hero-radar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #090a0b 0%, #090a0bf2 30%, #090a0b99 48%, transparent 66%);
  pointer-events: none;
}

.hero-hud {
  position: absolute;
  top: 22px;
  right: var(--gutter);
  z-index: 2;
  color: var(--muted-foreground);
  text-align: right;
}

.hero-hud strong { color: var(--foreground); font-weight: 500; }

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-bottom: 96px;
}

.hero-content .lead { max-width: 30rem; margin-top: 28px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 32px;
}

.info-strip {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #090a0bd9;
  border-top: 1px solid var(--border);
}

.info-strip > div {
  padding: 16px var(--gutter) 18px;
  border-right: 1px solid var(--border);
}

.info-strip > div:last-child { border-right: 0; }

.info-strip p {
  margin-top: 6px;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -.03em;
  line-height: 1.2;
}

.info-strip small { color: var(--muted-foreground); font-size: 14px; font-weight: 400; letter-spacing: 0; }

/* ---------- Grille « fiche technique » (4 cases bordées) ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.spec-grid > div {
  padding: 24px 26px 26px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.spec-grid h3 {
  margin-top: 18px;
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.spec-grid p {
  margin-top: 8px;
  color: var(--muted-foreground);
  font-size: 15.5px;
  line-height: 1.55;
}

.spec-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.split .section-title { margin-top: 16px; }

.split .lead { margin-top: 22px; }

/* ---------- Offre : deux modules + bandeau refonte ---------- */
.offer-modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.module {
  display: flex;
  flex-direction: column;
  padding: 28px 30px 30px;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.module-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.module h3 {
  margin-top: 14px;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 680;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.module .price {
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 760;
  letter-spacing: -.05em;
  line-height: 1;
  white-space: nowrap;
  text-align: right;
}

.module .price small {
  display: block;
  margin-top: 6px;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.module > p {
  max-width: 34rem;
  margin-top: 20px;
  color: var(--muted-foreground);
  font-size: 16px;
  line-height: 1.6;
}

.module .ticks {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.module-foot { margin-top: auto; padding-top: 26px; }

.offer-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  padding: 22px 30px;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.offer-band h3 { font-size: 21px; font-weight: 650; letter-spacing: -.02em; }

.offer-band p { color: var(--muted-foreground); font-size: 15px; }

.offer-band strong { font-size: 22px; font-weight: 700; letter-spacing: -.03em; white-space: nowrap; }

.offer-note {
  margin-top: 18px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ---------- Être trouvé : illustration d'une fiche d'entreprise ---------- */
.found {
  background: var(--surface-alt);
  border-block: 1px solid var(--border);
}

.found .ticks { margin-top: 26px; }

.local-card { position: relative; overflow: hidden; }

.local-map {
  position: relative;
  height: 190px;
  background-image: radial-gradient(#f5f5f366 1px, transparent 1.5px);
  background-size: 12px 12px;
  border-bottom: 1px solid var(--border);
  -webkit-mask-image: radial-gradient(ellipse at 45% 55%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse at 45% 55%, #000 30%, transparent 78%);
}

.local-pin {
  position: absolute;
  top: 46%;
  left: 44%;
  width: 14px;
  height: 14px;
  background: var(--foreground);
  border-radius: 50%;
  box-shadow: 0 0 0 7px #f5f5f324, 0 0 0 18px #f5f5f30f;
}

.local-body { padding: 22px 26px 26px; }

.local-body h3 { font-size: 26px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }

.local-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-top: 8px;
  color: var(--muted-foreground);
  font-size: 15px;
}

.local-rating .stars { color: var(--foreground); letter-spacing: 2px; }

.local-meta { margin-top: 6px; color: var(--muted-foreground); font-size: 15px; }

.local-meta b { color: var(--foreground); font-weight: 600; }

.local-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.local-actions span {
  padding: 10px 6px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 13px;
  text-align: center;
}

.local-actions span:first-child { color: var(--background); background: var(--foreground); border-color: var(--foreground); }

.local-review {
  margin-top: 18px;
  padding-top: 16px;
  color: var(--muted-foreground);
  border-top: 1px solid var(--border);
  font-size: 14.5px;
  line-height: 1.55;
}

.figure-caption { margin-top: 12px; }

/* ---------- Étapes (frise horizontale) ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 6px;
  inset-inline: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 12px);
}

.steps li { position: relative; padding-top: 32px; }

.steps li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 13px;
  height: 13px;
  background: var(--background);
  border: 1px solid var(--foreground);
  border-radius: 50%;
}

.steps li:last-child::before { background: var(--foreground); }

.steps h3 {
  margin-top: 10px;
  font-size: 24px;
  font-weight: 680;
  letter-spacing: -.03em;
}

.steps p {
  margin-top: 8px;
  color: var(--muted-foreground);
  font-size: 15.5px;
  line-height: 1.55;
}

/* ---------- Zone d'intervention (liste des communes) ---------- */
.zone-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}

.zone-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
}

.zone-list li:nth-child(3n+2),
.zone-list li:nth-child(3n+3) { padding-left: 20px; border-left: 1px solid var(--border); }

.zone-list li:nth-child(3n+1),
.zone-list li:nth-child(3n+2) { padding-right: 20px; }

.zone-list .index { white-space: nowrap; }

.zone-list li.is-home { font-weight: 650; }

.zone-note { margin-top: 18px; color: var(--muted-foreground); font-size: 15.5px; }

/* ---------- Bloc clair « On en parle ? » ---------- */
.invitation {
  --foreground: var(--ink);
  --background: var(--paper);
  --muted-foreground: #5b626b;
  --border-strong: #10121433;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: end;
  gap: 32px 48px;
  margin-block: var(--section);
  padding: 44px 48px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 20px;
}

.invitation h2 {
  margin-top: 16px;
  font-size: clamp(54px, 7vw, 110px);
  font-weight: 780;
  letter-spacing: -.055em;
  line-height: .9;
}

.invitation h2 .light { display: inline; color: #8a9099; }

.invitation-side p { color: var(--muted-foreground); font-size: 16px; line-height: 1.55; }

.invitation-tel {
  display: block;
  margin: 14px 0 18px;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -.03em;
}

.invitation .btn:hover { color: #fff; background: #30363d; border-color: #30363d; }

/* ---------- Services : questions fréquentes ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 48px;
}

.faq-list { border-top: 1px solid var(--border); }

.faq-list details { border-bottom: 1px solid var(--border); }

.faq-list summary {
  display: grid;
  grid-template-columns: 34px 1fr 16px;
  align-items: center;
  gap: 12px;
  padding-block: 18px;
  font-size: 18px;
  font-weight: 560;
  letter-spacing: -.01em;
  line-height: 1.35;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-toggle { position: relative; width: 14px; height: 14px; }

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 14px;
  height: 1px;
  background: currentColor;
  transition: transform .18s;
}

.faq-toggle::after { transform: rotate(90deg); }

details[open] .faq-toggle::after { transform: rotate(0); }

.faq-list details > p {
  max-width: 36rem;
  padding: 0 0 20px 46px;
  color: var(--muted-foreground);
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- Pages intérieures ---------- */
.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  align-items: end;
  gap: 32px 48px;
  padding-block: clamp(48px, 6vw, 80px) clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--border);
}

.page-intro .lead { font-size: 17px; }

.statement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  padding-block: 32px var(--section);
}

.statement p:first-child { font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; letter-spacing: -.02em; line-height: 1.35; }

.statement p:last-child { color: var(--muted-foreground); font-size: 17px; line-height: 1.65; }

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 48px;
  padding-block: clamp(44px, 5vw, 72px) var(--section);
}

.contact-intro .page-title { font-size: clamp(46px, 5.2vw, 84px); }

.contact-intro .lead { margin-top: 24px; font-size: 17px; }

.contact-direct {
  margin-top: 32px;
  border-top: 1px solid var(--border);
}

.contact-direct a,
.contact-direct p {
  display: grid;
  gap: 4px;
  padding-block: 16px;
  border-bottom: 1px solid var(--border);
}

.contact-direct strong {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 680;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.contact-direct p strong { font-size: 18px; font-weight: 500; letter-spacing: -.01em; }

.contact-form { padding: 30px; scroll-margin-top: calc(var(--header-height) + 24px); }

.form-grid { display: grid; gap: 18px; }

.form-block { margin-top: 22px; }

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 560;
}

.form-optional { color: var(--muted-foreground); font-weight: 400; }

.form-field {
  display: block;
  width: 100%;
  height: 50px;
  padding-inline: 14px;
  color: var(--foreground);
  background: var(--background);
  border: 1px solid var(--input);
  border-radius: 10px;
  font-size: 16px;
}

.form-field::placeholder { color: var(--placeholder); }

.form-field:focus-visible {
  border-color: var(--foreground);
  outline: 2px solid var(--foreground);
  outline-offset: 2px;
}

.contact-textarea {
  min-height: 170px;
  padding-block: 12px;
  line-height: 1.55;
  resize: vertical;
}

.project-options { display: flex; flex-wrap: wrap; gap: 10px; }

.project-option {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 9px 14px;
  border: 1px solid var(--input);
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
}

.project-option:has(input:checked) { border-color: var(--foreground); }

/* Bouton radio dessiné à la main */
.project-option input {
  display: grid;
  place-content: center;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  border: 1px solid #f5f5f380;
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
}

.project-option input::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--foreground);
  border-radius: 50%;
  transform: scale(0);
  transition: transform .12s;
}

.project-option input:checked { border-color: var(--foreground); }
.project-option input:checked::before { transform: scale(1); }
.project-option input:focus-visible { outline: 2px solid var(--foreground); outline-offset: 3px; }

.form-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  color: var(--destructive);
  border: 1px solid var(--destructive);
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.55;
}

.form-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 24px;
}

.form-privacy {
  flex: 1 1 16rem;
  color: var(--muted-foreground);
  font-size: 13.5px;
  line-height: 1.55;
}

.form-privacy a { text-decoration: underline; text-underline-offset: 3px; }

/* Page « Message envoyé » */
.contact-success { max-width: 760px; padding: 40px; }

.contact-success h1 { margin-top: 18px; font-size: clamp(36px, 4vw, 52px); font-weight: 720; letter-spacing: -.045em; line-height: 1; }

.contact-success p { margin-block: 18px 26px; color: var(--muted-foreground); line-height: 1.6; }

.contact-success p a { color: var(--foreground); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pages légales et 404 ---------- */
.legal-content { max-width: 780px; padding-block: clamp(44px, 5vw, 72px) var(--section); }

.legal-content .page-title { font-size: clamp(44px, 5.4vw, 80px); }

.legal-content > div { margin-top: 36px; border-top: 1px solid var(--border); }

.legal-content section { padding-block: 22px; border-bottom: 1px solid var(--border); }

.legal-content h2 { font-size: 22px; font-weight: 650; letter-spacing: -.02em; }

.legal-content section p { margin-top: 8px; color: var(--muted-foreground); line-height: 1.75; }

.legal-content section a { color: var(--foreground); text-decoration: underline; text-underline-offset: 3px; }

.not-found { min-height: 62svh; padding-block: clamp(56px, 8vw, 110px); }

.not-found .lead { margin-block: 24px 30px; }

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr 1fr;
  gap: 40px;
  padding-block: 48px 40px;
}

.footer-description { max-width: 24rem; margin-top: 18px; color: var(--muted-foreground); font-size: 15.5px; line-height: 1.6; }

.footer-links { display: grid; justify-items: start; gap: 10px; margin-top: 14px; font-size: 15.5px; }

.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 18px;
  border-top: 1px solid var(--border);
}

.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }

.footer-legal a:hover { color: var(--foreground); }

/* ---------- Media queries ---------- */
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .main-nav { gap: 20px; font-size: 14.5px; }
  .spec-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .zone-list { grid-template-columns: repeat(2, 1fr); }
  .zone-list li:nth-child(n) { padding-inline: 0; border-left: 0; }
  .zone-list li:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--border); }
  .zone-list li:nth-child(2n+1) { padding-right: 20px; }
}

@media (max-width: 900px) {
  .main-nav, .header-tel { display: none; }
  .menu-button { display: flex; }
  .hero-veil { background: linear-gradient(90deg, #090a0b 0%, #090a0bdd 50%, #090a0b66 100%); }
  .split,
  .faq-layout,
  .contact-layout,
  .statement,
  .page-intro,
  .section-head { grid-template-columns: 1fr; }
  .section-head .lead { justify-self: start; }
  .offer-modules { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps::before { display: none; }
  .invitation { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; --header-height: 62px; }
  body { font-size: 16px; }
  .brand-wordmark { font-size: 17px; }
  .brand-symbol { width: 32px; }

  .hero { height: auto; min-height: 0; max-height: none; }
  .hero-radar { height: 340px; }
  .hero-veil { background: linear-gradient(180deg, transparent 0, transparent 230px, #090a0b 330px); }
  .hero-hud { display: none; }
  .hero-content { height: auto; padding: 320px 0 36px; }
  .hero-title { font-size: clamp(46px, 14vw, 64px); }
  .hero-content .lead { margin-top: 20px; font-size: 16.5px; }
  .hero-actions { margin-top: 26px; }
  .info-strip { position: relative; grid-template-columns: 1fr 1fr; background: var(--background); }
  .info-strip > div { padding: 14px var(--gutter) 16px; border-bottom: 1px solid var(--border); }
  .info-strip > div:nth-child(2n) { border-right: 0; }
  .info-strip > div:nth-last-child(-n+2) { border-bottom: 0; }
  .info-strip p { font-size: 20px; }

  .section-head { margin-bottom: 28px; }
  .spec-grid,
  .spec-grid.cols-4 { grid-template-columns: 1fr; }
  .spec-grid > div { padding: 20px; }
  .module { padding: 22px 20px 24px; }
  .module-top { flex-direction: column; }
  .module .price { text-align: left; }
  .offer-band { grid-template-columns: 1fr; gap: 10px; padding: 20px; }
  .steps { grid-template-columns: 1fr; }
  .local-actions { grid-template-columns: 1fr 1fr; }
  .zone-list { grid-template-columns: 1fr; }
  .zone-list li:nth-child(n) { padding-inline: 0; border-left: 0; }
  .invitation { padding: 30px 22px; border-radius: 16px; }
  .faq-list summary { grid-template-columns: 28px 1fr 14px; font-size: 16.5px; }
  .faq-list details > p { padding-left: 40px; }
  .contact-form { padding: 20px; }
  .contact-success { padding: 26px 22px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding-block: 40px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
