/* The Simple Trip — design tokens (LP + app web)
   Base: guia de marca (Blanc Givre, Gris Forge, rosa da raposa, Rouge Ancien, Forest of Dean)
   Tipografia atualizada: Hanken Grotesk (substitui Helvetica Neue / Cardo / Breathing) + Geist Mono para dados. */

:root {
  /* neutros (frios, como o Blanc Givre do guia) */
  --bg: oklch(0.966 0.002 210);          /* #F3F4F4 blanc givre */
  --surface: oklch(0.99 0.001 210);      /* #FAFAFB */
  --surface-2: oklch(0.935 0.003 210);   /* camada de painel */
  --line: oklch(0.88 0.003 210);         /* #D9D9D9 */
  --line-strong: oklch(0.8 0.004 210);
  --ink: oklch(0.2 0.006 110);           /* #1A1A14 texto */
  --ink-2: oklch(0.29 0.002 110);        /* #2C2C2C gris forge */
  --muted: oklch(0.47 0.006 110);        /* texto secundário, 6.9:1 no bg */
  --faint: oklch(0.6 0.005 110);         /* só para texto grande / ícones */

  /* marca */
  --pink: oklch(0.81 0.075 8);           /* #F1A9B1 quadrado da raposa */
  --pink-soft: oklch(0.92 0.035 8);
  --pink-wash: oklch(0.955 0.018 8);
  --rouge: oklch(0.43 0.11 0);           /* #853953 rouge ancien: texto sobre rosa */
  --burgundy: oklch(0.33 0.08 340);      /* #612D53 burgundy noir */
  --forest: oklch(0.55 0.085 165);       /* #39856B: verificado / ok */
  --forest-soft: oklch(0.93 0.03 165);

  /* semânticas do guia */
  --error: oklch(0.6 0.19 25);           /* #E05550 */
  --warning: oklch(0.73 0.15 75);        /* #E8A020 */
  --info: oklch(0.58 0.12 250);          /* #4A80C4 */

  /* tipo */
  --font: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;

  /* espaço: grid de 4px do guia */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 144px;

  /* raio: o guia usa 1.2/2.4/4.8/8.6/12, escalado para tela */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px; --r-full: 999px;

  /* movimento: só molas, nunca linear, máx 0.6s */
  --spring: linear(0, 0.009, 0.035 2.1%, 0.141 4.4%, 0.723 12.9%, 0.938 16.7%, 1.017 19.4%, 1.067, 1.099 24.3%, 1.108 26%, 1.103 28.1%, 1.077 31.6%, 1.006 39.8%, 0.987 43.8%, 0.98 48.1%, 0.991 59.4%, 1.001 72.4%, 1);
  --spring-soft: linear(0, 0.06 2.4%, 0.46 9.6%, 0.79 17%, 0.93 22.5%, 1.01 28.6%, 1.03 34.6%, 1.01 46%, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 180ms; --t-mid: 320ms; --t-slow: 560ms;

  /* camadas */
  --z-sticky: 10; --z-dock: 20; --z-sheet: 30; --z-toast: 40;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { text-wrap: pretty; margin: 0; }
.mono { font-family: var(--mono); font-feature-settings: "tnum" 1, "zero" 1; letter-spacing: -0.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* botões compartilhados */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-full);
  border: 1px solid transparent; font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap;
  transition: transform var(--t-mid) var(--spring), background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-ink { background: var(--ink); color: var(--surface); }
.btn-ink:hover { background: var(--ink-2); }
.btn-pink { background: var(--pink); color: var(--ink); }
.btn-pink:hover { background: oklch(0.77 0.085 8); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.55; cursor: not-allowed; }
.btn i { font-size: 18px; }

/* selo "conferido" */
.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--forest); font-size: 12px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}
[hidden] { display: none !important; }
