/* ─────────────────────────────────────────────
   KyonMed — Home / sales page
   Design language: light lavender, indigo,
   rounded, soft shadows. Plus Jakarta Sans.
   ───────────────────────────────────────────── */

:root {
  /* brand — royal blue (matched to real KyonMed UI) */
  --primary-900:#16224A; --primary-800:#1E3A8A; --primary-700:#2543C4;
  --primary-600:#2F54E0; --primary-500:#3b5bf6; --primary-200:#C3D0F8;
  --primary-100:#E0E7FD; --primary-50:#EEF1FC;
  /* neutrals */
  --bg:#F4F5FB; --surface:#FFFFFF; --text-strong:#0F172A; --text:#1F2937;
  --text-muted:#6B7280; --text-faint:#9CA3AF; --border:#E5E7EB; --border-soft:#EEF0F4;
  /* state */
  --success:#22C55E; --success-bg:#DCFCE7; --warning:#F59E0B; --warning-bg:#FEF3C7;
  --danger:#EF4444; --danger-bg:#FEE2E2; --info:#3B82F6; --purple:#8B5CF6; --teal:#14B8A6;
  /* radius */
  --radius-pill:999px; --radius-lg:22px; --radius-md:12px; --radius-sm:8px;
  /* shadow */
  --shadow-sm:0 1px 2px rgba(16,24,40,.04);
  --shadow-card:0 4px 16px rgba(16,24,40,.06);
  --shadow-lg:0 12px 32px rgba(16,24,40,.10);
  --shadow-xl:0 28px 64px rgba(16,24,40,.14);
  --shadow-primary:0 8px 20px rgba(47,84,224,.28);
  /* type */
  --font:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  /* gradient */
  --grad-hero:linear-gradient(135deg,#3b5bf6 0%,#2F54E0 55%,#2543C4 100%);
  /* layout */
  --max:1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--primary-200); color: var(--primary-900); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ───── typography helpers ───── */
.overline {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 17px 8px 9px; border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 13.5px; font-weight: 600; letter-spacing: 0;
  text-transform: none; color: var(--text-strong);
  white-space: nowrap;
}
.overline svg {
  width: 24px; height: 24px; flex: none; color: var(--primary-600);
  background: var(--primary-50); border-radius: 50%; padding: 5px;
}
.overline--center { justify-content: center; }

.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 12px; border-radius: var(--radius-pill);
  background: var(--primary-50); border: 1px solid var(--primary-100);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--primary-600);
}
.eyebrow-pill svg { width: 15px; height: 15px; }

h1, h2, h3 { font-weight: 800; color: var(--text-strong); letter-spacing: -0.02em; line-height: 1.12; margin: 0; }

.section { padding: 104px 0; position: relative; }
.section--tint { background: var(--primary-50); }
.section--soft { background: var(--surface); }
.section__head { max-width: 760px; }
.section__head--center { margin: 0 auto; text-align: center; }
.section__title {
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--primary-900);
  text-wrap: balance;
}
.section__title--alt { color: var(--text-strong); }
.section__lead {
  margin: 18px 0 0; font-size: 17px; color: var(--text-muted);
  line-height: 1.6; text-wrap: pretty;
}

/* ───── buttons ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px; padding: 13px 22px;
  border-radius: 999px; transition: background .18s, box-shadow .2s, transform .15s, border-color .18s, color .18s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn--primary {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--primary-600); color: #fff;
  box-shadow: none;
}
.btn--primary > * { position: relative; z-index: 2; }
.btn--primary::before, .btn--primary::after { display: none; }
.btn--primary:hover { background: #fff; color: #071838; }
.btn--primary:hover svg { color: #071838; stroke: #071838; }
.btn--primary:active { background: #f0f2f8; color: #071838; }
.btn--lg { padding: 16px 28px; font-size: 16px; border-radius: 999px; }
.btn--secondary {
  background: var(--surface); color: var(--primary-600);
  border: 1px solid var(--primary-200);
}
.btn--secondary:hover { background: #fff !important; color: #00203b !important; border-color: #fff !important; }
.btn--ghost { color: var(--primary-600); padding: 13px 14px; }
.btn--ghost:hover { background: var(--primary-50); }
.btn--white {
  background: #fff; color: var(--primary-700);
  border: 1.5px solid transparent;
}
.btn--white:hover {
  box-shadow: var(--shadow-lg);
  background: var(--accent); color: #fff !important;
  border: 1.5px solid #fff;
  transform: none !important;
}
.btn--white:hover svg, .btn--white:hover .btn__arrow { color: #fff !important; stroke: #fff !important; }
.btn--block { width: 100%; }
.btn__arrow { transition: transform .2s; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ───── NAV ───── */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244,245,251,0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav__inner {
  max-width: var(--max); margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; gap: 28px;
}
.nav__logo {
  display: inline-flex; align-items: center; gap: 10px;
  flex: none;
  font-weight: 800; font-size: 20px; color: var(--primary-900);
  letter-spacing: -0.02em;
}
.nav__logo-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--grad-hero); display: grid; place-items: center;
  box-shadow: var(--shadow-primary);
}
.nav__logo-mark svg { width: 18px; height: 18px; color: #fff; }
.nav__logo b { font-weight: 800; }
.nav__logo span { color: var(--primary-500); }
.nav__logo img { height: 26px; width: auto; max-width: none; flex: none; display: block; }
.foot__brand .nav__logo img { height: 40px; }
.nav__links { display: flex; gap: 4px; margin-left: 14px; }
.nav__links a {
  padding: 8px 14px; border-radius: var(--radius-md);
  font-size: 14.5px; font-weight: 500; color: var(--text-muted);
  transition: color .15s, background .15s;
}
.nav__links a:hover { color: var(--primary-700); background: var(--primary-50); }
.nav__spacer { flex: 1; }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__agents {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: var(--text); padding: 8px 12px;
  border-radius: var(--radius-md); transition: background .15s;
}
.nav__agents:hover { background: var(--primary-50); color: var(--primary-700); }
.nav__agents .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--primary-500);
}

/* ───── FLOATING GLASS HEADER ───── */
.topbar {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 60;
  display: flex; justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}
.topbar__pill {
  position: relative; z-index: 2;
  pointer-events: auto;
  display: flex; align-items: center; gap: 14px;
  width: min(1200px, 100%);
  padding: 9px 10px 9px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  -webkit-backdrop-filter: blur(10px) saturate(150%) brightness(1.05);
  backdrop-filter: url(#liquid-glass) blur(10px) saturate(150%) brightness(1.05);
  border: 0.5px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 0.5px 0.5px rgba(255,255,255,0.20),
    inset 0 -0.5px 0.5px rgba(255,255,255,0.07),
    inset 0.5px 0 0.5px rgba(255,255,255,0.05),
    inset -0.5px 0 0.5px rgba(255,255,255,0.05),
    0 6px 20px rgba(0,0,0,0.015);
}
@supports not (backdrop-filter: url(#liquid-glass)) {
  .topbar__pill { background: rgba(255,255,255,0.22); }
}
.topbar__logo { flex: none; display: inline-flex; align-items: center; }
.topbar__logo img { height: 24px; width: auto; max-width: none; display: block; }
.topbar__logo .topbar__logo-img--dark { display: none; }
.topbar__nav { display: flex; align-items: center; gap: 2px; margin-left: 4px; }
.topbar__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 11px; border-radius: 999px;
  font-family: var(--font);
  font-size: 14.5px; font-weight: 500; color: var(--text);
  background: transparent; border: none; cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.topbar__link:hover {
  background: transparent;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  background-image: var(--grad-hero);
}
.topbar__link:hover .topbar__chev { color: var(--primary-600); }
.topbar__chev { width: 15px; height: 15px; transition: transform .25s ease; }
.topbar.is-open .topbar__chev { transform: rotate(180deg); }
.topbar__cta { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.topbar__login {
  padding: 9px 16px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; color: var(--primary-700);
  border: 1.5px solid rgba(47,84,224,0.40);
  white-space: nowrap; transition: background .15s, border-color .15s;
}
.topbar__login:hover { background: rgba(47,84,224,0.08); border-color: var(--primary-500); }
.topbar__cta .btn { padding: 11px 18px; border-radius: 999px; }

/* Logo + colors adapt to the section behind the header.
   Default state (over dark sections) = white. `.topbar--on-light` is
   toggled by JS when the header passes over a light/white section. */
.topbar__logo img { transition: filter .25s ease; }
/* Default (over dark sections) shows the white-brand logo; on light sections
   swap to the colored logo. */
.topbar--on-light .topbar__logo .topbar__logo-img--white { display: none; }
.topbar--on-light .topbar__logo .topbar__logo-img--dark { display: block; }
.topbar__link, .topbar__menubtn { transition: color .25s ease, background .15s; }
.topbar__login { transition: color .25s ease, background .15s, border-color .25s ease; }

.topbar--on-light .topbar__logo img { filter: none; }
.topbar--on-light .topbar__link,
.topbar--on-light .topbar__menubtn { color: var(--text) !important; }
.topbar--on-light .topbar__login {
  color: var(--primary-700) !important;
  border-color: rgba(47,84,224,0.40) !important;
  background-color: transparent !important;
}
.topbar--on-light .topbar__login:hover {
  background-color: rgba(47,84,224,0.08) !important;
  border-color: var(--primary-500) !important;
}

/* full-page mega menu (Sobre) */
.megamenu {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
  opacity: 0; visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}
.megamenu::before {
  content: ""; position: absolute; inset: 0;
  background: transparent;
}
.megamenu__panel {
  position: absolute; top: 0; left: 0; right: 0;
  padding: 104px 0 48px;
  background: rgba(255,255,255,0.62);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  backdrop-filter: blur(26px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.6);
  box-shadow: none;
  transform: translateY(-16px);
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
}
.topbar.is-open .megamenu { opacity: 1; visibility: visible; pointer-events: auto; }
.topbar.is-open .megamenu__panel { transform: translateY(0); }
/* dim the rest of the page while the megamenu is open */
#top, .foot { transition: opacity .28s ease; }
.topbar.is-open ~ #top, .topbar.is-open ~ .foot { opacity: 0.55; }
.megamenu__inner { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.megamenu__intro {
  max-width: 560px; margin: 0 0 36px;
  font-size: 18px; line-height: 1.5; color: var(--text-muted);
  text-wrap: pretty;
}
.megamenu__cols {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 72px; max-width: 940px;
}
.megamenu__link {
  display: flex; flex-direction: column; gap: 4px;
  padding: 20px 0; border-bottom: 1px solid var(--border-soft);
  transition: padding-left .2s ease, border-color .2s ease;
}
.megamenu__link:hover { padding-left: 8px; border-color: var(--primary-200); }
.megamenu__link b {
  font-size: 23px; font-weight: 700; color: var(--text-strong); letter-spacing: -0.01em;
}
.megamenu__link:hover b { color: var(--primary-700); }
.megamenu__link span { font-size: 14px; color: var(--text-muted); }
/* no divider under "Nosso compromisso" and "Carreiras" */
.megamenu__link:nth-child(2), .megamenu__link:nth-child(3) { border-bottom: none; }
/* darker, visible divider under "A Kyon" */
.megamenu__link:nth-child(1) { border-bottom-color: #AEB4BF; }

@media (max-width: 880px) {
  .topbar__nav, .topbar__login { display: none; }
  .topbar__pill { gap: 12px; padding: 8px 8px 8px 18px; }
}
@media (max-width: 720px) {
  .megamenu__cols { grid-template-columns: 1fr; }
}

/* ───── HERO (full-bleed video) ───── */
.hero { position: relative; padding: 0; overflow: hidden; min-height: 768px; display: flex; }
.hero__video { position: absolute; inset: 0; z-index: 0; background: #0a0e1f; overflow: hidden; }
.hero__video > video, .hero__video > img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero__video > .hero__vid {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 900ms linear;
  /* mobile: mata o zoom/shift do desktop (translate 4%) que cortava o médico à esquerda */
  transform: none !important; object-position: center;
}
.hero__video > .hero__vid.is-front { opacity: 1; }
.hero__video-ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  color: rgba(255,255,255,0.45);
  background-color: #0b1124;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.045) 0 2px, transparent 2px 12px);
  font-family: var(--font);
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
}
.hero__video-ph svg { width: 48px; height: 48px; opacity: 0.6; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7,11,26,0.86) 0%, rgba(7,11,26,0.55) 44%, rgba(7,11,26,0.12) 78%),
    linear-gradient(to bottom, rgba(7,11,26,0.45) 0%, transparent 26%, transparent 52%, rgba(7,11,26,0.88) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  justify-content: center; width: 100%;
  padding-top: 156px; padding-bottom: 210px;
}
.hero__copy { max-width: 760px; display: flex; flex-direction: column; align-items: flex-start; }
.hero__title {
  margin: 0;
  color: #fff; line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance;
}
.hero__sub {
  margin: 22px 0 0; font-size: 20px; color: rgba(255,255,255,0.74);
  line-height: 1.6; max-width: 600px; text-wrap: pretty;
}
.hero__ctas { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; justify-content: flex-start; }

/* logo carousel pinned to the bottom of the hero (same logos + edge-fade effect as Kyon Agents) */
.hero__logos {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 26px 0 28px;
  background: rgba(255,255,255,0.03);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
}
.logo-marquee {
  overflow: hidden;
  contain: layout paint;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee__track {
  display: flex; align-items: center; width: max-content;
  animation: logo-marquee 34s linear infinite;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.logo-marquee__item {
  flex: 0 0 auto; width: 104px; height: 26px; margin-right: 92px;
  display: flex; align-items: center; justify-content: center;
}
.logo-marquee__item img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  opacity: 0.6; filter: brightness(0) invert(1);
  transition: opacity .25s;
  transform: translateZ(0);
}
.logo-marquee__item:hover img { opacity: 0.9; }
@keyframes logo-marquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-25%,0,0); } }
@media (prefers-reduced-motion: reduce) { .logo-marquee__track { animation: none; } }
@media (max-width: 900px) {
  .hero { min-height: 640px; }
  .hero__title { font-size: 44px !important; }
  .hero__inner { padding-top: 130px; padding-bottom: 180px; }
}
.hero__support {
  margin: 14px 0 0; font-size: 13.5px; color: var(--text-faint);
  display: flex; align-items: center; gap: 8px; justify-content: center; text-align: center;
}
.hero__support svg { width: 15px; height: 15px; color: var(--primary-500); flex: none; }
.hero__seals {
  margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.seal {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 17px 9px 11px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 13.5px; font-weight: 600; color: var(--text-strong);
}
.seal svg {
  width: 25px; height: 25px; flex: none; color: var(--success);
  background: #ECFDF5; border-radius: 50%; padding: 5px;
}

/* ───── APP MOCKUP (shared window chrome) ───── */
.appwin {
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); overflow: hidden;
  border: 1px solid var(--border-soft);
}
.appwin__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 16px; border-bottom: 1px solid var(--border-soft);
  background: #fff;
}
.appwin__dot { width: 11px; height: 11px; border-radius: 50%; }
.appwin__dot--r { background: #FF6058; } .appwin__dot--y { background: #FEBC2E; } .appwin__dot--g { background: #28C840; }
.appwin__addr {
  margin-left: 12px; font-size: 12.5px; color: var(--text-faint);
  display: inline-flex; align-items: center; gap: 7px;
}
.appwin__addr svg { width: 13px; height: 13px; }
.appwin__addr b { color: var(--text-muted); font-weight: 600; }

.hero__mock { position: relative; width: 100%; max-width: 1040px; }
.hero__mock-badge {
  position: absolute; z-index: 3; background: #fff; border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 12px 14px; display: flex; align-items: center; gap: 11px;
}
.hero__mock-badge svg { width: 20px; height: 20px; }
.hero__mock-badge b { font-size: 14px; color: var(--text-strong); display: block; }
.hero__mock-badge small { font-size: 12px; color: var(--text-muted); }
.hero__mock-badge--tl { top: 96px; left: -30px; }
.hero__mock-badge--br { bottom: 30px; right: -30px; white-space: nowrap; }
.badge-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.badge-ico--green { background: #ECFDF5; color: var(--success); }
.badge-ico--indigo { background: var(--primary-50); color: var(--primary-600); }

/* dashboard inside hero window */
.dash { display: grid; grid-template-columns: 64px 1fr; min-height: 392px; }
.dash__side {
  background: #fff; border-right: 1px solid var(--border-soft);
  padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.dash__side-logo { width: 30px; height: 30px; border-radius: 9px; background: var(--grad-hero); margin-bottom: 10px; }
.dash__side-i {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: var(--text-faint);
}
.dash__side-i svg { width: 19px; height: 19px; }
.dash__side-i.is-active { background: var(--primary-100); color: var(--primary-600); }
.dash__main { padding: 20px; background: var(--bg); }
.greet {
  background: var(--grad-hero); border-radius: 16px; padding: 18px 20px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; box-shadow: var(--shadow-primary);
}
.greet b { font-size: 17px; font-weight: 700; display: block; }
.greet small { font-size: 13px; opacity: 0.85; }
.greet__pill { background: rgba(255,255,255,0.18); border-radius: var(--radius-pill); padding: 6px 12px; font-size: 12px; font-weight: 600; }
.dash__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.statc { background: #fff; border-radius: 14px; padding: 13px 14px; box-shadow: var(--shadow-sm); }
.statc__top { display: flex; align-items: center; gap: 8px; }
.statc__ico { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; }
.statc__ico svg { width: 15px; height: 15px; }
.statc__ico--blue { background: #EEF2FF; color: var(--info); }
.statc__ico--green { background: #ECFDF5; color: var(--success); }
.statc__ico--purple { background: #F5F3FF; color: var(--purple); }
.statc small { font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }
.statc b { display: block; font-size: 24px; font-weight: 800; color: var(--text-strong); margin-top: 6px; letter-spacing: -0.02em; }
.statc .delta { font-size: 11px; font-weight: 600; color: var(--success); }
.dash__agenda { background: #fff; border-radius: 14px; margin-top: 12px; padding: 14px; box-shadow: var(--shadow-sm); }
.dash__agenda-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dash__agenda-head b { font-size: 13.5px; font-weight: 700; color: var(--text-strong); }
.dash__agenda-head span { font-size: 11px; color: var(--text-faint); }
.appt { display: flex; align-items: center; gap: 11px; padding: 9px 6px; border-radius: 10px; }
.appt + .appt { border-top: 1px solid var(--border-soft); }
.appt__time { font-size: 12px; font-weight: 700; color: var(--primary-700); width: 42px; flex: none; }
.appt__av { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; }
.appt__who { flex: 1; min-width: 0; }
.appt__who b { font-size: 12.5px; font-weight: 600; color: var(--text); display: block; }
.appt__who small { font-size: 11px; color: var(--text-faint); }
.status {
  font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: var(--radius-pill); flex: none;
}
.status--ok { color: #15803D; background: var(--success-bg); }
.status--new { color: var(--primary-700); background: var(--primary-100); }
.status--warn { color: #B45309; background: var(--warning-bg); }

/* ───── PAIN SECTION ───── */
.pain__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 44px; }
.pain__item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border-radius: var(--radius-lg); padding: 22px 24px;
  box-shadow: var(--shadow-card);
}
.pain__ico {
  width: 40px; height: 40px; border-radius: 11px; flex: none; display: grid; place-items: center;
  background: var(--danger-bg); color: var(--danger);
}
.pain__ico svg { width: 20px; height: 20px; }
.pain__item p { margin: 0; font-size: 15px; color: var(--text); line-height: 1.55; }
.pain__turn {
  margin-top: 28px; display: flex; align-items: center; gap: 16px;
  background: var(--primary-900); color: #fff; border-radius: var(--radius-lg);
  padding: 26px 30px; box-shadow: var(--shadow-lg);
}
.pain__turn svg { width: 30px; height: 30px; color: var(--primary-200); flex: none; }
.pain__turn p { margin: 0; font-size: clamp(18px,2vw,22px); font-weight: 700; line-height: 1.35; text-wrap: balance; }
.pain__turn .accent { color: #fff; }

/* ───── SOLUTION ───── */
.sol__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.sol__compliance {
  margin-top: 26px; display: flex; gap: 13px; align-items: flex-start;
  background: transparent;
  border: none;
  border-radius: 0; padding: 0 2px;
  box-shadow: none;
}
.sol__compliance svg {
  width: 20px; height: 20px; padding: 0; border-radius: 0;
  background: transparent; box-shadow: none;
  color: var(--primary-600); flex: none; margin-top: 1px;
}
.sol__compliance p { margin: 0; font-size: 14px; color: var(--text); line-height: 1.55; }
.sol__compliance b { color: var(--primary-800); }

/* flow diagram */
.flow {
  background: var(--surface); border-radius: var(--radius-lg); padding: 8px 24px;
  box-shadow: none; display: flex; flex-direction: column; gap: 0;
  border: 1px solid var(--border);
}
.flow__node {
  display: flex; align-items: center; gap: 15px; padding: 18px 2px;
  border-radius: 0; background: transparent; border: none;
  position: relative; box-shadow: none;
  transition: none;
}
.flow__node:hover { transform: none; box-shadow: none; border-color: transparent; }
.flow__node.is-accent {
  background: transparent;
  border-color: transparent;
}
.flow__num {
  position: absolute; top: 12px; right: 14px;
  font-size: 11px; font-weight: 700; color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}
.flow__ico { width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center; }
.flow__ico svg { width: 20px; height: 20px; }
.flow__ico--teal { background: #E6FBF7; color: var(--teal); }
.flow__ico--indigo { background: var(--primary-100); color: var(--primary-600); }
.flow__ico--blue { background: #EEF2FF; color: var(--info); }
.flow__ico--green { background: #ECFDF5; color: var(--success); }
.flow__txt b { display: block; font-size: 14.5px; font-weight: 700; color: var(--text-strong); }
.flow__txt small { font-size: 12.5px; color: var(--text-muted); }
.flow__arrow { display: grid; place-items: center; color: var(--primary-300, var(--primary-200)); height: 12px; margin: 0; }
.flow__arrow svg { width: 15px; height: 15px; color: var(--primary-400, var(--primary-300)); opacity: 0.45; }

/* ───── MODULES ───── */
.mods__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px;
}
.mod {
  position: relative; overflow: hidden;
  background: var(--grad-hero); border-radius: var(--radius-lg); padding: 26px 24px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow-primary); transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column; gap: 14px;
}
.mod::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 100% 0%, rgba(255,255,255,0.16), transparent 55%);
}
.mod:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -14px rgba(47,84,224,0.55); }
.mod__ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; position: relative; z-index: 1; }
.mod .mod__ico {
  background: rgba(255,255,255,0.16); color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
}
.mod__ico svg { width: 25px; height: 25px; }
.mod__ico--indigo { background: var(--primary-100); color: var(--primary-600); }
.mod__ico--blue   { background: #EEF2FF; color: var(--info); }
.mod__ico--green  { background: #ECFDF5; color: var(--success); }
.mod__ico--teal   { background: #E6FBF7; color: var(--teal); }
.mod__ico--purple { background: #F5F3FF; color: var(--purple); }
.mod__ico--orange { background: #FFF7ED; color: var(--warning); }
.mod h3 { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -0.01em; position: relative; z-index: 1; }
.mod p { margin: 0; font-size: 14px; color: rgba(255,255,255,0.86); line-height: 1.55; position: relative; z-index: 1; }

/* Alice-style staggered card reveal (appearance effect) */
.mods__grid .mod.reveal {
  opacity: 0;
  transform: none;
  translate: 0 52px;
  scale: 0.955;
  filter: blur(9px);
  transition:
    opacity .82s cubic-bezier(.16, 1, .3, 1),
    translate .82s cubic-bezier(.16, 1, .3, 1),
    scale .82s cubic-bezier(.16, 1, .3, 1),
    filter .82s cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, translate, scale, filter;
}
.mods__grid .mod.reveal.is-in {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  filter: blur(0);
}
@media (prefers-reduced-motion: reduce) {
  .mods__grid .mod.reveal {
    opacity: 1; translate: 0; scale: 1; filter: none; transition: none;
  }
}

/* ───── HOW IT WORKS ───── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; position: relative; }
.step {
  background: var(--surface); border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow-card); position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  border: 1px solid transparent;
}
.step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-hero); opacity: 0; transition: opacity .2s;
}
.step::after {
  content: attr(data-step); position: absolute; top: 6px; right: 18px;
  font-size: 96px; font-weight: 800; line-height: 1; color: var(--primary-500);
  opacity: 0.06; pointer-events: none; letter-spacing: -0.04em;
}
.step:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: var(--primary-100);
}
.step:hover::before { opacity: 1; }
.step__num {
  position: relative; z-index: 1;
  width: 50px; height: 50px; border-radius: 15px; background: var(--grad-hero); color: #fff;
  display: grid; place-items: center; font-size: 21px; font-weight: 800; box-shadow: var(--shadow-primary);
  margin-bottom: 20px;
}
.step h3 { font-size: 19px; color: var(--primary-800); margin-bottom: 8px; position: relative; z-index: 1; }
.step p { margin: 0; font-size: 14.5px; color: var(--text-muted); line-height: 1.55; }
.step__conn { position: absolute; top: 54px; right: -16px; color: var(--primary-200); z-index: 2; }
.step__conn svg { width: 26px; height: 26px; }

/* ───── RESULTS ───── */
.results__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 44px; }
.result {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow-card);
}
.result__ico { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; background: #ECFDF5; color: var(--success); }
.result__ico svg { width: 21px; height: 21px; }
.result b { display: block; font-size: 15.5px; font-weight: 700; color: var(--text-strong); margin-bottom: 3px; }
.result p { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* ───── OBJECTIONS ───── */
.obj__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 44px; }
.obj {
  background: var(--surface); border-radius: var(--radius-lg); padding: 26px 28px; box-shadow: var(--shadow-card);
}
.obj__q { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.obj__q-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--primary-100); color: var(--primary-600); display: grid; place-items: center; flex: none; }
.obj__q-ico svg { width: 28px; height: 28px; }
.obj__q b { font-size: 16px; font-weight: 700; color: var(--primary-800); }
.obj p { margin: 0; font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }

/* ───── FINAL CTA ───── */
.finalcta { padding: 40px 0 104px; background: #F4F5FB; }
.finalcta__card {
  position: relative; overflow: hidden;
  background: var(--grad-hero); border-radius: 28px;
  padding: 64px 56px; text-align: center; color: #fff;
  box-shadow: var(--shadow-xl);
}
.finalcta__card::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 65%);
  top: -180px; right: -80px; pointer-events: none;
}
.finalcta__card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 70%);
}
.finalcta__inner { position: relative; z-index: 1; }
.finalcta h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); text-wrap: balance; }
.finalcta p { margin: 18px auto 0; max-width: 580px; font-size: 18px; color: rgba(255,255,255,0.88); line-height: 1.55; }
.finalcta__btn { margin-top: 32px; }
.finalcta__reinforce { margin-top: 16px; font-size: 13.5px; color: rgba(255,255,255,0.75); }

/* ───── FOOTER ───── */
.foot { background: var(--surface); border-top: 1px solid var(--border); padding: 56px 0 32px; }
.foot__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot__brand .nav__logo { margin-bottom: 8px; }
.foot__brand p { font-size: 14px; color: var(--text-muted); line-height: 1.6; max-width: 320px; }
.foot__col h4 { font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--text-muted); margin: 0 0 16px; }
.foot__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.foot__col a { font-size: 14px; color: var(--text); transition: color .15s; }
.foot__col a:hover { color: var(--primary-600); }
.foot__help { transition: border-color .15s, background .15s; }
.foot__help:hover { background: var(--primary-600) !important; color: #fff !important; border-color: var(--primary-600) !important; }
.foot__bar {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border-soft);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.foot__bar small { font-size: 12.5px; color: var(--text-faint); }

/* ════════════════════════════════════════════════════════════
   SWISS / INTERNATIONAL TYPOGRAPHIC STYLE LAYER
   Vignelli Canon + Müller-Brockmann grid discipline.
   Scope: BODY sections only (.section, .finalcta).
   Hero, header (.topbar) and footer (.foot) are intentionally untouched.
   ════════════════════════════════════════════════════════════ */
:root {
  --swiss-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ink: #111315;
  --ink-soft: #5b6066;
  --rule: #111315;
  --hair: #d8dade;
  --accent: var(--primary-600);
  --mgn: clamp(20px, 5vw, 72px);
  --gutter: 24px;
}
main { counter-reset: swiss; }

/* —— section shell: white paper, full-width top ruler, baseline-ish rhythm —— */
.section {
  counter-increment: swiss;
  background: #ffffff !important;
  border-top: 1px solid var(--rule);
  padding: 88px 0 96px !important;
}
.section .wrap { padding: 0 var(--mgn); max-width: 1296px; }

/* —— section head: flush-left, number + kicker, huge grotesque title —— */
.section .section__head,
.section .section__head--center {
  max-width: none !important; margin: 0 !important; text-align: left !important;
  display: grid; grid-template-columns: 1fr; gap: 0;
  padding-top: 6px;
}
.section .section__head::before {
  content: none;
}
.section .overline,
.section .overline--center {
  align-self: start; justify-content: flex-start !important; text-align: left !important;
  background: none !important; border: none !important; box-shadow: none !important;
  padding: 0 !important; border-radius: 0 !important; margin: 0 0 14px !important;
  font: 600 13px/1 var(--swiss-sans) !important;
  letter-spacing: 0.14em !important; text-transform: uppercase !important;
  color: var(--ink-soft) !important; white-space: normal;
}
.section .overline svg { display: none !important; }

/* —— section kickers styled as the hero seal badge —— */
.section .overline {
  display: inline-flex !important; align-items: center; gap: 9px;
  padding: 9px 17px 9px 11px !important; border-radius: 999px !important;
  background: var(--surface) !important; border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-sm) !important;
  font: 600 13.5px/1 var(--swiss-sans) !important;
  letter-spacing: 0 !important; text-transform: none !important;
  color: var(--text-strong) !important; width: auto !important; max-width: max-content;
  justify-self: start; align-self: start; margin: 0 0 22px !important;
}
.section .overline svg {
  display: inline-block !important; width: 24px !important; height: 24px !important;
  color: var(--primary-600) !important; background: var(--primary-50) !important;
  border-radius: 50% !important; padding: 5px !important; flex: none;
}
.section .section__title,
.section .section__title--alt {
  font-family: var(--swiss-sans) !important;
  font-size: 67px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
  color: #071838 !important;
  max-width: 17ch; text-wrap: balance;
}
@media (max-width: 900px) {
  .section .section__title,
  .section .section__title--alt { font-size: 44px !important; }
}
.section .section__title br { display: none; }
.section .section__lead {
  font-family: var(--swiss-sans); font-size: 17px; line-height: 1.5;
  color: var(--ink-soft); max-width: 56ch; margin-top: 20px;
}

/* —— SOLUTION: flush-left grotesque —— */
.section .sol__inner { gap: var(--gutter); align-items: center; }
.section .sol__copy h2,
.section .sol__copy .section__title { text-align: left; color: #00203b !important; }

/* —— SOLUTION reworked: centered header + interactive flow/image showcase —— */
#solucao .sol__inner { display: block !important; }
#solucao .sol__copy--center { text-align: center; max-width: 800px; margin: 0 auto 54px; }
#solucao .sol__copy--center .overline {
  justify-self: center !important; align-self: center !important;
  margin-left: auto !important; margin-right: auto !important;
}
#solucao .sol__copy--center .section__title {
  text-align: center !important; margin-left: auto; margin-right: auto;
}
#solucao .sol__copy--center .section__lead {
  text-align: center; margin-left: auto; margin-right: auto; max-width: 700px !important;
}

#solucao .sol__showcase {
  display: grid; grid-template-columns: 1fr 1.18fr; gap: 26px;
  align-items: stretch; max-width: 1140px; margin: 0 auto;
}
#solucao .flow { align-self: end; padding: 12px; gap: 0; }
#solucao .flow__node {
  padding: 16px; border-radius: 13px; cursor: pointer;
  transition: background .5s ease;
}
#solucao .flow__node.is-active,
#solucao .flow__node:hover { background: #eef0f5; }
#solucao .flow__node:focus-visible { outline: 2px solid var(--primary-400, #6b8cff); outline-offset: 2px; }
#solucao .flow__arrow svg { color: #c4c9d4 !important; opacity: 1 !important; }
#solucao .flow__arrow { display: none; }

#solucao .sol__media { position: relative; border-radius: 44px; min-height: 540px; }
#solucao .sol__media image-slot {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; visibility: hidden; transition: opacity .6s cubic-bezier(0.4, 0, 0.2, 1), visibility .6s;
}
#solucao .sol__media image-slot.is-active { opacity: 1; visibility: visible; }
#solucao .sol__media image-slot::part(frame) { background: #3a3d44; border-radius: 44px; }
#solucao .sol__media image-slot::part(empty) { color: rgba(255, 255, 255, 0.72); }

@media (max-width: 920px) {
  #solucao .sol__showcase { grid-template-columns: 1fr; }
  #solucao .sol__media { min-height: 300px; }
}

/* —— MODULES: Müller-Brockmann modular field grid (hairline cells) —— */
.mods__grid {
  margin-top: 56px !important;
  gap: 0 !important;
  border-top: 1px solid var(--hair); border-left: 1px solid var(--hair);
}
.mod {
  background: #fff !important;
  border: none !important;
  border-right: 1px solid var(--hair) !important;
  border-bottom: 1px solid var(--hair) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 26px 24px 30px !important;
  gap: 16px !important;
}
.mod::after { display: none !important; }
.mod:hover { transform: none !important; box-shadow: none !important; background: #fafbfc !important; }
.mod .mod__ico {
  width: auto !important; height: auto !important; border-radius: 0 !important;
  background: none !important; color: var(--accent) !important;
  place-items: start !important; display: block !important;
}
.mod .mod__ico svg { width: 26px; height: 26px; }
.mod h3 {
  font-family: var(--swiss-sans) !important; color: var(--ink) !important;
  font-size: 18px !important; font-weight: 700 !important; line-height: 1.15 !important;
  letter-spacing: -0.01em;
}
.mod p {
  color: var(--ink-soft) !important; font-size: 14px !important; line-height: 1.5 !important;
}

/* —— HOW IT WORKS: numbered columns, hairline rules, no cards —— */
.steps { margin-top: 56px !important; gap: 0 !important; }
.step {
  background: none !important; border: none !important; border-radius: 0 !important;
  box-shadow: none !important; padding: 28px 24px 0 0 !important;
  border-top: 2px solid var(--rule) !important;
}
.step::before, .step::after { display: none !important; }
.step:hover { transform: none !important; box-shadow: none !important; }
.step + .step { margin-left: 0; }
.step__num {
  width: auto !important; height: auto !important; border-radius: 0 !important;
  background: none !important; color: var(--accent) !important;
  font-family: var(--swiss-sans) !important; font-size: 22px !important; font-weight: 700 !important;
  box-shadow: none !important; margin-bottom: 14px !important; place-items: start !important;
  display: block !important;
}
.step h3 { font-family: var(--swiss-sans) !important; color: var(--ink) !important; font-size: 19px !important; font-weight: 700 !important; }
.step p { color: var(--ink-soft) !important; font-size: 14.5px !important; }
.step__conn { display: none !important; }

/* —— RESULTS: flat hairline list —— */
.results__grid { margin-top: 56px !important; gap: 0 !important; border-top: 1px solid var(--hair); }
.result {
  background: none !important; border: none !important; border-radius: 0 !important;
  box-shadow: none !important; border-bottom: 1px solid var(--hair) !important;
  padding: 22px 24px 22px 0 !important; align-items: start !important;
}
.result__ico {
  width: auto !important; height: auto !important; border-radius: 0 !important;
  background: none !important; color: var(--accent) !important; place-items: start !important;
}
.result__ico svg { width: 24px; height: 24px; }
.result b { font-family: var(--swiss-sans) !important; color: var(--ink) !important; font-size: 16px !important; }
.result p { color: var(--ink-soft) !important; font-size: 14px !important; }

/* —— TESTIMONIALS —— */
#depoimentos { background: #ffffff !important; }
.testi__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px;
}
.testi {
  display: flex; flex-direction: column; gap: 24px;
  background: #fff; border: 1px solid var(--hair); border-radius: 17px;
  padding: 30px 30px 28px; margin: 0;
}
.testi__quote {
  margin: 0; font-family: var(--swiss-sans); font-size: 18px; line-height: 1.55;
  color: var(--ink); letter-spacing: -0.01em;
}
.testi__author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testi__avatar { width: 48px; height: 48px; flex: none; border-radius: 50%; overflow: hidden; }
.testi__who { display: flex; flex-direction: column; gap: 2px; }
.testi__who b { font-family: var(--swiss-sans); font-size: 15px; font-weight: 600; color: var(--ink); }
.testi__who span { font-size: 13.5px; color: var(--ink-soft); }
@media (max-width: 900px) { .testi__grid { grid-template-columns: 1fr; } }

/* —— OBJECTIONS: flat two-column with hairlines —— */
.obj__grid { margin-top: 56px !important; gap: 16px !important; border-top: none; border-left: none; }
.obj {
  background: #fff !important; border: 1px solid var(--hair) !important; border-radius: 17px !important;
  box-shadow: none !important;
  padding: 28px 30px !important;
}
.obj__q-ico {
  width: auto !important; height: auto !important; border-radius: 0 !important;
  background: none !important; color: var(--accent) !important; place-items: start !important;
}
.obj__q b { font-family: var(--swiss-sans) !important; color: var(--ink) !important; font-size: 18px !important; }
.obj p { color: var(--ink-soft) !important; font-size: 18px !important; }

/* —— FINAL CTA: solid accent plane (primary as identifier), flush-left, square —— */
.finalcta .wrap { padding: 0 var(--mgn) !important; max-width: 1296px !important; }
.finalcta__card {
  background: var(--accent) !important; border-radius: 48px !important;
  box-shadow: none !important; text-align: left !important; padding: 0 !important;
  overflow: hidden;
}
.finalcta__card::before, .finalcta__card::after { display: none !important; }
.finalcta__inner {
  display: grid !important; grid-template-columns: 0.92fr 1fr;
  align-items: stretch;
}
.finalcta__panel { order: 2; }
.finalcta__media { order: 1; }
.finalcta__panel {
  display: flex; flex-direction: column;
  padding: 72px 56px;
}
.finalcta__btn { margin-top: auto !important; padding-top: 36px; }
.finalcta__media {
  position: relative;
  padding: clamp(14px, 1.3vw, 22px);
}
.finalcta__media image-slot {
  display: block; width: 100%; height: 100%;
  border-radius: 38px; overflow: hidden;
}
.finalcta__media image-slot::part(frame) { background: #0a1830; border-radius: 38px; }
.finalcta__media image-slot::part(empty) { color: rgba(255, 255, 255, 0.7); }
.finalcta h2 {
  font-family: var(--swiss-sans) !important; font-size: 67px !important;
  font-weight: 600 !important; line-height: 1.0 !important; letter-spacing: -0.02em !important;
  text-align: left !important; max-width: 18ch;
}
.finalcta p { margin: 20px 0 0 !important; text-align: left !important; max-width: 52ch; }
.finalcta__reinforce { text-align: left !important; }

@media (max-width: 860px) {
  .section .section__title, .section .section__title--alt { font-size: clamp(30px, 8vw, 44px) !important; }
}

.section#modulos .section__head::before,
.section#como .section__head::before { content: none; }

/* —— hero-style background on Como Funciona (03) and Objeções (FAQ) —— */
.section#como, .section#duvidas {
  background: var(--bg) !important;
  position: relative; overflow: hidden;
}
.section#como::before, .section#duvidas::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(67,56,202,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67,56,202,0.10) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
}
.section#como > .wrap, .section#duvidas > .wrap { position: relative; z-index: 1; }
.section#como::before { content: none !important; }
.foot__seals { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; align-self: center; }
.foot__seals span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-muted); font-weight: 500; }
.foot__seals svg { width: 20px; height: 20px; color: var(--primary-600); }

/* ───── MODAL (demo popup) ───── */
.modal {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 24px;
}
.modal.is-open { display: flex; }
.modal__overlay {
  position: absolute; inset: 0; background: rgba(15,23,42,0.55);
  backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s;
}
.modal.is-open .modal__overlay { opacity: 1; }
.modal__card {
  position: relative; z-index: 1; width: 100%; max-width: 880px;
  background: var(--surface); border-radius: 24px; box-shadow: var(--shadow-xl);
  overflow: hidden; display: grid; grid-template-columns: 0.85fr 1fr;
  transform: translateY(16px) scale(0.98); opacity: 0; transition: transform .28s cubic-bezier(.22,.61,.36,1), opacity .28s;
}
.modal.is-open .modal__card { transform: none; opacity: 1; }
.modal__aside {
  background: var(--grad-hero); color: #fff; padding: 38px 34px; position: relative; overflow: hidden;
}
.modal__aside::after {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.16), transparent 65%);
  bottom: -160px; left: -80px;
}
.modal__aside h3 { color: #fff; font-size: 24px; position: relative; }
.modal__aside p { font-size: 14.5px; color: rgba(255,255,255,0.85); line-height: 1.55; margin: 14px 0 0; position: relative; }
.modal__aside ul { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 13px; position: relative; }
.modal__aside li { display: flex; align-items: center; gap: 11px; font-size: 14px; }
.modal__aside li svg { width: 19px; height: 19px; flex: none; }
.modal__form { padding: 36px 34px; }
.modal__close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,0.14); color: #fff; transition: background .15s;
}
.modal__close:hover { background: rgba(255,255,255,0.28); }
.modal__form h3 { font-size: 21px; color: var(--primary-900); }
.modal__form > p { font-size: 14px; color: var(--text-muted); margin: 8px 0 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-muted); margin-bottom: 7px; }
.field input, .field select {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-md);
  border: 1px solid var(--border); background: #fff; font: inherit; font-size: 14.5px; color: var(--text-strong);
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus { outline: none; border-color: var(--primary-500); box-shadow: 0 0 0 4px var(--primary-100); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal__form .btn { margin-top: 6px; }
.modal__success {
  display: none; flex-direction: column; align-items: center; text-align: center;
  padding: 30px 10px;
}
.modal__success.is-on { display: flex; }
.modal__success-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--success-bg); color: var(--success); display: grid; place-items: center; margin-bottom: 18px; }
.modal__success-ico svg { width: 32px; height: 32px; }
.modal__success h3 { font-size: 22px; color: var(--primary-900); }
.modal__success p { font-size: 14.5px; color: var(--text-muted); margin: 10px 0 0; max-width: 320px; }

/* ───── reveal on scroll ───── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ───── RESPONSIVE ───── */
@media (max-width: 1000px) {
  .sol__inner { grid-template-columns: 1fr; gap: 44px; }
  .nav__links { display: none; }
  .mods__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .step__conn { display: none; }
  .modal__card { grid-template-columns: 1fr; max-width: 460px; }
  .modal__aside { display: none; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .overline { white-space: normal; }
  .nav__agents { display: none; }
  .section { padding: 72px 0; }
  .pain__grid, .results__grid, .obj__grid { grid-template-columns: 1fr; }
  .mods__grid { grid-template-columns: 1fr; }
  .pain__turn { flex-direction: column; align-items: flex-start; gap: 12px; }
  .finalcta__card { padding: 44px 26px; }
  .foot__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero__mock-badge--tl { left: 0; top: -16px; }
  .hero__mock-badge--br { right: 0; }
  .field--row { grid-template-columns: 1fr; }
}

/* —— Como Funciona: centered head, 3-line title —— */
#como .section__head--center { text-align: center !important; justify-items: center !important; }
#como .section__head--center .overline { justify-self: center !important; }
#como .section__head--center .section__title {
  text-align: center !important; margin: 0 auto !important;
  max-width: 1000px !important; text-wrap: pretty;
}
#como .section__title br { display: inline !important; }
#como .section__title .mb-como { display: none !important; }
.mb-mod { display: none; }
.mb-neural { display: none; }

/* —— Implementation: vertical timeline (GSAP scroll-driven) —— */
.steps--timeline {
  display: flex !important; flex-direction: column !important;
  grid-template-columns: none !important;
  gap: 0 !important; margin: 60px auto 0 !important;
  max-width: 720px; position: relative;
}
.steps--timeline .step {
  display: grid !important;
  grid-template-columns: 58px 1fr !important;
  grid-template-rows: auto auto !important;
  column-gap: 28px; row-gap: 8px;
  padding: 0 0 52px 0 !important;
  border-top: none !important;
  position: relative;
}
.steps--timeline .step:last-child { padding-bottom: 0 !important; }
/* faint connector + animated fill, drawn in the gutter under the node */
.steps--timeline .step:not(:last-child)::before,
.steps--timeline .step:not(:last-child)::after {
  content: "" !important; display: block !important;
  position: absolute; left: 28px; top: 30px; width: 1.5px; height: 100%;
  z-index: 0;
}
.steps--timeline .step:not(:last-child)::before { background: #c3ccfb !important; opacity: 1 !important; }
.steps--timeline .step:hover::before { background: #748af7 !important; opacity: 1 !important; }
.steps--timeline .step:not(:last-child)::after {
  background: var(--primary-600);
  transform: scaleY(var(--fill, 0)); transform-origin: top;
  transition: transform .12s linear;
}
.steps--timeline .step__num {
  grid-column: 1 !important; grid-row: 1 / 4 !important; align-self: start; justify-self: center;
  width: 48px !important; height: 48px !important; min-width: 48px;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  color: #6e8bff !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  font-size: 18px !important; font-weight: 700 !important;
  position: relative; z-index: 1; margin: 0 !important;
  transition: background .4s ease, border-color .4s ease, color .4s ease, box-shadow .4s ease;
}
#como .steps--timeline .step.is-active .step__num {
  background: #e6ebfd !important;
  border-color: transparent !important;
  color: #6e8bff !important;
  -webkit-text-fill-color: #6e8bff !important;
}
.steps--timeline .step__media {
  grid-column: 2 !important; grid-row: 1 !important;
  align-self: start !important;
  display: block; width: 100%; max-width: 540px;
  aspect-ratio: 16 / 9; height: auto !important;
  margin: 0 0 22px !important;
  border-radius: 16px; overflow: hidden;
}
#como-img-1 { aspect-ratio: 1920 / 1074 !important; }
.steps--timeline .step h3 {
  grid-column: 2 !important; grid-row: 2 !important;
  align-self: center; margin: 0 !important;
  font-size: 18px !important; font-weight: 500 !important; color: #071838 !important;
}
.steps--timeline .step p {
  grid-column: 2 !important; grid-row: 3 !important;
  max-width: 540px; margin: 0 !important;
  font-size: 18px !important; font-weight: 400 !important;
  padding-bottom: 30px; border-bottom: 1px solid var(--rule);
}
.steps--timeline .step:last-child p { border-bottom: none; padding-bottom: 0; }
.steps--timeline .step[data-step="1"] p, .steps--timeline .step[data-step="2"] p { border-bottom: none !important; padding-bottom: 0 !important; }
@media (max-width: 720px) {
  .steps--timeline .step { column-gap: 20px; grid-template-columns: 50px 1fr !important; padding-bottom: 44px !important; }
  .steps--timeline .step__num { width: 50px !important; height: 50px !important; min-width: 50px; font-size: 19px !important; }
  .steps--timeline .step:not(:last-child)::before,
  .steps--timeline .step:not(:last-child)::after { left: 24px; top: 26px; }
}

/* ─────────────────────────────────────────────
   NEURAL — Müller-Brockmann modular grid section
   flush-left · hairline rules · numbered modules
   ───────────────────────────────────────────── */
.neural {
  --nl: rgba(255,255,255,0.16);        /* hairline rule */
  --nl-soft: rgba(255,255,255,0.08);
  --nink: #F4F6FF;                      /* primary ink */
  --nmute: rgba(231,236,255,0.66);      /* muted body */
  --nacc: #6E8BFF;                      /* accent (the "red") */
  position: relative; overflow: hidden;
  background: #0C1230;
  padding: 116px 0 120px;
}
/* faint baseline column field, like a real grid */
.neural__field {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(90deg, var(--nl-soft) 1px, transparent 1px);
  background-size: calc((100% ) / 12) 100%;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 25%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 25%, transparent 80%);
  opacity: .5;
}
.neural .wrap { position: relative; z-index: 1; }

.neural__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 28px;
}

/* eyebrow label — index + name, Swiss flush-left */
.neural__label {
  grid-column: 1 / -1;
  display: flex; align-items: baseline; gap: 16px;
  padding-bottom: 18px; margin-bottom: 40px;
  border-bottom: 1px solid var(--nl);
  font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--nmute);
}
.neural__label b { color: var(--nink); font-weight: 600; }
.neural__label .neural__idx { color: var(--nacc); font-variant-numeric: tabular-nums; }

/* headline occupies left 8 cols, intro the right 4 — modular */
.neural__head { grid-column: 1 / 8; }
.neural__title {
  margin: 0;
  font-size: 52px; font-weight: 600; line-height: 1.04;
  letter-spacing: -0.022em; color: var(--nink); text-wrap: balance;
}
.neural__title .accent { color: var(--nacc); }
.neural__intro {
  grid-column: 9 / 13;
  align-self: end;
  margin: 0; padding-left: 22px;
  border-left: 2px solid var(--nacc);
  font-size: 16.5px; line-height: 1.62; color: var(--nmute);
}

/* sub-label for the steps block */
.neural__sub {
  grid-column: 1 / -1;
  margin: 78px 0 0; padding-bottom: 16px;
  border-bottom: 1px solid var(--nl);
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em; text-transform: none;
  color: var(--nmute);
}

/* numbered modules — 2 columns, hairline-separated */
.neural__steps {
  grid-column: 1 / -1;
  margin-top: 72px;
  display: grid; grid-template-columns: repeat(2, 1fr);
  column-gap: 28px;
}
.nstep {
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 24px; align-items: start; align-content: start;
  padding: 30px 0 32px;
  border-bottom: 1px solid var(--nl-soft);
}
/* right column draws the vertical gutter rule */
.neural__steps .nstep:nth-child(odd) { padding-right: 28px; border-right: 1px solid var(--nl-soft); }
.neural__steps .nstep:nth-child(even) { padding-left: 28px; }
/* bottom row sits lower, with more breathing room above */
.neural__steps .nstep:nth-child(3),
.neural__steps .nstep:nth-child(4) { padding-top: 56px; }
.nstep__num {
  font-size: 15px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--nacc); font-variant-numeric: tabular-nums;
  padding-top: 5px;
}
.nstep__body { }
.nstep__title {
  margin: 0 0 8px; font-size: 19px; font-weight: 600;
  letter-spacing: -0.01em; color: var(--nink); line-height: 1.25;
}
.nstep__txt { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--nmute); }
.nstep__media {
  grid-column: 1 / -1;
  display: block; width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 24px;
  border-radius: 16px; overflow: hidden;
}
.nstep__video { object-fit: cover; height: auto; aspect-ratio: 2 / 1; }
/* vid-4 matches the size of vid-3 beside it (16/10 box) */
#neural-vid-4 { aspect-ratio: 16 / 10; }
/* vid-1 matches the size of vid-3 below it (16/10 box) */
#neural-vid-1 { aspect-ratio: 16 / 10; }
/* vid-2 matches the size of vid-4 below it (16/10 box) */
#neural-vid-2 { aspect-ratio: 16 / 10; }
/* vid-3 sits in a clipping wrapper so a slight zoom actually crops the
   stray vertical bar near the right edge (scaling alone doesn't crop). */
.nstep__vid3wrap { overflow: hidden; }
.nstep__vid3wrap > #neural-vid-3 {
  width: 100%; height: 100%; aspect-ratio: auto;
  object-fit: cover; display: block;
  transform: translateX(8px) scale(1.1); transform-origin: 50% 50%;
}
.nstep:has(.nstep__video) .nstep__num,
.nstep:has(.nstep__video) .nstep__body { margin-top: 10px; }

/* positioning pull-quote — spans wide, flush-left, accent rule */
.neural__quote {
  grid-column: 1 / -1;
  margin: 44px auto 0; padding: 4px 0; max-width: 940px;
  border-left: none;
  font-size: 26px; font-weight: 500; line-height: 1.34;
  letter-spacing: -0.015em; color: #071838; text-align: center; text-wrap: pretty;
}
.neural__quote b { color: #071838; font-weight: 600; }

/* responsibility seal — hairline box, muted */
.neural__seal {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 18px;
  margin: 48px auto 0;
  padding: 28px 32px;
  width: fit-content; max-width: 860px;
  background: #f4f5fb;
  border-radius: 24px;
}
.neural__seal svg { width: 56px; height: 56px; flex: none; background: #e6ebfd; border-radius: 11px; padding: 8px; box-sizing: border-box; }
.neural__seal p {
  margin: 0; font-size: 14.5px; line-height: 1.58; color: var(--nmute); max-width: 760px;
}
.neural__seal b { color: var(--nink); font-weight: 600; }

@media (max-width: 900px) {
  .neural { padding: 80px 0 84px; }
  .neural__head, .neural__intro { grid-column: 1 / -1; }
  .neural__title { font-size: 36px; }
  .neural__intro { margin-top: 26px; align-self: start; }
  .neural__steps { grid-template-columns: 1fr; }
  .neural__steps .nstep:nth-child(odd) { padding-right: 0; border-right: none; }
  .neural__steps .nstep:nth-child(even) { padding-left: 0; }
  .neural__quote { grid-column: 1 / -1; font-size: 21px; }
}

/* ════════ STACKED MODULE CARDS (Alice-style scroll stack) ════════ */
#modulos.section { padding-top: 40px !important; }
#modulos .mstack {
  margin-top: 52px; display: flex; flex-direction: column;
  /* widen the navy cards beyond the standard wrap, kept centred on the viewport */
  --mstack-w: min(1560px, calc(100vw - 40px));
  width: var(--mstack-w);
  position: relative;
  left: 50%;
  margin-left: calc(var(--mstack-w) / -2);
}
#modulos .mcard {
  position: sticky;
  top: 92px;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  min-height: min(640px, 78vh);
  border-radius: 48px;
  overflow: hidden;
  background: #0a1830;
  transform-origin: top center;
  will-change: transform, filter;
}
#modulos .mcard + .mcard { margin-top: 44px; }

#modulos .mcard__panel {
  display: flex;
  flex-direction: column;
  padding: clamp(34px, 3.4vw, 60px);
  color: #fff;
}
#modulos .mcard__title {
  margin: 0;
  font-family: var(--swiss-sans);
  font-size: clamp(44px, 4.4vw, 66px) !important;
  font-weight: 600 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
}
#modulos .mcard__rule {
  margin-top: auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}
#modulos .mcard__foot {
  margin-top: 26px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}
#modulos .mcard__desc {
  margin: 0;
  max-width: 42ch;
  font-family: var(--swiss-sans);
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.64);
}
#modulos .mcard__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 999px;
  background: #fff;
  color: #0a1830;
  font-family: var(--swiss-sans);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
#modulos .mcard__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

#modulos .mcard__media {
  position: relative;
  background: transparent;
  padding: clamp(14px, 1.3vw, 22px);
}
#modulos .mcard__media image-slot {
  display: block; width: 100%; height: 100%;
  border-radius: 38px; overflow: hidden;
}
#modulos .mcard__media image-slot::part(frame) { background: #2f4fe0; border-radius: 38px; }
#modulos .mcard__media image-slot::part(empty) { color: rgba(255, 255, 255, 0.82); }

@media (min-width: 641px) and (max-width: 920px) {
  #modulos .mcard {
    position: relative;
    top: auto;
    grid-template-columns: 1fr;
    min-height: 0;
    transform: none !important;
    filter: none !important;
  }
  #modulos .mcard + .mcard { margin-top: 22px; }
  #modulos .mcard__media { min-height: 260px; }
  #modulos .mcard__foot { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  #modulos .mcard { position: relative; top: auto; transform: none !important; filter: none !important; }
  #modulos .mcard + .mcard { margin-top: 28px; }
}

/* ════════════════════════════════════════════════════════════
   MOBILE REFINEMENTS (phones)
   ════════════════════════════════════════════════════════════ */

/* —— Header: hide demo CTA, keep Login Clínicas visible + 1px larger —— */
@media (max-width: 880px) {
  .topbar__cta [data-open-demo] { display: none !important; }
  .topbar__login {
    display: inline-flex !important;
    font-size: 15px !important;
    padding: 8px 14px !important;
  }
}

.mob-br { display: none; }

@media (max-width: 640px) {
  /* —— Mobile-only line breaks —— */
  .mob-br { display: inline; }

  /* —— Tighter vertical rhythm between sections (just over the 20px side margin) —— */
  #solucao.section { padding-top: 44px !important; padding-bottom: 18px !important; }
  .neural { padding-top: 18px !important; }
  #modulos.section { padding-bottom: 18px !important; }
  #como.section { padding-top: 28px !important; border-top: none !important; }
  /* continuous white background across the lower sections — removes the
     white→tint seams that read as strokes above #como and the final CTA */
  #como.section, .finalcta { background: #ffffff !important; }
  /* —— Footer: help button on one line —— */
  .foot__help { white-space: nowrap; }

  /* —— Footer: center copyright, CNPJ on its own line —— */
  .foot__bar { justify-content: center; text-align: center; }
  .foot__bar small { text-align: center; width: 100%; font-size: 18px !important; margin-bottom: 16px !important; }

  /* —— HERO: fill the whole device screen; keep CTA clear of the logo strip —— */
  .hero { min-height: 100svh; }
  .hero__inner {
    min-height: 100svh;
    justify-content: flex-end;
    padding-top: 104px;
    padding-bottom: 112px;
  }
  /* —— HERO: hide the secondary CTA on mobile —— */
  .hero__ctas .btn--secondary { display: none !important; }
  /* —— HERO: scrim reads bottom-to-top on mobile (text sits at the bottom) —— */
  .hero__scrim {
    background:
      linear-gradient(to top, rgba(7,11,26,0.97) 0%, rgba(7,11,26,0.88) 40%, rgba(7,11,26,0.64) 62%, rgba(7,11,26,0.3) 80%, transparent 100%) !important;
  }
  .hero__logos { padding: 18px 0 20px; }

  /* —— HERO: title locked to 2 lines, as large as the width allows —— */
  .hero__title { font-size: clamp(34px, 9.6vw, 46px) !important; letter-spacing: -0.04em !important; line-height: 1.14 !important; }
  /* —— HERO: subheadline 1px smaller on mobile —— */
  .hero__sub { font-size: 19px !important; margin-top: 16px !important; }
  /* —— HERO: tighter gap before the CTA on mobile —— */
  .hero__ctas { margin-top: 24px !important; }

  /* —— Section titles: unify to one larger mobile size —— */
  .section .section__title,
  .section .section__title--alt { font-size: 48px !important; }
  .neural__title { font-size: 45px !important; }
  .neural__title .mb-neural { display: inline !important; }
  .finalcta h2 { font-size: 48px !important; text-align: left !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }

  /* —— Logo carousel: tighter spacing —— */
  .logo-marquee__item { margin-right: 60px; }

  /* —— COMO title: 3 fixed lines on mobile —— */
  #como .section__title .mb-como { display: inline !important; }
  #como .section__title .db-como { display: none !important; }
  #como .section__title { font-size: 48px !important; }

  /* —— MODULOS: 3-line title + reduced top margin —— */
  #modulos.section { padding-top: 16px !important; }
  /* softer, smaller card + image rounding on mobile */
  #modulos .mcard { border-radius: 28px !important; }
  #modulos .mcard__media image-slot,
  #modulos .mcard__media image-slot::part(frame) { border-radius: 22px !important; }
  #modulos .section__title--alt .mb-mod { display: inline !important; }
  #modulos .section__title,
  #modulos .section__title--alt { font-size: 48px !important; }
  #modulos .mcard__desc { font-size: 18px !important; }

  /* —— NEURAL: center title + subtitle —— */
  .neural__head, .neural__title, .neural__intro { text-align: center !important; }
  .neural__intro { margin-left: auto; margin-right: auto; }

  /* —— SOLUTION: bigger sub, images above the flow, no crop —— */
  .section .section__lead { font-size: 18px !important; }
  #solucao .section__lead { font-size: 19px !important; }
  /* softer, smaller image rounding on mobile (matches the navy cards) */
  #solucao .sol__media,
  #solucao .sol__media image-slot::part(frame) { border-radius: 22px !important; }
  /* slight zoom on the "Cai na agenda do médico" image so the notification is legible */
  #sol-img-2::part(image) { transform: translate(-50%, -50%) scale(1.14) !important; }
  #solucao .sol__showcase { gap: 20px; }
  #solucao .sol__copy--center { margin-bottom: 30px !important; }
  #solucao .flow { order: 2; }
  #solucao .sol__media {
    order: 1;
    min-height: 0;
    aspect-ratio: 1600 / 1431;
  }

  /* —— NEURAL: +1px intro, natural line breaks, tighter video→text gap —— */
  .neural__intro { font-size: 18.5px !important; }
  .neural__intro br { display: none; }
  .nstep__media { margin-bottom: 18px !important; }
  .neural__steps { margin-top: 26px !important; }
  .nstep:has(.nstep__video) .nstep__num,
  .nstep:has(.nstep__video) .nstep__body { margin-top: 8px !important; }
  .neural__seal p { font-size: 18px !important; }

  /* —— MODULES: image above text, breathing room under title, +1px CTA —— */
  #modulos .mcard__media { order: 1; min-height: 240px; }
  #modulos .mcard__panel { order: 2; }
  #modulos .mcard__title { margin-bottom: 24px !important; }
  #modulos .mcard__cta { font-size: 16px !important; }
  /* stacking scroll effect on mobile (same as desktop) */
  #modulos .mcard {
    position: sticky !important;
    top: 68px !important;
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
  }
  #modulos .mcard + .mcard { margin-top: 26px !important; }
  #modulos .mcard__foot { flex-direction: column; align-items: flex-start; gap: 20px; }

  /* —— COMO: centered, balanced title (no orphan "ao") —— */
  #como .steps { margin-top: 28px !important; }
  #como .section__head, #como .section__title { text-align: center !important; }
  #como .section__title span { white-space: normal !important; }
  #como .section__title br.mb-como, #como .section__title br.db-como { display: none !important; }
  #como .section__title { text-wrap: balance !important; font-size: clamp(35px, 9.7vw, 45px) !important; }

  /* —— FINAL CTA: stack, image above title, panel padding trimmed —— */
  .finalcta { padding-top: 24px !important; }
  .finalcta h2 br { display: none; }
  /* softer, smaller card + image rounding on mobile */
  .finalcta__card { border-radius: 28px !important; }
  .finalcta__media image-slot,
  .finalcta__media image-slot::part(frame) { border-radius: 22px !important; }
  .finalcta__inner { grid-template-columns: 1fr !important; }
  .finalcta__panel { order: 2; padding: 24px 24px 40px !important; }
  .finalcta__media {
    order: 1;
    aspect-ratio: 1 / 1;
    padding: 16px !important;
  }
}
