:root {
  --navy: #0B1E3F;
  --navy-2: #12305F;
  --blue: #1F6FB8;
  --orange: #F2661C;
  --amber: #FFB547;
  --ink: #14213A;
  --muted: #56637A;
  --line: #DFE5EE;
  --bg: #FFFFFF;
  --tint: #F3F6FB;
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
code { font-family: var(--mono); font-size: 0.86em; background: rgba(31, 111, 184, 0.1); color: #17578F; padding: 0.12em 0.4em; border-radius: 6px; white-space: nowrap; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.fineprint { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

/* ---- boutons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--amber), var(--orange)); border: 0; border-radius: 999px; padding: 14px 26px; text-decoration: none; cursor: pointer; box-shadow: 0 8px 22px rgba(242, 102, 28, 0.32); transition: transform 0.15s, box-shadow 0.15s; text-shadow: 0 1px 1px rgba(120, 45, 0, 0.25); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(242, 102, 28, 0.4); }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }
.btn-small { padding: 9px 18px; font-size: 0.92rem; box-shadow: none; }
.btn-ghost { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35); text-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6); }
.btn-block { width: 100%; }

/* ---- en-tête ---- */
.hero { color: #fff; background: radial-gradient(900px 500px at 85% 0%, rgba(31, 111, 184, 0.55), transparent 70%), radial-gradient(600px 400px at 0% 100%, rgba(242, 102, 28, 0.16), transparent 70%), var(--navy); overflow: hidden; }
.nav { display: flex; align-items: center; gap: 28px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: #fff; text-decoration: none; letter-spacing: -0.02em; }
.brand img { border-radius: 10px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: rgba(255, 255, 255, 0.78); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: #fff; }

.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 0; }
.hero-text { padding-bottom: 72px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.035em; }
.accent { background: linear-gradient(135deg, var(--amber), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.2rem; color: rgba(255, 255, 255, 0.82); margin-top: 22px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 34px 0 0; font-size: 0.92rem; color: rgba(255, 255, 255, 0.72); }
.chips li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); margin-right: 9px; vertical-align: 2px; }

/* ---- maquettes Telegram ---- */
.phone { margin: 0; width: 100%; max-width: 360px; background: #0E1621; color: #E9EEF4; border-radius: 30px; border: 7px solid #1C2733; box-shadow: 0 30px 70px rgba(3, 10, 25, 0.55); overflow: hidden; font-size: 14px; line-height: 1.42; text-align: left; }
.phone-hero { justify-self: center; align-self: end; border-bottom: 0; border-radius: 30px 30px 0 0; margin-bottom: -2px; }
.tg-head { display: flex; align-items: center; gap: 11px; padding: 12px 14px; background: #17212B; border-bottom: 1px solid #0B121A; }
.tg-head strong { display: block; font-size: 15px; font-weight: 600; }
.tg-head small { display: block; font-size: 12.5px; color: #7F91A4; }
.tg-avatar { width: 38px; height: 38px; border-radius: 50%; flex: none; }
.tg-avatar-channel { display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #46C0A8, #1F8A9E); }
.tg-body { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 12px 10px 16px; min-height: 420px; }
.tg-day { align-self: center; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, 0.09); padding: 3px 10px; border-radius: 999px; color: #C9D3DE; margin-bottom: 2px; }
.msg { position: relative; max-width: 94%; background: #182533; border-radius: 14px 14px 14px 5px; padding: 8px 11px 20px; }
.msg p + p { margin-top: 7px; }
.msg-out { align-self: flex-end; background: #2B5278; border-radius: 14px 14px 5px 14px; padding-right: 52px; padding-bottom: 8px; }
.msg time { position: absolute; right: 10px; bottom: 5px; font-size: 11px; color: #7F91A4; }
.msg-out time { color: #A9C4DE; }
.msg i { color: #B4C1CF; }
.tg-link { color: #6AB3F3; text-decoration: none; cursor: default; }
.preview { margin-top: 9px; padding: 6px 9px 8px; border-left: 3px solid #6AB3F3; border-radius: 5px; background: rgba(106, 179, 243, 0.1); display: grid; gap: 2px; }
.preview small { color: #6AB3F3; font-weight: 600; font-size: 13px; }
.preview strong { font-weight: 600; }
.preview span { color: #C9D3DE; font-size: 13.5px; }
.preview-img { height: 132px; margin-top: 6px; border-radius: 6px; background:
  radial-gradient(circle at 78% 26%, #FFE3A3 0 9%, rgba(255, 181, 71, 0.55) 10% 15%, transparent 16%),
  repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 26px),
  repeating-linear-gradient(0deg, rgba(11, 30, 63, 0.35) 0 2px, transparent 2px 22px),
  linear-gradient(180deg, #F9A45A 0%, #E2734A 30%, #1F6FB8 31%, #12305F 100%); }
.kb { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; width: 94%; }
.kb-col { grid-template-columns: 1fr; }
.kb-3 { grid-template-columns: repeat(3, 1fr); }
.kb span { background: rgba(255, 255, 255, 0.09); border-radius: 8px; padding: 8px 6px; text-align: center; font-size: 13.5px; font-weight: 500; }

/* ---- sections ---- */
.section { padding-top: 96px; padding-bottom: 96px; }
.section-lead { color: var(--muted); font-size: 1.1rem; margin-top: 14px; max-width: 40em; }
.section-dark { background: var(--navy); color: #fff; }
.section-dark .section-lead, .section-dark .fineprint { color: rgba(255, 255, 255, 0.68); }
.section-dark .fineprint { text-align: center; margin-top: 40px; }
.section-tint { background: var(--tint); }

.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: var(--tint); border-radius: var(--radius); padding: 28px; }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 18px; }
.steps p, .features p { color: var(--muted); margin-top: 8px; font-size: 0.98rem; }

.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.screen { display: flex; flex-direction: column; align-items: center; text-align: center; }
.screen .phone { flex: 1; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.screen h3 { margin-top: 26px; }
.screen > p { color: rgba(255, 255, 255, 0.7); margin-top: 8px; font-size: 0.98rem; max-width: 22em; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.features article { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(255, 181, 71, 0.22), rgba(242, 102, 28, 0.14)); font-size: 1.3rem; margin-bottom: 16px; }

/* ---- demande d'accès ---- */
.access { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.access-text > p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }
.access-steps { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 16px; }
.access-steps li { counter-increment: s; position: relative; padding-left: 46px; color: var(--ink); }
.access-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--line); font-weight: 700; font-size: 0.9rem; color: var(--blue); }
.card { background: #fff; border-radius: 22px; padding: 32px; box-shadow: 0 20px 50px rgba(11, 30, 63, 0.1); border: 1px solid var(--line); }
form.card { display: grid; gap: 8px; }
label { font-weight: 600; font-size: 0.95rem; margin-top: 10px; }
label:first-child { margin-top: 0; }
.optional { font-weight: 400; color: var(--muted); font-size: 0.85rem; margin-left: 4px; }
input, textarea { font: inherit; color: inherit; width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #FBFCFE; }
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 111, 184, 0.15); background: #fff; }
textarea { resize: vertical; min-height: 110px; }
::placeholder { color: #9AA6B8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form .btn { margin-top: 18px; }
form .fineprint { margin-top: 12px; }
.form-error { color: #B3261E; background: #FCEEEC; border-radius: 10px; padding: 10px 14px; font-size: 0.93rem; margin-top: 12px; }
.success { text-align: center; }
.success-ico { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: #E4F6EC; color: #1B7F4B; font-size: 1.6rem; font-weight: 800; }
.success p { color: var(--muted); margin: 12px 0 24px; }
.success:focus { outline: none; }

/* ---- questions ---- */
details { border-bottom: 1px solid var(--line); }
details:first-of-type { margin-top: 36px; border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 1.05rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--orange); transition: transform 0.2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--muted); padding: 0 40px 22px 0; }

/* ---- pied de page ---- */
.footer { background: var(--navy); color: rgba(255, 255, 255, 0.7); padding: 36px 0; font-size: 0.92rem; }
.footer-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a:not(.brand) { color: #fff; }
.footer .brand { font-size: 1.1rem; }

/* ---- petits écrans ---- */
@media (max-width: 1000px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding-top: 52px; }
  .hero-text { padding-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
  .access { grid-template-columns: 1fr; gap: 36px; }
  .section { padding-top: 68px; padding-bottom: 68px; }
  .screens { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: -24px; margin-right: -24px; padding: 0 24px 12px; -webkit-overflow-scrolling: touch; }
  .screen { flex: 0 0 min(82vw, 340px); scroll-snap-align: center; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .features { grid-template-columns: 1fr; }
  .card { padding: 24px 20px; }
  .screens { margin-left: -16px; margin-right: -16px; padding: 0 16px 12px; }
  .hero-cta .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, summary::after { transition: none; }
}
