/* Estilos do site (paleta GER Contabilidade Digital). Mobile primeiro; telas maiores a partir de 760px e 1040px. */

:root {
  --accent: #635BFF;       /* azul elétrico: botões, links, destaques */
  --accent-dark: #4B43E8;  /* mesmo azul, mais escuro: botão ao passar o mouse e textos pequenos */
  --accent-soft: #A5A1FF;  /* azul claro sobre fundo marinho */
  --navy: #0A2540;         /* marinho: títulos, texto principal, seções escuras e rodapé */
  --ink: #0A2540;
  --muted: #425466;        /* texto secundário */
  --line: #E3E8EE;
  --bg: #FFFFFF;
  --tint: #F6F9FC;
  --radius: 12px;
  --f-head: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 7.4vw, 3.2rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 5.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
h4 { font-size: 1.02rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.center { text-align: center; margin-top: 32px; }
.eyebrow { font-family: var(--f-head); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: .6em; }
.eyebrow--light { color: var(--accent-soft); }
.ico { width: 22px; height: 22px; flex: none; }
.only-desk { display: none; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px;
  background: var(--accent); color: #fff; border: 2px solid transparent; border-radius: 10px;
  font-family: var(--f-head); font-weight: 600; font-size: 1.05rem; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .15s ease, transform .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--accent-dark); }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 58px; font-size: 1.1rem; padding: 14px 26px; width: 100%; }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--navy { background: var(--navy); }
.btn--navy:hover { background: #163A5E; }

/* Barra do topo */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand__logo { height: 32px; width: auto; }
.nav { display: none; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--navy); padding: 6px 2px; }
.nav a:hover { color: var(--accent-dark); }

/* 1. Topo */
.hero { background: var(--navy); color: #fff; padding: 40px 0 48px; overflow: hidden; }
.hero h1 { color: #fff; }
.price-mark { position: relative; white-space: nowrap; color: #fff; }
.price-mark::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: .04em; height: .2em; background: var(--accent); transform: skewX(-18deg); z-index: -1; }
.hero h1 .price-mark { z-index: 0; isolation: isolate; }
.hero__sub { font-size: 1.15rem; color: #D5DEEA; margin-bottom: 1.4em; }
.hero__btns { display: grid; gap: 12px; }
.hero__note { font-size: .88rem; color: #B9C6D8; margin: 1em 0 0; }
.hero__grid { display: grid; gap: 40px; }

/* Exemplo de conversa */
.chat { margin: 0; max-width: 380px; width: 100%; justify-self: center; background: #ECE5DD; border-radius: 18px; overflow: hidden; color: var(--ink); box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.chat__head { display: flex; align-items: center; gap: 10px; background: #F7F7F7; padding: 12px 14px; border-bottom: 1px solid #E2E2E2; }
.chat__avatar { width: 40px; height: 40px; border-radius: 10px; }
.chat__head strong { display: block; font-size: .95rem; color: var(--navy); }
.chat__head span { font-size: .78rem; color: var(--muted); }
.chat__body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.msg { margin: 0; max-width: 85%; padding: 8px 11px; border-radius: 10px; font-size: .92rem; line-height: 1.4; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.msg--in { background: #fff; align-self: flex-start; border-top-left-radius: 3px; }
.msg--out { background: #DCF8C6; align-self: flex-end; border-top-right-radius: 3px; }
.msg--file { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.file-ico { font-size: .65rem; font-weight: 700; color: #fff; background: var(--accent); padding: 4px 5px; border-radius: 4px; }
.chat figcaption { font-size: .78rem; color: var(--muted); text-align: center; padding: 0 14px 12px; }

/* 2. Faixa de confiança */
.trust { background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0; }
.trust__list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.trust__list li { display: flex; flex-direction: column; }
.trust__list strong { font-family: var(--f-head); font-size: 1.35rem; color: var(--navy); line-height: 1.2; }
.trust__list span { font-size: .88rem; color: var(--muted); line-height: 1.4; }

/* Seções */
.sec { padding: 56px 0; }
.sec--tint { background: var(--tint); }

/* Para quem é */
.who { display: grid; gap: 28px; margin-top: 10px; }
.who__list > li { padding: 16px 0 16px 18px; border-left: 4px solid var(--accent); margin-bottom: 14px; }
.who__list > li p { margin: 0; color: var(--muted); }
.who__list h3 { margin-bottom: .3em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tags li { background: var(--tint); border: 1px solid var(--line); color: var(--navy); font-size: .88rem; font-weight: 500; padding: 5px 12px; border-radius: 999px; }
.notfor { background: var(--tint); border-radius: var(--radius); padding: 22px 20px; align-self: start; }
.notfor h3 em { color: var(--accent-dark); font-style: normal; text-decoration: underline; text-underline-offset: 3px; }
.notfor ul { margin: 12px 0 0; }
.notfor li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.notfor li .ico { width: 20px; height: 20px; color: var(--accent-dark); margin-top: 3px; }

/* 3. Cartões de atendimento */
.cards { display: grid; gap: 16px; margin-top: 12px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: 0 4px 18px rgba(10,37,64,.05); }
.card__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #EEEDFF; color: var(--accent-dark); margin-bottom: 16px; }
.card__ico svg { width: 28px; height: 28px; }
.card p { margin: 0; color: var(--muted); }

/* 4. Comparativo */
.cmp-wrap { margin-top: 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 520px; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 24px rgba(10,37,64,.06); }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: .95rem; }
.cmp thead th { font-family: var(--f-head); font-weight: 600; color: var(--muted); background: #fff; }
.cmp thead th.cmp__ger { background: var(--navy); }
.cmp thead th.cmp__ger img { height: 26px; width: auto; }
.cmp tbody th { font-weight: 600; color: var(--navy); width: 30%; }
.cmp td { color: var(--muted); }
.cmp td.cmp__ger { background: #F3F2FF; color: var(--navy); font-weight: 600; }
.cmp td.cmp__ger .ico { display: inline-block; vertical-align: -5px; width: 20px; height: 20px; margin-right: 8px; color: var(--accent-dark); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }

/* 5. Plano — moldura de cantos abertos em volta do card */
.price { display: grid; gap: 40px; }
.frame { position: relative; }
.frame::before, .frame::after { content: ""; position: absolute; width: 44%; height: 70%; pointer-events: none; }
.frame::before { top: -10px; right: -10px; border-top: 4px solid var(--navy); border-right: 4px solid var(--navy); }
.frame::after { bottom: -10px; left: -10px; border-bottom: 4px solid var(--navy); border-left: 4px solid var(--navy); }
.plan { background: #fff; border-radius: 4px; padding: 26px 22px; margin: 18px 10px 10px; box-shadow: 0 6px 24px rgba(10,37,64,.08); }
.plan__badge { display: inline-block; background: var(--accent); color: #fff; font-family: var(--f-head); font-weight: 600; font-size: .85rem; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.plan__name { font-family: var(--f-head); font-weight: 600; color: var(--navy); margin-bottom: .2em; }
.plan__value { font-family: var(--f-head); font-weight: 700; color: var(--navy); font-size: 3.6rem; line-height: 1; margin: 0 0 .25em; }
.plan__cur { font-size: 1.4rem; vertical-align: .9em; margin-right: 4px; }
.plan__per { font-size: 1.1rem; font-weight: 600; color: var(--muted); margin-left: 2px; }
.plan__for { color: var(--muted); }
.plan__list { margin: 4px 0 22px; }
.plan__list li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; line-height: 1.45; }
.plan__list li span { color: var(--muted); }
.plan__list li strong { color: var(--navy); font-weight: 600; }
.plan__list .ico--check { width: 22px; height: 22px; padding: 3px; margin-top: 1px; }
.plan__foot { font-size: .85rem; color: var(--muted); text-align: center; margin: 12px 0 0; }
.ico--check { color: #fff; background: var(--accent); border-radius: 50%; padding: 4px; width: 28px; height: 28px; }
.price__extras h3 { font-size: 1.3rem; margin-bottom: .2em; }
.extras { width: 100%; border-collapse: collapse; margin-top: 10px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.extras th, .extras td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.extras thead th { background: var(--navy); color: #fff; font-family: var(--f-head); font-weight: 600; font-size: .9rem; }
.extras tbody th { font-weight: 600; color: var(--navy); }
.extras tbody th span { display: block; font-weight: 400; font-size: .88rem; color: var(--muted); }
.extras td { white-space: nowrap; font-weight: 600; text-align: right; }
.extras td.extras__free { color: var(--accent-dark); }
.extras thead th:last-child { text-align: right; }
.extras tr:last-child th, .extras tr:last-child td { border-bottom: 0; }
.extras td .extras__unit { display: block; max-width: 9.5em; margin-left: auto; white-space: normal; font-weight: 400; font-size: .85rem; line-height: 1.4; color: var(--muted); }
.extras__note { margin: 14px 0 0; font-size: .92rem; color: var(--muted); }

.price--single { max-width: 620px; }
.extras-list { margin: 14px 0 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 18px; }
.extras-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.extras-list li:last-child { border-bottom: 0; }
.extras-list .ico--check { width: 22px; height: 22px; padding: 3px; margin-top: 2px; background: var(--navy); }
.extras-list strong { display: block; color: var(--navy); }
.extras-list span { display: block; font-size: .92rem; color: var(--muted); line-height: 1.45; }
.price--single .price__plan { text-align: left; }

/* 6. Como funciona — dois caminhos */
.tracks { display: grid; gap: 20px; margin-top: 12px; }
.track { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; }
.track__t { font-size: 1.3rem; margin-bottom: 18px; }
.track .btn { margin-top: auto; }
.steps--v { display: grid; gap: 4px; margin-bottom: 22px; }
.steps--v li { position: relative; padding: 2px 0 18px 60px; }
.steps--v li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 46px; bottom: 0; width: 2px; background: var(--line); }
.steps__n { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; }
.steps--v h4 { margin: 10px 0 .2em; }
.steps--v p { margin: 0; color: var(--muted); font-size: .95rem; }

/* 7. Simulador */
.sim { display: grid; gap: 22px; }
.sim > * { min-width: 0; }
.sim__box { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 24px 20px; }
.sim__box label { display: block; font-weight: 600; margin-bottom: 8px; }
.money { display: flex; align-items: center; background: #fff; border-radius: 10px; border: 2px solid transparent; }
.money:focus-within { border-color: var(--accent); }
.money span { padding: 0 4px 0 16px; font-weight: 600; color: var(--navy); font-size: 1.2rem; }
.money input { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; outline: none; font: 600 1.35rem var(--f-body); color: var(--ink); padding: 14px 16px 14px 6px; }
.sim__out { margin-top: 18px; min-height: 108px; }
.sim__out p { margin: 0; }
.sim__hint { color: #B9C6D8; }
.sim__big { font-family: var(--f-head); font-weight: 700; font-size: 2.3rem; line-height: 1.1; color: #fff; }
.sim__big small { display: block; font-size: .95rem; font-weight: 500; color: #D5DEEA; font-family: var(--f-body); margin-bottom: 4px; }
.sim__big .sim__per { margin: 4px 0 0; }
.sim__line { color: #D5DEEA; margin-top: 6px !important; }
.sim__err { color: var(--accent-soft); font-weight: 500; }
.sim__foot { font-size: .82rem; color: #B9C6D8; margin: 14px 0 0; border-top: 1px solid rgba(255,255,255,.15); padding-top: 12px; }

/* 8. Quem está por trás */
.why { display: grid; gap: 30px; }
.why__brand { max-width: 300px; }
.logo-full { width: 100%; height: auto; }
.why > div > p { color: var(--muted); }
.why__list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.why__list li:last-child { border-bottom: 0; }
.why__list h3 { margin-bottom: .2em; }
.why__list p { margin: 0; color: var(--muted); }
.why__resp { margin-top: 18px; font-size: .95rem; background: #fff; border-left: 4px solid var(--navy); padding: 12px 16px; }

/* 9. Perguntas */
.faq__list { border-top: 1px solid var(--line); margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-family: var(--f-head); font-weight: 600; color: var(--navy); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--accent-dark); font-size: 1.3rem; font-weight: 600; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-right: 12px; }

/* 10. Chamada final */
.cta { background: var(--navy); color: #fff; padding: 56px 0; }
.cta h2 { color: #fff; }
.cta__grid > div > p { color: #D5DEEA; font-size: 1.1rem; margin-bottom: 1.3em; }
.cta__grid { display: grid; gap: 36px; }
.lead { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 24px 20px; }
.lead h3 { font-size: 1.15rem; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select { width: 100%; min-height: 50px; padding: 10px 14px; border: 1.5px solid #B8C1CD; border-radius: 10px; font: 400 1rem var(--f-body); color: var(--ink); background: #fff; }
.field input:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(10,37,64,.18); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--accent-dark); }
.field__err { color: var(--accent-dark); font-size: .88rem; font-weight: 500; margin: 6px 0 0; }
.lgpd { font-size: .8rem; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }

/* Rodapé */
.foot { background: var(--navy); border-top: 1px solid rgba(255,255,255,.12); color: #C3CEDC; padding: 48px 0 100px; font-size: .92rem; }
.foot a { color: #fff; text-underline-offset: 3px; }
.foot address { font-style: normal; }
.foot__grid { display: grid; gap: 26px; }
.foot__logo { width: 190px; height: auto; margin-bottom: 14px; }
.foot__h { font-family: var(--f-head); font-weight: 600; color: #fff; margin-bottom: .6em; }
.foot__links li { padding: 3px 0; }
.foot__links a { text-decoration: none; color: #C3CEDC; }
.foot__links a:hover { color: #fff; }

/* Botão fixo de WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.28); transition: transform .15s ease; }
.wa-float svg { width: 34px; height: 34px; }
.wa-float:hover { transform: scale(1.06); }

/* Tablet e computador */
@media (min-width: 760px) {
  body { font-size: 18px; }
  .wrap { padding: 0 32px; }
  .btn--lg { width: auto; }
  .only-mobile { display: none; }
  .only-desk { display: inline; }
  .brand__logo { height: 40px; }
  .sec, .cta { padding: 84px 0; }
  .hero__btns { grid-template-columns: auto auto; justify-content: start; }
  .trust__list { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .who { grid-template-columns: 1.4fr 1fr; gap: 48px; }
  .tracks { grid-template-columns: 1fr 1fr; gap: 28px; }
  .track { padding: 32px; }
  .sim { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .sim__box { padding: 32px; }
  .faq { max-width: 820px; }
  .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
}
@media (min-width: 1040px) {
  .nav { display: flex; gap: 28px; }
  .hero { padding: 72px 0 84px; }
  .hero__grid { grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
  .chat { justify-self: end; }
  .price:not(.price--single) { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .price__extras { padding-top: 34px; }
  .price__extras h3 { font-size: 1.5rem; }
  .why { grid-template-columns: 340px 1fr; gap: 72px; align-items: center; }
  .cta__grid { grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
