/* G-Zéro-Sim — site commercial */
/* polices hébergées avec le site (licence SIL OFL, voir fonts/) */
@font-face { font-family: Archivo; src: url(../fonts/archivo.woff) format("woff"); font-weight: 700 800; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url(../fonts/plexsans.woff) format("woff"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url(../fonts/plexmono-500.woff) format("woff"); font-weight: 400 600; font-display: swap; }
:root {
  --navy: #0E1726; --navy2: #16233A; --orange: #F28A2E; --orange-d: #A84F00; --ink: #0E1726; --muted: #4A5868;
  --soft: #F3F5F8; --line: #DDE3EB; --white: #FFFFFF; --ok: #1E7B45;
  --f-title: Archivo, system-ui, sans-serif; --f-body: 'IBM Plex Sans', system-ui, sans-serif; --f-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --max: 1200px; --r: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--f-body); color: var(--ink); background: var(--soft); line-height: 1.55; font-size: 16px; }
img, video { max-width: 100%; display: block; }
a { color: var(--orange-d); }
a:hover { color: #7A3A00; }
h1, h2, h3 { font-family: var(--f-title); line-height: 1.12; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--f-mono); letter-spacing: 1px; font-size: 13px; color: var(--orange-d); text-transform: uppercase; }
.dark .mono { color: var(--orange); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 99; }

/* en-tête */
.top { background: var(--navy); color: #E8EDF4; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #1E2C44; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--orange); display: grid; place-items: center; flex-shrink: 0; }
.brand .ic svg { width: 28px; height: 28px; }
.brand .wm { font-family: var(--f-title); font-weight: 800; font-size: 24px; letter-spacing: -.5px; color: #fff; white-space: nowrap; line-height: 1; }
.brand .wm span { color: var(--orange); }
.brand .wm svg { width: .56em; height: .56em; vertical-align: baseline; margin-left: .02em; }
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav a { color: #C9D3E0; text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 12px; border-radius: 6px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: #1B2940; }
.nav a.cta { background: var(--orange); color: var(--navy); font-weight: 600; margin-left: 6px; }
.nav a.cta:hover { background: #FFA04D; }
.burger { display: none; background: none; border: 1px solid #33445A; color: #fff; border-radius: 6px; padding: 10px 12px; font: inherit; cursor: pointer; }
@media (max-width: 860px) {
  .burger { display: block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 14px; }
  .nav.open { display: flex; }
  .nav a.cta { margin: 6px 0 0; text-align: center; }
}

/* sections */
.dark { background: var(--navy); color: #E8EDF4; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.white { background: #fff; }
section { padding: 88px 0; }
.head { max-width: 780px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 44px; }
.head h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.8px; }
.head p { font-size: 17px; color: var(--muted); }
.dark .head p { color: #B8C4D4; }

.hero { padding: 72px 0 0; text-align: center; }
.hero h1 { font-size: clamp(36px, 6vw, 68px); font-weight: 800; letter-spacing: -1.5px; max-width: 1000px; margin: 18px auto 0; }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: #B8C4D4; max-width: 800px; margin: 22px auto 0; }
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px; padding: 15px 26px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn.pri { background: var(--orange); color: var(--navy); }
.btn.pri:hover { background: #FFA04D; color: var(--navy); }
.btn.sec { border-color: #3A4A60; color: #fff; }
.btn.sec:hover { background: #1B2940; color: #fff; }
.btn.out { border-color: var(--navy); color: var(--navy); background: #fff; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; font-size: 14px; color: #8FA0B6; align-items: center; }
.chips span.c { border: 1px solid #33445A; border-radius: 999px; padding: 5px 13px; color: #E8EDF4; }
.video { max-width: 1100px; margin: 50px auto 0; border-radius: 14px 14px 0 0; overflow: hidden; border: 1px solid #2A3A50; border-bottom: none; background: #000; }
.video video { width: 100%; height: auto; }

.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 21px; }
.card p, .card li { color: var(--muted); }
.card.dk { background: var(--navy); border-color: var(--navy); color: #E8EDF4; }
.card.dk h3 { color: #fff; }
.card.dk p, .card.dk li { color: #C9D3E0; }
ul.tick { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
ul.tick li { padding-left: 24px; position: relative; }
ul.tick li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.benefits { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.benefits h3 { font-size: 21px; margin: 6px 0 6px; }
.benefits p { color: var(--muted); }

.feat { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; margin-bottom: 84px; }
.feat:last-child { margin-bottom: 0; }
.feat.rev { flex-direction: row-reverse; }
.feat .txt { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.feat .txt h3 { font-size: 28px; }
.feat .txt p { font-size: 17px; color: var(--muted); }
.feat img { flex: 1 1 540px; min-width: 0; width: 100%; height: auto; align-self: center; border-radius: var(--r); border: 1px solid #D3DAE4; box-shadow: 0 20px 50px rgba(14,23,38,.14); }
.code { font-family: var(--f-mono); font-size: 14px; color: #33475E; background: #E6EBF2; border-radius: 6px; padding: 9px 13px; align-self: flex-start; }
.tag { font-family: var(--f-mono); font-size: 14px; background: #FDE7D2; color: var(--navy); border-radius: 6px; padding: 7px 12px; align-self: flex-start; }

/* tarifs */
.price { font-family: var(--f-title); font-size: 40px; font-weight: 800; }
.price small { font-family: var(--f-body); font-size: 15px; font-weight: 400; color: var(--muted); }
.card.dk .price small { color: #B8C4D4; }
.badge { align-self: flex-start; background: var(--orange); color: var(--navy); font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.card .btn { margin-top: auto; text-align: center; }
table.cmp { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: 15px; }
table.cmp th, table.cmp td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
table.cmp th { background: var(--navy); color: #fff; font-weight: 600; }
table.cmp td:not(:first-child), table.cmp th:not(:first-child) { text-align: center; }
.scroll { overflow-x: auto; }

/* étapes */
.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; position: relative; }
.step::before { counter-increment: s; content: counter(s); font-family: var(--f-title); font-weight: 800; font-size: 20px; color: var(--navy);
  background: var(--orange); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* formulaires */
form.f { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 30px; display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
form.f .full { grid-column: 1 / -1; }
@media (max-width: 680px) { form.f { grid-template-columns: 1fr; padding: 22px; } }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld label { font-weight: 600; font-size: 15px; }
.fld .hint { font-size: 13px; color: var(--muted); }
.fld input, .fld select, .fld textarea { font: inherit; font-size: 16px; padding: 12px 13px; border: 1px solid #B8C4D4; border-radius: 8px; background: #fff; color: var(--ink); min-height: 46px; }
.fld textarea { min-height: 120px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus, .btn:focus-visible, .nav a:focus-visible { outline: 3px solid #FFB36B; outline-offset: 1px; }
.fld input.mono-in { font-family: var(--f-mono); letter-spacing: 1px; text-transform: uppercase; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.chk input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; }
.req { color: #B3261E; }
.honey { display: none; }
.note { background: #FFF6EC; border: 1px solid #F6D2AB; border-radius: 8px; padding: 14px 16px; font-size: 15px; color: #5A3A10; }

/* textes légaux */
.legal { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 40px; max-width: 860px; }
.legal h2 { font-size: 22px; margin: 30px 0 10px; color: var(--navy); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #33475E; margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
@media (max-width: 680px) { .legal { padding: 24px; } }

/* pied */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; letter-spacing: -1px; }
.cta-band h2 span { color: var(--orange); }
.cta-band p { color: #B8C4D4; font-size: 18px; max-width: 640px; margin: 18px auto 0; }
footer { background: #0A111C; color: #8FA0B6; font-size: 14px; padding: 36px 0; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
footer a { color: #C9D3E0; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.page-head { padding: 64px 0 56px; }
.page-head h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; letter-spacing: -1px; margin-top: 12px; }
.page-head p { color: #B8C4D4; font-size: 18px; max-width: 760px; margin-top: 16px; }
