/* ==========================================================================
   RESET MODERNO & CONFIGURAÇÃO GLOBAL
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-graphite-700);
  background-color: var(--color-bg-ice);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-bottom: 0; /* Atualizado no mobile pelo sticky bar */
}

/* Imagens e Mídias */
img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Links & Botões */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* Acessibilidade de Foco */
:focus-visible {
  outline: 3px solid var(--color-electric-blue);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Tipografia Base */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-dark-blue);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-black);
  line-height: var(--line-height-tight);
  letter-spacing: -0.03em;
}

p {
  color: var(--color-graphite-600);
  line-height: var(--line-height-relaxed);
}

p + p {
  margin-top: var(--space-4);
}

/* Container de Conteúdo */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* Seções Padrão */
.section {
  padding-block: var(--section-padding);
  position: relative;
}

.section--light,
.section--white {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border-subtle);
}

.section--subtle,
.section--ice {
  background-color: var(--color-bg-ice);
  border-bottom: 1px solid var(--color-border-subtle);
}

.section--dark,
.section--navy {
  background-color: var(--color-navy-deep);
  color: var(--color-white);
  text-shadow: none;
}

.section--dark p,
.section--navy p {
  font-family: var(--font-family-primary);
  font-weight: 400;
  color: #e6edf5;
  line-height: 1.6;
  text-shadow: none;
  -webkit-text-stroke: 0;
}

.section--dark a:not(.btn),
.section--navy a:not(.btn) {
  font-family: var(--font-family-primary);
  font-weight: 600;
  color: #7dd3fc;
  text-shadow: none;
  -webkit-text-stroke: 0;
  transition: color var(--transition-fast), text-decoration var(--transition-fast);
}

.section--dark a:not(.btn):hover,
.section--navy a:not(.btn):hover {
  color: #bae6fd;
  text-decoration: underline;
}

/* Cabeçalhos de Seções */
.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-header--left {
  text-align: left;
  margin-inline: 0;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background-color: var(--color-badge-bg);
  color: var(--color-badge-text);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}

.section-badge--dark {
  background-color: rgba(56, 189, 248, 0.12);
  color: var(--color-electric-light);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.section-title {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-black);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-dark-blue);
  margin-bottom: var(--space-3);
}

.section-title--light {
  color: var(--color-white);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-graphite-600);
  line-height: var(--line-height-normal);
}

.section-subtitle--light {
  font-family: var(--font-family-primary);
  font-weight: 400;
  color: #e6edf5;
  line-height: 1.6;
  text-shadow: none;
  -webkit-text-stroke: 0;
}

/* Classes Utilitárias */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.text-highlight {
  color: var(--color-electric-blue);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-electric-blue) 0%, var(--color-electric-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
