:root {
  --bg: #091F27;
  --bg-alt: #071521;
  --bg-card: #0E2731;
  --border: #1D3942;
  --border-soft: #102A34;
  --text: #EAF5F2;
  --text-muted: #83A29D;
  --text-faint: #4F6E6A;
  --accent: #15E5B4;
  --accent-soft: color-mix(in srgb, var(--accent) 14%, var(--bg));
  --accent-text: #071521;
  --accent-btn: #24C36A;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

img { max-width: 100%; }

html, body { overflow-x: hidden; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display { font-family: var(--font-display); letter-spacing: -0.01em; margin: 0; }
h3 { font-size: 17px; font-weight: 600; color: var(--text); }
p { margin: 0; color: var(--text-muted); line-height: 1.6; font-size: 14px; }
hr { border: none; height: 1px; background: var(--border); margin: 20px 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: #fff; }

svg { color: var(--accent); flex-shrink: 0; }

.container { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.accent-text { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: 8px; border: none; cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--accent-btn); color: var(--accent-text); transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.btn-primary svg { color: currentColor; }
.btn-primary:hover { background: #fff; color: var(--bg); transform: translateY(-2px); box-shadow: 0 6px 14px color-mix(in srgb, var(--accent-btn) 30%, transparent); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-row { display: flex; gap: 20px; margin-top: 32px; }
.btn-row .btn { padding: 16px 32px; font-size: 16px; border-radius: 10px; letter-spacing: 0.01em; }
.btn-row .btn-primary {
  background: var(--accent-btn);
  color: var(--accent-text);
}
.btn-row .btn-primary:hover {
  background: #fff; color: var(--bg); transform: translateY(-2px); box-shadow: 0 6px 14px color-mix(in srgb, var(--accent-btn) 30%, transparent);
}
.btn-row .btn-secondary {
  background: color-mix(in srgb, var(--text) 5%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid color-mix(in srgb, var(--text) 22%, transparent);
}
.btn-row .btn-secondary:hover {
  background: color-mix(in srgb, var(--text) 9%, transparent);
  border-color: var(--accent);
  color: var(--accent);
}

/* Header */
.site-header { border-bottom: 1px solid var(--border-soft); position: sticky; top: 0; z-index: 20; background: rgba(10,13,18,0.85); backdrop-filter: blur(10px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 0; color: var(--text); }
.logo-mark { width: 50px; height: 50px; object-fit: contain; flex-shrink: 0; }
.logo-mark-sm { width: 40px; height: 40px; }
.logo-wordmark { height: 15px; width: auto; margin-left: -4px; }
.logo-wordmark-sm { height: 12px; margin-left: -3px; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.main-nav a:hover { color: var(--text); }
.nav-whatsapp { display: none; }
.nav-toggle {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: transparent; border: 1px solid var(--border); border-radius: 8px; width: 40px; height: 40px;
  color: var(--text); cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.nav-toggle:active { transform: scale(0.9); background: color-mix(in srgb, var(--accent) 16%, transparent); border-color: var(--accent); }
.nav-toggle-bar { width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.3s ease, opacity 0.2s ease; }
.nav-toggle.active { border-color: var(--accent); }
.nav-toggle.active .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.active .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border-soft); aspect-ratio: 1536 / 619; }
.hero-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.75) 28%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 65%);
}
.hero-copy { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.pill { display: inline-flex; align-items: center; gap: 12px; background: var(--accent-soft); border: 1px solid var(--border); padding: 7px 14px; border-radius: 100px; margin-bottom: 24px; font-size: 13px; font-weight: 500; color: var(--text-muted); }
.pill-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.pill-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: pill-pulse 1.8s ease-out infinite; }
@keyframes pill-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.8); opacity: 0; }
}
.hero-title { font-size: 48px; line-height: 1.1; font-weight: 700; color: var(--text); max-width: 500px; }
.lead { margin-top: 20px; font-size: 17px; line-height: 1.6; color: var(--text-muted); max-width: 500px; }
.trust-list { list-style: none; margin: 32px 0 0; padding: 0; display: flex; gap: 28px; flex-wrap: wrap; }
.trust-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }

/* Stats */
.stats-bar { border-bottom: 1px solid var(--border-soft); background: var(--bg-alt); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 40px; padding-bottom: 40px; text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--text); }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* Brands */
.brands { padding-top: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border-soft); }
.brands-label { text-align: center; font-size: 16px; font-weight: 600; color: var(--text-faint); margin-bottom: 24px; }
.brands-marquee { overflow: hidden; width: 100%; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brands-track { display: flex; width: max-content; animation: brands-scroll 28s linear infinite; }
.brands-row { display: flex; flex-wrap: nowrap; gap: 56px; padding-right: 56px; flex-shrink: 0; }
.brands-row span { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--text-faint); white-space: nowrap; }

@keyframes brands-scroll {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* Sections */
.section { padding-top: 96px; padding-bottom: 96px; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); padding-top: 80px; padding-bottom: 80px; }
.section-alt .container { padding-top: 0; padding-bottom: 0; }
.section-head { max-width: 560px; margin-bottom: 56px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0; }
.section-title { font-size: 32px; font-weight: 700; color: var(--text); margin-top: 12px; }
.section-sub { font-size: 15px; color: var(--text-muted); margin-top: 12px; line-height: 1.6; }

/* Grid */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Card */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; }
.icon-badge { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent); }
.icon-badge svg { width: 22px; height: 22px; }
.icon-badge-lg { width: 64px; height: 64px; border-radius: 16px; }
.icon-badge-lg svg { width: 30px; height: 30px; }

/* Services */
.service-card { padding: 28px; position: relative; overflow: hidden; transition: border-color 0.25s ease; }
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-btn));
  transition: width 0.35s ease;
}
.service-card:hover { border-color: var(--accent); }
.service-card:hover::before { width: 100%; }
.service-card .icon-badge { margin-bottom: 18px; }
.service-card h3 { margin-bottom: 8px; }

/* Security */
.security-grid { padding-top: 80px; padding-bottom: 80px; grid-template-columns: 0.9fr 1.1fr; align-items: center; }
.security-visual { width: 100%; margin-left: -24px; }

/* About */
.about-grid { grid-template-columns: 0.85fr 1.15fr; align-items: center; }
.about-card { padding: 32px; }
.avatar { width: 88px; height: 88px; border-radius: 50%; background: var(--accent-soft); border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--accent); }
.about-name { font-size: 17px; font-weight: 600; color: var(--text); }
.about-role { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.check-list li svg { margin-top: 2px; }
.note-card { margin-top: 24px; padding: 18px 20px; display: flex; align-items: center; gap: 12px; }
.note-card span { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* Service area */
.area-card { padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.area-title { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 6px; }

/* Testimonials */
.testimonial-card { padding: 26px; transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.testimonial-card:hover { border-color: var(--accent); box-shadow: 0 12px 32px color-mix(in srgb, var(--accent) 30%, transparent); }
.stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 14px; font-size: 15px; }
.testimonial-card p { color: var(--text); }
.testimonial-name { margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--text); }
.testimonial-role { font-size: 12px; color: var(--text-faint); }

/* Pricing */
.plan-card { padding: 28px; position: relative; }
.plan-name { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.plan-name-accent { color: var(--accent); }
.plan-price { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: 0.02em; color: var(--accent); margin-top: 10px; }
.plan-card p { margin-top: 10px; font-size: 13px; }
.plan-featured { border-color: var(--accent); }
.plan-badge { position: absolute; top: -12px; left: 28px; background: var(--accent); color: var(--accent-text); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 100px; letter-spacing: 0.03em; }
.check-list-sm { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list-sm li { position: relative; padding-left: 22px; font-size: 13px; color: var(--text-muted); }
.check-list-sm li::before { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.fine-print { font-size: 12px; color: var(--text-faint); margin-top: 24px; }

/* Timeline (Como funciona) */
.timeline { position: relative; display: flex; flex-direction: column; gap: 56px; padding-left: 4px; }
.timeline-line { position: absolute; left: 31px; top: 0; height: 0; width: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.timeline-line-fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: linear-gradient(var(--accent), var(--accent-btn));
  box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 70%, transparent);
  transition: height 0.2s linear;
}
.timeline-step {
  position: relative; z-index: 1; display: flex; gap: 28px; align-items: flex-start;
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.timeline-step.in-view { opacity: 1; transform: translateY(0); }
.timeline-node {
  position: relative; flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%;
  background: var(--bg-card); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--text-muted);
  transition: border-color 0.4s ease, color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}
.timeline-step.active .timeline-node {
  border-color: var(--accent); color: var(--accent-text); background: var(--accent);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 16%, transparent);
}
.timeline-step.active .timeline-node::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--accent);
  animation: timeline-pulse 1.6s ease-out infinite;
}
@keyframes timeline-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}
.timeline-body { padding-top: 12px; }
.timeline-body h3 { margin-bottom: 8px; font-size: 19px; }
.timeline-body p { max-width: 460px; }

/* Final CTA */
.final-cta-wrap { padding-bottom: 96px; }
.final-cta { background: linear-gradient(135deg, var(--accent-soft), var(--bg-card)); border: 1px solid var(--border); border-radius: 20px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.final-cta h2 { font-size: 28px; font-weight: 700; color: var(--text); }
.final-cta p { margin-top: 8px; font-size: 15px; }

/* FAQ */
.faq-grid { padding-top: 96px; padding-bottom: 96px; grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
.faq-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
.faq-item { background: var(--bg-card); padding: 22px 24px; cursor: pointer; }
.faq-item summary { font-size: 15px; font-weight: 600; color: var(--text); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-display); font-size: 20px; color: var(--accent); flex-shrink: 0; margin-left: 12px; transition: transform 0.15s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 12px; font-size: 14px; line-height: 1.6; }

/* Footer */
.site-footer { padding-top: 56px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 40px; }
.footer-brand { max-width: 280px; }
.footer-brand .logo-text { font-size: 21px; }
.footer-brand p { font-size: 15px; color: var(--text-faint); margin-top: 6px; margin-left: 10px; line-height: 1.6; }
.footer-social { display: inline-flex; margin-top: 20px; margin-left: 10px; color: var(--text-muted); }
.footer-social svg { color: var(--text-muted); }
.footer-social:hover svg { color: #fff; }
.footer-cols { display: flex; gap: 96px; }
.footer-col-title { font-size: 13px; font-weight: 600; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 18px; }
.footer-cols div > a { display: block; font-size: 15px; color: var(--text-muted); margin-bottom: 16px; }
.footer-cols div > a:hover { color: var(--text); }
.footer-contact-link { display: flex !important; align-items: center; gap: 8px; }
.footer-contact-link svg { color: var(--text-muted); flex-shrink: 0; }
.footer-contact-link:hover svg { color: var(--accent); }
.footer-divider { height: 1px; background: var(--border-soft); }
.footer-copy { font-size: 13px; color: var(--text-faint); padding: 24px 0 40px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-credit { font-size: 13px; color: var(--text-faint); transition: color 0.2s ease; }
.footer-credit:hover { color: #fff; }

/* Responsive */
@media (max-width: 780px) {
  .container { padding-left: 20px; padding-right: 20px; }

  .main-nav { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 76px; left: 0; right: 0;
    background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft); padding: 8px 24px 24px;
  }
  .main-nav.open a { padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
  .main-nav.open .nav-whatsapp {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 16px; padding: 13px 20px; border-bottom: none; border-radius: 8px;
    background: var(--accent-btn); color: var(--accent-text); font-weight: 600;
  }
  .nav-toggle { display: flex; flex-shrink: 0; }
  .hide-mobile { display: none; }
  .hide-mobile-flex { display: none; }
  .header-inner { gap: 10px; }
  .logo-mark { width: 40px; height: 40px; }

  .grid-2, .grid-3, .security-grid, .about-grid, .faq-grid { grid-template-columns: 1fr !important; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; padding-top: 32px; padding-bottom: 32px; }
  .stat-num { font-size: 26px; }
  .final-cta, .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-cols { flex-direction: column; gap: 32px; }
  .hero-title { font-size: 28px; max-width: 100%; }
  .section-title { font-size: 24px; }
  .final-cta { text-align: left; padding: 36px 24px; }
  .final-cta .btn { width: 100%; justify-content: center; }
  .hero-scrim { display: none; }
  .hero { height: auto; aspect-ratio: auto; overflow: visible; }
  .hero-img { display: none; }
  .hero-copy { position: static; padding: 40px 20px 40px; }
  .pill { margin-bottom: 16px; }
  .pill span:last-child { font-size: 12px; }
  .lead { margin-top: 14px; font-size: 15px; }
  .btn-row { flex-direction: column; margin-top: 20px; gap: 10px; width: 100%; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .trust-list { flex-direction: column; align-items: flex-start; margin-top: 28px; gap: 12px; }

  .section { padding-top: 56px; padding-bottom: 56px; }
  .section-alt { padding-top: 48px; padding-bottom: 48px; }
  .section-head { margin-bottom: 36px; }
  .security-grid, .faq-grid { padding-top: 56px; padding-bottom: 56px; gap: 32px; }
  .security-visual { margin-left: 0; }
  .final-cta-wrap { padding-bottom: 56px; }

  .about-card, .plan-card, .service-card { padding: 22px; }
  .area-card { padding: 20px; }

  .timeline { gap: 40px; }
  .timeline-line { left: 23px; }
  .timeline-node { width: 48px; height: 48px; font-size: 14px; }
  .timeline-step { gap: 18px; }
  .timeline-body { padding-top: 4px; }
  .timeline-body p { max-width: 100%; }

  .footer-brand { max-width: 100%; }
  .footer-social { margin-bottom: 8px; }
  .footer-top { gap: 44px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-copy { padding: 20px 0 0; font-size: 14px; }
}

@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .hero-title { font-size: 25px; }
  .final-cta h2 { font-size: 22px; }
}

/* ============================================================
   Repaginação: movimento, profundidade e microinterações
   ============================================================ */

/* ---- Reveal no scroll (classe adicionada via JS) ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---- Barra de progresso de leitura ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-btn));
  transform: scaleX(0); transform-origin: 0 50%;
  z-index: 60; pointer-events: none; will-change: transform;
}

/* ---- Header que reage ao scroll ---- */
.site-header { transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.header-inner { transition: height 0.3s ease; }
.logo-mark { transition: width 0.3s ease, height 0.3s ease; }
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}
.site-header.scrolled .header-inner { height: 62px; }
.site-header.scrolled .logo-mark { width: 42px; height: 42px; }

/* ---- Navegação com sublinhado animado ---- */
.main-nav a:not(.nav-whatsapp) { position: relative; }
.main-nav a:not(.nav-whatsapp)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--accent); transition: width 0.25s ease;
}
.main-nav a:not(.nav-whatsapp):hover::after { width: 100%; }

/* ---- Hero: brilho de ambiente + grade tech ---- */
.hero-copy { z-index: 2; }
.hero-fx {
  position: absolute; inset: 0; z-index: 1;
  overflow: hidden; pointer-events: none;
}
.hero-aurora, .hero-gridfx { position: absolute; inset: 0; display: block; }
.hero-aurora {
  inset: -25%;
  background:
    radial-gradient(38% 48% at 22% 32%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%),
    radial-gradient(34% 44% at 78% 62%, color-mix(in srgb, var(--accent-btn) 22%, transparent), transparent 70%);
  filter: blur(28px);
  mix-blend-mode: screen;
  opacity: 0.55;
}
.hero-gridfx {
  background-image:
    linear-gradient(color-mix(in srgb, var(--accent) 9%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 9%, transparent) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(58% 60% at 28% 52%, #000, transparent 76%);
  mask-image: radial-gradient(58% 60% at 28% 52%, #000, transparent 76%);
  opacity: 0.5;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-aurora { animation: hero-aurora 18s ease-in-out infinite alternate; }
  .hero-gridfx { animation: hero-grid 22s linear infinite; }
  @keyframes hero-aurora {
    from { transform: translate3d(-4%, -2%, 0) scale(1); }
    to   { transform: translate3d(4%, 3%, 0) scale(1.16); }
  }
  @keyframes hero-grid { to { background-position: 46px 46px; } }
}

/* ---- Hero: título revelado palavra por palavra ---- */
.hero-title .hw {
  display: inline-block; overflow: hidden;
  padding-bottom: 0.12em; margin-bottom: -0.12em;
}
.hero-title .hw-i { display: inline-block; will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .hero-title-anim .hw-i {
    transform: translateY(110%);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--w-delay, 0ms);
  }
  .hero-title-anim .hw-i.in { transform: translateY(0); }
}

/* ---- Estatísticas ---- */
.stat { transition: transform 0.3s ease; }
.stat:hover { transform: translateY(-3px); }
.stat-num {
  background: linear-gradient(180deg, var(--text) 32%, color-mix(in srgb, var(--accent) 55%, var(--text)));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  transition: filter 0.3s ease;
}
.stat:hover .stat-num { filter: brightness(1.25); }

/* ---- Marquee de marcas ---- */
.brands-marquee:hover .brands-track { animation-play-state: paused; }

/* ---- Serviços em bento grid ---- */
.services-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.services-bento .service-card { padding: 26px; }
.service-card > * { position: relative; z-index: 1; }
.service-card::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, color-mix(in srgb, var(--accent) 14%, transparent) 50%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}
.service-card:hover::after { transform: translateX(120%); }

.service-card-lg {
  grid-column: span 2;
  grid-row: span 2;
  padding: 34px;
  display: flex; flex-direction: column;
  background:
    radial-gradient(120% 80% at 100% 100%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 60%),
    var(--bg-card);
}
.service-card-lg h3 { font-size: 23px; margin-top: 4px; }
.service-card-lg > p { font-size: 14px; margin-top: 10px; }
.service-points {
  list-style: none; margin: auto 0 0; padding: 24px 0 0;
  border-top: 1px solid var(--border-soft);
  display: flex; flex-direction: column; gap: 12px;
}
.service-points li {
  position: relative; padding-left: 24px;
  font-size: 13px; color: var(--text-muted); line-height: 1.5;
}
.service-points li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 12px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.service-card-wide {
  grid-column: span 4;
  display: flex; flex-direction: row; align-items: center; gap: 22px;
}
.service-card-wide .service-wide-body { flex: 1; }
.service-card-wide h3 { margin-bottom: 6px; }
.service-wide-cta {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); border: 1px solid var(--border);
  transition: background 0.25s ease, transform 0.25s ease;
}
.service-wide-cta:hover { background: var(--accent); transform: translateX(3px); }
.service-wide-cta:hover svg { color: var(--accent-text); }

@media (prefers-reduced-motion: no-preference) {
  .service-card.reveal .icon-badge { opacity: 0; transform: scale(0.5) rotate(-15deg); }
  .service-card.reveal.is-visible .icon-badge {
    opacity: 1; transform: none;
    transition: opacity 0.5s ease 0.15s,
                transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s,
                background 0.3s ease;
  }
}

/* ---- Elevação e ícones nos cards ---- */
.service-card {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px color-mix(in srgb, var(--accent) 14%, transparent);
}
.area-card, .plan-card {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.area-card:hover, .plan-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.testimonial-card {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.testimonial-card:hover { transform: translateY(-4px); }
.icon-badge { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease; }
.service-card:hover .icon-badge {
  transform: scale(1.1) rotate(-4deg);
  background: color-mix(in srgb, var(--accent) 22%, var(--bg));
}
.area-card:hover .icon-badge {
  background: color-mix(in srgb, var(--accent) 22%, var(--bg));
}

/* ---- Segurança: escudo que pulsa ---- */
@media (prefers-reduced-motion: no-preference) {
  .security-visual img { animation: sec-breathe 4.2s ease-in-out infinite; }
  @keyframes sec-breathe {
    0%, 100% { filter: brightness(1); }
    50%      { filter: brightness(1.12) drop-shadow(0 0 22px color-mix(in srgb, var(--accent) 28%, transparent)); }
  }
}

/* ---- Sobre: avatar flutuando ---- */
@media (prefers-reduced-motion: no-preference) {
  .avatar { animation: avatar-float 5s ease-in-out infinite; }
  @keyframes avatar-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-7px); }
  }
}

/* ---- Depoimentos em carrossel contínuo ---- */
.testimonial-marquee {
  overflow: hidden; padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.testimonial-track .testimonial-card:hover {
  box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 13%, transparent);
  border-color: var(--accent);
}
.testimonial-track { display: flex; width: max-content; }
.testimonial-track .testimonial-card {
  width: 360px; flex-shrink: 0; margin-right: 20px;
  display: flex; flex-direction: column;
}
.testimonial-track .testimonial-card p { flex: 1; }
@media (prefers-reduced-motion: no-preference) {
  .testimonial-track { animation: t-scroll 46s linear infinite; }
  .testimonial-marquee:hover .testimonial-track,
  .testimonial-marquee:focus-within .testimonial-track { animation-play-state: paused; }
  @keyframes t-scroll { to { transform: translateX(-50%); } }
}

/* ---- FAQ ---- */
.faq-item { transition: background 0.2s ease; }
.faq-item:hover { background: color-mix(in srgb, var(--accent) 6%, var(--bg-card)); }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] p { animation: faq-in 0.3s ease; }
  @keyframes faq-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: none; }
  }
}

/* ---- Brilho de ambiente nas seções alternadas ---- */
.section-alt { position: relative; }
.section-alt > .container { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .section-alt::after {
    content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
    top: -180px; right: -160px; pointer-events: none; z-index: 0;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%);
    animation: glow-drift 16s ease-in-out infinite alternate;
  }
  @keyframes glow-drift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(-70px, 50px) scale(1.18); }
  }
}

/* ---- Plano em destaque: brilho suave ---- */
.plan-featured { border-color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .plan-featured { animation: plan-glow 3.6s ease-in-out infinite; }
  @keyframes plan-glow {
    0%, 100% { box-shadow: 0 0 0 0 transparent; }
    50%      { box-shadow: 0 0 30px color-mix(in srgb, var(--accent) 16%, transparent); }
  }
}

/* ---- Gradiente vivo no CTA final ---- */
@media (prefers-reduced-motion: no-preference) {
  .final-cta {
    background: linear-gradient(135deg, var(--accent-soft), var(--bg-card), var(--accent-soft));
    background-size: 220% 220%;
    animation: cta-shift 9s ease infinite;
  }
  @keyframes cta-shift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
  }
}

/* ---- Responsivo ---- */
@media (max-width: 960px) {
  .services-bento { grid-template-columns: repeat(2, 1fr); }
  .service-card-lg { grid-column: span 2; grid-row: auto; }
  .service-card-wide { grid-column: span 2; }
}
@media (max-width: 780px) {
  .section-alt::after { width: 320px; height: 320px; top: -140px; right: -120px; }
  .hero-copy { position: relative; z-index: 2; }
  .hero-gridfx { display: none; }
  .hero-aurora { opacity: 0.4; }
  .testimonial-track .testimonial-card { width: 280px; }
}
@media (max-width: 560px) {
  .services-bento { grid-template-columns: 1fr; }
  .service-card-lg, .service-card-wide { grid-column: auto; }
  .service-card-wide { flex-direction: column; align-items: flex-start; gap: 16px; }
  .service-wide-cta { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
  .brands-track, .testimonial-track { animation: none; }
  .testimonial-marquee { overflow-x: auto; }
}
