/* Camada exclusiva da home; as páginas internas usam o design system comum. */
.home { --home-text: #202b28; --home-muted: #58645f; --home-line: #dbe2de; --teal: #176c60; background: #fff; color: var(--home-text); }
.home *, .home *::before, .home *::after { letter-spacing: 0; }
.home .shell { width: min(100%, 1328px); max-width: none; padding-left: 56px; padding-right: 56px; }
.home h2 { font-size: 42px; line-height: 1.15; font-weight: 650; text-wrap: balance; }
.home h3 { font-weight: 650; }
.home .btn { border-radius: 5px; min-height: 48px; height: auto; padding: 13px 22px; font-size: 14px; line-height: 1.4; text-align: center; }
.home .btn-primary { background: #dfb76a; color: #201c13; }
.home .btn-primary:hover { background: #edc986; }
.home .btn-ghost { color: inherit; border: 1px solid currentColor; }
.home .btn-ghost:hover { background: #ffffff12; }
.home nav.top { background: #121715; backdrop-filter: none; border-bottom: 1px solid #ffffff16; }
.home nav.top .shell { height: 80px; }
.home .logo { display: inline-flex; align-items: center; font-size: 27px; color: #fff; white-space: nowrap; }
.home .logo-mark { height: 32px; width: 32px; margin: 0 8px 0 0; }
.logo-erp { font-size: 11px; font-weight: 500; margin: 5px 0 0 8px; color: #d5b371; }
.home .navlinks { gap: 25px; font-size: 13px; }
.home .navlinks a { color: #c9d1cc; }
.home .navlinks a:hover { color: #dfb76a; }
.nav-actions { display: flex; align-items: center; gap: 24px; }
.nav-login { color: #fff; font-size: 13px; font-weight: 600; padding: 12px 0; }
.home nav.top .btn { min-height: 40px; padding: 10px 17px; }
.home-hero { position: relative; isolation: isolate; color: #fff; background: #121715; }
.hero-photo { position: absolute; z-index: -2; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: center 57%; }
.home-hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: #09130eae; }
.hero-copy { padding-top: 60px; padding-bottom: 58px; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 650; text-transform: uppercase; line-height: 1.6; }
.home-hero .eyebrow { color: #edcc8c; }
.status-dot { display: inline-block; height: 6px; width: 6px; flex: 0 0 6px; border-radius: 50%; background: currentColor; }
.home-hero h1 { font-size: 76px; line-height: 1.03; margin: 22px 0 22px; font-weight: 650; }
.home-hero h1 span { display: block; font-size: 48px; line-height: 1.1; margin-top: 10px; font-weight: 500; }
.hero-description { max-width: 490px; font-size: 16px; line-height: 1.7; color: #edf0ed; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.home-hero .btn-ghost { border-color: #ffffff70; }
.trial-note { font-size: 12px; color: #c9d3cc; margin-top: 16px; }
.trial-note span { margin: 0 7px; }
.hero-baseline { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 59px; border-top: 1px solid #ffffff30; font-size: 10px; color: #e1e9e3; }
.hero-baseline a { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; padding: 14px 0; }
.hero-baseline a .icon { transform: rotate(90deg); }
.benefit-strip { background: #f2f5f3; border-bottom: 1px solid var(--home-line); }
.benefit-strip .shell { display: flex; justify-content: space-between; gap: 24px; padding-top: 25px; padding-bottom: 25px; }
.benefit-strip p { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 550; }
.benefit-strip .icon { color: var(--teal); }
.home-section { padding: 88px 0; scroll-margin-top: 100px; }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; margin-bottom: 36px; }
.section-heading .eyebrow { color: var(--teal); margin-bottom: 14px; }
.section-heading > p { max-width: 340px; font-size: 15px; line-height: 1.75; color: var(--home-muted); }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 650; color: var(--teal); }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.product-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--home-line); margin-bottom: 24px; }
.product-tab { display: inline-flex; gap: 10px; align-items: center; justify-content: center; padding: 16px 22px; min-height: 52px; color: var(--home-muted); font-size: 13px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.product-tab:hover { background: #f2f6f3; }
.product-tab.active { color: var(--teal); border-color: var(--teal); font-weight: 650; }
.product-panel { margin: 0 0 28px; border: 1px solid var(--home-line); border-radius: 6px; overflow: hidden; background: #f0f5f7; scroll-margin-top: 100px; }
.product-panel[hidden] { display: none; }
.product-toolbar { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 14px 0 20px; background: #fff; border-bottom: 1px solid var(--home-line); }
.product-toolbar > span { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--home-muted); }
.product-toolbar .status-dot { color: var(--teal); }
.product-panel > img { display: block; width: 100%; height: auto; aspect-ratio: 1440 / 828; object-fit: contain; object-position: top; }
.product-panel figcaption { padding: 17px 20px; min-height: 62px; background: #fff; border-top: 1px solid var(--home-line); font-size: 12px; color: var(--home-muted); }
.product-panel figcaption strong { color: var(--home-text); margin-right: 7px; }
.product-footnote, .pricing-footnote { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 12px; color: var(--home-muted); }
.intelligence-section { background: #edf3ef; border-top: 1px solid var(--home-line); border-bottom: 1px solid var(--home-line); }
.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; }
.capability { border-top: 1px solid #bdccc3; padding: 28px 0; }
.capability > .icon { width: 28px; height: 28px; color: var(--teal); margin-bottom: 28px; }
.capability-number { display: block; color: #5c6b61; font-size: 10px; margin-bottom: 12px; }
.capability h3 { font-size: 22px; margin-bottom: 12px; }
.capability p { color: var(--home-muted); font-size: 14px; line-height: 1.75; max-width: 40ch; }
.voice-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; border-top: 1px solid #bdccc3; margin-top: 24px; padding-top: 48px; align-items: center; }
.voice-copy .eyebrow { color: var(--teal); margin-bottom: 16px; }
.voice-copy h3 { font-size: 34px; }
.voice-copy > p:not(.eyebrow) { max-width: 46ch; color: var(--home-muted); font-size: 14px; margin-top: 18px; }
.voice-copy .text-link { margin-top: 24px; }
.voice-example { border-left: 2px solid var(--teal); padding: 8px 0 8px 30px; }
.example-label { color: var(--home-muted); font-size: 10px; }
.voice-example blockquote { font-size: 25px; line-height: 1.5; font-weight: 500; margin: 22px 0; }
.voice-result { display: flex; align-items: flex-start; gap: 12px; color: var(--teal); margin-bottom: 25px; }
.voice-result strong { font-size: 13px; }
.voice-result p { margin-top: 3px; color: var(--home-muted); font-size: 12px; }
.workflow { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; margin-top: 48px; }
.workflow li { border-top: 1px solid var(--home-line); padding-top: 22px; }
.workflow li > span { color: var(--teal); font-size: 12px; font-family: var(--fm); }
.workflow h3 { font-size: 22px; margin: 22px 0 12px; }
.workflow p { color: var(--home-muted); font-size: 14px; line-height: 1.75; }
.pricing-section { --concrete-2: #202b28; background: #f6f7f6; border-top: 1px solid var(--home-line); border-bottom: 1px solid var(--home-line); }
.home .tiers { gap: 18px; margin-top: 48px; }
.home .tier { border-radius: 6px; border-color: var(--home-line); padding: 32px 26px; background: #fff; }
.home .tier.feat { background: #fff; border: 1px solid var(--teal); box-shadow: 0 5px 22px #163c2610; }
.home .tier .badge { border-radius: 3px; background: var(--teal); color: #fff; font-family: inherit; font-size: 10px; padding: 4px 10px; }
.home .tier .tname { color: var(--home-text); font-size: 23px; }
.home .tier .tdesc { color: var(--home-muted); font-size: 13px; min-height: 42px; }
.home .tier .price { color: var(--home-text); font-size: 48px; font-weight: 650; margin-top: 24px; }
.home .tier .price .cur, .home .tier .price small { color: var(--home-muted); }
.home .tier .price small { font-weight: 400; margin-top: 14px; }
.home .tier .btn { font-size: 13px; padding: 13px 10px; color: var(--home-text); border-color: #c8d2cc; }
.home .tier .btn:hover { background: #edf3ef; }
.home .tier.feat .btn { background: var(--teal); color: #fff; }
.home .tier.feat .btn:hover { background: #12584e; }
.home .tier ul { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--home-line); }
.home .tier li { color: #49584f; font-size: 13px; }
.home .tier li svg path { stroke: var(--teal); }
.home .tier li.ai svg path { fill: var(--teal); stroke: none; }
.home .tier li.ai { color: var(--teal); }
.pricing-footnote { margin-top: 28px; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; }
.faq-layout .eyebrow { color: var(--teal); margin-bottom: 14px; }
.faq-layout > div > p:not(.eyebrow) { color: var(--home-muted); font-size: 14px; margin: 26px 0 8px; }
.home-faq details { border-bottom: 1px solid var(--home-line); }
.home-faq details:first-child { border-top: 1px solid var(--home-line); }
.home-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; list-style: none; cursor: pointer; font-weight: 600; font-size: 15px; }
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary:hover { color: var(--teal); }
.home-faq details[open] summary .icon { --icon: url('/icons/x.svg'); }
.home-faq details p { padding: 0 32px 24px 0; color: var(--home-muted); font-size: 14px; line-height: 1.8; }
.home-faq details a { color: var(--teal); text-decoration: underline; }
.closing-section { background: #173c34; color: #fff; padding: 76px 0; }
.closing-section .eyebrow { color: #b7d4c5; margin-bottom: 22px; }
.closing-section h2 { font-size: 54px; }
.closing-section .text-link { color: #fff; padding: 12px; }
.home footer.site { background: #121715; color: #aebbb3; padding-top: 60px; }
.home .footer-col .t { font-family: inherit; font-size: 11px; color: #aebbb3; }
.home .footer-col a { color: #dee5df; font-size: 13px; }
.home .footer-col a:hover { color: #dfb76a; }
.home .footer-tagline { color: #aebbb3; font-size: 13px; }
.home .footer-bottom { display: flex; justify-content: space-between; gap: 16px; font-family: inherit; font-size: 11px; color: #aebbb3; }
.image-dialog { width: min(96vw, 1600px); max-width: none; max-height: 92dvh; padding: 0; margin: auto; border: 1px solid #dbe2de; border-radius: 6px; background: #fff; color: var(--home-text); }
.image-dialog::backdrop { background: #08130de0; }
.dialog-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 6px 16px; background: #fff; border-bottom: 1px solid var(--home-line); font-size: 13px; }
.dialog-image-wrap { overflow: auto; max-height: calc(92dvh - 58px); }
.dialog-image { display: block; width: 100%; max-width: none; }
.home:has(.image-dialog[open]) { overflow: hidden; }
@media (min-width: 1600px) { .hero-copy { padding-top: 72px; padding-bottom: 72px; } }
@media (max-width: 1150px) { .home .shell { padding-left: 32px; padding-right: 32px; } .home .navlinks { gap: 16px; } .nav-actions { gap: 16px; } .home .tier { padding: 30px 20px; } }
@media (max-width: 1000px) { .home .navlinks { font-size: 12px; gap: 12px; } .home nav.top .btn { padding: 10px 12px; } .home .logo { font-size: 24px; } .home .logo-erp { display: none; } .section-heading { gap: 32px; } .section-heading > p { max-width: 270px; } .voice-feature, .faq-layout { gap: 40px; } }
@media (max-width: 900px) { .home nav.top .shell { height: 68px; } .nav-actions { margin-left: auto; } .home .navlinks { font-size: 15px; } .home .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; } .home .tier .price { font-size: 39px; } }
@media (max-width: 760px) {
  .home .shell { padding-left: 24px; padding-right: 24px; }
  .home-section { padding: 60px 0; }
  .home h2 { font-size: 32px; }
  .home-hero h1 { font-size: 58px; }
  .home-hero h1 span { font-size: 36px; }
  .hero-copy { padding-top: 40px; padding-bottom: 40px; }
  .hero-description { font-size: 15px; max-width: 430px; }
  .hero-baseline { min-height: 54px; }
  .hero-baseline > span { font-size: 9px; }
  .benefit-strip .shell { flex-wrap: wrap; justify-content: flex-start; gap: 16px 28px; padding-top: 22px; padding-bottom: 22px; }
  .benefit-strip p { font-size: 11px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading > p { max-width: 48ch; margin-top: 18px; font-size: 14px; }
  .section-heading > .text-link { margin-top: 22px; }
  .product-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .product-tab { padding: 12px 4px; gap: 6px; font-size: 11px; }
  .product-tab .icon { width: 15px; height: 15px; }
  .product-panel figcaption { min-height: 88px; padding: 15px; }
  .product-panel figcaption strong { display: block; margin-bottom: 4px; }
  .product-footnote, .pricing-footnote { flex-wrap: wrap; gap: 12px; }
  .capability-grid { grid-template-columns: 1fr; gap: 0; }
  .capability { position: relative; padding-left: 44px; }
  .capability > .icon { position: absolute; top: 28px; left: 0; width: 24px; height: 24px; }
  .capability h3 { font-size: 22px; }
  .capability p { max-width: 54ch; }
  .voice-feature { grid-template-columns: 1fr; gap: 36px; margin-top: 12px; padding-top: 36px; }
  .voice-copy h3 { font-size: 30px; }
  .voice-example blockquote { font-size: 22px; }
  .workflow { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
  .workflow h3 { margin-top: 12px; }
  .home .tiers { grid-template-columns: 1fr; gap: 26px; }
  .home .tier { padding: 28px; }
  .home .tier .price { font-size: 48px; }
  .home .tier .tdesc { min-height: 0; }
  .home .tier .btn { font-size: 14px; }
  .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .home-faq summary { font-size: 14px; }
  .closing-section { padding: 56px 0; }
  .closing-section h2 { font-size: 40px; }
  .home .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .home .footer-brand { grid-column: 1 / -1; margin-bottom: 8px; }
  .home .footer-bottom { flex-wrap: wrap; }
  .dialog-image { width: max(100%, 1000px); }
}
@media (max-width: 480px) {
  .home .shell { padding-left: 20px; padding-right: 20px; }
  .home .nav-trial { display: none; }
  .home-hero h1 { font-size: 50px; }
  .home-hero h1 span { font-size: 32px; }
  .hero-copy { padding-top: 32px; padding-bottom: 30px; }
  .hero-actions { gap: 10px; }
  .home-hero .hero-actions .btn { flex: 1 1 100%; }
  .home-hero .hero-actions { max-width: 360px; }
  .hero-baseline > span { display: none; }
  .hero-baseline { justify-content: flex-start; min-height: 49px; }
  .home .product-tab { font-size: 10px; flex-direction: column; }
  .product-toolbar { padding-left: 12px; }
  .product-toolbar > span { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .home *, .home *::before, .home *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; } }

/* ─────────────────────────────────────────────────────────────────────────
   Página de planos, na mesma camada
   A /planos.html passou a usar esta folha (e não uma cópia dela): duas folhas
   com o mesmo visual divergem em duas semanas; uma só, não. O que segue é o
   que a home ainda não precisava — seletor de ciclo, tabela comparativa e
   formulário no tema claro.
   ───────────────────────────────────────────────────────────────────────── */

/* Seletor de ciclo — o único elemento novo da página, e onde a atenção deve
   cair: é a informação que o visitante veio buscar. */
.home .ciclos { display: inline-flex; gap: 4px; margin-top: 34px; padding: 4px;
  background: #ecefec; border: 1px solid var(--home-line); border-radius: 999px; }
.home .ciclo { appearance: none; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 550; color: var(--home-muted);
  padding: 9px 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px;
  transition: background .15s ease, color .15s ease; }
.home .ciclo:hover { color: var(--home-text); }
.home .ciclo.is-ativo { background: #fff; color: var(--home-text); box-shadow: 0 1px 2px #0000000f; }
.home .ciclo-desc { font-size: 11.5px; font-weight: 650; color: var(--teal);
  background: #176c601a; padding: 2px 7px; border-radius: 999px; }
.home .ciclo.is-ativo .ciclo-desc { background: #176c6026; }
.home .ciclo:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* A linha que diz o que é cobrado de fato. Quem esconde o total ganha o clique
   e perde o cliente — então ela fica junto do preço, não em nota de rodapé. */
.home .price-cobranca { display: block; margin-top: 7px; font-size: 12.5px; color: var(--home-muted); }

/* Tabela comparativa no claro. Rola no telefone em vez de espremer a coluna. */
.home .tabela-rolagem { margin-top: 40px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.home .cmp-table { min-width: 640px; font-size: 14.5px; }
.home .cmp-table th, .home .cmp-table td { border-bottom: 1px solid var(--home-line); padding: 14px 16px; }
.home .cmp-table thead th { color: var(--home-text); font-weight: 650; }
.home .cmp-table thead th.hl { color: var(--teal); }
.home .cmp-table td { color: var(--home-muted); font-weight: 500; }
.home .cmp-table th:first-child, .home .cmp-table td:first-child { color: var(--home-text); }
.home .compare-section { background: #fff; }

/* Formulário no claro. */
.home .form-section { background: #f6f7f6; border-top: 1px solid var(--home-line); }
.home .formgrid { margin-top: 34px; }
.home .field label { color: var(--home-muted); font-size: 11px; }
.home .field input, .home .field textarea, .home .field select {
  background: #fff; border: 1px solid var(--home-line); color: var(--home-text); border-radius: 6px; }
.home .field input::placeholder, .home .field textarea::placeholder { color: #9aa5a0; }
.home .field input:focus, .home .field textarea:focus, .home .field select:focus {
  outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.home .leadbtn { background: var(--teal); color: #fff; border: 0; }
.home .leadbtn:hover { background: #12564d; }
.home .lead-status.ok { color: var(--teal); }

@media (max-width: 620px) {
  .home .ciclos { display: flex; width: 100%; }
  .home .ciclo { flex: 1; justify-content: center; padding: 10px 8px; font-size: 13px; }
  .home .ciclo-desc { display: none; }
}
