/* Landing tamarins.ai — design system Tamarins.ai (jetons de tamarins-admin, src/styles/index.css).
   Mise en page : une seule colonne centrée sur le logotype, comme l'écran de connexion du portail (fond crème + logotype). */
:root {
  --bg: #f5efe3;          /* crème du DS */
  --fg: #141714;          /* encre */
  --muted: #4b524c;
  --brand: #07502c;       /* jungle-800 */
  --brand-hover: #036639; /* jungle-700 */
  --on-brand: #ffffff;
  --ink: #141714;
  --hatch: rgba(20, 23, 20, .07);
  --card: #fffdf8;
  --focus: 0 0 0 4px #04814961;
  --font-sans: 'Atkinson Hyperlegible Next', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Atkinson Hyperlegible Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --radius: 4px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #090f0b; --fg: #eff5f1; --muted: #c5cdc7; --brand: #88d9a5; --brand-hover: #b5ecc7;
    --on-brand: #052412; --ink: #e8f0eb; --hatch: rgba(232, 240, 235, .07); --card: #0e1611;
    --focus: 0 0 0 4px #88d9a561; color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1.0625rem/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
h1 { margin: 0; }
.page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  padding-block: clamp(2rem, 6vw, 4.5rem) 1.5rem;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
  max-width: 36rem;
}
.logo { width: min(320px, 78vw); height: auto; display: block; }

.lead {
  margin: 0;
  font-size: 1.1875rem;
  line-height: 1.55;
  text-wrap: balance;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .75rem 1.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn:hover { background: var(--brand-hover); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.contact { color: var(--muted); font-size: .9375rem; }
.contact a { color: var(--fg); font-weight: 600; text-underline-offset: 3px; }
a:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--radius); }

.facts {
  width: 100%;
  max-width: 56rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, var(--hatch) 0 1px, transparent 1px 9px),
    var(--card);
}
.facts li {
  min-width: 0;
  padding: 1.125rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .375rem;
}
.facts li + li { border-left: 2px solid var(--ink); }
.facts .k {
  font: 500 .75rem/1.2 var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
}
.facts p { margin: 0; font-size: .9875rem; line-height: 1.5; }

footer {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25rem 1rem;
  color: var(--muted);
  font-size: .875rem;
}

@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr; }
  .facts li + li { border-left: 0; border-top: 2px solid var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover, .btn:active { transform: none; }
}
