/* ============================================================
   AGÊNCIA GRAPES — Design System
   ============================================================ */

:root {
  /* Marca — degradê roxo (claro > escuro), extraído da logo real */
  --purple-100: #f4e9fb;
  --purple-200: #e0bdf5;
  --purple-300: #cd8ff0;
  --purple-400: #b158e6;
  --purple-500: #9200c4;   /* roxo de marca (logo) */
  --purple-600: #7a05a4;
  --purple-700: #5c0980;
  --purple-800: #400a5c;
  --purple-900: #260938;
  --purple-950: #160521;

  --ink: #130317;
  --ink-soft: #4a3d52;
  --gray-500: #79707f;
  --gray-300: #d9d0e0;
  --gray-100: #f6f2fa;
  --white: #ffffff;

  /* Cinza > roxo escuro — usado só pra evidenciar palavras-chave */
  --glow-light: #3c0a56;
  --glow-dark: #000000;

  --grad-hero: linear-gradient(160deg, var(--purple-400) 0%, var(--purple-600) 55%, var(--purple-800) 100%);
  --grad-dark: linear-gradient(150deg, var(--purple-900) 0%, var(--ink) 100%);
  --grad-cta: linear-gradient(135deg, var(--purple-500) 0%, var(--purple-800) 100%);
  --grad-text: linear-gradient(120deg, var(--glow-light), var(--glow-dark));

  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --container: 1240px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --ease: cubic-bezier(.16,.84,.44,1);

  --shadow-soft: 0 20px 50px -20px rgba(38, 9, 56, .35);
  --shadow-lift: 0 30px 70px -25px rgba(38, 9, 56, .5);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
svg { display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
p { line-height: 1.65; color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.text-purple { color: var(--purple-500); }
.text-glow {
  color: var(--purple-800);
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  /* Safari às vezes "trava" o texto com gradiente num estado apagado depois
     da transição de opacidade do .reveal no elemento pai — isolar numa
     camada própria evita esse glitch de composição. */
  display: inline-block;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  isolation: isolate;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .text-glow { color: transparent; -webkit-text-fill-color: transparent; }
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ LOADER ============ */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.loader__mark { width: 64px; height: 64px; animation: pulse 1.1s ease-in-out infinite; }
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1;} 50% { transform: scale(.86); opacity: .6;} }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn:active { transform: scale(.96); }
.btn--lg { padding: 16px 30px; font-size: 15.5px; }

.btn--primary {
  background: var(--purple-500);
  color: var(--white);
  box-shadow: 0 12px 24px -10px rgba(146,0,196,.55);
}
.btn--primary:hover { background: var(--purple-600); box-shadow: 0 16px 30px -10px rgba(146,0,196,.65); transform: translateY(-2px); }

.btn--light {
  background: var(--white);
  color: var(--purple-600);
  box-shadow: 0 16px 34px -14px rgba(0,0,0,.35);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(0,0,0,.4); }

.btn--outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.55);
  color: var(--white);
}
.btn--outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn--ghost {
  border: 1.5px solid var(--gray-300);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--purple-500); color: var(--purple-500); }

/* ============ EYEBROW ============ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 18px;
}
.eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(255,255,255,.18); }
.eyebrow--dark { color: var(--purple-500); }
.eyebrow--dark .eyebrow__dot { box-shadow: 0 0 0 4px rgba(146,0,196,.14); }

/* ============ TOPBAR ============ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 350;
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 6px;
  padding-bottom: 10px;
}
.topbar__track {
  display: flex; align-items: center; gap: 8px; white-space: nowrap; width: max-content;
  padding-inline: 20px;
  font-family: var(--font-display); font-weight: 600; font-size: 7.5px;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--purple-700);
  animation: marquee 22s linear infinite;
}
.topbar__track span:nth-child(2n) { color: var(--purple-300); }

/* ============ HEADER ============ */
/* Tarja sempre transparente (glass escuro), logo e nav sempre brancos —
   assim funciona por cima de qualquer seção (roxa, preta ou branca). */
.header {
  position: fixed; top: 26px; left: 0; right: 0; z-index: 500;
  padding-top: 28px; padding-bottom: 16px;
  background: transparent;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .3s var(--ease), backdrop-filter .4s var(--ease);
}
.header.is-scrolled {
  background: rgba(19, 3, 23, .42);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 8px 30px -20px rgba(0,0,0,.35);
  padding-top: 15px; padding-bottom: 11px;
}
/* Enquanto o menu mobile está aberto, o header some visualmente e o
   overlay escuro do menu assume — sem tarja duplicada por cima. */
.header.menu-open {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
/* z-index alto: .mobile-menu é filho de .header (não irmão), então
   precisa ficar ABAIXO do header__inner aqui dentro, senão o burger some por baixo do menu aberto. */
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; z-index: 9001; }

.brand { display: flex; align-items: center; height: 31px; gap: 7px; }
.brand__icon { height: 86%; width: auto; object-fit: contain; }
.brand__text { height: 55%; width: auto; object-fit: contain; }

.nav { display: none; align-items: center; gap: 30px; }
.nav__link {
  font-size: 14.5px; font-weight: 500;
  position: relative;
  color: rgba(255,255,255,.9);
  transition: color .3s;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: currentColor; transition: width .3s var(--ease);
}
.nav__link:hover::after { width: 100%; }
.nav__link:hover { color: var(--purple-300); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__ig { display: none; }
.header .btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--sm { padding: 6px 13px; font-size: 11px; }

.burger {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 44px; height: 44px; border-radius: 10px;
  position: relative; z-index: 600;
  color: #fff;
}
.burger span {
  width: 22px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .35s var(--ease), opacity .3s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; top: 0;
  background: var(--grad-dark);
  padding: 110px 28px 40px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
  z-index: 9000;
  visibility: hidden;
}
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu__link {
  font-family: var(--font-display); font-size: 26px; font-weight: 600; color: #fff;
  padding-block: 14px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-menu__ig { color: var(--purple-300); font-weight: 600; margin-top: 20px; }
.mobile-menu__cta { margin-top: 24px; align-self: flex-start; }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: var(--grad-hero);
  padding-top: 152px;
  padding-bottom: 8px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__grid { position: absolute; top: -10%; right: -20%; width: 70%; opacity: .3; mix-blend-mode: overlay; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero__blob--2 { width: 360px; height: 360px; background: var(--purple-800); bottom: -160px; right: -100px; }

.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  gap: 50px;
  padding-top: 8px;
  padding-bottom: 0;
}
.hero__content { max-width: 640px; min-width: 0; }
.hero__title {
  font-size: clamp(32px, 8vw, 44px);
  color: #fff;
  margin-bottom: 20px;
  padding-right: 18px;
}
.hero__lead {
  color: rgba(255,255,255,.88);
  font-size: clamp(15.5px, 3.6vw, 17.5px);
  max-width: 520px;
  margin-bottom: 30px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }

.hero__grid-mobile {
  display: none;
  position: absolute; top: 130px; right: -22%;
  width: 420px;
  opacity: .75;
  mix-blend-mode: overlay;
  animation: spin 50s linear infinite;
}
@media (max-width: 979px) {
  .hero__grid-mobile { display: block; }
}

.hero__visual { position: relative; display: none; min-height: 420px; overflow: hidden; }
.pill {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  background: #fff; color: var(--purple-600);
  padding: 12px 20px; border-radius: 999px;
  box-shadow: var(--shadow-soft);
  display: inline-block;
}
.pill--dark { background: var(--purple-900); color: #fff; }

.marquee {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,.18);
  padding-block: 10px;
  overflow: hidden;
}
.marquee__track {
  display: flex; gap: 12px; white-space: nowrap; width: max-content;
  font-family: var(--font-display); font-weight: 600; font-size: 11.5px;
  letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
  animation: marquee 28s linear infinite;
}
.marquee__track span:nth-child(2n) { color: var(--purple-200); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ MANIFESTO ============ */
.manifesto {
  background: var(--ink);
  padding-block: 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-grid {
  position: absolute; top: -15%; right: -15%; width: 60%;
  opacity: .14; mix-blend-mode: overlay; pointer-events: none; z-index: 0;
}
/* fundos bem escuros: "overlay" quase some — "screen" clareia e deixa o grid visível */
.manifesto .section-grid,
.diferenciais .section-grid,
.lead .section-grid {
  mix-blend-mode: screen;
  opacity: .09;
}
.manifesto .section-grid { top: -30%; left: -10%; right: auto; }
.diferenciais .section-grid { bottom: -20%; left: -15%; top: auto; }
.lead .section-grid { top: -20%; right: -10%; }
.manifesto__kicker {
  color: var(--purple-300); font-family: var(--font-display); font-weight: 600;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px;
}
.manifesto__text {
  color: #fff;
  font-size: clamp(24px, 6vw, 38px);
  max-width: 820px;
  margin-inline: auto;
  font-weight: 500;
  line-height: 1.35;
}
.manifesto__text strong { color: var(--purple-300); font-weight: 700; }
.manifesto__accent { display: block; margin-top: 14px; color: var(--purple-400); font-weight: 700; }
.manifesto__sub {
  margin-top: 26px; color: rgba(255,255,255,.6);
  max-width: 560px; margin-inline: auto; font-size: 15px;
}

/* ---- fluxo animado (reaproveitado do site de eventos) ---- */
.flow--manifesto { max-width: 720px; margin: 56px auto 0; text-align: left; }
.flow { position: relative; display: flex; flex-direction: column; gap: 46px; }

.flow__line {
  position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.16) 0 6px, transparent 6px 12px);
}
.flow__pulse {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--purple-300);
  box-shadow: 0 0 14px 3px rgba(205,143,240,.7);
  animation: flowTravelY 3.6s ease-in-out infinite;
}
@keyframes flowTravelY {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.flow__step { position: relative; display: flex; align-items: flex-start; gap: 20px; }
.flow__node {
  position: relative; flex-shrink: 0;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(145deg, var(--purple-400), var(--purple-700));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(146,0,196,.6);
  animation: flowBreathe 2.6s ease-in-out infinite;
}
.flow__step:nth-child(2) .flow__node { animation-delay: .3s; }
.flow__step:nth-child(3) .flow__node { animation-delay: .6s; }
@keyframes flowBreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

.flow__num {
  position: absolute; bottom: -4px; right: -4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; color: var(--purple-600);
  font-family: var(--font-display); font-weight: 800; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--ink);
}
.flow__step h3 { color: #fff; font-size: 18px; margin-bottom: 6px; padding-top: 12px; }
.flow__step p { color: rgba(255,255,255,.62); font-size: 14px; max-width: 420px; }

@media (min-width: 760px) {
  .flow--manifesto { max-width: none; }
  .flow { flex-direction: row; gap: 24px; align-items: flex-start; }
  .flow__line {
    left: 16%; right: 16%; top: 27px; bottom: auto; width: auto; height: 2px;
    background: repeating-linear-gradient(to right, rgba(255,255,255,.16) 0 6px, transparent 6px 12px);
  }
  .flow__pulse {
    left: 0; top: 50%; transform: translateY(-50%);
    animation: flowTravelX 3.6s ease-in-out infinite;
  }
  .flow__step { flex-direction: column; align-items: center; text-align: center; flex: 1; }
  .flow__step h3, .flow__step p { padding-top: 0; margin-top: 18px; }
  .flow__step p { max-width: none; }
}
@keyframes flowTravelX {
  0% { left: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* ============ SECTION HEAD ============ */
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 6vw, 42px); margin-bottom: 16px; color: var(--ink); }
.section-head p { font-size: 16px; }
.section-head--light h2 { color: #fff; }
.section-head--light p { color: rgba(255,255,255,.68); }

/* ============ MÉTODO / TIMELINE ============ */
.metodo { padding-block: 100px; background: var(--white); }
.timeline { display: flex; flex-direction: column; gap: 0; max-width: 780px; }
.timeline__item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding-block: 30px;
  border-top: 1px solid var(--gray-300);
  position: relative;
}
.timeline__item:last-child { border-bottom: 1px solid var(--gray-300); }
.timeline__num {
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  color: var(--purple-200);
  -webkit-text-stroke: 1.5px var(--purple-400);
}
.timeline__body h3 { font-size: 20px; margin-bottom: 8px; color: var(--ink); }
.timeline__body p { font-size: 15px; max-width: 520px; }

/* ============ DIFERENCIAIS ============ */
.diferenciais { background: var(--grad-dark); padding-block: 100px; position: relative; --grad-text: linear-gradient(120deg, #cd8ff0, #9200c4); }
.cards-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.feature-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: transform .4s var(--ease), background .4s;
}
.feature-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.07); }
.feature-card__icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-400), var(--purple-700));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-card__icon svg { width: 22px; height: 22px; }
.feature-card h3 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.feature-card p { color: rgba(255,255,255,.62); font-size: 14.5px; }

/* ============ RESULTADOS ============ */
.resultados { padding-block: 100px 60px; background: var(--gray-100); overflow: hidden; }
.marquee--results {
  border-top: none; padding-block: 0; margin-top: 50px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track--logos-purple { align-items: center; gap: 52px; }
.marquee__track--logos-purple img {
  height: 26px; width: auto; flex-shrink: 0;
  filter: brightness(0) invert(1) sepia(1) saturate(2000%) hue-rotate(256deg) brightness(.5) contrast(2);
  opacity: .5;
  transition: opacity .3s;
}
.marquee__track--logos-purple img:hover { opacity: .9; }

/* ============ PARCEIROS (LOGOS) ============ */
.partners { position: relative; background: var(--ink); padding-block: 40px; overflow: hidden; }
.partners::before,
.partners::after {
  content: ''; position: absolute; left: 0; right: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35) 50%, transparent);
}
.partners::before {
  top: 0; height: 1px;
  background-image:
    linear-gradient(90deg, transparent, var(--purple-300) 50%, transparent),
    linear-gradient(90deg, transparent, var(--purple-700) 50%, transparent);
  background-size: 35% 100%, 100% 100%;
  background-repeat: no-repeat, no-repeat;
  background-position: -35% 0, 0 0;
  animation: partnersShine 5.5s ease-in-out infinite;
}
.partners::after { bottom: 0; height: 1px; }
@keyframes partnersShine {
  0%   { background-position: -35% 0, 0 0; }
  70%  { background-position: 135% 0, 0 0; }
  100% { background-position: 135% 0, 0 0; }
}
.marquee--partners {
  border-top: none; padding-block: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track--logos { align-items: center; gap: 52px; }
.marquee__track--logos img {
  height: 26px; width: auto; flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: .4;
  transition: opacity .3s;
}
.marquee__track--logos img:hover { opacity: .85; }
@media (min-width: 720px) {
  .marquee__track--logos img,
  .marquee__track--logos-purple img { height: 32px; }
}

/* ============ MÍDIA (EVENTOS) ============ */
.media { background: #000; padding-block: 78px 0; position: relative; overflow: hidden; text-align: center; --grad-text: linear-gradient(120deg, #cd8ff0, #9200c4); }
.media .section-grid { top: -40%; left: 50%; transform: translateX(-50%); width: 90%; mix-blend-mode: screen; opacity: .16; animation: spin 70s linear infinite; }
.media__content { max-width: 640px; margin-inline: auto; position: relative; z-index: 1; }
.media__content h2 { color: #fff; font-size: clamp(26px, 6vw, 38px); margin-top: 4px; margin-bottom: 16px; }
.media__content p { color: rgba(255,255,255,.62); font-size: 15.5px; margin-bottom: 30px; }
.media__actions { display: flex; justify-content: center; margin-bottom: 46px; }

.media__rec-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff3b3b; animation: recPulse 1.4s ease-in-out infinite; }
@keyframes recPulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,59,59,.5); } 50% { opacity: .4; box-shadow: 0 0 0 5px rgba(255,59,59,0); } }

.media__badges { position: relative; max-width: 640px; margin-inline: auto; height: 0; z-index: 2; }
.media__badge {
  position: absolute;
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; color: var(--purple-600);
  font-family: var(--font-display); font-weight: 700; font-size: 12.5px;
  padding: 9px 15px; border-radius: 999px;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}
.media__badge--a { top: -18px; left: -6px; animation: mediaFloat 5s ease-in-out infinite; }
.media__badge--b { top: 12px; right: -10px; animation: mediaFloat 5s ease-in-out infinite 1.4s; }
@keyframes mediaFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.marquee--media { border-top: 1px solid rgba(255,255,255,.12); margin-top: 6px; }

/* ---- GALERIA (carrossel automático e infinito) — usada aqui e no eventos.html ---- */
.ev-gallery {
  position: relative; z-index: 1;
  width: 100%; overflow: hidden; margin-bottom: 36px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ev-gallery__track {
  display: flex; align-items: center; gap: 14px; width: max-content;
  padding-inline: 20px;
  animation: ev-gallery-scroll 50s linear infinite;
}
@keyframes ev-gallery-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ev-gallery__track img {
  height: 260px; width: auto; flex-shrink: 0; border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 14px 22px -6px rgba(0,0,0,.4);
}
@media (min-width: 760px) {
  .ev-gallery__track img { height: 340px; }
}

/* ============ TESTE GRÁTIS (CTA) ============ */
.lead { background: var(--purple-950); padding-block: 100px; position: relative; overflow: hidden; --grad-text: linear-gradient(120deg, #cd8ff0, #9200c4); }
.lead__inner {
  display: flex; flex-direction: column; align-items: center;
  max-width: 620px; margin-inline: auto; text-align: center;
}
.lead__intro h2 { color: #fff; font-size: clamp(28px, 6vw, 40px); margin-top: 4px; margin-bottom: 16px; }
.lead__intro p { color: rgba(255,255,255,.65); font-size: 15.5px; }
.lead__perks { list-style: none; margin-top: 26px; margin-bottom: 34px; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.lead__perks li { display: flex; align-items: flex-start; gap: 10px; color: #fff; font-size: 14.5px; }
.lead__perks li svg { color: var(--purple-300); flex-shrink: 0; margin-top: 1px; }
.lead__cta { align-self: center; }

/* ============ GATE DO TESTE (reaproveita .lead__form/.lead__field, ver teste.html) ============ */

.lead__form {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.lead__field { display: flex; flex-direction: column; gap: 6px; }
.lead__field span {
  font-family: var(--font-display); font-size: 11.5px; font-weight: 600;
  color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .05em;
}
.lead__field input {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  padding: 13px 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color .3s, background .3s;
}
.lead__field input::placeholder { color: rgba(255,255,255,.32); }
.lead__field input:focus { outline: none; border-color: var(--purple-300); background: rgba(255,255,255,.11); }
.lead__submit { justify-content: center; margin-top: 6px; }

/* ============ CTA FINAL ============ */
.cta-final { position: relative; background: var(--grad-cta); padding-block: 110px; overflow: hidden; text-align: center; }
.cta-final__bg { position: absolute; inset: 0; opacity: .12; }
.cta-final__bg img { width: 60%; margin-inline: auto; margin-top: -10%; }
.cta-final__inner { position: relative; z-index: 1; max-width: 620px; margin-inline: auto; }
.cta-final__mark { width: 56px; height: 56px; border-radius: 16px; margin-inline: auto 24px; box-shadow: var(--shadow-lift); }
.cta-final h2 { color: #fff; font-size: clamp(28px, 6vw, 42px); margin-bottom: 16px; }
.cta-final p { color: rgba(255,255,255,.85); font-size: 16px; margin-bottom: 34px; }
.cta-final p strong { color: #fff; }
.cta-final__actions { display: flex; flex-direction: column; gap: 14px; align-items: center; }

/* ============ FOOTER ============ */
.footer { background: var(--ink); padding-top: 70px; }
.footer__inner {
  display: grid; gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer .brand { height: 24px; }
.footer__brand p { color: rgba(255,255,255,.5); margin-top: 12px; font-size: 14px; }
.footer__nav { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a { color: rgba(255,255,255,.65); font-size: 14.5px; transition: color .3s; }
.footer__nav a:hover { color: var(--purple-300); }
.footer__contact { display: flex; flex-direction: column; gap: 12px; }
.footer__contact a { color: rgba(255,255,255,.65); font-size: 14.5px; transition: color .3s; }
.footer__contact a:hover { color: var(--purple-300); }
.footer__bottom {
  display: flex; flex-direction: column; gap: 8px;
  padding-block: 24px 30px;
  font-size: 12.5px; color: rgba(255,255,255,.4);
}

/* ============ BACK TO TOP ============ */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 70px; z-index: 300;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(145deg, #3ee87f 0%, #1fa855 100%); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 24px -8px rgba(0,0,0,.45);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -8px rgba(0,0,0,.5); }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 300;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--purple-500); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 24px -10px rgba(146,0,196,.6);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ================================================================
   DESKTOP / TABLET BREAKPOINTS
   ================================================================ */
@media (min-width: 760px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .nav { display: flex; }
  .header__ig { display: inline-flex; }
  .burger { display: none; }

  .container { padding-inline: 32px; }

  .topbar__track { font-size: 9px; gap: 10px; }

  .hero { padding-top: 168px; }
  .hero__inner { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 40px; }
  .hero__visual { display: block; }
  .hero__cta { margin-bottom: 56px; }

  .manifesto { padding-block: 130px; }

  .metodo { padding-block: 140px; }
  .timeline { max-width: none; }
  .timeline__item { grid-template-columns: 120px 1fr; align-items: center; padding-block: 40px; }
  .timeline__item:hover .timeline__num { color: var(--purple-500); -webkit-text-stroke: 0; }
  .timeline__num { font-size: 30px; transition: color .3s, -webkit-text-stroke .3s; }
  .timeline__body { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
  .timeline__body h3 { font-size: 24px; }
  .timeline__body p { font-size: 15.5px; }

  .diferenciais { padding-block: 140px; }
  .cards-grid { grid-template-columns: repeat(4, 1fr); }

  .resultados { padding-block: 140px 60px; }
  .results-scroller__track { padding-inline: 32px; }
  .result-card { width: 480px; }

  .lead { padding-block: 140px; }
  .lead__inner { grid-template-columns: 1fr .95fr; gap: 70px; align-items: start; }
  .lead__form { padding: 36px; }

  .cta-final { padding-block: 150px; }
  .cta-final__actions { flex-direction: row; justify-content: center; }

  .footer__inner { grid-template-columns: 1.4fr .8fr .8fr; }
}

@media (min-width: 1240px) {
  .hero__title { font-size: 54px; padding-right: 0; }
  .section-head { max-width: 680px; }
  .section-head h2 { font-size: 46px; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero__grid, .marquee__track, .loader__mark { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}
