/* Cores e fontes copiadas do site original no Lovable */
:root {
  --background: oklch(98% .005 260);
  --foreground: oklch(14.5% .005 260);
  --surface: oklch(95% .005 260);
  /* Cinza e azul levemente escurecidos (eram 55% e 60%) para atingir contraste WCAG AA */
  --muted-foreground: oklch(52% .015 260);
  --brand: oklch(55% .17 250);
  --brand-foreground: oklch(99% 0 0);
  --navy: oklch(25% .06 260);
  --navy-foreground: oklch(97% .01 260);
  --border: oklch(0% 0 0 / .08);
  --radius: .5rem;

  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--navy); color: var(--navy-foreground);
  padding: .75rem 1rem; border-radius: calc(var(--radius) - 2px);
  font-size: .875rem; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
h1, h2, h3 { font-family: var(--font-display); color: var(--navy); letter-spacing: -0.025em; line-height: 1.15; }

.container { max-width: 72rem; margin: 0 auto; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.75rem; /* área de toque de 44px */
  text-align: center;
  border-radius: calc(var(--radius) - 2px);
  padding: .875rem 1.75rem;
  font-weight: 600;
  transition: filter .15s, background-color .15s;
}
.btn--sm { padding: .5rem 1rem; font-size: .875rem; font-weight: 500; }
.btn--primary { background: var(--brand); color: var(--brand-foreground); }
.btn--primary:hover { filter: brightness(1.1); }
.btn--outline { color: var(--navy); border: 1px solid color-mix(in oklab, var(--navy) 20%, transparent); }
.btn--outline:hover { background: var(--surface); }

.eyebrow {
  color: var(--brand);
  font-size: .875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .75rem;
}
.eyebrow--lg { margin-bottom: 1.5rem; }
.num { font-family: var(--font-mono); color: var(--brand); font-size: .75rem; }

/* Navegação */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 90%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: .75rem 1.5rem;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav__links { display: none; font-size: .875rem; font-weight: 500; color: var(--muted-foreground); }
.nav__links a { transition: color .15s; padding: .625rem 0; margin: -.625rem 0; } /* área de clique maior sem mudar o visual */
.nav__links a:hover { color: var(--navy); }
.nav__actions { display: flex; align-items: center; gap: .5rem; }

/* Menu do celular */
.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem;
  background: none; border: 1px solid var(--border); border-radius: calc(var(--radius) - 2px);
  color: var(--navy); cursor: pointer;
}
.no-js .nav__toggle { display: none; }
.nav__toggle-bar,
.nav__toggle-bar::before,
.nav__toggle-bar::after {
  display: block; width: 1.125rem; height: 2px; border-radius: 1px;
  background: currentColor; transition: transform .2s, opacity .2s;
}
.nav__toggle-bar { position: relative; }
.nav__toggle-bar::before,
.nav__toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav__toggle-bar::before { top: -6px; }
.nav__toggle-bar::after { top: 6px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 767.98px) {
  .nav__links.is-open {
    display: flex; flex-direction: column;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    padding: .5rem 1.5rem 1rem;
    font-size: 1rem;
  }
  .nav__links.is-open a { display: flex; align-items: center; min-height: 3rem; margin: 0; padding: 0; border-bottom: 1px solid var(--border); }
  .nav__links.is-open a:last-child { border-bottom: 0; }
}

.brand { display: flex; align-items: center; gap: .5rem; padding: .375rem 0; margin: -.375rem 0; }
.brand__logo { width: 2rem; height: 2rem; object-fit: contain; }
.brand__name { font-family: var(--font-display); color: var(--navy); font-size: 1.25rem; font-weight: 700; text-transform: uppercase; letter-spacing: -0.025em; }
.brand--sm { margin-bottom: .5rem; }
.brand--sm .brand__logo { width: 1.5rem; height: 1.5rem; }
.brand--sm .brand__name { font-size: inherit; }

/* Hero */
.hero { padding: 5rem 1.5rem; }
.hero__inner { max-width: 56rem; margin: 0 auto; text-align: center; }
.hero h1 { font-size: 2.25rem; font-weight: 700; line-height: 1.05; margin-bottom: 1.5rem; text-wrap: balance; }
.hero__lead { color: var(--muted-foreground); font-size: 1.125rem; max-width: 42rem; margin: 0 auto 2.5rem; text-wrap: pretty; }
.hero__actions { display: flex; flex-direction: column; justify-content: center; gap: .75rem; }

/* Seções */
.section { padding: 5rem 1.5rem; }
.section--surface { background: var(--surface); }
.section__head { max-width: 42rem; margin-bottom: 3rem; }
.section h2 { font-size: 1.875rem; font-weight: 700; }
.section__lead { margin-top: 1rem; color: var(--muted-foreground); line-height: 1.625; text-wrap: pretty; }

/* Cards de serviço */
.cards { display: grid; gap: 1.5rem; }
.card {
  display: flex; flex-direction: column; gap: 1rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.card h3, .steps h3 { letter-spacing: normal; line-height: 1.4; }
.card h3 { font-size: 1.25rem; font-weight: 600; }
.card > p { color: var(--muted-foreground); font-size: .875rem; line-height: 1.625; }
.card ul { margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--border); display: grid; gap: .5rem; }
.card li { display: flex; align-items: flex-start; gap: .5rem; color: var(--muted-foreground); font-size: .875rem; }
.card li::before {
  content: ""; flex-shrink: 0;
  width: .25rem; height: .25rem; margin-top: .5rem;
  border-radius: 999px; background: var(--brand);
}

/* Passos da abordagem */
.steps { display: grid; gap: 1.5rem; }
.steps li { border-top: 2px solid var(--brand); padding-top: 1.25rem; }
.steps h3 { font-size: 1.125rem; font-weight: 600; margin: .5rem 0; }
.steps p { color: var(--muted-foreground); font-size: .875rem; line-height: 1.625; }

/* Contato */
.section--cta { padding-top: 0; }
.cta {
  max-width: 56rem; margin: 0 auto;
  background: var(--navy); color: var(--navy-foreground);
  border-radius: calc(var(--radius) + 4px);
  padding: 3rem 1.5rem;
  text-align: center;
}
.cta h2 { color: inherit; margin-bottom: 1rem; letter-spacing: normal; }
.cta > p { color: color-mix(in oklab, var(--navy-foreground) 80%, transparent); max-width: 36rem; margin: 0 auto 2rem; }
.cta .cta__email { color: color-mix(in oklab, var(--navy-foreground) 75%, transparent); font-size: .875rem; margin: 1rem auto 0; }
.cta__email a { display: inline-block; padding: .5rem 0; margin: -.25rem 0; overflow-wrap: anywhere; }
.cta__email a:hover { color: var(--navy-foreground); text-decoration: underline; }

/* Rodapé */
.footer { border-top: 1px solid var(--border); padding: 2.5rem 1.5rem; color: var(--muted-foreground); font-size: .875rem; }
.footer__grid { display: grid; gap: 2rem; }
.footer__title { color: var(--navy); font-weight: 600; margin-bottom: .5rem; }
.footer a { display: inline-block; padding: .5rem 0; margin: -.5rem 0; overflow-wrap: anywhere; }
.footer a:hover { color: var(--navy); }
.footer__copy { margin-top: 2rem; font-size: .75rem; }

/* Responsivo */
@media (min-width: 640px) {
  .hero h1 { font-size: 3rem; }
  .hero__actions { flex-direction: row; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .nav { padding-top: 1rem; padding-bottom: 1rem; }
  .nav__links { display: flex; gap: 2rem; }
  .nav__toggle { display: none; }
  .btn--sm { min-height: 0; }
  .hero { padding-top: 7rem; }
  .hero h1 { font-size: 3.75rem; }
  .section { padding-top: 6rem; padding-bottom: 6rem; }
  .section--cta { padding-top: 0; }
  .section h2 { font-size: 2.25rem; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .cta { padding: 3.5rem; }
}
/* Cards em 3 colunas só quando há largura para o texto respirar */
@media (min-width: 960px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
