/* ── RESET & BASE ─────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body, html {
  /* overflow-x: clip evita rolagem horizontal SEM criar um container
     de scroll (como faria o overflow-x: hidden), o que mantém o
     position: sticky funcionando corretamente. */
  overflow-x: clip;
  width: 100%;
}

:root {
  /* CORES TEMA LIGHT (Padrão) */
  --bg-site: #ffffff;
  --bg-header-container: #eeedf8;
  --bg-fundo-card: rgba(235, 237, 255, 0.15);
  --bg-fundo-card-claro: rgba(30, 64, 175, 0.05);
  --bg-fundo-card-claro-escuro: rgba(30, 64, 175, 0.2);
  --bg-fundo-card2: rgba(140, 130, 252, 0.15);
  --bg-fundo-processo__step: rgba(140, 130, 252, 0.15);
  --bg--fundo--verde: rgba(16, 185, 129, 0.07);
  --text-fundo-processo__step: rgba(140, 130, 252, 1);
  --bg-fundo-card-escuro: rgba(140, 130, 252, 0.15);
  --bg-fundo-section-rodape: rgba(30, 64, 175, 0.1);
  --bg-fundo-section-rodape--card: rgba(30, 64, 175, 0.05);
  --navbar--normal: #0A121A;
  --navbar--hover: #1E40AF;
  --header-title: #1e40af;
  --header-text: #15253F;
  --header-text2: #15253F;
  --header-desc: #15253F;
  --btn-secondary-border: #d8d7ec;
  --text-note: #666d7a;
  --border: #1E40AF;
  --border--roxa-azul: rgba(30, 64, 175, 1);
  --border--transparente--cinza: rgba(235, 237, 255, 1);
  --text---violet: #B81F1F;
  --text--green: #00897B;
  --purple: rgba(158, 163, 230, 1);
}

/* CORES TEMA DARK (Ativado pelo seu JS) */
[data-theme="dark"] {
  --bg-site: #15253F;
  --bg-header-container: #113663;
  --bg-fundo-card: rgba(235, 237, 255, 0.05);
  --bg-fundo-card-claro: rgba(0, 128, 255, 0.1);
  --bg-fundo-card-claro-escuro: rgba(0, 128, 255, 0.5);
  --bg-fundo-card2: rgba(0, 128, 255, 0.05);
  --bg-fundo-processo__step: rgba(140, 130, 252, 0.15);
  --bg--fundo--verde: rgba(16, 185, 129, 0.07);
  --text-fundo-processo__step: rgba(140, 130, 252, 1);
  --bg-fundo-card-escuro: #EBEAFF;
  --bg-fundo-section-rodape: rgba(30, 64, 175, 0.1);
  --bg-fundo-section-rodape--card: rgba(30, 64, 175, 0.2);
  --navbar--normal: #FFFFFF;
  --navbar--hover: #0080FF;
  --header-title: #64B2FF;
  --header-text: #15253F;
  --header-text2: #15253F;
  --header-desc: #050505;
  --btn-secondary-border: #303546;
  --text-note: #ffffff;
  --border: #303546;
  --border--roxa-azul: rgba(0, 128, 255, 0.5);
  --border--transparente--cinza: rgba(76, 76, 76, 1);
  --text---violet: #FF6B6B;
  --text--green: #20C997;
  --purple: rgba(158, 163, 230, 1);
}

html { scroll-behavior: smooth; }

/* --- GELICA FONT FAMILY --- */
@font-face { font-family: 'Gelica'; src: url('../assets/fonts/fonnts.com-Gelica-Extra-Light.otf') format('opentype'); font-weight: 200; font-style: normal; }
@font-face { font-family: 'Gelica'; src: url('../assets/fonts/fonnts.com-Gelica-Light.otf') format('opentype'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'Gelica'; src: url('../assets/fonts/fonnts.com-Gelica-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Gelica'; src: url('../assets/fonts/fonnts.com-Gelica-Italic.otf') format('opentype'); font-weight: 400; font-style: italic; }
@font-face { font-family: 'Gelica'; src: url('../assets/fonts/fonnts.com-Gelica-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'Gelica'; src: url('../assets/fonts/fonnts.com-Gelica-Semi-Bold.otf') format('opentype'); font-weight: 600; font-style: normal; }
@font-face { font-family: 'Gelica'; src: url('../assets/fonts/fonnts.com-Gelica-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'Gelica'; src: url('../assets/fonts/fonnts.com-Gelica-Black.otf') format('opentype'); font-weight: 900; font-style: normal; }

h1, h2 { font-family: "Gelica", serif; font-weight: 600; }
h3, h4, h5, h6 { font-family: "Gelica", serif; font-weight: 400; }
body { font-family: "Inter", sans-serif; background: var(--bg-site); color: var(--navbar--normal); }

/* --- NAVBAR --- */
.navbar {
  background: var(--bg-site);
  padding: 18px 28px;
  position: sticky;
  top: 0;
  z-index: 50;
}
.navbar__container { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.navbar__brand { flex-shrink: 0; }
.navbar__brand img { width: 220px; height: auto; display: block; }
.navbar__nav { display: flex; align-items: center; gap: 80px; margin-left: auto; }
.navbar__nav a { text-decoration: none; font-family: "Inter", sans-serif; font-size: 14px; color: var(--navbar--normal); transition: color 0.2s ease; }
.navbar__nav a:hover, .navbar__nav a.is-active { color: var(--navbar--hover); }
.navbar__actions { display: flex; align-items: center; gap: 50px; margin-left: 24px; }
.navbar__cta { min-height: 48px; padding: 0 38px; background: var(--header-title); color: #ffffff; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; box-shadow: 0 8px 18px rgba(138, 128, 255, 0.24); border-radius: 5px; }
.navbar__toggle { display: none; width: 40px; height: 40px; border: none; background: transparent; cursor: pointer; margin-left: auto; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.navbar__toggle span { width: 18px; height: 2px; background: var(--navbar--normal); display: block; }

/* THEME TOGGLE */
.theme-toggle { border: none; background: transparent; cursor: pointer; padding: 0; }
.theme-toggle__track { width: 54px; height: 28px; border-radius: 999px; background: #eef1f6; border: 1px solid #d8d7ec; position: relative; display: flex; align-items: center; justify-content: space-between; padding: 0 8px; }
.theme-toggle__thumb { position: absolute; top: 3px; left: 4px; width: 20px; height: 20px; border-radius: 999px; background: var(--bg-site); box-shadow: 0 2px 8px rgba(31, 42, 68, 0.16); transition: transform 0.25s ease; }
.theme-toggle__icon { position: relative; z-index: 2; font-size: 11px; line-height: 1; color: var(--navbar--normal); }
html[data-theme="dark"] .theme-toggle__thumb { transform: translateX(26px); }
html[data-theme="dark"] .theme-toggle__track { background: var(--btn-secondary-border); border-color: var(--border); }

/* NAVBAR MOBILE */
.navbar-mobile { position: fixed; inset: 0; z-index: 200; display: none; }
.navbar-mobile.is-open { display: block; }
.navbar-mobile__backdrop { position: absolute; inset: 0; background: rgba(15, 17, 23, 0.55); }
.navbar-mobile__panel { position: absolute; top: 0; right: 0; width: min(92vw, 360px); height: 100dvh; background: var(--bg-site); padding: 18px 18px 24px; display: flex; flex-direction: column; box-shadow: -12px 0 24px rgba(31, 42, 68, 0.12); }
.navbar-mobile__top { display: flex; justify-content: space-between; margin-block: 32px; }
.navbar-mobile__close { width: 36px; height: 36px; border: 1px solid var(--btn-secondary-border); border-radius: 8px; background: var(--bg-fundo-card); color: var(--navbar--normal); font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.navbar-mobile__brand { display: flex; justify-content: center; margin-bottom: 22px; }
.navbar-mobile__brand img { width: 140px; height: auto; display: block; }
.navbar-mobile__nav { display: flex; flex-direction: column; gap: 8px; }
.navbar-mobile__nav a { text-decoration: none; font-size: 24px; line-height: 1.2; color: var(--navbar--normal); padding: 14px 12px; border-radius: 10px; }
.navbar-mobile__nav a:hover, .navbar-mobile__nav a.is-active { background: var(--bg-fundo-card2); }
.navbar-mobile__cta { margin-top: 18px; min-height: 48px; background: var(--header-title); color: #ffffff; text-decoration: none; display: inline-flex; align-items: center; justify-content: start; font-size: 18px; font-weight: 700; border-radius: 8px; padding-left: 16px; position: relative; }
.navbar-mobile__theme { margin-top: 18px; display: flex; justify-content: center; }
.navbar-mobile__social { margin-top: auto; display: flex; justify-content: center; gap: 18px; padding-top: 26px; }
.navbar-mobile__social img { width: 16px; height: 16px; object-fit: contain; }
.navbar-mobile__copyright { margin-top: 18px; text-align: center; font-size: 12px; line-height: 1.45; color: var(--navbar--normal); }

@media (max-width: 900px) {
  .navbar { padding: 10px 12px; }
  .navbar__container { gap: 12px; }
  .navbar__brand img { width: 135px; }
  .navbar__nav, .navbar__actions { display: none; }
  .navbar__toggle { display: inline-flex; }
}
@media (max-width: 640px) {
  .navbar-mobile__panel { width: 100%; max-width: 100%; padding: 16px 14px 24px; }
  .navbar-mobile__brand img { width: 125px; }
  .navbar-mobile__nav a { font-size: 15px; padding: 12px 10px; }
  .navbar-mobile__cta { font-size: 14px; min-height: 44px; }
}

/* --- HEADER --- */
.header { padding: 70px 30px 10px 30px; background: var(--bg-site); }
.header__container { max-width: 1380px; margin: 40px auto; background: var(--bg-header-container); border-radius: 12px; display: flex; align-items: stretch; justify-content: space-between; position: relative; overflow: visible; }
.header__content { width: 100%; max-width: 600px; z-index: 2; position: relative; padding: 3rem; }
.header__eyebrow { display: inline-block; font-size: 12px; line-height: 1.4; color: var(--text-note); margin-bottom: 14px; }
.header__title { font-size: 44px; line-height: 0.95; font-weight: 300; letter-spacing: -1.8px; color: var(--header-title); margin-bottom: 18px; }
.header__title strong { font-weight: 500; }
.header__description { font-size: 15px; line-height: 1.65; color: var(--navbar--normal); max-width: 540px; margin-bottom: 35px; }
.header__description strong { color: var(--header-title); font-weight: 700; }
.header__actions { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; margin-top: 40px; flex-wrap: wrap; }
.header__btn { height: 40px; padding: 20px 30px; border-radius: 4px; text-decoration: none; font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; gap: 15px; transition: 0.2s ease; white-space: nowrap; }
.header__btn--primary { background: var(--header-title); color: #ffffff; box-shadow: 0 8px 18px rgba(138, 128, 255, 0.22); }
.header__btn--primary:hover { transform: translateY(-1px); }
.header__btn-icon { width: 30px; height: 30px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; top: -8px; }
.header__btn-icon img { width: 40px; height: 40px; object-fit: contain; display: block; }
.header__btn--secondary { background: transparent; color: var(--navbar--normal); border: 1px solid var(--btn-secondary-border); min-width: 124px; }
.header__btn--secondary:hover { background: var(--bg-fundo-card-claro); }
.header__note2 { font-size: 11px; color: var(--navbar--normal); margin-bottom: 20px; margin-top: 20px; }
.header__image-wrap { position: absolute; right: 0px; bottom: 0; height: 100%; display: flex; align-items: flex-end; justify-content: flex-end; overflow: visible; pointer-events: none; }
.header__image { height: 130%; width: auto; max-width: none; transform: scale(1); object-fit: contain; object-position: bottom right; }

@media (max-width: 1100px) {
  .header__image { height: 100%; right: -2%; transform: scale(1); }
  .header__container { padding: 32px 28px 0 28px; gap: 16px; }
  .header__title { font-size: 50px; }
  .header__image { max-width: 620px; }
}
@media (max-width: 900px) {
  .header__container { flex-direction: column; align-items: flex-start; padding: 32px 24px 0 24px; }
  .header__content { max-width: 100%; }
  .header__image-wrap { width: 100%; min-width: 100%; justify-content: center; position: relative; height: auto; }
  .header__image { height: auto; max-width: 100%; }
}
@media (max-width: 640px) {
  .header { padding: 8px; }
  .header__container { padding: 24px 18px 0 18px; border-radius: 10px; min-height: auto; }
  .header__content { padding: 2rem; }
  .header__title { font-size: 40px; line-height: 0.95; letter-spacing: -1px; }
  .header__actions { flex-direction: column; align-items: stretch; }
  .header__btn { width: 100%; justify-content: center; }
  .header__image-wrap { display: none; }
}

/* ── NOVA CALCULADORA (Mapeada com Variáveis do Tema) ────────────── */
.calculadora-layout {
  /* Mapeamento dinâmico para respeitar Dark/Light Mode */
  --ink: var(--navbar--normal);
  --ink-60: var(--navbar--normal);
  --ink-30: var(--text-note);
  --line: var(--btn-secondary-border);
  --line2: var(--btn-secondary-border);
  --white: var(--bg-site);
  --paper: var(--bg-fundo-card-claro);
  --blue: var(--header-title);
  --blue-bg: var(--bg-fundo-card-claro-escuro);
  --red: var(--text---violet);
  --red-bg: rgba(184, 31, 31, 0.1);
  --green: var(--text--green);
  --green-bg: var(--bg--fundo--verde);
  --amber: #D97706;
  --amber-bg: rgba(217, 119, 6, 0.1);
  --mono: 'Courier New', Courier, monospace;
  --sans: 'Inter', sans-serif;
  --serif: 'Gelica', 'DM Serif Display', serif;

  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 60px 80px;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 0;
  /* align-items: start é ESSENCIAL para o sticky funcionar:
     impede que a coluna seja esticada até a altura total da linha. */
  align-items: start;
  font-family: var(--sans);
  background: var(--bg-site);
}

/* ───────────────────────────────────────────────────────────
   PARALLAX / STICKY (somente desktop):
   A coluna da esquerda (.calculadora-inputs) fica "parada" enquanto
   a da direita (.calculadora-results) rola até o fim do conteúdo.
   ─────────────────────────────────────────────────────────── */
.calculadora-inputs {
  padding-right: 48px;
  border-right: 1px solid var(--line2);
  position: sticky;
  top: 32px;
  align-self: start;
  /* Se o painel for mais alto que a tela, ele mesmo ganha rolagem
     interna em vez de cortar conteúdo. */
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.calculadora-inputs-title { font-size: 11px; font-family: var(--mono); letter-spacing: 2px; text-transform: uppercase; color: var(--ink-30); margin-bottom: 32px; }
.calculadora-field { margin-bottom: 32px; }
.calculadora-field:last-of-type { margin-bottom: 0; }
.calculadora-field-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.calculadora-field-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.calculadora-field-val { font-family: var(--mono); font-size: 15px; font-weight: 500; color: var(--blue); min-width: 72px; text-align: right; }
.calculadora-field-src { font-family: var(--mono); font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-30); margin-top: 2px; text-align: right; }

.calculadora-field input[type=range] { -webkit-appearance: none; width: 100%; height: 4px; background: var(--line2); border-radius: 2px; outline: none; cursor: pointer; margin-bottom: 6px; }
.calculadora-field input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--blue); transition: transform .15s, box-shadow .15s; cursor: grab; }
.calculadora-field input[type=range]::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.15); }
.calculadora-field input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--blue); border: 3px solid var(--white); cursor: grab; }
.calculadora-field-minmax { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: var(--ink-30); }

.calculadora-assumptions { background: var(--white); border: 1px solid var(--line2); border-radius: 10px; padding: 14px 16px; margin-top: 28px; }
.calculadora-assumptions-title { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-30); margin-bottom: 8px; }

.calculadora-results { padding-left: 48px; }
.calculadora-metrics-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: var(--line2); border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; margin-bottom: 28px; }
.calculadora-metric { background: var(--white); padding: 20px 20px 18px; position: relative; }
.calculadora-metric-kicker { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.calculadora-metric-num { font-family: var(--serif); font-size: 32px; font-weight: 400; letter-spacing: -1px; line-height: 1; transition: color .3s; }
.calculadora-metric-desc { font-size: 11.5px; line-height: 1.5; margin-top: 6px; opacity: 0.8; }

.calculadora-metric.calculadora-custo .calculadora-metric-kicker, .calculadora-metric.calculadora-custo .calculadora-metric-num { color: var(--red); }
.calculadora-metric.calculadora-reducao .calculadora-metric-kicker, .calculadora-metric.calculadora-reducao .calculadora-metric-num { color: var(--green); }
.calculadora-metric.calculadora-roi .calculadora-metric-kicker, .calculadora-metric.calculadora-roi .calculadora-metric-num { color: var(--blue); }

.calculadora-bar-section { background: var(--white); border: 1px solid var(--line2); border-radius: 12px; padding: 24px; margin-bottom: 20px; }
.calculadora-bar-section-title { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-30); margin-bottom: 20px; }
.calculadora-bar-item { margin-bottom: 16px; }
.calculadora-bar-item:last-child { margin-bottom: 0; }
.calculadora-bar-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.calculadora-bar-label { font-size: 12.5px; color: var(--ink); opacity: 0.8; }
.calculadora-bar-label strong { color: var(--ink); font-weight: 600; opacity: 1; }
.calculadora-bar-value { font-family: var(--mono); font-size: 12px; font-weight: 500; }
.calculadora-bar-track { height: 6px; background: var(--line2); border-radius: 3px; overflow: hidden; }
.calculadora-bar-fill { height: 100%; border-radius: 3px; transition: width .5s cubic-bezier(.4,0,.2,1); }
.calculadora-bar-fill.calculadora-red { background: var(--red); }
.calculadora-bar-fill.calculadora-green { background: var(--green); }
.calculadora-bar-fill.calculadora-blue { background: var(--blue); }
.calculadora-bar-legend { display: flex; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line2); }
.calculadora-leg-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink); opacity: 0.8;}
.calculadora-leg-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.calculadora-breakdown { background: var(--white); border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; margin-bottom: 20px; }
.calculadora-bd-title { padding: 14px 20px; font-family: var(--mono); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-30); border-bottom: 1px solid var(--line2); }
.calculadora-bd-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 20px; border-bottom: 1px solid var(--line2); font-size: 13px; gap: 16px; }
.calculadora-bd-row:last-child { border-bottom: none; }
.calculadora-bd-row .calculadora-lbl { color: var(--ink); opacity: 0.9; flex: 1; }
.calculadora-bd-row .calculadora-val { font-family: var(--mono); font-size: 12px; font-weight: 500; white-space: nowrap; color: var(--ink); }
.calculadora-bd-row.calculadora-section { background: var(--paper); padding: 7px 20px; }
.calculadora-bd-row.calculadora-section .calculadora-lbl { font-family: var(--mono); font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-30); }
.calculadora-bd-row.calculadora-total-custo { background: var(--red-bg); }
.calculadora-bd-row.calculadora-total-custo .calculadora-lbl, .calculadora-bd-row.calculadora-total-custo .calculadora-val { color: var(--red); font-weight: 600; font-size: 14px;}
.calculadora-bd-row.calculadora-total-red { background: var(--green-bg); }
.calculadora-bd-row.calculadora-total-red .calculadora-lbl, .calculadora-bd-row.calculadora-total-red .calculadora-val { color: var(--green); font-weight: 600; font-size: 14px;}
.calculadora-bd-row.calculadora-total-roi { background: var(--blue-bg); }
.calculadora-bd-row.calculadora-total-roi .calculadora-lbl, .calculadora-bd-row.calculadora-total-roi .calculadora-val { color: var(--blue); font-weight: 600; font-size: 14px;}

.calculadora-roi-callout { border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; margin-bottom: 20px; }
.calculadora-roi-top { background: var(--blue); padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.calculadora-roi-label { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.calculadora-roi-big { font-family: var(--serif); font-size: 48px; font-weight: 400; color: #ffffff; letter-spacing: -2px; line-height: 1; }
.calculadora-roi-sub { font-size: 12px; color: rgba(255,255,255,0.8); margin-top: 6px; }
.calculadora-roi-payback { text-align: right; }
.calculadora-pb-num { font-family: var(--serif); font-size: 32px; color: #ffffff; letter-spacing: -1px; line-height: 1; }
.calculadora-pb-label { font-size: 11px; color: rgba(255,255,255,0.7); margin-top: 4px; }
.calculadora-roi-bottom { background: var(--white); padding: 14px 24px; display: flex; gap: 24px; }
.calculadora-roi-stat { flex: 1; }
.calculadora-rs-val { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--ink); }
.calculadora-rs-desc { font-size: 11px; color: var(--ink); opacity: 0.8; margin-top: 2px; line-height: 1.45; }
.calculadora-roi-divider { width: 1px; background: var(--line2); align-self: stretch; }

.calculadora-roi-warn { background: var(--amber-bg); border: 1px solid rgba(217,119,6,0.2); border-radius: 12px; padding: 16px 20px; margin-bottom: 20px; display: none; }
.calculadora-roi-warn-title { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--amber); margin-bottom: 6px; }
.calculadora-roi-warn p { font-size: 12.5px; color: var(--ink); line-height: 1.6; opacity: 0.9;}

.calculadora-cta { background: var(--blue); border-radius: 12px; padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.calculadora-cta-text { flex: 1; }
.calculadora-cta-text p { font-size: 13px; color: rgba(255,255,255,0.9); line-height: 1.6; margin-top: 4px; }
.calculadora-cta-text strong { font-size: 15px; font-weight: 600; color: #ffffff; }
.calculadora-cta-btn { flex-shrink: 0; background: var(--white); color: var(--blue); border: none; border-radius: 8px; padding: 12px 22px; font-family: var(--sans); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: transform .15s, box-shadow .15s; }
.calculadora-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
.calculadora-disclaimer { font-size: 11px; color: var(--ink-30); line-height: 1.6; margin-top: 14px; text-align: center; }

@keyframes calcIn { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
.calculadora-inputs  { animation: calcIn .4s ease .05s both; }
.calculadora-results { animation: calcIn .4s ease .15s both; }
.calculadora-metric-num { display: inline-block; transition: transform .25s cubic-bezier(.34,1.4,.64,1); }
.calculadora-metric-num.calculadora-pop { transform: scale(1.06); }

@media (max-width: 900px) {
  .calculadora-layout { grid-template-columns: 1fr; padding: 32px 24px 60px; }
  /* No mobile o sticky é desligado: a coluna volta ao fluxo normal. */
  .calculadora-inputs {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid var(--line2);
    padding-bottom: 36px;
    margin-bottom: 36px;
    position: static;
    top: auto;
    max-height: none;
    overflow-y: visible;
  }
  .calculadora-results { padding-left: 0; }
  .calculadora-metrics-row { grid-template-columns: 1fr; }
  .calculadora-roi-top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .calculadora-roi-payback { text-align: left; }
  .calculadora-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .calculadora-metrics-row { grid-template-columns: 1fr 1fr; }
  .calculadora-metric.calculadora-roi { grid-column: span 2; }
  .calculadora-roi-bottom { flex-direction: column; gap: 12px; }
  .calculadora-roi-divider { width: auto; height: 1px; }
}

/* --- OUTRAS SEÇÕES (Relatório, Estatísticas, Metodologia, etc.) --- */
.relatorio { padding: 80px 20px 40px; background: var(--bg-site); }
.relatorio__container { max-width: 1040px; margin: 0 auto; }
.relatorio__header { text-align: center; max-width: 860px; margin: 0 auto 50px; }
.relatorio__eyebrow { display: none; font-size: 14px; color: var(--text-note); margin-bottom: 12px; }
.relatorio__title { font-size: 46px; font-weight: 400; color: var(--header-title); line-height: 1.1; margin-bottom: 24px; }
.relatorio__subtitle { font-size: 15px; color: var(--navbar--normal); line-height: 1.6; max-width: 760px; margin: 0 auto; }
.relatorio__wrapper { position: relative; }
.relatorio__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
.relatorio__card { background: var(--bg-fundo-card); border: 1px solid var(--border--transparente--cinza); border-radius: 12px; padding: 40px; box-shadow: 0 4px 24px rgba(30, 64, 175, 0.03); display: flex; flex-direction: column; }
.relatorio__card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.relatorio__card-title-group { display: flex; align-items: center; gap: 12px; }
.relatorio__card-num { font-size: 16px; font-weight: 700; color: var(--header-title); }
.relatorio__card-title { font-size: 22px; font-weight: 700; color: var(--navbar--normal); }
.relatorio__card-icon { display: flex; align-items: center; justify-content: center; }
.relatorio__list { list-style: none; display: flex; flex-direction: column; }
.relatorio__list li { position: relative; font-size: 14px; font-weight: 600; color: var(--navbar--normal); padding: 16px 0 16px 20px; border-bottom: 1.5px dotted rgba(30, 64, 175, 0.3); line-height: 1.5; }
.relatorio__list li::before { content: ""; position: absolute; left: 0; top: 22px; width: 5px; height: 5px; background-color: var(--header-title); border-radius: 50%; }
.relatorio__arrow { display: none; }
.relatorio__bottom-line { height: 1.5px; width: 100%; background-color: var(--header-title); opacity: 0.5; margin-top: 20px; }

@media (max-width: 900px) {
  .relatorio { padding: 60px 20px 80px; }
  .relatorio__eyebrow { display: block; }
  .relatorio__title { font-size: 32px; }
  .relatorio__subtitle { font-size: 14px; }
  .relatorio__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 20px; scrollbar-width: none; }
  .relatorio__grid::-webkit-scrollbar { display: none; }
  .relatorio__card { min-width: 85vw; scroll-snap-align: center; padding: 30px 20px; }
  .relatorio__card-title { font-size: 20px; }
  .relatorio__arrow { display: flex; position: absolute; bottom: -30px; width: 40px; height: 40px; border-radius: 50%; background: var(--header-title); color: #fff; border: none; align-items: center; justify-content: center; z-index: 10; cursor: pointer; }
  .relatorio__arrow--left { left: 35%; }
  .relatorio__arrow--right { right: 35%; }
}

.estatisticas { padding: 20px 20px; background: var(--bg-site); }
.estatisticas__container { max-width: 1040px; margin: 0 auto; }
.estatisticas__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; margin-bottom: 50px; }
.estatisticas__item { display: flex; flex-direction: column; }
.estatisticas__icon { margin-bottom: 24px; color: var(--navbar--normal); }
.estatisticas__value { font-family: "Gelica", serif; font-size: 62px; font-weight: 700; color: var(--navbar--normal); line-height: 1; margin-bottom: 16px; letter-spacing: -2px; display: flex; align-items: baseline; }
.estatisticas__value span { font-family: "Inter", sans-serif; font-size: 38px; font-weight: 500; color: var(--text-note); margin-left: 4px; letter-spacing: normal; }
.estatisticas__text { font-size: 15px; line-height: 1.5; color: var(--navbar--normal); margin-bottom: 24px; flex-grow: 1; }
.estatisticas__source { font-size: 13px; color: var(--text-note); }
.estatisticas__divider { width: 100%; height: 2px; background-color: var(--header-title); opacity: 0.6; }

@media (max-width: 900px) { .estatisticas__grid { gap: 30px; } .estatisticas__value { font-size: 56px; } .estatisticas__value span { font-size: 30px; } }
@media (max-width: 768px) { .estatisticas { padding: 00px 40px; } .estatisticas__grid { grid-template-columns: 1fr; gap: 50px; } .estatisticas__item { align-items: center; text-align: center; } .estatisticas__text { max-width: 270px; align-items: center; text-align: center; } .estatisticas__divider { margin-top: 10px; } }

.camadas { padding: 80px 20px; background: var(--bg-site); }
.camadas__container { max-width: 1140px; margin: 0 auto; }
.camadas__header { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.camadas__eyebrow { display: block; font-size: 14px; color: var(--navbar--normal); margin-bottom: 16px; }
.camadas__title { font-size: 46px; font-weight: 600; color: var(--header-title); line-height: 1.15; margin-bottom: 20px; }
.camadas__title-highlight { font-weight: 400; display: block; }
.camadas__subtitle { font-size: 15px; color: var(--navbar--normal); line-height: 1.6; }
.camadas__wrapper { position: relative; }
.camadas__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.camadas__card { background: var(--bg-fundo-card); border: 1px solid var(--border--transparente--cinza); border-radius: 12px; padding: 35px 30px; display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.camadas__card:hover { box-shadow: 0 12px 30px rgba(30, 64, 175, 0.05); transform: translateY(-2px); }
.camadas__icon { margin-bottom: 24px; display: flex; align-items: center; }
.camadas__card-title { font-size: 22px; font-weight: 700; color: var(--navbar--normal); margin-bottom: 16px; }
.camadas__card-text { font-size: 14px; line-height: 1.6; color: var(--navbar--normal); margin-bottom: 30px; }
.camadas__card-tag { margin-top: auto; font-size: 11px; font-weight: 600; color: var(--text-note); text-transform: uppercase; letter-spacing: 0.5px; }
.camadas__arrow { display: none; }

@media (max-width: 900px) {
  .camadas { padding: 60px 20px 00px; }
  .camadas__header { max-width: 80%; }
  .camadas__title { font-size: 32px; }
  .camadas__title-highlight { display: inline; }
  .camadas__subtitle { font-size: 14px; text-align: center; }
  .camadas__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .camadas__grid::-webkit-scrollbar { display: none; }
  .camadas__card { min-width: 85vw; scroll-snap-align: center; padding: 30px 24px; }
  .camadas__arrow { display: flex; position: absolute; bottom: -40px; width: 40px; height: 40px; border-radius: 50%; background: var(--header-title); color: #fff; border: none; align-items: center; justify-content: center; z-index: 10; cursor: pointer; }
  .camadas__arrow--left { left: 35%; }
  .camadas__arrow--right { right: 35%; }
}

.metodologia { padding: 0px 20px; background: var(--bg-site); }
.metodologia__container { max-width: 1100px; margin: 0 auto; }
.metodologia__header { text-align: center; max-width: 900px; margin: 0 auto 50px; }
.metodologia__title { font-size: 40px; font-weight: 400; color: var(--header-title); line-height: 1.15; margin-bottom: 20px; }
.metodologia__title strong { font-weight: 700; }
.metodologia__subtitle { font-size: 13px; color: var(--navbar--normal); line-height: 1.6; text-align: center; }
.metodologia__steps-wrapper { position: relative; }
.metodologia__steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.metodologia__step-card { background: var(--bg-fundo-card); border: 1px solid var(--border--transparente--cinza); border-radius: 12px; padding: 24px 24px; display: flex; flex-direction: column; }
.metodologia__step-num { font-size: 14px; font-weight: 700; color: var(--header-title); margin-bottom: 16px; }
.metodologia__step-title { font-size: 20px; font-weight: 700; color: var(--navbar--normal); margin-bottom: 12px; }
.metodologia__step-text { font-size: 13px; color: var(--navbar--normal); line-height: 1.5; }
.metodologia__arrow { display: none; }
.metodologia__impact { border-left: 4px solid var(--header-title); padding-left: 34px; margin: 60px 0; font-family: "Gelica", serif; font-size: 28px; color: var(--header-title); line-height: 1.3; }
.metodologia__impact strong { font-weight: 700; }
.metodologia__tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.metodologia__tech-left p { font-size: 25px; line-height: 1.4; color: var(--navbar--normal); font-weight: 400; }
.metodologia__tech-right { display: flex; flex-direction: column; gap: 16px; }
.metodologia__tech-card { background: var(--bg-fundo-card-claro); border: 1px solid var(--header-title); border-radius: 8px; display: flex; align-items: center; padding: 16px 20px; gap: 20px; }
.metodologia__tech-label { background: var(--bg-fundo-card-claro-escuro); border-radius: 6px; width: 150px; padding: 10px 6px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--navbar--normal); flex-shrink: 0; text-align: center; }
.metodologia__tech-content { display: flex; flex-direction: column; justify-content: center; flex-grow: 1; }
.metodologia__tech-content strong { font-size: 15px; font-weight: 700; color: var(--navbar--normal); margin-bottom: 4px; }
.metodologia__tech-content p { font-size: 12px; color: var(--text-note); line-height: 1.4; }
.metodologia__tech-logo { display: flex; align-items: center; justify-content: flex-end; width: 100px; flex-shrink: 0; }
.metodologia__tech-logo img { max-width: 100%; max-height: 40px; object-fit: contain; }

@media (max-width: 1024px) { .metodologia__tech-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 900px) {
  .metodologia { padding: 60px 20px 80px; }
  .metodologia__title { font-size: 30px; }
  .metodologia__steps-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 20px; scrollbar-width: none; }
  .metodologia__steps-grid::-webkit-scrollbar { display: none; }
  .metodologia__step-card { min-width: 240px; scroll-snap-align: center; }
  .metodologia__arrow { display: flex; position: absolute; bottom: -40px; width: 40px; height: 40px; border-radius: 50%; background: var(--header-title); color: #fff; border: none; align-items: center; justify-content: center; z-index: 10; cursor: pointer; }
  .metodologia__arrow--left { left: 35%; }
  .metodologia__arrow--right { right: 35%; }
  .metodologia__impact { font-size: 19px; margin: 50px 0; }
  .metodologia__tech-left p { font-size: 18px; }
  .metodologia__tech-card { display: grid; grid-template-columns: max-content 1fr; grid-template-areas: "label logo" "content content"; padding: 24px 20px; gap: 16px 12px; align-items: center; }
  .metodologia__tech-label { grid-area: label; width: auto; display: inline-flex; padding: 8px 14px; margin: 0; }
  .metodologia__tech-logo { grid-area: logo; width: 100%; justify-content: flex-end; padding: 0; }
  .metodologia__tech-content { grid-area: content; padding: 0; }
}

.agendamento { padding: 80px 20px; background: var(--bg-site); text-align: center; }
.agendamento__container { max-width: 900px; margin: 0 auto; }
.agendamento__title { font-size: 48px; color: var(--header-title); line-height: 1.1; margin-bottom: 20px; font-weight: 600; }
.agendamento__subtitle { font-size: 16px; color: var(--navbar--normal); line-height: 1.6; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.agendamento__btn { display: inline-block; background: var(--header-title); color: #ffffff; padding: 18px 40px; border-radius: 6px; font-size: 15px; font-weight: 600; text-decoration: none; box-shadow: 0 8px 18px rgba(30, 64, 175, 0.25); transition: transform 0.2s, background 0.2s; }
.agendamento__btn:hover { transform: translateY(-2px); opacity: 0.9; }

@media (max-width: 768px) {
  .agendamento { padding: 0px 20px 60px; }
  .agendamento__title { font-size: 30px; }
  .agendamento__subtitle { font-size: 14px; margin-bottom: 30px; }
  .agendamento__btn { width: 100%; padding: 16px; }
}

.footer-kz { padding: 42px 28px 28px; background: var(--bg-site); }
.footer-kz__container { max-width: 760px; margin: 0 auto; }
.footer-kz__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 60px; }
.footer-kz__brand img { width: 160px; margin-bottom: 14px; }
.footer-kz__social { display: flex; gap: 14px; }
.footer-kz__social img { width: 16px; height: 16px; object-fit: contain; display: block; }
.footer-kz__links { display: flex; gap: 80px; }
.footer-kz__column h4 { font-size: 16px; font-weight: 700; color: var(--header-title); margin-bottom: 14px; }
.footer-kz__column ul { list-style: none; }
.footer-kz__column li { margin-bottom: 12px; }
.footer-kz__column a { text-decoration: none; font-size: 12px; color: var(--navbar--normal); transition: color 0.2s ease; }
.footer-kz__divider { margin: 28px 0; height: 1px; background: var(--btn-secondary-border); }
.footer-kz__bottom { text-align: center; }
.footer-kz__copyright { font-size: 12px; color: var(--navbar--normal); }

@media (max-width: 640px) {
  .footer-kz { padding: 20px 40px; }
  .footer-kz__social { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  .footer-kz__social a { display: inline-flex; align-items: center; justify-content: center; padding-top: 20px; width: 20px; height: 18px; }
  .footer-kz__top { flex-direction: column; gap: 26px; }
  .footer-kz__brand img { width: 140px; }
  .footer-kz__links { flex-direction: column; gap: 22px; width: 100%; }
  .footer-kz__column h4 { margin-bottom: 10px; }
  .footer-kz__column li { margin-bottom: 10px; }
  .footer-kz__divider { margin: 24px 0; }
  .footer-kz__copyright { font-size: 11px; }
}

/* MODAL LEAD */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: rgba(10, 18, 26, 0.6); display: none; justify-content: center; align-items: center; z-index: 9999; padding: 20px; box-sizing: border-box; }
.modal-card { background-color: var(--bg-site); width: 100%; max-width: 540px; border-radius: 12px; padding: 32px; border: 1px solid var(--border--transparente--cinza); box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15); box-sizing: border-box; position: relative; transition: background-color 0.3s ease, border-color 0.3s ease; }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.step-tag { color: var(--header-title); font-size: 12px; font-weight: 700; letter-spacing: 0.5px; }
.close-btn { background: none; border: none; color: var(--header-title); font-weight: 700; font-size: 14px; cursor: pointer; padding: 4px; transition: opacity 0.2s; }
.close-btn:hover { opacity: 0.7; }
.modal-title { color: var(--navbar--normal); font-size: 22px; font-weight: 800; line-height: 1.3; margin: 0 0 14px 0; font-family: "Inter", sans-serif;}
.modal-subtitle { color: var(--text-note); font-size: 13px; line-height: 1.5; margin: 0 0 24px 0; font-family: "Inter", sans-serif;}
.form-group { display: flex; flex-direction: column; margin-bottom: 16px; width: 100%; }
.form-group label { color: var(--navbar--normal); font-size: 11px; font-weight: 700; margin-bottom: 6px; letter-spacing: 0.3px; font-family: "Inter", sans-serif;}
.form-group input { background-color: var(--bg-fundo-card-claro); border: 1px solid var(--btn-secondary-border); border-radius: 8px; padding: 12px 14px; font-size: 14px; color: var(--navbar--normal); outline: none; transition: border-color 0.2s, background-color 0.3s; box-sizing: border-box; font-family: "Inter", sans-serif;}
.form-group input:focus { border-color: var(--header-title); }
.form-group input::placeholder { color: var(--text-note); opacity: 0.6; }
.form-row { display: flex; gap: 16px; }
.submit-btn { background-color: var(--header-title); color: #ffffff; border: none; border-radius: 6px; width: 100%; padding: 14px; font-size: 15px; font-weight: 700; cursor: pointer; margin-top: 12px; transition: opacity 0.2s; font-family: "Inter", sans-serif;}
.submit-btn:hover { opacity: 0.9; }
.lgpd-text { color: var(--text-note); opacity: 0.7; font-size: 11px; text-align: center; line-height: 1.5; margin: 20px 0 0 0; font-family: "Inter", sans-serif;}