/* 1. RESET E NORMALIZAÇÃO */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

/* 2. TOKENS E VARIÁVEIS */
:root {
  --maleta-font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --maleta-color-text: #172033;
  --maleta-color-muted: #4a5b73;
  --maleta-color-bg: #f7fafc;
  --maleta-color-surface: #ffffff;
  --maleta-color-primary: #2563eb;
  --maleta-color-focus: #f59e0b;
  --maleta-space-md: 1rem;
  --maleta-space-lg: 2rem;
  --maleta-radius-card: 1.25rem;
  --maleta-shadow-card: 0 18px 40px rgba(15, 59, 87, 0.08);
}

/* 3. BASE GLOBAL */
body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--maleta-color-bg);
  color: var(--maleta-color-text);
  font-family: var(--maleta-font-base);
  line-height: 1.6;
}

/* 4. ELEMENTOS GLOBAIS */
a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

/* 5. ACESSIBILIDADE E ESTADOS GLOBAIS */
:focus-visible {
  outline: 3px solid var(--maleta-color-focus);
  outline-offset: 3px;
}

/* 6. LAYOUT E ESTRUTURA */
header,
main,
section,
.container,
.grid {
  position: relative;
}

/* 7. COMPONENTES REUTILIZÁVEIS */
.card,
.botao,
.badge,
form,
.action-link {
  border-radius: var(--maleta-radius-card);
}

/* 8. ESTILOS ESPECÍFICOS DO MODELO OU PROJETO */
/* 8. SEÇÕES ESPECÍFICAS */
.login-page,
.login-card,
.login-visual,
.login-links,
.hero,
.benefits,
.cta,
.faq,
.sidebar,
.topbar,
.metrics,
.table,
.filters,
.catalog-grid,
.product-card,
.article,
.author,
.post-content,
.services,
.about,
.contact,
.testimonials {
  scroll-margin-top: 2rem;
}

/* 9. RESPONSIVIDADE */
@media (max-width: 720px) {
  body {
    overflow-wrap: anywhere;
  }
}

/* 10. PREFERÊNCIAS DO USUÁRIO */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Conteúdo original preservado abaixo. */
/* 1 - ORIGINAL RESET E NORMALIZAÇÃO */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, ul, ol, figure { margin: 0; }

/* 2 - ORIGINAL TOKENS E VARIÁVEIS */
:root {
  --maleta-font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --maleta-color-text: #172033;
  --maleta-color-muted: #4a5b73;
  --maleta-color-bg: #f7fafc;
  --maleta-color-surface: #ffffff;
  --maleta-color-primary: #2563eb;
  --maleta-color-focus: #f59e0b;
  --maleta-radius-card: 1.25rem;
  --maleta-shadow-card: 0 18px 40px rgba(15, 59, 87, 0.08);
}

/* 3 - ORIGINAL BASE GLOBAL */
body { min-height: 100vh; overflow-x: hidden; background: var(--maleta-color-bg); color: var(--maleta-color-text); font-family: var(--maleta-font-base); line-height: 1.6; }

/* 4 - ORIGINAL ELEMENTOS GLOBAIS */
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

/* 5 - ORIGINAL ACESSIBILIDADE E ESTADOS GLOBAIS */
:where(a, button, input, textarea, select, summary):focus-visible { outline: 3px solid var(--maleta-color-focus); outline-offset: 3px; }

/* 6 - ORIGINAL LAYOUT E ESTRUTURA */
/* 7 - ORIGINAL COMPONENTES REUTILIZÁVEIS */
/* 8. ESTILOS ESPECÍFICOS DO MODELO OU PROJETO */
* {
  box-sizing: border-box;
}

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --soft: #f1f5f9;
  --text: #111827;
  --muted: #64748b;
  --primary: #db2777;
  --dark: #831843;
  --border: #e2e8f0;
  --shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
  --radius: 28px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), transparent 34%),
    linear-gradient(180deg, var(--bg), #ffffff);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav {
  width: min(1140px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  color: var(--dark);
  font-size: 1.08rem;
  font-weight: 900;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
}

.hero,
.section,
.metrics,
.testimonial,
.contact,
.footer {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 720px;
  padding: 74px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 44px;
}

.tag {
  margin: 0 0 14px;
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 6.4vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.18rem;
}

.actions,
.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.actions {
  margin-bottom: 26px;
}

.button {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.24);
}

.button.secondary {
  background: #ffffff;
  border-color: var(--border);
}

.button.large {
  min-height: 62px;
  padding: 0 32px;
}

.proof span {
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.panel,
.metrics article,
.card,
.step,
.testimonial,
.contact {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel {
  padding: 36px;
  background: linear-gradient(160deg, #ffffff, var(--soft));
}

.badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.panel ul {
  margin-bottom: 0;
  padding-left: 20px;
  color: var(--muted);
}

.metrics {
  margin-bottom: 74px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.metrics article {
  padding: 25px;
}

.metrics strong {
  display: block;
  color: var(--dark);
  font-size: 2rem;
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  font-weight: 800;
}

.section {
  padding: 74px 0;
}

.heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.heading p,
.card p,
.step p,
.split p,
.contact p,
.footer {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card,
.step {
  padding: 25px;
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 16px;
}

.step span {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 900;
}

.testimonial {
  margin-top: 40px;
  margin-bottom: 74px;
  padding: 40px;
  background: var(--dark);
  color: #ffffff;
}

.quote {
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.author {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
}

.contact {
  margin-bottom: 74px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #ffffff, var(--soft));
}

.contact div {
  max-width: 700px;
}

.footer {
  padding: 30px 0 46px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--border);
}

.footer a {
  color: var(--dark);
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .nav {
    min-height: auto;
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .section,
  .metrics,
  .testimonial,
  .contact,
  .footer {
    width: min(100% - 24px, 1140px);
  }

  .hero {
    padding: 48px 0;
  }

  h1 {
    font-size: clamp(2.35rem, 15vw, 4.2rem);
  }

  .metrics,
  .grid {
    grid-template-columns: 1fr;
  }

  .panel,
  .contact,
  .testimonial {
    padding: 25px;
  }

  .actions,
  .button {
    width: 100%;
  }

  .footer {
    flex-direction: column;
  }
}

/* Acessibilidade e estados globais — certificação final */
:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--primary, #2563eb);
  outline-offset: 3px;
}

img, svg, video {
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }
}

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

/* 9 - ORIGINAL RESPONSIVIDADE */
@media (max-width: 760px) { body { overflow-x: hidden; } }

/* 10 - ORIGINAL PREFERÊNCIAS DO USUÁRIO */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
