/* Tamau — tokens repris de LiftPalette.swift (charte « Combinaison effort ») */
@font-face { font-family: "Geist"; src: url("fonts/Geist-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --page: #F5F6F8;
  --surface: #FFFFFF;
  --hairline: #E4E6EB;
  --ink: #111319;
  --ink-2: #5F636D;
  --ink-3: #9A9EA8;
  --action: #2B6CD5;
  --action-ink: #2B6CD5;
  --effort: #D6337A;
  --effort-ink: #A82560;
  --bleu: #5B93F0;
  --magenta: #F0579A;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #111319;
    --surface: #1C1F27;
    --hairline: #2A2E38;
    --ink: #F4F2EE;
    --ink-2: #A3A7B1;
    --ink-3: #6E727C;
    --action: #2F6FD6;
    --action-ink: #8DB2F5;
    --effort: #F0579A;
    --effort-ink: #F0579A;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 17px/1.6 "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--action-ink); text-underline-offset: 3px; }
strong { font-weight: 600; }

.wrap { max-width: 720px; margin: 0 auto; padding: 24px 20px 64px; }

/* En-tête */
.site { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0 32px; }
.logo { display: inline-flex; align-items: flex-end; gap: 8px; color: var(--ink); text-decoration: none; }
.logo .mark { width: 40px; height: 20px; }
.logo .word { height: 20.2px; width: auto; margin-bottom: -0.2px; } /* logotype du 09/11 : cadre = hauteur du symbole, écart = 1 module */
.lang { font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 6px 12px; border: 1px solid var(--hairline); border-radius: 999px; background: var(--surface); }
.lang:hover { color: var(--ink); }

/* Pages de texte */
.doc h1 { font-size: 34px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; margin: 8px 0 8px; }
.doc .meta { color: var(--ink-2); font-size: 15px; margin: 0 0 28px; }
.doc h2 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; margin: 44px 0 10px; padding-top: 20px; border-top: 1px solid var(--hairline); }
.doc h3 { font-size: 17px; font-weight: 600; margin: 26px 0 4px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc em { font-style: normal; font-weight: 500; }

.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: 16px; padding: 18px 20px; }
.doc .summary, .summary { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.summary li { position: relative; padding-left: 26px; margin: 0; }
.summary li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 6px; border-radius: 2px; background: var(--bleu); box-shadow: 3px -9px 0 var(--magenta); }

/* Accueil */
.hero { text-align: center; padding: 48px 0 40px; }
.hero .mark { width: 120px; height: 60px; margin: 0 auto 28px; display: block; }
.hero .word { height: 60px; width: auto; color: var(--ink); display: block; margin: 0 auto 24px; }
.hero p.tagline { font-size: 22px; line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; max-width: 520px; margin: 0 auto 28px; }
.hero p.tagline b { color: var(--effort-ink); font-weight: 600; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; background: var(--ink); color: var(--page); font-weight: 500; text-decoration: none; }
.store[aria-disabled="true"] { cursor: default; }
.store small { display: block; font-size: 12px; opacity: .7; font-weight: 400; line-height: 1.2; }
.store span { text-align: left; line-height: 1.25; }

.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin: 16px 0 40px; }
.points .card h3 { font-size: 17px; line-height: 1.3; font-weight: 600; margin: 0 0 6px; }
.points .card p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.points .card .tick { width: 22px; height: 11px; margin-bottom: 12px; }

.section-title { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; }
.links { display: grid; gap: 8px; }
.links a { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px; padding: 16px 18px; color: var(--ink); text-decoration: none; font-weight: 500; }
.links a span { grid-column: 1; grid-row: 2; color: var(--ink-2); font-weight: 400; font-size: 15px; line-height: 1.4; }
.links a::after { content: "→"; grid-column: 2; grid-row: 1 / span 2; color: var(--action-ink); }

footer { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--hairline); color: var(--ink-2); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Bêta fermée (10/11/2026) : bandeau en haut des pages et carte de l'accueil. À retirer à la fin de la bêta. */
.beta-banner { display: block; text-align: center; font-size: 14px; font-weight: 500; line-height: 1.45; padding: 10px 16px; color: var(--ink); text-decoration: none;
  background: linear-gradient(90deg, rgba(240,87,154,.14), rgba(91,147,240,.14)); border-bottom: 1px solid var(--hairline); }
.beta-banner b { font-weight: 600; color: var(--effort-ink); }
.beta-banner span { color: var(--action-ink); margin-left: 6px; white-space: nowrap; }
.beta-card { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; background: var(--surface); border: 1.5px solid #F2C14E;
  border-radius: 16px; padding: 18px 20px; margin: 8px 0 16px; color: var(--ink); text-decoration: none; }
.beta-card .cue { grid-column: 1 / -1; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--effort-ink); }
.beta-card h3 { margin: 0; grid-column: 1; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.beta-card p { margin: 0; grid-column: 1; grid-row: 3; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.beta-card .btn { grid-column: 2; grid-row: 2 / span 2; background: var(--action); color: #fff; border-radius: 12px; padding: 12px 16px; font-weight: 600; white-space: nowrap; }
.beta-card:hover .btn { filter: brightness(1.08); }
@media (max-width: 520px) { .beta-card { grid-template-columns: 1fr; } .beta-card .btn { grid-column: 1; grid-row: auto; text-align: center; margin-top: 8px; } }
