
/* Reset/Normalização leve */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  line-height: 1.6;
  color: #0f172a;            /* slate-900 */
  background: #ffffff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #0ea5e9; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

:root{
  --bg: #ffffff;
  --fg: #0f172a;             /* texto principal */
  --muted: #475569;          /* slate-600 */
  --accent: #0ea5e9;         /* sky-500 */
  --accent-strong: #0284c7;  /* sky-600 */
  --surface: #f1f5f9;        /* slate-100 */
  --surface-2: #e2e8f0;      /* slate-200 */
  --ok: #16a34a;
  --shadow: 0 8px 30px rgba(2,8,23,0.06);
}

/* Dark mode automático */
@media (prefers-color-scheme: dark) {
  :root{
    --bg: #0b1220;           /* fundo escuro */
    --fg: #e5e7eb;           /* texto claro */
    --muted: #94a3b8;        /* slate-400 */
    --accent: #38bdf8;       /* sky-400 */
    --accent-strong: #0ea5e9;/* sky-500 */
    --surface: #0f172a;      /* slate-900 */
    --surface-2: #1e293b;    /* slate-800 */
    --shadow: 0 8px 30px rgba(0,0,0,0.35);
  }
  body { background: var(--bg); color: var(--fg); }
  a { color: var(--accent); }
}

.container { width: min(1120px, 92%); margin: 0 auto; }

/* Acessibilidade */
.skip-link {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; left: 1rem; top: 1rem;
  width: auto; height: auto; padding: .5rem .75rem;
  background: var(--surface); color: var(--fg);
  border-radius: .5rem; box-shadow: var(--shadow);
  z-index: 1000;
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.7);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--surface-2);
}
@media (prefers-color-scheme: dark) {
  .site-header { background: rgba(15,23,42,0.6); }
    .brand img {
    filter: invert(1) brightness(1.2) contrast(0.9);
  }
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 0;
}
.brand-text { font-weight: 700; letter-spacing: .2px; }
.top-nav ul { display: flex; align-items: center; gap: 1rem; padding: 0; margin: 0; list-style: none; }
.top-nav a { color: var(--fg); padding: .25rem .5rem; border-radius: .375rem; }
.top-nav a.active,
.top-nav a:hover { background: var(--surface); text-decoration: none; }

.main { display: block; }

/* HERO */
.hero {
  background: radial-gradient(1200px 400px at 50% -10%, var(--surface), transparent 60%), var(--bg);
  border-bottom: 1px solid var(--surface-2);
}
.hero-inner {
  padding: 4.5rem 0 3rem;
  text-align: center;
}
.title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 .25rem;
  letter-spacing: .2px;
}
.subtitle {
  margin: 0 auto 1rem;
  color: var(--muted);
  max-width: 56ch;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
}
.badge {
  display: inline-block;
  margin-top: .25rem;
  padding: .25rem .5rem;
  color: #fff; background: var(--ok);
  font-size: .875rem; border-radius: .5rem;
}
.cta-group { margin-top: 1.25rem; display: inline-flex; gap: .75rem; }
.btn {
  display: inline-block; padding: .65rem 1rem; border-radius: .6rem;
  font-weight: 600; border: 1px solid transparent;
}
.btn.primary { background: var(--accent); color: #001018; }
.btn.primary:hover { background: var(--accent-strong); }
.btn.ghost { background: transparent; border-color: var(--surface-2); color: var(--fg); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-visual {
  margin: 2rem auto 0; width: min(960px, 90%); height: auto;
  filter: drop-shadow(var(--shadow));
}

/* SECTIONS */
.section { padding: 3rem 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--surface-2); }

.grid-2 {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 840px) {
  .grid-2 { grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: start; }
}
.h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin: 0 0 .5rem; }
.h4 { font-size: 1.1rem; margin: 0 0 .5rem; }

.ticks { padding-left: 1.25rem; margin: .5rem 0 0; }
.ticks li { margin: .35rem 0; }
.ticks li::marker { content: "✔  "; color: var(--ok); }

.card {
  background: var(--bg);
  border: 1px solid var(--surface-2);
  border-radius: .75rem;
  padding: 1rem 1rem 1.2rem;
  box-shadow: var(--shadow);
}
.callout p.small { color: var(--muted); font-size: .92rem; }

/* Painel CTA */
.cta-panel {
  border: 1px dashed var(--surface-2);
  background: var(--surface);
  border-radius: .9rem;
  padding: 1.25rem;
  text-align: center;
}
.muted { color: var(--muted); }
.divider { margin: 0 .5rem; opacity: .6; }

/* Rodapé */
.site-footer {
  border-top: 1px solid var(--surface-2);
  background: var(--surface);
}
.footer-inner {
  display: flex; flex-direction: column; gap: .5rem;
  padding: 1.25rem 0; align-items: center; justify-content: space-between;
}
.footer-inner ul {
  display: flex; gap: 1rem; list-style: none; padding: 0; margin: 0;
}
@media (min-width: 720px) {
  .footer-inner { flex-direction: row; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;       /* espaço entre logo e nome */
}

.brand img {
  display: block;    /* evita espaço extra abaixo */
}

.brand-text {
  /* font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .2px; */
  font-weight:750;
  letter-spacing:.2px;
  font-size:1.08rem;
}


/* ===== Header: ajustes responsivos para mobile ===== */
@media (max-width: 640px) {
  .header-inner {
    flex-wrap: wrap;                  /* permite quebrar a linha */
    gap: .5rem 0;                     /* espaço vertical suave */
    padding: .6rem 0;                 /* um pouco mais compacto */
  }

  .brand-text {
    font-size: 1rem;                  /* levemente menor */
    letter-spacing: .1px;
    font-weight: 700;
  }

  /* A navegação desce para a linha de baixo e ocupa largura total */
  .top-nav {
    width: 100%;
    order: 2;                         /* garante que venha depois da marca */
  }

  .top-nav ul {
    justify-content: center;          /* centraliza os links */
    gap: .75rem;                      /* espaçamento um pouco menor */
    flex-wrap: wrap;                  /* permite quebrar se necessário */
  }

  /* Opcional: evita “encostar” nas bordas laterais */
  .container.header-inner { width: 94%; }
}


/* ===== Menu colapsável no mobile ===== */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--surface-2);
  color: var(--fg);
  border-radius: .5rem;
  padding: .4rem .6rem;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 640px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  /* por padrão, escondemos a lista no mobile */
  .top-nav ul { display: none; }

  /* quando o menu estiver expandido, mostramos a lista */
  .top-nav[data-open="true"] ul {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-top: .5rem;
  }

  /* layout geral do header no mobile */
  .header-inner {
    flex-wrap: wrap;
    gap: .35rem 0;
  }
  .top-nav {
    width: 100%;
    order: 3; /* nav vem por último: brand, botão, depois nav */
  }
}
