/* =========================================================
   GestClinix — site institucional
   Base visual: navbar flutuante + hero com feixes + painel 3D
   ========================================================= */
:root {
  --menu: #03142c;
  --marinho: #021c4a;
  --azul: #006fdc;
  --azul-vivo: #0080f9;
  --ciano: #00c9e4;
  --ciano-claro: #00a1d1;
  --gradiente: linear-gradient(135deg, #00c2e6 0%, #0080f9 55%, #0b4bb3 100%);
  --fundo: #ffffff;
  --fundo-suave: #f2f6fb;
  --texto: #0f1623;
  --texto-suave: #5b6578;
  --borda: #e3e9f2;

  --fonte-titulo: "Plus Jakarta Sans", system-ui, sans-serif;
  --fonte: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --suave: cubic-bezier(.16, 1, .3, 1);
  --largura: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--fonte);
  color: var(--texto);
  background: var(--fundo);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--fonte-titulo); letter-spacing: -.025em; line-height: 1.15; }
:focus-visible { outline: 3px solid var(--azul-vivo); outline-offset: 3px; border-radius: 6px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 16px; border-radius: 12px; padding: 13px 26px;
  transition: transform .28s var(--suave), box-shadow .28s var(--suave), background .28s;
  white-space: nowrap;
}
.btn--primario {
  color: #fff;
  background: linear-gradient(180deg, #1a8fff 0%, var(--azul) 100%);
  box-shadow: 0 4px 14px rgba(0, 111, 220, .35), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn--primario:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 111, 220, .42); }
.btn--secundario {
  background: #fff; color: var(--menu);
  border: 1px solid rgba(3, 20, 44, .16);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.btn--secundario:hover { transform: translateY(-2px); border-color: rgba(3, 20, 44, .3); box-shadow: 0 6px 16px rgba(0,0,0,.06); }
.btn--secundario .seta { transition: transform .25s; }
.btn--secundario:hover .seta { transform: translateY(2px); }
.btn--nav { font-size: 14.5px; padding: 10px 18px; border-radius: 11px; color: #fff; background: var(--menu); }
.btn--nav:hover { background: var(--marinho); transform: translateY(-1px); }
.btn--branco { background: #fff; color: var(--menu); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.btn--branco:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.24); }

/* ---------- Navbar flutuante ---------- */
.topo {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 50;
  padding: 0 24px; pointer-events: none;
}
.nav {
  pointer-events: auto;
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px 11px 22px;
  background: rgba(250, 252, 255, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, .8);
  border-radius: 22px;
  box-shadow: 0 4px 20px rgba(3, 20, 44, .04);
  transition: box-shadow .3s, background .3s;
}
.nav.is-rolado { background: rgba(255,255,255,.96); box-shadow: 0 10px 30px rgba(3, 20, 44, .08); }
.nav__esq { display: flex; align-items: center; gap: 44px; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; gap: 30px; list-style: none; }
.nav__links a { font-size: 15px; font-weight: 500; color: #3a4357; transition: color .2s; }
.nav__links a:hover { color: var(--azul); }
.nav__dir { display: flex; align-items: center; gap: 10px; }
.nav__menu { display: none; width: 42px; height: 42px; border-radius: 12px; position: relative; }
.nav__menu span {
  position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--menu);
  transition: transform .3s var(--suave), opacity .2s;
}
.nav__menu span:nth-child(1) { top: 14px; }
.nav__menu span:nth-child(2) { top: 20px; }
.nav__menu span:nth-child(3) { top: 26px; }
.nav__menu.is-aberto span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__menu.is-aberto span:nth-child(2) { opacity: 0; }
.nav__menu.is-aberto span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.gaveta {
  pointer-events: auto;
  display: none; flex-direction: column; gap: 4px;
  max-width: 1240px; margin: 8px auto 0; padding: 12px;
  background: #fff; border: 1px solid var(--borda); border-radius: 20px;
  box-shadow: 0 20px 40px rgba(3, 20, 44, .12);
}
.gaveta a:not(.btn) { padding: 12px 14px; border-radius: 12px; font-weight: 500; }
.gaveta a:not(.btn):hover { background: var(--fundo-suave); }
.gaveta .btn { margin-top: 6px; }

/* ---------- Hero ---------- */
.hero { padding-top: 104px; display: flex; justify-content: center; overflow-x: clip; }
.hero__caixa {
  position: relative; width: 100%; max-width: 1376px;
  padding: 64px 24px 0;
  display: flex; flex-direction: column; align-items: center; gap: 56px;
  /* corta em cima e embaixo, mas deixa o degradê passar pelas laterais */
  clip-path: inset(0 -100vw);
}
/* degradê de ponta a ponta da tela */
.hero__fundo {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw;
  overflow: hidden; pointer-events: none; z-index: 0;
}
.hero__fundo { isolation: isolate; --mx: 50%; --my: 70%; --px: 0px; --py: 0px; --forca: 0; }
.hero__fundo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center bottom;
  transform: translate3d(var(--px), var(--py), 0) scale(1.06);
  will-change: transform;
}
/* telas largas: estica só para os lados, mantendo a altura do degradê (texto continua no branco) */
@media (min-width: 641px) {
  .hero__fundo img {
    position: absolute; left: 0; bottom: 0;
    height: calc(min(100vw, 1376px) * .96);
    object-fit: fill;
  }
}
/* luz que segue o mouse: clareia os feixes azuis e não altera o branco */
.hero__luz {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle 240px at var(--mx) var(--my), rgba(170, 250, 255, .95), rgba(0, 201, 228, .55) 45%, transparent 75%),
    radial-gradient(circle 520px at var(--mx) var(--my), rgba(0, 201, 228, .35), transparent 70%);
  mix-blend-mode: overlay;
  opacity: var(--forca);
  transition: opacity .6s ease;
}
.hero__conteudo {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px;
  max-width: 980px;
  animation: subir .9s var(--suave) both;
}
.selo {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  background: #fff; border: 1px solid #e6ebf3;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  font-size: 14px; color: #3a4357;
}
.selo strong { color: var(--azul); font-weight: 700; }
.selo__ponto {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ciano);
  box-shadow: 0 0 0 4px rgba(0, 201, 228, .18);
}
.hero__titulo { font-size: clamp(34px, 5vw, 64px); max-width: 960px; text-wrap: balance; }
.hero__titulo-topo { display: block; font-weight: 600; color: var(--menu); }
.hero__titulo-destaque {
  display: block; font-weight: 800;
  background: linear-gradient(120deg, var(--marinho) 0%, var(--azul) 55%, var(--ciano) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding-bottom: .06em;
}
.hero__sub { font-size: clamp(16px, 1.4vw, 18.5px); color: var(--texto-suave); max-width: 660px; text-wrap: balance; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding-top: 6px; }

.hero__tela {
  position: relative; z-index: 1; width: 100%; max-width: 1060px;
  perspective: 1200px;
  animation: subir 1.1s .15s var(--suave) both;
}
.painel {
  background: radial-gradient(96% 96% at 50% 4%, rgba(255,255,255,.62) 0%, rgba(255,255,255,.16) 100%);
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 30px; padding: 14px;
  box-shadow: 0 40px 80px -15px rgba(0, 60, 160, .22), 0 20px 40px -20px rgba(0,0,0,.12);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transform: perspective(1200px) rotateX(14deg) translateY(-10px) scale(.96);
  transform-origin: center bottom;
  transition: box-shadow .4s;
  will-change: transform;
}
.painel__tela {
  border-radius: 16px; overflow: hidden; background: var(--menu);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.painel__tela img { width: 100%; height: auto; }

@keyframes subir { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Faixa de módulos ---------- */
.faixa { padding: 56px 0 24px; text-align: center; }
.faixa__titulo { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8a94a8; margin-bottom: 22px; }
.faixa__trilho {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.faixa__lista {
  display: flex; gap: 14px; list-style: none; padding-right: 14px; flex-shrink: 0;
  animation: correr 38s linear infinite;
}
.faixa__lista li {
  white-space: nowrap; padding: 10px 18px; border-radius: 999px;
  background: var(--fundo-suave); border: 1px solid var(--borda);
  font-weight: 600; font-size: 15px; color: var(--marinho);
}
@keyframes correr { to { transform: translateX(-100%); } }

/* ---------- Seções ---------- */
.secao { padding: 104px 24px; }
.secao--suave { background: var(--fundo-suave); }
.secao__cab { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.secao__cab h2 { font-size: clamp(30px, 3.6vw, 46px); color: var(--menu); margin: 14px 0 14px; text-wrap: balance; }
.secao__cab p { color: var(--texto-suave); font-size: 17.5px; text-wrap: balance; }
h2 em { font-style: normal; color: var(--azul); }
.rotulo {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--azul); background: rgba(0, 128, 249, .08); padding: 6px 12px; border-radius: 999px;
}
.rotulo--claro { color: var(--ciano); background: rgba(0, 201, 228, .12); }

/* ---------- Recursos (abas) ---------- */
.modulos {
  max-width: var(--largura); margin: 0 auto;
  display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: start;
}
.modulos__abas { display: flex; flex-direction: column; gap: 4px; }
.aba {
  display: flex; gap: 16px; text-align: left; padding: 14px 16px; border-radius: 16px;
  border: 1px solid transparent; transition: background .25s, border-color .25s, box-shadow .25s;
}
.aba:hover { background: var(--fundo-suave); }
.aba__num { flex: 0 0 20px; font-family: var(--fonte-titulo); font-weight: 700; font-size: 13px; color: #a3adbf; padding-top: 3px; transition: color .25s; }
.aba__txt strong { display: block; font-family: var(--fonte-titulo); font-size: 17px; color: var(--menu); }
.aba__txt small {
  display: block; font-size: 14.5px; color: var(--texto-suave); line-height: 1.5;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .45s var(--suave), opacity .3s, margin .3s;
}
.aba.is-ativa { background: #fff; border-color: var(--borda); box-shadow: 0 10px 30px rgba(3, 20, 44, .07); }
.aba.is-ativa .aba__num { color: var(--azul); }
.aba.is-ativa .aba__txt small { max-height: 120px; opacity: 1; margin-top: 4px; }
.modulos__tela { position: sticky; top: 110px; }
.moldura {
  border-radius: 20px; padding: 10px;
  background: linear-gradient(160deg, #e9f3ff, #f6fbff);
  border: 1px solid var(--borda);
  box-shadow: 0 30px 60px -20px rgba(0, 60, 160, .22);
}
.moldura img {
  width: 100%; height: auto; border-radius: 12px;
  transition: opacity .35s ease, transform .5s var(--suave);
}
.moldura img.is-trocando { opacity: 0; transform: scale(.985); }
.modulos__barra { height: 3px; border-radius: 3px; background: var(--borda); margin: 18px auto 0; max-width: 220px; overflow: hidden; }
.modulos__barra span { display: block; height: 100%; width: 0; background: var(--gradiente); }
.modulos__barra span.is-correndo { animation: barra var(--tempo, 6s) linear forwards; }
@keyframes barra { to { width: 100%; } }

/* ---------- Jornada ---------- */
.jornada {
  list-style: none; max-width: var(--largura); margin: 0 auto;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative;
}
.jornada::before {
  content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, var(--ciano), var(--azul-vivo), #0b4bb3);
  opacity: .35;
}
.passo { position: relative; text-align: center; padding: 0 4px; }
.passo__n {
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px;
  border-radius: 18px; background: #fff; border: 1px solid var(--borda);
  font-family: var(--fonte-titulo); font-weight: 800; font-size: 20px; color: var(--azul);
  box-shadow: 0 8px 20px rgba(0, 60, 160, .1); position: relative;
}
.passo h3 { font-size: 18px; color: var(--menu); margin-bottom: 8px; }
.passo p { font-size: 14.5px; color: var(--texto-suave); }

/* ---------- Prontuário ---------- */
.prontuario { padding: 24px; }
.prontuario__caixa {
  max-width: 1328px; margin: 0 auto; border-radius: 32px;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(0, 201, 228, .18), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(0, 111, 220, .25), transparent 60%),
    var(--menu);
  color: #e7eefb;
  padding: 88px clamp(24px, 6vw, 80px);
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center;
}
.prontuario h2 { font-size: clamp(30px, 3.4vw, 44px); color: #fff; margin: 16px 0; text-wrap: balance; }
.prontuario h2 em { color: var(--ciano); }
.prontuario__texto > p { color: #aebbd3; font-size: 17px; margin-bottom: 26px; }
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; color: #d8e2f3; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 7px;
  background: rgba(0, 201, 228, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300c9e4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.ficha {
  background: #fff; color: var(--texto); border-radius: 22px; padding: 26px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.5);
}
.ficha__cab { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.ficha__titulo { font-family: var(--fonte-titulo); font-weight: 700; font-size: 18px; color: var(--menu); }
.ficha__tag { font-size: 12.5px; color: var(--azul); background: rgba(0,128,249,.08); padding: 5px 10px; border-radius: 999px; font-weight: 600; }
.ficha__tabela { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.ficha__tabela th, .ficha__tabela td { padding: 11px 8px; text-align: center; font-size: 15px; }
.ficha__tabela thead th { font-size: 11.5px; letter-spacing: .08em; color: #8a94a8; font-weight: 700; border-bottom: 1px solid var(--borda); }
.ficha__tabela tbody th { font-family: var(--fonte-titulo); color: var(--azul); font-weight: 800; text-align: left; }
.ficha__tabela tbody td { font-weight: 600; color: var(--menu); }
.ficha__tabela tbody tr:first-child td, .ficha__tabela tbody tr:first-child th { border-bottom: 1px dashed var(--borda); }
.ficha__linha { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0; }
.ficha__campo { background: var(--fundo-suave); border-radius: 12px; padding: 10px 12px; }
.ficha__campo span { display: block; font-size: 11.5px; color: #8a94a8; font-weight: 600; }
.ficha__campo strong { font-family: var(--fonte-titulo); font-size: 16px; color: var(--menu); }
.ficha__docs { border-top: 1px solid var(--borda); padding-top: 16px; }
.ficha__docs-tit { font-size: 12.5px; color: #8a94a8; font-weight: 600; }
.ficha__chips { display: grid; grid-template-columns: repeat(4, auto); gap: 6px; margin-top: 10px; }
.ficha__chips span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 12.5px; font-weight: 600; line-height: 1.25; color: var(--azul); white-space: nowrap;
  border: 1px solid rgba(0,111,220,.25); border-radius: 10px; padding: 7px 8px;
}
@media (max-width: 1240px) { .ficha__chips span { white-space: normal; } .ficha__chips { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .ficha__chips { grid-template-columns: repeat(2, 1fr); } }
.ficha__nota { margin-top: 14px; font-size: 12px; color: #a3adbf; }

/* ---------- Perfis ---------- */
.perfis { max-width: var(--largura); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.perfil {
  padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--borda);
  transition: transform .3s var(--suave), box-shadow .3s;
}
.perfil:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(3, 20, 44, .08); }
.perfil__icone {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--gradiente); margin-bottom: 20px;
  box-shadow: 0 8px 18px rgba(0, 128, 249, .3);
}
.perfil__icone svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.perfil h3 { font-size: 19px; color: var(--menu); margin-bottom: 8px; }
.perfil p { color: var(--texto-suave); font-size: 15px; }

/* ---------- Vantagens ---------- */
.vantagens { max-width: var(--largura); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vantagem { background: #fff; border: 1px solid var(--borda); border-radius: 20px; padding: 28px; position: relative; overflow: hidden; }
.vantagem::before {
  content: ""; position: absolute; left: 28px; top: 0; width: 40px; height: 3px; border-radius: 0 0 3px 3px;
  background: var(--gradiente);
}
.vantagem h3 { font-size: 18px; color: var(--menu); margin: 6px 0 8px; }
.vantagem p { color: var(--texto-suave); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--borda); border-radius: 16px; background: #fff; transition: box-shadow .25s; }
.faq details[open] { box-shadow: 0 12px 30px rgba(3, 20, 44, .06); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-family: var(--fonte-titulo); font-weight: 700; font-size: 17px; color: var(--menu);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--azul); border-bottom: 2px solid var(--azul);
  transform: rotate(45deg); transition: transform .3s var(--suave), margin .3s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 22px 20px; color: var(--texto-suave); }

/* ---------- CTA final ---------- */
.cta { padding: 0 24px 104px; }
.cta__caixa {
  position: relative; overflow: hidden;
  max-width: 1180px; margin: 0 auto; border-radius: 32px; padding: 84px 32px;
  text-align: center; color: #fff;
  background: var(--gradiente);
  box-shadow: 0 40px 80px -30px rgba(0, 80, 200, .55);
}
.cta__caixa::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 64px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000);
  mask-image: linear-gradient(180deg, transparent, #000);
}
.cta__simbolo {
  position: absolute; right: -60px; bottom: -70px; width: 360px; opacity: .14;
  filter: brightness(0) invert(1); pointer-events: none;
}
.cta h2 { position: relative; font-size: clamp(28px, 3.6vw, 44px); max-width: 720px; margin: 0 auto 14px; text-wrap: balance; }
.cta p { position: relative; font-size: 18px; opacity: .9; margin-bottom: 30px; }
.cta .btn { position: relative; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--menu); color: #aebbd3; padding: 56px 24px 28px; }
.rodape__caixa {
  max-width: var(--largura); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.rodape__logo { height: 32px; width: auto; margin-bottom: 12px; }
.rodape__nexpage { display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.rodape__nexpage img { height: 64px; width: auto; }
.rodape__copy { max-width: var(--largura); margin: 22px auto 0; font-size: 13.5px; color: #7c8aa5; }

/* ---------- Revelar ao rolar ---------- */
.revelar { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--suave), transform .8s var(--suave); }
.revelar.is-visivel { opacity: 1; transform: none; }
.jornada .revelar:nth-child(2), .perfis .revelar:nth-child(2), .vantagens .revelar:nth-child(2) { transition-delay: .08s; }
.jornada .revelar:nth-child(3), .perfis .revelar:nth-child(3), .vantagens .revelar:nth-child(3) { transition-delay: .16s; }
.jornada .revelar:nth-child(4), .perfis .revelar:nth-child(4), .vantagens .revelar:nth-child(4) { transition-delay: .24s; }
.jornada .revelar:nth-child(5), .vantagens .revelar:nth-child(5) { transition-delay: .32s; }
.jornada .revelar:nth-child(6), .vantagens .revelar:nth-child(6) { transition-delay: .4s; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav__links { gap: 22px; }
  .nav__esq { gap: 28px; }
  .modulos { grid-template-columns: 1fr; }
  .modulos__tela { position: static; order: -1; }
  .modulos__abas { display: grid; grid-template-columns: 1fr 1fr; }
  .jornada { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .jornada::before { display: none; }
  .prontuario__caixa { grid-template-columns: 1fr; gap: 48px; }
  .perfis { grid-template-columns: repeat(2, 1fr); }
  .vantagens { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1040px) {
  .nav__links, .btn--nav { display: none; }
  .nav__menu { display: block; }
  .gaveta.is-aberta { display: flex; }
}
@media (max-width: 640px) {
  .topo { top: 10px; padding: 0 12px; }
  .nav { padding: 8px 8px 8px 16px; border-radius: 18px; }
  .nav__logo img { height: 24px; }
  .hero { padding-top: 84px; }
  .hero__caixa { padding: 40px 16px 0; gap: 40px; }
  .hero__fundo { top: auto; height: 52%; }
  .faixa__titulo { font-size: 12.5px; padding: 0 20px; }
  .hero__acoes { flex-direction: column; width: 100%; }
  .hero__acoes .btn { width: 100%; }
  .painel { padding: 6px; border-radius: 16px; }
  .painel__tela { border-radius: 10px; }
  .secao { padding: 72px 16px; }
  .secao__cab { margin-bottom: 40px; }
  .secao__cab p { font-size: 16px; }
  .modulos__abas { grid-template-columns: 1fr; }
  .moldura { padding: 6px; border-radius: 14px; }
  .moldura img { border-radius: 9px; }
  .jornada { grid-template-columns: 1fr; row-gap: 0; }
  .passo { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; text-align: left; padding-bottom: 26px; }
  .passo__n { grid-row: span 2; width: 48px; height: 48px; margin: 0; font-size: 18px; border-radius: 15px; }
  .passo:not(:last-child)::after {
    content: ""; position: absolute; left: 23px; top: 54px; bottom: 6px; width: 2px;
    background: linear-gradient(var(--ciano), var(--azul-vivo)); opacity: .3;
  }
  .passo h3 { margin: 2px 0 4px; }
  .prontuario { padding: 0 8px; }
  .prontuario__caixa { border-radius: 24px; padding: 64px 18px 18px; }
  .ficha { padding: 18px; border-radius: 18px; }
  .ficha__tabela th, .ficha__tabela td { padding: 9px 3px; font-size: 13.5px; }
  .ficha__tabela thead th { font-size: 10px; letter-spacing: .03em; }
  .ficha__linha { grid-template-columns: repeat(2, 1fr); }
  .perfis, .vantagens { grid-template-columns: 1fr; }
  .cta { padding: 0 12px 72px; }
  .cta__caixa { padding: 64px 22px; border-radius: 24px; }
  .cta__simbolo { width: 220px; right: -50px; bottom: -50px; }
  .rodape__caixa { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revelar { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   PLANOS — "Preço Vidrificado" (glassmorphism)
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pricing-section {
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --color-bg: #030611;
  --color-card-bg: rgba(18, 23, 36, 0.45);
  --color-card-border: rgba(255, 255, 255, 0.12);
  --color-card-border-hover: rgba(255, 255, 255, 0.24);
  --color-glow-pro: rgba(56, 189, 248, 0.65);
  --color-glow-pro-shadow: rgba(56, 189, 248, 0.35);
  --color-text-primary: #ffffff;
  --color-text-secondary: rgba(255, 255, 255, 0.68);
  --color-text-muted: rgba(255, 255, 255, 0.50);
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --card-radius: 28px;
  --fundo-planos: url("assets/fundo-planos.webp");

  position: relative; overflow: hidden;
  width: 100%; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 60px 24px 50px;
  background-color: var(--color-bg);
  background-image: var(--fundo-planos);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  font-family: var(--font-primary);
  color: var(--color-text-primary);
  -webkit-font-smoothing: antialiased;
}
.pricing-watermark {
  position: absolute; top: 4%; left: 50%; transform: translateX(-50%);
  z-index: 1; pointer-events: none; user-select: none; white-space: nowrap;
  font-family: var(--font-primary); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  font-size: clamp(5.5rem, 15vw, 12.5rem);
  color: rgba(28, 64, 114, 0.45);
  text-shadow: 0 0 80px rgba(14, 165, 233, 0.20);
}
.pricing-grid {
  position: relative; z-index: 3;
  width: 100%; max-width: 764px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-items: stretch;
  margin: 40px auto 30px;
}
.pricing-card {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 38px 30px 32px;
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: var(--card-radius);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  backdrop-filter: blur(28px) saturate(170%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.22);
  transition: var(--transition-smooth);
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-card-border-hover);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.65), inset 0 1px 1.5px rgba(255, 255, 255, 0.32);
}
.pricing-card--pro {
  border: 1.5px solid var(--color-glow-pro);
  box-shadow: 0 0 35px var(--color-glow-pro-shadow), 0 25px 60px rgba(0, 0, 0, 0.60),
              inset 0 0 25px rgba(56, 189, 248, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.40);
}
.pricing-card--pro:hover {
  border-color: #67e8f9;
  box-shadow: 0 0 50px rgba(56, 189, 248, 0.50), 0 35px 70px rgba(0, 0, 0, 0.70),
              inset 0 0 30px rgba(56, 189, 248, 0.22), inset 0 1px 2.5px rgba(255, 255, 255, 0.50);
}
.plan-header { margin-bottom: 26px; }
.plan-tier { font-family: var(--font-primary); font-size: 1.15rem; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, 0.85); margin-bottom: 4px; }
.plan-price {
  display: flex; align-items: baseline; gap: 3px;
  font-size: 2.75rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.03em;
  color: var(--color-text-primary); margin-bottom: 18px;
}
.plan-price .currency { font-size: 2rem; font-weight: 600; }
.plan-price .period { font-size: 1.35rem; font-weight: 400; color: rgba(255, 255, 255, 0.75); }
.plan-desc { font-size: 0.825rem; line-height: 1.45; color: var(--color-text-secondary); min-height: 38px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 15px; margin-bottom: 34px; flex-grow: 1; }
.feature-list li {
  display: flex; align-items: center; gap: 13px;
  font-size: 0.825rem; line-height: 1.35; color: rgba(255, 255, 255, 0.88);
}
.check {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff; transition: var(--transition-smooth);
}
.check svg { width: 12px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-list li:hover .check { background: rgba(255, 255, 255, 0.22); border-color: rgba(255, 255, 255, 0.35); }
.pricing-card--pro .check { background: rgba(56, 189, 248, 0.18); border-color: rgba(56, 189, 248, 0.35); color: #e0f2fe; }
.btn-choose {
  width: 100%; display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 20px; border: 0; border-radius: 9999px; cursor: pointer;
  background: #fff; color: #0d1117;
  font-family: var(--font-primary); font-size: 0.95rem; font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: var(--transition-smooth);
}
.btn-choose:hover { background: #f1f5f9; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35); }
.btn-choose:active { transform: translateY(0); }
.btn-choose:focus-visible { outline: 3px solid #67e8f9; outline-offset: 3px; }

@media (max-width: 1024px) and (min-width: 769px) {
  .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
  .pricing-watermark { font-size: clamp(4.5rem, 12vw, 8.5rem); }
}
@media (max-width: 768px) {
  .pricing-section { padding: 80px 16px 40px; justify-content: flex-start; }
  .pricing-watermark { top: 2%; font-size: clamp(3.8rem, 14vw, 6rem); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; gap: 20px; margin-top: 15px; }
}
@media (max-width: 340px) {
  .pricing-card { padding: 32px 22px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .pricing-card:hover, .btn-choose:hover { transform: none; }
}
.pricing-nota { position: relative; z-index: 3; max-width: 560px; text-align: center; font-size: 0.9rem; line-height: 1.6; color: rgba(255,255,255,.8); text-shadow: 0 1px 10px rgba(0,0,0,.85); }
.pricing-nota a { white-space: nowrap; color: #67e8f9; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
