/* BotByTs Lab · page de pré-abonnement et pages légales (12/10/2026).
   Feuille unique, sans ressource extérieure (polices du système). Téléphone d'abord (390 px sans défilement horizontal).
   Orange = la marque et les actions, comme sur le nouveau site. Thème clair. Aucune couleur verte. */
:root {
  --bg: #FFFAF5; --bg-2: #FFFFFF; --bg-3: #FFF1E6; --line: #F1E3D6; --line-2: #E4D2C0;
  --fg: #1F1710; --fg-2: #4F4339; --fg-3: #6B5E52;
  --orange: #F97316; --orange-pale: #FFF1E6; --orange-pale-2: #FFE3CC;
  --accent: #C2410C; --accent-2: #9A3412; --accent-ink: #FFFFFF;
  --alerte-bg: #FFF4E5; --alerte-line: #F6B879; --erreur: #B3261E; --erreur-bg: #FDECEA;
  --ombre: 0 1px 2px rgba(60, 30, 5, 0.05), 0 8px 28px rgba(60, 30, 5, 0.08);
  --ombre-l: 0 2px 6px rgba(60, 30, 5, 0.06), 0 24px 56px rgba(60, 30, 5, 0.14);
  --rayon: 18px; --rayon-s: 10px;
  --police: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--fg);
  font: 400 16px/1.6 var(--police); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
main { flex: 1 0 auto; outline: none; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 12px; padding-left: 22px; }
li { margin-bottom: 5px; }
b, strong { font-weight: 650; }
h1, h2, h3 { margin: 0 0 10px; line-height: 1.18; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 9vw, 3.4rem); font-weight: 760; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.3rem, 5vw, 1.7rem); font-weight: 700; }
h3 { font-size: 1.08rem; font-weight: 650; }
.conteneur { width: 100%; max-width: 1080px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.evitement { position: absolute; left: -9999px; top: 8px; z-index: 90; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: var(--rayon-s); font-weight: 600; }
.evitement:focus { left: 12px; }

/* ---- barre du haut */
.barre { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.barre-interieur { display: flex; align-items: center; min-height: 64px; }
.marque { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.marque:hover { color: var(--fg); }
.marque-logo { flex: none; border-radius: 9px; box-shadow: 0 2px 8px rgba(249, 115, 22, 0.35); }
.marque-nom { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.marque-nom b { color: var(--accent); font-weight: 760; }

/* ---- accueil */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(900px 420px at 85% -10%, rgba(249, 115, 22, 0.20), transparent 60%),
  radial-gradient(700px 380px at -10% 20%, rgba(249, 115, 22, 0.10), transparent 62%), var(--bg); }
.hero-grille { display: grid; gap: 28px; padding-top: 36px; padding-bottom: 44px; align-items: center; }
.sur-titre { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px;
  background: var(--orange-pale); border: 1px solid var(--orange-pale-2); color: var(--accent-2); font-size: 0.85rem; font-weight: 650; letter-spacing: 0.02em; }
.sur-titre .point { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.accroche { font-size: clamp(1.1rem, 4.4vw, 1.4rem); color: var(--fg-2); line-height: 1.45; max-width: 34ch; margin-bottom: 18px; }
.offre { display: inline-block; margin: 0; padding: 12px 16px; border-radius: var(--rayon-s); background: var(--bg-2); border: 1px solid var(--orange-pale-2);
  box-shadow: var(--ombre); font-size: 1rem; color: var(--fg-2); }
.offre b { color: var(--accent); font-size: 1.05em; }
.carte-formulaire { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--rayon); box-shadow: var(--ombre-l); padding: 22px 20px 20px; }
.carte-formulaire h2 { font-size: 1.3rem; margin-bottom: 4px; }
.carte-formulaire .sous-titre { color: var(--fg-2); font-size: 0.95rem; margin-bottom: 16px; }
label.champ { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
input[type="email"] { width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; color: var(--fg); background: #fff;
  border: 1.5px solid var(--line-2); border-radius: var(--rayon-s); }
input[type="email"]::placeholder { color: var(--fg-3); }
input[type="email"]:focus { border-color: var(--orange); outline: 3px solid rgba(249, 115, 22, 0.25); outline-offset: 0; }
input[aria-invalid="true"] { border-color: var(--erreur); }
.piege-robot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.case { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 16px; font-size: 0.9rem; line-height: 1.5; color: var(--fg-2); cursor: pointer; }
.case input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 12px 22px; font: inherit; font-weight: 700; font-size: 1.05rem;
  color: var(--accent-ink); background: var(--accent); border: 0; border-radius: var(--rayon-s); cursor: pointer; text-decoration: none;
  box-shadow: 0 6px 18px rgba(194, 65, 12, 0.30); transition: background 0.15s, transform 0.1s; }
.btn:hover { background: var(--accent-2); color: var(--accent-ink); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.65; cursor: progress; }
.message { margin: 14px 0 0; padding: 0; min-height: 0; font-size: 0.95rem; }
.message:not(:empty) { padding: 12px 14px; border-radius: var(--rayon-s); }
.message.ok { background: var(--orange-pale); border: 1px solid var(--orange-pale-2); color: var(--accent-2); font-weight: 600; }
.message.erreur { background: var(--erreur-bg); border: 1px solid #F2B8B5; color: var(--erreur); }
.discret { color: var(--fg-2); }
.m0 { margin: 0 !important; } .mb6 { margin: 0 0 6px !important; } .mb10 { margin: 0 0 10px !important; } .mt14 { margin-top: 14px !important; } .mt0 { margin-top: 0 !important; }
.pleine { max-width: none !important; }
.note-form { margin: 12px 0 0; font-size: 0.82rem; color: var(--fg-3); }
.rassurances { padding-top: 8px; padding-bottom: 40px; }
.rassurances ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rassurances li { margin: 0; padding: 16px 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--rayon-s); box-shadow: var(--ombre); }
.rassurances li b { display: block; color: var(--accent-2); margin-bottom: 2px; }
.rassurances li span { color: var(--fg-2); font-size: 0.95rem; }

/* ---- pages de texte (légales) */
.tete-page { padding-top: 34px; padding-bottom: 8px; }
.tete-page .sur-titre { margin-bottom: 12px; }
.tete-page h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); }
.chapeau { font-size: 1.05rem; color: var(--fg-2); max-width: 70ch; }
.section { padding-top: 22px; padding-bottom: 6px; }
.section > h2 { margin-top: 6px; }
.panneau { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 20px 20px 10px; margin-bottom: 14px; max-width: 880px; overflow-wrap: anywhere; }
.piege, .encart { max-width: 880px; padding: 14px 16px; margin: 0 0 14px; border-radius: var(--rayon-s); background: var(--alerte-bg); border: 1px solid var(--alerte-line); font-size: 0.95rem; }
.encart { background: var(--orange-pale); border-color: var(--orange-pale-2); }
.encart-fort { background: var(--accent); border-color: var(--accent-2); color: var(--accent-ink); font-size: 1.05rem; box-shadow: var(--ombre); }
.encart-fort a { color: #fff; }
.note { font-size: 0.88rem; color: var(--fg-3); }
.a-completer { display: inline; padding: 1px 6px; border-radius: 6px; background: #FFE3CC; color: #7C2D12; font-weight: 700; border: 1px dashed #C2410C; }
.a-valider { font-size: 0.82rem; color: var(--fg-3); font-weight: 600; }
dl.fiche { margin: 0 0 10px; }
dl.fiche > div { padding: 10px 0; border-top: 1px solid var(--line); }
dl.fiche > div:first-child { border-top: 0; padding-top: 2px; }
dl.fiche dt { font-weight: 650; color: var(--accent-2); font-size: 0.92rem; margin-bottom: 2px; }
dl.fiche dd { margin: 0; color: var(--fg); }
.liste-coches { list-style: none; padding-left: 0; }
.liste-coches li { position: relative; padding-left: 26px; }
.liste-coches li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 10px; height: 6px; border-left: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: rotate(-45deg) translateY(-50%); }
.tableau { overflow-x: auto; margin: 0 0 12px; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 0.93rem; }
th, td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
thead th { background: var(--orange-pale); color: var(--accent-2); font-size: 0.85rem; }
td.n, th.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sommaire { max-width: 880px; padding: 14px 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--rayon-s); margin: 0 0 14px; font-size: 0.93rem; }
.sommaire p { margin: 0 0 6px; font-weight: 650; }
.sommaire ol { margin: 0; columns: 2; column-gap: 24px; }
.sommaire li { break-inside: avoid; }

/* ---- pied de page */
.pied { margin-top: 34px; background: #2B1A0E; color: #F4E6D8; padding: 28px 0 26px; font-size: 0.9rem; }
.pied a { color: #FFD7B3; }
.pied a:hover { color: #fff; }
.pied-risque { max-width: 88ch; color: #F4E6D8; line-height: 1.55; }
.pied-liens { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 14px 0; }
.pied-droits { margin: 8px 0 0; color: #D7BFA9; font-size: 0.82rem; }
.langues { margin: 8px 0 0; }

@media (min-width: 560px) {
  .rassurances ul { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .hero-grille { grid-template-columns: 1.1fr 0.9fr; gap: 56px; padding-top: 72px; padding-bottom: 84px; }
  .carte-formulaire { padding: 30px 28px 26px; }
  .rassurances { padding-bottom: 56px; }
}
@media (max-width: 599px) {
  .sommaire ol { columns: 1; }
  .panneau { padding: 16px 16px 8px; }
  th, td { padding: 8px 6px; }
  .tableau table, .tableau thead, .tableau tbody, .tableau tr, .tableau th, .tableau td { display: block; }
  .tableau thead { position: absolute; left: -9999px; }
  .tableau tr { padding: 8px 0; border-bottom: 1px solid var(--line-2); }
  .tableau td, .tableau th { border: 0; padding: 2px 4px; text-align: left; white-space: normal; }
  .tableau td.n { text-align: left; }
}
@media print { .barre, .pied-liens { display: none; } body { background: #fff; } .panneau { box-shadow: none; } }
