/* Home v5 (protótipo C8UKcy / eYwrg). O blog continua em /styles.css. */
:root {
  --anil: #2340E0; --tangerina: #FF7A1A; --tinta: #14142B; --papel: #FFF8EF;
  --texto: #4D4D66; --apagado: #6E6E85; --linha: #ECE4DA; --pessego: #FFE6D2; --lilas: #E8ECFF;
  --serif: "Fraunces", Georgia, serif; --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papel); color: var(--tinta); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--anil); outline-offset: 3px; }
.hero :focus-visible, .valor :focus-visible { outline-color: var(--tangerina); }
.rodape :focus-visible { outline-color: #fff; }
.widget:focus-visible { outline: 3px solid #fff; outline-offset: 0; box-shadow: 0 0 0 6px var(--tinta); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { max-width: 1440px; margin: 0 auto; padding-inline: clamp(20px, 6.67vw, 96px); }
h1, h2, .logo, .passos b, .numero, .passos h3, .card h3, .incluido h3 { font-family: var(--serif); font-weight: 800; font-variation-settings: "opsz" 9; }
h1 { font-size: 96px; line-height: 1.1; }
h2 { font-size: 60px; line-height: 1.1; }
.logo { font-size: 26px; color: #fff; }
.logo b { color: var(--tangerina); }
section { padding: 128px 0; }
.papel { background: var(--papel); }
.papel + .papel { padding-top: 0; }
.branco { background: #fff; }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; height: 90px; }
#menu { display: flex; gap: 37px; position: static; inset: auto; margin: 0; padding: 0; border: 0; background: none; color: #fff; overflow: visible; width: auto; height: auto; }
#menu a { font-size: 17px; font-weight: 500; opacity: .92; }
#menu a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.menu-btn { display: none; }

/* Hero */
.hero { background: var(--anil); color: #fff; }
header.hero { padding-bottom: 40px; }
.hero-cols { display: grid; grid-template-columns: minmax(0, 620px) 560px; justify-content: space-between; align-items: center; gap: 48px; padding-top: 58px; }
.hero h1 { max-width: 620px; }
.lead { margin-top: 28px; font-size: 22px; line-height: 1.5; color: rgba(255,255,255,.92); max-width: 600px; }
.hero-txt .gerar { margin-top: 32px; }
.prova { margin-top: 32px; font-size: 15px; color: rgba(255,255,255,.85); }
.hero-img { width: 560px; }
#instagram { scroll-margin-top: 40vh; }

/* Formulário do gerador */
.gerar { display: grid; gap: 10px; max-width: 560px; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.12); }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.campo { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 10px; background: #fff; color: var(--apagado); cursor: text; }
.campo span { font-size: 19px; line-height: 1; }
.campo .i { width: 18px; height: 18px; stroke-width: 1.75; }
.campo input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 17px; color: var(--tinta); }
.campo input::placeholder { color: var(--apagado); }
.campo:focus-within { box-shadow: 0 0 0 3px var(--tangerina); }
.gerar .cf-turnstile:empty { display: none; }
.gerar .erro { padding: 10px 14px; border-radius: 10px; background: #fff; color: #B42318; font-size: 15px; font-weight: 500; }
.gerar button { display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; border: 0; border-radius: 10px; background: var(--tangerina); color: var(--tinta); font-size: 18px; font-weight: 600; cursor: pointer; }
.gerar button .i { width: 18px; height: 18px; }
.gerar button:hover { background: #FF8A33; }
.gerar button:disabled { opacity: .7; cursor: progress; }

/* Como funciona */
#como-funciona h2 { max-width: 1100px; }
.passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.passos li { min-height: 330px; padding: 40px 36px; border: 1px solid var(--linha); border-radius: 20px; background: #fff; }
.passos b { display: block; font-size: 56px; line-height: 1; color: var(--tangerina); }
.passos h3 { margin-top: 24px; font-size: 28px; line-height: 1.2; }
.passos p { margin-top: 18px; color: var(--texto); line-height: 1.65; }

/* O que vem junto */
.cards { display: grid; grid-template-columns: 4fr 3fr 3fr; gap: 24px; margin-top: 56px; }
.card { display: flex; flex-direction: column; height: 640px; padding: 40px 36px 0; border-radius: 24px; overflow: hidden; }
.card h3 { font-size: 28px; line-height: 1.17; }
.card p { margin-top: 18px; color: var(--texto); line-height: 1.6; }
.card img { margin: 24px auto 0; }
.pessego { background: var(--pessego); }
.lilas { background: var(--lilas); }
.tinta { background: var(--tinta); color: #fff; }
.tinta p { color: rgba(255,255,255,.75); }
.recursos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 64px; }
.recursos li { padding-top: 20px; border-top: 2px solid #4F4D5C; }
.recursos h3 { font-size: 18px; font-weight: 600; }
.recursos p { margin-top: 4px; font-size: 16px; color: var(--texto); }

/* Exemplos */
.topo { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: end; }
.topo p { color: var(--texto); line-height: 1.65; }
.exemplos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.exemplos p { margin-top: 18px; text-align: center; font-size: 16px; color: var(--apagado); }
.exemplos p b { font-weight: 600; color: var(--tinta); margin-right: 2px; }

/* Preço */
.preco { display: grid; grid-template-columns: 560px 1fr; border-radius: 36px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px #F0F0F2; }
.valor { padding: 60px 56px 56px; background: var(--anil); color: #fff; }
.rotulo { font-size: 16px; font-weight: 500; color: rgba(255,255,255,.85); }
.numero { margin-top: 10px; font-size: 130px; line-height: 1; white-space: nowrap; }
.vez { margin-top: 18px; font-size: 22px; font-weight: 500; }
.parcela { margin-top: 8px; font-size: 16px; color: rgba(255,255,255,.85); }
.botao { display: inline-block; margin-top: 46px; padding: 16px 30px; border-radius: 999px; background: var(--tangerina); color: var(--tinta); font-size: 18px; font-weight: 600; }
.botao:hover { background: #FF8A33; }
.nota { margin-top: 24px; font-size: 14px; color: rgba(255,255,255,.85); }
.incluido { padding: 60px 56px; }
.incluido h3 { font-size: 30px; line-height: 1.2; }
.incluido ul { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 32px; margin-top: 30px; }
.incluido li { display: flex; gap: 14px; align-items: flex-start; }
.incluido .i { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--lilas); color: var(--anil); stroke-width: 1.75; }
.incluido b { display: block; font-size: 16px; font-weight: 600; line-height: 1.4; }
.incluido span { display: block; font-size: 14px; color: var(--apagado); }

/* Comparação */
.tabela { margin-top: 48px; }
table { width: 100%; border-collapse: separate; border-spacing: 0; text-align: left; font-size: 16px; }
th, td { height: 59px; padding: 0 24px 0 0; border-bottom: 1px solid var(--linha); font-weight: 400; color: var(--apagado); }
thead th { height: 66px; font-size: 17px; font-weight: 600; color: var(--texto); }
tbody th { width: 26%; font-weight: 600; color: var(--tinta); }
thead th:not(.nos) { width: 25.3%; }
thead th:nth-child(3) { width: 23.4%; }
.nos { width: 25.3%; padding: 0 24px; background: var(--anil); color: #fff; font-weight: 600; border-bottom-color: #334EE2; }
td.nos .i { width: 16px; height: 16px; margin: 0 10px -2px 0; color: var(--tangerina); stroke-width: 2.5; display: inline-block; }
thead .nos { border-radius: 20px 20px 0 0; }
thead .nos .logo { font-size: 22px; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:last-child .nos { border-radius: 0 0 20px 20px; }
.opcoes { display: none; }

/* Perguntas */
.faq { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 96px; align-items: start; }
.faq h2 { font-size: 52px; }
.lista { border-top: 2px solid var(--tinta); }
details { border-bottom: 1px solid var(--linha); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 20px; font-weight: 600; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(currentColor, currentColor) center / 16px 1.75px no-repeat, linear-gradient(currentColor, currentColor) center / 1.75px 16px no-repeat; }
details[open] summary { padding-bottom: 12px; }
details[open] summary::after { background-size: 16px 1.75px, 0 0; }
details p { padding-bottom: 26px; color: var(--texto); max-width: 680px; }

/* Chamada final */
.final { text-align: center; }
.final h2 { font-size: 82px; }
.final .gerar { margin: 48px auto 0; text-align: left; }

/* Rodapé */
.rodape { background: var(--tinta); color: rgba(255,255,255,.75); font-size: 15px; }
.rodape .wrap { display: flex; align-items: center; gap: 28px; height: 110px; }
.rodape .logo { font-size: 22px; margin-right: auto; }
.rodape nav { display: flex; gap: 28px; flex-wrap: wrap; }
.rodape a:hover { color: #fff; }
.rodape small { font-size: 15px; }

/* Botão fixo de WhatsApp */
.widget { position: fixed; right: 32px; bottom: 32px; z-index: 10; display: grid; grid-template-columns: 40px auto; column-gap: 12px; align-items: center; padding: 10px 26px 10px 10px; border-radius: 999px; background: var(--tinta); color: #fff; box-shadow: 0 10px 30px rgba(20,20,43,.25); }
.widget .i { grid-row: span 2; width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--tangerina); color: var(--tinta); }
.widget b { font-size: 15px; font-weight: 600; line-height: 1.3; }
.widget small { font-size: 13px; line-height: 1.3; color: #A6A6BA; }

/* Telas médias */
@media (max-width: 1399px) {
  .hero-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
  .hero-img { width: 100%; }
  h1 { font-size: clamp(64px, 6.2vw, 80px); }
  .preco { grid-template-columns: 1fr; }
}
@media (max-width: 1180px) {
  .hero-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); }
  .faq { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 960px) {
  .hero-cols, .topo { grid-template-columns: 1fr; }
  .hero-img { max-width: 480px; margin: 0 auto; }
  .passos, .cards { grid-template-columns: 1fr; }
  .card { height: auto; max-height: 640px; }
  .recursos { grid-template-columns: 1fr 1fr; }
}

/* Celular */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 20px; }
  h1 { font-size: 52px; }
  h2, .final h2, .faq h2 { font-size: 36px; }
  section { padding: 80px 0; }
  .logo { font-size: 22px; }

  .nav { height: 64px; }
  .menu-btn { display: none; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; cursor: pointer; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; }
  .menu-btn span { position: relative; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
  .menu-btn span::before { top: -6px; }
  .menu-btn span::after { top: 6px; }
  #menu { inset: 64px 20px auto auto; position: fixed; flex-direction: column; gap: 0; min-width: 220px; padding: 8px; border-radius: 16px; background: #fff; color: var(--tinta); box-shadow: 0 16px 40px rgba(20,20,43,.2); }
  #menu { display: none; }
  @supports selector(:popover-open) {
    .menu-btn { display: grid; }
    #menu:popover-open { display: flex; }
  }
  #menu a { display: block; padding: 12px 14px; border-radius: 10px; }
  #menu a:hover { background: var(--papel); text-decoration: none; }
  #menu :focus-visible { outline-color: var(--anil); } /* popover branco: tangerina some no fundo claro */

  .hero-cols { gap: 40px; padding-top: 24px; }
  .lead { margin-top: 20px; font-size: 18px; }
  .hero-txt .gerar { margin-top: 28px; }
  .campos { grid-template-columns: 1fr; }
  .prova { margin-top: 24px; font-size: 14px; }
  .prova span { display: none; }
  .hero-img { max-width: 350px; }

  .passos, .cards, .exemplos, .tabela { margin-top: 40px; }
  .passos { gap: 16px; }
  .passos li { display: grid; grid-template-columns: 34px 1fr; gap: 6px; min-height: 0; padding: 26px 24px 28px 22px; border-radius: 16px; }
  .passos b { font-size: 36px; }
  .passos h3 { margin-top: 0; font-size: 21px; line-height: 1.3; }
  .passos p { margin-top: 8px; }
  .cards { gap: 16px; }
  .card { padding: 28px 22px 0; border-radius: 20px; max-height: 520px; }
  .card h3 { font-size: 22px; }
  .card p { margin-top: 12px; }
  .recursos { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }

  .topo { gap: 20px; }
  .rolo { margin-inline: -20px; padding: 0 20px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; }
  .rolo::-webkit-scrollbar { display: none; }
  .exemplos { display: flex; gap: 14px; width: max-content; padding-right: 20px; }
  .exemplos li { flex: 0 0 250px; scroll-snap-align: start; }
  .exemplos p { margin-top: 12px; text-align: left; font-size: 15px; }

  .preco { gap: 20px; border-radius: 0; overflow: visible; background: none; box-shadow: none; }
  .valor { padding: 32px 28px; border-radius: 24px; }
  .numero { font-size: 78px; }
  .vez { font-size: 19px; }
  .botao { display: block; margin-top: 32px; text-align: center; }
  .incluido { padding: 32px 28px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px #F0F0F2; }
  .incluido h3 { font-size: 23px; }
  .incluido ul { grid-template-columns: 1fr; gap: 22px; margin-top: 24px; }

  .tabela { display: none; }
  .opcoes { display: grid; gap: 16px; margin-top: 40px; }
  .opcao { padding: 20px 20px 8px; border: 1px solid var(--linha); border-radius: 16px; background: #fff; }
  .opcao h3 { padding-bottom: 12px; font-size: 18px; font-weight: 600; }
  .opcao dl { margin: 0; font-size: 14px; }
  .opcao dl div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--linha); }
  .opcao dt { color: var(--apagado); }
  .opcao dd { margin: 0; text-align: right; color: var(--tinta); }
  .opcao.nos { width: auto; padding: 20px 20px 8px; border: 0; background: var(--anil); color: #fff; }
  .opcao.nos .logo { font-size: 22px; }
  .opcao.nos dl div { border-top-color: rgba(255,255,255,.15); }
  .opcao.nos dt { color: rgba(255,255,255,.85); }
  .opcao.nos dd { color: #fff; font-weight: 600; }

  summary { font-size: 17px; padding: 20px 0; }
  details p { font-size: 15px; padding-bottom: 22px; }

  .final { text-align: left; }
  .final h2 { font-size: 46px; }
  .final .gerar { margin-top: 32px; }
  .rodape .wrap { flex-direction: column; align-items: flex-start; gap: 14px; height: auto; padding-block: 40px; }
  .rodape small { font-size: 13px; }

  .widget { right: 16px; bottom: 16px; padding: 0; grid-template-columns: 56px; box-shadow: 0 8px 24px rgba(20,20,43,.3); background: var(--tangerina); }
  .widget .i { width: 56px; height: 56px; padding: 16px; grid-row: auto; }
  .widget b, .widget small { display: none; }
}

/* Páginas legais (termos, privacidade) */
.legal { max-width: 680px; padding-block: 72px 96px; }
.legal h1 { font-size: 56px; line-height: 1.1; }
.legal .data { margin-top: 16px; font-size: 15px; color: var(--apagado); }
.legal h2 { margin-top: 48px; font-size: 26px; line-height: 1.2; }
.legal p { margin-top: 14px; color: var(--texto); line-height: 1.7; }
@media (max-width: 720px) {
  .legal { padding-block: 48px 72px; }
  .legal h1 { font-size: 40px; }
  .legal h2 { font-size: 23px; }
}
