@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,600;0,700;0,800;0,900;1,800;1,900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy-950: #081b2c;
  --navy-900: #0e2a44;
  --navy-800: #123653;
  --navy-700: #184568;
  --teal-700: #155066;
  --teal-600: #1b6f8f;
  --teal-500: #2389ac;
  --teal-400: #4aa6c4;
  --teal-100: #e3f1f6;
  --ink: #0a0a0a;
  --white: #ffffff;
  --paper: #f5f6f7;
  --mist: #eceef0;
  --line: #dde1e4;
  --gray-600: #5b6570;
  --gray-500: #7c8792;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --gold: #e8a93a;
  --danger: #c1432f;

  --surface-page: var(--paper);
  --surface-canvas: var(--white);
  --surface-inverse: var(--navy-900);
  --surface-card: var(--white);
  --surface-sunken: var(--mist);
  --surface-brand: var(--navy-900);
  --surface-brand-alt: var(--teal-600);

  --text-heading: var(--navy-900);
  --text-body: #2a333b;
  --text-muted: var(--gray-600);
  --text-inverse: var(--white);
  --text-inverse-muted: #aebbc6;
  --text-link: var(--teal-600);
  --text-link-hover: var(--teal-700);

  --border-default: var(--line);
  --border-strong: var(--navy-900);

  --action-primary: var(--whatsapp);
  --action-primary-hover: var(--whatsapp-dark);
  --action-secondary: var(--navy-900);
  --action-secondary-hover: var(--navy-700);
  --focus-ring: var(--teal-500);

  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --fs-display-xl: clamp(2.6rem, 5vw, 4.2rem);
  --fs-display-lg: clamp(2rem, 3.4vw, 3rem);
  --fs-display-md: clamp(1.5rem, 2.4vw, 2.1rem);
  --fs-h3: 1.375rem;
  --fs-lead: 1.25rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-micro: 0.8125rem;

  --lh-tight: 1.05;
  --lh-snug: 1.2;
  --lh-normal: 1.45;
  --lh-relaxed: 1.6;

  --ls-tight: -0.01em;
  --ls-display: -0.02em;
  --ls-caps: 0.08em;

  --weight-display: 900;
  --weight-bold: 800;
  --weight-semibold: 700;
  --weight-medium: 600;
  --weight-regular: 400;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --radius-circle: 50%;

  --shadow-sm: 0 1px 3px rgba(10, 20, 30, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 25, 40, 0.12);
  --shadow-lg: 0 20px 48px rgba(10, 25, 40, 0.18);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.35);

  --container-max: 1180px;
  --container-pad: 24px;

  --header-h: 76px;
  --hero-fit: 16px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: auto;
  scroll-snap-type: none;
  scroll-padding-top: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: var(--lh-normal);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  position: relative;
}

a {
  color: var(--teal-500);
  text-decoration: none;
}

a:hover { color: var(--teal-600); }

a[href^="https://wa.me"] { white-space: normal; }

h1, h2, h3, .font-display {
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
}

section {
  position: relative;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
  scroll-margin-top: 0;
  min-height: 100svh;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  overflow-x: hidden;
  overflow-x: clip;
}

/* Nav vertical estilo DuPrint — fixo (moonscroll), só desktop */
.page-nav {
  display: none;
}

/* Scroll página a página só no desktop */
@media (min-width: 861px) {
  html {
    scroll-snap-type: y proximity;
  }

  /* Demais seções: encaixam na área abaixo do header (sem gap branco) */
  section:not(.hero) {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-margin-top: var(--header-h);
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
  }

  /* Hero full-bleed: mídia sob o header; conteúdo com padding */
  section.hero {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-margin-top: 0;
  }

  .page-nav {
    position: fixed;
    right: 10px;
    top: 50%;
    z-index: 70;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(-50%);
  }

  .page-nav-lines {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .page-nav-line {
    display: block;
    width: 3px;
    height: 16px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(14, 42, 68, 0.28);
    cursor: pointer;
    transition: background-color 0.18s ease, height 0.18s ease, opacity 0.18s ease;
  }

  .page-nav-line:hover {
    background: rgba(14, 42, 68, 0.5);
  }

  .page-nav-line.is-active {
    height: 22px;
    background: rgba(14, 42, 68, 0.92);
  }

  .page-nav-line:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 3px;
  }

  /* Fundo claro — tracinhos escuros */
  .page-nav.is-on-light .page-nav-line {
    background: rgba(14, 42, 68, 0.28);
  }

  .page-nav.is-on-light .page-nav-line:hover {
    background: rgba(14, 42, 68, 0.5);
  }

  .page-nav.is-on-light .page-nav-line.is-active {
    height: 22px;
    background: rgba(14, 42, 68, 0.92);
  }

  /* Fundo escuro — tracinhos claros */
  .page-nav.is-on-dark .page-nav-line {
    background: rgba(255, 255, 255, 0.35);
  }

  .page-nav.is-on-dark .page-nav-line:hover {
    background: rgba(255, 255, 255, 0.65);
  }

  .page-nav.is-on-dark .page-nav-line.is-active {
    height: 22px;
    background: #ffffff;
  }
}

[data-reveal] {
  transition: opacity 520ms cubic-bezier(0.16, 1, 0.3, 1), transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].reveal-armed {
  opacity: 0;
  transform: translateY(26px);
}

[data-reveal].reveal-armed.is-in {
  opacity: 1;
  transform: none;
}

[data-reveal].reveal-armed > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 480ms cubic-bezier(0.16, 1, 0.3, 1), transform 480ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].reveal-armed.is-in > * {
  opacity: 1;
  transform: none;
}

[data-reveal].reveal-armed.is-in > *:nth-child(2) { transition-delay: 90ms; }
[data-reveal].reveal-armed.is-in > *:nth-child(3) { transition-delay: 180ms; }
[data-reveal].reveal-armed.is-in > *:nth-child(4) { transition-delay: 270ms; }
[data-reveal].reveal-armed.is-in > *:nth-child(5) { transition-delay: 360ms; }
[data-reveal].reveal-armed.is-in > *:nth-child(6) { transition-delay: 450ms; }

@keyframes om-sheet-up {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@keyframes om-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  [data-reveal].reveal-armed > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-media-img {
    transform: none !important;
  }
}

.page {
  position: relative;
  font-family: var(--font-body);
  background: var(--surface-page);
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(14, 42, 68, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 12px var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: contain;
  background: transparent;
}

.brand-name {
  color: var(--white);
  font-size: 26px;
}

.header-nav {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: clamp(12px, 1.8vw, 24px);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
}

.header-nav a {
  color: var(--text-inverse-muted);
}

.header-nav a:hover { color: var(--white); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.header-menu-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.header-menu-btn:hover .header-menu-line {
  background: var(--teal-400);
}

.header-menu-line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: var(--white);
}

/* Modal do menu (calculadora / área restrita) */
.tools-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.tools-modal.is-open { display: flex; }

.tools-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 30, 0.62);
  backdrop-filter: blur(4px);
}

.tools-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px 20px 20px;
  box-sizing: border-box;
  animation: om-fade 200ms ease-out;
}

.tools-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.tools-sheet-title {
  margin: 0;
  font-size: 20px;
  color: var(--white);
}

.tools-sheet-sub {
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-inverse-muted);
}

.tools-sheet-close {
  background: none;
  border: none;
  color: var(--text-inverse-muted);
  font-size: 26px;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
}

.tools-sheet-close:hover { color: var(--white); }

.tools-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tools-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--navy-700);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: inherit;
  transition: background 150ms ease-out, border-color 150ms ease-out;
}

.tools-option:hover {
  background: rgba(74, 166, 196, 0.12);
  border-color: var(--teal-600);
}

.tools-option-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(35, 137, 172, 0.18);
  color: var(--teal-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tools-option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.tools-option-text strong {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.tools-option-text small {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--text-inverse-muted);
}

.header-spacer {
  /* Desktop: hero full-bleed sob o header — spacer desligado */
  display: none;
  height: 0;
}

.mobile-only { display: none; }
.desktop-only { display: block; }
.desktop-flex { display: flex; }
.desktop-grid { display: grid; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  background-image: radial-gradient(circle at 80% 20%, rgba(74, 166, 196, 0.25), transparent 55%);
  color: var(--white);
  /* Reserva o header fixo para o título não ficar atrás */
  padding: calc(var(--header-h) + clamp(16px, 2.2vh, 28px)) 24px clamp(28px, 4vh, 56px);
  height: 100vh;
  height: 100dvh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Mídia atrás + azul semitransparente (desktop e mobile) */
.hero {
  background: transparent;
  background-image: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #0e2a44;
}

.hero-media-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform-origin: 0 0;
  will-change: transform;
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      105deg,
      rgba(8, 27, 44, 0.84) 0%,
      rgba(14, 42, 68, 0.76) 45%,
      rgba(14, 42, 68, 0.66) 100%
    ),
    radial-gradient(
      ellipse 120% 90% at 50% 42%,
      rgba(14, 42, 68, 0.08) 50%,
      rgba(8, 27, 44, 0.42) 100%
    );
}

/* Mobile: véu mais transparente no topo, mais denso embaixo (texto/CTA) */
@media (max-width: 860px) {
  .hero-media-img {
    /* 15% cima + 7% direita no enquadramento */
    object-position: 48% 60%;
  }

  .hero-media-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(8, 27, 44, 0.45) 0%,
        rgba(14, 42, 68, 0.62) 38%,
        rgba(8, 27, 44, 0.88) 72%,
        rgba(8, 27, 44, 0.94) 100%
      ),
      radial-gradient(
        ellipse 140% 80% at 50% 20%,
        rgba(14, 42, 68, 0) 30%,
        rgba(8, 27, 44, 0.35) 100%
      );
  }
}

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: stretch;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(12px, 2.2vh, 22px);
  height: 100%;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2.2vh, 22px);
}

.hero-title {
  font-size: clamp(34px, min(3.6vw, 6.2vh), 56px);
  color: var(--white);
  line-height: var(--lh-tight);
  margin: 0;
  max-width: 560px;
  padding-top: 0.12em; /* evita corte do itálico no topo */
}

.hero-lead {
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--white);
  max-width: 480px;
  margin: 0;
}

.hero-trust-note {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-strip {
  width: 100%;
  margin-top: auto; /* cola na base da coluna do hero (desktop) */
  padding-top: clamp(16px, 2.6vh, 28px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  border-top: 1px solid var(--navy-700);
}

.trust-item { text-align: center; min-width: 0; }

.trust-value {
  font-size: clamp(14px, 1.4vw, 17px);
  color: var(--white);
  line-height: 1.15;
}

.trust-label {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--white);
  margin-top: 3px;
  line-height: 1.3;
}

/* Simulator card */
.sim-card {
  background: var(--navy-800);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.8vh, 32px) clamp(22px, 2.4vw, 28px);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--navy-700);
  box-sizing: border-box;
  min-width: 0;
}

.sim-card-embedded {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

.sim-card-title {
  color: var(--white);
  font-size: clamp(15px, 2.2vh, 18px);
  margin: 0 0 4px;
}

.sim-card-sub {
  font-family: var(--font-body);
  color: var(--text-inverse-muted);
  font-size: 12.5px;
  margin: 0 0 clamp(18px, 2.2vh, 22px);
}

.sim-fields {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sim-step1 {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.8vh, 18px);
}

.sim-label {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--text-inverse-muted);
  display: block;
  margin: 0;
}

.sim-label + .sim-input-wrap {
  margin-top: -6px; /* label colado ao campo */
}

.sim-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.sim-prefix {
  position: absolute;
  left: 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-inverse-muted);
  pointer-events: none;
  z-index: 1;
}

.sim-input {
  padding: clamp(8px, 1.5vh, 12px) 14px;
  padding-left: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--navy-700);
  background: var(--navy-900);
  color: var(--white);
  caret-color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  width: 100%;
  box-sizing: border-box;
  outline: none;
}

.sim-input::placeholder {
  color: var(--text-inverse-muted);
  font-weight: 600;
}

.sim-input:focus {
  border-color: var(--teal-600);
  box-shadow: 0 0 0 2px rgba(35, 137, 172, 0.35);
}

.sim-tabs {
  display: flex;
  gap: 8px;
}

.sim-tab {
  flex: 1;
  padding: clamp(7px, 1.3vh, 11px) 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out;
  border: 1px solid var(--navy-700);
  background: var(--navy-900);
  color: var(--text-inverse-muted);
}

.sim-tab.is-active {
  border-color: var(--teal-600);
  background: var(--teal-600);
  color: var(--white);
}

[data-sim-bandeiras] .sim-tab {
  font-size: 13px;
  padding: clamp(7px, 1.3vh, 10px) 6px;
}

/* Dropdown customizado de parcelas */
.sim-dd {
  position: relative;
}

.sim-dd-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  padding: clamp(8px, 1.5vh, 12px) 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--navy-700);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  color: var(--white);
  background: var(--navy-900);
  cursor: pointer;
  outline: none;
}

.sim-dd-toggle:focus-visible,
.sim-dd.is-open .sim-dd-toggle {
  border-color: var(--teal-600);
  box-shadow: 0 0 0 2px rgba(35, 137, 172, 0.35);
}

.sim-dd-chevron {
  flex-shrink: 0;
  color: var(--text-inverse-muted);
  transition: transform 150ms ease-out;
}

.sim-dd.is-open .sim-dd-chevron { transform: rotate(180deg); }

.sim-dd-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 40;
  display: none;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  padding: 10px;
  background: var(--navy-900);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.sim-dd.is-open .sim-dd-menu { display: grid; }

.sim-dd-opt {
  padding: 9px 0;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
  background: transparent;
  color: var(--text-inverse-muted);
  cursor: pointer;
  transition: background 120ms ease-out, color 120ms ease-out, border-color 120ms ease-out;
}

.sim-dd-opt:hover {
  border-color: var(--teal-600);
  color: var(--white);
}

.sim-dd-opt.is-active {
  background: var(--teal-600);
  border-color: var(--teal-600);
  color: var(--white);
}

.sim-result {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.2vh, 12px);
  background: var(--navy-900);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius-md);
  padding: clamp(14px, 1.8vh, 18px) 16px;
}

.sim-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--text-inverse-muted);
}

.sim-row.baseline { align-items: baseline; }

.sim-pmt {
  font-size: clamp(17px, 2.6vh, 22px);
  color: var(--whatsapp);
}

.sim-total { color: var(--white); }
.sim-juros { color: #e24b4a; }

.sim-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--whatsapp);
  color: #053b1c !important;
  border: none;
  border-radius: var(--radius-pill);
  padding: clamp(9px, 1.7vh, 14px) 24px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none !important;
  text-align: center;
  box-sizing: border-box;
  transition: opacity 150ms ease-out;
}

.sim-primary:hover {
  color: #053b1c !important;
}

.sim-primary.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.sim-hint {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: var(--text-inverse-muted);
  text-align: center;
  margin: 0;
  padding-top: 2px;
}

.sim-ghost {
  width: 100%;
  background: transparent;
  color: var(--text-inverse-muted);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.sim-summary {
  background: var(--navy-900);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius-md);
  padding: 18px 16px;
}

.sim-summary-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-inverse-muted);
  margin-bottom: 6px;
}

.sim-summary-pmt {
  font-size: clamp(28px, 4vh, 34px);
  color: var(--whatsapp);
  line-height: 1.1;
}

.sim-summary-pmt.is-empty {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-inverse-muted);
  letter-spacing: 0.04em;
}

.sim-summary.is-empty .sim-summary-pmt {
  font-size: 22px;
  color: var(--text-inverse-muted);
}

.sim-summary-meta {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-inverse-muted);
  margin-top: 8px;
}

.sim-summary-meta .sim-juros {
  color: #e24b4a;
}

/* Sections shared */
.section-pad {
  padding: clamp(32px, 6vh, 80px) 24px;
}

.section-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto clamp(20px, 4vh, 44px);
}

.kicker {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--teal-500);
}

.section-title {
  font-size: clamp(24px, 5vh, 40px);
  margin: 10px 0 12px;
}

.section-lead {
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: clamp(13px, 2.4vh, 16px);
  margin: 0;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2.2vh, 20px);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.4vh, 24px);
}

/* Card */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease-out, border-color 180ms ease-out, box-shadow 180ms ease-out;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--teal-600);
  box-shadow: var(--shadow-md);
}

.benefit-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}

.benefit-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal-400);
}

.benefit-title {
  font-family: var(--font-body);
  font-size: clamp(15px, 2.4vh, 17px);
  font-weight: 800;
  color: var(--text-heading);
}

.benefit-body {
  font-family: var(--font-body);
  font-size: clamp(12.5px, 2.1vh, 14px);
  color: var(--text-body);
  line-height: 1.55;
}

/* How it works */
.section-dark {
  background: var(--navy-900);
  color: var(--white);
}

.section-dark .section-lead { color: var(--text-inverse-muted); }
.section-dark .section-title { color: var(--white); }

.step-card {
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius-md);
  padding: clamp(18px, 3vh, 28px) 24px;
  transition: transform 180ms ease-out, border-color 180ms ease-out;
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal-600);
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  margin-bottom: 10px;
}

.step-num {
  font-size: clamp(28px, 4.5vh, 40px);
  color: var(--teal-400);
  line-height: 1;
}

.step-title {
  font-family: var(--font-body);
  font-size: clamp(15px, 2.4vh, 17px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.step-body {
  font-family: var(--font-body);
  font-size: clamp(12.5px, 2.1vh, 14px);
  color: var(--text-inverse-muted);
  line-height: 1.55;
}

.steps-cta-wrap {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-inverse-muted);
}

/* Testimonial */
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 180ms ease-out, border-color 180ms ease-out;
}

.testimonial:hover {
  transform: translateY(-2px);
  border-color: var(--teal-600);
}

.testimonial-quote {
  font-family: var(--font-body);
  font-size: clamp(14px, 2.2vh, 16px);
  color: var(--text-body);
  line-height: 1.55;
  margin: 0;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--teal-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
}

.testimonial-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-heading);
}

.testimonial-city {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
}

/* Partners */
.partners {
  background: var(--navy-900);
  background-image: radial-gradient(circle at 85% 15%, rgba(74, 166, 196, 0.18), transparent 55%);
}

.partner-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "copy list"
    "cta list";
  gap: 22px 64px;
  align-items: center;
}

.partner-copy { grid-area: copy; }

.partner-copy p {
  font-family: var(--font-body);
  font-size: clamp(13px, 2.4vh, 16px);
  color: var(--text-inverse-muted);
  line-height: 1.6;
  margin: 0;
}

.partner-list {
  grid-area: list;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.partner-cta {
  grid-area: cta;
  justify-self: start;
  align-self: start;
}

.partner-item {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 15px;
  transition: transform 180ms ease-out, border-color 180ms ease-out;
}

.partner-item:hover {
  transform: translateY(-2px);
  border-color: var(--teal-600);
}

.partner-num {
  font-size: 22px;
  color: var(--teal-400);
  min-width: 24px;
}

.partner-label {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--white);
}

/* FAQ */
.faq-inner { max-width: 720px; margin: 0 auto; width: 100%; }

.faq-head {
  text-align: center;
  margin-bottom: 40px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.accordion-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.accordion-btn::after {
  content: '+';
  font-size: 22px;
  color: var(--teal-600);
  font-weight: 400;
  line-height: 1;
}

.accordion-item.is-open .accordion-btn::after { content: '−'; }

.accordion-panel {
  display: none;
  padding: 0 20px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.55;
}

.accordion-item.is-open .accordion-panel { display: block; }

/* Final CTA */
.final-cta {
  background: var(--navy-900);
  background-image: radial-gradient(circle at 50% 0%, rgba(74, 166, 196, 0.2), transparent 60%);
  color: var(--white);
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
  width: 100%;
  max-width: 100%;
}

.final-wrap {
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

.final-title {
  font-size: var(--fs-display-lg, 44px);
  color: var(--white);
  line-height: var(--lh-tight);
  margin: 0;
}

.final-lead {
  font-family: var(--font-body);
  font-size: clamp(13px, 2.4vh, 16px);
  color: var(--text-inverse-muted);
  margin: 0;
}

.footer-block {
  margin: 0;
  width: 100%;
  max-width: 100%;
  background: var(--ink);
  padding: 16px 24px;
  box-sizing: border-box;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: contain;
  background: transparent;
}

.footer-brand .font-display {
  color: var(--white);
  font-size: 16px;
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
}

.footer-nav a { color: var(--text-inverse-muted); }
.footer-nav a:hover { color: var(--white); }

.footer-legal {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-inverse-muted);
  line-height: 1.5;
}

/* WhatsApp CTA button */
.wa-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--whatsapp);
  color: #053b1c !important;
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 150ms ease-out, transform 150ms ease-out;
}

.wa-cta:hover {
  background: var(--whatsapp-dark);
  color: #053b1c !important;
}

.wa-cta.lg { padding: 14px 28px; font-size: 16px; }
.wa-cta.full { width: 100%; }
.wa-cta.sm { padding: 10px 16px; font-size: 14px; height: 40px; }

.wa-cta svg { flex-shrink: 0; }

/* Float */
.wa-float {
  position: fixed;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  right: 14px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 60;
}

.wa-float.is-visible { display: flex; }

/* Mobile modal */
.sim-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 18, 30, 0.6);
  backdrop-filter: blur(3px);
  z-index: 90;
  display: none;
  align-items: stretch;
  animation: om-fade 200ms ease-out;
}

.sim-modal.is-open { display: flex; }

.sim-sheet {
  animation: om-sheet-up 320ms cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  height: 100%;
  height: 100dvh;
  height: 100svh;
  max-height: none;
  background: var(--navy-800);
  border-radius: 0;
  border: none;
  padding: max(16px, env(safe-area-inset-top, 0px)) 24px calc(20px + env(safe-area-inset-bottom, 0px));
  box-shadow: none;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.sim-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding-right: 4px;
  flex-shrink: 0;
}

.sim-sheet .sim-card-embedded {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.sim-sheet .sim-fields,
.sim-sheet .sim-step1 {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.sim-sheet .sim-summary {
  margin-top: auto;
}

.sim-sheet .sim-field-alert,
.sim-sheet .sim-primary,
.sim-sheet .sim-hint {
  flex-shrink: 0;
}

.sim-sheet-close {
  background: none;
  border: none;
  color: var(--text-inverse-muted);
  font-size: 26px;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-secondary {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-secondary:hover { color: var(--teal-400); }

/* Instagram — glyph colorido oficial, área de toque ≥44px */
.ig-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  text-decoration: none;
  line-height: 1;
  transition: opacity 0.18s ease, transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.ig-link:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.ig-link:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

.ig-icon {
  display: block;
  flex-shrink: 0;
}

.ig-link--header {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ig-link--footer {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.ig-link--footer:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.hero-mobile-brand { display: none; }

.mobile-sim-btn {
  display: none;
  width: 100%;
  background: var(--whatsapp);
  color: #053b1c;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.95em 1.5em;
  font-family: var(--font-body);
  font-size: 1.05em;
  font-weight: 800;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 860px) {
  /* Scroll livre no mobile — sem snap / página a página */
  html,
  body {
    scroll-snap-type: none !important;
    scroll-padding-top: 0;
    overflow-anchor: none;
  }

  section {
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
    scroll-margin-top: 0;
    min-height: auto;
    justify-content: flex-start;
    overflow-anchor: none;
  }

  section.hero {
    overflow-anchor: none;
  }

  .desktop-only,
  .desktop-flex,
  .desktop-grid { display: none !important; }

  .mobile-only { display: block; }
  .mobile-flex { display: flex !important; }

  /* Header só na hero: absoluto no topo e some ao rolar */
  .site-header {
    position: absolute;
    display: block !important;
  }

  .header-spacer {
    display: none !important;
    height: 0 !important;
  }

  .header-inner {
    padding: 10px 20px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand-name {
    font-size: 22px;
  }

  .header-nav { display: none !important; }

  .hero,
  section.hero {
    padding: calc(var(--header-h) + 8px) 24px max(24px, env(safe-area-inset-bottom, 0px));
    height: 100vh;
    height: 100dvh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100dvh;
    min-height: 100svh;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: stretch;
  }

  .page-nav {
    display: none !important;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    gap: 0;
    margin: 0;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.05em;
    align-items: stretch;
    text-align: center;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    font-size: var(--hero-fit);
    box-sizing: border-box;
    /* Sempre visível no mobile — evita “hero vazio” no 1º paint */
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-text > * {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Título + lead centralizados na vertical; CTA fica na base */
  .hero-copy {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.05em;
    min-height: 0;
    width: 100%;
    text-align: center;
  }

  .hero-mobile-brand { display: none !important; }

  .hero-title {
    font-size: 2.31em; /* +10% */
    max-width: none;
    width: 100%;
    line-height: 1.1;
    margin: 0;
    text-align: center;
  }

  .hero-lead {
    font-size: 1.122em; /* +10% */
    max-width: none;
    width: 100%;
    line-height: 1.5;
    text-align: center;
  }

  .hero-lead-desktop { display: none !important; }
  .hero-lead-mobile { display: block; }

  .hero-cta-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75em;
    width: 100%;
    margin-top: 0;
    padding-top: 0.8em;
    padding-bottom: 0.2em;
    flex-shrink: 0;
  }

  .mobile-sim-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.95em 1.5em;
    font-size: 1.155em; /* +10% */
  }

  .hero-secondary {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1.045em; /* +10% */
  }

  .ig-link--header {
    width: 44px;
    height: 44px;
  }

  .section-pad {
    padding: 40px 24px 56px;
    min-height: 100svh;
    box-sizing: border-box;
  }

  .section-inner,
  .partner-grid,
  .faq-inner {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .section-head {
    text-align: left;
    max-width: 100%;
    margin: 0 0 24px;
  }

  .kicker { font-size: 11px; }
  .section-title { font-size: 23px; }
  .section-lead { font-size: 14px; }

  .grid-4 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Com um pouco mais de largura (tablet), volta a 2 colunas */
  @media (min-width: 520px) {
    .grid-4 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Mobile: só 3 depoimentos */
  #depoimentos .testimonial:nth-child(n + 4) {
    display: none;
  }

  .card {
    padding: 16px;
    min-width: 0;
  }

  .benefit-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .benefit-head { gap: 8px; }
  .benefit-title { font-size: 14.5px; }
  .benefit-body { font-size: 12.5px; }

  .step-card { padding: 20px 18px; }

  .step-top {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: auto;
    margin-bottom: 6px;
    justify-content: flex-start;
  }

  .step-num { font-size: 24px; }

  .step-title-mobile {
    display: block;
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 800;
    color: var(--white);
    margin: 0;
  }

  .step-title-desktop { display: none; }
  .step-wa-desktop { display: none; }
  .step-wa-mobile { display: block; margin-top: 16px; }

  .steps-cta-wrap {
    margin-top: 28px;
    align-items: stretch;
  }

  .partner-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "list"
      "cta";
    gap: 24px;
  }

  .partner-cta {
    justify-self: stretch;
    width: 100%;
    margin-top: 4px;
  }

  .partner-item {
    padding: 14px 16px;
    font-size: 14px;
  }

  /* Indique e receba: altura só do conteúdo no mobile */
  #parceiros.section-pad {
    min-height: 0;
    height: auto;
    justify-content: flex-start;
    padding: 32px 24px 40px;
  }

  .faq-head {
    text-align: left;
    margin-bottom: 24px;
  }

  /* FAQ: altura só do conteúdo no mobile */
  #faq.section-pad {
    min-height: 0;
    height: auto;
    justify-content: flex-start;
    padding: 32px 24px 40px;
  }

  /* Última página: altura só do conteúdo no mobile */
  .final-cta.section-pad {
    min-height: 0;
    height: auto;
    justify-content: flex-start;
    padding-top: 32px;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }

  .final-wrap {
    text-align: left;
    align-items: stretch;
    justify-content: flex-start;
    flex: 0 0 auto;
    gap: 16px;
    padding: 8px 24px 28px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .final-title {
    font-size: 28px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .final-cta .wa-cta {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
  }

  .footer-block {
    margin: 0;
    width: 100%;
    max-width: 100%;
    padding: 16px 24px calc(16px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
  }

  .site-header,
  .header-inner,
  .hero,
  .hero-grid,
  .hero-text,
  .section-pad,
  .section-inner {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .section-pad {
    overflow-x: clip;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-brand-row {
    width: 100%;
    justify-content: space-between;
    text-align: left;
  }

  .ig-link--footer {
    width: 44px;
    height: 44px;
  }

  .footer-nav { gap: 14px; font-size: 13px; }
  .footer-legal { font-size: 11px; }

  .sim-tab { padding: 12px 14px; }
  .sim-modal .sim-step1 { gap: clamp(12px, 2.4vh, 20px); }
  .sim-modal .sim-card-sub { margin-bottom: 0; }
  .sim-modal .sim-label { font-size: 14px; }
  .sim-modal .sim-prefix { font-size: 16px; }
  .sim-modal .sim-input,
  .sim-modal .sim-dd-toggle {
    padding-top: clamp(12px, 1.8vh, 16px);
    padding-bottom: clamp(12px, 1.8vh, 16px);
    font-size: 18px;
  }
  .sim-modal .sim-input { padding-left: 46px; }
  .sim-modal .sim-result { gap: 12px; padding: 16px 18px; }
  .sim-modal .sim-pmt { font-size: 24px; }
  .sim-modal .sim-row { font-size: 13px; }
  .sim-modal .sim-hint { font-size: 12px; margin-top: 4px; }
  .sim-modal .sim-summary {
    padding: clamp(14px, 2vh, 20px) 16px;
  }
  .sim-modal .sim-summary-pmt { font-size: clamp(28px, 5vh, 36px); }
  .sim-modal .sim-summary-meta { font-size: 13px; }
  .sim-modal .sim-primary {
    padding: clamp(14px, 2vh, 18px) 24px;
    font-size: 16px;
  }
}

@media (min-width: 861px) {
  .hero-lead-mobile { display: none; }
  .step-title-mobile { display: none; }
  .step-wa-mobile { display: none; }
  .wa-float { display: none !important; }

  /*
   * NÃO somar --header-h no padding: o scroll/snap já desalinha
   * a seção abaixo do header. Somar de novo gerava o buraco branco.
   */
  section.section-pad {
    padding-top: clamp(32px, 6vh, 80px);
  }

  /* Card do simulador compacto para caber no hero sem estourar */
  .hero-grid { align-items: center; }

  /* Título + descrição centralizados na coluna (acima do trust-strip) */
  .hero-cta-row { display: none; }

  .hero-copy {
    margin-top: auto;
  }

  .hero-trust-note {
    margin-bottom: 0;
  }

  .trust-strip {
    margin-top: auto;
  }

  .hero .sim-card {
    padding: 18px 22px;
  }

  .hero .sim-card .sim-step1 { gap: 10px; }
  .hero .sim-card .sim-card-title { font-size: 15px; margin-bottom: 2px; }
  .hero .sim-card .sim-card-sub { margin-bottom: 12px; font-size: 12px; }
  .hero .sim-card .sim-label { font-size: 12px; }

  .hero .sim-card .sim-input,
  .hero .sim-card .sim-dd-toggle {
    padding-top: 9px;
    padding-bottom: 9px;
    font-size: 15px;
  }

  .hero .sim-card .sim-tab { padding: 8px 8px; font-size: 13px; }

  .hero .sim-card .sim-summary { padding: 12px 14px; }
  .hero .sim-card .sim-summary-label { font-size: 12px; margin-bottom: 4px; }
  .hero .sim-card .sim-summary-pmt { font-size: clamp(22px, 3vh, 28px); }
  .hero .sim-card .sim-summary-meta { font-size: 12px; margin-top: 6px; }

  .hero .sim-card .sim-primary { padding: 10px 24px; font-size: 15px; }
  .hero .sim-card .sim-hint { font-size: 11px; }
}

/* Página standalone da calculadora */
.calc-page {
  min-height: 100svh;
  background:
    radial-gradient(ellipse 90% 60% at 80% -10%, rgba(74, 166, 196, 0.22), transparent 55%),
    linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 48%, #102f4a 100%);
  color: var(--white);
}

.calc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 520px;
  margin: 0 auto;
  padding: 16px 20px;
}

.brand[href] {
  text-decoration: none;
  color: inherit;
}

.calc-brand {
  text-decoration: none;
  color: inherit;
}

/* Header da home nas páginas de calculadora */
.calc-page .site-header {
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.header-back {
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-inverse-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 150ms ease-out;
}

.header-back:hover {
  color: var(--white);
}

.calc-brand img {
  width: 44px;
  height: 44px;
}

.calc-brand .brand-name {
  color: var(--white);
  font-size: 20px;
}

.calc-back {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-inverse-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 150ms ease-out, border-color 150ms ease-out;
}

.calc-back:hover {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

.calc-main {
  max-width: 520px;
  margin: 0 auto;
  padding: 12px 20px 40px;
  box-sizing: border-box;
}

/* Calculadora pública: mesmos padrões de campo da área restrita */
.calc-page:not(:has(.biz-layout)) .calc-main {
  max-width: 480px;
}

.calc-page:not(:has(.biz-layout)) .sim-card {
  padding: 20px 22px;
}

.calc-page:not(:has(.biz-layout)) .sim-step1 {
  gap: 12px;
}

.calc-page:not(:has(.biz-layout)) .sim-label {
  font-size: 12px;
}

.calc-page:not(:has(.biz-layout)) .sim-input,
.calc-page:not(:has(.biz-layout)) .sim-dd-toggle {
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 15px;
}

.calc-page:not(:has(.biz-layout)) .sim-prefix {
  font-size: 14px;
}

.calc-page:not(:has(.biz-layout)) .sim-tab {
  padding: 8px 8px;
  font-size: 13px;
}

.calc-page:not(:has(.biz-layout)) .sim-summary {
  padding: 12px 14px;
}

.calc-page:not(:has(.biz-layout)) .sim-summary-label {
  font-size: 12px;
  margin-bottom: 4px;
}

.calc-page:not(:has(.biz-layout)) .sim-summary-pmt {
  font-size: 28px;
}

.calc-page:not(:has(.biz-layout)) .sim-summary-pmt.is-empty,
.calc-page:not(:has(.biz-layout)) .sim-summary.is-empty .sim-summary-pmt {
  font-size: 20px;
}

.calc-page:not(:has(.biz-layout)) .sim-summary-meta {
  font-size: 12px;
  margin-top: 6px;
}

.calc-page:not(:has(.biz-layout)) .sim-primary,
.calc-page:not(:has(.biz-layout)) .sim-field-alert {
  padding: 11px 20px;
  font-size: 15px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.calc-card-wrap .sim-card {
  width: 100%;
}

/* Nas páginas de calculadora, sections são blocos normais (sem scroll paginado) */
.calc-page section {
  min-height: 0;
  display: block;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

/* Painel privado (calculadora empresarial) */
.biz-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  min-width: 0;
}

.biz-cta-slot:empty {
  display: none;
}

.biz-panel {
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius-md);
  padding: 18px 16px;
}

/* Mobile: um único bloco visual, CTA no final */
@media (max-width: 860px) {
  .biz-stack {
    background: var(--navy-800);
    border: 1px solid var(--navy-700);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
  }

  .biz-stack .calc-card-wrap .sim-card {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }

  .biz-stack .biz-panel {
    margin-top: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
  }

  .biz-stack .biz-cta-slot {
    display: block;
    padding: 0 16px 16px;
  }

  .biz-stack .biz-cta-slot:empty {
    display: none;
  }
}

.biz-panel-title {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--white);
  letter-spacing: 0.02em;
}

.biz-lead {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-inverse-muted);
}

.biz-step {
  padding: 10px 0 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.biz-step:first-of-type { border-top: none; padding-top: 0; }

.biz-step-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}

.biz-step-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-circle);
  background: var(--teal-600);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.biz-step-title {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
}

.biz-step-desc {
  margin: 2px 0 0;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-inverse-muted);
}

.biz-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 5px 0 5px 32px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-inverse-muted);
}

.biz-row strong {
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
}

.biz-row strong.biz-gain { color: var(--whatsapp); }
.biz-row strong.biz-cost { color: #e8a93a; }

.biz-margin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 0;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-inverse-muted);
}

.biz-margin-input {
  width: 84px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--navy-700);
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-align: right;
  outline: none;
}

.biz-margin-input:focus { box-shadow: 0 0 0 2px var(--focus-ring); }

.biz-note {
  margin: 12px 0 0;
  font-family: var(--font-body);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-inverse-muted);
}

.biz-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(12px);
  z-index: 80;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: rgba(8, 27, 44, 0.94);
  border: 1px solid var(--navy-700);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease-out, transform 180ms ease-out;
}

.biz-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

button.sim-primary {
  font: inherit;
}

.sim-cta-slot {
  display: flex;
  flex-direction: column;
}

.sim-field-alert {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: clamp(9px, 1.7vh, 14px) 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--navy-700);
  background: var(--navy-900);
  color: var(--text-inverse-muted);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.sim-field-alert[hidden] { display: none !important; }

.sim-cta-slot .sim-primary[hidden] { display: none !important; }

.sim-input.is-missing,
.sim-dd-toggle.is-missing,
[data-sim-bandeiras].is-missing .sim-tab {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 2px rgba(35, 137, 172, 0.28);
}

[data-dd-label].is-placeholder {
  color: var(--text-inverse-muted);
  font-weight: 600;
}

/* Gate de senha — calculadora empresarial */
.calc-page.is-locked {
  visibility: hidden;
  pointer-events: none;
}

body.biz-auth-open {
  overflow: hidden;
}

.biz-auth {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  background:
    radial-gradient(ellipse 90% 60% at 80% -10%, rgba(74, 166, 196, 0.22), transparent 55%),
    linear-gradient(165deg, rgba(8, 27, 44, 0.96) 0%, rgba(14, 42, 68, 0.97) 48%, rgba(16, 47, 74, 0.98) 100%);
  backdrop-filter: blur(6px);
}

.biz-auth.is-open { display: flex; }

.biz-auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px 26px 24px;
  box-sizing: border-box;
}

.biz-auth-brand {
  margin-bottom: 18px;
}

.biz-auth-brand img {
  width: 44px;
  height: 44px;
}

.biz-auth-brand .brand-name {
  color: var(--white);
  font-size: 20px;
}

.biz-auth-title {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--white);
}

.biz-auth-sub {
  margin: 0 0 22px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-inverse-muted);
}

.biz-auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.biz-auth-input {
  letter-spacing: 0.18em;
}

.biz-auth-error {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  color: #e8a93a;
}

.biz-auth-submit {
  margin-top: 6px;
}

.biz-auth-back {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-inverse-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.biz-auth-back:hover {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

/* Desktop: calculadora e relatório lado a lado, sem scroll */
@media (min-width: 861px) {
  .calc-page {
    display: flex;
    flex-direction: column;
    height: 100svh;
    overflow: hidden;
  }

  .biz-layout {
    flex: 1 1 auto;
    min-height: 0;
    max-width: 1040px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 12px;
  }

  .biz-layout .biz-stack {
    flex: 0 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 16px;
    align-items: start;
  }

  .biz-layout .biz-panel {
    margin-top: 0;
    padding: 12px 14px;
    height: fit-content;
    align-self: start;
  }

  .biz-layout .biz-cta-slot {
    display: none;
  }

  .biz-layout .sim-card {
    padding: 14px 16px;
  }

  .biz-layout .sim-step1 {
    gap: 8px;
  }

  .biz-layout .sim-label {
    font-size: 11.5px;
  }

  .biz-layout .sim-input,
  .biz-layout .sim-dd-toggle {
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 14px;
  }

  .biz-layout .sim-tab {
    padding: 7px 6px;
    font-size: 12px;
  }

  .biz-layout .sim-summary {
    padding: 10px 12px;
  }

  .biz-layout .sim-summary-label {
    font-size: 11.5px;
    margin-bottom: 2px;
  }

  .biz-layout .sim-summary-pmt {
    font-size: 24px;
  }

  .biz-layout .sim-summary-meta {
    font-size: 11.5px;
    margin-top: 4px;
  }

  .biz-layout .sim-primary,
  .biz-layout .sim-field-alert {
    padding: 10px 16px;
    font-size: 14px;
  }

  .biz-layout .biz-step {
    padding: 6px 0 4px;
  }

  .biz-layout .biz-step-head {
    gap: 8px;
    margin-bottom: 2px;
  }

  .biz-layout .biz-step-num {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }

  .biz-layout .biz-step-title {
    font-size: 12px;
  }

  .biz-layout .biz-step-desc {
    font-size: 11px;
    line-height: 1.25;
  }

  .biz-layout .biz-row {
    padding: 3px 0 3px 26px;
    font-size: 12px;
  }
}

@media (max-width: 860px) {
  .calc-header {
    padding: 12px 20px;
  }

  .calc-main {
    padding: 8px 20px max(32px, env(safe-area-inset-bottom, 0px));
  }
}
