/* ============================================================
   styles.css — Reset, variáveis e base
   ============================================================ */

:root {
  --primary: #2F3190;        /* Azul escuro principal */
  --primary-dark: #1e2070;   /* Azul mais escuro (hover) */
  --primary-deep: #14163d;   /* Navy profundo (texto/headings/fundos) */
  --accent: #FFD215;         /* Amarelo dourado (CTAs, destaques) */
  --accent-hover: #e6bc00;   /* Amarelo hover */
  --accent-soft: #fff6cf;    /* Amarelo translúcido p/ marcador */
  --text-dark: #2a2c3a;      /* Texto principal */
  --text-light: #ffffff;     /* Texto em fundo escuro */
  --text-muted: #5b6478;     /* Texto secundário */
  --bg: #ffffff;             /* Fundo padrão (branco) */
  --bg-soft: #F1F4FB;        /* Azul-frio bem claro (alternância) */
  --bg-deep: #0f1130;        /* Fundo escuro (hero/footer alt) */
  --border: #e6e9f3;         /* Linhas/divisórias */
  --whatsapp: #25D366;       /* Verde WhatsApp */

  --shadow-sm: 0 4px 14px rgba(20, 22, 61, 0.06);
  --shadow: 0 14px 38px rgba(20, 22, 61, 0.10);
  --shadow-lg: 0 26px 60px rgba(20, 22, 61, 0.16);

  --header-h: 84px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --maxw: 1180px;

  --font-head: 'Albert Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.1;
  color: var(--primary-deep);
  letter-spacing: -0.02em;
}

/* ---------- Acessibilidade: foco visível ---------- */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: var(--primary-deep); }

/* ---------- Utilitários ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 28px;
}

/* Eyebrow / kicker — rótulo editorial com barrinha de acento */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.eyebrow--light { color: var(--accent); }
.eyebrow--center { justify-content: center; }

.section-title {
  font-size: clamp(1.8rem, 1.1rem + 2.8vw, 2.85rem);
  font-weight: 800;
  color: var(--primary-deep);
}
.section-title--light { color: var(--text-light); }

.section-subtitle {
  font-size: clamp(1rem, 0.92rem + 0.4vw, 1.16rem);
  color: var(--text-muted);
  max-width: 640px;
}

/* Marcador amarelo atrás de palavra-chave */
.mark {
  position: relative;
  display: inline;
  z-index: 0;
}
.mark::after {
  content: '';
  position: absolute;
  left: -2px; right: -2px;
  bottom: 0.06em;
  height: 0.34em;
  background: var(--accent);
  z-index: -1;
  border-radius: 2px;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
  display: grid;
  gap: 16px;
  justify-items: center;
}

/* Reduz movimento para quem prefere */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
