/* 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; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #f7fafc;
  color: #172033;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 4px;
}

.container {
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 250, 252, .92);
  border-bottom: 1px solid #dbe4ef;
  backdrop-filter: blur(14px);
}

.site-nav {
  width: min(100% - 2rem, 1120px);
  min-height: 4.75rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  color: #0f3b57;
  font-weight: 900;
  letter-spacing: -.03em;
}

.site-nav__links {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #42526a;
  font-weight: 700;
}

.hero {
  padding: clamp(4rem, 9vw, 7rem) 0;
  background: linear-gradient(135deg, #ffffff, #eef7fb);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  color: #0f766e;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

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

h1, h2, h3 {
  color: #102033;
  line-height: 1.08;
  letter-spacing: -.035em;
}

h1 { font-size: clamp(2.5rem, 7vw, 5rem); }
h2 { max-width: 760px; font-size: clamp(2rem, 5vw, 3.4rem); }

.hero__text {
  max-width: 680px;
  color: #42526a;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.button {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .9rem 1.25rem;
  color: #ffffff;
  background: #0f766e;
  font-weight: 900;
}

.hero-card,
.card,
.step,
.contact-card,
details {
  border: 1px solid #dbe4ef;
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 59, 87, .08);
}

.hero-card,
.card,
.step,
.contact-card {
  padding: 1.4rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.cards-grid,
.steps-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.cards-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card p,
.step p,
.contact-card p,
details p {
  color: #4a5b73;
}

.step span {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: .9rem;
  color: #ffffff;
  background: #0f766e;
  font-weight: 900;
}

.section--split,
.contact-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

details {
  padding: 1.25rem;
}

summary {
  cursor: pointer;
  color: #102033;
  font-weight: 900;
}

.contact-card {
  font-style: normal;
}

.contact-card a {
  color: #0f766e;
  font-weight: 800;
}

.site-footer {
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #dbe4ef;
  padding: 2rem 0;
  color: #42526a;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #0f766e;
  font-weight: 900;
}

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

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

  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container,
  .site-nav,
  .site-footer {
    width: min(100% - 1.25rem, 1120px);
  }

  .site-nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }

  .site-nav__links {
    flex-wrap: wrap;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    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; }
}
