/* ===========================================================
   ALK Support — alksupport.com.br
   =========================================================== */

:root {
  --primary: #c00;
  --primary-dark: #900;
  --accent: #f44;
  --background: #060608;
  --surface: #0d0d12;
  --surface-2: #14141b;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f2f2f5;
  --text-muted: #9b9ba6;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;

  /* Proporção áurea (φ = 1.618) — escala tipográfica */
  --fs-1: 1rem;        /* base */
  --fs-2: 1.618rem;    /* base × φ */
  --fs-3: 2.618rem;    /* base × φ² */
  --fs-4: 4.236rem;    /* base × φ³ */

  /* Sequência de Fibonacci — espaçamentos (px) */
  --sp-1: 8px;
  --sp-2: 13px;
  --sp-3: 21px;
  --sp-4: 34px;
  --sp-5: 55px;
  --sp-6: 89px;
  --sp-7: 144px;

  --radius: 13px; /* Fibonacci */
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

.grad {
  background: linear-gradient(100deg, var(--accent), var(--primary), #ff6b6b, var(--accent));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: grad-shift 6s ease-in-out infinite;
}

@keyframes grad-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay em cascata para os cards — tempos de Fibonacci */
.reveal-d1 { transition-delay: 0.05s; }
.reveal-d2 { transition-delay: 0.08s; }
.reveal-d3 { transition-delay: 0.13s; }
.reveal-d4 { transition-delay: 0.21s; }
.reveal-d5 { transition-delay: 0.34s; }
.reveal-d6 { transition-delay: 0.55s; }

.kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(120deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 28px rgba(204, 0, 0, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(204, 0, 0, 0.5); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.4rem; font-size: 1.05rem; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 6, 8, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.8rem;
}

.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand-logo { width: 42px; height: 42px; border-radius: 10px; object-fit: contain; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.brand-name strong { font-weight: 800; color: var(--accent); }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav > a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav > a:not(.btn):hover { color: var(--text); }
.btn-nav { margin-left: 0.4rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--sp-7) 0 var(--sp-6); /* 144px / 89px — Fibonacci */
  text-align: center;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 320px at 50% -5%, rgba(204, 0, 0, 0.28), transparent 70%),
    radial-gradient(500px 300px at 85% 110%, rgba(204, 0, 0, 0.12), transparent 70%);
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.08); }
}

.hero-inner { position: relative; }

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(244, 68, 68, 0.35);
  background: rgba(204, 0, 0, 0.08);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.badge::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%   { left: -100%; }
  100% { left: 200%; }
}

.hero h1 {
  font-size: clamp(var(--fs-3), 6vw, var(--fs-4)); /* φ² → φ³ */
  font-weight: 900;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin-inline: auto;
  animation: hero-fade-up 0.9s cubic-bezier(.22,1,.36,1) both;
}

.hero-sub {
  animation: hero-fade-up 0.9s 0.15s cubic-bezier(.22,1,.36,1) both;
}

.hero-cta {
  animation: hero-fade-up 0.9s 0.3s cubic-bezier(.22,1,.36,1) both;
}

.stats {
  animation: hero-fade-up 0.9s 0.45s cubic-bezier(.22,1,.36,1) both;
}

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  max-width: 56ch;
  margin: 1.4rem auto 2.2rem;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.hero-cta { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

.stats {
  display: flex;
  justify-content: center;
  gap: clamp(var(--sp-4), 7vw, var(--sp-6)); /* 34 → 89px */
  margin-top: var(--sp-5); /* 55px */
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(var(--fs-2), 4vw, var(--fs-3)); /* φ → φ² */
  font-weight: 800;
  background: linear-gradient(120deg, #ff6b6b, var(--accent), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 13px rgba(204, 0, 0, 0.5));
}
.stat span { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Seções ---------- */
.section { padding: var(--sp-6) 0; } /* 89px — Fibonacci */
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto var(--sp-5); } /* 55px */
.section-head h2 { font-size: clamp(var(--fs-2), 4.5vw, var(--fs-3)); font-weight: 800; } /* φ → φ² */
.section-head p { color: var(--text-muted); margin-top: 0.9rem; }

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  max-width: none;
}

/* ---------- Cards de serviços ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-3); /* 21px */
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-4); /* 34px */
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), border-color 0.3s, box-shadow 0.35s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(244, 68, 68, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(244, 68, 68, 0.4);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(244, 68, 68, 0.1);
}

.card-icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(204, 0, 0, 0.12);
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 26px; height: 26px; }

.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.card p { font-size: 0.92rem; color: var(--text-muted); }

/* ---------- Produtos próprios ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
  margin-top: 2.5rem;
}

.product {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  background: linear-gradient(140deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  transition: transform 0.25s, border-color 0.25s;
}
.product:hover { transform: translateY(-4px); border-color: rgba(244, 68, 68, 0.45); }
.product img { width: 72px; height: 72px; object-fit: contain; flex-shrink: 0; }
.product h3 { font-size: 1.15rem; font-weight: 800; }
.product p { font-size: 0.9rem; color: var(--text-muted); margin: 0.2rem 0 0.5rem; }

.product-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}

/* ---------- Clientes ---------- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.client {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
  display: grid;
  place-items: center;
  min-height: 110px;
  transition: border-color 0.25s, transform 0.25s;
}
.client:hover { border-color: rgba(244, 68, 68, 0.35); transform: translateY(-3px); }
.client img {
  max-height: 64px;
  object-fit: contain;
  filter: grayscale(35%);
  opacity: 0.85;
  transition: filter 0.25s, opacity 0.25s;
}
.client:hover img { filter: none; opacity: 1; }

/* ---------- Sobre ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.618fr 1fr; /* proporção áurea */
  gap: var(--sp-5); /* 55px */
  align-items: start;
}

.about-text h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 1rem; }
.about-text > p { color: var(--text-muted); }

.features { list-style: none; margin-top: 2rem; display: grid; gap: 1.4rem; }
.features li {
  border-left: 3px solid var(--primary);
  padding-left: 1.2rem;
}
.features h3 { font-size: 1.05rem; font-weight: 700; }
.features p { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.25rem; }

.about-stats { display: grid; gap: 1.2rem; }
.about-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.about-stat strong {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
}
.about-stat h3 { font-size: 1.02rem; font-weight: 700; margin-top: 0.3rem; }
.about-stat p { font-size: 0.88rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ---------- Últimos artigos (blog) ---------- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.4rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.post-card:hover {
  transform: translateY(-5px);
  border-color: rgba(244, 68, 68, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.post-thumb {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #1a1a22, #101016);
}
.post-thumb-fallback {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background:
    radial-gradient(300px 160px at 50% 0%, rgba(204, 0, 0, 0.25), transparent 70%),
    linear-gradient(135deg, #1a1a22, #101016);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
}

.post-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.post-date {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.post-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-readmore { margin-top: auto; padding-top: 0.6rem; font-size: 0.85rem; font-weight: 700; color: var(--accent); }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item[open] { border-color: rgba(244, 68, 68, 0.4); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 3rem 1.15rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent);
  transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-answer { padding: 0 1.4rem 1.3rem; }
.faq-answer p { font-size: 0.93rem; color: var(--text-muted); }
.faq-answer a { color: var(--accent); text-decoration: underline; }

/* ---------- CTA ---------- */
.cta-section {
  background:
    radial-gradient(700px 340px at 50% 120%, rgba(204, 0, 0, 0.3), transparent 70%),
    var(--surface);
  border-block: 1px solid var(--border);
  text-align: center;
}
.cta-inner h2 { font-size: clamp(var(--fs-3), 5vw, var(--fs-4)); font-weight: 900; } /* φ² → φ³ */
.cta-inner p { color: var(--text-muted); margin: 1rem 0 2rem; }

/* ---------- Contato ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.contact-card:hover { transform: translateY(-5px); border-color: rgba(244, 68, 68, 0.45); }
.contact-card h3 { font-size: 1.05rem; font-weight: 700; }
.contact-card p { font-size: 0.9rem; color: var(--text-muted); word-break: break-word; }
.contact-card .product-link { margin-top: 0.5rem; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: #050507;
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr 1.2fr;
  gap: 2.2rem;
  padding-bottom: 3rem;
}

.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.9rem; }

.footer-social { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.footer-social a {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s;
}
.footer-social a:hover { color: var(--accent); border-color: rgba(244, 68, 68, 0.45); }
.footer-social svg { width: 18px; height: 18px; }

.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.footer-col a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 1.4rem;
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }

/* ===========================================================
   Efeitos 3D & interações
   =========================================================== */

/* ---------- Barra de progresso de rolagem ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  z-index: 300;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 0 12px rgba(244, 68, 68, 0.55);
  pointer-events: none;
}

/* ---------- Header ao rolar ---------- */
.header { transition: background 0.3s, box-shadow 0.3s; }
.header.scrolled {
  background: rgba(6, 6, 8, 0.96);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
}

/* ---------- Canvas de partículas (hero) ---------- */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---------- Formas 3D flutuantes (hero) ---------- */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  perspective: 900px;
  overflow: hidden;
}

.shape-ring {
  position: absolute;
  border: 1px solid rgba(244, 68, 68, 0.28);
  border-radius: 50%;
  transform-style: preserve-3d;
  animation: ring-spin 16s linear infinite;
}
.shape-ring::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(204, 0, 0, 0.22);
  border-radius: 50%;
}
.shape-ring.r1 { width: 240px; height: 240px; top: 10%; left: 4%; }
.shape-ring.r2 { width: 150px; height: 150px; bottom: 8%; right: 6%; animation-duration: 11s; animation-direction: reverse; }

@keyframes ring-spin {
  from { transform: rotateX(62deg) rotateZ(0deg); }
  to   { transform: rotateX(62deg) rotateZ(360deg); }
}

.shape-cube {
  position: absolute;
  width: 44px; height: 44px;
  top: 22%; right: 12%;
  transform-style: preserve-3d;
  animation: cube-spin 18s linear infinite;
  opacity: 0.55;
}
.shape-cube.c2 { top: auto; bottom: 18%; left: 10%; width: 30px; height: 30px; animation-duration: 13s; animation-direction: reverse; }
.shape-cube i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(244, 68, 68, 0.45);
  background: rgba(204, 0, 0, 0.06);
}
.shape-cube i:nth-child(1) { transform: translateZ(22px); }
.shape-cube i:nth-child(2) { transform: rotateY(180deg) translateZ(22px); }
.shape-cube i:nth-child(3) { transform: rotateY(90deg) translateZ(22px); }
.shape-cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(22px); }
.shape-cube i:nth-child(5) { transform: rotateX(90deg) translateZ(22px); }
.shape-cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(22px); }
.shape-cube.c2 i:nth-child(1) { transform: translateZ(15px); }
.shape-cube.c2 i:nth-child(2) { transform: rotateY(180deg) translateZ(15px); }
.shape-cube.c2 i:nth-child(3) { transform: rotateY(90deg) translateZ(15px); }
.shape-cube.c2 i:nth-child(4) { transform: rotateY(-90deg) translateZ(15px); }
.shape-cube.c2 i:nth-child(5) { transform: rotateX(90deg) translateZ(15px); }
.shape-cube.c2 i:nth-child(6) { transform: rotateX(-90deg) translateZ(15px); }

@keyframes cube-spin {
  from { transform: rotateX(0deg) rotateY(0deg); }
  to   { transform: rotateX(360deg) rotateY(360deg); }
}

/* ---------- Tilt 3D nos cards ---------- */
.tilt-wrap { perspective: 800px; }
.tilt {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), border-color 0.3s, box-shadow 0.35s;
}
.tilt.tilting { transition: border-color 0.3s, box-shadow 0.35s; }
.tilt .card-icon,
.tilt > h3,
.tilt img { transform: translateZ(26px); }
.tilt .product-link { transform: translateZ(18px); display: inline-block; }

/* Brilho que segue o mouse (glare) */
.tilt::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.06), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.tilt:hover::after { opacity: 1; }

/* ---------- Pulso chamativo nos CTAs principais ---------- */
.hero-cta .btn-primary,
.cta-inner .btn-primary {
  animation: cta-pulse 2.8s ease-out infinite;
}
@keyframes cta-pulse {
  0%   { box-shadow: 0 8px 28px rgba(204, 0, 0, 0.35), 0 0 0 0 rgba(244, 68, 68, 0.55); }
  70%  { box-shadow: 0 8px 28px rgba(204, 0, 0, 0.35), 0 0 0 21px rgba(244, 68, 68, 0); }
  100% { box-shadow: 0 8px 28px rgba(204, 0, 0, 0.35), 0 0 0 0 rgba(244, 68, 68, 0); }
}

/* ---------- Cursor personalizado ---------- */
.has-custom-cursor, .has-custom-cursor * { cursor: none !important; }

.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(244, 68, 68, 0.9);
  z-index: 1000;
  pointer-events: none;
}

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  border: 1.5px solid rgba(244, 68, 68, 0.5);
  z-index: 999;
  pointer-events: none;
  transition: width 0.25s, height 0.25s, margin 0.25s, border-color 0.25s, background 0.25s, opacity 0.25s;
}

.cursor-hover .cursor-ring {
  width: 58px; height: 58px;
  margin: -29px 0 0 -29px;
  border-color: rgba(244, 68, 68, 0.95);
  background: rgba(244, 68, 68, 0.07);
}

.cursor-down .cursor-ring {
  width: 26px; height: 26px;
  margin: -13px 0 0 -13px;
  border-color: #fff;
}

/* ---------- Esteira infinita de clientes ---------- */
.clients-marquee {
  display: grid;
  gap: 1rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-row { overflow: hidden; }

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-slide 38s linear infinite;
}
.marquee-row.reverse .marquee-track { animation-direction: reverse; animation-duration: 46s; }
.marquee-row:hover .marquee-track { animation-play-state: paused; }

.marquee-track .client {
  width: 190px;
  min-height: 110px;
  flex-shrink: 0;
  margin-right: 1rem;
}

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

/* ---------- Títulos com animação palavra a palavra ---------- */
h2.split .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em) rotateX(40deg);
  transform-origin: 50% 100%;
  transition: opacity 0.6s cubic-bezier(.22,1,.36,1), transform 0.6s cubic-bezier(.22,1,.36,1);
}
h2.split.in .w { opacity: 1; transform: none; }

/* ---------- Voltar ao topo (anel de progresso) ---------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 96px;
  z-index: 90;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(13, 13, 18, 0.9);
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.to-top .tt-ring {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.5;
  stroke-linecap: round;
}
.to-top span { position: relative; line-height: 1; }
.to-top:hover { color: #fff; }

/* ---------- FAQ com abertura suave ---------- */
.faq-answer {
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(.22,1,.36,1);
}

/* ---------- Aurora animada no CTA ---------- */
.cta-section {
  position: relative;
  overflow: hidden;
  clip-path: inset(0);
  -webkit-clip-path: inset(0);
  isolation: isolate;
}
.cta-section::before,
.cta-section::after {
  content: '';
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
}
.cta-section::before {
  background: radial-gradient(circle, rgba(204, 0, 0, 0.55), transparent 65%);
  top: -220px; left: -120px;
  animation: aurora-a 11s ease-in-out infinite alternate;
}
.cta-section::after {
  background: radial-gradient(circle, rgba(255, 107, 107, 0.35), transparent 65%);
  bottom: -240px; right: -140px;
  animation: aurora-b 13s ease-in-out infinite alternate;
}
.cta-inner { position: relative; z-index: 1; }

@keyframes aurora-a {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(140px, 60px) scale(1.25); }
}
@keyframes aurora-b {
  from { transform: translate(0, 0) scale(1.2); }
  to   { transform: translate(-120px, -70px) scale(0.95); }
}

/* ---------- Indicador de rolagem no hero ---------- */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(244, 68, 68, 0.45);
  border-radius: 14px;
  pointer-events: none;
}
.scroll-hint::before {
  content: '';
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--accent);
  animation: hint-drop 1.8s ease-in-out infinite;
}
@keyframes hint-drop {
  0%   { transform: translateY(0);    opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 0; }
}

/* ---------- Acessibilidade: sem movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-canvas, .hero-shapes, .scroll-hint, .cursor-dot, .cursor-ring { display: none; }
  h2.split .w { opacity: 1; transform: none; }
}

@media (max-width: 760px) {
  .to-top { right: 18px; bottom: 90px; width: 44px; height: 44px; }
  .scroll-hint { display: none; }
}

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s;
  animation: whats-bounce 2s ease-in-out infinite;
}
.whats-float:hover { transform: scale(1.12); animation: none; }
.whats-float svg { width: 30px; height: 30px; }

.whats-float::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: whats-ring 2s ease-out infinite;
}

@keyframes whats-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes whats-ring {
  0%   { transform: scale(1);   opacity: 0.6; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ---------- Banner de cookies (LGPD/GDPR) ---------- */
.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 200;
  padding: 1rem;
  display: flex;
  justify-content: center;
  animation: cookie-in 0.35s ease;
}

@keyframes cookie-in {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-box {
  width: min(680px, 100%);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
  padding: 1.4rem 1.6rem;
}

.cookie-box h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.5rem; }
.cookie-box p { font-size: 0.85rem; color: var(--text-muted); }
.cookie-box a { color: var(--accent); text-decoration: underline; }

.cookie-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* ---------- Páginas legais ---------- */
.legal-main { padding: 4rem 0 5rem; }
.legal-main .container { max-width: 820px; }

.legal-main h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); font-weight: 800; margin-bottom: 0.4rem; }
.legal-updated { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2.2rem; }

.legal-main h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 2.2rem 0 0.7rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}
.legal-main h3 { font-size: 1.05rem; font-weight: 700; margin: 1.4rem 0 0.4rem; }
.legal-main p, .legal-main li { color: var(--text-muted); font-size: 0.95rem; }
.legal-main p { margin-bottom: 0.8rem; }
.legal-main ul, .legal-main ol { padding-left: 1.4rem; margin-bottom: 0.9rem; display: grid; gap: 0.35rem; }
.legal-main a { color: var(--accent); }
.legal-main strong { color: var(--text); }

.legal-main table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 0.8rem 0 1rem;
}
.legal-main th, .legal-main td {
  text-align: left;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}
.legal-main th { color: var(--text); background: var(--surface-2); font-family: var(--font-display); }

/* ---------- Responsivo ---------- */
@media (max-width: 920px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    inset: 59px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(6, 6, 8, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 4%;
    display: none;
  }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 0.9rem 0.4rem; border-bottom: 1px solid var(--border); }
  .btn-nav { margin: 0.9rem 0.4rem; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: var(--sp-6) 0 var(--sp-5); } /* 89px / 55px */
  .section { padding: var(--sp-5) 0; }          /* 55px */
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  padding: 1.5rem 0 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.breadcrumbs a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.breadcrumbs a:hover {
  color: var(--accent);
}
.breadcrumbs span {
  margin-inline: 0.5rem;
  opacity: 0.5;
}

/* ---------- Formulário de Contato ---------- */
.contact-form-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 5rem 0;
}
.contact-form-wrap {
  max-width: 600px;
  margin: 0 auto;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}
.form-control {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(244, 68, 68, 0.15);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ---------- Testimonials / Depoimentos ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.testimonial-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  transition: transform 0.25s, border-color 0.25s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 68, 68, 0.35);
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}
.testimonial-info h4 {
  font-size: 1rem;
  font-weight: 700;
}
.testimonial-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

