/* ============================================================
   GESTÃO EM SAÚDE — Home stylesheet v1.0
   Componentes + layout da Home (estilo v2 validado)
   ============================================================ */

/* ---------- Reset & base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }

/* ---------- Lenis (smooth scroll com inércia) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.018em;
  line-height: 1.12;
  text-wrap: balance;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

:focus-visible {
  outline: 3px solid var(--blue-600);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: var(--sec-pad); }
.section--paper { background: var(--paper); }
.section--navy  { background: var(--ink); }

.section-head { max-width: 720px; margin-bottom: var(--block-gap); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--inv .h2 { color: var(--white); }
.section-head--inv .lead { color: var(--text-inv-soft); }

.h2 { font-size: var(--fs-h2); font-weight: 500; }
.lead {
  font-size: var(--fs-body-lg);
  color: var(--text-soft);
  line-height: 27px;
  margin-top: 16px;
}

.skip-link {
  position: absolute; left: 12px; top: -120px;
  background: var(--blue-600); color: #fff;
  padding: 12px 20px; border-radius: var(--r-md); z-index: 200;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Pill-tag (rótulo de seção) ---------- */
.pill-tag {
  display: inline-flex; align-items: center; gap: 9px;
  height: 34px; padding: 0 16px;
  border-radius: var(--r-pill);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600; color: var(--blue-600);
  margin-bottom: 18px;
}
.pill-tag::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange-500);
}
.pill-tag--orange { background: var(--orange-100); border-color: #F8CDAD; color: var(--orange-600); }
.pill-tag--orange::before { background: var(--orange-600); }
.pill-tag--inv {
  background: rgba(255,255,255,.08);
  border-color: var(--line-dark);
  color: var(--text-inv);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 52px; padding: 0 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease),
              box-shadow .18s var(--ease), transform .18s var(--ease), border-color .18s var(--ease);
}
.btn--sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn .arrow { transition: transform .18s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }

.btn--primary { background: var(--blue-600); color: #fff; }
.btn--primary:hover { background: var(--blue-500); box-shadow: var(--shadow-glow-blue); }

.btn--accent { background: var(--orange-500); color: #fff; }
.btn--accent:hover { background: var(--orange-600); box-shadow: var(--shadow-glow-orange); }

.btn--ghost { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--blue-600); color: var(--blue-600); }

.btn--ghost-inv { border: 1.5px solid var(--line-dark); color: #fff; }
.btn--ghost-inv:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); }

.btn--on-navy { background: #fff; color: var(--blue-600); }
.btn--on-navy:hover { background: var(--blue-50); box-shadow: 0 8px 24px rgba(0,0,0,.25); }

.btn--outline-accent { border: 1.5px solid var(--orange-500); color: var(--orange-500); background: transparent; }
.btn--outline-accent:hover { background: var(--orange-500); color: #fff; box-shadow: var(--shadow-glow-orange); }

/* ---------- Link com seta ---------- */
.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  color: var(--blue-600);
}
.link-arrow .arrow { transition: transform .18s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(3px); }
.link-arrow--inv { color: var(--text-inv); }

/* ---------- Placeholder de foto ---------- */
.ph {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(45deg, #E7EDF6 0 10px, #EEF3FB 10px 20px);
  border-radius: var(--r-lg);
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hover de foto estilo AngelList: zoom suave dentro do frame ----------
   A imagem cresce lentamente dentro do .ph (overflow:hidden), acompanhando o leve
   lift do card. Easing longo p/ combinar com o smooth scroll. */
.coverage-card .ph img,
.coverage-featured .ph img,
.news-card .ph img {
  transform: scale(1.001); /* evita serrilhado nas bordas durante a animação */
  transition: transform .7s var(--ease), filter .7s var(--ease);
  will-change: transform;
}
.coverage-card:hover .ph img,
.coverage-featured:hover .ph img,
.news-card:hover .ph img {
  transform: scale(1.06);
  filter: saturate(1.05) brightness(1.02);
}

/* ============================================================
   0. Barra utilitária
   ============================================================ */
.utility-bar {
  background: var(--ink);
  color: var(--text-inv-soft);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.utility-bar .container {
  height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.utility-status { display: inline-flex; align-items: center; gap: 9px; }
.status-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--ready);
  box-shadow: 0 0 0 4px rgba(31,165,103,.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(31,165,103,.06); } }
.utility-phone {
  font-family: var(--font-mono); letter-spacing: .04em; color: var(--text-inv);
  display: inline-flex; align-items: center; gap: 8px;
}
.utility-phone:hover { color: #fff; }
.utility-bar .hide-sm { display: inline; }

/* ============================================================
   1. Navbar (sticky)
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease-out);
}
.nav .container {
  height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.nav-logo { display: inline-flex; align-items: center; gap: 11px; justify-self: start; }
.nav-logo .logo-mark {
  width: 44px; height: 44px; color: var(--brand);
  display: grid; place-items: center; flex-shrink: 0;
}
.nav-logo .logo-mark .mandala { width: 100%; height: 100%; }
.footer .logo-mark { color: #8C8CE6; }
/* Logo oficial (lockup) */
.nav-logo-img { height: 40px; width: auto; display: block; }
.footer .nav-logo-img { height: 38px; }
.nav-logo .logo-text { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); line-height: 1.05; }
.nav-logo .logo-text span { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-soft); }

.nav-links { display: flex; align-items: center; gap: 30px; justify-self: center; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: 15.5px; color: var(--ink);
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.nav-links a:hover { color: var(--blue-600); }
.nav-links a.active { color: var(--blue-600); border-color: var(--blue-600); }

.nav-cta { display: flex; align-items: center; gap: 12px; justify-self: end; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-md); align-items: center; justify-content: center; color: var(--ink); }
.nav-toggle:hover { background: var(--paper); }

/* ============================================================
   2. Hero
   ============================================================ */
/* Hero — cada slide do carrossel é editorial 40/60 */
.hero-slide { display: flex; }
.hero-inner {
  position: relative; overflow: hidden; width: 100%;
  background: var(--grad-hero);
  padding-block: clamp(56px, 7vw, 92px);
  min-height: 884px;
  display: flex; align-items: center;
}
.hero-grid {
  display: grid; grid-template-columns: 2fr 3fr; gap: 64px; align-items: center;
  position: relative; z-index: 1; width: 100%;
}
.hero-copy { max-width: 580px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600);
  margin-bottom: 22px; line-height: 1.5;
}
.hero-eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--blue-600); flex-shrink: 0; }
.hero-title {
  font-size: clamp(33px, 3.7vw, 50px); font-weight: 500; line-height: 1.08;
  letter-spacing: -0.02em; color: var(--ink); text-wrap: balance;
}
.hero-title .accent { color: var(--blue-600); }
.hero-sub {
  font-size: var(--fs-body-lg); color: var(--text-soft); line-height: 27px;
  margin: 24px 0 36px; max-width: 480px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Mídia editorial (direita) — foto ou vídeo */
.hero-figure { position: relative; }
.hero-figure .ph { aspect-ratio: 4 / 4.4; border-radius: var(--r-xl); box-shadow: var(--shadow-card); }
.hero-figure .ph video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Showcase (slide 1) — profissional + blob + cards flutuantes (estilo SaaS) */
.hero-showcase { position: relative; min-height: 700px; }
.hero-blob {
  position: absolute; inset: 4% 8% 4% 6%; z-index: 0;
  background: radial-gradient(120% 120% at 50% 35%, var(--blue-100), var(--blue-50) 70%);
  border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%;
}
.hero-portrait {
  position: relative; z-index: 1; width: 74%; margin: 0 auto;
  aspect-ratio: 4 / 4.7; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Cut-out PNG transparente (com starburst embutido): centralizado, sem moldura/blob */
.hero-portrait--cutout {
  width: auto; max-width: 100%; aspect-ratio: auto;
  border-radius: 0; overflow: visible; box-shadow: none;
  align-self: center; margin: 0 auto;
}
.hero-portrait--cutout img {
  width: auto; max-width: 100%; height: auto; max-height: 700px;
  margin: 0 auto; object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(16,26,61,.12));
}
.float-card {
  position: absolute; z-index: 2; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop); padding: 14px 16px;
}
.float-card--kit { top: 10%; left: 9%; padding: 12px; width: 54px; height: 54px; display: grid; place-items: center; color: var(--blue-600); }
.float-card--stats { top: 24%; right: -2%; width: 218px; display: grid; gap: 14px; transform: scale(0.92); transform-origin: top right; }
.fc-head { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-soft); margin-bottom: 10px; }
.fc-head .status-dot { width: 8px; height: 8px; }
.fc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 13px; color: var(--text-soft); }
.fc-row b { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 14px; }
.fc-stat-title { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink); }
.fc-stat-title .status-dot { width: 8px; height: 8px; flex-shrink: 0; }
.fc-stat-sub { font-size: 12.5px; color: var(--text-soft); margin-top: 2px; padding-left: 16px; }
.fc-stat:first-child .fc-stat-sub { padding-left: 16px; }
.fc-stat:last-child .fc-stat-sub { padding-left: 0; }
.float-card--person { bottom: 12%; left: -2%; display: flex; align-items: center; gap: 12px; }
.float-card--person .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; flex-shrink: 0; }
.float-card--person .fc-name { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink); }
.float-card--person .fc-role { font-size: 12px; color: var(--text-soft); }
.float-card--person .fc-spark { color: var(--ready); }

/* ---------- Flutuação suave dos float-cards (vertical, dessincronizada) ----------
   Movimento lento e contínuo no eixo Y. Cada card tem amplitude, duração e fase
   próprias (delay negativo) p/ não se moverem em bloco. */
@media (prefers-reduced-motion: no-preference) {
  .float-card { will-change: transform; }
  .float-card--kit    { animation: floatY-a 6s   ease-in-out infinite; }
  .float-card--stats  { animation: floatY-b 7.5s ease-in-out infinite; animation-delay: -2s; }
  .float-card--person { animation: floatY-c 6.8s ease-in-out infinite; animation-delay: -4s; }
}
/* o --stats preserva o scale base dentro do keyframe p/ não "pular" de tamanho */
@keyframes floatY-a { 0%, 100% { transform: translateY(0); }              50% { transform: translateY(-9px); } }
@keyframes floatY-b { 0%, 100% { transform: scale(0.92) translateY(0); }  50% { transform: scale(0.92) translateY(-12px); } }
@keyframes floatY-c { 0%, 100% { transform: translateY(0); }              50% { transform: translateY(-7px); } }

@media (max-width: 960px) {
  .hero-showcase { min-height: 420px; max-width: 460px; margin-inline: auto; }
}
@media (max-width: 480px) {
  .float-card--stats { right: 0; width: 190px; }
  .float-card--person { left: 0; }
}

/* Mandala-radar — usado em banner com espaço em branco (slides claros) */
.hero-decor {
  position: absolute; top: -200px; left: -200px; width: 720px; height: 720px;
  color: var(--brand); opacity: .06; pointer-events: none; z-index: 0;
}
.hero-decor svg { width: 100%; height: 100%; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .hero-decor { animation: gms-spin 220s linear infinite; transform-origin: center; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-figure .ph { aspect-ratio: 16 / 11; }
  /* layout empilhado: não força os 807px do desktop */
  .hero-inner { min-height: 0; }
}

/* ============================================================
   3. Indicadores (hero stats)
   ============================================================ */
.indicators { background: var(--grad-hero); padding-top: 72px; padding-bottom: var(--sec-pad); }
.indicators-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--card-gap);
}
.indicator {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px var(--card-pad);
}
.indicator .num { font-family: var(--font-display); font-weight: 700; font-size: 42px; color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.indicator .num span { color: var(--orange-500); }
.indicator .label { font-size: 14.5px; color: var(--text-soft); margin-top: 8px; }

/* ============================================================
   4. Ecossistema
   ============================================================ */
.ecosystem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ecosystem-copy p { color: var(--text-soft); font-size: var(--fs-body-lg); line-height: 27px; margin-top: 18px; }
.ecosystem-copy .btn { margin-top: 32px; }
.ecosystem-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.eco-feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px;
}
.eco-feature .icon-tile { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; margin-bottom: 14px; }
.eco-feature h3 { font-size: 16px; font-weight: 500; }
.eco-feature p { font-size: 14px; color: var(--text-soft); margin-top: 5px; line-height: 1.5; }

/* ============================================================
   5. Empresas do Grupo
   ============================================================ */
/* --- Seção empresas: remove o padding inferior para o painel encostar --- */
.eco { padding-bottom: 0; }

/* Seletor de empresas (tabs com logo) */
.eco-switch {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line); border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden; background: #fff; margin-top: 8px;
  box-shadow: var(--shadow-card); position: relative; z-index: 2;
}
.eco-switch__tab {
  display: flex; align-items: center; justify-content: center; gap: 22px;
  padding: 38px 24px; background: #fff; cursor: pointer;
  border: 0; border-right: 1px solid var(--line);
  transition: background .2s var(--ease);
}
.eco-switch__tab:last-child { border-right: 0; }
.eco-switch__tab:hover { background: var(--paper); }
.eco-switch__tab:focus-visible { outline: 2px solid var(--blue-600); outline-offset: -2px; }
.eco-switch__dots { color: var(--line); transition: color .2s var(--ease); display: inline-flex; }
.eco-switch__logo { height: 40px; width: auto; filter: saturate(0); opacity: .5; transition: filter .2s var(--ease), opacity .2s var(--ease); }
.eco-switch__tab[aria-selected="true"] { background: #fff; }
.eco-switch__tab[aria-selected="true"] .eco-switch__dots { color: var(--orange-500); }
.eco-switch__tab[aria-selected="true"] .eco-switch__logo { filter: none; opacity: 1; }

/* Painel colorido full-bleed que troca conforme a empresa */
.eco-panel { position: relative; overflow: hidden; margin-top: 0; }
.eco-panel[hidden] { display: none; }
.eco-panel--phoenix { background: linear-gradient(135deg, var(--ink), var(--brand-700) 120%); }
.eco-panel--atende  { background: linear-gradient(135deg, var(--blue-600), var(--blue-500) 120%); }
.eco-panel .mandala-watermark { color: #fff; opacity: .06; top: -150px; right: -90px; width: 520px; height: 520px; }

/* Elemento decorativo de fundo — anel pontilhado refinado */
.eco-panel__ring {
  position: absolute; z-index: 0; pointer-events: none;
  top: -130px; right: -130px; width: 420px; height: 420px; border-radius: 50%;
  border: 1.5px dashed rgba(255,255,255,.10);
  -webkit-mask-image: radial-gradient(circle, transparent 58%, #000 60%);
          mask-image: radial-gradient(circle, transparent 58%, #000 60%);
}
.eco-panel__ring::after {
  content: ""; position: absolute; inset: 56px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.07);
}

.eco-panel__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center;
  padding-top: 72px; padding-bottom: 72px;
}

/* Topo do card — operação + seta no canto */
.eco-panel__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.eco-panel__op {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.eco-panel__corner {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.85);
  transition: background .2s var(--ease), transform .2s var(--ease);
}

.eco-panel__eyebrow {
  display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange-500); margin-bottom: 14px;
}
.eco-panel--atende .eco-panel__eyebrow { color: #fff; opacity: .82; }

.eco-panel__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(26px, 3vw, 38px); line-height: 1.18; letter-spacing: -0.01em;
  color: #fff; margin: 0;
}
.eco-panel__tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 36px; }
.eco-tag {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.92); background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-pill); padding: 8px 16px;
}

/* Foto com moldura externa */
.eco-panel__media { position: relative; }
.eco-panel__media .ph {
  aspect-ratio: 4 / 3.1; min-height: 340px; border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop); border: 1px solid rgba(255,255,255,.14);
}
.eco-panel__media::before {
  content: ""; position: absolute; inset: -14px; border-radius: calc(var(--r-lg) + 14px);
  border: 1px solid rgba(255,255,255,.16); pointer-events: none;
}

/* ============================================================
   6. Soluções (tabs)
   ============================================================ */
.sol-tabs {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px;
}
.sol-tab { scroll-snap-align: start; flex-shrink: 0; }
.sol-tab {
  display: inline-flex; align-items: center; gap: 9px;
  height: 48px; padding: 0 20px;
  border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--text);
  transition: background .18s var(--ease-out), border-color .18s var(--ease-out),
              color .18s var(--ease-out), box-shadow .18s var(--ease-out), transform .12s var(--ease-out);
}
.sol-tab:active { transform: scale(0.97); }
.sol-tab::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange-500); opacity: .55; transition: opacity .18s var(--ease); }
.sol-tab:hover { border-color: var(--blue-100); color: var(--ink); }
.sol-tab[aria-selected="true"] { background: var(--blue-600); border-color: var(--blue-600); color: #fff; box-shadow: var(--shadow-glow-blue); }
.sol-tab[aria-selected="true"]::before { opacity: 1; background: #fff; }

.sol-panel {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 40px; box-shadow: var(--shadow-card);
}
.sol-panel[hidden] { display: none; }
.sol-panel .sp-copy h3 { font-size: 30px; font-weight: 500; line-height: 1.2; margin: 6px 0 14px; }
.sol-panel .sp-copy p { color: var(--text-soft); font-size: var(--fs-body); line-height: 1.6; }
.sol-checks { display: grid; gap: 12px; margin: 22px 0 28px; }
.sol-check { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: var(--text); }
.sol-check .check {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center;
}
.sol-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sol-panel .ph { aspect-ratio: 4 / 3.2; min-height: 360px; border-radius: var(--r-lg); }

/* ============================================================
   7. Segmentos
   ============================================================ */
.segments-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--card-gap); }
.segments-grid--quad { grid-template-columns: repeat(4, 1fr); }
.segments-cta { display: flex; justify-content: center; margin-top: 44px; }
.segment-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--card-pad);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.segment-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--blue-100); }
.segment-card .seg-icon { width: 48px; height: 48px; border-radius: 13px; background: var(--orange-100); color: var(--orange-600); display: grid; place-items: center; margin-bottom: 18px; }
.segment-card h3 { font-size: 18px; font-weight: 500; }
.segment-card p { color: var(--text-soft); font-size: 14.5px; margin-top: 8px; line-height: 1.55; }

/* ============================================================
   8. Coberturas (navy)
   ============================================================ */
.coverage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--card-gap); }
.coverage-card {
  background: var(--navy-800); border: 1px solid var(--line-dark);
  border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.coverage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.coverage-card .ph { aspect-ratio: 16 / 10; border-radius: 0; }
.coverage-card .cov-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.cov-meta {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-500); margin-bottom: 10px;
}
.coverage-card .cov-flag {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.07); border: 1px solid var(--line-dark);
  border-radius: var(--r-pill); padding: 6px 13px; margin-bottom: 16px;
}
.coverage-card .cov-flag .status-dot { width: 7px; height: 7px; flex-shrink: 0; }
.coverage-card h3 { color: #fff; font-size: 21px; font-weight: 500; line-height: 1.25; }
.cov-meta--soft {
  color: var(--text-inv-soft); text-transform: none; letter-spacing: .02em;
  font-family: var(--font-mono); font-size: 12.5px; margin: 8px 0 0;
}
.cov-text { color: var(--text-inv-soft); font-size: 14.5px; line-height: 1.6; margin-top: 14px; }
.cov-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.cov-chip {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-inv);
  background: rgba(255,255,255,.07); border: 1px solid var(--line-dark);
  border-radius: 8px; padding: 5px 10px;
}
.coverage-card .link-arrow, .coverage-card .cov-cta { margin-top: auto; }
.coverage-card .cov-cta { align-self: flex-start; }

/* ============================================================
   9. Números (navy band)  — usado dentro de coberturas? não: própria seção
   ============================================================ */
.numbers { background: var(--grad-cta); }
.numbers-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--card-gap); text-align: center; }
.number-stat { padding: 8px; }
.number-stat .num { font-family: var(--font-display); font-weight: 700; font-size: 44px; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.number-stat .num span { color: #FFD9C2; }
.number-stat .label { font-size: 14px; color: rgba(255,255,255,.82); margin-top: 10px; }

/* ============================================================
   10. Notícias
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--card-gap); }
.news-card {
  border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: #fff;
  display: flex; flex-direction: column;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--blue-100); }
.news-card .ph { aspect-ratio: 16 / 10; border-radius: 0; }
.news-card .nc-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.nc-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.nc-cat {
  display: inline-flex; align-items: center;
  font-family: var(--font-display); font-weight: 500; font-size: 12.5px; letter-spacing: .01em;
  border-radius: var(--r-pill); padding: 5px 13px;
  background: var(--blue-50); color: var(--blue-600);
}
.nc-cat--blue   { background: var(--blue-50);   color: var(--blue-600); }
.nc-cat--orange { background: var(--orange-100); color: var(--orange-600); }
.nc-cat--indigo { background: var(--brand-100); color: var(--brand); }
.nc-cat--green  { background: rgba(31,165,103,.12); color: var(--ready); }
.nc-date {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .02em; color: var(--text-soft);
}
.news-card h3 { font-size: 19px; font-weight: 500; line-height: 1.3; }
.news-card p { color: var(--text-soft); font-size: 14.5px; margin: 12px 0 20px; line-height: 1.55; }
.news-card .link-arrow { margin-top: auto; }
.news-cta { display: flex; justify-content: center; margin-top: 44px; }

/* ============================================================
   11. Sobre
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-copy p { color: var(--text-soft); font-size: var(--fs-body-lg); line-height: 27px; margin-top: 18px; }
.about-points { list-style: none; display: grid; gap: 13px; margin: 30px 0 34px; }
.about-points li { display: flex; align-items: center; gap: 13px; font-size: 15.5px; color: var(--ink); }
.about-points .check {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center;
}
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
.about-stat { display: flex; align-items: center; gap: 14px; }
.about-stat .icon-tile { width: 48px; height: 48px; border-radius: 13px; background: var(--orange-100); color: var(--orange-600); display: grid; place-items: center; flex-shrink: 0; }
.about-stat .num { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--ink); line-height: 1.1; }
.about-stat .label { font-size: 13.5px; color: var(--text-soft); }
.about-media .ph { aspect-ratio: 4 / 4.4; border-radius: var(--r-xl); box-shadow: var(--shadow-card); }
.about-copy .btn { margin-top: 32px; }

/* ============================================================
   12. CTA final
   ============================================================ */
/* Fundo azul full-width: o gradiente vive na seção (100vw); o painel só organiza o conteúdo dentro do container */
.final-cta { background: var(--grad-cta); }
.final-cta::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(900px 360px at 50% -10%, rgba(255,255,255,.14), transparent 70%);
  pointer-events: none;
}
.cta-panel {
  background: transparent; border-radius: 0;
  padding: clamp(40px, 6vw, 80px) 0; text-align: center;
  position: relative;
}
.cta-panel .pill-tag { position: relative; }
.cta-panel h2 { color: #fff; font-size: var(--fs-h2); font-weight: 500; position: relative; }
.cta-panel p { color: rgba(234,240,250,.85); font-size: var(--fs-body-lg); max-width: 600px; margin: 18px auto 36px; position: relative; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; position: relative; }

/* CTA final — variante lead (copy à esquerda, formulário à direita) */
.cta-panel--lead {
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 64px);
  align-items: center; text-align: left;
}
.cta-lead { position: relative; align-self: center; }
.cta-panel--lead h2 { font-size: clamp(26px, 3vw, 38px); }
.cta-panel--lead p { margin: 18px 0 32px; max-width: 480px; }
.cta-panel--lead .cta-actions { justify-content: flex-start; }

/* Card do formulário */
.cta-form-card {
  position: relative; background: #fff; border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-pop);
}
.cta-form-title {
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  font-size: 21px; margin-bottom: 20px;
}
.cta-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input,
.field select,
.field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 11px 13px; transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 76px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa6bd; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none; border-color: var(--blue-600); background: #fff;
  box-shadow: 0 0 0 3px rgba(30,86,214,.14);
}
.field input:user-invalid { border-color: #d9534f; }
.cta-form-submit { grid-column: 1 / -1; width: 100%; justify-content: center; margin-top: 4px; border-radius: var(--r-md); }
.cta-form-card .cta-form-note { grid-column: 1 / -1; max-width: none; font-size: 12.5px; color: var(--text-soft); margin: 0; text-align: left; }

@media (max-width: 920px) {
  .cta-panel--lead { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .cta-form { grid-template-columns: 1fr; }
}

/* Vídeo institucional com botão de play sobreposto (usado na seção Sobre) */
.cta-video {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-card);
  background: #000;
}
.cta-video-el { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-video-play {
  position: absolute; inset: 0; margin: auto;
  width: 76px; height: 76px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--blue-600);
  background: rgba(255,255,255,.94); padding-left: 4px;
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
  transition: transform .2s ease, background .2s ease, opacity .2s ease;
}
.cta-video-play:hover { transform: scale(1.08); background: #fff; }
.cta-video-play:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.cta-video.is-playing .cta-video-play { opacity: 0; pointer-events: none; }

@media (max-width: 860px) {
  .cta-video-play { width: 64px; height: 64px; }
}

/* ============================================================
   13. Footer
   ============================================================ */
.footer { background: var(--ink); color: var(--text-inv-soft); padding-block: 72px 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.1fr; gap: 40px;
  padding-bottom: 56px; border-bottom: 1px solid var(--line-dark);
}
.footer-brand .nav-logo { margin-bottom: 18px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text span { color: var(--text-inv-soft); }
.footer-brand p { font-size: 14.5px; line-height: 1.6; max-width: 320px; }
.footer-social { margin-top: 33px; }
.footer-social a {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--text-inv); font-size: 14.5px; font-weight: 500;
  padding: 9px 14px; border: 1px solid var(--line-dark); border-radius: 999px;
  transition: color .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease);
}
.footer-social a:hover { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }
.footer-social svg { flex-shrink: 0; }
.footer-col h5 {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-inv-soft); margin-bottom: 18px; font-weight: 500;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: var(--text-inv); font-size: 14.5px; transition: color .15s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-contact .phone { font-family: var(--font-mono); color: #fff; font-size: 18px; letter-spacing: .02em; }
.footer-contact .addr { font-size: 14px; margin-top: 12px; line-height: 1.5; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 24px; font-size: 13px;
}
.footer-bottom .ready-tag { font-family: var(--font-mono); letter-spacing: .12em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 9px; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
/* Conteúdo visível por padrão; só esconde quando o JS confirma suporte (.js no <html>) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
/* Stagger em cascata para itens de grid */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal:nth-child(2) { transition-delay: .05s; }
  .js .reveal:nth-child(3) { transition-delay: .10s; }
  .js .reveal:nth-child(4) { transition-delay: .15s; }
  .js .reveal:nth-child(5) { transition-delay: .20s; }
  .js .reveal:nth-child(6) { transition-delay: .25s; }
}

/* ============================================================
   Mobile nav drawer
   ============================================================ */
.nav-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
  background: #fff; z-index: 150; padding: 28px 24px;
  transform: translateX(100%); transition: transform .3s var(--ease-drawer);
  box-shadow: var(--shadow-pop); display: flex; flex-direction: column; gap: 6px;
  overflow-y: auto;
}
.nav-drawer.open { transform: none; }
.nav-drawer a { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); padding: 14px 4px; border-bottom: 1px solid var(--line); }
.nav-drawer .btn { margin-top: 18px; }
.nav-drawer-close { align-self: flex-end; width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink); }
.scrim {
  position: fixed; inset: 0; background: rgba(10,30,60,.5); z-index: 140;
  opacity: 0; visibility: hidden; transition: opacity .28s var(--ease), visibility .28s var(--ease);
}
.scrim.open { opacity: 1; visibility: visible; }

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; row-gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .numbers-grid { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
}

@media (max-width: 960px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid, .ecosystem-grid, .about-grid, .sol-panel { grid-template-columns: 1fr; gap: 40px; }
  .companies-grid, .segments-grid, .segments-grid--quad, .coverage-grid, .news-grid, .indicators-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .status-card { left: 16px; }
  .about-media { order: -1; }
  .sol-panel .ph { min-height: 280px; }
  .eco-panel__inner { grid-template-columns: 1fr; gap: 36px; }
  .eco-panel__media { order: -1; }
  .eco-panel__media .ph { min-height: 260px; }
}

@media (max-width: 620px) {
  .companies-grid, .segments-grid, .segments-grid--quad, .coverage-grid, .news-grid, .indicators-grid,
  .numbers-grid, .ecosystem-features, .about-stats, .testimonials-grid { grid-template-columns: 1fr; }
  .indicator .num, .number-stat .num { font-size: 38px; }
  .utility-bar .hide-sm { display: none; }
  .sol-panel { padding: 24px; }
  .eco-switch { grid-template-columns: 1fr; }
  .eco-switch__tab { border-right: 0; border-bottom: 1px solid var(--line); padding: 26px 20px; }
  .eco-switch__tab:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Hero — pílulas de confiança (value pillars)
   ============================================================ */
.hero-pillars {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px;
}
.hero-pillar {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.7); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 8px 14px;
  font-size: 13.5px; font-weight: 500; color: var(--ink);
  backdrop-filter: blur(4px);
}
.hero-pillar svg { color: var(--blue-600); flex-shrink: 0; }
.hero-pillar .dot-ready { width: 8px; height: 8px; border-radius: 50%; background: var(--ready); box-shadow: 0 0 0 3px rgba(31,165,103,.18); }

/* ============================================================
   Marquee de logos
   ============================================================ */
.logos {
  background: var(--grad-hero);
  padding-block: 48px var(--sec-pad);
}
.logos-head {
  text-align: center; font-family: var(--font-mono); font-size: 12.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft);
  margin-bottom: 36px;
}
.logos-marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos-track {
  display: flex; gap: 18px; width: max-content;
  animation: marquee 36s linear infinite;
}
.logos-marquee:hover .logos-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-slot {
  flex-shrink: 0; width: 180px; height: 76px; border-radius: var(--r-md);
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em;
  color: #AEB9CC; text-transform: uppercase;
}

/* ============================================================
   Faixa de certificações / conformidade
   ============================================================ */
.certs {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px;
  padding: 28px 0 0; margin-top: 56px; border-top: 1px solid var(--line-dark);
}
.cert-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: var(--text-inv-soft);
}
.cert-item svg { color: var(--ready); flex-shrink: 0; }
.cert-item strong { color: var(--text-inv); font-weight: 600; }

/* ============================================================
   Depoimentos
   ============================================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--card-gap); }
.testimonial {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: var(--card-pad);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--blue-100); }
.testimonial .quote-mark { font-family: var(--font-display); font-weight: 700; font-size: 56px; line-height: .6; color: var(--orange-500); height: 30px; }
.testimonial blockquote { font-size: 16.5px; line-height: 1.6; color: var(--text); margin: 14px 0 22px; }
.testimonial-author { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.testimonial-author .avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  background: var(--blue-50); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; color: var(--blue-600); font-size: 17px;
}
.testimonial-author .avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-author .name { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink); }
.testimonial-author .role { font-size: 13px; color: var(--text-soft); }
.testimonial-tag {
  margin-top: 16px; align-self: flex-start;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em;
  background: var(--blue-50); color: var(--blue-600); border: 1px solid var(--blue-100);
  border-radius: var(--r-pill); padding: 4px 11px;
}

/* ============================================================
   Barra de CTA fixa (mobile) + WhatsApp FAB
   ============================================================ */
.mobile-cta-bar { display: none; }
.whatsapp-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: var(--z-fab);
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.06); box-shadow: 0 10px 30px rgba(37,211,102,.5); }
.whatsapp-fab:active, .wa-btn:active { transform: scale(0.94); }

.mobile-cta-bar .wa-btn {
  flex-shrink: 0; width: 50px; height: 50px; border-radius: var(--r-pill);
  background: var(--whatsapp); color: #fff; display: grid; place-items: center;
}

@media (max-width: 960px) {
  .mobile-cta-bar {
    display: flex; gap: 10px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-fab);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.94); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    transition: transform .25s var(--ease);
  }
  .mobile-cta-bar .btn { flex: 1; height: 50px; }
  .mobile-cta-bar.hide { transform: translateY(110%); }
  .whatsapp-fab { display: none; } /* no mobile, WhatsApp vive dentro da barra */
  body { padding-bottom: 76px; }   /* reserva espaço para a barra fixa */
}

/* ============================================================
   Tabs de soluções — rolagem horizontal no mobile
   ============================================================ */
@media (max-width: 620px) {
  .sol-tabs {
    flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--pad-x) * -1); padding-inline: var(--pad-x);
    -ms-overflow-style: none; scrollbar-width: none;
  }
  .sol-tabs::-webkit-scrollbar { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .logo-slot { width: 140px; height: 64px; }
  /* Utility bar enxuta no mobile */
  .utility-bar .container { gap: 10px; }
}

/* ============================================================
   Sistema gráfico da mandala (assinatura de marca)
   ============================================================ */
.section--navy, .final-cta, .numbers, .risk-band { position: relative; overflow: hidden; }
.section--navy > .container, .final-cta > .container, .numbers > .container { position: relative; z-index: 1; }
.mandala-watermark {
  position: absolute; pointer-events: none; color: #fff; opacity: .045; z-index: 0;
  width: 460px; height: 460px;
}
.mandala-watermark--tr { top: -120px; right: -110px; }
.mandala-watermark--bl { bottom: -140px; left: -120px; width: 360px; height: 360px; opacity: .035; }

/* ============================================================
   Beat de tensão — full-bleed cinematográfico
   ============================================================ */
.risk-band {
  position: relative; display: grid; align-items: center;
  min-height: 520px; padding-block: var(--sec-pad);
  isolation: isolate;
}
.risk-band .risk-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.risk-band .risk-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(16,26,61,.94) 0%, rgba(16,26,61,.82) 42%, rgba(16,26,61,.45) 100%),
    linear-gradient(0deg, rgba(16,26,61,.6), transparent 60%);
}
.risk-content { max-width: 680px; }
.risk-content h2 { color: #fff; font-size: var(--fs-h2); font-weight: 500; line-height: 1.08; }
.risk-content h2 .accent { color: var(--orange-500); }
.risk-content p { color: var(--text-inv); font-size: var(--fs-body-lg); line-height: 27px; margin-top: 18px; max-width: 560px; }
.risk-stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 36px; }
.risk-stat .num { font-family: var(--font-display); font-weight: 700; font-size: 40px; color: #fff; line-height: 1; }
.risk-stat .num span { color: var(--orange-500); }
.risk-stat .label { font-size: 14px; color: var(--text-inv-soft); margin-top: 8px; max-width: 200px; }

/* ============================================================
   Coberturas — hierarquia editorial (1 destaque + 2 menores)
   ============================================================ */
.coverage-featured {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  background: var(--navy-800); border: 1px solid var(--line-dark);
  border-radius: var(--r-xl); overflow: hidden; margin-bottom: var(--card-gap);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.coverage-featured:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.coverage-featured .ph { aspect-ratio: auto; min-height: 360px; border-radius: 0; }
.coverage-featured .cov-body { padding: 40px; }
.coverage-featured .cov-flag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); background: var(--orange-500); border-radius: var(--r-pill);
  padding: 5px 12px; margin-bottom: 16px; font-weight: 600;
}
.coverage-featured h3 { color: #fff; font-size: 30px; font-weight: 500; line-height: 1.18; }
.coverage-grid--two { grid-template-columns: 1fr 1fr; }

/* ============================================================
   Status card do hero — mais editorial
   ============================================================ */
.status-card { backdrop-filter: blur(6px); background: rgba(255,255,255,.96); border: 1px solid var(--line); }
.status-card .sc-mandala { position: absolute; right: 10px; top: 10px; width: 26px; height: 26px; color: var(--brand); opacity: .14; }

/* ============================================================
   Reduced motion
   ============================================================ */
@media (max-width: 960px) {
  .coverage-featured { grid-template-columns: 1fr; }
  .coverage-featured .ph { min-height: 240px; }
  .coverage-grid--two { grid-template-columns: 1fr; }
  .risk-band { min-height: 440px; }
  .risk-content h2 { font-size: clamp(26px, 6vw, 38px); }
  .mandala-watermark { width: 300px; height: 300px; }
}

/* ============================================================
   Polish de animação (Emil Kowalski)
   ============================================================ */

/* Painel de soluções: fade-in suave ao trocar de aba */
.sol-panel:not([hidden]) { animation: panelIn .2s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } }

/* Hover de elevação só em dispositivos com ponteiro fino (evita falso-positivo no toque) */
@media (hover: none) {
  .company-card:hover, .company-card--future:hover, .segment-card:hover,
  .coverage-card:hover, .coverage-featured:hover, .news-card:hover, .testimonial:hover {
    transform: none;
  }
  .coverage-card:hover .ph img, .coverage-featured:hover .ph img, .news-card:hover .ph img {
    transform: scale(1.001); filter: none;
  }
}

/* Respeita quem prefere menos movimento: sem zoom de foto */
@media (prefers-reduced-motion: reduce) {
  .coverage-card .ph img, .coverage-featured .ph img, .news-card .ph img {
    transition: none;
  }
  .coverage-card:hover .ph img, .coverage-featured:hover .ph img, .news-card:hover .ph img {
    transform: scale(1.001); filter: none;
  }
}

/* Mandala "viva" — rotação muito lenta (reforça a ideia de prontidão) */
@media (prefers-reduced-motion: no-preference) {
  .sc-mandala { animation: gms-spin 90s linear infinite; transform-origin: center; }
  .mandala-watermark { animation: gms-spin 140s linear infinite; transform-origin: center; }
}
@keyframes gms-spin { to { transform: rotate(360deg); } }

/* Nav condensa ao rolar */
.nav .container { transition: height .25s var(--ease-out); }
.nav.scrolled { box-shadow: 0 6px 24px rgba(16,26,61,.08); }
.nav.scrolled .container { height: 66px; }

/* Indicador deslizante das abas de soluções */
.sol-tabs { position: relative; }
.sol-tab-indicator {
  position: absolute; top: 0; left: 0; height: 48px;
  border-radius: var(--r-pill); background: var(--blue-600);
  box-shadow: var(--shadow-glow-blue); z-index: 0;
  transform: translateX(var(--ind-x, 0)); width: var(--ind-w, 0);
  transition: transform .28s var(--ease-out), width .28s var(--ease-out);
  pointer-events: none;
}
.sol-tabs .sol-tab { position: relative; z-index: 1; }
/* Com o indicador ativo, a aba selecionada fica transparente (o indicador é o fundo) */
.sol-tabs.has-indicator .sol-tab[aria-selected="true"] { background: transparent; border-color: transparent; box-shadow: none; }

/* ============================================================
   Hero — carrossel (2 slides)
   ============================================================ */
.hero-carousel { position: relative; overflow: hidden; }
.hero-track { display: flex; transition: transform .6s var(--ease-out); }
.hero-track.no-anim { transition: none; }
.hero-slide { flex: 0 0 100%; min-width: 100%; }
.hero-slide[hidden] { display: none; } /* fallback sem JS: mostra só o 1º */

/* O slide 1 reaproveita a .hero existente */

/* Slide 2 — vídeo full-bleed (estilo AmigoTech) */
.hero-slide--video {
  position: relative; display: grid; align-items: center;
  min-height: 600px; isolation: isolate;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-video-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(16,26,61,.94) 0%, rgba(16,26,61,.6) 42%, rgba(16,26,61,0) 78%),
    linear-gradient(0deg, rgba(16,26,61,.45), transparent 48%);
}
.hero-video-content { padding-block: clamp(56px, 7vw, 92px); position: relative; z-index: 2; }
.hero-video-content .hero-sub { max-width: 540px; }
/* texto sobre o vídeo (escuro) */
.hero-video-content .hero-eyebrow { color: var(--orange-500); }
.hero-video-content .hero-eyebrow::before { background: var(--orange-500); }
.hero-video-content .hero-title { color: #fff; max-width: 640px; }
.hero-video-content .hero-sub { color: rgba(234,240,250,.88); }

/* Controles */
.hero-dots {
  position: absolute; bottom: 64px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 9px; z-index: 5;
}
.hero-dot {
  width: 9px; height: 9px; border-radius: var(--r-pill);
  background: rgba(90,107,133,.4); border: none; cursor: pointer; padding: 0;
  transition: width .25s var(--ease-out), background .25s var(--ease-out);
}
.hero-dot:hover { background: rgba(90,107,133,.7); }
.hero-dot[aria-selected="true"] { width: 26px; background: var(--blue-600); }
.hero-dot:active { transform: scale(0.9); }
@media (max-width: 768px) {
  .hero-slide--video { min-height: 520px; }
  .hero-video-content { padding-block: 48px; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .logos-track { animation: none; }
  .sc-mandala, .mandala-watermark { animation: none; }
}

/* ============================================================
   Como a operação é planejada — linha de processo (4 etapas)
   ============================================================ */
.plan { background: var(--white); }
.plan-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    radial-gradient(900px 460px at 88% -18%, var(--blue-50), transparent 62%),
    linear-gradient(180deg, var(--paper), var(--white) 70%);
  padding: clamp(32px, 4vw, 56px);
  box-shadow: var(--shadow-card);
}
.plan-mandala { color: var(--brand); opacity: .05; width: 420px; height: 420px; top: -130px; right: -120px; }
.plan-head { position: relative; z-index: 1; max-width: 760px; }
.plan-head .h2 { margin-top: 6px; }
.plan-head .lead { margin-top: 16px; }
.plan-support {
  margin-top: 16px; max-width: 720px;
  color: var(--text-soft); font-size: var(--fs-body);
}

.plan-steps {
  position: relative; z-index: 1;
  list-style: none; margin: clamp(40px, 5vw, 64px) 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
/* linha horizontal que conecta os nós — gradiente sumindo para a direita */
.plan-steps::before {
  content: ""; position: absolute; top: 32px; left: 32px; right: 32px;
  height: 2px; z-index: 0;
  background: linear-gradient(90deg, var(--blue-100) 0%, rgba(220,230,250,0) 100%);
}
.plan-step { position: relative; z-index: 1; }
.plan-node {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--blue-600);
  border: 1px solid var(--line);
  box-shadow:
    -6px -6px 14px rgba(255,255,255,.9),
    8px 10px 22px rgba(16,26,61,.12),
    inset 0 1px 0 rgba(255,255,255,.6);
  margin-bottom: 20px;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s var(--ease-out), color .25s var(--ease-out);
}
.plan-step:hover .plan-node {
  background: var(--blue-600); color: #fff;
  transform: translateY(-3px); box-shadow: var(--shadow-glow-blue);
}
.plan-kicker {
  display: block; font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: .04em; text-transform: uppercase; color: var(--blue-600);
  margin-bottom: 6px;
}
.plan-step-title { font-size: var(--fs-h4); font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.plan-step p { color: var(--text-soft); font-size: var(--fs-small); line-height: 1.55; }

.plan-cta { position: relative; z-index: 1; margin-top: clamp(40px, 5vw, 56px); }

@media (max-width: 980px) {
  .plan-steps { grid-template-columns: repeat(2, 1fr); gap: 32px 28px; }
  .plan-steps::before { display: none; }
}
@media (max-width: 560px) {
  .plan-steps { grid-template-columns: 1fr; }
  .plan-node { width: 52px; height: 52px; margin-bottom: 16px; }
}

/* ============================================================
   Divider de seção — gradiente azul → cinza claro
   ============================================================ */
.section-divider {
  height: 2px; width: 100%;
  margin-bottom: var(--block-gap);
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-600) 0%, var(--line) 100%);
}
.section-divider--soft { opacity: .3; }
/* Divider posicionado no vão entre duas seções — sem margem própria,
   fica centralizado pelos paddings iguais das seções vizinhas */
.section-break .section-divider { margin: 0; }

/* CTA centralizada ao final da seção de Soluções */
.solutions-cta { text-align: center; margin-top: 40px; }

/* ============ CORPO DE TEXTO VINDO DO PLUG CMS ============
   O editor do painel devolve <p>, <strong> e <a> sem classe. Estas regras
   repetem o desenho de .lead para eles, para o texto editado no painel sair
   igual ao que já está escrito no HTML. Quem renderiza `description` usa
   .cms-body. */
.cms-body p {
  font-size: var(--fs-body-lg);
  color: var(--text-soft);
  line-height: 27px;
}
.cms-body p + p { margin-top: 16px; }
.cms-body strong { color: var(--text); font-weight: 600; }
.cms-body a { color: var(--brand); text-decoration: underline; }
