/* ============================================================
   GoHealth Landing v3 — conteúdo oficial · light · glassmorphism
   ============================================================ */

:root {
  --blue: #0A6CFF;
  --blue-dark: #0756cc;
  --green: #0FB97C;
  --green-dark: #0a9a66;
  --teal: #06B6D4;
  --violet: #7C3AED;
  --ink: #0B1B2B;
  --body: #52657A;
  --bg: #FFFFFF;
  --bg-soft: #F5F9FE;
  --border: #E4ECF4;
  --grad: linear-gradient(100deg, var(--blue) 0%, var(--teal) 55%, var(--green) 100%);
  --shadow-sm: 0 2px 10px rgba(11, 27, 43, .06);
  --shadow-md: 0 12px 32px rgba(11, 27, 43, .10);
  --shadow-lg: 0 24px 64px rgba(10, 108, 255, .16);
  --radius: 20px;
  --font-title: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .logo-text { font-family: var(--font-title); color: var(--ink); line-height: 1.2; }

.container { width: min(1140px, 92%); margin-inline: auto; position: relative; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Ícones SVG ---------- */
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; }
.icon-xs { width: 13px; height: 13px; }

/* ---------- Glassmorphism ---------- */
.glass {
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: var(--shadow-sm);
}
.glass-strong {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid transparent;
}

/* ---------- Aurora (backgrounds animados) ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.aurora .a1 {
  width: 620px; height: 620px; top: -220px; left: -140px;
  background: radial-gradient(circle at 50% 50%, rgba(10, 108, 255, .40), transparent 65%);
  animation: drift1 26s ease-in-out infinite alternate;
}
.aurora .a2 {
  width: 560px; height: 560px; top: -140px; right: -160px;
  background: radial-gradient(circle at 50% 50%, rgba(15, 185, 124, .34), transparent 65%);
  animation: drift2 32s ease-in-out infinite alternate;
}
.aurora .a3 {
  width: 520px; height: 520px; bottom: -260px; left: 34%;
  background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, .30), transparent 65%);
  animation: drift3 28s ease-in-out infinite alternate;
}
.aurora.subtle span { opacity: .34; }
@keyframes drift1 { to { transform: translate(130px, 90px) scale(1.18); } }
@keyframes drift2 { to { transform: translate(-120px, 110px) scale(1.12); } }
@keyframes drift3 { to { transform: translate(-90px, -70px) scale(1.2); } }

/* ---------- Grid pattern ---------- */
.bg-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(10, 108, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 108, 255, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 28%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 28%, #000 30%, transparent 78%);
}

/* ---------- Partículas (canvas) ---------- */
#fx-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; width: 100%; height: 100%; }

/* ---------- Reveal on scroll (robusto: só anima com .js no html) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .aurora span { animation: none; }
  .region-banner { transition: none; }
  .region-glow { animation: none; }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: all .25s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 20px; font-size: .9rem; }
.btn-lg { padding: 12px 22px; font-size: .95rem; }
.btn-primary {
  background: linear-gradient(100deg, var(--blue) 0%, var(--teal) 55%, var(--green) 110%);
  background-origin: border-box;
  background-repeat: no-repeat;
  color: #fff; box-shadow: 0 8px 24px rgba(10, 108, 255, .28);
}
.btn-primary:hover {
  background-image: linear-gradient(100deg, var(--blue-dark) 0%, #049BB5 55%, var(--green-dark) 110%);
  transform: translateY(-2px); box-shadow: 0 14px 32px rgba(10, 108, 255, .38);
}
.btn-ghost { background: rgba(255,255,255,.5); color: var(--ink); border-color: var(--border); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* ---------- Chips / badges ---------- */
.chip-ai {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--violet);
  background: linear-gradient(120deg, rgba(124, 58, 237, .10), rgba(10, 108, 255, .10));
  border: 1px solid rgba(124, 58, 237, .22);
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.pill-up {
  display: inline-flex; align-items: center; gap: 5px;
  background: #EAF7F1; color: var(--green-dark); font-weight: 700; font-size: .8rem;
  padding: 5px 12px; border-radius: 999px;
}
.pill-ok {
  display: inline-flex; align-items: center; gap: 5px;
  background: #EAF7F1; color: var(--green-dark); font-weight: 700; font-size: .78rem;
  padding: 5px 12px; border-radius: 999px;
}

/* ============ HEADER ============ */
.header { position: sticky; top: 0; z-index: 50; transition: box-shadow .3s; }
.header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { display: block; height: 49px; width: auto; }
/* O PNG tem margem transparente embutida (16,1% à esquerda) — compensa para alinhar a arte com o conteúdo */
.header .logo-img { margin-left: -18px; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--body); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav a:hover { color: var(--blue); }
.nav .nav-demo { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { position: relative; display: flex; align-items: center; }
.lang-drop { position: relative; }
.lang-current { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1; cursor: pointer; list-style: none; transition: border-color .2s, box-shadow .2s; }
.lang-current::-webkit-details-marker { display: none; }
.lang-current:hover, .lang-drop[open] .lang-current { border-color: var(--blue); }
.lang-drop[open] .lang-current { box-shadow: 0 0 0 2px rgba(10,108,255,.15); }
.lang-current:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.lang-current .icon { width: 20px; height: 15px; border-radius: 2px; }
.lang-current .chev { width: 12px; height: 12px; color: var(--body); transition: transform .2s; }
.lang-drop[open] .chev { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 132px; padding: 6px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 2px; z-index: 60; }
.lang-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--body); font-size: 12px; font-weight: 500; line-height: 1; text-decoration: none; transition: background .15s, color .15s; }
.lang-item .icon { width: 20px; height: 15px; border-radius: 2px; }
.lang-item:hover { background: #F1F6FD; color: var(--ink); }
.lang-item.active { color: var(--blue); font-weight: 600; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero { position: relative; padding: 64px 0 72px; overflow: hidden; }
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
}
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(234, 242, 255, .8); color: var(--blue-dark);
  border: 1px solid rgba(10, 108, 255, .18);
  font-size: .8rem; font-weight: 600; padding: 6px 14px; border-radius: 999px;
  margin-bottom: 16px; backdrop-filter: blur(8px);
}
.badge-pill .icon { color: var(--violet); }

.hero h1 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 16px; }
.hero-sub { font-size: 1.02rem; max-width: 480px; margin-bottom: 20px; }

.trust-seals { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 22px; }
.trust-seals li {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, .7); border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 13px; font-size: .84rem; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-sm); backdrop-filter: blur(8px);
}
.seal-icon { color: var(--green); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== Mockup interativo ===== */
.hero-visual { position: relative; z-index: 2; }
.mockup-window { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.mockup-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: rgba(248, 250, 253, .7); border-bottom: 1px solid var(--border);
}
.m-dot { width: 11px; height: 11px; border-radius: 50%; }
.m-dot.red { background: #FF5F57; } .m-dot.yellow { background: #FEBC2E; } .m-dot.green { background: #28C840; }
.mockup-title { margin-left: 8px; font-size: .8rem; color: #8A9BB0; font-weight: 500; flex: 1; }
.mockup-live { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; color: var(--green-dark); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: livepulse 1.6s ease-in-out infinite; }
@keyframes livepulse { 50% { opacity: .35; } }

.mockup-tabs { display: flex; gap: 6px; padding: 12px 14px 0; }
.mockup-tab {
  flex: 1; padding: 8px 10px; border-radius: 10px; border: 1px solid transparent;
  background: transparent; color: #8A9BB0; font-family: var(--font-body);
  font-weight: 600; font-size: .82rem; cursor: pointer; transition: all .2s;
}
.mockup-tab:hover { color: var(--blue); }
.mockup-tab.active { background: #EAF2FF; color: var(--blue); border-color: #D6E4FF; }

.mockup-panel { display: none; padding: 16px 18px 18px; }
.mockup-panel.active { display: block; animation: panelFade .35s ease; }
@keyframes panelFade { from { opacity: 0; transform: translateY(6px); } }

.mockup-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.mockup-kpi {
  background: rgba(246, 249, 252, .8); border: 1px solid var(--border); border-radius: 14px;
  padding: 12px 14px; display: grid; gap: 2px;
}
.kpi-label { font-size: .7rem; color: #8A9BB0; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.kpi-value { font-family: var(--font-title); font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.kpi-value.big { font-size: 1.7rem; }

.mockup-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.mockup-slot {
  display: flex; flex-direction: column; gap: 2px;
  border: 1px solid var(--border); border-radius: 12px; padding: 10px 13px;
  background: rgba(255, 255, 255, .8);
}
.mockup-slot span { font-weight: 600; font-size: .86rem; color: var(--ink); }
.mockup-slot i { font-style: normal; font-size: .75rem; color: #8A9BB0; }
.mockup-slot.s-1, .mockup-slot.s-4 { border-left: 3px solid var(--blue); }
.mockup-slot.s-2, .mockup-slot.s-6 { border-left: 3px solid var(--green); }
.mockup-slot.s-3, .mockup-slot.s-5 { border-left: 3px solid var(--teal); }

.mockup-bar-progress { background: rgba(246, 249, 252, .8); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.progress-head { display: flex; justify-content: space-between; font-size: .78rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.progress-track { height: 8px; border-radius: 999px; background: #E8EEF6; overflow: hidden; }
.progress-fill { display: block; height: 100%; border-radius: 999px; background: var(--grad); }

/* Painel financeiro */
.mockup-total { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mockup-chart {
  display: flex; align-items: flex-end; gap: 10px; height: 110px;
  padding: 12px 14px; background: rgba(246, 249, 252, .8);
  border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px;
}
.mockup-chart span {
  flex: 1; border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--blue), var(--teal));
  animation: growbar .8s ease both; transform-origin: bottom;
}
.mockup-chart span:nth-child(even) { background: linear-gradient(180deg, var(--teal), var(--green)); }
@keyframes growbar { from { transform: scaleY(0); } }
.mockup-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: .78rem; font-weight: 600; color: var(--body); }
.lg { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; vertical-align: middle; }
.lg-blue { background: var(--blue); } .lg-green { background: var(--green); }
.lg-teal { background: var(--teal); } .lg-violet { background: var(--violet); }

/* Painel check-in */
.scan-area { display: flex; align-items: center; gap: 20px; }
.scan-ring {
  position: relative; width: 116px; height: 116px; flex-shrink: 0;
  border-radius: 24px; background: #F2F7FF; border: 1px solid var(--border);
  display: grid; place-items: center; overflow: hidden;
}
.scan-ring.small { width: 74px; height: 74px; border-radius: 18px; }
.avatar-svg { width: 72px; height: 72px; }
.scan-ring.small .avatar-svg { width: 48px; height: 48px; }
.scan-line {
  position: absolute; left: 10%; right: 10%; height: 2px; top: 12%;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  box-shadow: 0 0 14px rgba(10, 108, 255, .9);
  animation: scanmove 2.6s ease-in-out infinite;
}
@keyframes scanmove { 0%, 100% { top: 10%; } 50% { top: 88%; } }
.scan-corner { position: absolute; width: 18px; height: 18px; border: 2px solid var(--blue); }
.scan-corner.c1 { top: 10px; left: 10px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.scan-corner.c2 { top: 10px; right: 10px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.scan-corner.c3 { bottom: 10px; left: 10px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.scan-corner.c4 { bottom: 10px; right: 10px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.scan-info { display: grid; gap: 8px; justify-items: start; }
.scan-info strong { color: var(--ink); font-size: 1.02rem; }
.scan-info small { display: inline-flex; align-items: center; gap: 6px; color: #8A9BB0; font-size: .78rem; }
.scan-info small .icon { color: var(--blue); }

/* Float cards */
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-md);
  animation: floaty 5s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-title); font-size: 1.05rem; color: var(--ink); line-height: 1.2; }
.float-card small { font-size: .78rem; color: var(--body); }
.fc-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; }
.fc-blue { background: #EAF2FF; color: var(--blue); }
.fc-green { background: #EAF7F1; color: var(--green-dark); }
.fc-1 { top: -22px; right: -14px; animation-delay: .6s; }
.fc-2 { bottom: -22px; left: -18px; animation-delay: 1.4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) {
  .float-card, .scan-line, .mockup-chart span, .live-dot,
  .dash-line-a, .dash-line-b, .dash-area, .dash-dot, .dash-bar span { animation: none; }
  .dash-line-a { stroke-dashoffset: 0; }
  .dash-line-b, .dash-area { opacity: 1; }
}

/* ============ VALOR ANIMADO (contador) ============ */
.metric-value {
  font-family: var(--font-title); font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; letter-spacing: -.02em;
}

/* ============ SEÇÕES GERAIS ============ */
.pain, .features, .how, .testimonials, .faq, .segments, .journey, .analytics, .results { padding: 96px 0; }
.pain, .features, .analytics { position: relative; }
.solution { position: relative; padding: 96px 0; background: var(--bg-soft); }
.journey { background: var(--bg-soft); }
.demo { position: relative; padding: 0 0 96px; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; position: relative; }
.section-tag {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue);
  background: #EAF2FF; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.tag-green { background: #EAF7F1; color: var(--green-dark); }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.section-head p { font-size: 1.05rem; }

/* ============ DORES ============ */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.pain-card {
  border-radius: var(--radius); padding: 26px 22px;
  transition: transform .25s, box-shadow .25s;
}
.pain-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pain-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px; }
.p-red { background: #FFECEC; color: #E5484D; }
.p-orange { background: #FFF1E6; color: #F76B15; }
.p-amber { background: #FFF7E0; color: #D89A00; }
.p-violet { background: #F1EAFF; color: var(--violet); }
.pain-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.pain-card p { font-size: .92rem; }

/* ============ SOLUÇÃO ============ */
.solution-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.solution-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.solution-copy p { font-size: 1.05rem; margin-bottom: 24px; }
.solution-list { list-style: none; display: grid; gap: 12px; margin-bottom: 30px; }
.solution-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); font-size: .98rem; }
.solution-list .check {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: #EAF7F1; color: var(--green-dark);
  display: grid; place-items: center;
}

/* Infográfico network */
.solution-visual { display: grid; justify-items: center; gap: 20px; }
.net { width: min(560px, 100%); }
.net-links line { stroke: url(#netGrad); stroke-width: 1.6; opacity: .5; stroke-dasharray: 6 10; animation: dashflow 3.2s linear infinite; }
.net-links line:nth-child(2) { animation-delay: -.8s; }
.net-links line:nth-child(3) { animation-delay: -1.6s; }
.net-links line:nth-child(4) { animation-delay: -2.4s; }
.net-links line:nth-child(5) { animation-delay: -3s; }
@keyframes dashflow { to { stroke-dashoffset: -32; } }
.node-bg { fill: #fff; stroke: var(--border); stroke-width: 1.5; }
.node-ic { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.node-ic-white { stroke: #fff; }
.pulse-ring {
  fill: none; stroke: rgba(10, 108, 255, .45); stroke-width: 1.6;
  transform-box: fill-box; transform-origin: center;
  animation: ringpulse 3.4s ease-out infinite;
}
.net-node:nth-child(odd) .pulse-ring { animation-delay: -1.7s; }
@keyframes ringpulse { 0% { transform: scale(.62); opacity: .9; } 100% { transform: scale(1.75); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .net-links line, .pulse-ring { animation: none; } }

.net-label rect { fill: #fff; stroke: var(--border); stroke-width: 1; }
.net-label text { fill: var(--ink); }
.net-label.hub rect { fill: url(#netGrad); stroke: none; }
.net-label.hub text { fill: #fff; }

/* ============ DESTAQUES (check-in + financeiro) ============ */
.spotlights { padding: 96px 0; }
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.spotlight + .spotlight { margin-top: 72px; }
.spotlight-copy { display: grid; gap: 14px; justify-items: start; }
.spotlight-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; }
.spotlight-copy > p { font-size: 1.05rem; }
.spotlight-copy .solution-list { margin-bottom: 0; }
.spot-visual { position: relative; }

/* Painel de check-in */
.checkin-panel { border-radius: 24px; padding: 24px; display: grid; gap: 16px; box-shadow: var(--shadow-lg); }
.checkin-top { display: flex; align-items: center; gap: 18px; }
.checkin-panel .scan-ring { width: 128px; height: 128px; border-radius: 26px; }
.checkin-panel .avatar-svg { width: 80px; height: 80px; }

/* Mapa com geolocalização */
.geo-map {
  position: relative; height: 150px; border-radius: 16px; overflow: hidden;
  background-color: #F2F7FF;
  background-image:
    linear-gradient(rgba(10, 108, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 108, 255, .07) 1px, transparent 1px);
  background-size: 26px 26px;
  border: 1px solid var(--border);
  display: grid; place-items: center;
}
.geo-ring {
  position: absolute; border-radius: 50%;
  border: 2px dashed rgba(10, 108, 255, .35);
}
.geo-ring.g1 { width: 64px; height: 64px; }
.geo-ring.g2 { width: 132px; height: 132px; }
.geo-ring.g3 { width: 200px; height: 200px; }
.geo-pin {
  position: relative; z-index: 1;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(10, 108, 255, .45);
}
.geo-chip { position: absolute; top: 10px; left: 10px; z-index: 1; }
.geo-label {
  position: absolute; bottom: 10px; right: 12px; z-index: 1;
  font-size: .74rem; font-weight: 600; color: var(--ink);
  background: rgba(255, 255, 255, .85); padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--border);
}

/* Painel financeiro */
.fin-panel { border-radius: 24px; padding: 24px; display: grid; gap: 12px; box-shadow: var(--shadow-lg); }
.fin-panel .mockup-total { margin-bottom: 4px; }
.fin-panel .mockup-total > div { display: grid; gap: 2px; min-width: 0; }
.fin-panel .mockup-total .kpi-value { white-space: nowrap; }
.fin-panel .mockup-chart { height: 110px; margin-bottom: 4px; }
.fin-rows { display: grid; gap: 8px; }
.fin-ante {
  display: flex; align-items: center; gap: 12px;
  background: rgba(246, 249, 252, .8); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 14px;
}
.fin-ante strong { display: block; font-size: .86rem; color: var(--ink); }
.fin-ante small { font-size: .74rem; color: #8A9BB0; }
.fin-btn {
  margin-left: auto; font-size: .78rem; font-weight: 700; color: #fff;
  background: var(--grad); padding: 7px 14px; border-radius: 999px; white-space: nowrap;
}

/* ============ PILARES (bento grid) ============ */
.features-bento.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.bento-card {
  border-radius: 24px; padding: 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .25s, box-shadow .25s; overflow: hidden; position: relative;
}
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.feature-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.feature-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; }
.f-blue { background: #EAF2FF; color: var(--blue); }
.f-green { background: #EAF7F1; color: var(--green-dark); }
.f-teal { background: #E4FAFD; color: #0E97B4; }
.f-violet { background: #F1EAFF; color: var(--violet); }
.bento-card h3 { font-size: 1.12rem; }
.bento-desc { font-size: .93rem; }

/* Faixa modular (módulos contratáveis juntos ou separados) */
.modular-strip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.mod-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  font-weight: 600; font-size: .92rem; color: var(--ink);
}
.mod-chip .icon { color: var(--blue); }
.mod-chip.mod-fin .icon { color: var(--green-dark); }
.mod-chip.mod-comp .icon { color: #0E97B4; }
.mod-plus, .mod-eq { font-weight: 700; font-size: 1.05rem; color: #8A9BB0; }
.mod-result {
  display: inline-flex; align-items: center;
  padding: 10px 20px; border-radius: 999px;
  background: var(--grad); color: #fff;
  font-weight: 700; font-size: .92rem;
  box-shadow: 0 8px 22px rgba(10, 108, 255, .25);
}
.modular-note { text-align: center; margin-top: 14px; font-size: .9rem; color: var(--body); }
@media (max-width: 760px) {
  .modular-strip { gap: 8px; }
  .mod-chip { padding: 9px 14px; font-size: .85rem; }
  .mod-result { padding: 9px 16px; font-size: .85rem; }
}

/* Mockup interno dos cards (mini "tela" do produto) */
.bento-ui {
  background: rgba(246, 249, 252, .85);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 14px; display: grid; gap: 12px;
}
.bento-slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.bento-total-row { display: flex; align-items: center; justify-content: space-between; }
.bento-chart {
  display: flex; align-items: flex-end; gap: 8px; height: 96px;
  animation: none;
}
.bento-chart span {
  flex: 1; border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--blue), var(--teal));
  animation: growbar .8s ease both; transform-origin: bottom;
}
.bento-chart span:nth-child(even) { background: linear-gradient(180deg, var(--teal), var(--green)); }

/* Lista de bullets dos pilares */
.pillar-list { list-style: none; display: grid; gap: 10px; }
.pillar-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; font-weight: 500; color: var(--body); }
.pillar-list .check {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 3px;
  background: #EAF7F1; color: var(--green-dark);
  display: grid; place-items: center;
}

/* Documentos */
.doc-row {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 9px 11px;
}
.doc-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.d-blue { background: #EAF2FF; color: var(--blue); }
.d-amber { background: #FFF7E0; color: #D89A00; }
.d-red { background: #FFECEC; color: #E5484D; }
.d-green { background: #EAF7F1; color: var(--green-dark); }
.doc-info { min-width: 0; flex: 1; }
.doc-info strong { display: block; font-size: .76rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-info small { font-size: .68rem; color: #8A9BB0; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-badge { font-size: .66rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; flex-shrink: 0; }
.doc-badge.ok { background: #EAF7F1; color: var(--green-dark); }
.doc-badge.warn { background: #FFF7E0; color: #B07E00; }
.doc-badge.danger { background: #FFECEC; color: #D32F2F; }

/* ============ SEGMENTOS ============ */
.segments-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.segment-card {
  border-radius: var(--radius); padding: 26px 24px;
  display: grid; gap: 12px; align-content: start; justify-items: start;
  transition: transform .25s, box-shadow .25s;
}
.segment-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.segment-card h3 { font-size: 1.05rem; }
.segment-card p { font-size: .9rem; }

/* ============ JORNADA INTEGRADA ============ */
.chain {
  display: flex; align-items: center; justify-content: center; gap: 0;
  max-width: 980px; margin: 0 auto 48px; position: relative;
}
.chain-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 999px; white-space: nowrap;
  font-size: .88rem; color: var(--ink);
}
.chain-chip strong { font-family: var(--font-title); font-size: .9rem; }
.chain-ic { width: 30px; height: 30px; border-radius: 50%; background: #EAF2FF; color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.chain-chip:nth-of-type(2) .chain-ic { background: #EAF7F1; color: var(--green-dark); }
.chain-chip:nth-of-type(3) .chain-ic { background: #E4FAFD; color: #0E97B4; }
.chain-chip:nth-of-type(4) .chain-ic { background: #EAF7F1; color: var(--green-dark); }
.chain-chip:nth-of-type(5) .chain-ic { background: #EAF2FF; color: var(--blue); }
.chain-link {
  flex: 1; max-width: 80px; height: 2px; margin: 0 6px;
  background-image: linear-gradient(90deg, var(--blue) 50%, transparent 50%);
  background-size: 14px 2px; background-repeat: repeat-x;
  animation: chainflow 1.4s linear infinite;
}
@keyframes chainflow { to { background-position: 14px 0; } }
@media (prefers-reduced-motion: reduce) { .chain-link { animation: none; } }

.journey-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; position: relative; }
.journey-card {
  border-radius: var(--radius); padding: 28px 26px;
  display: grid; gap: 14px; align-content: start; justify-items: start;
  transition: transform .25s, box-shadow .25s;
}
.journey-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.journey-card h3 { font-size: 1.08rem; }
.journey-card p { font-size: .93rem; }

/* ============ ANALYTICS ============ */
.analytics-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.analytics-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.analytics-copy > p { font-size: 1.05rem; margin-bottom: 24px; }

.analytics-panel { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.analytics-panel .mockup-bar { background: rgba(248, 250, 253, .85); }
.analytics-body { padding: 18px; display: grid; gap: 14px; }

/* KPIs do dashboard */
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dash-kpi {
  display: flex; align-items: center; gap: 10px;
  background: rgba(246, 249, 252, .8); border: 1px solid var(--border);
  border-radius: 14px; padding: 11px 13px;
}
.dash-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.ic-blue { background: #EAF2FF; color: var(--blue); }
.ic-green { background: #EAF7F1; color: var(--green-dark); }
.ic-teal { background: #E4FAFD; color: #0E97B4; }
.ic-violet { background: #F1EAFF; color: var(--violet); }
.dash-kpi-txt { display: grid; gap: 2px; min-width: 0; }
.dash-value { font-family: var(--font-title); font-size: 1.12rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.dash-kpi .pill-up, .dash-kpi .pill-down { margin-left: auto; }
.pill-down {
  display: inline-flex; align-items: center; gap: 5px;
  background: #FFF7E0; color: #B07E00; font-weight: 700; font-size: .78rem;
  padding: 5px 12px; border-radius: 999px;
}

/* Gráfico de área + donut */
.dash-main { display: grid; grid-template-columns: 1.55fr .95fr; gap: 14px; }
.dash-chart, .dash-donut {
  background: rgba(246, 249, 252, .8); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 14px;
}
.dash-chart { display: grid; gap: 8px; }
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dash-legend { font-size: .72rem; font-weight: 600; color: var(--body); white-space: nowrap; }
.dash-legend .lg { margin-left: 10px; margin-right: 4px; }
.dash-legend .lg:first-child { margin-left: 0; }
.dash-line { width: 100%; height: 132px; display: block; }
.dash-line-a {
  fill: none; stroke: var(--blue); stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 620; stroke-dashoffset: 620;
  animation: dashdraw 1.8s .2s ease forwards;
}
.dash-line-b {
  fill: none; stroke: var(--green); stroke-width: 2; stroke-dasharray: 6 7;
  opacity: 0; animation: dashfade .6s 1.1s ease forwards;
}
.dash-area { fill: url(#areaGrad); opacity: 0; animation: dashfade .8s 1.3s ease forwards; }
@keyframes dashdraw { to { stroke-dashoffset: 0; } }
@keyframes dashfade { to { opacity: 1; } }
.dash-dot {
  fill: #fff; stroke: var(--blue); stroke-width: 3;
  transform-box: fill-box; transform-origin: center;
  animation: dotpulse 1.8s ease-in-out infinite;
}
@keyframes dotpulse { 50% { transform: scale(1.5); } }
.dash-months { display: flex; justify-content: space-between; font-size: .68rem; color: #8A9BB0; font-weight: 600; }

.dash-donut { display: grid; gap: 10px; }
.donut-wrap { position: relative; width: 128px; height: 128px; margin-inline: auto; }
.donut-wrap svg { width: 100%; height: 100%; }
.donut-bg { fill: none; stroke: #E8EEF6; stroke-width: 10; }
.donut-seg { fill: none; stroke-width: 10; }
.donut-seg.s1 { stroke: var(--blue); stroke-dasharray: 90.5 135.7; }
.donut-seg.s2 { stroke: var(--teal); stroke-dasharray: 79.2 147; stroke-dashoffset: -90.5; }
.donut-seg.s3 { stroke: var(--green); stroke-dasharray: 56.5 169.7; stroke-dashoffset: -169.7; }
.donut-center {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center;
  text-align: center; font-family: var(--font-title); font-weight: 800; font-size: 1.2rem; color: var(--ink);
}
.donut-center small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .6rem; color: #8A9BB0; }
.donut-legend { display: flex; justify-content: center; gap: 12px; font-size: .72rem; font-weight: 600; color: var(--body); flex-wrap: wrap; }

/* Drill por unidade */
.dash-rows { display: grid; gap: 8px; }
.dash-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 110px auto; align-items: center; gap: 10px;
  background: rgba(246, 249, 252, .8); border: 1px solid var(--border);
  border-radius: 12px; padding: 9px 12px;
}
.dash-row-name { font-size: .78rem; font-weight: 600; color: var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-row strong { font-size: .78rem; color: var(--ink); justify-self: end; }
.dash-bar { height: 6px; border-radius: 999px; background: #E8EEF6; overflow: hidden; }
.dash-bar span {
  display: block; height: 100%; border-radius: 999px;
  background: var(--grad); transform-origin: left;
  animation: growx 1s ease both;
}
.dash-bar.amber span { background: linear-gradient(90deg, #F76B15, #F7C948); }
@keyframes growx { from { transform: scaleX(0); } }
.mini-row > .pill-up { margin-left: auto; }

/* ============ RESULTADOS ============ */
.results-panel {
  position: relative; overflow: hidden;
  border-radius: 28px; padding: 72px 48px; text-align: center;
  display: grid; gap: 14px; justify-items: center;
  box-shadow: var(--shadow-lg);
}
.results-panel .aurora span { opacity: .5; }
.results-value { font-size: clamp(3rem, 7vw, 4.6rem); line-height: 1.1; }
.results-panel h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; max-width: 720px; }
.results-panel p { max-width: 620px; font-size: 1.02rem; }

/* ============ DEPOIMENTOS ============ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 64px; }
.testimonial {
  border-radius: var(--radius); padding: 28px 26px; margin: 0;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .25s, box-shadow .25s;
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stars { display: flex; gap: 3px; color: #FFB020; }
.testimonial blockquote { font-size: .96rem; color: var(--ink); font-weight: 500; flex-grow: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  font-family: var(--font-title); font-weight: 700; color: #fff; font-size: .95rem;
  display: grid; place-items: center;
}
.a1 { background: linear-gradient(135deg, #0A6CFF, #06B6D4); }
.a2 { background: linear-gradient(135deg, #0FB97C, #06B6D4); }
.a3 { background: linear-gradient(135deg, #7C3AED, #0A6CFF); }
.testimonial figcaption strong { display: block; color: var(--ink); font-size: .95rem; }
.testimonial figcaption small { color: #8A9BB0; font-size: .82rem; }

.clients { text-align: center; }
.clients-title { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8A9BB0; margin-bottom: 22px; }
.clients-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; }
.client-logo { font-family: var(--font-title); font-weight: 700; font-size: 1.25rem; color: #9FB0C3; transition: color .25s; }
.client-logo:hover { color: var(--blue); }

.clients-stats {
  margin-top: 30px;
  display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 6px;
  font-family: var(--font-title); font-weight: 600; font-size: 1.05rem; color: var(--body);
}
.clients-stats .metric-value { font-size: 1.6rem; font-weight: 800; }
.clients-stats i { width: 6px; height: 6px; border-radius: 50%; background: #CBD8E6; margin: 0 12px; align-self: center; }

/* ============ COMO FUNCIONA (fluxo operacional) ============ */
.steps { display: grid; gap: 40px; max-width: 920px; margin: 0 auto; }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.step-copy { display: grid; gap: 10px; justify-items: start; }
.step-num {
  width: 56px; height: 56px; border-radius: 18px;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  font-family: var(--font-title); font-weight: 800; font-size: 1.3rem;
  display: grid; place-items: center; color: var(--blue);
}
.step:nth-child(2) .step-num { color: var(--teal); }
.step:nth-child(3) .step-num { color: var(--green-dark); }
.step:nth-child(4) .step-num { color: var(--green-dark); }
.step:nth-child(5) .step-num { color: var(--violet); }
.step h3 { font-size: 1.2rem; }
.step p { font-size: .95rem; }

/* Mini-UIs ilustrativas */
.mini-ui { border-radius: 18px; padding: 16px; display: grid; gap: 10px; box-shadow: var(--shadow-md); }
.mini-head { display: flex; align-items: center; justify-content: space-between; }
.mini-title { font-size: .8rem; font-weight: 700; color: var(--ink); }
.mini-badge {
  font-size: .72rem; font-weight: 700; color: #fff; background: var(--blue);
  padding: 4px 12px; border-radius: 999px;
}
.mini-live { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; color: var(--green-dark); }
.mini-row { display: flex; align-items: center; gap: 9px; font-size: .8rem; color: var(--body); }
.mini-row strong { margin-left: auto; color: var(--ink); font-size: .8rem; }
.mini-dot { width: 8px; height: 8px; border-radius: 3px; flex-shrink: 0; }
.mini-dot.d-blue { background: var(--blue); } .mini-dot.d-green { background: var(--green); } .mini-dot.d-teal { background: var(--teal); }
.progress-track.mini { height: 6px; }
.mini-foot { font-size: .72rem; color: #8A9BB0; text-align: right; }
.mini-notif {
  display: flex; align-items: center; gap: 10px;
  background: rgba(246, 249, 252, .8); border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 12px;
}
.mini-notif strong { display: block; font-size: .8rem; color: var(--ink); }
.mini-notif small { font-size: .72rem; color: #8A9BB0; }
.n-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.n-blue { background: #EAF2FF; color: var(--blue); }
.n-green { background: #EAF7F1; color: var(--green-dark); }
.n-toggle {
  margin-left: auto; width: 34px; height: 19px; border-radius: 999px;
  background: #DCE5EF; position: relative; flex-shrink: 0;
}
.n-toggle.on { background: var(--green); }
.n-toggle.on::after { left: 17px; }
.n-toggle::after {
  content: ""; position: absolute; top: 2.5px; left: 2.5px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; transition: left .2s;
}
.mini-scan { display: flex; align-items: center; gap: 14px; }
.mini-scan strong { display: block; color: var(--ink); font-size: .86rem; }
.mini-scan small { display: inline-flex; align-items: center; gap: 5px; color: #8A9BB0; font-size: .74rem; }
.mini-scan small .icon { color: var(--blue); }
.mini-total { font-family: var(--font-title); font-size: 1.6rem; font-weight: 800; color: var(--ink); }
.pill-up.mini, .pill-ok.mini, .pill-down.mini { font-size: .72rem; padding: 4px 10px; }
.mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 44px; }
.mini-bars span { flex: 1; border-radius: 4px 4px 1px 1px; background: var(--grad); opacity: .85; }

/* ============ DEMONSTRAÇÃO (formulário) ============ */
.demo-wrap { position: relative; border-radius: 28px; overflow: hidden; }
.demo-wrap .aurora span { opacity: .5; }
.demo-box {
  position: relative; z-index: 1;
  border-radius: 28px; padding: 56px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.demo-copy h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.demo-copy > p { font-size: 1rem; margin-bottom: 24px; }

.demo-form {
  background: #fff; border: 1px solid var(--border); border-radius: 20px;
  padding: 28px; display: grid; gap: 16px; box-shadow: var(--shadow-md);
}
.demo-form[hidden] { display: none; }
.field { display: grid; gap: 6px; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink); }
.field label:has(+ input[required])::after { content: " *"; color: #E5484D; }
.field input {
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border);
  font: inherit; font-size: .95rem; color: var(--ink); background: #F8FAFD;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder { color: #9FB0C3; }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10, 108, 255, .14); background: #fff; }
.field input.invalid { border-color: #E5484D; background: #FFF7F7; }
.field input.invalid:focus { box-shadow: 0 0 0 3px rgba(229, 72, 77, .14); }
.field-error {
  display: flex; align-items: center; gap: 6px;
  color: #B42318; font-size: .74rem; font-weight: 600; line-height: 1.4;
}
.field-error::before {
  content: "!"; width: 16px; height: 16px; border-radius: 50%; flex: 0 0 16px;
  display: grid; place-items: center; color: #fff; background: #E5484D;
  font-size: .66rem; font-weight: 800;
}
.field-error[hidden] { display: none; }
.form-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.demo-submit { width: 100%; }
.demo-submit:disabled { cursor: wait; opacity: .72; transform: none; }
.demo-error { color: #B42318; background: #FFF1F0; border: 1px solid #FFD1CC; border-radius: 10px; padding: 10px 12px; font-size: .78rem; line-height: 1.45; text-align: center; }
.demo-error[hidden] { display: none; }
.demo-note { font-size: .74rem; color: #8A9BB0; text-align: center; line-height: 1.5; }

.demo-success { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 44px 20px; }
.demo-success[hidden] { display: none; }
.success-ic {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 32px rgba(10, 108, 255, .35);
}
.demo-success h3 { font-size: 1.25rem; }
.demo-success p { max-width: 340px; font-size: .95rem; }

/* ============ FAQ ============ */
.faq-container { max-width: 780px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { border-radius: 16px; overflow: hidden; transition: border-color .25s; }
.faq-item[open] { border-color: #BFD7FF; }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-weight: 600; color: var(--ink); font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--blue);
  transition: transform .25s; line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 22px; font-size: .95rem; }

/* ============ FOOTER ============ */
.footer { background: #F2F7FC; padding: 56px 0 28px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand { max-width: 360px; display: grid; gap: 14px; justify-items: start; }
.footer .logo-img { height: 40px; margin-left: -16px; }
.footer-brand p { font-size: .9rem; }
.footer-where {
  display: flex; align-items: center; gap: 7px;
  font-size: .88rem; color: var(--body);
}
.footer-where .icon { color: var(--blue); flex-shrink: 0; }
.footer-where strong { color: var(--ink); font-weight: 600; }
.footer-cols { display: flex; gap: 72px; }
.footer-col { display: grid; gap: 12px; align-content: start; }
.footer-col h4 { font-size: .95rem; margin-bottom: 2px; }
.footer-col a { color: var(--body); text-decoration: none; font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  border-top: 1px solid var(--border); margin-top: 44px; padding-top: 22px;
  font-size: .8rem; color: #8A9BB0;
}

/* ============ BANNER DE PRESENÇA ============ */
.region-banner {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: flex; align-items: center; gap: 14px;
  max-width: 470px; padding: 18px 20px; border-radius: 20px;
  border: 1px solid transparent;
  background: linear-gradient(rgba(11, 27, 43, .97), rgba(15, 42, 70, .97)) padding-box,
    linear-gradient(135deg, var(--blue), var(--teal) 55%, var(--green)) border-box;
  box-shadow: 0 18px 45px rgba(2, 12, 26, .5);
  overflow: hidden;
  opacity: 0; transform: translateY(18px) scale(.96);
  transition: opacity .45s ease, transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
.region-banner.show { opacity: 1; transform: none; }
.region-banner[hidden] { display: none; }

/* brilho aurora atrás das bandeiras */
.region-glow {
  position: absolute; left: -40px; top: 50%; width: 160px; height: 160px;
  transform: translateY(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(10, 108, 255, .3), rgba(6, 182, 212, .2) 45%, transparent 70%);
  animation: region-pulse 3.2s ease-in-out infinite;
}
@keyframes region-pulse {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: .85; }
  50% { transform: translateY(-50%) scale(1.18); opacity: 1; }
}

/* bandeiras sobrepostas */
.region-flags {
  position: relative; z-index: 1; flex-shrink: 0;
  display: flex; align-items: center;
}
.region-flags .flag {
  width: 36px; height: 27px; border-radius: 7px;
}
.region-flags .flag-br { transform: rotate(-5deg); }
.region-flags .flag-ar { margin-left: -13px; transform: rotate(4deg); }

.region-txt { position: relative; z-index: 1; display: grid; gap: 3px; }
.region-txt strong { font-size: .96rem; color: #fff; line-height: 1.4; }
.region-txt small { font-size: .82rem; color: #B6C8DA; line-height: 1.45; }
.region-close {
  position: relative; z-index: 1; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #CBD8E8;
  display: grid; place-items: center; cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.region-close:hover { color: #fff; border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .14); }

/* ============ SUBPÁGINA COMPARATIVO ============ */
.compare-hero .hero-inner { grid-template-columns: 1fr; justify-items: center; max-width: 880px; }
.compare-hero .hero-sub { max-width: 100%; margin-inline: 0; text-align: center; }
.compare-hero .trust-seals { justify-content: center; }
.compare-hero .hero-ctas { justify-content: center; }
.legend-yes { color: var(--green-dark); }
.legend-no { color: #E5484D; }
.legend-part { color: #F59E0B; }

.compare { padding: 72px 0 96px; }
.compare-scroll {
  overflow-x: auto; border-radius: 20px;
  border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-lg);
}
.compare-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.compare-table th, .compare-table td {
  padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--border);
  font-size: .9rem; color: var(--body); vertical-align: middle;
}
.compare-table thead th {
  font-family: var(--font-title); font-size: .98rem; color: var(--ink);
  padding: 20px 18px; background: #FBFDFF;
}
.compare-table th.compare-gh small { display: block; font-weight: 400; color: #B6C8DA; font-size: .72rem; margin-top: 3px; }
.compare-table th.compare-feature, .compare-table td.compare-feature {
  text-align: left; font-weight: 600; color: var(--ink); min-width: 240px;
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-gh {
  background: linear-gradient(165deg, #0B1B2B, #12395B);
  border-left: 1px solid rgba(255, 255, 255, .08); border-right: 1px solid rgba(255, 255, 255, .08);
}
.compare-table thead .compare-gh {
  background: linear-gradient(165deg, #0B1B2B, #12395B); color: #fff;
  border-bottom-color: rgba(255, 255, 255, .1);
}
.compare-table tbody .compare-gh { color: #fff; border-bottom-color: rgba(255, 255, 255, .08); }
.cmp { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.cmp.yes { color: var(--green-dark); }
.cmp.no { color: #E5484D; }
.cmp.part { color: #F59E0B; }
.compare-table tbody .compare-gh .cmp.yes { color: #3CE7A9; }
.compare-note { margin-top: 14px; font-size: .78rem; color: #8A9BB0; text-align: center; }

.why { padding: 72px 0 96px; background: var(--bg-soft); }

.verdict { padding: 96px 0; background: linear-gradient(160deg, #0B1B2B, #0F2A46); color: #fff; }
.verdict-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.verdict-tag {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: #7DE3F2; background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.verdict-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: #fff; }
.verdict-head .grad-text {
  background: linear-gradient(100deg, #5CA8FF, #33D8EC 55%, #3CE7A9);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.verdict-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 48px; }
.verdict-card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px; padding: 28px 26px; display: grid; gap: 12px;
}
.verdict-num {
  font-family: var(--font-title); font-weight: 800; font-size: 1.15rem;
  background: linear-gradient(100deg, #5CA8FF, #33D8EC 55%, #3CE7A9);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.verdict-card h3 { font-size: 1.08rem; color: #fff; }
.verdict-card p { font-size: .92rem; color: #B6C8DA; line-height: 1.6; }
.verdict-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.btn-ghost-light {
  background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); color: #fff;
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); color: #fff; }

.nav a.active { color: var(--blue); font-weight: 600; }

@media (max-width: 1024px) {
  .verdict-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .compare { padding: 56px 0 72px; }
  .why { padding: 56px 0 72px; }
  .verdict { padding: 72px 0; }
  .verdict-cta { flex-direction: column; align-items: stretch; }
  .compare-hero { padding: 44px 0 56px; }
  .compare-hero .hero-copy { width: 100%; text-align: center; }
  .compare-hero .badge-pill { margin-inline: auto; }
  .compare-hero h1 { font-size: clamp(1.85rem, 8.5vw, 2.35rem); line-height: 1.12; margin-bottom: 18px; }
  .compare-hero .hero-sub { font-size: .95rem; line-height: 1.6; margin-bottom: 20px; }
  .compare-hero .trust-seals { gap: 6px; margin-bottom: 20px; }
  .compare-hero .trust-seals li { padding: 6px 10px; font-size: .8rem; }
  .compare-hero .hero-ctas { width: 100%; flex-direction: column; align-items: center; }
  .compare-hero .hero-ctas .btn { width: min(100%, 360px); white-space: normal; text-align: center; }
}

/* ============ RESPONSIVO ============ */
@media (max-width: 1024px) {
  .hero-inner, .solution-inner, .analytics-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; margin-inline: auto; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .fc-1 { right: 0; }
  .fc-2 { left: 0; }
  .journey-grid { grid-template-columns: 1fr 1fr; }
  .demo-box { grid-template-columns: 1fr; gap: 36px; }
  .chain-link { max-width: 44px; }
  .spotlight { grid-template-columns: 1fr; gap: 28px; }
  .spotlight .spot-visual { order: -1; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 72px 0 auto; background: rgba(255,255,255,.97); flex-direction: column;
    gap: 0; padding: 12px 6%; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
    display: none; z-index: 49;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid #F1F5FA; }
  .nav a:last-child { border-bottom: 0; }
  .nav .nav-demo {
    display: block; text-align: center; margin-top: 12px; padding: 12px 18px;
    background: #EAF2FF; color: var(--blue); border-radius: 999px; font-weight: 600; border-bottom: 0;
  }
  .menu-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .header .logo-img { height: 49px; }

  .btn { padding: 11px 20px; font-size: .92rem; }
  .btn-lg { padding: 12px 20px; font-size: .92rem; }
  .btn-sm { padding: 8px 16px; font-size: .84rem; }
  .hero-ctas { gap: 10px; }

  .hero { padding: 56px 0 72px; }
  .pain, .features, .how, .testimonials, .faq, .solution, .spotlights, .segments, .journey, .analytics, .results { padding: 64px 0; }
  .demo { padding: 0 0 64px; }
  .pain-grid { grid-template-columns: 1fr; }
  .features-bento.pillars { grid-template-columns: 1fr; }
  .segments-grid { grid-template-columns: 1fr; }
  .journey-grid { grid-template-columns: 1fr; }
  .chain { flex-wrap: wrap; row-gap: 12px; }
  .chain-link { flex: 0 0 36px; max-width: 36px; }
  .mockup-row { grid-template-columns: 1fr 1fr; }
  .mockup-row .mockup-kpi:last-child { grid-column: span 2; }
  .results-panel { padding: 52px 24px; border-radius: 22px; }
  .demo-box { padding: 44px 22px; border-radius: 22px; }
  .step { grid-template-columns: 1fr; gap: 20px; }
  .step .mini-ui { order: -1; }
  .scan-area { flex-direction: column; align-items: flex-start; }
  .spotlight + .spotlight { margin-top: 56px; }
  .checkin-top { flex-direction: column; align-items: flex-start; }
  .dash-kpis { grid-template-columns: 1fr 1fr; }
  .dash-main { grid-template-columns: 1fr; }
  .dash-row { grid-template-columns: minmax(0, 1fr) auto; }
  .dash-row-name { grid-column: 1 / -1; }
  .dash-row .dash-bar { grid-column: 1; }
  .fc-1, .fc-2 { position: static; margin: 12px auto 0; display: inline-flex; }
  .hero-visual { display: grid; }
  .footer-cols { gap: 48px; }
  .footer .logo-img { height: 46px; margin-left: -18px; }
  .region-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
