/* ==========================================================================
   RESET & ESTILOS BASE — ETAPA 1: FUNDAÇÃO
   ========================================================================== */

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb, rgba(120, 120, 120, 0.35)) transparent;
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
  font-family: var(--font-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  width: 100%;
}

/* Suporte ao Smooth Scroll Inercial (Lenis) */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* ==========================================================================
   BARRA DE ROLAGEM MINIMALISTA (WEBKIT / BLINK)
   Design ultra-fino (6px), track transparente e cápsula translúcida suave
   ========================================================================== */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb, rgba(120, 120, 120, 0.35));
  border-radius: 9999px;
  transition: background-color 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--scrollbar-thumb-hover, rgba(100, 100, 100, 0.60));
}

::-webkit-scrollbar-thumb:active {
  background-color: var(--scrollbar-thumb-active, rgba(80, 80, 80, 0.85));
}

::-webkit-scrollbar-corner {
  background: transparent;
}

body {
  min-height: 100vh;
  width: 100%;
  overflow-x: clip;
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
  font-family: var(--font-text);
  font-weight: var(--font-weight-regular, 400);
  line-height: 1.6;
  position: relative;
}

/* Tipografia Base: Títulos em Inter */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-main);
  font-weight: var(--font-weight-bold, 700);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

/* Classes de Títulos e Cabeçalhos Globais em Inter */
.hero-title,
.problem-title,
.effective-title,
.testimonials-title,
.plans-title,
.faq-title,
.contact-title,
.footer-col-title,
.principle-name,
.plan-card-name,
.plan-card-price,
.contact-form-title,
.msa-cookie-banner-title,
.msa-cookie-dialog-title,
.faq-question-wrap,
.problem-point-title {
  font-family: var(--font-heading) !important;
  font-weight: var(--font-weight-bold, 700) !important;
  letter-spacing: -0.025em;
}

.hero-kicker,
.problem-kicker,
.effective-kicker,
.testimonials-kicker,
.plans-kicker,
.faq-kicker,
.contact-kicker {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold, 600);
  letter-spacing: 0.12em;
}

/* Parágrafos, Descrições e Textos em Poppins */
p {
  font-family: var(--font-text);
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  font-weight: var(--font-weight-regular, 400);
  line-height: 1.7;
}

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

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

/* Botões */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

/* Acessibilidade: Foco Visível Monocromático de Alto Contraste */
:focus-visible {
  outline: 2px solid var(--section-focus-ring, #000000);
  outline-offset: 3px;
}

/* Respeito a Movimento Reduzido */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
