/* ============================================================
   LU MATOSINHOS — Design System Tokens
   Paleta: bege / nude / areia + escuros café e taupe (sem preto)
   ============================================================ */

:root {
  /* ---- Neutros claros (fundos) ---- */
  --ivory:    oklch(96.5% 0.010 80);   /* #F7F2EA  fundo principal  */
  --cream:    oklch(93.5% 0.018 78);   /* #F0E7D9  cartões/sessão alterna */
  --sand:     oklch(88.5% 0.026 76);   /* #E6D8C5  blocos de areia */
  --nude:     oklch(83.5% 0.034 72);   /* #DAC7B0  nude */
  --almond:   oklch(77.5% 0.040 70);   /* #C9B49A  amêndoa */

  /* ---- Tons médios / acento ---- */
  --clay:     oklch(67.0% 0.052 66);   /* #B5946E  argila — botão claro */
  --caramel:  oklch(60.0% 0.060 64);   /* #A6824F  caramelo — acento profundo */
  --taupe:    oklch(56.0% 0.030 68);   /* #8C7A68  taupe — escuro médio */

  /* ---- Escuros (nada de preto) ---- */
  --mocha:    oklch(40.0% 0.028 60);   /* #5E4C3E */
  --coffee:   oklch(33.5% 0.028 58);   /* #463629  seção escura */
  --espresso: oklch(29.5% 0.026 56);   /* #3B2D22  rodapé / profundo */

  /* ---- Texto ---- */
  --ink:        oklch(34.0% 0.030 58); /* texto corpo sobre claro (marrom quente) */
  --ink-soft:   oklch(46.0% 0.028 60); /* texto secundário */
  --ink-faint:  oklch(58.0% 0.022 62); /* legendas/sutil */
  --on-dark:      oklch(93.0% 0.016 78); /* texto sobre escuro */
  --on-dark-soft: oklch(80.0% 0.024 72); /* secundário sobre escuro */
  --line:       oklch(80.0% 0.022 72); /* linhas/bordas sobre claro */
  --line-dark:  oklch(46.0% 0.020 64); /* linhas sobre escuro */

  /* ---- Tipografia ---- */
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans:  "Jost", system-ui, -apple-system, sans-serif;
  --script: "Sacramento", cursive;

  /* ---- Métrica ---- */
  --tracking-label: 0.34em;
  --tracking-wide:  0.16em;
  --radius:   2px;
  --radius-pill: 999px;
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 72px);

  /* ---- Sombras suaves ---- */
  --shadow-soft: 0 24px 60px -28px oklch(33.5% 0.028 58 / 0.30);
  --shadow-card: 0 18px 44px -26px oklch(33.5% 0.028 58 / 0.34);

  /* ---- Transição ---- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================================
   Reset leve
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }

/* conteúdo só para leitores de tela */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* link "pular para o conteúdo" — visível ao receber foco via teclado */
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 300;
  background: var(--coffee); color: var(--on-dark);
  padding: 10px 18px; border-radius: var(--radius-pill);
  font-size: 0.74rem; letter-spacing: var(--tracking-wide); text-transform: uppercase;
  transform: translateY(-150%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ============================================================
   Tipografia — escalas
   ============================================================ */
.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.005em;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
}
.h1 { font-family: var(--serif); font-weight: 400; line-height: 1.06; font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
.h2 { font-family: var(--serif); font-weight: 400; line-height: 1.1;  font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2;  font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
.script {
  font-family: var(--script);
  font-weight: 400;
  line-height: 0.9;
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--caramel);
}
.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  font-size: 0.72rem;
  color: var(--caramel);
}
.lead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.5;
  color: var(--ink-soft);
}
.body  { font-size: 1.02rem; line-height: 1.8; color: var(--ink-soft); }
.small { font-size: 0.82rem; letter-spacing: 0.02em; }

/* ============================================================
   Botões
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--sans);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  font-size: 0.74rem;
  padding: 1.05em 2.1em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.45s var(--ease);
  background: var(--caramel);
  color: var(--ivory);
}
.btn:hover { background: var(--mocha); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  border-color: var(--clay);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--clay); color: var(--ivory); border-color: var(--clay); }
.btn--on-dark {
  background: transparent;
  border-color: var(--on-dark-soft);
  color: var(--on-dark);
}
.btn--on-dark:hover { background: var(--on-dark); color: var(--coffee); border-color: var(--on-dark); }

/* link com seta */
.tlink {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--sans); text-transform: uppercase;
  letter-spacing: var(--tracking-wide); font-size: 0.72rem;
  color: var(--caramel); padding-bottom: 4px;
  border-bottom: 1px solid color-mix(in oklch, var(--caramel) 40%, transparent);
  transition: gap 0.4s var(--ease), color 0.4s var(--ease);
}
.tlink:hover { gap: 1em; color: var(--mocha); }
.tlink .arrow { transition: transform 0.4s var(--ease); }
.tlink:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Placeholder de imagem / vídeo (listras sutis + legenda mono)
   ============================================================ */
.ph {
  position: relative;
  overflow: hidden;
  background-color: var(--sand);
  background-image: repeating-linear-gradient(
    -45deg,
    color-mix(in oklch, var(--almond) 55%, transparent) 0 1px,
    transparent 1px 13px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mocha);
}
.ph::after {
  content: attr(data-label);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--mocha) 72%, transparent);
  padding: 0.5em 0.9em;
  border: 1px dashed color-mix(in oklch, var(--mocha) 40%, transparent);
  border-radius: 2px;
  background: color-mix(in oklch, var(--cream) 50%, transparent);
  text-align: center;
  max-width: 80%;
  line-height: 1.5;
}
.ph--dark {
  background-color: var(--mocha);
  background-image: repeating-linear-gradient(
    -45deg,
    color-mix(in oklch, var(--coffee) 70%, transparent) 0 1px,
    transparent 1px 13px
  );
}
.ph--dark::after {
  color: var(--on-dark-soft);
  border-color: color-mix(in oklch, var(--on-dark) 30%, transparent);
  background: color-mix(in oklch, var(--coffee) 50%, transparent);
}
/* ícone de play para placeholders de vídeo */
.ph--video .play {
  position: absolute;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid color-mix(in oklch, var(--ivory) 80%, transparent);
  background: color-mix(in oklch, var(--coffee) 28%, transparent);
  display: grid; place-items: center;
  backdrop-filter: blur(2px);
  z-index: 2;
}
.ph--video .play::before {
  content: "";
  width: 0; height: 0;
  border-left: 15px solid var(--ivory);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}
.ph--video::after { align-self: flex-end; margin-bottom: 18px; }

/* ============================================================
   Estrela / faísca decorativa (motivo de marca, forma simples)
   ============================================================ */
.spark {
  display: inline-block;
  width: 1em; height: 1em;
  color: var(--caramel);
}
