/* EXPON — Base: reset, tipografia, layout e utilitários */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

/* `hidden` sempre vence o display de componentes (.sent__actions, .form__alert…) */
[hidden] { display: none !important; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* ---------- Tipografia ---------- */
.display,
.h1, .h2, .h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--tracking-title);
  line-height: 1.12;
}
.h1 { font-size: var(--fs-3xl); font-weight: 500; }
.h2 { font-size: var(--fs-2xl); font-weight: 500; }
.h3 { font-size: var(--fs-lg); font-weight: 600; letter-spacing: .04em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.gold { color: var(--gold); }
.lead {
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--on-dark-soft);
  max-width: 60ch;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--dark { background: var(--navy); color: var(--on-dark); }
.section--deep { background: var(--navy-850); color: var(--on-dark); }
.section--light { background: var(--ivory); color: var(--ink); }
.section--white { background: var(--ivory-50); color: var(--ink); }

.section--light .lead,
.section--white .lead { color: var(--ink-soft); }
.section--light .eyebrow,
.section--white .eyebrow { color: var(--gold-dark); }

.section-head {
  display: grid;
  gap: 20px;
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head--split {
  max-width: none;
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr .9fr; gap: 48px; }
}

/* ---------- Ícones ---------- */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--lg { width: 32px; height: 32px; stroke-width: 1.25; }

.x-mark { fill: url(#g-gold); }

/* ---------- Acessibilidade ---------- */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Animações de entrada ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Aviso de contatos provisórios ---------- */
.dev-note {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 150;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  background: #2A1F05;
  border: 1px dashed var(--gold);
  color: var(--gold-light);
  font-size: var(--fs-xs);
  line-height: 1.5;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.dev-note code { font-size: 1em; color: var(--white); }
.dev-note__close { display: grid; place-items: center; width: 28px; height: 28px; color: var(--gold-light); }
