/* O rapport : site vitrine. Marine pour l'encre et le radar, menthe pour le signal, base brume claire. */
@font-face { font-family: 'Jost'; src: url('/fonts/Jost_400Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/fonts/Jost_500Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/fonts/Jost_600SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/fonts/Jost_700Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --navy: #0D1838;
  --navy2: #1B2A55;
  --navy3: #24366B;
  --mint: #2EE6A6;
  --live: #0B9C6E;
  --live-soft: #DDF8EE;
  --paper: #F4F6F5;
  --white: #FFFFFF;
  --line: #DFE4E2;
  --mist: #687084;
  --amber: #F2A93B;
  --amber-soft: #FDF0DC;
  --amber-ink: #A86A0E;
  --red: #D9433A;
  --wrap: 1120px;
  --sweep: 4s;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--navy);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Logo : le O est un radar ---------- */
.logo { display: inline-flex; align-items: flex-end; gap: .28em; text-decoration: none; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.logo .o { width: .74em; height: .74em; margin-bottom: .1em; border-radius: 50%; border: .12em solid currentColor; position: relative; overflow: hidden; flex: none; }
.logo .o::before { content: ''; position: absolute; inset: 0; background: conic-gradient(from 0deg, transparent 0 250deg, rgba(46,230,166,.15) 250deg, var(--mint) 360deg); animation: spin var(--sweep) linear infinite; }
.logo .o::after { content: ''; position: absolute; left: 50%; top: 50%; width: .16em; height: .16em; margin: -.08em 0 0 -.08em; border-radius: 50%; background: var(--mint); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- En-tête ---------- */
.site-head { position: absolute; inset: 0 0 auto 0; z-index: 10; color: var(--white); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.site-head .logo { font-size: 32px; }
.site-head nav { display: flex; gap: 28px; font-weight: 500; font-size: 16px; }
.site-head nav a { text-decoration: none; opacity: .8; }
.site-head nav a:hover { opacity: 1; }
.head-light { position: static; color: var(--navy); border-bottom: 1px solid var(--line); background: var(--white); }

/* ---------- Héros ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(120% 90% at 70% 30%, #1E3370 0%, var(--navy) 62%);
  padding: 140px 0 96px;
  border-radius: 0 0 48px 48px;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(48px, 7.4vw, 96px); line-height: .98; letter-spacing: -.045em; margin: 0 0 24px; font-weight: 700; }
.hero p.lede { font-size: 21px; line-height: 1.5; color: rgba(255,255,255,.78); max-width: 30ch; margin: 0 0 36px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px; border-radius: 28px; background: var(--mint); color: var(--navy); font-weight: 700; font-size: 17px; text-decoration: none; }
.store.ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.3); font-weight: 600; }
.soon { font-size: 15px; color: rgba(255,255,255,.6); margin-top: 16px; }

/* Radar du héros */
.radar { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin-left: auto; }
.radar svg { width: 100%; height: 100%; overflow: visible; }
.radar .sweep { transform-origin: 200px 200px; animation: spin var(--sweep) linear infinite; }
.blip { animation: ping var(--sweep) linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ping {
  0% { opacity: 1; transform: scale(1.7); }
  12% { opacity: 1; transform: scale(1); }
  70% { opacity: .55; }
  100% { opacity: 1; transform: scale(1.7); }
}
.radar .tag { font-family: 'Jost', sans-serif; font-weight: 600; font-size: 13px; fill: var(--white); }
.radar .tag-sub { font-family: 'Jost', sans-serif; font-weight: 500; font-size: 12px; fill: var(--mint); }
.radar .tag-sub.warn { fill: var(--amber); }
.me-pulse { transform-origin: 200px 200px; animation: mepulse 2.4s ease-out infinite; }
@keyframes mepulse { from { opacity: .7; transform: scale(.3); } to { opacity: 0; transform: scale(1.6); } }

/* ---------- Sections ---------- */
section { padding: 112px 0; }
.kicker { font-weight: 600; color: var(--live); margin: 0 0 12px; font-size: 17px; }
h2 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 20px; font-weight: 700; max-width: 18ch; }
h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.015em; margin: 0 0 8px; font-weight: 700; }
.intro { font-size: 20px; color: var(--mist); max-width: 52ch; margin: 0; }

/* Comment ça marche : une vraie suite d'étapes */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--white); border-radius: 28px; padding: 28px 28px 32px; border: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--mint); font-weight: 700; font-size: 20px; margin-bottom: 22px; }
.steps p { margin: 0; color: var(--mist); }

/* Fonctionnalités : texte + maquette */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature + .feature { margin-top: 128px; }
.feature.flip .copy { order: 2; }
.feature .copy p:not(.kicker) { color: var(--mist); font-size: 19px; max-width: 46ch; margin: 0 0 14px; }
.feature .copy ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature .copy ul li { padding-left: 28px; position: relative; }
.feature .copy ul li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--live-soft); }

/* Maquette : liste du radar */
.panel { background: var(--white); border-radius: 32px; border: 1px solid var(--line); padding: 22px; box-shadow: 0 30px 60px -30px rgba(13,24,56,.25); }
.panel-title { font-weight: 600; color: var(--mist); font-size: 15px; margin: 4px 6px 12px; }
.row { display: flex; align-items: center; gap: 14px; padding: 12px 8px; border-top: 1px solid var(--line); }
.row:first-of-type { border-top: 0; }
.av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--white); font-weight: 700; flex: none; }
.row .who { flex: 1; min-width: 0; }
.row .name { font-weight: 700; display: flex; align-items: center; gap: 10px; }
.row .where { color: var(--mist); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip { font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 99px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.chip.ok { background: var(--live-soft); color: var(--live); }
.chip.ok::before, .chip.warn::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.wait { background: var(--line); color: var(--mist); }
.chip.warn { background: var(--amber-soft); color: var(--amber-ink); }
.batt { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--mist); }
.batt i { width: 21px; height: 11px; border: 1.2px solid var(--mist); border-radius: 3px; padding: 1.2px; position: relative; }
.batt i::after { content: ''; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; background: var(--mist); border-radius: 0 1px 1px 0; }
.batt b { display: block; height: 100%; border-radius: 1.5px; background: var(--navy); }
.batt.low { color: var(--red); } .batt.low b { background: var(--red); }

/* Maquette : rapport du jour */
.report { background: var(--navy); border-radius: 32px; padding: 18px; color: var(--white); box-shadow: 0 30px 60px -30px rgba(13,24,56,.45); }
.days { display: flex; gap: 8px; margin: 4px 4px 14px; }
.days span { padding: 7px 13px; border-radius: 99px; background: var(--navy2); font-weight: 600; font-size: 14px; color: rgba(255,255,255,.7); }
.days span.on { background: var(--white); color: var(--navy); }
.map { position: relative; border-radius: 22px; overflow: hidden; background: #F1F3F2; aspect-ratio: 4 / 3.1; }
.map svg { width: 100%; height: 100%; }
.stamp {
  position: absolute; padding: 6px 12px 5px; border: 2.5px double var(--navy); border-radius: 8px;
  color: var(--navy); background: rgba(255,255,255,.88); font-weight: 700; line-height: 1.05; text-align: center;
  font-size: 12px; letter-spacing: .08em;
}
.stamp strong { display: block; font-size: 19px; letter-spacing: .02em; }
.stats { display: flex; gap: 10px; margin-top: 14px; }
.stats div { flex: 1; background: var(--navy2); border-radius: 18px; padding: 12px 14px; }
.stats b { display: block; font-size: 22px; letter-spacing: -.02em; }
.stats span { font-size: 13px; color: rgba(255,255,255,.65); }

/* Maquette : écran verrouillé */
.lock {
  position: relative; max-width: 380px; margin-inline: auto; border-radius: 46px; padding: 56px 18px 28px;
  background: linear-gradient(160deg, #2A3C73 0%, #101B40 55%, #0A1230 100%); color: var(--white);
  box-shadow: 0 40px 80px -36px rgba(13,24,56,.6);
}
.lock .time { text-align: center; font-size: 76px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.lock .date { text-align: center; font-weight: 500; color: rgba(255,255,255,.75); margin: 6px 0 120px; }
.live { display: flex; align-items: center; gap: 14px; border-radius: 26px; padding: 14px; background: rgba(13,24,56,.82); backdrop-filter: blur(10px); }
.live .mini { width: 46px; height: 46px; border-radius: 50%; border: 5px solid var(--white); position: relative; overflow: hidden; flex: none; }
.live .mini::before { content: ''; position: absolute; inset: 0; background: conic-gradient(from 0deg, transparent 0 250deg, rgba(46,230,166,.2) 250deg, var(--mint) 360deg); animation: spin var(--sweep) linear infinite; }
.live .txt { flex: 1; }
.live .txt b { display: block; font-size: 16px; }
.live .txt span { font-size: 13px; color: rgba(255,255,255,.65); }
.sos { background: var(--red); color: var(--white); font-weight: 700; border-radius: 99px; padding: 11px 16px; font-size: 15px; }

.chain { counter-reset: c; list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.chain li { counter-increment: c; padding: 0; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.chain li::before { content: counter(c); width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; font-weight: 700; }
.chain b { display: block; }
.chain span { color: var(--mist); font-size: 17px; }

/* Maquette : notification batterie */
.notifs { display: grid; gap: 12px; max-width: 440px; margin-inline: auto; }
.notif { display: flex; gap: 12px; background: var(--white); border-radius: 24px; padding: 14px 16px; border: 1px solid var(--line); box-shadow: 0 24px 40px -28px rgba(13,24,56,.3); }
.notif .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--navy); display: grid; place-items: center; flex: none; }
.notif .ic span { width: 22px; height: 22px; border-radius: 50%; border: 3.5px solid var(--white); position: relative; overflow: hidden; }
.notif .ic span::before { content: ''; position: absolute; inset: 0; background: conic-gradient(from 40deg, transparent 0 250deg, var(--mint) 360deg); }
.notif .meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--mist); }
.notif b { display: block; font-size: 16px; }
.notif p { margin: 0; font-size: 15px; color: #33405F; line-height: 1.4; }

/* Consentement */
.consent { background: var(--navy); color: var(--white); border-radius: 48px; margin: 0 16px; }
.consent .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.consent h2 { color: var(--white); }
.consent .intro { color: rgba(255,255,255,.72); }
.promises { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.promises li { background: var(--navy2); border-radius: 22px; padding: 20px 22px; }
.promises b { display: block; font-size: 19px; margin-bottom: 4px; }
.promises span { color: rgba(255,255,255,.7); }

/* Pour qui */
.uses { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.use { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 18px 22px; flex: 1 1 300px; }
.use b { display: block; font-size: 19px; }
.use span { color: var(--mist); font-size: 16px; }

/* Tarifs */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 30px; padding: 30px 28px; display: flex; flex-direction: column; gap: 6px; }
.plan.best { background: var(--navy); color: var(--white); border-color: var(--navy); }
.plan .seats { font-weight: 600; color: var(--mist); }
.plan.best .seats { color: rgba(255,255,255,.7); }
.plan .price { font-size: 56px; font-weight: 700; letter-spacing: -.04em; line-height: 1; margin: 10px 0 2px; }
.plan .price small { font-size: 18px; font-weight: 500; letter-spacing: 0; }
.plan .alt { color: var(--live); font-weight: 600; }
.plan.best .alt { color: var(--mint); }
.plan .fine { color: var(--mist); font-size: 15px; margin-top: auto; padding-top: 18px; }
.plan.best .fine { color: rgba(255,255,255,.6); }
.plans-note { color: var(--mist); font-size: 16px; margin-top: 22px; }

/* FAQ */
.faq { max-width: 780px; margin-top: 40px; }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 700; font-size: 20px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 500; font-size: 26px; line-height: 1; color: var(--live); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--mist); margin: 12px 0 0; max-width: 64ch; }

/* Appel final + pied de page */
.final { text-align: center; padding: 120px 0 96px; }
.final h2 { margin-inline: auto; }
.final .stores { justify-content: center; margin-top: 28px; }
.final .store.ghost { color: var(--navy); border-color: var(--line); }
footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 56px 0 40px; font-size: 16px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
footer .logo { color: var(--white); font-size: 28px; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--white); }

/* Pages légales */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(38px, 5vw, 54px); letter-spacing: -.035em; line-height: 1.05; margin: 0 0 10px; }
.legal .updated { color: var(--mist); margin: 0 0 40px; }
.legal h2 { font-size: 27px; letter-spacing: -.02em; margin: 44px 0 12px; max-width: none; }
.legal p, .legal li { color: #2B3654; line-height: 1.65; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 12px 0; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--mist); font-weight: 600; }
.todo { background: var(--amber-soft); color: var(--amber-ink); padding: 1px 6px; border-radius: 6px; font-weight: 600; }

/* ---------- Petits écrans ---------- */
@media (max-width: 900px) {
  .site-head nav { display: none; }
  .hero { padding: 116px 0 72px; border-radius: 0 0 36px 36px; }
  .hero .wrap, .feature, .consent .wrap { grid-template-columns: 1fr; gap: 40px; }
  .radar { margin: 0 auto; max-width: 420px; }
  .feature.flip .copy { order: 0; }
  .feature + .feature { margin-top: 88px; }
  .steps, .plans { grid-template-columns: 1fr; }
  section { padding: 80px 0; }
  .consent { border-radius: 36px; margin: 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
