/* ============================================================
   ROVZWORK - base.css
   Reset, fontes, tokens de design e tipografia.
   ============================================================ */

/* ---------- Fontes ---------- */
@font-face {
  font-family: 'Suisse BP Intl';
  src: url('/shared/fonts/web/SuisseBPIntl-Regular.woff2') format('woff2'),
       url('/shared/fonts/web/SuisseBPIntl-Regular.otf')   format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Suisse BP Intl';
  src: url('/shared/fonts/web/SuisseBPIntl-Medium.woff2') format('woff2'),
       url('/shared/fonts/web/SuisseBPIntl-Medium.otf')   format('opentype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Suisse BP Intl';
  src: url('/shared/fonts/web/SuisseIntl-SemiBold.otf') format('opentype');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #ffffff;
  --surface: #f4f3f1;
  --ink: #000000;
  --ink-soft: #1a1a1a;
  --accent: #143af5;
  --accent-hover: #0f2fd0;
  --hairline: #e2e0dc;

  --radius: 4px;
  --maxw: 1424px;
  --gap: 24px;

  --font: 'Suisse BP Intl', -apple-system, system-ui, sans-serif;

  --t-display: 64px;  --lh-display: 72px;
  --t-h1: 48px;       --lh-h1: 54px;
  --t-h2: 32px;       --lh-h2: 36px;
  --t-lead: 20px;     --lh-lead: 24px;
  --t-body: 16px;     --lh-body: 19px;
  --t-ui: 16px;
}

/* ---------- Reset enxuto ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--t-body);
  line-height: var(--lh-body);
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
button { font-family: inherit; cursor: pointer; border: none; background: none; touch-action: manipulation; }
ul { list-style: none; }

/* ---------- Tipografia ---------- */
.display { font-weight: 500; font-size: var(--t-display); line-height: var(--lh-display); color: var(--ink); letter-spacing: -0.01em; }
h1, .h1 { font-weight: 500; font-size: var(--t-h1); line-height: var(--lh-h1); color: var(--ink); letter-spacing: -0.01em; }
h2, .h2 { font-weight: 500; font-size: var(--t-h2); line-height: var(--lh-h2); color: var(--ink); }
.lead   { font-weight: 400; font-size: var(--t-lead); line-height: var(--lh-lead); color: var(--ink-soft); }
.body   { font-weight: 400; font-size: var(--t-body); line-height: var(--lh-body); }

/* ---------- Layout utilitário ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; border-top: rgba(47,47,47,.1) solid 1px; }
.section--surface { background: var(--surface); }
.eyebrow { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }

/* ---------- Responsivo ---------- */
/* Notebook (1280px e abaixo) - reduz padding lateral */
@media (max-width: 1280px) {
  .container { padding: 0 32px; }
}
/* Tablet (1024px e abaixo) */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
}
/* Mobile/tablet pequeno (768px e abaixo) */
@media (max-width: 768px) {
  :root {
    --t-display: 40px; --lh-display: 44px;
    --t-h1: 32px;      --lh-h1: 36px;
    --t-h2: 24px;      --lh-h2: 28px;
    --t-lead: 18px;    --lh-lead: 24px;
    --lh-body: 22px;
  }
  .container { padding: 0 24px; }
  .section { padding: 64px 0; }
}
/* Mobile pequeno (480px e abaixo) */
@media (max-width: 480px) {
  .container { padding: 0 20px; }
}

/* ---------- Acessibilidade de movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
