/* ==========================================================================
   Emporio Office — Base
   Reset suave, tipografia, layout primitivo e utilitários.
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Tipografia ------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-base);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.01em;
  margin: 0 0 .6rem;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p { margin: 0 0 1rem; }

a {
  color: var(--brand-600);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--brand-700); }

img { max-width: 100%; height: auto; display: block; }

ul { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--brand); color: #fff; }

/* Layout ----------------------------------------------------------------- */
.section { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.container { max-width: var(--container-max); }

/* Cabeçalho de seção ----------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.eyebrow--center { justify-content: center; }

.section-title {
  margin-bottom: .8rem;
  color: var(--ink);
}
.section-lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 620px;
}
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }

/* Utilitários ------------------------------------------------------------ */
.text-brand   { color: var(--brand) !important; }
.text-navy    { color: var(--navy) !important; }
.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bg-soft  { background: var(--bg-soft) !important; }
.bg-navy  { background: var(--navy) !important; }
.fw-800   { font-weight: 800 !important; }
.lh-tight { line-height: 1.15 !important; }

.divider-x {
  width: 64px; height: 4px; border: 0;
  background: var(--grad-brand);
  border-radius: 4px; opacity: 1;
  margin: 0 0 1.4rem;
}
.section-head--center .divider-x { margin-inline: auto; }
