/* ==========================================================
   RAD Vision — feuille de style
   Couleurs et police issues de la charte graphique
   ========================================================== */
/* Police Poppins hébergée sur le site (pas d'appel à Google : conforme RGPD) */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-latin-700-normal.woff2") format("woff2"); }
:root {
  --navy: #0B2A4A;
  --navy-900: #071D34;
  --navy-700: #123A63;
  --sky: #2E9BF0;
  --sky-light: #6FC1FA;
  --grey: #6B7684;
  --orange: #FF7A1A;
  --ink: #0F1B2A;
  --bg: #FFFFFF;
  --bg-soft: #F3F6FA;
  --line: #DFE6EE;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 42, 74, .08);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-weight: 600; line-height: 1.2; margin: 0 0 .6em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: #DCE7F3; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--sky); margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--sky-light); }
.lead { font-size: 1.12rem; color: var(--grey); max-width: 640px; }
.section--dark .lead { color: #AFC3D8; }
.section-head { margin-bottom: 48px; }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font: 500 1rem/1 "Poppins", sans-serif;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--sky); color: #fff; }
.btn--primary:hover { background: #1F8BE0; }
.btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* ---------- En-tête ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .25s ease, box-shadow .25s ease;
}
.header.is-scrolled { background: rgba(7, 29, 52, .92); backdrop-filter: blur(10px); box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; color: #fff; }
.logo:hover { text-decoration: none; }
.logo__icon { width: 40px; height: 40px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__rad { font-weight: 700; font-size: 1.55rem; letter-spacing: .02em; }
.logo__vision { font-size: .62rem; letter-spacing: .42em; color: var(--sky-light); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: #DCE7F3; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: #fff; text-decoration: none; }
.nav .btn { padding: 10px 20px; color: #fff; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }

/* ---------- Héro ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: radial-gradient(1200px 600px at 75% 30%, #164C80 0%, var(--navy) 45%, var(--navy-900) 100%);
  color: #DCE7F3;
  padding: 120px 0 80px;
}
.hero__bg { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--sky-light); }
.hero .lead { color: #B9CCE0; font-size: 1.15rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__zones { display: flex; align-items: center; gap: 8px; margin-top: 28px; font-size: .92rem; color: #9FB6CE; }
.hero__zones svg { width: 18px; height: 18px; color: var(--orange); }

/* Viseur caméra */
.viewfinder {
  position: relative; aspect-ratio: 4 / 5;
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(160deg, #1A5487 0%, #0E3559 100%);
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.viewfinder svg.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.vf-corner { position: absolute; width: 34px; height: 34px; border: 3px solid rgba(255,255,255,.85); }
.vf-corner.tl { top: 18px; left: 18px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.vf-corner.tr { top: 18px; right: 18px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.vf-corner.bl { bottom: 18px; left: 18px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.vf-corner.br { bottom: 18px; right: 18px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.vf-hud {
  position: absolute; left: 26px; right: 26px;
  display: flex; justify-content: space-between;
  font: 500 .72rem/1 "Poppins", monospace; letter-spacing: .12em; color: rgba(255,255,255,.85);
}
.vf-hud.top { top: 30px; padding: 0 30px; }
.vf-hud.bottom { bottom: 30px; padding: 0 30px; }
.rec { display: inline-flex; align-items: center; gap: 6px; }
.rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.vf-cross { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); }

/* ---------- Bandeau atouts ---------- */
.strip { background: var(--navy-900); color: #C6D6E6; }
.strip__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 20px; margin: 0 auto; list-style: none; max-width: var(--max); }
.strip__list li { display: flex; align-items: center; gap: 12px; font-size: .93rem; }
.strip__list svg { flex: none; width: 26px; height: 26px; color: var(--sky-light); }

/* ---------- Prestations ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__art { aspect-ratio: 16 / 10; background: linear-gradient(160deg, #EAF4FE, #D5E8FA); }
.card__art svg { width: 100%; height: 100%; }
.card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--grey); }
.card ul { list-style: none; padding: 0; margin: 4px 0 20px; }
.card li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: .95rem; }
.card li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 14px; height: 8px; border-left: 2px solid var(--sky); border-bottom: 2px solid var(--sky);
  transform: rotate(-45deg) translateY(-3px);
}
.card__for { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .85rem; color: var(--grey); }
.card__for strong { color: var(--navy); font-weight: 600; }

/* ---------- Avantages ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.benefit { padding: 28px 24px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.benefit__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(46,155,240,.18); color: var(--sky-light); margin-bottom: 18px; }
.benefit__icon svg { width: 24px; height: 24px; }
.benefit p { color: #AFC3D8; font-size: .95rem; margin: 0; }

/* ---------- Méthode ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding: 30px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-weight: 700; font-size: 2.2rem; line-height: 1;
  color: var(--sky); margin-bottom: 16px;
}
.step p { color: var(--grey); font-size: .95rem; margin: 0; }

/* ---------- Zone ---------- */
.zone { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.zone__cities { display: grid; gap: 18px; margin-top: 28px; }
.city { display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: var(--bg-soft); }
.city__pin { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; }
.city__pin svg { width: 20px; height: 20px; }
.city h3 { margin: 0 0 4px; font-size: 1.08rem; }
.city p { margin: 0; color: var(--grey); font-size: .93rem; }
.zone__map { border-radius: 20px; background: var(--navy); padding: 20px; }
.zone__map svg { width: 100%; height: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-weight: 500; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--sky); border-bottom: 2px solid var(--sky);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--grey); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact__info { display: grid; gap: 18px; margin-top: 30px; }
.contact__item { display: flex; align-items: center; gap: 14px; color: #fff; }
.contact__item svg { width: 22px; height: 22px; color: var(--sky-light); flex: none; }
.contact__item a { color: #fff; }
.form { background: #fff; color: var(--ink); border-radius: 20px; padding: 34px; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #FBFCFE;
  font: 400 .97rem/1.4 "Poppins", sans-serif; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(46,155,240,.15);
}
.field textarea { min-height: 130px; resize: vertical; }
.form .btn { width: 100%; justify-content: center; }
.form__legal { font-size: .78rem; color: var(--grey); margin: 14px 0 0; }
.hidden { position: absolute; left: -9999px; }

/* ---------- Pied de page ---------- */
.footer { background: var(--navy-900); color: #8FA6BE; padding: 48px 0 30px; font-size: .9rem; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.footer a { color: #C6D6E6; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__bottom { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; }

/* ---------- Pages simples (mentions légales, merci) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 140px 0 60px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose p, .prose li { color: #334255; }
.todo { background: #FFF1E6; color: #B24D00; padding: 1px 6px; border-radius: 4px; font-weight: 500; }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .rec::before { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .services { grid-template-columns: 1fr 1fr; }
  .benefits, .steps { grid-template-columns: 1fr 1fr; }
  .strip__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .hero__grid, .zone, .contact { grid-template-columns: 1fr; }
  .viewfinder { max-width: 420px; aspect-ratio: 4 / 3; }
  .burger { display: block; }
  .nav {
    position: fixed; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900); padding: 10px 20px 24px;
    transform: translateY(-120%); transition: transform .3s ease; z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav .btn { margin-top: 16px; justify-content: center; border: 0; }
  .header.menu-open { background: var(--navy-900); }
}
@media (max-width: 640px) {
  .services, .benefits, .steps, .strip__list, .form__row { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
}
