:root {
  --bg: #ffffff;
  --surface: #eef3f7;
  --ink: #0f1d2e;
  --muted: #2f3f55;
  --accent: #1d6aa5;
  --accent-hover: #155584;
  --accent-ink: #ffffff;
  --navy: #1a2039;
  --navy-ink: #e3eef7;
  --navy-muted: #a9bfd3;
  --m: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --s-small: 0.9375rem;
  --s-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --s-lead: clamp(1.1875rem, 1.05rem + 0.6vw, 1.5rem);
  --s-head: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
  --s-hero: clamp(2.25rem, 1.3rem + 4.2vw, 4.5rem);
  --r: 6px;
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 400 var(--s-body)/1.55 'Bricolage Grotesque', system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(100% - 2 * var(--m), var(--max)); margin-inline: auto; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
h1 { font-size: var(--s-hero); }
h2 { font-size: var(--s-head); margin-bottom: 0.6em; }
h3 { font-size: var(--s-lead); letter-spacing: -0.01em; line-height: 1.2; }
p + p { margin-top: 0.8em; }
.lead { font-size: var(--s-lead); line-height: 1.45; max-width: 36ch; }
.secao { padding-block: clamp(72px, 10vw, 140px); }

/* Barra */
.barra { padding-block: 18px; }
.barra .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.marca { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.375rem; letter-spacing: -0.03em; text-decoration: none; }
.marca img { width: 40px; height: 40px; }
.barra nav { display: flex; align-items: center; gap: 24px; font-size: var(--s-small); font-weight: 600; }
.barra nav a:not(.btn) { text-decoration: none; }
.barra nav a:not(.btn):hover { color: var(--accent); }
@media (max-width: 760px) {
  .barra nav a:not(.btn) { display: none; }
  .topo .garantias { display: none; }
  .topo h1 { margin-bottom: 16px; }
  .topo .lead { margin-bottom: 24px; }
}

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .2s, transform .15s; }
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(.97); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-peq { min-height: 42px; padding: 0 18px; font-size: var(--s-small); }
.btn-claro { background: var(--navy-ink); color: var(--navy); }
.btn-claro:hover { background: #fff; }

/* Topo */
.topo { padding-block: clamp(32px, 6vw, 88px) clamp(56px, 8vw, 120px); }
.topo .wrap { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .topo .wrap { grid-template-columns: 1.1fr 1fr; } }
.topo h1 { margin-bottom: 24px; max-width: 13ch; }
.topo .lead { margin-bottom: 32px; }
.topo-img { aspect-ratio: 1; object-fit: cover; border-radius: var(--r); background: var(--navy); }
.garantias { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; padding: 0; list-style: none; font-size: var(--s-small); font-weight: 600; color: var(--muted); }
.garantias li::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--accent); }

/* Calculadora */
.calc { background: var(--surface); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); }
.calc h2 { font-size: var(--s-lead); letter-spacing: -0.01em; margin-bottom: 18px; }
.calc label { display: block; font-weight: 600; font-size: var(--s-small); margin: 14px 0 6px; }
.calc select, .calc input[type=number] { width: 100%; min-height: 52px; padding: 0 14px; border: 2px solid #c9d5e0; border-radius: var(--r); background: #fff; font: inherit; color: var(--ink); }
.calc select:focus, .calc input:focus { border-color: var(--accent); outline: none; }
.calc .check { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-weight: 600; font-size: var(--s-small); }
.calc .check input { width: 22px; height: 22px; accent-color: var(--accent); }
.calc-saida { margin: 22px 0; font-size: var(--s-small); color: var(--ink); }
.calc-valor { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 8px; }
.calc .btn { width: 100%; white-space: normal; text-align: center; padding-block: 10px; }

/* Faixa escura com pranchas reais */
.escuro { background: var(--navy); color: var(--navy-ink); }
.escuro p { color: var(--navy-muted); }
.pranchas { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 900px) { .pranchas { grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; } .pranchas figure:first-child { grid-row: span 2; } }
.pranchas img { width: 100%; border-radius: var(--r); aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 900px) { .pranchas figure:first-child { display: flex; flex-direction: column; } .pranchas figure:first-child img { aspect-ratio: auto; flex: 1; min-height: 0; } }
.pranchas figcaption { margin-top: 10px; font-size: var(--s-small); color: var(--navy-muted); }
.escuro-topo { display: grid; gap: 24px; }
@media (min-width: 900px) { .escuro-topo { grid-template-columns: 1fr 1fr; align-items: end; } }

/* Listas de benefícios / entregáveis */
.duas { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 900px) { .duas { grid-template-columns: 1fr 1.3fr; } }
.itens { list-style: none; padding: 0; display: grid; gap: 26px; }
@media (min-width: 640px) { .itens { grid-template-columns: 1fr 1fr; } }
.itens li { padding-left: 26px; position: relative; }
.itens li::before { content: ''; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.itens strong { display: block; font-size: 1.125rem; margin-bottom: 4px; }
.itens span { color: var(--muted); }

/* Serviços (página da empresa) */
.servicos { display: grid; gap: 0; margin-top: 24px; }
.servico { display: grid; gap: 8px 32px; padding: 28px 0; text-decoration: none; border-radius: var(--r); transition: background .2s, padding .2s; }
.servico + .servico { margin-top: 4px; }
@media (min-width: 900px) { .servico { grid-template-columns: 1fr 1.2fr auto; align-items: center; padding: 30px 24px; } }
.servico:nth-child(odd) { background: var(--surface); padding-inline: 24px; }
.servico:hover { background: #dfe8f0; }
.servico h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); letter-spacing: -0.03em; }
.servico p { color: var(--muted); }
.servico .seta { font-weight: 700; color: var(--accent); white-space: nowrap; }

/* Passos */
.passos { list-style: none; padding: 0; display: grid; gap: 4px; margin-top: 32px; counter-reset: p; }
@media (min-width: 900px) { .passos { grid-template-columns: repeat(4, 1fr); } }
.passos li { background: var(--surface); padding: 28px 24px; border-radius: var(--r); }
.passos li:nth-child(2) { background: #e2ebf3; } .passos li:nth-child(3) { background: #d5e3ef; } .passos li:nth-child(4) { background: var(--accent); color: var(--accent-ink); }
.passos li:nth-child(4) p { color: #dcebf7; }
.passos h3 { margin-bottom: 8px; }
.passos p { color: var(--muted); font-size: var(--s-small); }

/* Condições */
.condicoes { display: grid; gap: 4px; margin-top: 32px; }
@media (min-width: 760px) { .condicoes { grid-template-columns: repeat(4, 1fr); } }
.condicoes div { background: var(--surface); padding: 24px; border-radius: var(--r); }
.condicoes strong { display: block; font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.condicoes span { color: var(--muted); font-size: var(--s-small); }

/* FAQ */
.faq { display: grid; gap: 4px; margin-top: 24px; max-width: 820px; }
.faq details { background: var(--surface); border-radius: var(--r); }
.faq summary { cursor: pointer; padding: 22px 24px; font-weight: 700; font-size: 1.125rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 24px 22px; color: var(--muted); max-width: 64ch; }

/* Chamada final e rodapé */
.final { background: var(--accent); color: var(--accent-ink); }
.final .wrap { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .final .wrap { grid-template-columns: 1.4fr auto; } }
.final h2 { margin: 0; max-width: 18ch; }
.final p { color: #dcebf7; margin-top: 12px; }
.rodape { background: var(--navy); color: var(--navy-muted); padding-block: 56px 32px; font-size: var(--s-small); }
.rodape .grande { font-size: clamp(3rem, 2rem + 8vw, 9rem); font-weight: 800; letter-spacing: -0.05em; line-height: .9; color: var(--navy-ink); margin-bottom: 40px; }
.rodape .cols { display: grid; gap: 24px; }
@media (min-width: 760px) { .rodape .cols { grid-template-columns: repeat(3, 1fr); } }
.rodape a { color: var(--navy-ink); text-decoration: none; }
.rodape a:hover { text-decoration: underline; }
.rodape ul { list-style: none; padding: 0; display: grid; gap: 6px; }

/* WhatsApp flutuante */
.wa-flut { position: fixed; right: 16px; bottom: 16px; z-index: 10; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); /* taste-skill-ignore: botão flutuante */ transition: transform .15s; }
.wa-flut:hover { transform: scale(1.06); }
.wa-flut svg { width: 32px; height: 32px; fill: #fff; }

/* Movimento */
.anima .entra { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.anima .entra.visivel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ===== Restyle 03/11: fotos, pranchas claras, movimento ===== */
h1, h2 { font-variation-settings: 'opsz' 96; letter-spacing: -0.04em; }
.topo-foto { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 5; }
@media (max-width: 899px) { .topo-foto { aspect-ratio: 4 / 3; } }
.topo-foto img { width: 100%; height: 100%; object-fit: cover; }
.anima .topo-foto { animation: obturador 1.1s cubic-bezier(.7,0,.2,1) both; }
.anima .topo-foto img { animation: assenta 1.4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes obturador { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes assenta { from { transform: scale(1.12); } to { transform: scale(1); } }

/* serviços com foto no lugar do marcador */
.servico { grid-template-columns: 88px 1fr; align-items: center; }
.servico .foto { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; grid-row: span 2; transition: transform .3s; }
.servico:hover .foto { transform: scale(1.06); }
@media (min-width: 900px) { .servico { grid-template-columns: 112px 1fr 1.2fr auto; } .servico .foto { width: 112px; height: 112px; grid-row: auto; } }
@media (max-width: 899px) { .servico p, .servico .seta { grid-column: 2; } }

/* pranchas em papel */
.papel { background: #ebe7de; }
.papel p { color: var(--muted); }
.papel .pranchas img { background: transparent; }
.papel .pranchas figcaption { color: var(--muted); }

/* faixa de foto inteira */
.faixa-foto { position: relative; overflow: hidden; height: clamp(320px, 52vw, 640px); }
.faixa-foto img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.faixa-foto.visivel img, html:not(.anima) .faixa-foto img { transform: scale(1); }
.foto-lado { width: 100%; border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; margin-top: 28px; }

/* entrada escalonada dos itens */
.anima .itens .entra:nth-child(2), .anima .passos .entra:nth-child(2), .anima .condicoes .entra:nth-child(2) { transition-delay: .08s; }
.anima .itens .entra:nth-child(3), .anima .passos .entra:nth-child(3), .anima .condicoes .entra:nth-child(3) { transition-delay: .16s; }
.anima .itens .entra:nth-child(4), .anima .passos .entra:nth-child(4), .anima .condicoes .entra:nth-child(4) { transition-delay: .24s; }
.anima .topo .entra:nth-child(2) { transition-delay: .1s; }
.anima .topo .entra:nth-child(3) { transition-delay: .2s; }
.passos li, .condicoes div { transition: transform .25s, background .25s; }
.passos li:hover, .condicoes div:hover { transform: translateY(-4px); }
.faq summary { transition: color .2s; } .faq summary:hover { color: var(--accent); }
.rodape .creditos { margin-top: 32px; font-size: .8125rem; }
@media (prefers-reduced-motion: reduce) { .anima .topo-foto, .anima .topo-foto img { animation: none; } .faixa-foto img { transform: none; } }
.papel { background: #e8edf2; }
.final .wrap { grid-template-columns: 1fr; }
@media (min-width: 900px) { .final .wrap { grid-template-columns: 1fr 1fr; gap: 64px; } }
.final .btn { margin-top: 28px; }
.foto-final { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }
.topo h1 { max-width: 16ch; }
.duas { align-items: start; } .itens { align-content: start; }
/* pranchas: 3 colunas iguais e menores (04/11) */
.pranchas { grid-template-columns: 1fr; }
@media (min-width: 700px) { .pranchas { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; } .pranchas figure:first-child { grid-row: auto; display: block; } .pranchas figure:first-child img { aspect-ratio: 4 / 3; flex: none; } }
.pranchas img, .pranchas figure:first-child img { aspect-ratio: 4 / 3; object-fit: cover; }

/* ===== Molde das landings (04/11) ===== */
.barra .fone { font-weight: 700; text-decoration: none; }
@media (max-width: 760px) { .barra .fone { display: none; } }
.calc fieldset { border: 0; padding: 0; margin: 14px 0 0; }
.calc legend { font-weight: 600; font-size: var(--s-small); margin-bottom: 4px; }
.calc fieldset .check { margin-top: 8px; }
.calc-nota { margin-top: 12px; font-size: .8125rem; color: var(--muted); }
.para-quem { display: grid; gap: 40px; }
@media (min-width: 760px) { .para-quem { grid-template-columns: 1fr 1fr; gap: 64px; } }
.para-quem ul { list-style: none; padding: 0; display: grid; gap: 14px; }
.para-quem li { position: relative; padding-left: 34px; font-size: 1.0625rem; }
.para-quem li::before { position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .875rem; }
.para-quem .sim li::before { content: ''; background: var(--accent); }
.para-quem .nao li::before { content: ''; box-sizing: border-box; border: 4px solid #9aabbd; }
.intro { max-width: 60ch; margin-top: -8px; }
.secao.garantia { background: var(--navy); color: var(--navy-ink); }
.secao.garantia p { color: var(--navy-ink); font-size: var(--s-lead); line-height: 1.45; }
.secao.garantia .filtro { margin-top: 24px; font-size: var(--s-body); color: var(--navy-muted); background: rgba(255,255,255,.06); padding: 18px 20px; border-radius: var(--r); }
.texto p { max-width: 58ch; } .texto .filtro { background: var(--surface); padding: 18px 20px; border-radius: var(--r); margin-top: 20px; }
.upsell { background: rgba(255,255,255,.1); padding: 28px; border-radius: var(--r); }
.upsell h3 { margin-bottom: 8px; } .upsell p { margin-bottom: 20px; }
.texto-legal { max-width: 760px; } .texto-legal h1 { font-size: var(--s-head); margin-bottom: 24px; } .texto-legal h2 { font-size: var(--s-lead); margin: 32px 0 8px; } .texto-legal p { color: var(--muted); }
.texto-legal a { color: var(--accent); }

.topo h1 { max-width: none; font-size: clamp(2.125rem, 1.3rem + 2.9vw, 3.75rem); }

.topo.landing .wrap { align-items: start; row-gap: clamp(24px, 3vw, 40px); }
.topo.landing .topo-titulo { grid-column: 1 / -1; font-size: clamp(2.25rem, 1.2rem + 4.6vw, 5.5rem); max-width: 18ch; margin: 0; }
@media (min-width: 900px) { .topo.landing .wrap { grid-template-columns: 1fr 1fr; } .topo.landing .lead { max-width: 30ch; font-size: clamp(1.25rem, 1rem + .8vw, 1.75rem); } }
.topo:not(.landing) h1 { font-size: clamp(2.5rem, 1.3rem + 5vw, 5.75rem); max-width: 12ch; }
@media (min-width: 900px) { .topo:not(.landing) .wrap { grid-template-columns: .9fr 1.1fr; } }

.topo.landing .topo-foto { aspect-ratio: 4 / 3; }
.texto-legal { margin-inline: auto; }

/* ===== Blog e leitura (04/11) ===== */
.artigo .wrap { max-width: 760px; }
.artigo h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); margin: 16px 0 12px; }
.artigo h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 48px 0 14px; }
.artigo p, .artigo li { font-size: 1.125rem; line-height: 1.65; }
.artigo ul { padding-left: 22px; display: grid; gap: 8px; margin-top: 12px; }
.trilha { font-size: var(--s-small); color: var(--muted); }
.trilha a { color: var(--accent); }
.meta { font-size: var(--s-small); color: var(--muted); }
.resposta { font-size: var(--s-lead) !important; line-height: 1.5 !important; background: var(--surface); padding: 24px 26px; border-radius: var(--r); margin: 28px 0; }
.foto-artigo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); }
.cta-artigo { background: var(--accent); color: var(--accent-ink); padding: 32px; border-radius: var(--r); margin: 48px 0 8px; }
.cta-artigo h2 { margin: 0 0 8px; } .cta-artigo p { color: #dcebf7; margin-bottom: 20px; }
.cta-artigo .btn { background: var(--navy-ink); color: var(--navy); }
.leia { list-style: none; padding: 0 !important; display: grid; gap: 4px; margin-top: 16px; }
.leia li a { display: block; padding: 18px 22px; background: var(--surface); border-radius: var(--r); font-weight: 700; text-decoration: none; transition: background .2s; }
.leia li a:hover { background: #dfe8f0; }
.blog-titulo { font-size: clamp(2.25rem, 1.3rem + 4vw, 5rem); margin-bottom: 20px; max-width: 16ch; }
.posts { display: grid; gap: 4px; margin-top: 48px; }
.post { display: grid; gap: 20px; align-items: center; padding: 20px; border-radius: var(--r); text-decoration: none; background: var(--surface); transition: background .2s; }
@media (min-width: 760px) { .post { grid-template-columns: 220px 1fr; gap: 32px; } }
.post:hover { background: #dfe8f0; }
.post .foto { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.post h2 { font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); margin-bottom: 8px; }
.post p { color: var(--muted); }

/* Primeira tela nunca espera o JavaScript: sem animação de entrada nem opacidade 0 (melhora o LCP no celular) */
.anima .topo .entra, .anima .topo-foto, .anima .topo-foto img { animation: none; opacity: 1; transform: none; transition: none; }
