:root {
  --ink: #10212B;
  --text: #3C4E59;
  --muted: #51636F;
  --line: #D5DDE2;
  --bg: #F5F7F8;
  --teal: #0B6E6E;
  --teal-dark: #084F4F;
  --teal-soft: #E3F1F0;
  --night: #0E1B24;
  --night-2: #1A2B36;
  --night-line: #5B7380;
  --night-text: #E6EEF1;
  --night-muted: #C3D1D8;
  --night-faint: #9FB2BC;
  --aqua: #5CC8C8;
  --aqua-ink: #06201F;
  --input-line: #B9C6CD;
  --input-bg: #F9FBFB;
  --error: #A3261E;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
h1, h2, h3, p { margin: 0; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* En-tête et pied de page */
.site-header { background: #FFFFFF; border-bottom: 1px solid var(--line); }
.nav { max-width: 1160px; margin: 0 auto; padding: 14px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; line-height: 1.15; }
.brand:hover { color: var(--ink); }
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: 0.06em; }
.brand-tag { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.42em; text-transform: uppercase; color: var(--teal); }
.brand-tag::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--teal), var(--aqua)); }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.nav-link { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; padding: 11px 14px; border-radius: 8px; }
.nav-link:hover { color: var(--teal); }
.nav-link[aria-current="page"] { color: var(--teal); background: var(--teal-soft); font-weight: 600; }
.nav-cta { text-decoration: none; color: #FFFFFF; background: var(--teal); font-weight: 600; font-size: 15px; padding: 11px 16px; border-radius: 8px; }
.nav-cta:hover { color: #FFFFFF; background: var(--teal-dark); }
.nav-cta[aria-current="page"] { background: var(--teal-dark); }

.site-footer { border-top: 1px solid var(--line); background: #FFFFFF; }
.site-footer > div { max-width: 1160px; margin: 0 auto; padding: 24px 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13.5px; color: var(--muted); }

/* Boutons */
.btn { display: inline-block; text-decoration: none; font: inherit; font-weight: 600; padding: 13px 20px; border-radius: 8px; border: 0; cursor: pointer; text-align: center; }
.btn-primary { background: var(--teal); color: #FFFFFF; }
.btn-primary:hover { background: var(--teal-dark); color: #FFFFFF; }
.btn-aqua { background: var(--aqua); color: var(--aqua-ink); padding: 14px 22px; }
.btn-aqua:hover { background: #7AD6D6; color: var(--aqua-ink); }
.btn-ghost { color: var(--night-text); border: 1px solid var(--night-line); padding: 13px 22px; }
.btn-ghost:hover { color: #FFFFFF; border-color: var(--night-faint); }
.btn-outline { border: 1px solid var(--teal); color: var(--teal); padding: 12px 14px; }
.btn-outline:hover { background: var(--teal-soft); }
.btn-secondary { min-height: 46px; padding: 0 18px; border: 1px solid var(--input-line); background: #FFFFFF; color: var(--ink); }
.btn-secondary:disabled { opacity: 0.5; cursor: default; }
.btn-link { font-weight: 600; padding: 13px 8px; text-decoration: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Mise en page */
.dark { background: var(--night); color: var(--night-text); }
.container { max-width: 1160px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.section { max-width: 1160px; margin: 0 auto; padding: 56px 20px 24px; display: flex; flex-direction: column; gap: 20px; }
.section-head { display: flex; flex-direction: column; gap: 8px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.section-title { font-size: 32px; line-height: 1.2; }
.lead { color: var(--muted); max-width: 40em; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.grid-250 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-220 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.page-main { margin: 0 auto; padding: 48px 20px 64px; display: flex; flex-direction: column; gap: 24px; }
.page-title { font-size: 38px; line-height: 1.15; }

/* Cartes */
.card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.card-strong { border: 2px solid var(--teal); padding: 21px; }
.card-dashed { border: 1px dashed #8CA0AB; }
.card-text { color: var(--muted); font-size: 14.5px; }
.step-num { font-family: var(--mono); color: var(--teal); }
.price { font-family: var(--mono); font-size: 26px; font-weight: 500; }
.price small { font-family: var(--sans); font-size: 14px; color: var(--muted); font-weight: 400; }
.steps { list-style: none; margin: 0; padding: 0; }
.band { border-radius: 12px; padding: 28px; display: flex; flex-direction: row; flex-wrap: wrap; gap: 16px 20px; align-items: center; justify-content: space-between; }
.band-soft { background: var(--teal-soft); }
.band-body { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }

/* Héros */
.hero { max-width: 1160px; margin: 0 auto; padding: 72px 20px 64px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-body { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero-kicker { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--aqua); }
.hero-title { font-size: 46px; line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; }
.hero-text { font-size: 19px; color: var(--night-muted); max-width: 34em; }
.hero-note { font-size: 14px; color: var(--night-faint); }
.hero-media { flex: 1 1 460px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hero-media figcaption { font-size: 13px; color: var(--night-faint); }
.trust { border-top: 1px solid #22394A; }
.trust ul { list-style: none; max-width: 1160px; margin: 0 auto; padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: 14px; color: var(--night-muted); }
.pill { align-self: flex-start; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--aqua-ink); background: var(--aqua); padding: 4px 10px; border-radius: 999px; }

/* Emplacements vidéo */
.video-ph { aspect-ratio: 16 / 9; width: 100%; border-radius: 12px; background: var(--night-2); border: 1px dashed var(--night-line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 12px; }
.video-ph strong { font-size: 15px; }
.video-ph span { font-size: 13px; color: var(--night-faint); }
.video-ph-light { border-radius: 10px; background: #E8EEF1; border-color: #8CA0AB; gap: 8px; }
.video-ph-light strong { font-size: 14px; }
.video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; background: #0E1B24; object-fit: contain; }
.video-portrait { aspect-ratio: 9 / 16; width: auto; max-width: 100%; max-height: 520px; margin: 0 auto; background: #0E1B24; }
.video-hero { border-radius: 12px; background: var(--night-2); }

/* Choix de profil */
.choice { font: inherit; text-align: left; cursor: pointer; color: var(--ink); background: #FFFFFF; border: 2px solid var(--line); border-radius: 12px; padding: 18px; min-height: 96px; display: flex; flex-direction: column; gap: 4px; }
.choice[aria-pressed="true"] { background: var(--teal-soft); border-color: var(--teal); }
.choice-label { font-weight: 600; font-size: 16px; }
.choice-hint { font-size: 14px; color: var(--muted); }
.choice-sm { min-height: 56px; padding: 12px 14px; border-radius: 10px; font-weight: 500; }

/* FAQ */
.faq-item { background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; }
.faq-q { width: 100%; min-height: 56px; background: none; border: 0; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font: inherit; font-weight: 600; font-size: 16px; color: var(--ink); text-align: left; cursor: pointer; }
.faq-sign { font-size: 22px; color: var(--teal); line-height: 1; }
.faq-a { padding: 0 20px 18px; color: var(--text); }

/* Formulaires */
.form-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--text); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; font-weight: 400; min-height: 44px; padding: 8px 10px; border: 1px solid var(--input-line); border-radius: 8px; background: var(--input-bg); color: var(--ink); }
.field textarea { padding: 10px; resize: vertical; }
.field-mono input { font-family: var(--mono); }
.check { display: flex; gap: 10px; align-items: center; min-height: 44px; }
.check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--teal); }
.error { color: var(--error); font-weight: 500; }

@media (max-width: 640px) {
  .hero { padding-top: 48px; }
  .hero-title { font-size: 34px; }
  .section-title, .page-title { font-size: 28px; }
}

/* Espace connecté : tableaux, blocs d'information, simulateur détaillé */
.tablewrap { overflow-x: auto; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.data th, table.data td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; white-space: nowrap; }
table.data th { font-weight: 600; color: var(--muted); font-size: 13px; background: #F5F7F8; }
table.data tr:last-child td { border-bottom: 0; }
table.data td.num, table.data th.num { text-align: right; font-family: var(--mono); }
table.data td.wrap { white-space: normal; min-width: 220px; }
table.data tr.best td { background: var(--teal-soft); font-weight: 600; }
table.data tr.out td { color: var(--muted); }
.block { display: flex; flex-direction: column; gap: 14px; }
.block h2 { font-size: 24px; }
.lock { background: #FFFFFF; border: 1px dashed #8CA0AB; border-radius: 12px; padding: 16px 18px; color: var(--muted); }
.pill-warn { background: #FBE9D0; color: #7A4300; }
.sim-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px 18px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.sim-row:last-of-type { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.chartbar { display: grid; grid-template-columns: 84px 1fr 150px; gap: 10px; align-items: center; font-size: 13.5px; }
.chartbar .bar { display: flex; height: 18px; background: var(--bg); border-radius: 4px; overflow: hidden; }
.chartbar .bar span { display: block; height: 100%; }
pre.prop { white-space: pre-wrap; background: #EDF2F4; border-radius: 8px; padding: 14px; margin: 0; font-family: var(--sans); font-size: 14.5px; }

/* Finitions communes */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; border-radius: 6px; }
.card { transition: box-shadow 0.15s ease, border-color 0.15s ease; }
a.card:hover, .card:hover { box-shadow: 0 4px 16px rgba(16, 33, 43, 0.08); }
.btn, .nav-cta, .nav-link { transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.site-header { position: sticky; top: 0; z-index: 20; }
table.data thead th { position: sticky; top: 0; }
table.data tbody tr:hover td { background: #F9FBFB; }
table.data tr.best:hover td { background: var(--teal-soft); }
.page-main { padding-bottom: 72px; }
@media (max-width: 640px) {
  .nav { padding: 10px 14px; }
  .nav-links { width: 100%; gap: 4px; }
  .nav-link, .nav-cta { padding: 9px 11px; font-size: 14px; }
  .page-main { padding-left: 14px; padding-right: 14px; }
  .price { font-size: 22px; }
}

/* Typographie : finitions */
.eyebrow { text-transform: none; letter-spacing: 0.01em; font-size: 14px; }
.kv dt, .kicker { text-transform: none; letter-spacing: 0.01em; }
.pill { text-transform: none; letter-spacing: 0.01em; font-size: 13.5px; }
h1, h2, h3 { letter-spacing: -0.012em; text-wrap: balance; }
.page-title, .section-title { letter-spacing: -0.018em; }
p, li { text-wrap: pretty; }
.lead, .card-text, .muted { max-width: 68ch; }
.price, table.data td.num, table.data th.num, .mono { font-variant-numeric: tabular-nums; }
.price { font-size: 30px; letter-spacing: -0.02em; line-height: 1.1; }
.price small { font-size: 14px; letter-spacing: 0; }
table.data td.num { font-feature-settings: "tnum" 1; }
.card-strong .price { color: var(--teal-dark); }

.chip-btn { font: inherit; cursor: pointer; color: var(--ink); }
.chip-btn:hover { border-color: var(--teal); }
.chip-btn[aria-pressed="true"] { background: var(--teal-soft); border-color: var(--teal); color: var(--teal-dark); font-weight: 600; }
input[type="range"] { width: 100%; accent-color: var(--teal); }

/* Catalogue et simulateur (maquettes du 5 novembre) */
.sec { display: flex; flex-direction: column; gap: 12px; }
.sec > div > h2 { font-size: 24px; }
.kicker { font-size: 14px; font-weight: 600; color: var(--teal); }
.note { font-size: 14px; color: var(--muted); margin: 0; }
ul.f { margin: 0; padding-left: 18px; font-size: 14.5px; display: flex; flex-direction: column; gap: 3px; color: var(--text); }
.reason { font-size: 14.5px; margin: 0; padding-left: 18px; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; align-items: start; }
.ok { color: #17703A; font-weight: 600; }
.no { color: var(--muted); }
.pill-solid { background: var(--teal); color: #FFFFFF; }
.big { font-size: 30px; }
.big2 { font-family: var(--mono); font-size: 28px; font-weight: 500; font-variant-numeric: tabular-nums; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; cursor: pointer; border: 1px solid var(--line); background: #FFFFFF; color: var(--ink); padding: 9px 14px; border-radius: 8px; font-weight: 500; }
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--teal); color: #FFFFFF; border-color: var(--teal); }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.card label { display: flex; flex-direction: column; gap: 5px; font-size: 14px; font-weight: 500; color: var(--muted); }
.card input, .card select { font: inherit; font-family: var(--mono); font-size: 16px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--input-line); border-radius: 8px; background: var(--input-bg); color: var(--ink); width: 100%; }
.card input[type="range"] { padding: 0; min-height: 0; accent-color: var(--teal); }
.car-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 6px; }
.car-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 min(350px, 86%); scroll-snap-align: start; gap: 14px; }
.car-nav { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.car-dots { display: flex; gap: 8px; flex-wrap: wrap; }
.car-dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; padding: 0; background: var(--line); cursor: pointer; }
.car-dots button[aria-current="true"] { background: var(--teal); width: 26px; }
.navb { font: inherit; font-size: 18px; cursor: pointer; border: 1px solid var(--line); background: #FFFFFF; color: var(--ink); width: 44px; height: 44px; border-radius: 99px; }
.navb:disabled { opacity: 0.35; cursor: default; }
dl.spec { display: grid; grid-template-columns: 1fr auto; gap: 7px 14px; margin: 0; font-size: 14px; padding: 12px 0; border-block: 1px solid var(--line); }
dl.spec dt { color: var(--muted); }
dl.spec dd { margin: 0; font-family: var(--mono); text-align: right; }
.ex { background: var(--teal-soft); border-radius: 8px; padding: 10px 12px; font-size: 13.5px; }
.for { font-size: 13.5px; margin: 0; }
.mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.mini > div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--bg); display: flex; flex-direction: column; gap: 2px; }
.mini .a { font-size: 13px; color: var(--muted); }
.mini .b { font-family: var(--mono); font-size: 18px; }
.mini .x { opacity: 0.55; }
.chips2 { display: flex; gap: 8px; flex-wrap: wrap; }
.chips2 span { border: 1px solid var(--line); background: #FFFFFF; border-radius: 99px; padding: 7px 13px; font-size: 14px; }

/* Responsive : garde-fous communs à toutes les pages */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { overflow-x: hidden; }
img, video, svg, iframe { max-width: 100%; }
.page-main > *, .section > *, .container > *, .hero > *, .hero-body, .hero-media { min-width: 0; }
.nav { padding-left: max(14px, env(safe-area-inset-left, 0px)); padding-right: max(14px, env(safe-area-inset-right, 0px)); }
@media (max-width: 640px) {
  .nav { gap: 8px 12px; }
  .section { padding-left: 14px; padding-right: 14px; padding-top: 40px; }
  .hero { padding-left: 14px; padding-right: 14px; }
  .btn { padding: 12px 16px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}

/* Accessibilité : lien d'évitement, focus du contenu principal */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--teal); border: 2px solid var(--teal); border-radius: 8px; padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
/* Pages légales */
.legal h2 { font-size: 20px; margin: 26px 0 6px; }
.legal p, .legal li { line-height: 1.65; }
.legal ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
mark.todo { background: #FFF1D6; color: #7A4A00; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.site-footer > div { flex-wrap: wrap; }

/* Boutons de commande des tarifs */
.btn-buy { display: inline-flex; align-items: center; justify-content: center; line-height: 1.25; padding: 10px 16px; min-height: 44px; white-space: nowrap; align-self: flex-start; text-decoration: none; }
@media (max-width: 720px) { .btn-buy { white-space: normal; text-align: center; } .cat .card .btn-buy { align-self: stretch; } }

/* Signature du pied de page */
.site-footer .made { flex-basis: 100%; padding-top: 10px; border-top: 1px solid var(--line); text-align: center; letter-spacing: 0.02em; }
.site-footer .made strong { color: var(--ink); letter-spacing: 0.06em; }

/* « La solution » : section foncée (contraste avec les zones claires) + grande vidéo de synthèse */
.solution-dark { background: radial-gradient(ellipse at 50% 0%, #1A2B36 0%, var(--night) 60%); }
.dark .eyebrow { color: var(--aqua); }
.dark .section-title { color: #FFFFFF; }
.dark .lead { color: var(--night-muted); }
.big-video { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.video-big { width: 100%; max-width: 1080px; aspect-ratio: 16 / 9; border-radius: 14px; background: #0A1218; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(92, 200, 200, 0.18); }
.big-video figcaption { color: var(--night-muted); font-size: 15px; text-align: center; }
@media (max-width: 640px) { .video-big { border-radius: 10px; } }
.solution-dark .card { color: var(--text); }
.solution-dark .card h3 { color: var(--ink); }
.solution-dark .card dd { color: var(--ink); }
.solution-dark .card dt { color: var(--teal); }

/* Page connexion : rappel d'inscription sur euradrones.fr */
.signup-notice { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--teal); border-left-width: 4px; border-radius: 10px; background: var(--teal-soft); color: var(--ink); font-size: 15px; }
.signup-notice p { margin: 0; }
.signup-notice b { color: var(--teal-dark); }
.signup-notice .btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
