/* =====================================================================
   EQUIPE MITOS — Base
   Reset, tipografia, utilitários de layout (mobile-first)
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--t-base);
  background-color: var(--c-ink);
  /* Textura cinematográfica sutil (vinheta escura) */
  background-image:
    radial-gradient(120% 80% at 50% -10%, rgba(252,72,0,0.10), transparent 60%),
    radial-gradient(100% 60% at 50% 110%, rgba(110,0,0,0.12), transparent 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Tipografia ---------- */
h1, h2 {
  font-family: var(--font-display); /* Bebas Neue */
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--t-strong);
  margin: 0;
}
h3, h4 {
  font-family: var(--font-condensed); /* Barlow Condensed */
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--t-strong);
  margin: 0;
}

p { margin: 0; }

.section-title {
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  letter-spacing: 1.5px;
}
.section-title .accent {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-condensed); /* Barlow Condensed */
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-amber);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px; height: 2px;
  background: var(--grad-fire-line);
  vertical-align: middle;
  margin-right: 10px;
}

.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--t-muted); margin-top: 16px; font-size: 1.02rem; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: 20px;
}

.section { padding-block: var(--space); position: relative; }
.section--tight { padding-block: clamp(40px, 6vw, 80px); }

/* Faixa divisória com brilho da marca */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fire-25), transparent);
  border: 0; margin: 0;
}

/* Texto placeholder (usado onde falta informação real) */
.placeholder {
  color: var(--t-dim);
  font-style: italic;
  border-bottom: 1px dashed var(--fire-25);
  cursor: help;
}

/* Acessibilidade */
.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;
}
:focus-visible {
  outline: 2px solid var(--c-amber);
  outline-offset: 3px;
}

/* ---------- Grão cinematográfico sutil (textura discreta) ---------- */
body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Reveal on scroll (fade-in / slide-up) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
