@font-face {
    font-family: "Atkinson Hyperlegible Next";
    src: url("/fonts/atkinson/AtkinsonHyperlegibleNext-latin.woff2") format("woff2");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --fonte: "Atkinson Hyperlegible Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Fundo Azul Sólido & Superfícies (Sem glows ou gradientes) */
    --fundo: #090e1a;
    --fundo-card: #0f172a;
    --fundo-card-hover: #131e35;
    --fundo-tabela-topo: #0b1325;

    /* Linhas e Divisórias Precisas */
    --linha: #1e293b;
    --linha-forte: #334155;

    /* Textos com Alto Contraste */
    --texto: #f8fafc;
    --texto-suave: #94a3b8;
    --texto-mutado: #64748b;

    /* Verde WhatsApp (Ação e Entrega) */
    --verde-zap: #25D366;
    --verde-zap-hover: #22c55e;
    --sobre-verde: #052617;

    /* Status e Acentos */
    --status-enviada: #25D366;
    --status-pendente: #94a3b8;
    --foco: #25D366;

    --raio: 6px;
    --raio-card: 10px;
    --pad: clamp(1rem, 4vw, 2.5rem);
    --max: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--fundo);
    color: var(--texto);
    font: 1.0625rem/1.6 var(--fonte);
    min-height: 100vh;
}

a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid var(--foco); outline-offset: 2px; }

.conteiner { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Tipografia */
h1, h2, h3 { margin: 0; text-wrap: balance; color: #ffffff; text-align: left; }
h1 {
    font-size: clamp(2.35rem, 1.5rem + 3.8vw, 3.85rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}
h2 {
    font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.35rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
h3 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.lede {
    color: var(--texto-suave);
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

/* Cabeçalho */
.cabecalho {
    border-bottom: 1px solid var(--linha);
    background: var(--fundo);
    position: sticky;
    top: 0;
    z-index: 50;
}

.topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: 1rem;
}

.marca {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.015em;
    text-decoration: none;
    color: #ffffff;
    min-height: 44px;
}

.marca svg {
    display: block;
    flex-shrink: 0;
}

.topo__nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.topo__nav a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.topo__nav a:not(.botao):hover {
    color: var(--verde-zap);
}

/* Botões */
.botao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.75rem;
    border-radius: var(--raio);
    background: var(--verde-zap);
    color: var(--sobre-verde);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.1s ease;
}

.botao:hover {
    background: var(--verde-zap-hover);
    transform: translateY(-1px);
}

.botao:active {
    transform: translateY(0);
}

.botao--contorno {
    min-height: 40px;
    padding: 0.4rem 1.15rem;
    background: transparent;
    color: var(--texto);
    border: 1px solid var(--linha-forte);
    font-weight: 600;
    font-size: 0.9375rem;
}

.botao--contorno:hover {
    background: var(--fundo-card);
    color: #ffffff;
    transform: none;
}

/* Hero em 2 Colunas: Texto à esquerda e Quadro à direita */
.faixa {
    border-bottom: 1px solid var(--linha);
    padding-block: clamp(3rem, 6vw, 5.5rem);
}

.heroi {
    display: grid;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
}

@media (min-width: 58rem) {
    .heroi {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    }
}

.heroi__conteudo {
    text-align: left;
}

.heroi h1 {
    margin-bottom: 1.15rem;
}

.heroi__sub {
    font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
    color: var(--texto-suave);
    margin: 0 0 1.75rem;
    max-width: 34ch;
    line-height: 1.5;
    text-align: left;
}

.heroi__cta-grupo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.heroi__apoio {
    margin: 0;
    color: var(--texto-suave);
    font-size: 0.9375rem;
    max-width: 42ch;
    text-align: left;
}

/* Quadro de Agendamentos / Destaque Visual à Direita */
.quadro {
    margin: 0;
    text-align: left;
    background: var(--fundo-card);
    border: 1px solid var(--linha);
    border-radius: var(--raio-card);
    overflow: hidden;
}

.quadro__topo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.25rem;
    background: var(--fundo-tabela-topo);
    border-bottom: 1px solid var(--linha);
    font-size: 0.9375rem;
    color: var(--texto-suave);
}

.quadro__topo strong {
    color: #ffffff;
}

.quadro__exemplo {
    border: 1px solid var(--linha);
    border-radius: 999px;
    padding: 0.1rem 0.65rem;
    font-size: 0.8125rem;
    white-space: nowrap;
    color: var(--texto-suave);
}

.quadro__linhas {
    list-style: none;
    margin: 0;
    padding: 0;
}

.linha {
    display: grid;
    grid-template-columns: 4.8rem minmax(0, 1fr) auto;
    gap: 0.5rem 1rem;
    align-items: center;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--linha);
    transition: background-color 0.15s ease;
}

.linha:first-child { border-top: 0; }
.linha:hover { background-color: var(--fundo-card-hover); }

.linha time {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--verde-zap);
}

.linha__quem {
    min-width: 0;
}

.linha__quem strong {
    display: block;
    font-weight: 600;
    color: #ffffff;
    font-size: 0.975rem;
    margin-bottom: 0.1rem;
}

.linha__quem span {
    display: block;
    color: var(--texto-suave);
    font-size: 0.925rem;
    overflow-wrap: anywhere;
}

@media (max-width: 34rem) {
    .linha {
        grid-template-columns: 4rem minmax(0, 1fr);
    }
    .chip-celula {
        grid-column: 2;
        justify-items: start;
        margin-top: 0.25rem;
    }
}

/* Status Chips */
.chip {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid currentColor;
}

.chip--enviada {
    color: var(--verde-zap);
    border-color: rgba(37, 211, 102, 0.4);
    background: rgba(37, 211, 102, 0.1);
}

.chip--pendente {
    color: var(--status-pendente);
    border-color: rgba(148, 163, 184, 0.3);
    background: rgba(148, 163, 184, 0.08);
}

.chip-celula {
    display: grid;
    justify-items: end;
    position: relative;
}

.chip-celula > .chip { grid-area: 1 / 1; }

.chip-celula--troca .chip--pendente { animation: chip-sai 8s ease-in-out infinite; }
.chip-celula--troca .chip--enviada { animation: chip-entra 8s ease-in-out infinite; }

@keyframes chip-sai {
    0%, 38% { opacity: 1; transform: none; }
    44%, 94% { opacity: 0; transform: translateY(-4px); }
    100% { opacity: 1; transform: none; }
}
@keyframes chip-entra {
    0%, 38% { opacity: 0; transform: translateY(4px); }
    44%, 90% { opacity: 1; transform: none; }
    96%, 100% { opacity: 0; transform: translateY(4px); }
}

@media (prefers-reduced-motion: reduce) {
    .botao { transition: none; }
    .chip-celula--troca .chip--pendente { display: none; animation: none; }
    .chip-celula--troca .chip--enviada { animation: none; opacity: 1; transform: none; }
}

/* Seções Gerais */
.secao {
    padding-block: clamp(3.5rem, 7vw, 6rem);
    border-bottom: 1px solid var(--linha);
}

/* Cabeçalho de Seção Centralizado na Página (mas com texto alinhado à esquerda) */
.secao__bloco-central {
    max-width: 48rem;
    margin-inline: auto;
    text-align: left;
}

.secao__bloco-central h2 {
    margin-bottom: 0.65rem;
}

.secao__bloco-central .lede {
    margin-bottom: 2.5rem;
}

/* 3 Passos: Grid Simétrico */
.passos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.75rem;
    grid-template-columns: 1fr;
    counter-reset: passo;
}

@media (min-width: 50rem) {
    .passos {
        grid-template-columns: repeat(3, 1fr);
    }
}

.passos li {
    counter-increment: passo;
    background: var(--fundo-card);
    border: 1px solid var(--linha);
    border-radius: var(--raio-card);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.passos li::before {
    content: counter(passo);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--raio);
    background: var(--fundo);
    border: 1px solid var(--linha-forte);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--verde-zap);
    margin-bottom: 1.25rem;
}

.passos h3 {
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.passos p {
    margin: 0;
    color: var(--texto-suave);
    font-size: 0.95rem;
    line-height: 1.55;
    text-align: left;
}

/* Casos de Uso: 2 Colunas Equilibradas (Texto à esquerda, Casos à direita) */
.duas {
    display: grid;
    gap: 3rem 4rem;
    align-items: start;
}

@media (min-width: 54rem) {
    .duas {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    }
}

.duas__coluna-esquerda {
    text-align: left;
}

.duas__coluna-esquerda h2 {
    margin-bottom: 1rem;
}

.duas__coluna-esquerda .lede {
    margin-bottom: 1.75rem;
}

.limites-caixa {
    background: var(--fundo-card);
    border: 1px solid var(--linha);
    border-radius: var(--raio-card);
    padding: 1.25rem 1.5rem;
    text-align: left;
}

.limites-caixa strong {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.limites {
    margin: 0;
    color: var(--texto-suave);
    font-size: 0.925rem;
    line-height: 1.55;
    text-align: left;
}

.usos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.usos li {
    background: var(--fundo-card);
    border: 1px solid var(--linha);
    border-radius: var(--raio-card);
    padding: 1.15rem 1.35rem;
    color: var(--texto);
    font-size: 0.975rem;
    line-height: 1.5;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    text-align: left;
}

.usos li::before {
    content: "•";
    color: var(--verde-zap);
    font-size: 1.4rem;
    line-height: 0;
    flex-shrink: 0;
}

/* Aviso e Transparência: Bloco Centralizado na Página, Texto à Esquerda */
.aviso-envoltorio {
    max-width: 48rem;
    margin-inline: auto;
}

.aviso {
    background: var(--fundo-card);
    border: 1px solid var(--linha);
    border-radius: var(--raio-card);
    padding: clamp(1.75rem, 4vw, 2.5rem);
    text-align: left;
}

.aviso h2 {
    margin-bottom: 1rem;
}

.aviso p {
    margin: 0 0 1rem;
    color: var(--texto);
    line-height: 1.6;
    text-align: left;
}

.aviso p:last-of-type {
    color: var(--texto-suave);
    font-size: 0.95rem;
}

.aviso__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--linha);
    font-weight: 600;
}

.aviso__links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    text-decoration: underline;
}

.aviso__links a:hover {
    color: var(--verde-zap);
}

/* FAQ: Bloco Centralizado na Página, Texto à Esquerda */
.faq-secao {
    max-width: 48rem;
    margin-inline: auto;
    text-align: left;
}

.faq-secao h2 {
    margin-bottom: 1.75rem;
}

.faq {
    display: grid;
    gap: 0.75rem;
}

.faq details {
    background: var(--fundo-card);
    border: 1px solid var(--linha);
    border-radius: var(--raio);
    overflow: hidden;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.faq details:hover {
    background: var(--fundo-card-hover);
}

.faq details[open] {
    border-color: var(--linha-forte);
}

.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 1.15rem 3.5rem 1.15rem 1.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    min-height: 44px;
    color: #ffffff;
    user-select: none;
    text-align: left;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    content: "+";
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--verde-zap);
}

.faq details[open] summary::after {
    content: "−";
    color: var(--texto-suave);
}

.faq details p {
    margin: 0;
    padding: 0 1.5rem 1.25rem;
    color: var(--texto-suave);
    line-height: 1.6;
    text-align: left;
}

/* Faixa Final CTA: Bloco Centralizado na Página, Conteúdo à Esquerda */
.faixa-final {
    background: var(--fundo);
    padding-block: clamp(4rem, 8vw, 6.5rem);
    border-bottom: 1px solid var(--linha);
}

.faixa-final__conteudo {
    max-width: 48rem;
    margin-inline: auto;
    text-align: left;
}

.faixa-final h2 {
    margin-bottom: 0.75rem;
}

.faixa-final p {
    color: var(--texto-suave);
    margin: 0 0 1.75rem;
    font-size: 1.125rem;
    text-align: left;
}

/* Rodapé Equilibrado */
.rodape {
    padding-block: 2.5rem 3.5rem;
    color: var(--texto-suave);
    font-size: 0.9375rem;
    background: var(--fundo);
}

.rodape .conteiner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
    text-align: left;
}

@media (min-width: 48rem) {
    .rodape .conteiner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.rodape p {
    margin: 0;
    text-align: left;
}

.rodape p strong {
    color: #ffffff;
}

.rodape nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    align-items: center;
}

.rodape a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    overflow-wrap: anywhere;
    color: var(--texto-suave);
    text-decoration: none;
}

.rodape a:hover {
    color: #ffffff;
    text-decoration: underline;
}
