/*
 * Camada visual do site (carregada depois do styles.css).
 * O styles.css é Tailwind já compilado; estilos novos ficam aqui como CSS comum.
 * Paleta alinhada ao painel: navy #0F2A47, teal #0E7C86, menta #5EEAD4.
 */
:root {
  --navy: #0F2A47;
  --navy-deep: #0A1F35;
  --teal: #0E7C86;
  --teal-600: #0B6870;
  --mint: #5EEAD4;
  --mint-soft: #99F6E4;
  --ink: #1A1F26;
  --muted: #5B6572;
  --line: #E4E7EC;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Tipografia ---------- */
html, .font-sans {
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}
h1 { font-weight: 800 !important; letter-spacing: -0.035em !important; }
h2 { font-weight: 700 !important; letter-spacing: -0.025em !important; }

/* ---------- Header ---------- */
[data-header] {
  background: rgba(255, 255, 255, 0.78) !important;
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
}
[data-header] nav a { position: relative; }
[data-header] nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--mint));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
[data-header] nav a:hover::after { transform: scaleX(1); }

.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--mint));
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

#mobile-menu:not([hidden]) { animation: menu-in 0.25s var(--ease-out); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Botões ---------- */
a.bg-\[\#0F2A47\],
a.bg-\[\#0E7C86\] {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-image: linear-gradient(135deg, #12919C 0%, var(--teal) 45%, var(--navy) 100%);
  background-size: 160% 100%;
  background-position: 0% 0;
  box-shadow: 0 10px 28px -12px rgba(14, 124, 134, 0.75);
  transition: background-position 0.5s var(--ease-out), box-shadow 0.3s, translate 0.3s var(--ease-out);
}
a.bg-\[\#0F2A47\]:hover,
a.bg-\[\#0E7C86\]:hover {
  background-position: 100% 0;
  translate: 0 -1px;
  box-shadow: 0 16px 36px -14px rgba(14, 124, 134, 0.9);
}
a.bg-\[\#0F2A47\]::after,
a.bg-\[\#0E7C86\]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
}
a.bg-\[\#0F2A47\]:hover::after,
a.bg-\[\#0E7C86\]:hover::after { transform: translateX(120%); }
a.bg-\[\#0E7C86\] svg { transition: transform 0.3s var(--ease-out); }
a.bg-\[\#0E7C86\]:hover svg { transform: translateX(3px); }

/* ---------- Ícones ---------- */
div.rounded-md.bg-\[\#0F2A47\],
div.rounded-lg.bg-\[\#0F2A47\],
div.rounded-xl.bg-\[\#0F2A47\],
div.rounded-full.bg-\[\#0F2A47\] {
  background-image: linear-gradient(140deg, #14A1AC 0%, var(--teal) 40%, var(--navy) 100%);
  box-shadow: 0 8px 20px -10px rgba(14, 124, 134, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.bg-\[\#0E7C86\]\/8,
.bg-\[\#0E7C86\]\/10 {
  background-image: linear-gradient(140deg, rgba(94, 234, 212, 0.22), rgba(14, 124, 134, 0.08));
}
.card-fx [class*="w-9 h-9"],
.card-fx [class*="w-10 h-10"],
.card-fx [class*="w-11 h-11"],
.card-fx [class*="w-12 h-12"],
.card-fx [class*="w-14 h-14"] {
  transition: transform 0.4s var(--ease-out);
}
.card-fx:hover [class*="w-9 h-9"],
.card-fx:hover [class*="w-10 h-10"],
.card-fx:hover [class*="w-11 h-11"],
.card-fx:hover [class*="w-12 h-12"],
.card-fx:hover [class*="w-14 h-14"] {
  transform: scale(1.08) rotate(-4deg);
}

/* ---------- Eyebrow das seções ---------- */
section p.uppercase.tracking-\[0\.14em\] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(14, 124, 134, 0.22);
  background: rgba(14, 124, 134, 0.06);
  font-size: 12px;
}
section p.uppercase.tracking-\[0\.14em\]::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.25);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
.text-white > p.uppercase.tracking-\[0\.14em\] {
  border-color: rgba(92, 219, 229, 0.3);
  background: rgba(92, 219, 229, 0.08);
}
@keyframes pulse-dot {
  50% { box-shadow: 0 0 0 6px rgba(94, 234, 212, 0); }
}

/* ---------- Cards ---------- */
.card-fx {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out),
              translate 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s, background-color 0.35s !important;
}
.card-fx::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -40%), rgba(94, 234, 212, 0.16), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s;
}
.card-fx:hover::before { opacity: 1; }
.card-fx:hover {
  translate: 0 -4px;
  border-color: rgba(14, 124, 134, 0.35) !important;
  box-shadow: 0 18px 40px -18px rgba(14, 124, 134, 0.35), 0 4px 12px rgba(15, 42, 71, 0.05) !important;
}
#funcionalidades .grid > div,
#personalizacao .grid > div {
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
#funcionalidades .grid > div:hover,
#personalizacao .grid > div:hover { background: #fff; }

/* Fundos suaves nas seções claras */
#beneficios, #depoimentos, #personalizacao {
  background-image:
    radial-gradient(600px 300px at 0% 0%, rgba(94, 234, 212, 0.10), transparent 70%),
    radial-gradient(600px 300px at 100% 100%, rgba(14, 124, 134, 0.08), transparent 70%);
}

/* Plano em destaque com borda gradiente */
#planos .border-2 {
  border: 2px solid transparent !important;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(140deg, var(--mint), var(--teal) 45%, var(--navy)) border-box !important;
  animation: plan-glow 4s ease-in-out infinite;
}
@media (min-width: 768px) {
  #planos .border-2 { margin-top: -12px; margin-bottom: 12px; }
}
@keyframes plan-glow {
  0%, 100% { box-shadow: 0 16px 48px -18px rgba(14, 124, 134, 0.35); }
  50% { box-shadow: 0 22px 60px -14px rgba(14, 124, 134, 0.55); }
}

/* ---------- Hero ---------- */
.hero-fx {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-fx::before {
  /* grade de pontos */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
}
.fx-glow {
  position: absolute;
  width: 640px; height: 640px;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.35), rgba(14, 124, 134, 0.15) 40%, transparent 70%);
  animation: glow-drift 14s ease-in-out infinite alternate;
}
.fx-glow.is-right { right: -180px; top: -120px; }
.fx-glow.is-left { left: -260px; bottom: -320px; opacity: 0.6; animation-delay: -7s; }
@keyframes glow-drift {
  to { transform: translate3d(-60px, 50px, 0) scale(1.1); }
}

.fx-ring {
  position: absolute;
  right: 8%; top: 50%;
  width: 360px; height: 360px;
  margin-top: -180px;
  border-radius: 50%;
  border: 1px solid rgba(94, 234, 212, 0.18);
  box-shadow: 0 0 80px rgba(94, 234, 212, 0.12) inset;
  animation: ring-pulse 5s ease-in-out infinite;
}
.fx-ring::after {
  content: "";
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px dashed rgba(94, 234, 212, 0.16);
  animation: spin 40s linear infinite;
}
@keyframes ring-pulse { 50% { transform: scale(1.06); opacity: 0.7; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Raios de luz (como no painel) */
.fx-streak {
  position: absolute;
  height: 1.5px;
  width: 220px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(153, 246, 228, 0.85));
  transform: rotate(var(--r, 8deg));
  opacity: 0;
  animation: streak var(--t, 6s) linear infinite;
  animation-delay: var(--d, 0s);
}
.fx-streak::after {
  content: "";
  position: absolute;
  right: -2px; top: 50%;
  width: 5px; height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px 2px rgba(94, 234, 212, 0.9);
}
@keyframes streak {
  0% { opacity: 0; translate: -40vw 0; }
  10% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; translate: 70vw 0; }
}

.text-gradient {
  background: linear-gradient(90deg, var(--mint), var(--mint-soft), #2DD4BF, var(--mint));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

/* Print do sistema flutuando + chips */
.hero-visual { perspective: 1200px; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 5%;
  border-radius: 24px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.45), transparent 70%);
  filter: blur(50px);
  z-index: 0;
}
.hero-shot {
  position: relative;
  z-index: 1;
  animation: float 7s ease-in-out infinite;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease-out);
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
.hero-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(10, 31, 53, 0.72);
  border: 1px solid rgba(94, 234, 212, 0.25);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 13px;
  line-height: 1.3;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55);
  animation: float 6s ease-in-out infinite;
}
.hero-chip small { display: block; font-size: 11px; color: rgba(255, 255, 255, 0.6); }
.hero-chip .chip-icon {
  width: 30px; height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #14A1AC, var(--teal));
  color: #fff;
  flex-shrink: 0;
}
.hero-chip .chip-icon svg { width: 16px; height: 16px; }
.hero-chip.is-top { top: -18px; right: -10px; animation-delay: -2s; }
.hero-chip.is-bottom { bottom: -22px; left: -18px; animation-delay: -4s; }
.hero-chip .live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.7);
  animation: live 2s infinite;
}
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(94, 234, 212, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0); } }
@media (max-width: 640px) {
  .hero-chip.is-top { right: 4px; }
  .hero-chip.is-bottom { left: 4px; }
}

/* Card final de CTA */
.cta-card {
  position: relative;
  border: 1px solid transparent !important;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(140deg, rgba(94, 234, 212, 0.9), rgba(14, 124, 134, 0.5), rgba(228, 231, 236, 1)) border-box !important;
}

/* Rodapé */
footer { position: relative; }
footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
  opacity: 0.6;
}

/* ---------- Entrada ao rolar ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].card-fx { transition-delay: var(--d, 0ms), var(--d, 0ms), 0s, 0s, 0s, 0s !important; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .fx-streak { display: none; }
}

/* "Saiba mais" no fim das seções da home, levando às páginas de conteúdo */
.saiba-mais-wrap { margin-top: 2.5rem; text-align: center; }
.saiba-mais { display: inline-flex; align-items: center; gap: .5rem; height: 44px; padding: 0 1.25rem; border-radius: 10px; border: 1px solid rgba(14,124,134,.35); background: #fff; color: #0E7C86; font-size: 14px; font-weight: 600; text-decoration: none; transition: background-color .2s, border-color .2s, gap .2s; }
.saiba-mais:hover { background: rgba(14,124,134,.06); border-color: #0E7C86; gap: .75rem; }

/* Rodapé: marca + informativo no topo, card de teste grátis + 3 colunas de links, linha final */
.rodape { position: relative; overflow: hidden; background: #0B2036; color: rgba(255,255,255,.7); }
.rodape::before { content: ""; position: absolute; inset: auto auto -280px -180px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(14,124,134,.28), transparent 65%); pointer-events: none; }
.rodape-in { position: relative; max-width: 1240px; margin: 0 auto; padding: 4rem 1.5rem 2rem; }
.rodape a { color: inherit; text-decoration: none; transition: color .2s; }
.rodape a:hover { color: #fff; }

.rodape-topo { display: grid; gap: 2rem; padding-bottom: 2.75rem; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 960px) { .rodape-topo { grid-template-columns: 1fr 1.25fr 1.35fr; align-items: start; gap: 3rem; } }
.rodape-logo { display: inline-flex; align-items: center; gap: .65rem; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: #fff !important; }
.rodape-logo-icone { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: #0E7C86; }
.rodape-logo-icone svg { width: 20px; height: 20px; color: #fff; }
.rodape-marca p { margin: .9rem 0 0; max-width: 260px; font-size: 13px; line-height: 1.6; }
.rodape-chamada { margin: 0; font-size: 20px; line-height: 1.45; font-weight: 600; color: #fff; letter-spacing: -0.01em; }

.rodape-news form { display: flex; gap: .5rem; padding: .4rem; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); }
.rodape-news input[type=email] { flex: 1; min-width: 0; height: 46px; padding: 0 .9rem; border: 0; background: transparent; color: #fff; font: inherit; font-size: 15px; outline: none; }
.rodape-news input[type=email]::placeholder { color: rgba(255,255,255,.5); }
.rodape-news form:focus-within { border-color: rgba(94,234,212,.6); }
.rodape-news button { flex-shrink: 0; height: 46px; padding: 0 1.4rem; border: 0; border-radius: 10px; background: #5EEAD4; color: #0B2036; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: background-color .2s; }
.rodape-news button:hover { background: #99f6e4; }
.rodape-news button:disabled { opacity: .6; cursor: wait; }
.rodape-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rodape-news-nota { margin: .75rem 0 0; font-size: 12px; }
.rodape-news-nota a { color: #5EEAD4; text-decoration: underline; text-underline-offset: 2px; }
.rodape-news-msg { margin: .6rem 0 0; font-size: 13px; font-weight: 500; }
.rodape-news-msg:empty { display: none; }
.rodape-news-msg.is-ok { color: #5EEAD4; }
.rodape-news-msg.is-erro { color: #fca5a5; }

.rodape-meio { display: grid; gap: 2.5rem; padding: 3rem 0; }
@media (min-width: 960px) { .rodape-meio { grid-template-columns: 300px 1fr; gap: 4rem; } }
.rodape-selo { max-width: 320px; }
.rodape-selo-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.75rem 1.5rem; border-radius: 18px; border: 1px solid rgba(94,234,212,.35); background: linear-gradient(160deg, rgba(14,124,134,.25), rgba(255,255,255,.03)); }
.rodape-selo-marca { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #5EEAD4; }
.rodape-selo-card strong { margin-top: .6rem; font-size: 19px; line-height: 1.3; color: #fff; }
.rodape-selo-sub { margin-top: .3rem; font-size: 13px; }
.rodape-selo-btn { margin-top: 1.2rem; display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 1.3rem; border-radius: 10px; background: #0E7C86; color: #fff !important; font-size: 14px; font-weight: 600; }
.rodape-selo-btn:hover { background: #0a626a; }
.rodape-selo > p { margin: .9rem 0 0; text-align: center; font-size: 13px; }
.rodape-selo > p a { color: #5EEAD4; font-weight: 600; }

.rodape-colunas { display: grid; gap: 2rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1100px) { .rodape-colunas { grid-template-columns: repeat(4, 1fr); } }
.rodape-colunas h2 { margin: 0 0 1.1rem; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #5EEAD4; }
.rodape-colunas ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .85rem; }
.rodape-colunas a { font-size: 14px; }

.rodape-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.rodape-base p { margin: 0; display: flex; gap: .6rem; }

/* Link "Conheça o processo" nos cards de serviços complementares da home */
.servico-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .9rem; font-size: 14px; font-weight: 600; color: #0E7C86; text-decoration: none; transition: gap .2s; }
.servico-link:hover { gap: .6rem; text-decoration: underline; text-underline-offset: 3px; }
