/* Site ContaFacil Web (B24a, 04/10/2026). Cores e fonte do logo (Novo_Logo_app/versoes):
   degrade #1E576B -> #45948F -> #80E2C0, texto #525B65, Quicksand nos titulos.
   Sem foto de pessoas (pedido do usuario): marca, degrade e telas do proprio app. */
@font-face { font-family: "Quicksand"; font-weight: 600; font-display: swap; src: url(fontes/quicksand-600.ttf) format("truetype"); }
@font-face { font-family: "Quicksand"; font-weight: 700; font-display: swap; src: url(fontes/quicksand-700.ttf) format("truetype"); }

:root {
  --escuro: #1e576b;
  --meio: #45948f;
  --claro: #80e2c0;
  --tinta: #1d2b33;
  --texto: #525b65;
  --suave: #6b7680;
  --borda: #e3eae8;
  --fundo: #ffffff;
  --fundo-2: #f3f8f6;
  --degrade: linear-gradient(135deg, var(--escuro), var(--meio) 60%, var(--claro));
  --raio: 14px;
  --sombra: 0 10px 30px rgb(30 87 107 / 0.10), 0 2px 6px rgb(30 87 107 / 0.06);
  font-family: "Segoe UI", Inter, system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--texto);
  background: var(--fundo);
}
* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; display: block; }
a { color: var(--escuro); }
h1, h2, h3 { font-family: "Quicksand", "Segoe UI", sans-serif; color: var(--tinta); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 700; letter-spacing: -.5px; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; text-align: center; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }

.faixa { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.faixa.estreita { max-width: 780px; }
.duas { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
/* min-width 0: sem isso a coluna da grade cresce ate a largura original da foto do app (900 px) e o
   texto vaza para fora da tela no celular (visto na foto a 390 px, 04/10/2026) */
.duas > *, .tres > *, .videos > * { min-width: 0; }
.centro { text-align: center; justify-content: center; }

/* botoes */
/* inline-block, nao inline-flex: no flex o texto vira pedacos e os espacos em volta do <span> do numero somem ("Testar7dias") */
.botao { display: inline-block; text-align: center; padding: 10px 18px; border-radius: 999px;
         font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: transform .15s, box-shadow .15s; white-space: nowrap; }
.botao:hover { transform: translateY(-1px); }
.botao.grande { padding: 14px 26px; font-size: 18px; }
.botao.principal { background: var(--degrade); color: #fff; box-shadow: 0 6px 18px rgb(30 87 107 / .25); }
.botao.fantasma { color: var(--escuro); background: transparent; }
.botao.fantasma:hover { background: var(--fundo-2); }
.botao.claro { background: #fff; color: var(--escuro); }
.botao.contorno { border-color: rgb(255 255 255 / .7); color: #fff; }
.botoes { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 14px; }
[hidden] { display: none !important; }

/* topo */
.topo { position: sticky; top: 0; z-index: 10; background: rgb(255 255 255 / .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--borda); }
.topo .faixa { display: flex; align-items: center; gap: 28px; height: 72px; }
/* marca no topo/rodape: simbolo + nome escrito na fonte do logo (o SVG com o nome ficava com ~9 px de letra a 40 px de altura) */
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marca img { width: 38px; height: 38px; }
.marca .nome { font-family: "Quicksand", sans-serif; font-weight: 600; font-size: 21px; color: var(--texto); letter-spacing: .3px; white-space: nowrap; }
.marca .nome b { font-weight: 700; }
.rodape .marca .nome { color: #fff; }
.menu { display: flex; gap: 24px; margin-left: auto; }
.menu a { color: var(--texto); text-decoration: none; font-weight: 500; }
.menu a:hover { color: var(--escuro); }
.acoes { display: flex; gap: 8px; }

/* abertura */
.abertura { position: relative; overflow: hidden; padding: 72px 0 88px; background: linear-gradient(180deg, var(--fundo-2), var(--fundo)); }
.abertura .dagua { position: absolute; right: -140px; top: -120px; width: 620px; opacity: .07; pointer-events: none; }
.abertura .faixa { position: relative; }
.chamada { color: var(--meio); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: 14px; margin-bottom: 14px; }
.destaque { background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { font-size: 20px; color: var(--texto); max-width: 34em; }
.sub.centro { margin: 0 auto 36px; text-align: center; }
.miudo { font-size: 15px; color: var(--suave); }

/* moldura de navegador em volta das telas do app */
.tela { margin: 0; background: #fff; border-radius: var(--raio); box-shadow: var(--sombra); border: 1px solid var(--borda); overflow: hidden; }
.tela .janela { display: flex; gap: 6px; padding: 10px 12px; background: #eef3f1; border-bottom: 1px solid var(--borda); }
.tela .janela span { width: 10px; height: 10px; border-radius: 50%; background: #cfdcd8; }
.tela.larga { margin-top: 48px; }
.tela figcaption { padding: 12px 18px; font-size: 15px; color: var(--suave); border-top: 1px solid var(--borda); }

/* secoes */
.secao { padding: 88px 0; }
.secao.clara { background: var(--fundo-2); }
.secao h2 { margin-bottom: 40px; }
.tres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cartao { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 28px; box-shadow: 0 2px 8px rgb(30 87 107 / .04); }
.cartao p { margin: 0; }
.icone { width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: var(--fundo-2); margin-bottom: 16px;
         fill: none; stroke: var(--escuro); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.selos { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.selos li { padding: 6px 14px; border-radius: 999px; background: var(--fundo-2); color: var(--escuro); font-size: 15px; font-weight: 600; }

/* videos (capas ate os videos do B24d) */
.videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.video h3 { font-size: 17px; margin-top: 12px; text-align: center; }
.capa { position: relative; aspect-ratio: 16 / 10; border-radius: var(--raio); background: var(--degrade); display: flex; align-items: center; justify-content: center; box-shadow: var(--sombra); }
.capa .play { width: 58px; height: 58px; border-radius: 50%; background: rgb(255 255 255 / .92); color: var(--escuro); display: flex; align-items: center; justify-content: center; font-size: 22px; padding-left: 4px; }
.capa .dur { position: absolute; right: 10px; bottom: 8px; color: #fff; font-size: 13px; font-weight: 600; background: rgb(0 0 0 / .25); padding: 1px 8px; border-radius: 999px; }

/* BI */
.secao.escura { background: linear-gradient(135deg, #133846, var(--escuro)); color: #d9ebe7; }
.secao.escura h2 { color: #fff; text-align: left; margin-bottom: 18px; }
.secao.escura .chamada { color: var(--claro); }
.lista { list-style: none; padding: 0; margin: 20px 0 0; }
.lista li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.lista li::before { content: "✓"; position: absolute; left: 0; top: .25em; width: 20px; height: 20px; border-radius: 50%; background: var(--claro);
                    color: #0f3a44; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.diagrama { display: flex; align-items: center; justify-content: center; gap: 0; }
.diagrama .no { width: 170px; height: 170px; border-radius: 24px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .18);
                display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #fff; font-weight: 600; text-align: center; padding: 12px; }
.diagrama .no img, .diagrama .no svg { width: 64px; height: 64px; }
.diagrama .no svg { fill: none; stroke: var(--claro); stroke-width: 2.4; stroke-linecap: round; }
.diagrama .seta { position: relative; width: 120px; height: 2px; background: linear-gradient(90deg, var(--claro), #fff); }
.diagrama .seta::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 9px solid #fff; }
.diagrama .seta span { position: absolute; top: -28px; left: 0; right: 0; text-align: center; font-size: 13px; color: var(--claro); }

/* preco */
.plano { max-width: 460px; margin: 0 auto; text-align: center; background: #fff; border-radius: 22px; padding: 40px 36px; box-shadow: var(--sombra);
         border: 2px solid transparent; background-image: linear-gradient(#fff, #fff), var(--degrade); background-origin: border-box; background-clip: padding-box, border-box; }
.plano .valor { font-family: "Quicksand", sans-serif; color: var(--tinta); font-size: 28px; margin: 0; }
.plano .valor strong { font-size: 72px; line-height: 1; }
.plano .valor span { font-size: 20px; color: var(--suave); }
.plano .dia { font-size: 20px; margin: 8px 0 0; }
.plano .dia strong { color: var(--meio); }
.plano .filial { font-size: 15px; color: var(--suave); margin: 4px 0 0; }
.plano .lista { text-align: left; margin: 26px 0 28px; }
.plano .lista li::before { background: var(--meio); color: #fff; }

/* perguntas */
details { background: #fff; border: 1px solid var(--borda); border-radius: 12px; margin-bottom: 10px; padding: 0 20px; }
summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--tinta); list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 24px; color: var(--meio); }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 18px; }

/* chamada final e rodape */
.final { padding: 80px 0; text-align: center; background: var(--degrade); color: #fff; }
.final h2 { color: #fff; margin-bottom: 8px; }
.final p { font-size: 20px; opacity: .95; }
.rodape { background: #102c36; color: #a9c3bf; padding: 48px 0 28px; font-size: 15px; }
.rodape .faixa { display: grid; gap: 18px; justify-items: start; }
.rodape nav, .rodape .contato { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; }
.rodape a { color: #d9ebe7; text-decoration: none; }
.rodape a:hover { color: #fff; text-decoration: underline; }
.rodape .copia { margin: 8px 0 0; color: #7f9c98; }

/* paginas de texto (termos, privacidade, teste) */
.texto { padding: 56px 0 80px; }
.texto h1 { font-size: 38px; }
.texto h2 { font-size: 22px; text-align: left; margin: 32px 0 10px; }
.pendente { background: #fff4d6; color: #7a5600; padding: 0 4px; border-radius: 4px; }
.formulario { display: grid; gap: 14px; background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 28px; box-shadow: var(--sombra); }
.formulario label { display: grid; gap: 6px; font-weight: 600; color: var(--tinta); font-size: 15px; }
.formulario input { font: inherit; padding: 11px 13px; border: 1px solid #cfdcd8; border-radius: 10px; }
.formulario .marcar { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.aviso { background: #fff4d6; border: 1px solid #f1d58c; color: #6b4c00; border-radius: 10px; padding: 12px 16px; }

/* celular e tela estreita */
@media (max-width: 960px) {
  .duas { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .menu { display: none; }
  .tres { grid-template-columns: 1fr; }
  .videos { grid-template-columns: repeat(2, 1fr); }
  .secao.escura h2 { text-align: center; }
  .diagrama .no { width: 130px; height: 130px; }
  .diagrama .seta { width: 70px; }
}
@media (max-width: 560px) {
  :root { font-size: 16px; }
  .topo .faixa { gap: 10px; }
  .marca img { width: 30px; height: 30px; }
  .marca .nome { font-size: 17px; }
  .acoes .fantasma { display: none; }
  .videos { grid-template-columns: 1fr; }
  .abertura { padding: 44px 0 56px; }
  .secao { padding: 64px 0; }
}

/* sem style="" nem onsubmit no HTML: o CSP do _headers (style-src/script-src self) bloqueia inline no site publicado */
.acoes.direita { margin-left: auto; }
.miudo.respiro { margin-top: 18px; }

/* B24c parte 4: formulario do teste gratis */
.aviso.erro { background: #fee2e2; border-color: #fca5a5; color: #991b1b; }
.aviso.sucesso { background: #e8f6f1; border-color: #a9d9cc; color: #1d2b33; }
.aviso.sucesso h2 { text-align: left; font-size: 24px; margin-bottom: 8px; }
#robo { min-height: 65px; }
