/* Central — landing bêta. Couleurs reprises de l'app (apps/mobile). Police système. */
:root {
  --encre: #0F1B3A;
  --attenue: #5B6B82;
  --fond: #F8F9FD;
  --blanc: #FFFFFF;
  --marine: #0B1033;
  --bleu: #1B5CFF;
  --bleu-fonce: #0A4DFF;
  --cyan: #00D2F2;
  --vert: #12A66A;
  --orange: #B45309;
  --bord: #E2E8F0;
  --degrade: linear-gradient(135deg, #0A4DFF 0%, #00D2F2 100%);
  --rayon: 18px;
  --ombre: 0 10px 30px rgba(11, 16, 51, .08);
  --police: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--police); font-size: 1.0625rem; line-height: 1.55; color: var(--encre); background: var(--fond); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.conteneur { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.conteneur--etroit { width: min(760px, 100% - 2.5rem); }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 1rem; top: -4rem; background: var(--blanc); color: var(--encre); padding: .6rem 1rem; border-radius: 10px; z-index: 10; }
.evitement:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; padding: .85rem 1.6rem; border: 0; border-radius: 999px; background: var(--degrade); color: #fff; font: 600 1.0625rem/1.2 var(--police); text-decoration: none; cursor: pointer; box-shadow: 0 8px 22px rgba(10, 77, 255, .3); transition: transform .15s ease, box-shadow .15s ease; }
.bouton:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(10, 77, 255, .38); }
.bouton[disabled] { opacity: .6; cursor: progress; transform: none; }
.bouton--petit { min-height: 40px; padding: .5rem 1.1rem; font-size: .9375rem; box-shadow: none; }
.bouton--plein { width: 100%; }
.bouton--whatsapp { background: #128C4A; box-shadow: none; margin-top: .5rem; }
.bouton--whatsapp svg { width: 22px; height: 22px; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 5; background: rgba(11, 16, 51, .92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); }
.entete__barre { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.marque { display: inline-flex; align-items: center; gap: .55rem; color: #fff; font-weight: 700; font-size: 1.25rem; text-decoration: none; }
.marque img { width: 28px; height: auto; }

/* Hero */
.hero { background: radial-gradient(900px 500px at 85% 10%, rgba(0, 210, 242, .22), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(10, 77, 255, .35), transparent 60%), var(--marine); color: #fff; padding: 3rem 0 3.5rem; overflow: hidden; }
.hero__grille { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { font-size: clamp(2rem, 6.4vw, 3.4rem); font-weight: 800; }
.hero__sous-titre { font-size: clamp(1.0625rem, 2.6vw, 1.3rem); color: #C9D3F0; max-width: 34em; margin-bottom: 1.8rem; }
.badge { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-size: .875rem; font-weight: 600; margin-bottom: 1.25rem; }
.badge__point { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .25); }
.hero__visuel { display: flex; justify-content: center; }
.hero .telephone { width: 240px; }

/* Cadre téléphone */
.telephone { margin: 0; width: 220px; }
.telephone picture, .telephone > img { display: block; border-radius: 34px; overflow: hidden; border: 8px solid #0F142E; background: #0F142E; box-shadow: 0 24px 50px rgba(11, 16, 51, .28), 0 0 0 1px rgba(255, 255, 255, .06); }
.telephone img { border-radius: 26px; }
.telephone figcaption { text-align: center; margin-top: .9rem; font-weight: 600; color: var(--encre); }

/* Problème */
.probleme { background: var(--blanc); padding: 3.25rem 0; text-align: center; border-bottom: 1px solid var(--bord); }
.probleme h2 { font-size: clamp(1.4rem, 3.8vw, 2rem); }
.probleme p { color: var(--attenue); font-size: 1.125rem; margin: 0; }

/* Sections */
.section { padding: 3.5rem 0; }
.section--claire { background: var(--blanc); }
.titre-section { font-size: clamp(1.6rem, 4.4vw, 2.3rem); text-align: center; margin-bottom: 2rem; }
.note { text-align: center; color: var(--attenue); font-size: .9375rem; margin-top: 1.5rem; }

.benefices { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.carte { background: var(--blanc); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1.5rem; box-shadow: var(--ombre); }
.carte h3 { font-size: 1.2rem; }
.carte p { color: var(--attenue); margin: 0; }
.carte__icone { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #EAF0FF; color: var(--bleu); margin-bottom: 1rem; }
.carte__icone svg { width: 24px; height: 24px; }

.etapes__grille { display: grid; gap: 2rem; justify-items: center; }
.etapes__grille .titre-section { text-align: left; }
.etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.etapes li { display: flex; gap: 1rem; align-items: flex-start; }
.etapes h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.etapes p { color: var(--attenue); margin: 0; }
.etapes__num { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--degrade); color: #fff; font-weight: 700; }

.captures { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }

.dispo { display: grid; gap: 1.25rem; }
.dispo > div { border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1.4rem 1.5rem; background: var(--fond); }
.dispo__titre { display: inline-block; font-size: .875rem; text-transform: uppercase; letter-spacing: .06em; padding: .25rem .7rem; border-radius: 999px; margin-bottom: 1rem; }
.dispo__titre--oui { background: #E3F7EE; color: #0B7A4B; }
.dispo__titre--bientot { background: #FFF3E0; color: var(--orange); }
.liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.liste li { position: relative; padding-left: 1.75rem; }
.liste li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--vert) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
.liste--bientot li { color: var(--attenue); }
.liste--bientot li::before { background: #FDE7C8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='4.5' fill='none' stroke='%23B45309' stroke-width='1.6'/%3E%3Cpath d='M8 5.8V8l1.4 1' fill='none' stroke='%23B45309' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/90% no-repeat; }

/* Confiance */
.confiance { background: var(--marine); color: #fff; padding: 2.75rem 0; }
.confiance__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.confiance__liste li { display: flex; gap: .9rem; align-items: flex-start; }
.confiance__liste svg { flex: none; width: 28px; height: 28px; color: var(--cyan); }
.confiance__liste p { margin: 0; font-size: 1.0625rem; }

/* Formulaire */
.intro-form { text-align: center; color: var(--attenue); margin-top: -1rem; margin-bottom: 2rem; }
.formulaire, .merci { background: var(--blanc); border: 1px solid var(--bord); border-radius: 22px; padding: 1.5rem; box-shadow: var(--ombre); }
.champ { margin: 0 0 1.25rem; border: 0; padding: 0; min-width: 0; }
.champ label, .champ legend { display: block; font-weight: 600; margin-bottom: .4rem; padding: 0; }
.facultatif { font-weight: 400; color: var(--attenue); }
input[type="text"], input[type="email"], select { width: 100%; min-height: 50px; padding: .7rem .9rem; font: 1rem var(--police); color: var(--encre); background: var(--blanc); border: 1.5px solid #CBD5E1; border-radius: 12px; }
select { appearance: none; -webkit-appearance: none; background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right .9rem center/16px no-repeat; padding-right: 2.5rem; }
input:focus, select:focus { border-color: var(--bleu); outline: 3px solid rgba(27, 92, 255, .2); outline-offset: 0; }
[aria-invalid="true"] { border-color: #DC2626 !important; }
.choix { display: grid; gap: .5rem; }
.choix--ligne { grid-template-columns: 1fr 1fr; }
.choix label { display: flex; align-items: center; gap: .65rem; min-height: 48px; padding: .55rem .9rem; border: 1.5px solid #CBD5E1; border-radius: 12px; font-weight: 500; margin: 0; cursor: pointer; }
.choix label:has(input:checked) { border-color: var(--bleu); background: #EEF3FF; }
.choix input, .case input { width: 20px; height: 20px; accent-color: var(--bleu); flex: none; margin: 0; }
.case { display: flex !important; gap: .7rem; align-items: flex-start; font-weight: 500 !important; cursor: pointer; }
.case input { margin-top: .15rem; }
.champ__erreur { color: #B91C1C; font-size: .9375rem; margin: .4rem 0 0; }
.petit { font-size: .875rem; color: var(--attenue); margin: .5rem 0 0 1.9rem; }
.pot-de-miel { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.message { margin: 1rem 0 0; padding: .8rem 1rem; border-radius: 12px; }
.message--erreur { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.merci { text-align: center; }
.merci h3 { font-size: 1.35rem; }
.merci p { color: var(--attenue); }

/* Pied de page */
.pied { background: var(--marine); color: #C9D3F0; padding: 2rem 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.pied__grille { display: grid; gap: 1rem; justify-items: center; text-align: center; }
.pied__liens { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; }
.pied a { color: #E6ECFF; }
.marque--clair img { width: 24px; }

/* Pages légales */
.legal { padding: 2.5rem 0 3.5rem; }
.legal h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }
.legal p, .legal li { color: #334155; }
.legal .retour { display: inline-block; margin-bottom: 1.5rem; }

@media (min-width: 700px) {
  .benefices { grid-template-columns: repeat(3, 1fr); }
  .dispo { grid-template-columns: 1fr 1fr; }
  .confiance__liste { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .formulaire, .merci { padding: 2rem 2.25rem; }
  .pied__grille { grid-template-columns: auto 1fr; justify-items: stretch; text-align: left; }
  .pied__liens { justify-content: flex-end; }
}
@media (min-width: 900px) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero__grille { grid-template-columns: 1.25fr .75fr; }
  .hero .telephone { width: 300px; }
  .etapes__grille { grid-template-columns: 1fr auto; align-items: center; justify-items: stretch; gap: 4rem; }
  .telephone--etape { width: 260px; }
  .captures .telephone { width: 260px; }
  .captures { gap: 4rem; }
}

/* Guide des testeurs (/guide/) */
.hero--guide { padding: 2.5rem 0 2.75rem; }
.hero--guide h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); }
.rassurance { display: flex; gap: .9rem; align-items: flex-start; background: #E3F7EE; color: #0B4D33; border: 2px solid #34D399; border-radius: var(--rayon); padding: 1.1rem 1.2rem; }
.rassurance svg { flex: none; width: 30px; height: 30px; color: var(--vert); }
.rassurance p { margin: 0; font-size: 1.0625rem; }
.pile { display: grid; gap: 1rem; }
.titre-carte { font-size: 1.3rem; }
.carte p + p { margin-top: .6rem; }
.carte--attention { border-color: #FCD9A8; background: #FFFBF4; }
.carte--attention .liste li { color: var(--encre); }
.onglets { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; padding: .35rem; background: var(--blanc); border: 1px solid var(--bord); border-radius: 999px; margin-bottom: 1.75rem; position: sticky; top: 72px; z-index: 3; box-shadow: var(--ombre); }
.onglets button { min-height: 46px; border: 0; border-radius: 999px; background: transparent; color: var(--encre); font: 600 1.0625rem/1 var(--police); cursor: pointer; }
.onglets button[aria-selected="true"] { background: var(--degrade); color: #fff; }
.avec-onglets .bloc-os__titre { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bloc-os + .bloc-os { margin-top: 2.5rem; }
.bloc-os__titre { font-size: 1.4rem; }
.pas { list-style: none; margin: 0; padding: 0; counter-reset: pas; display: grid; gap: 2.25rem; }
.pas > li { counter-increment: pas; display: grid; gap: 1rem; justify-items: center; }
.pas__texte { position: relative; padding-left: 3.1rem; justify-self: stretch; }
.pas__texte::before { content: counter(pas); position: absolute; left: 0; top: -.1rem; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--degrade); color: #fff; font-weight: 700; }
.pas h4 { font-size: 1.15rem; margin: 0 0 .25rem; line-height: 1.25; }
.pas p { color: var(--attenue); margin: 0; }
.pas--texte { gap: 1.4rem; }
.pas__images { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.telephone--guide { width: 210px; }
.telephone--guide picture, .telephone--guide > img { border-width: 6px; border-radius: 30px; }
.intro-section { text-align: center; color: var(--attenue); margin: -1rem 0 2rem; }
.aide { text-align: center; }
.aide h2 { font-size: clamp(1.6rem, 4.4vw, 2.1rem); }
.aide p { color: #C9D3F0; }
.aide .bouton--whatsapp { margin: .5rem 0 1rem; }
.aide__mail { color: #fff; font-weight: 600; }
@media (min-width: 700px) {
  .pas > li { grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }
  .pas--texte > li { grid-template-columns: 1fr; }
}
.url { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; overflow-wrap: anywhere; }

/* Page de repli des liens de l'app (/ouvrir/) */
.ouvrir { text-align: center; padding: 3rem 0 3.25rem; }
.ouvrir__logo { width: 64px; height: auto; margin: 0 auto 1.25rem; display: block; }
.ouvrir .hero__sous-titre { margin-inline: auto; }
.ouvrir__bouton { min-width: 260px; }
.ouvrir__erreur { color: #FDE7C8; margin: 0; }
.carte--lien { display: block; color: inherit; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.carte--lien:hover { border-color: var(--bleu); transform: translateY(-1px); }
.carte--lien .titre-carte { color: var(--bleu); }
