/* Charte Attention à tes Cauris (octobre 2026) : bleu nuit, or, turquoise, ivoire. Titres Space Grotesk, texte Public Sans. */
:root {
  --bg: #f6f1e7;
  --panel: #ffffff;
  --line: #e3dacb;
  --ink: #0b1d3a;
  --muted: #5b6b85;
  --ochre: #e9a23b;
  --ochre-ink: #a8680f;
  --terra: #e2493b;
  --link: #0b5fa5;
  --turq: #1fb8a6;
  --dark: #0b1d3a;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  color: var(--ink);
  font: 17px/1.65 "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
}
a { color: var(--link); }
a:hover { color: var(--ochre-ink); }
.site-header + .wrap, .site-header ~ main { padding-top: 6px; }
h1, h2, h3 { font-family: "Space Grotesk", "Public Sans", sans-serif; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 1.35rem; font-weight: 700; margin-top: 36px; color: var(--ochre-ink); }
p, li { margin: 0 0 10px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

.site-header { padding: 26px 20px 22px; text-align: center; background: radial-gradient(circle at 50% 30%, #1a3a6e 0%, #0b1d3a 55%, #071327 100%); }
.site-header img { display: block; margin: 0 auto; width: min(86%, 360px); height: auto; }
.site-header .tag { margin: 10px 0 0; color: var(--ochre); font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; }
.tile img.etape { float: left; width: 46px; height: 46px; object-fit: contain; margin: 0 12px 4px 0; }
.tile::after { content: ""; display: block; clear: both; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; align-items: center; margin: 24px 0 8px; }
.hero img { width: 100%; max-height: 320px; object-fit: contain; object-position: bottom; }
.bubble {
  position: relative; background: var(--panel); border: 2px solid var(--ochre); border-radius: 18px;
  padding: 16px 18px; font-weight: 600; font-size: 1.05rem; text-align: center;
}
.bubble::after {
  content: ""; position: absolute; left: -11px; top: 38px; width: 16px; height: 16px;
  background: var(--panel); border-left: 2px solid var(--ochre); border-bottom: 2px solid var(--ochre); transform: rotate(45deg);
}
.meta { color: var(--muted); font-size: 0.95rem; margin: 0 0 18px; text-align: center; }

main { padding-bottom: 40px; }
.tile {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; margin: 16px 0;
}
.tile.danger { border-color: var(--terra); }
.tile .title { display: block; font-weight: 800; color: var(--ochre-ink); margin-bottom: 6px; }
.tile.danger .title { color: var(--terra); }
.dark-card {
  background: var(--dark); color: #f6f1e7; border-radius: 22px; padding: 22px 20px; text-align: center; margin: 20px 0;
}
.dark-card small { color: var(--ochre); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem; }
.dark-card h2 { color: #f6f1e7; margin-top: 6px; }
.dark-card p { color: #c9d5ea; }
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 32px; background: var(--ochre); color: var(--ink);
  font-weight: 700; text-decoration: none; letter-spacing: 0.02em; box-shadow: 0 14px 30px -14px rgba(233, 162, 59, 0.75);
}
.btn:hover { background: #f2b559; color: var(--ink); }
.btn.ghost { background: transparent; border: 1.5px solid var(--ochre); box-shadow: none; }

table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
ol.steps { padding-left: 0; list-style: none; counter-reset: step; }
ol.steps li { position: relative; padding: 10px 0 10px 46px; counter-increment: step; }
ol.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 6px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--ochre); color: var(--ink); font-weight: 800; display: grid; place-items: center;
}
.navrow { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 14px 0 0; }

footer { border-top: 1px solid var(--line); padding: 18px 0 32px; color: var(--muted); font-size: 0.9rem; text-align: center; }
footer .host { width: 120px; height: auto; display: block; margin: 0 auto 10px; }
footer a { color: var(--link); }

@media (max-width: 560px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .bubble { font-size: 0.98rem; padding: 12px; }
}

/* Inscription des testeurs Android */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.beta-form { display: flex; flex-direction: column; gap: 10px; align-items: center; margin-top: 12px; }
.beta-form input { width: 100%; max-width: 380px; padding: 14px 18px; border-radius: 32px; border: 2px solid transparent; font: inherit; color: var(--ink); background: #fff; text-align: center; }
.beta-form input:focus { outline: none; border-color: var(--ochre); }
.beta-form .btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.beta-form .btn:disabled { opacity: .6; cursor: wait; }
.beta-msg { margin-top: 12px; min-height: 1.4em; color: #c9d5ea; }
.beta-msg a { color: var(--ochre); }

.backbar { padding: 12px 18px; background: #0b1d3a; }
.backbar a { color: #f6f1e7; font-weight: 600; text-decoration: none; }

/* Vidéo TikTok de la page d'accueil : format vertical qui tient dans l'écran, sans barre de défilement */
.tt { margin: 22px 0; text-align: center; }
.tt h2 { margin-bottom: 10px; }
.tt-intro { max-width: 460px; margin: 0 auto 14px; line-height: 1.5; }
.tt-cadre { width: min(100%, 340px, calc((100vh - 160px) * 9 / 16)); width: min(100%, 340px, calc((100svh - 160px) * 9 / 16)); aspect-ratio: 9 / 16; margin: 0 auto; border-radius: 16px; overflow: hidden; background: #0b1d3a; }
.tt-cadre iframe { width: 100%; height: 100%; border: 0; display: block; overflow: hidden; }
.tt-lien { margin-top: 10px; font-size: .9rem; }

.tt-play { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.tt-play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt-bouton { position: absolute; left: 50%; top: 36%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(11, 29, 58, .78); border: 3px solid #e9a23b; }
.tt-bouton::after { content: ""; position: absolute; left: 31px; top: 22px; border-style: solid; border-width: 15px 0 15px 25px; border-color: transparent transparent transparent #f6f1e7; }
.tt-play:focus-visible { outline: 3px solid #e9a23b; outline-offset: 3px; }
