/* ===========================================================================
   umPedido — estilo do site
   Escrito primeiro para o celular, que é de onde vem quase toda a visita.
   Sem framework: o que está aqui é o que o navegador baixa.
   =========================================================================== */

:root {
    /* Cores */
    --amarelo: #FDC648;
    --amarelo-escuro: #e8ae28;
    --escuro: #16202c;
    --escuro-suave: #1f2c3a;
    --texto: #1f2933;
    --texto-fraco: #5b6775;
    --linha: #e6e9ee;
    --claro: #f7f8fa;
    --branco: #fff;
    --verde: #1e9e5a;

    /* Tamanhos de letra */
    --fs-xs: 0.8rem;
    --fs-sm: 0.925rem;
    --fs-md: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.375rem;
    --fs-2xl: 1.75rem;
    --fs-3xl: 2.25rem;

    /* Espaçamentos */
    --esp-1: 4px;
    --esp-2: 8px;
    --esp-3: 12px;
    --esp-4: 16px;
    --esp-5: 24px;
    --esp-6: 32px;
    --esp-7: 48px;
    --esp-8: 72px;

    --raio: 10px;
    --raio-grande: 16px;
    --altura-controle: 48px;
    --sombra: 0 1px 3px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .04);
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: var(--fs-md);
    line-height: 1.6;
    color: var(--texto);
    background: var(--branco);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 var(--esp-4); }
h1 { font-size: var(--fs-3xl); font-weight: 800; }
h2 { font-size: var(--fs-2xl); font-weight: 700; }
h3 { font-size: var(--fs-lg); font-weight: 700; }
p { margin: 0 0 var(--esp-4); }
img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

/* Atalho para quem navega por teclado: some da tela até receber o foco. */
.pular {
    position: absolute; left: -9999px;
    background: var(--escuro); color: #fff; padding: var(--esp-3) var(--esp-4);
    border-radius: 0 0 var(--raio) 0; z-index: 100;
}
.pular:focus { left: 0; top: 0; }

.so-leitores {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.limite { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 var(--esp-5); }
.limite-estreito { max-width: 760px; }

.icone { width: 1.25em; height: 1.25em; fill: currentColor; flex-shrink: 0; }

/* ---------------------------------------------------------------- botões -- */

.botao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--esp-2);
    min-height: var(--altura-controle);
    padding: 0 var(--esp-5);
    border: 2px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.botao:hover { transform: translateY(-1px); }
.botao:active { transform: translateY(0); }
.botao-pequeno { min-height: 42px; padding: 0 var(--esp-4); font-size: var(--fs-sm); }

.botao-principal { background: var(--amarelo); color: var(--escuro); box-shadow: 0 4px 14px rgba(253, 198, 72, .4); }
.botao-principal:hover { background: var(--amarelo-escuro); }

.botao-vazado { background: transparent; color: var(--escuro); border-color: var(--linha); }
.botao-vazado:hover { border-color: var(--escuro); }

.botao-escuro { background: var(--escuro); color: #fff; }
.botao-escuro:hover { background: var(--escuro-suave); }

/* ------------------------------------------------------------- cabeçalho -- */

.cabecalho {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--linha);
}

.cabecalho-linha { display: flex; align-items: center; gap: var(--esp-4); min-height: 68px; }

/* Símbolo + nome escrito. A logo original é vertical e tem o nome embaixo do
   símbolo — numa barra de 68px, esse nome ficaria com 4px de altura. */
.marca { flex-shrink: 0; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marca img { width: auto; height: 38px; object-fit: contain; }
.marca-nome { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em; color: var(--escuro); line-height: 1; }
.marca-nome strong { font-weight: 800; }

.menu { display: none; }
.cabecalho .botao-principal { display: none; }

.abrir-menu {
    margin-left: auto;
    width: 44px; height: 44px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 0;
}
.risco { display: block; width: 22px; height: 2px; background: var(--escuro); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.abrir-menu[aria-expanded="true"] .risco:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.abrir-menu[aria-expanded="true"] .risco:nth-child(2) { opacity: 0; }
.abrir-menu[aria-expanded="true"] .risco:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-celular {
    display: flex; flex-direction: column; gap: var(--esp-1);
    padding: var(--esp-3) var(--esp-5) var(--esp-5);
    border-top: 1px solid var(--linha);
}
.menu-celular[hidden] { display: none; }
.menu-celular a { padding: var(--esp-3) 0; text-decoration: none; font-weight: 500; }
.menu-celular .botao { margin-top: var(--esp-3); }

/* -------------------------------------------------------- primeira dobra -- */

.dobra {
    padding: var(--esp-8) 0 var(--esp-7);
    background:
        radial-gradient(60% 70% at 50% 0%, rgba(253, 198, 72, .22), transparent 70%),
        var(--branco);
    text-align: center;
}
.dobra-conteudo { max-width: 780px; }

/* A marca em tamanho de gente, onde ela é vista. */
.dobra-logo {
    width: auto;
    height: 132px;
    /* Não deixa passar da largura da tela em celular estreito, onde 132px de
       altura dariam uns 170px de largura. */
    max-width: min(78%, 280px);
    margin: 0 auto var(--esp-6);
    object-fit: contain;
}

.dobra-texto { font-size: var(--fs-lg); color: var(--texto-fraco); margin-bottom: var(--esp-6); }

.dobra-botoes { display: flex; flex-direction: column; gap: var(--esp-3); margin-bottom: var(--esp-6); }

.selos {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; align-items: center; gap: var(--esp-2);
    font-size: var(--fs-sm); color: var(--texto-fraco);
}
.selos li { display: flex; align-items: center; gap: var(--esp-2); }
.selos .icone { color: var(--verde); }

/* ---------------------------------------------------------------- faixas -- */

.faixa-publico {
    background: var(--escuro); color: #fff;
    padding: var(--esp-7) 0; text-align: center;
}
.faixa-publico h2 { margin-bottom: var(--esp-3); }
.faixa-publico p { color: rgba(255, 255, 255, .72); margin: 0; }

.secao { padding: var(--esp-8) 0; }
.secao-clara { background: var(--claro); }
.secao-escura { background: var(--escuro); color: #fff; }
.secao-escura .secao-texto { color: rgba(255, 255, 255, .72); }
.secao-escura .cartao { background: var(--escuro-suave); border-color: rgba(255, 255, 255, .1); }
.secao-escura .cartao p { color: rgba(255, 255, 255, .7); }
.secao-escura .cartao-icone { background: rgba(253, 198, 72, .16); color: var(--amarelo); }

.chapeu {
    font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase;
    letter-spacing: .1em; color: var(--amarelo-escuro); margin-bottom: var(--esp-2);
}
.secao-escura .chapeu { color: var(--amarelo); }

.secao-titulo { max-width: 620px; }
.secao-texto { max-width: 620px; font-size: var(--fs-lg); color: var(--texto-fraco); margin-bottom: var(--esp-7); }

/* --------------------------------------------------------------- cartões -- */

.cartoes { display: grid; gap: var(--esp-4); }

.cartao {
    background: var(--branco);
    border: 1px solid var(--linha);
    border-radius: var(--raio-grande);
    padding: var(--esp-5);
    box-shadow: var(--sombra);
}
.cartao h3 { margin-bottom: var(--esp-2); }
.cartao p { margin: 0; color: var(--texto-fraco); font-size: var(--fs-sm); }

.cartao-icone {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-bottom: var(--esp-4);
    background: rgba(253, 198, 72, .22); color: var(--amarelo-escuro);
    border-radius: var(--raio);
}
.cartao-icone .icone { width: 22px; height: 22px; }

/* --------------------------------------------------------- duas colunas -- */

.duas-colunas { display: grid; gap: var(--esp-6); align-items: center; }
.coluna-imagem img { margin: 0 auto; border-radius: var(--raio-grande); }
.texto-grande { font-size: var(--fs-lg); color: var(--texto-fraco); }

.lista-confere { list-style: none; margin: 0 0 var(--esp-5); padding: 0; display: grid; gap: var(--esp-3); }
.lista-confere li { display: flex; align-items: flex-start; gap: var(--esp-3); }
.lista-confere .icone { color: var(--verde); margin-top: .2em; }

/* ---------------------------------------------------------------- planos -- */

.planos { display: grid; gap: var(--esp-5); }

.plano {
    position: relative;
    background: var(--branco);
    border: 1px solid var(--linha);
    border-radius: var(--raio-grande);
    padding: var(--esp-6) var(--esp-5);
    box-shadow: var(--sombra);
    display: flex; flex-direction: column;
}
.plano-destaque { border: 2px solid var(--amarelo); box-shadow: 0 8px 30px rgba(253, 198, 72, .22); }

.plano-selo {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--amarelo); color: var(--escuro);
    padding: var(--esp-1) var(--esp-4);
    border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; white-space: nowrap;
}

.plano h3 { margin-bottom: var(--esp-1); }
.plano-resumo { color: var(--texto-fraco); font-size: var(--fs-sm); margin-bottom: var(--esp-5); }

.plano-preco { display: flex; align-items: baseline; gap: var(--esp-1); flex-wrap: wrap; margin-bottom: var(--esp-5); }
.plano-preco .moeda { font-size: var(--fs-lg); font-weight: 600; }
.plano-preco .valor { font-size: var(--fs-3xl); font-weight: 800; letter-spacing: -0.03em; }
.plano-preco .periodo { color: var(--texto-fraco); font-size: var(--fs-sm); }
.plano-preco .sob-consulta { font-size: var(--fs-xl); font-weight: 700; }

.plano-inclui { list-style: none; margin: 0 0 var(--esp-6); padding: 0; display: grid; gap: var(--esp-3); flex: 1; }
.plano-inclui li { display: flex; align-items: flex-start; gap: var(--esp-3); font-size: var(--fs-sm); }
.plano-inclui .icone { color: var(--verde); margin-top: .2em; }

.observacao { text-align: center; color: var(--texto-fraco); font-size: var(--fs-sm); margin-top: var(--esp-6); }

.plano-preco .a-partir {
    width: 100%;
    font-size: var(--fs-xs);
    color: var(--texto-fraco);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: -2px;
}

/* ----------------------------------------------------- faixas de preço -- */

.faixas { margin-top: var(--esp-8); }
.faixas h3 { font-size: var(--fs-xl); margin-bottom: var(--esp-2); }
.faixas-texto { color: var(--texto-fraco); max-width: 620px; margin-bottom: var(--esp-5); }

/* Em celular estreito, a tabela rola sozinha em vez de espremer as colunas
   até o preço quebrar em duas linhas. */
.faixas-rolagem {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--linha);
    border-radius: var(--raio-grande);
    background: var(--branco);
}

.tabela-faixas {
    width: 100%;
    min-width: 440px;
    border-collapse: collapse;
    font-size: var(--fs-sm);
}

.tabela-faixas th,
.tabela-faixas td {
    padding: var(--esp-4) var(--esp-5);
    text-align: right;
    border-bottom: 1px solid var(--linha);
    white-space: nowrap;
}

.tabela-faixas thead th {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--texto-fraco);
    background: var(--claro);
    font-weight: 700;
}

.tabela-faixas thead th:first-child,
.tabela-faixas tbody th { text-align: left; font-weight: 600; }
.tabela-faixas tbody th { color: var(--texto); }
.tabela-faixas tbody td { font-weight: 700; font-variant-numeric: tabular-nums; }
.tabela-faixas tr:last-child th,
.tabela-faixas tr:last-child td { border-bottom: 0; }

/* A coluna do plano recomendado, destacada como o cartão dele. */
.tabela-faixas th:last-child,
.tabela-faixas td:last-child { background: rgba(253, 198, 72, .1); }

.faixa-moeda { font-size: .8em; font-weight: 600; color: var(--texto-fraco); }
.faixa-consulta { font-weight: 600; color: var(--texto-fraco); font-size: var(--fs-xs); }

.faixas-regra {
    display: flex;
    align-items: flex-start;
    gap: var(--esp-3);
    margin: var(--esp-4) 0 0;
    font-size: var(--fs-sm);
    color: var(--texto-fraco);
}
.faixas-regra .icone { color: var(--verde); margin-top: .2em; flex-shrink: 0; }

/* A lista do que a implantação entrega, em duas colunas quando cabe. */
.lista-implantacao { max-width: 880px; margin: 0 auto var(--esp-5); }

.implantacao-resumo {
    margin-top: var(--esp-7);
    padding: var(--esp-6);
    background: var(--claro);
    border: 1px solid var(--linha);
    border-radius: var(--raio-grande);
    text-align: center;
}
.implantacao-resumo h3 { font-size: var(--fs-xl); margin-bottom: var(--esp-3); }
.implantacao-resumo p { max-width: 620px; margin: 0 auto var(--esp-5); color: var(--texto-fraco); }

/* ------------------------------------------------------------- perguntas -- */

.perguntas { display: grid; gap: var(--esp-3); }

.perguntas details {
    background: var(--branco);
    border: 1px solid var(--linha);
    border-radius: var(--raio);
    padding: var(--esp-4) var(--esp-5);
}
.perguntas summary {
    cursor: pointer; font-weight: 600; list-style: none;
    display: flex; justify-content: space-between; align-items: center; gap: var(--esp-4);
}
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after {
    content: '+'; font-size: var(--fs-xl); font-weight: 400; color: var(--texto-fraco); line-height: 1;
}
.perguntas details[open] summary::after { content: '−'; }
.perguntas details p { margin: var(--esp-3) 0 0; color: var(--texto-fraco); }

/* --------------------------------------------------------- chamada final -- */

.chamada-final { background: var(--amarelo); padding: var(--esp-8) 0; text-align: center; }
.chamada-final h2 { margin-bottom: var(--esp-3); }
.chamada-final p { max-width: 520px; margin: 0 auto var(--esp-6); color: rgba(22, 32, 44, .75); }

/* ---------------------------------------------------------------- rodapé -- */

.rodape { background: var(--escuro); color: rgba(255, 255, 255, .72); padding: var(--esp-8) 0 var(--esp-5); }
.rodape-grade { display: grid; gap: var(--esp-6); }
.rodape h2 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: var(--esp-3); }
.rodape ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--esp-2); }
.rodape a { text-decoration: none; font-size: var(--fs-sm); }
.rodape a:hover { color: var(--amarelo); text-decoration: underline; }
.rodape-marca img { width: auto; height: 68px; object-fit: contain; margin-bottom: var(--esp-4); }
.rodape-marca p { font-size: var(--fs-sm); margin: 0; }

.rodape-fim {
    margin-top: var(--esp-7); padding-top: var(--esp-5);
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: var(--fs-xs);
}
.rodape-fim p { margin: 0; }

/* ------------------------------------------------------------- flutuante -- */

.flutuante {
    position: fixed; right: var(--esp-4); bottom: var(--esp-4); z-index: 40;
    display: inline-flex; align-items: center; gap: var(--esp-2);
    padding: var(--esp-3) var(--esp-5);
    background: var(--verde); color: #fff;
    border-radius: 999px; text-decoration: none; font-weight: 600; font-size: var(--fs-sm);
    box-shadow: 0 6px 20px rgba(30, 158, 90, .4);
}
.flutuante span { display: none; }
.flutuante .icone { width: 24px; height: 24px; }

/* ------------------------------------------------------------ formulário -- */

.cabecalho-pagina { max-width: 680px; margin-bottom: var(--esp-7); }

.formulario { margin-top: var(--esp-6); }

.formulario fieldset {
    border: 1px solid var(--linha);
    border-radius: var(--raio-grande);
    padding: var(--esp-5);
    margin: 0 0 var(--esp-5);
}
.formulario legend {
    padding: 0 var(--esp-3);
    font-weight: 700;
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--texto-fraco);
}

.campo { margin-bottom: var(--esp-5); }
.campo:last-child { margin-bottom: 0; }

.campo label, .campo .rotulo { display: block; font-weight: 600; margin-bottom: var(--esp-2); font-size: var(--fs-sm); }
.campo .escolha { display: flex; align-items: center; gap: var(--esp-3); font-weight: 400; margin-bottom: var(--esp-2); cursor: pointer; }
.campo .escolha input { width: 20px; height: 20px; accent-color: var(--amarelo-escuro); }

.obrigatorio { color: #c0392b; }

.campo input[type="text"], .campo input[type="email"], .campo input[type="tel"], .campo textarea {
    width: 100%;
    min-height: var(--altura-controle);
    padding: var(--esp-3) var(--esp-4);
    font: inherit;
    color: var(--texto);
    background: var(--branco);
    border: 1px solid var(--linha);
    border-radius: var(--raio);
}
.campo textarea { min-height: 96px; resize: vertical; line-height: 1.5; }

.campo input:focus, .campo textarea:focus {
    outline: 2px solid var(--amarelo-escuro);
    outline-offset: 1px;
    border-color: transparent;
}

.campo .ajuda { display: block; margin-top: var(--esp-2); font-size: var(--fs-xs); color: var(--texto-fraco); }
.campo .erro { display: block; margin-top: var(--esp-2); font-size: var(--fs-xs); color: #c0392b; font-weight: 600; }
.campo.com-erro input, .campo.com-erro textarea { border-color: #c0392b; }

/* O campo que só robô preenche. Fica fora da tela em vez de display:none,
   porque robô nenhum se dá ao trabalho de conferir se o campo é visível. */
.armadilha { position: absolute; left: -9999px; top: -9999px; }

.botao-largo { width: 100%; }

.aviso { padding: var(--esp-5); border-radius: var(--raio-grande); margin-bottom: var(--esp-5); }
.aviso-erro { background: #fdecea; border: 1px solid #f5c6c0; color: #8c2018; }
.aviso-certo { background: #eaf7ef; border: 1px solid #b9e3c9; text-align: center; padding: var(--esp-8) var(--esp-5); }
.aviso-certo h1 { margin-bottom: var(--esp-3); }

.aviso-privacidade { font-size: var(--fs-xs); color: var(--texto-fraco); margin-bottom: var(--esp-5); }

/* --------------------------------------------------------- textos legais -- */

.texto-legal h1 { margin-bottom: var(--esp-2); }
.texto-legal h2 { font-size: var(--fs-xl); margin-top: var(--esp-7); }
.texto-legal .atualizado { color: var(--texto-fraco); font-size: var(--fs-sm); margin-bottom: var(--esp-6); }
.texto-legal p, .texto-legal li { color: var(--texto-fraco); }
.texto-legal ul { padding-left: var(--esp-5); display: grid; gap: var(--esp-2); margin-bottom: var(--esp-4); }
.texto-legal a { color: var(--texto); font-weight: 600; }

.caixa-contato {
    margin-top: var(--esp-7);
    padding: var(--esp-5);
    background: var(--claro);
    border-radius: var(--raio-grande);
}
.caixa-contato h2 { margin-top: 0; font-size: var(--fs-lg); }
.caixa-contato p { margin: 0; }

/* ================================================== telas médias e grandes */

@media (min-width: 720px) {
    :root { --fs-2xl: 2rem; --fs-3xl: 3rem; }

    .dobra { padding: calc(var(--esp-8) * 1.4) 0 var(--esp-8); }
    .dobra-logo { height: 180px; max-width: 360px; }
    .rodape-marca img { height: 78px; }
    .dobra-botoes { flex-direction: row; justify-content: center; }
    .selos { flex-direction: row; justify-content: center; gap: var(--esp-6); }

    .cartoes { grid-template-columns: repeat(2, 1fr); gap: var(--esp-5); }
    .lista-implantacao { grid-template-columns: 1fr 1fr; gap: var(--esp-3) var(--esp-6); }
    .planos { grid-template-columns: repeat(2, 1fr); align-items: start; }
    .duas-colunas { grid-template-columns: 1fr 1fr; gap: var(--esp-8); }
    .rodape-grade { grid-template-columns: 1.4fr 1fr 1fr 1fr; }

    .flutuante span { display: inline; }
}

@media (min-width: 980px) {
    .menu { display: flex; gap: var(--esp-6); margin-left: var(--esp-7); }
    .menu a { text-decoration: none; font-weight: 500; font-size: var(--fs-sm); color: var(--texto-fraco); }
    .menu a:hover { color: var(--texto); }

    .cabecalho .botao-principal { display: inline-flex; margin-left: auto; }
    .abrir-menu, .menu-celular { display: none; }

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

    /* A imagem do celular fica à direita na primeira e à esquerda na segunda,
       alternando para a página não virar uma coluna só de texto. */
    .invertida > *:first-child { order: 2; }
    .invertida > *:last-child { order: 1; }
}

/* Quem pediu menos animação no sistema não recebe nenhuma. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
