/* ============================================================
   VIGABYTES INFORMÁTICA — Design System v2
   Mobile-first · vanilla CSS · sem dependências externas
   ============================================================ */

/* ---------- Fontes (self-hosted) ---------- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  /* Verde da marca */
  --g-300: #8ee27e;
  --g-350: #73cf60;
  --g-400: #2ecc2e;
  --g-500: #14a014;
  --g-600: #0d800d;
  --g-700: #0a5c0a;

  /* Neutros */
  --ink: #10180f;
  --dark: #071009;
  --dark-2: #0a1610;
  --bg: #f2f8f0;
  --surface: #ffffff;
  --text: #1c261d;
  --muted: #54655a;
  --line: rgba(16, 24, 15, 0.09);

  /* Sobre fundo escuro */
  --d-text: #ecf5ec;
  --d-muted: #a6bcab;
  --d-line: rgba(236, 245, 236, 0.1);

  --font: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-card: 0 24px 48px -24px rgba(10, 60, 20, 0.18);
  --shadow-glow: 0 12px 36px -10px rgba(20, 160, 20, 0.55);

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: clip;
}

img, svg, iframe { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
address { font-style: normal; }
strong { font-weight: 600; }

::selection { background: var(--g-500); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0d130e; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--g-350), var(--g-600));
  border-radius: 8px;
  border: 2px solid #0d130e;
}

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

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 3000;
  background: var(--dark);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  transition: top 0.2s;
}
.skip-link:focus-visible { top: 12px; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* ---------- Barra de progresso da rolagem ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 2100;
  background: linear-gradient(90deg, var(--g-350), var(--g-500), var(--g-300));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.25s, border-color 0.25s;
  will-change: transform;
  overflow: hidden;
}
.btn:active { transform: scale(0.97); }
.btn img { width: 20px; height: 20px; }

.btn-primary {
  background: linear-gradient(135deg, var(--g-400), var(--g-600));
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary::after {
  /* brilho que atravessa o botão */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.7s var(--ease-out);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -10px rgba(20, 160, 20, 0.65); }
.btn-primary:hover::after { transform: translateX(110%); }

.btn-ghost {
  border: 1px solid rgba(236, 245, 236, 0.28);
  color: var(--d-text);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--g-350); background: rgba(115, 207, 96, 0.1); transform: translateY(-3px); }

.btn-ghost-dark {
  border: 1.5px solid rgba(16, 24, 15, 0.18);
  color: var(--text);
  background: transparent;
}
.btn-ghost-dark:hover { border-color: var(--g-500); color: var(--g-600); transform: translateY(-3px); }

.btn-white {
  background: #fff;
  color: var(--g-700);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.35);
}
.btn-white:hover { transform: translateY(-3px) scale(1.02); }

.btn-sm { padding: 10px 20px; font-size: 0.92rem; }

/* ============================================================
   HEADER — navbar "pílula" flutuante
   ============================================================ */
.header {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 1001;
  pointer-events: none; /* só a pílula recebe clique */
}

.navbar {
  pointer-events: auto;
  width: min(1180px, calc(100% - 24px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 14px 10px 18px;
  border-radius: 999px;
  background: rgba(7, 16, 9, 0.55);
  border: 1px solid rgba(236, 245, 236, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.header.rolagem .navbar {
  background: rgba(7, 16, 9, 0.82);
  box-shadow: 0 14px 40px -18px rgba(0, 0, 0, 0.6);
  border-color: rgba(236, 245, 236, 0.14);
}
@supports not (backdrop-filter: blur(1px)) {
  .navbar { background: rgba(7, 16, 9, 0.94); }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--d-text);
}
.brand-badge {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--g-400), var(--g-600));
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
  box-shadow: 0 6px 18px -6px rgba(20, 160, 20, 0.7);
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
}
.brand-name em {
  font-style: normal;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--g-300);
}

.nav-list { display: none; }
.nav-cta { display: none; }

/* Hambúrguer */
.mobile-menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  transition: background-color 0.25s;
}
.mobile-menu-icon:hover { background: rgba(255, 255, 255, 0.08); }
.mobile-menu-icon .linha {
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--d-text);
  transition: transform 0.3s var(--ease-out), opacity 0.25s, width 0.3s;
}
.mobile-menu-icon.open .linha1 { transform: translateY(7px) rotate(45deg); }
.mobile-menu-icon.open .linha2 { opacity: 0; width: 0; }
.mobile-menu-icon.open .linha3 { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile em tela cheia */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 8% 48px;
  background:
    radial-gradient(70vmax 70vmax at 85% -10%, rgba(20, 160, 20, 0.22), transparent 60%),
    radial-gradient(60vmax 60vmax at -10% 110%, rgba(115, 207, 96, 0.12), transparent 60%),
    rgba(7, 16, 9, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}
.mobile-menu.active { opacity: 1; visibility: visible; }

.mobile-nav-list { display: flex; flex-direction: column; gap: 6px; }
.mobile-nav-list .nav-item a {
  display: inline-block;
  padding: 8px 0;
  font-size: clamp(1.7rem, 6.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--d-text);
  transition: color 0.25s, transform 0.3s var(--ease-out);
}
.mobile-nav-list .nav-item a:hover { color: var(--g-300); transform: translateX(8px); }
.mobile-nav-list .nav-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.mobile-menu.active .nav-item { opacity: 1; transform: none; }
.mobile-menu.active .nav-item:nth-child(1) { transition-delay: 0.07s; }
.mobile-menu.active .nav-item:nth-child(2) { transition-delay: 0.12s; }
.mobile-menu.active .nav-item:nth-child(3) { transition-delay: 0.17s; }
.mobile-menu.active .nav-item:nth-child(4) { transition-delay: 0.22s; }
.mobile-menu.active .nav-item:nth-child(5) { transition-delay: 0.27s; }
.mobile-menu.active .nav-item:nth-child(6) { transition-delay: 0.32s; }

.mobile-menu-extra {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s var(--ease-out) 0.38s, transform 0.45s var(--ease-out) 0.38s;
}
.mobile-menu.active .mobile-menu-extra { opacity: 1; transform: none; }

.mobile-menu-overlay { display: none; }

/* Desktop nav */
@media (min-width: 1024px) {
  .mobile-menu, .mobile-menu-icon { display: none; }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .nav-list .nav-link {
    position: relative;
    display: inline-block;
    padding: 9px 14px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--d-muted);
    border-radius: 999px;
    transition: color 0.25s, background-color 0.25s;
  }
  .nav-list .nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
  .nav-list .nav-item.active .nav-link { color: #fff; }
  .nav-list .nav-item.active .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: var(--g-350);
    transform: translateX(-50%);
  }

  .nav-cta { display: inline-flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 110px;
  background: var(--dark);
  color: var(--d-text);
  overflow: clip;
}

/* Aurora: blobs em radial-gradient (baratos, sem blur) */
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.blob-1 {
  width: 72vmax; height: 72vmax;
  left: -22vmax; top: -30vmax;
  background: radial-gradient(closest-side, rgba(20, 160, 20, 0.55), transparent 70%);
  animation: drift-1 26s ease-in-out infinite alternate;
}
.blob-2 {
  width: 56vmax; height: 56vmax;
  right: -18vmax; top: -6vmax;
  background: radial-gradient(closest-side, rgba(115, 207, 96, 0.32), transparent 70%);
  animation: drift-2 22s ease-in-out infinite alternate;
}
.blob-3 {
  width: 60vmax; height: 60vmax;
  left: 28%; bottom: -42vmax;
  background: radial-gradient(closest-side, rgba(13, 128, 13, 0.4), transparent 70%);
  animation: drift-3 30s ease-in-out infinite alternate;
}
@keyframes drift-1 { to { transform: translate(9vmax, 7vmax) scale(1.12); } }
@keyframes drift-2 { to { transform: translate(-7vmax, 9vmax) scale(0.94); } }
@keyframes drift-3 { to { transform: translate(-9vmax, -7vmax) scale(1.08); } }

/* grade de pontos + fade */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(142, 226, 126, 0.16) 1px, transparent 1.6px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(115% 90% at 50% 0%, #000 35%, transparent 78%);
  mask-image: radial-gradient(115% 90% at 50% 0%, #000 35%, transparent 78%);
}

/* ruído sutil premium */
.grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 56px;
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(142, 226, 126, 0.25);
  background: rgba(20, 160, 20, 0.1);
  color: var(--g-300);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.chip .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--g-350);
  box-shadow: 0 0 0 0 rgba(115, 207, 96, 0.6);
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(115, 207, 96, 0.55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(115, 207, 96, 0); }
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(2.45rem, 8.6vw, 4.35rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.grad {
  background: linear-gradient(92deg, var(--g-300), var(--g-400) 55%, var(--g-350));
  background-size: 180% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 7s linear infinite alternate;
}
@keyframes shine { to { background-position: 100% center; } }

/* animação palavra a palavra (spans criados pelo JS) */
h1.split .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.65em) rotate(2deg);
  animation: word-up 0.75s var(--ease-out) forwards;
  animation-delay: var(--wd, 0s);
}
@keyframes word-up { to { opacity: 1; transform: none; } }

/* Com o título dividido em palavras, o gradiente precisa ser aplicado em cada
   palavra (background-clip: text não atravessa filhos transformados). */
h1.split .grad { background: none; color: inherit; animation: none; }
h1.split .grad .w {
  background: linear-gradient(92deg, var(--g-300), var(--g-400) 55%, var(--g-350));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 34rem;
  font-size: clamp(1.02rem, 2.6vw, 1.18rem);
  color: var(--d-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 30px;
}
.hero-ticks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--d-muted);
}
.hero-ticks .tick {
  display: grid;
  place-items: center;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: rgba(20, 160, 20, 0.18);
  color: var(--g-300);
  font-size: 0.72rem;
  font-weight: 700;
}
.hero-ticks .tick-star {
  background: rgba(245, 179, 1, 0.2);
  color: #f5b301;
}

/* entrada em cascata no carregamento */
.hero .chip, .hero-sub, .hero-actions, .hero-ticks {
  opacity: 0;
  transform: translateY(26px);
  animation: rise 0.85s var(--ease-out) forwards;
}
.hero .chip { animation-delay: 0.05s; }
.hero-sub { animation-delay: 0.55s; }
.hero-actions { animation-delay: 0.7s; }
.hero-ticks { animation-delay: 0.85s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Visual orbital ---------- */
.hero-visual {
  position: relative;
  display: none;
  aspect-ratio: 1;
  max-width: 500px;
  width: 100%;
  justify-self: center;
  animation: rise 1s var(--ease-out) 0.5s both;
}
.orbit-ring {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(142, 226, 126, 0.22);
  border-radius: 50%;
  animation: spin 46s linear infinite;
}
.orbit-ring.r2 {
  inset: 15%;
  border-color: rgba(142, 226, 126, 0.3);
  animation: spin 32s linear infinite reverse;
}
.orbit-ring .sat {
  position: absolute;
  top: -5px; left: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--g-350);
  box-shadow: 0 0 14px 2px rgba(115, 207, 96, 0.7);
}
@keyframes spin { to { transform: rotate(360deg); } }

.orbit-core {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 150px; height: 150px;
  display: grid;
  place-items: center;
  border-radius: 42px;
  background: linear-gradient(140deg, var(--g-400), var(--g-700));
  color: #fff;
  font-size: 2.9rem;
  letter-spacing: -0.03em;
  font-weight: 700;
  box-shadow:
    0 24px 70px -18px rgba(20, 160, 20, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  animation: core-float 7s ease-in-out infinite;
}
@keyframes core-float {
  0%, 100% { transform: translateY(-8px) rotate(-3deg); }
  50% { transform: translateY(8px) rotate(3deg); }
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 16px;
  background: rgba(12, 24, 14, 0.6);
  border: 1px solid rgba(142, 226, 126, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--d-text);
  will-change: transform;
  animation: chip-float var(--fs, 7s) ease-in-out var(--fd, 0s) infinite alternate;
}
.float-chip img { width: 26px; height: 26px; }
.float-chip small { display: block; font-weight: 400; font-size: 0.72rem; color: var(--d-muted); }
@keyframes chip-float { from { translate: 0 -7px; } to { translate: 0 9px; } }

.fc-1 { top: 7%; left: -4%; }
.fc-2 { top: 16%; right: -7%; }
.fc-3 { bottom: 17%; left: -9%; }
.fc-4 { bottom: 5%; right: -2%; }

@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.06fr 0.94fr; }
  .hero-visual { display: block; }
}

/* indicador de rolagem */
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--d-muted);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0;
  animation: rise 1s var(--ease-out) 1.4s forwards;
  transition: opacity 0.4s;
}
.hero-scroll-cue.hide { opacity: 0 !important; }
.mouse {
  width: 24px; height: 38px;
  border: 1.5px solid rgba(166, 188, 171, 0.55);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.mouse span {
  width: 3px; height: 8px;
  border-radius: 3px;
  background: var(--g-350);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(11px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* “saída” do hero conduzida pela rolagem (Chrome/Edge; demais ignoram) */
@supports (animation-timeline: scroll()) {
  .hero-inner {
    animation: hero-exit linear both;
    animation-timeline: scroll(root);
    animation-range: 0 100vh;
  }
  @keyframes hero-exit {
    to { opacity: 0.1; transform: translateY(-72px) scale(0.96); }
  }
}

/* ============================================================
   SEÇÕES — base
   ============================================================ */
.section { padding-block: clamp(76px, 11vw, 130px); }

.section-head {
  max-width: 620px;
  margin: 0 auto clamp(40px, 7vw, 64px);
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--g-600);
}
.eyebrow::before, .eyebrow::after {
  content: '';
  width: 22px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--g-500));
}
.eyebrow::after { background: linear-gradient(90deg, var(--g-500), transparent); }

.section-head h2, .about h2 {
  margin-top: 14px;
  font-size: clamp(1.9rem, 5.4vw, 2.9rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}
.section-head .lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Reveal on scroll (ativado pelo JS) */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="zoom"] { transform: scale(0.92); }
[data-reveal].revealed { opacity: 1; transform: none; }

/* ============================================================
   STATS — cartões sobrepondo o hero
   ============================================================ */
.stats { position: relative; z-index: 2; margin-top: -64px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.stat {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.stat-num {
  font-size: clamp(1.9rem, 5.5vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(120deg, var(--g-500), var(--g-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--muted);
}
.stat-label .stars {
  color: #f5b301;
  letter-spacing: 1px;
}
@media (min-width: 760px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .stat { padding: 28px 20px; }
}

/* ============================================================
   SERVIÇOS
   ============================================================ */
.services-grid {
  display: grid;
  gap: 18px;
}
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  /* inclui opacity para não sobrescrever a transição do reveal */
  transition: opacity 0.8s var(--ease-out), transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.3s;
  transform-style: preserve-3d;
  will-change: transform;
}
.service-card:hover {
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(20, 160, 20, 0.25);
  border-color: transparent;
}
/* brilho que segue o cursor (definido via --mx/--my no JS) */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(230px circle at var(--mx, 50%) var(--my, 50%), rgba(115, 207, 96, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.service-card:hover::after { opacity: 1; }

.service-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: linear-gradient(145deg, #e6f6e0, #d2eec7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: translateZ(30px);
}
.service-icon img { width: 46px; height: 46px; }

.service-card h3 {
  margin-top: 20px;
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  transform: translateZ(22px);
}
.service-card p {
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--muted);
  transform: translateZ(14px);
}
.service-card .go {
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--g-600);
  font-size: 0.95rem;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 0.35s, transform 0.35s var(--ease-out);
}
.service-card:hover .go { opacity: 1; transform: none; }

.services-more {
  margin-top: 34px;
  text-align: center;
  color: var(--muted);
}
.services-more a {
  color: var(--g-600);
  font-weight: 600;
  border-bottom: 2px solid rgba(20, 160, 20, 0.35);
  transition: border-color 0.25s, color 0.25s;
}
.services-more a:hover { color: var(--g-500); border-color: var(--g-500); }

@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

/* ============================================================
   COMO FUNCIONA
   ============================================================ */
.steps { position: relative; }
.steps-grid {
  display: grid;
  gap: 40px;
  counter-reset: passo;
}
.step { position: relative; padding-left: 74px; }
.step-num {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 18px;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--g-600);
  background: #fff;
  border: 1.5px solid rgba(20, 160, 20, 0.35);
  box-shadow: 0 12px 26px -14px rgba(20, 160, 20, 0.5);
}
.step h3 { font-size: 1.18rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.step p { margin-top: 6px; color: var(--muted); font-size: 0.97rem; }

/* linha que conecta os passos */
.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 62px;
  bottom: -34px;
  width: 2px;
  background: linear-gradient(rgba(20, 160, 20, 0.4), rgba(20, 160, 20, 0.06));
}

@media (min-width: 900px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .step { padding-left: 0; padding-top: 78px; }
  .step-num { top: 0; left: 0; }
  .step:not(:last-child)::before {
    left: 66px;
    right: -14px;
    top: 26px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, rgba(20, 160, 20, 0.4), rgba(20, 160, 20, 0.06));
  }
}

/* ============================================================
   MARCAS — marquee
   ============================================================ */
.brands { padding-block: clamp(48px, 7vw, 72px); background: #fff; border-block: 1px solid var(--line); }
.brands h2 {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 34px;
}
.marquee {
  display: flex;
  overflow: hidden;
  gap: 64px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  flex-shrink: 0;
  min-width: 100%;
  animation: marquee 30s linear infinite;
}
.marquee-track img {
  height: 44px;
  width: auto;
  filter: grayscale(1) opacity(0.65);
  transition: filter 0.35s, transform 0.35s var(--ease-out);
}
.marquee-track img:hover { filter: none; transform: scale(1.12); }
@keyframes marquee { to { transform: translateX(calc(-100% - 64px)); } }
@media (max-width: 520px) {
  .marquee, .marquee-track { gap: 40px; }
  .marquee-track img { height: 32px; }
  @keyframes marquee { to { transform: translateX(calc(-100% - 40px)); } }
}

/* ============================================================
   SOBRE — seção escura imersiva
   ============================================================ */
.about {
  position: relative;
  background:
    radial-gradient(58vmax 42vmax at 110% 8%, rgba(20, 160, 20, 0.16), transparent 65%),
    radial-gradient(52vmax 40vmax at -12% 96%, rgba(115, 207, 96, 0.1), transparent 60%),
    var(--dark-2);
  color: var(--d-text);
  overflow: clip;
}
.about .eyebrow { color: var(--g-300); }
.about h2 { color: #fff; }

.about-watermark {
  position: absolute;
  top: 44px;
  left: 0;
  font-size: clamp(4.4rem, 15vw, 11rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(142, 226, 126, 0.13);
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.about-grid {
  position: relative;
  display: grid;
  gap: 44px;
}
.about-intro .badge-open {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(20, 160, 20, 0.12);
  border: 1px solid rgba(142, 226, 126, 0.28);
  color: var(--g-300);
  font-weight: 600;
  font-size: 0.92rem;
}
.about-text p {
  color: var(--d-muted);
  font-size: clamp(1.04rem, 2.5vw, 1.16rem);
  line-height: 1.75;
}
.about-text p + p { margin-top: 22px; }
.about-text strong { color: var(--g-300); font-weight: 600; }

@media (min-width: 980px) {
  .about-grid { grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
  .about-intro { position: sticky; top: 130px; }
}

/* ============================================================
   LOCALIZAÇÃO
   ============================================================ */
.location-grid { display: grid; gap: 22px; }

.location-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 5vw, 40px);
  box-shadow: var(--shadow-card);
}
.location-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ink);
}
.location-card h3 .ico {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 11px;
  background: linear-gradient(145deg, #e6f6e0, #d2eec7);
  font-size: 1rem;
}
.location-card h3 + * { margin-top: 12px; }
.location-card address { color: var(--muted); line-height: 1.7; }
.location-block + .location-block { margin-top: 28px; }

.horario-lista li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.97rem;
}
.horario-lista li span:last-child { font-weight: 600; color: var(--ink); }
.horario-lista li.today span:last-child { color: var(--g-600); }

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.location-map {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.location-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 940px) {
  .location-grid { grid-template-columns: 0.95fr 1.05fr; gap: 26px; }
  .location-map { min-height: 460px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 780px; margin-inline: auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.faq-item[open] {
  border-color: rgba(20, 160, 20, 0.3);
  box-shadow: var(--shadow-card);
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.faq-x {
  position: relative;
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(20, 160, 20, 0.1);
  transition: transform 0.4s var(--ease-out), background-color 0.3s;
}
.faq-x::before, .faq-x::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  border-radius: 2px;
  background: var(--g-600);
  translate: -50% -50%;
}
.faq-x::after { rotate: 90deg; transition: rotate 0.4s var(--ease-out); }
.faq-item[open] .faq-x { transform: rotate(135deg); background: var(--g-500); }
.faq-item[open] .faq-x::before, .faq-item[open] .faq-x::after { background: #fff; }

.faq-body { padding: 0 22px; }
.faq-body p { padding-bottom: 20px; color: var(--muted); font-size: 0.97rem; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-band { padding-block: clamp(30px, 6vw, 60px) clamp(90px, 12vw, 140px); }
.cta-card {
  position: relative;
  border-radius: clamp(24px, 4vw, 40px);
  padding: clamp(48px, 9vw, 92px) clamp(24px, 6vw, 80px);
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--g-700), var(--g-500) 55%, #2fb52f);
  overflow: hidden;
  box-shadow: 0 40px 90px -36px rgba(13, 128, 13, 0.8);
}
.cta-card::before, .cta-card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
}
.cta-card::before { width: 340px; height: 340px; top: -160px; right: -100px; }
.cta-card::after { width: 480px; height: 480px; bottom: -280px; left: -160px; }
.cta-card h2 {
  font-size: clamp(1.85rem, 5.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
}
.cta-card p {
  margin: 16px auto 0;
  max-width: 30rem;
  color: rgba(255, 255, 255, 0.86);
}
.cta-card .btn { margin-top: 34px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: var(--d-muted);
  padding: clamp(56px, 9vw, 88px) 0 0;
  border-top: 1px solid rgba(142, 226, 126, 0.14);
}
.footer-grid {
  display: grid;
  gap: 40px;
  padding-bottom: 52px;
}
.footer .brand-name { color: var(--d-text); }
.footer-about p { margin-top: 18px; max-width: 30rem; font-size: 0.95rem; }

.footer h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--d-text);
  margin-bottom: 18px;
}
.footer-links li + li { margin-top: 10px; }
.footer-links a, .footer-contact a { transition: color 0.25s; font-size: 0.95rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--g-300); }
.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 0.95rem;
}
.footer-contact li + li { margin-top: 12px; }
.footer-contact .fi { color: var(--g-350); }

.social-row { display: flex; gap: 10px; margin-top: 22px; }
.social-row a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.25s, transform 0.3s var(--ease-out), border-color 0.25s;
}
.social-row a:hover {
  background: rgba(20, 160, 20, 0.22);
  border-color: rgba(142, 226, 126, 0.4);
  transform: translateY(-4px);
}
.social-row img { width: 20px; height: 20px; filter: invert(1) opacity(0.9); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 30px;
  border-top: 1px solid var(--d-line);
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--g-300); }
.footer-bottom a:hover { text-decoration: underline; }

@media (min-width: 860px) {
  .footer-grid { grid-template-columns: 1.3fr 0.7fr 1fr; gap: 56px; }
}

/* ============================================================
   FLUTUANTES
   ============================================================ */
#btn-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 990;
  opacity: 0;
  transform: translateY(18px) scale(0.85);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  pointer-events: none;
}
#btn-whatsapp.show { opacity: 1; transform: none; pointer-events: auto; }
#btn-whatsapp a {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--g-400), var(--g-600));
  box-shadow: var(--shadow-glow);
  transition: transform 0.3s var(--ease-out);
}
#btn-whatsapp a:hover { transform: scale(1.1) rotate(6deg); }
#btn-whatsapp img { width: 30px; height: 30px; }
#btn-whatsapp a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(46, 204, 46, 0.7);
  animation: pulse-ring 2.6s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.9; }
  80%, 100% { transform: scale(1.65); opacity: 0; }
}

/* ---------- Banner de consentimento (LGPD) ---------- */
.viga-consent {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1002;
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(10, 22, 16, 0.92);
  border: 1px solid rgba(142, 226, 126, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--d-text);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6);
  animation: consent-in 0.45s var(--ease-out);
}
@keyframes consent-in { from { opacity: 0; transform: translateY(24px); } }
.viga-consent__texto { flex: 1 1 300px; }
.viga-consent__texto strong { display: block; font-size: 1.04rem; margin-bottom: 4px; color: #fff; }
.viga-consent__texto p { font-size: 0.88rem; line-height: 1.55; color: var(--d-muted); }
.viga-consent__texto a { color: var(--g-300); font-weight: 600; text-decoration: underline; }
.viga-consent__botoes { display: flex; gap: 10px; flex: 0 0 auto; }
.viga-btn {
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease-out), background-color 0.25s, border-color 0.25s;
}
.viga-btn:hover { transform: translateY(-2px); }
.viga-btn--aceitar { background: linear-gradient(135deg, var(--g-400), var(--g-600)); color: #fff; box-shadow: var(--shadow-glow); }
.viga-btn--recusar { background: transparent; color: var(--d-text); border: 1.5px solid rgba(236, 245, 236, 0.3); }
.viga-btn--recusar:hover { border-color: rgba(236, 245, 236, 0.6); }
@media (max-width: 600px) {
  .viga-consent__botoes { width: 100%; }
  .viga-btn { flex: 1; text-align: center; }
}

.viga-consent-reabrir {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 989;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(10, 22, 16, 0.9);
  border: 1px solid rgba(142, 226, 126, 0.25);
  font-size: 1.25rem;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s var(--ease-out);
}
.viga-consent-reabrir:hover { transform: scale(1.1); }

/* ============================================================
   PÁGINA DE TEXTO (política de privacidade)
   ============================================================ */
.page-hero {
  position: relative;
  background: var(--dark);
  color: var(--d-text);
  padding: calc(var(--header-h) + 72px) 0 72px;
  overflow: clip;
}
.page-hero h1 {
  font-size: clamp(2rem, 6.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.page-hero .grad { animation: none; }
.page-hero p { margin-top: 10px; color: var(--d-muted); }

.prose {
  max-width: 760px;
  margin-inline: auto;
  padding-block: clamp(48px, 8vw, 80px);
}
.prose h2 {
  margin: 40px 0 12px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.prose p, .prose li { color: var(--muted); font-size: 1rem; }
.prose p + p { margin-top: 14px; }
.prose ul { list-style: disc; padding-left: 22px; margin: 12px 0; }
.prose a { color: var(--g-600); font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.95rem;
}
.prose th, .prose td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.prose th { background: #e8f4e3; color: var(--ink); }
.prose .voltar { margin-top: 44px; }

/* ============================================================
   ACESSIBILIDADE — reduz movimento
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero .chip, .hero-sub, .hero-actions, .hero-ticks, .hero-visual, .hero-scroll-cue { opacity: 1; transform: none; }
  h1.split .w { opacity: 1; transform: none; }
}
