/* =========================================================
   UV Informática — Automações
   Base navy da marca + dourado, em modo "premium".
   ========================================================= */

:root {
  --navy-900: #070f1a;
  --navy-850: #0a1523;
  --navy-800: #0f1e32;
  --navy-700: #16283f;
  --line: rgba(255,255,255,0.10);
  --line-strong: rgba(255,255,255,0.18);

  --gold: #f2a93b;
  --gold-soft: #f8cd85;
  --gold-deep: #c9871f;

  --txt: #eef2f7;
  --txt-dim: #9aa9bd;
  --txt-dimmer: #6d7d92;

  --wa: #25d366;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --wrap: 1140px;
}

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

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 90px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--navy-900);
  color: var(--txt);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Sora', system-ui, sans-serif; line-height: 1.15; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

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

.grad {
  background: linear-gradient(100deg, var(--gold) 10%, var(--gold-soft) 55%, var(--gold) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip-link {
  position: absolute; left: -9999px;
  background: var(--gold); color: var(--navy-900);
  padding: 10px 18px; border-radius: var(--r-sm); font-weight: 600; z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }

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

/* ---------- animação de entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22,.8,.3,1), transform .7s cubic-bezier(.22,.8,.3,1);
}
.reveal.on { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .msg { animation: none !important; opacity: 1 !important; }
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,15,26,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, border-color .25s ease;
}
.nav.scrolled { background: rgba(7,15,26,0.94); border-bottom-color: var(--line-strong); }

.nav-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 10px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-txt {
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.02rem;
  letter-spacing: .2px;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: .93rem; font-weight: 500; color: var(--txt-dim);
  transition: color .18s ease;
}
.nav-links a:hover { color: var(--txt); }
.nav-cta {
  background: var(--gold); color: var(--navy-900) !important;
  font-weight: 600; padding: 9px 20px; border-radius: var(--r-pill);
  transition: transform .18s ease, box-shadow .18s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(242,169,59,.32); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  width: 25px; height: 2.5px; background: var(--txt); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =========================================================
   BOTÕES
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: .97rem;
  padding: 14px 28px; border-radius: var(--r-pill);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }

.btn-primary { background: var(--wa); color: #fff; box-shadow: 0 10px 26px rgba(37,211,102,.26); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(37,211,102,.36); }

.btn-gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 10px 26px rgba(242,169,59,.24); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(242,169,59,.36); }

.btn-ghost { border: 1px solid var(--line-strong); color: var(--txt); }
.btn-ghost:hover { background: rgba(255,255,255,.06); transform: translateY(-3px); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 104px) 0 clamp(60px, 9vw, 110px); }

.hero-glow {
  position: absolute; top: -320px; left: 50%; transform: translateX(-50%);
  width: min(1100px, 130vw); height: 720px; pointer-events: none;
  background:
    radial-gradient(ellipse 46% 52% at 50% 50%, rgba(242,169,59,.20), transparent 70%),
    radial-gradient(ellipse 62% 48% at 32% 62%, rgba(37,99,180,.24), transparent 72%);
  filter: blur(24px);
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 72% 62% at 50% 34%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 34%, #000 35%, transparent 78%);
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--wrap); margin: 0 auto; padding: 0 22px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(34px, 5vw, 64px); align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .78rem; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--gold-soft);
  background: rgba(242,169,59,.09);
  border: 1px solid rgba(242,169,59,.26);
  padding: 7px 16px; border-radius: var(--r-pill); margin-bottom: 24px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 0 rgba(242,169,59,.7); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(242,169,59,0); }
  100% { box-shadow: 0 0 0 0 rgba(242,169,59,0); }
}

.hero h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
  font-weight: 800; letter-spacing: -1.4px; margin-bottom: 22px;
}
.lead {
  font-size: clamp(1.02rem, 2.2vw, 1.17rem);
  color: var(--txt-dim); max-width: 54ch; margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-trust {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  font-size: .9rem; color: var(--txt-dimmer);
}
.hero-trust strong { color: var(--txt); font-weight: 600; }
.sep { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }

/* ---------- celular demo ---------- */
.hero-demo { display: flex; justify-content: center; }
.phone {
  width: min(340px, 100%);
  background: linear-gradient(170deg, var(--navy-800), var(--navy-850));
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(242,169,59,.10);
  overflow: hidden;
}
.phone-top {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 18px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.phone-avatar {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%;
  background: var(--navy-700); border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: .82rem; color: var(--gold);
}
.phone-top strong { display: block; font-size: .95rem; }
.phone-status { font-size: .76rem; color: var(--wa); }

.phone-body {
  padding: 20px 16px; display: flex; flex-direction: column; gap: 11px;
  min-height: 300px;
  background:
    radial-gradient(circle at 20% 12%, rgba(242,169,59,.05), transparent 55%),
    transparent;
}
.msg {
  max-width: 82%; padding: 11px 15px; font-size: .9rem; line-height: 1.5;
  border-radius: 16px; opacity: 0;
}
.msg.show { animation: pop .45s cubic-bezier(.22,.9,.3,1) forwards; }
@keyframes pop {
  from { opacity: 0; transform: translateY(10px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.msg.in {
  align-self: flex-start; background: rgba(255,255,255,.07);
  border: 1px solid var(--line); border-bottom-left-radius: 5px;
}
.msg.out {
  align-self: flex-end; background: rgba(37,211,102,.15);
  border: 1px solid rgba(37,211,102,.3); border-bottom-right-radius: 5px;
}
.phone-foot {
  padding: 12px 18px; border-top: 1px solid var(--line);
  font-size: .76rem; color: var(--txt-dimmer); text-align: center;
}

/* =========================================================
   CABEÇALHOS DE SEÇÃO
   ========================================================= */
.section-head { text-align: center; max-width: 660px; margin: 0 auto clamp(38px, 5vw, 58px); }
.tag {
  display: inline-block; font-size: .76rem; font-weight: 600;
  letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}
.tag-alt { color: var(--gold-soft); }
.section-head h2 {
  font-size: clamp(1.7rem, 4.4vw, 2.65rem); font-weight: 700;
  letter-spacing: -.9px; margin-bottom: 14px;
}
.section-head p { color: var(--txt-dim); font-size: 1.04rem; }

/* =========================================================
   DOR
   ========================================================= */
.problema { padding: clamp(58px, 8vw, 100px) 0; border-top: 1px solid var(--line); }
.dor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 20px; }
.dor-card {
  padding: 30px 26px; border-radius: var(--r-md);
  background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  transition: border-color .22s ease, transform .22s ease;
}
.dor-card:hover { border-color: rgba(242,169,59,.34); transform: translateY(-4px); }
.dor-num {
  display: block; font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: 1.9rem; color: rgba(242,169,59,.32); margin-bottom: 12px;
}
.dor-card h3 { font-size: 1.13rem; margin-bottom: 10px; }
.dor-card p { color: var(--txt-dim); font-size: .96rem; }

/* =========================================================
   RECURSOS
   ========================================================= */
.recursos {
  padding: clamp(58px, 8vw, 100px) 0;
  background:
    radial-gradient(ellipse 68% 46% at 50% 0%, rgba(37,99,180,.14), transparent 68%),
    var(--navy-850);
  border-top: 1px solid var(--line);
}
.rec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(292px, 1fr)); gap: 20px; }
.rec-card {
  padding: 32px 28px; border-radius: var(--r-md);
  background: rgba(255,255,255,.035);
  border: 1px solid var(--line);
  transition: border-color .22s ease, transform .22s ease, background .22s ease;
}
.rec-card:hover {
  border-color: rgba(242,169,59,.4);
  background: rgba(255,255,255,.055);
  transform: translateY(-5px);
}
.rec-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 13px; margin-bottom: 18px;
  background: rgba(242,169,59,.11);
  border: 1px solid rgba(242,169,59,.28);
  color: var(--gold);
}
.rec-card h3 { font-size: 1.13rem; margin-bottom: 10px; }
.rec-card p { color: var(--txt-dim); font-size: .96rem; }

/* =========================================================
   COMO FUNCIONA
   ========================================================= */
.como { padding: clamp(58px, 8vw, 100px) 0; border-top: 1px solid var(--line); }
.passos {
  max-width: 780px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 8px;
}
.passo {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 26px 4px; border-bottom: 1px solid var(--line);
}
.passo:last-child { border-bottom: 0; }
.passo-n {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.05rem;
  color: var(--gold);
  background: rgba(242,169,59,.10);
  border: 1.5px solid rgba(242,169,59,.34);
}
.passo h3 { font-size: 1.16rem; margin-bottom: 7px; }
.passo p { color: var(--txt-dim); font-size: .98rem; }

/* =========================================================
   GRAFENO
   ========================================================= */
.grafeno { padding: clamp(50px, 7vw, 84px) 0; }
.graf-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: 34px; align-items: center;
  padding: clamp(34px, 5vw, 56px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(ellipse 60% 100% at 88% 50%, rgba(242,169,59,.13), transparent 68%),
    linear-gradient(150deg, var(--navy-800), var(--navy-850));
  border: 1px solid rgba(242,169,59,.24);
}
.graf-card h2 {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 800;
  letter-spacing: -1.2px; margin-bottom: 8px;
  background: linear-gradient(100deg, var(--gold), var(--gold-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.graf-sub { font-size: 1.1rem; color: var(--txt); margin-bottom: 14px; font-weight: 500; }
.graf-copy p { color: var(--txt-dim); margin-bottom: 26px; max-width: 52ch; }
.graf-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.graf-orb {
  position: absolute; width: 210px; height: 210px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,169,59,.22), transparent 68%);
  filter: blur(18px);
}
.graf-visual svg { position: relative; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-13px); } }

/* =========================================================
   PROVA
   ========================================================= */
.prova { padding: clamp(46px, 6vw, 72px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prova-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 26px; text-align: center; }
.prova-item strong {
  display: block; font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(2rem, 5vw, 2.9rem); letter-spacing: -1.5px;
  background: linear-gradient(160deg, var(--gold), var(--gold-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.prova-item span { font-size: .88rem; color: var(--txt-dim); }

/* =========================================================
   FECHAMENTO
   ========================================================= */
.fechamento {
  padding: clamp(62px, 9vw, 108px) 0;
  background: radial-gradient(ellipse 62% 100% at 50% 100%, rgba(37,211,102,.10), transparent 68%);
}
.fech-inner { text-align: center; max-width: 620px; margin: 0 auto; }
.fech-inner h2 {
  font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 700;
  letter-spacing: -1px; margin-bottom: 16px;
}
.fech-inner > p { color: var(--txt-dim); font-size: 1.06rem; margin-bottom: 32px; }
.fech-meta {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 13px; margin-top: 26px; font-size: .92rem; color: var(--txt-dimmer);
}

/* =========================================================
   RODAPÉ
   ========================================================= */
.rodape { border-top: 1px solid var(--line); padding: 40px 0 26px; background: var(--navy-850); }
.rodape-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 22px; padding-bottom: 26px;
}
.rodape-brand strong { display: block; font-family: 'Sora', sans-serif; font-size: 1.02rem; }
.rodape-brand span { font-size: .87rem; color: var(--txt-dimmer); }
.rodape-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: .92rem; color: var(--txt-dim); }
.rodape-links a { transition: color .18s ease; }
.rodape-links a:hover { color: var(--gold); }
.rodape-copy { text-align: center; font-size: .82rem; color: var(--txt-dimmer); }

/* =========================================================
   WHATSAPP FLUTUANTE
   ========================================================= */
.wa-float {
  position: fixed; right: 20px; bottom: 22px; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--wa); box-shadow: 0 10px 28px rgba(0,0,0,.45);
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* =========================================================
   VOLTAR AO TOPO
   Fica ACIMA do WhatsApp, e a conta e essa: 22px do fundo +
   56px do botao dele + 12 de folga = 90. Mexeu num, mexe no
   outro, senao os dois se sobrepoem.
   Discreto de proposito: dourado aqui competiria com o
   "Testar agora", que e o botao que importa na pagina.
   ========================================================= */
.topo-float {
  position: fixed; right: 20px; bottom: 90px; z-index: 200;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-700); color: var(--txt);
  border: 1px solid var(--line-strong);
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
  cursor: pointer;
  /* visibility junto do opacity: so com opacity o botao invisivel
     continua clicavel e recebendo foco no Tab */
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .18s ease,
              color .18s ease, border-color .18s ease;
}
.topo-float.visible { opacity: 1; visibility: visible; }
.topo-float:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.topo-float:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-demo { order: 2; margin-top: 8px; }
  .graf-card { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .graf-copy p { margin-left: auto; margin-right: auto; }
  .graf-visual { order: -1; }
  .graf-visual svg { width: 92px; height: 92px; }
  .graf-orb { width: 160px; height: 160px; }
}

@media (max-width: 780px) {
  .nav-toggle { display: flex; }
  .nav-inner { position: relative; }
  .nav-links {
    position: absolute; top: calc(100% + 1px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(7,15,26,.98);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-strong);
    padding: 10px 22px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-cta { text-align: center; margin-top: 14px; padding: 13px 20px; }

  .passo { gap: 16px; padding: 22px 0; }
  .passo-n { flex-basis: 40px; width: 40px; height: 40px; font-size: .95rem; }
  .rodape-inner { flex-direction: column; text-align: center; }
  .rodape-links { justify-content: center; gap: 18px; }
}

@media (max-width: 480px) {
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 16px; }
  .wa-float svg { width: 26px; height: 26px; }
  /* mesma conta de novo: 16 + 50 + 12 */
  .topo-float { width: 40px; height: 40px; right: 14px; bottom: 78px; }
  .topo-float svg { width: 18px; height: 18px; }
  .dor-card, .rec-card { padding: 26px 22px; }
}
