/* ============================================================
   Asofoend — v5
   Identidade corporativa: azul-marinho profundo + azul elétrico.
   Camada de experiência: aurora animada, tilt 3D, holofote de
   cursor, contadores, marquee, view transitions e micro-detalhes.
   ============================================================ */

:root {
  --navy-950: #05192e;
  --navy-900: #071f3a;
  --navy-800: #0a2540;
  --navy-700: #133a63;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --cyan-400: #22d3ee;
  --amber-400: #fbbf24;
  --green-600: #059669;
  --green-100: #d1fae5;
  --red-400: #f87171;
  --ink: #0a2540;
  --gray-700: #3c4d63;
  --gray-500: #62718a;
  --gray-300: #d3dce8;
  --gray-200: #e4eaf2;
  --gray-100: #f2f6fb;
  --gray-50: #f7fafd;
  --white: #ffffff;
  --wrap: 1140px;
  --r-lg: 20px;
  --r-md: 14px;
  --pill: 999px;
  --sh-sm: 0 2px 6px rgba(10, 37, 64, 0.08);
  --sh-md: 0 18px 40px -16px rgba(10, 37, 64, 0.25);
  --sh-lg: 0 40px 80px -30px rgba(10, 37, 64, 0.4);
  --font: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Transição suave entre páginas (View Transitions API) */
@view-transition { navigation: auto; }

::view-transition-old(root),
::view-transition-new(root) { animation-duration: 240ms; }

@property --ang {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--white); scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

::selection { background: rgba(37, 99, 235, 0.22); }

:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 2px;
  border-radius: 6px;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 5.4vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

.kicker {
  display: block;
  margin: 0 0 14px;
  color: var(--blue-600);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.on-navy .kicker,
.kicker.light { color: var(--cyan-400); }

.sub {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--gray-500);
  font-size: clamp(1.08rem, 1.7vw, 1.25rem);
  line-height: 1.6;
}

/* ---------- Barra de progresso de leitura ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 90;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-500), var(--blue-600));
  pointer-events: none;
}

/* ---------- Botões (formato pílula) ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 13px 28px;
  border: 2px solid transparent;
  border-radius: var(--pill);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  color: #fff;
  background: var(--blue-600);
  box-shadow: 0 12px 26px -10px rgba(37, 99, 235, 0.65);
}

.btn-primary:hover { background: var(--blue-500); }

/* brilho que atravessa o botão primário */
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.28) 48%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 600ms ease;
}

.btn-primary:hover::after { transform: translateX(130%); }

.btn-navy { color: #fff; background: var(--navy-800); }
.btn-navy:hover { background: var(--navy-700); }

.btn-light {
  color: var(--navy-800);
  background: #fff;
  box-shadow: var(--sh-sm);
}

.btn-light:hover { background: var(--gray-100); }

.btn-ghost {
  color: var(--ink);
  border-color: var(--gray-300);
  background: transparent;
}

.btn-ghost:hover { border-color: var(--navy-800); }

.on-navy .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.on-navy .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn-disabled {
  color: var(--gray-500);
  background: var(--gray-100);
  border-color: var(--gray-200);
  pointer-events: none;
}

.btn-sm { min-height: 42px; padding: 9px 20px; font-size: 0.92rem; }
.btn-lg { min-height: 56px; padding: 15px 34px; font-size: 1.06rem; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
}

/* ---------- Chips de status ---------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: var(--pill);
  font-size: 0.85rem;
  font-weight: 700;
}

.chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: var(--pill);
  background: currentColor;
}

.chip-green { color: var(--green-600); background: var(--green-100); }
.chip-green::before { animation: pulse 2.2s ease-in-out infinite; }

.chip-blue { color: var(--blue-600); background: #dbeafe; }

.on-navy .chip-green { color: #6ee7b7; background: rgba(5, 150, 105, 0.25); }
.on-navy .chip-blue { color: #93c5fd; background: rgba(59, 130, 246, 0.22); }

.chip-hero {
  color: #a5d8ff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(5, 150, 105, 0); }
}

/* ---------- Barra superior ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 31, 58, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 250ms ease, box-shadow 250ms ease;
}

.topbar.scrolled {
  background: rgba(5, 25, 46, 0.97);
  box-shadow: 0 12px 32px -14px rgba(5, 25, 46, 0.7);
}

.topbar-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  min-height: 76px;
  padding: 0 26px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.logo-badge {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--navy-900);
  background: linear-gradient(135deg, #7dd3fc, var(--blue-400));
  font-weight: 800;
  transition: transform 250ms ease;
}

.logo:hover .logo-badge { transform: rotate(-8deg) scale(1.06); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.site-nav a {
  padding: 10px 15px;
  border-radius: var(--pill);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease;
}

.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

.site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.topbar-cta { flex-shrink: 0; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: var(--pill);
  transition: transform 180ms ease;
}

body.nav-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
body.nav-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  padding: clamp(72px, 10vw, 120px) 0 0;
  color: #fff;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(55% 65% at 50% -10%, rgba(37, 99, 235, 0.5), transparent 70%),
    radial-gradient(40% 45% at 88% 20%, rgba(34, 211, 238, 0.18), transparent 70%),
    radial-gradient(40% 45% at 10% 30%, rgba(59, 130, 246, 0.16), transparent 70%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}

/* aurora animada */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
}

.hero::before {
  width: 560px;
  height: 560px;
  top: -230px;
  left: -140px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.5), transparent 65%);
  animation: drift-a 15s ease-in-out infinite;
}

.hero::after {
  width: 500px;
  height: 500px;
  top: -160px;
  right: -160px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.34), transparent 65%);
  animation: drift-b 19s ease-in-out infinite;
}

@keyframes drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(70px, 46px) scale(1.16); }
}

@keyframes drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-80px, -34px) scale(1.1); }
}

/* granulação sutil, estilo filme */
.grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: overlay;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="2" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/></filter><rect width="100%25" height="100%25" filter="url(%23n)" opacity="0.6"/></svg>');
}

.hero .wrap { position: relative; z-index: 1; }

.hero-center { max-width: 820px; margin: 0 auto; }

.hero h1 { margin-left: auto; margin-right: auto; }

.hero .sub {
  margin: 0 auto;
  color: rgba(226, 236, 248, 0.85);
}

.hero .actions { justify-content: center; }

.hero .chip-hero { margin-bottom: 26px; }

/* palavra rotativa do título */
.rotator {
  display: inline-block;
  background: linear-gradient(95deg, #7dd3fc, var(--blue-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: opacity 280ms ease, transform 280ms ease;
}

.rotator.is-out {
  opacity: 0;
  transform: translateY(14px);
}

/* vitrine de mockups que invade a seção seguinte */
.showcase {
  position: relative;
  z-index: 2;
  margin-top: clamp(48px, 6vw, 72px);
  margin-bottom: -150px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(18px, 4vw, 46px);
}

.showcase .phone:first-child { --rot: -3.5deg; }
.showcase .phone:last-child { --rot: 3.5deg; }

.after-showcase { padding-top: 210px !important; }

/* ---------- Mockup de celular ---------- */

.phone {
  width: min(258px, 42vw);
  padding: 12px;
  border-radius: 38px;
  background: linear-gradient(170deg, #1e3a5f, var(--navy-950));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--sh-lg);
  text-align: left;
  transform: rotate(var(--rot, 0deg)) translateY(0);
  transition: transform 250ms ease-out, box-shadow 250ms ease;
  will-change: transform;
}

.phone-screen {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy-800), var(--navy-950));
  padding: 16px 15px 20px;
  color: #fff;
}

/* reflexo que varre a tela no hover */
.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.13) 48%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 900ms ease;
  pointer-events: none;
}

.phone:hover .phone-screen::after { transform: translateX(130%); }

.p-status {
  display: block;
  width: 54px;
  height: 5px;
  margin: 0 auto 16px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.25);
}

.p-appbar {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-size: 0.92rem;
  font-weight: 800;
}

.p-logo {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 800;
}

.p-logo.wm { color: #452c00; background: linear-gradient(135deg, var(--amber-400), #f59e0b); }
.p-logo.rd { color: #fff; background: linear-gradient(135deg, var(--red-400), #dc2626); }

.p-card {
  margin-bottom: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.p-card small {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.p-card strong { display: block; font-size: 1.5rem; letter-spacing: -0.02em; }

.p-progress {
  height: 8px;
  margin-top: 10px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.p-progress i {
  display: block;
  height: 100%;
  border-radius: var(--pill);
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-500));
}

.p-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.p-row:last-child { border-bottom: 0; }

.p-dot {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.p-dot.b1 { background: rgba(59, 130, 246, 0.3); color: #93c5fd; }
.p-dot.b2 { background: rgba(34, 211, 238, 0.22); color: #67e8f9; }
.p-dot.b3 { background: rgba(251, 191, 36, 0.22); color: #fcd34d; }
.p-dot.b4 { background: rgba(248, 113, 113, 0.22); color: #fca5a5; }

.p-tail { margin-left: auto; color: rgba(255, 255, 255, 0.45); font-size: 0.76rem; }

/* ---------- Faixa de métricas ---------- */

.metrics {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.metrics-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 34px 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.metric { text-align: center; }

.metric strong {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--navy-800), var(--blue-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metric span { color: var(--gray-500); font-size: 0.9rem; }

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  background: #fff;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 52px;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 52px;
  white-space: nowrap;
  color: var(--gray-500);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.marquee-track b { color: var(--blue-600); font-weight: 800; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Seções ---------- */

.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-gray { background: var(--gray-50); }

.sec-head { max-width: 660px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Linhas de produto ---------- */

.prod-row {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  padding: clamp(36px, 5vw, 56px) 0;
}

.prod-row + .prod-row { border-top: 1px solid var(--gray-200); }

.prod-row.flip .prod-visual { order: -1; }

.prod-info .chip { margin-bottom: 18px; }

.prod-info h3 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.prod-info > p { color: var(--gray-500); font-size: 1.06rem; }

.bullets {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.bullets li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--gray-700);
  font-weight: 500;
}

.bullets li::before {
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: var(--pill);
  background:
    var(--green-100)
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23059669" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>')
    center / 13px no-repeat;
}

.prod-visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(70% 80% at 50% 0%, rgba(37, 99, 235, 0.28), transparent 75%),
    linear-gradient(180deg, var(--navy-800), var(--navy-950));
}

/* entrada suave dos mockups conforme o scroll (progressivo) */
@supports (animation-timeline: view()) {
  .prod-visual {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 38%;
  }

  @keyframes rise {
    from { transform: translateY(46px) scale(0.96); opacity: 0.35; }
    to { transform: none; opacity: 1; }
  }
}

/* ---------- Faixa navy ---------- */

.navy-band {
  padding: clamp(64px, 9vw, 110px) 0;
  color: #fff;
  background:
    radial-gradient(50% 60% at 85% 0%, rgba(34, 211, 238, 0.14), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, rgba(37, 99, 235, 0.24), transparent 70%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}

.navy-band .sub { color: rgba(226, 236, 248, 0.78); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.why-card {
  padding: 32px 30px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 200ms ease, border-color 200ms ease;
}

.why-card:hover { transform: translateY(-4px); border-color: rgba(125, 211, 252, 0.4); }

.why-card p { margin-bottom: 0; color: rgba(226, 236, 248, 0.75); font-size: 0.99rem; }

.icon-box {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 14px;
  color: var(--navy-900);
  background: linear-gradient(135deg, #7dd3fc, var(--blue-400));
}

.icon-box svg { width: 24px; height: 24px; }

/* ---------- Cartão de CTA com borda luminosa ---------- */

.cta-card {
  position: relative;
  padding: clamp(44px, 6vw, 72px) clamp(28px, 5vw, 72px);
  border-radius: 28px;
  color: #fff;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(60% 100% at 20% 0%, rgba(34, 211, 238, 0.25), transparent 60%),
    linear-gradient(120deg, var(--blue-600), var(--navy-800) 80%);
  box-shadow: var(--sh-lg);
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 2px;
  background: conic-gradient(from var(--ang), transparent 0%, rgba(125, 211, 252, 0.9) 12%, transparent 26%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: border-spin 5s linear infinite;
  pointer-events: none;
}

@keyframes border-spin {
  to { --ang: 360deg; }
}

.cta-card h2 { max-width: 620px; margin-left: auto; margin-right: auto; }

.cta-card p {
  max-width: 520px;
  margin: 0 auto;
  color: rgba(226, 236, 248, 0.85);
  font-size: 1.08rem;
}

.cta-card .actions { justify-content: center; }

/* ---------- Cabeçalho interno de página ---------- */

.page-head {
  position: relative;
  padding: clamp(60px, 9vw, 100px) 0;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(55% 80% at 78% 0%, rgba(37, 99, 235, 0.4), transparent 70%),
    radial-gradient(45% 60% at 8% 100%, rgba(34, 211, 238, 0.12), transparent 70%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}

.page-head::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  top: -220px;
  right: -120px;
  border-radius: 50%;
  filter: blur(70px);
  background: radial-gradient(circle, rgba(34, 211, 238, 0.24), transparent 65%);
  animation: drift-b 18s ease-in-out infinite;
  pointer-events: none;
}

.page-head .wrap { position: relative; z-index: 1; }

.page-head .sub { color: rgba(226, 236, 248, 0.82); }

.page-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.page-head .chip { margin-bottom: 20px; }

.head-note { margin-top: 18px; color: rgba(226, 236, 248, 0.6); font-size: 0.98rem; }

.legal-date { margin-top: 16px; color: rgba(226, 236, 248, 0.55); font-size: 0.92rem; }

/* ---------- Grid de recursos ---------- */

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-item {
  padding: 30px 28px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--gray-200);
  box-shadow: var(--sh-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-item:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }

.feature-item .icon-box {
  color: var(--blue-600);
  background: #dbeafe;
}

.feature-item p { margin-bottom: 0; color: var(--gray-500); font-size: 0.96rem; }

/* ---------- Caixa de aviso ---------- */

.note-box {
  display: grid;
  gap: 8px;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(30px, 4vw, 46px);
  border-radius: var(--r-lg);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--blue-600);
}

.note-box p { color: var(--gray-700); margin-bottom: 6px; }
.note-box .actions { margin-top: 10px; }

/* ---------- Valores (sobre) ---------- */

.value-grid2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.value-item {
  padding: 30px 28px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--gray-200);
  box-shadow: var(--sh-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.value-item:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }

.value-item p { margin-bottom: 0; color: var(--gray-500); font-size: 0.96rem; }

.value-item .num {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 12px;
  color: var(--blue-600);
  background: #dbeafe;
  font-weight: 800;
  font-size: 0.9rem;
}

.mission {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.mission .statement {
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-lg);
  color: #fff;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.015em;
  box-shadow: var(--sh-md);
}

.mission .statement small {
  display: block;
  margin-top: 18px;
  color: rgba(226, 236, 248, 0.6);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---------- Suporte / contato ---------- */

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.panel {
  padding: clamp(30px, 4vw, 42px);
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--gray-200);
  box-shadow: var(--sh-sm);
}

.panel .icon-box { color: var(--blue-600); background: #dbeafe; }

.mail-big {
  display: inline-block;
  margin: 6px 0 20px;
  color: var(--blue-600);
  font-size: clamp(1.1rem, 2.6vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.mail-big:hover { text-decoration: underline; }

.dot-list {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.dot-list li {
  display: flex;
  gap: 11px;
  color: var(--gray-700);
  font-weight: 500;
}

.dot-list li::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: 10px;
  border-radius: var(--pill);
  background: var(--blue-600);
}

.quick-links { display: grid; }

.quick-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-weight: 600;
  text-decoration: none;
  transition: color 150ms ease;
}

.quick-links a:last-child { border-bottom: 0; }
.quick-links a:hover { color: var(--blue-600); }
.quick-links a::after { content: "→"; color: var(--gray-300); transition: transform 150ms ease, color 150ms ease; }
.quick-links a:hover::after { color: var(--blue-600); transform: translateX(4px); }

/* ---------- Artigo legal ---------- */

.article {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--gray-200);
  box-shadow: var(--sh-sm);
}

.article h2 {
  margin-top: 40px;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
}

.article h2:first-child { margin-top: 0; }
.article p, .article li { color: var(--gray-700); }
.article ul { padding-left: 24px; }
.article li { margin-bottom: 9px; }
.article a { color: var(--blue-600); font-weight: 700; }
.article .btn { margin-top: 20px; }

/* ---------- Holofote que segue o cursor ---------- */

.spot { position: relative; }

.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(59, 130, 246, 0.12), transparent 70%);
}

.spot:hover::after { opacity: 1; }

.why-card.spot::after,
.prod-visual.spot::after {
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(125, 211, 252, 0.18), transparent 70%);
}

/* ---------- Rodapé ---------- */

.footer {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
}

/* marca d'água gigante */
.footer::before {
  content: "ASOFOEND";
  position: absolute;
  left: 50%;
  bottom: -0.18em;
  transform: translateX(-50%);
  font-size: clamp(90px, 15vw, 200px);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.035);
  white-space: nowrap;
  pointer-events: none;
}

.f-inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(52px, 7vw, 76px) 26px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 44px;
}

.f-brand p {
  margin: 18px 0 0;
  max-width: 300px;
  color: rgba(226, 236, 248, 0.65);
  font-size: 0.96rem;
}

.f-col strong {
  display: block;
  margin-bottom: 18px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.f-col nav { display: grid; gap: 12px; }

.f-col a {
  color: rgba(226, 236, 248, 0.65);
  font-size: 0.96rem;
  text-decoration: none;
  transition: color 150ms ease;
}

.f-col a:hover { color: #fff; }

.f-bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.f-bottom-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  color: rgba(226, 236, 248, 0.5);
  font-size: 0.88rem;
}

/* ---------- Animação de entrada ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 640ms cubic-bezier(0.2, 0.6, 0.2, 1), transform 640ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Movimento reduzido ---------- */

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

  .hero::before,
  .hero::after,
  .page-head::before,
  .cta-card::before,
  .chip-green::before { animation: none; }

  .marquee-track { animation: none; }

  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none; }

  @supports (animation-timeline: view()) {
    .prod-visual { animation: none; }
  }
}

/* ---------- Responsivo ---------- */

@media (max-width: 980px) {
  .menu-toggle { display: inline-block; }
  .topbar-cta { display: none; }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    z-index: 60;
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 14px;
    border-radius: var(--r-lg);
    background: var(--navy-900);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--sh-lg);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a { padding: 14px 16px; border-radius: 12px; }

  .metrics-inner { grid-template-columns: repeat(2, 1fr); }

  .prod-row,
  .prod-row.flip { grid-template-columns: 1fr; }
  .prod-row.flip .prod-visual { order: 0; }

  .why-grid,
  .feature-list,
  .value-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .mission,
  .panel-grid,
  .page-head-grid { grid-template-columns: 1fr; }

  .f-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .showcase { margin-bottom: -110px; }
  .after-showcase { padding-top: 160px !important; }
}

@media (max-width: 620px) {
  .metrics-inner { grid-template-columns: 1fr 1fr; gap: 18px; }

  .why-grid,
  .feature-list,
  .value-grid2 { grid-template-columns: 1fr; }

  .f-inner { grid-template-columns: 1fr; gap: 32px; }

  .actions .btn { width: 100%; }
  .cta-card .actions .btn { width: auto; }

  .showcase { gap: 12px; }
  .phone { width: min(230px, 46vw); }
  .phone-screen { padding: 12px 11px 16px; }
  .p-card strong { font-size: 1.2rem; }
}
