/* =========================================================
   Kit Teen por Demanda — estilos globais
   Tokens, base, botões, cabeçalho e rodapé compartilhados
   por todas as páginas do site.
   ========================================================= */

/* ---------- 1. Tokens de design ---------- */
:root {
  /* Cores */
  --primary: #D55C2F;
  --primary-hover: #B84A22;
  --primary-soft: #F7E2D8;
  --secondary: #3D5A4A;
  --secondary-soft: #DFE8E2;
  --success: #4A7C59;
  --price-old: #F87171;
  --cream-hover: #FFE5B4;

  /* Superfícies */
  --background: #FAF7F2;
  --surface-1: #FFFFFF;
  --surface-2: #F0EAE0;
  --border: #E5DCC9;

  /* Texto */
  --text: #1A1814;
  --text-muted: #6B5D4F;
  --text-subtle: #9B8F7E;

  /* Tipografia */
  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;

  /* Forma e sombra */
  --radius-sm: 12px;
  --radius-card: 16px;
  --radius-panel: 24px;
  --radius-pill: 999px;
  --shadow-card: 0 10px 30px rgba(26, 24, 20, .06);
  --shadow-panel: 0 20px 48px rgba(0, 0, 0, .08);

  /* Movimento */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur: .2s;

  /* Layout */
  --container: 1152px;
  --gutter: 20px;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -.025em;
  line-height: 1.15;
}

h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; margin: 6px 0 8px; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--text-muted); }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
}

/* ---------- 3. Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 24px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.btn:hover {
  background: var(--primary-hover);
  transform: scale(1.02);
  box-shadow: 0 10px 15px -3px rgba(213, 92, 47, .2);
}
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.btn--ghost { background: var(--surface-1); color: var(--text); border: 1.5px solid var(--border); }
.btn--ghost:hover { background: var(--surface-1); border-color: var(--text); box-shadow: none; }

.btn--inverse { background: #fff; color: var(--primary); font-weight: 700; }
.btn--inverse:hover { background: var(--cream-hover); }

/* ---------- 4. Cabeçalho (topo verde) ---------- */
.site-header {
  background: var(--secondary);
  color: #fff;
}
.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream-hover);
}
.site-header .brand img { width: 28px; height: 28px; }

/* ---------- 5. Rodapé ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  padding: 32px 0;
  font-size: 13px;
  color: var(--text-subtle);
  text-align: center;
}
.site-footer nav { display: flex; justify-content: center; gap: 20px; margin-bottom: 10px; }
.site-footer nav a { color: var(--text-muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--text); text-decoration: underline; }

/* ---------- 6. Acessibilidade ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
