/* Meu Atendente Inteligente - página de venda */
:root {
  --petroleo: #0e3b43;
  --petroleo-fundo: #0a2e35;
  --tinta: #173f46;
  --tinta-suave: #4b6a70;
  --papel: #ffffff;
  --nevoa: #eef3f1;
  --linha: #d5dfdc;
  --ouro: #f2b705;
  --ouro-forte: #d9a200;
  --conversa: #1fa971;
  --conversa-clara: #dff5ea;
  --erro: #b3261e;
  --raio: 14px;
  --raio-pequeno: 8px;
  --titulo: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --corpo: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--corpo); font-size: 1.0625rem; line-height: 1.6; color: var(--tinta); background: var(--papel); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--titulo); color: var(--petroleo); line-height: 1.12; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0; }
a { color: var(--petroleo); }
img, svg { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 3px; border-radius: 4px; }

.largura { width: min(1140px, 100% - 40px); margin-inline: auto; }
.largura-estreita { width: min(780px, 100% - 40px); }
[hidden] { display: none !important; }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pular { position: absolute; left: 12px; top: -60px; background: var(--petroleo); color: #fff; padding: 10px 16px; border-radius: var(--raio-pequeno); z-index: 50; }
.pular:focus { top: 12px; }

/* Botões */
.botao { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--ouro); background: var(--ouro); color: var(--petroleo); font-family: var(--corpo); font-size: 1.0625rem; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.15s, border-color 0.15s; }
.botao:hover { background: var(--ouro-forte); border-color: var(--ouro-forte); }
.botao[disabled] { opacity: 0.6; cursor: default; }
.botao-pequeno { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }
.botao-contorno { background: transparent; border-color: var(--petroleo); }
.botao-contorno:hover { background: var(--petroleo); border-color: var(--petroleo); color: #fff; }
.botao-largo { width: 100%; }
.link-seta { font-weight: 600; text-underline-offset: 4px; }

/* Topo */
.topo { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linha); }
.topo-linha { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.marca { display: inline-flex; align-items: center; gap: 10px; font-family: var(--titulo); font-weight: 500; font-size: 1.1rem; color: var(--petroleo); text-decoration: none; white-space: nowrap; }
.marca-forte { font-weight: 800; }
.marca-sinal { width: 30px; height: 26px; border-radius: 10px 10px 10px 3px; background: var(--conversa); position: relative; flex: none; }
.marca-sinal::after { content: ""; position: absolute; inset: 9px 7px auto 7px; height: 3px; border-radius: 2px; background: #fff; box-shadow: 0 6px 0 #fff; }
.menu { display: flex; gap: 22px; margin-left: auto; }
.menu a { color: var(--tinta); text-decoration: none; font-weight: 500; font-size: 0.97rem; }
.menu a:hover { text-decoration: underline; text-underline-offset: 6px; }

/* Abertura */
.abertura { padding: clamp(40px, 7vw, 84px) 0 clamp(48px, 7vw, 88px); background: linear-gradient(180deg, var(--nevoa), var(--papel) 78%); }
.abertura-grade { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.chamada { margin-top: 22px; font-size: 1.2rem; color: var(--tinta-suave); max-width: 34em; }
.abertura-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.abertura-fatos { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 10px; font-weight: 600; }
.abertura-fatos li { padding-left: 30px; position: relative; }
.abertura-fatos li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 18px; height: 10px; border-left: 3px solid var(--conversa); border-bottom: 3px solid var(--conversa); transform: rotate(-45deg) scale(0.8); transform-origin: left bottom; }

/* Demonstração */
.demo { background: var(--petroleo); border-radius: 22px; padding: 22px; color: #fff; }
.demo-titulo { font-weight: 600; font-size: 0.98rem; }
.demo-ramos { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.ramo { font: inherit; font-size: 0.95rem; font-weight: 600; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.45); background: transparent; color: #fff; cursor: pointer; }
.ramo:hover { border-color: #fff; }
.ramo[aria-selected="true"] { background: var(--ouro); border-color: var(--ouro); color: var(--petroleo); }
.conversa { background: #f4f1ec; border-radius: 16px; overflow: hidden; color: var(--tinta); }
.conversa-topo { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--linha); }
.conversa-topo strong { display: block; font-size: 1rem; line-height: 1.2; }
.conversa-topo span { font-size: 0.85rem; color: var(--tinta-suave); }
.conversa-foto { width: 38px; height: 38px; border-radius: 50%; background: var(--conversa); flex: none; position: relative; }
.conversa-foto::after { content: ""; position: absolute; inset: 13px 10px auto 10px; height: 3px; border-radius: 2px; background: #fff; box-shadow: 0 7px 0 #fff; }
.conversa-falas { list-style: none; margin: 0; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 372px; }
.fala { max-width: 84%; padding: 10px 14px; border-radius: 14px; font-size: 0.97rem; line-height: 1.45; }
.fala-cliente { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.fala-atendente { align-self: flex-end; background: var(--conversa-clara); border-bottom-right-radius: 4px; }
.fala-equipe { align-self: center; max-width: 100%; background: transparent; color: var(--tinta-suave); font-size: 0.86rem; font-weight: 600; text-align: center; padding: 4px 8px; }
.fala-entrando { animation: entrar 0.28s ease-out; }
@keyframes entrar { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.digitando { align-self: flex-end; display: inline-flex; gap: 5px; padding: 14px 16px; background: var(--conversa-clara); border-radius: 14px; border-bottom-right-radius: 4px; }
.digitando i { width: 7px; height: 7px; border-radius: 50%; background: var(--conversa); animation: pulsar 1s infinite ease-in-out; }
.digitando i:nth-child(2) { animation-delay: 0.15s; }
.digitando i:nth-child(3) { animation-delay: 0.3s; }
@keyframes pulsar { 0%, 60%, 100% { opacity: 0.35; } 30% { opacity: 1; } }
.demo-nota { margin-top: 12px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.78); }

/* Blocos */
.bloco { padding: clamp(56px, 8vw, 104px) 0; }
.bloco-nevoa { background: var(--nevoa); }
.apoio { margin-top: 14px; font-size: 1.15rem; color: var(--tinta-suave); max-width: 44em; }

/* Entregas */
.video-moldura { margin-top: 28px; border-radius: var(--raio); overflow: hidden; background: var(--petroleo-fundo); box-shadow: 0 18px 40px rgba(14, 59, 67, 0.18); }
.video-moldura video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.video-abertura { margin-top: 24px; box-shadow: 0 14px 30px rgba(14, 59, 67, 0.16); }
.video-abertura + .video-nota { margin-bottom: 20px; }
.video-nota { margin-top: 10px; font-size: 0.9rem; color: var(--tinta-suave); }
.entregas { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 64px); margin-top: 44px; }
/* Ilustrações grandes (02/12/2026): no computador, imagem e texto lado a lado, alternando o lado, para o texto dos balões ficar legível. */
.entrega { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.entrega:nth-child(even) .entrega-figura { order: 2; }
.entrega h3 { margin: 0 0 10px; font-size: 1.5rem; }
.entrega p { color: var(--tinta-suave); }
.entrega-figura { background: var(--nevoa); border-radius: var(--raio); padding: 14px; }
.entrega-foto { padding: 0; overflow: hidden; }
.entrega-foto img { display: block; width: 100%; height: auto; }
.fig-linhas { fill: none; stroke: var(--tinta-suave); stroke-width: 2.5; stroke-linecap: round; }
.fig-numero rect { fill: var(--conversa); }
.fig-caixa { fill: #fff; stroke: var(--petroleo); stroke-width: 2.5; }
.fig-pessoa { fill: var(--ouro); }
.fig-pessoa circle { fill: var(--ouro); }
.fig-ficha { fill: #fff; stroke: var(--petroleo); stroke-width: 2.5; }
.fig-ficha-linhas { fill: none; stroke: var(--linha); stroke-width: 7; stroke-linecap: round; }
.fig-balao { fill: var(--conversa); }
.fig-balao-2 { fill: var(--ouro); }
.fig-teste rect { fill: #fff; stroke: var(--linha); stroke-width: 2.5; }
.fig-certo { fill: none; stroke: var(--conversa); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.fig-seta { fill: none; stroke: var(--petroleo); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }

/* Calculadora */
.calc { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); margin-top: 40px; align-items: start; }
.calc-entradas { display: grid; gap: 30px; }
.campo-faixa { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: baseline; }
.campo-faixa label { font-weight: 600; }
.campo-faixa output { font-family: var(--titulo); font-size: 2rem; font-weight: 800; color: var(--petroleo); line-height: 1; min-width: 2ch; text-align: right; }
.campo-faixa input[type="range"] { grid-column: 1 / -1; width: 100%; height: 32px; accent-color: var(--petroleo); cursor: pointer; }
.calc-explica { font-size: 0.95rem; color: var(--tinta-suave); padding-top: 18px; border-top: 1px solid var(--linha); }
.calc-resultado { background: #fff; border-radius: var(--raio); padding: clamp(20px, 3vw, 32px); border: 1px solid var(--linha); }
.calc-tabela { width: 100%; border-collapse: collapse; }
.calc-tabela th { text-align: left; font-weight: 600; padding: 14px 16px 14px 0; width: 38%; vertical-align: middle; line-height: 1.3; }
.calc-tabela th span { display: block; font-weight: 500; font-size: 0.88rem; color: var(--tinta-suave); }
.calc-tabela td { padding: 14px 0; vertical-align: middle; }
.calc-tabela tr + tr th, .calc-tabela tr + tr td { border-top: 1px solid var(--linha); }
.barra { display: block; height: 18px; border-radius: 9px; background: var(--nevoa); overflow: hidden; }
.barra span { display: block; height: 100%; width: 0; border-radius: 9px; background: #9db3b0; transition: width 0.3s ease-out; }
.calc-nosso .barra span { background: var(--conversa); }
.valor { font-family: var(--titulo); font-weight: 700; font-size: 1.3rem; text-align: right; white-space: nowrap; padding-left: 16px !important; width: 1%; color: var(--petroleo); }
.calc-economia { margin-top: 18px; padding: 14px 16px; background: var(--conversa-clara); border-radius: var(--raio-pequeno); font-weight: 600; color: var(--petroleo); }
.calc-economia:empty { display: none; }
.calc-fonte { margin-top: 14px; font-size: 0.82rem; color: var(--tinta-suave); line-height: 1.5; }

/* Planos */
.planos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; align-items: stretch; }
.plano { border: 1.5px solid var(--linha); border-radius: 20px; padding: 28px 26px; display: flex; flex-direction: column; background: #fff; }
.plano-destaque { border-color: var(--petroleo); border-width: 2.5px; position: relative; }
.plano-selo { position: absolute; top: -15px; left: 24px; background: var(--petroleo); color: #fff; font-size: 0.82rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.plano-preco { font-family: var(--titulo); font-size: 3.2rem; font-weight: 800; color: var(--petroleo); line-height: 1; margin: 14px 0 20px; }
.plano-preco span { font-size: 1.3rem; font-weight: 700; vertical-align: 1.1em; }
.plano-preco small { font-family: var(--corpo); font-size: 1rem; font-weight: 500; color: var(--tinta-suave); }
.plano ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; }
.plano li { padding-bottom: 10px; border-bottom: 1px solid var(--nevoa); }
.plano li strong { font-family: var(--titulo); font-size: 1.15rem; color: var(--petroleo); }
.planos-rodape { margin-top: 28px; background: var(--nevoa); border-radius: var(--raio); padding: clamp(20px, 3vw, 30px); }
.planos-rodape dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 40px; }
.planos-rodape dt { font-family: var(--titulo); font-weight: 700; color: var(--petroleo); font-size: 1.08rem; }
.planos-rodape dd { margin: 4px 0 0; color: var(--tinta-suave); }

/* Só atendimento */
.bloco-escuro { background: var(--petroleo-fundo); color: #dbe7e5; }
.bloco-escuro h2 { color: #fff; }
.escuro-grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.escuro-grade p { margin-top: 18px; font-size: 1.12rem; }
.escuro-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.escuro-lista li { padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.escuro-lista li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.escuro-lista strong { display: block; color: var(--ouro); font-family: var(--titulo); font-size: 1.15rem; margin-bottom: 4px; }

/* Passos */
.passos { list-style: none; counter-reset: passo; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.passos li { counter-increment: passo; border-top: 3px solid var(--petroleo); padding-top: 18px; }
.passos li::before { content: counter(passo); font-family: var(--titulo); font-weight: 800; font-size: 2.4rem; color: var(--conversa); line-height: 1; display: block; margin-bottom: 10px; }
.passos p { margin-top: 8px; color: var(--tinta-suave); }

/* Perguntas */
.faq { margin-top: 32px; border-top: 1px solid var(--linha); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font-family: var(--titulo); font-weight: 700; font-size: 1.15rem; color: var(--petroleo); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px; border-right: 2.5px solid var(--petroleo); border-bottom: 2.5px solid var(--petroleo); transform: translateY(-70%) rotate(45deg); transition: transform 0.15s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--tinta-suave); max-width: 62ch; }

/* Cadastro */
.cadastro-grade { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.cadastro-texto p { margin-top: 16px; font-size: 1.12rem; color: var(--tinta-suave); }
.cadastro-pontos { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; font-weight: 600; }
.cadastro-pontos li { padding-left: 30px; position: relative; }
.cadastro-pontos li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 18px; height: 10px; border-left: 3px solid var(--conversa); border-bottom: 3px solid var(--conversa); transform: rotate(-45deg) scale(0.8); transform-origin: left bottom; }
.formulario { display: grid; gap: 18px; background: var(--nevoa); border-radius: 20px; padding: clamp(20px, 3.5vw, 36px); }
.linha-dupla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.campo { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.campo label, .campo legend { font-weight: 600; font-size: 0.97rem; padding: 0; }
.opcional { font-weight: 400; color: var(--tinta-suave); }
.campo input[type="text"], .campo input[type="tel"], .campo input[type="email"], .campo input[type="number"] { font: inherit; width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid #b9c8c5; border-radius: var(--raio-pequeno); background: #fff; color: var(--tinta); }
.campo input:focus { outline: 3px solid var(--ouro); outline-offset: 1px; border-color: var(--petroleo); }
.campo input[aria-invalid="true"] { border-color: var(--erro); }
.erro { color: var(--erro); font-size: 0.9rem; font-weight: 600; min-height: 0; }
.erro:empty { display: none; }
.opcoes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.opcao { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px; border: 1.5px solid #b9c8c5; border-radius: var(--raio-pequeno); background: #fff; cursor: pointer; font-size: 0.95rem; }
.opcao:has(input:checked) { border-color: var(--petroleo); box-shadow: inset 0 0 0 1px var(--petroleo); }
.opcao input { accent-color: var(--petroleo); width: 18px; height: 18px; flex: none; }
.opcao strong { display: block; color: var(--petroleo); }
.marcar { display: flex; gap: 12px; align-items: flex-start; font-size: 0.97rem; cursor: pointer; }
.marcar input { accent-color: var(--petroleo); width: 20px; height: 20px; margin-top: 3px; flex: none; }
.armadilha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-aviso { padding: 14px 16px; border-radius: var(--raio-pequeno); background: #fbe9e7; color: var(--erro); font-weight: 600; }
.cadastro-feito { background: var(--conversa-clara); border-radius: 20px; padding: clamp(24px, 4vw, 44px); }
.cadastro-feito h3 { font-size: 1.7rem; }
.cadastro-feito p { margin-top: 12px; font-size: 1.1rem; }

/* Rodapé */
.rodape { background: var(--petroleo-fundo); color: #c5d5d2; padding: 32px 0; font-size: 0.95rem; }
.rodape a { color: #fff; }
.rodape-linha { display: flex; flex-wrap: wrap; gap: 10px 32px; align-items: baseline; }
.rodape-marca { font-family: var(--titulo); font-weight: 700; color: #fff; font-size: 1.05rem; margin-right: auto; }

/* Página de texto */
.texto { padding: 56px 0 88px; }
.texto h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.texto h2 { font-size: 1.35rem; margin-top: 34px; }
.texto p, .texto ul { margin-top: 12px; max-width: 68ch; }
.texto .atualizado { color: var(--tinta-suave); font-size: 0.95rem; }

/* Telas menores */
@media (max-width: 960px) {
  .menu { display: none; }
  .topo-linha { justify-content: space-between; }
  .abertura-grade, .calc, .escuro-grade, .cadastro-grade { grid-template-columns: minmax(0, 1fr); }
  .entregas, .planos { grid-template-columns: minmax(0, 1fr); }
  .entrega { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 640px; }
  .entrega:nth-child(even) .entrega-figura { order: 0; }
  .entrega h3 { margin: 22px 0 10px; font-size: 1.3rem; }
  .passos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plano-destaque { margin-top: 12px; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .largura, .largura-estreita { width: calc(100% - 32px); }
  .marca { font-size: 0.92rem; white-space: normal; line-height: 1.15; }
  .so-largo { display: none; }
  .topo-linha { gap: 12px; }
  .marca-sinal { width: 26px; height: 22px; }
  .topo .botao-pequeno { padding: 0 14px; font-size: 0.88rem; }
  .linha-dupla, .opcoes, .planos-rodape dl, .passos { grid-template-columns: minmax(0, 1fr); }
  .demo { padding: 16px; border-radius: 18px; }
  .conversa-falas { min-height: 340px; padding: 12px; }
  .calc-tabela th { width: 46%; font-size: 0.93rem; padding-right: 10px; }
  .calc-tabela td:nth-child(2) { display: none; }
  .abertura-acoes .botao { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fala-entrando, .digitando i { animation: none; }
  .barra span, .botao, .faq summary::after { transition: none; }
}
