/* ============================================================
   GRAPES MÍDIA (/eventos) — preto só no herói, o resto varia
   como o resto do site (claro / roxo escuro / degradê)
   ============================================================ */

.eventos-page { background: var(--white); }

/* ---- HERO (preto) ---- */
.ev-hero {
  background: #000;
  padding-top: 150px;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
  --grad-text: linear-gradient(120deg, #cd8ff0, #9200c4);
  text-align: center;
}
.ev-hero__bg { position: absolute; inset: 0; z-index: 0; }
.ev-hero__bg .section-grid {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 110%; opacity: .35; mix-blend-mode: screen; pointer-events: none;
  animation: spin 70s linear infinite;
}
.ev-hero__rec {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 7px;
  width: max-content; margin: 0 auto 26px;
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  letter-spacing: .08em; color: rgba(255,255,255,.8);
}
.ev-hero__inner { position: relative; z-index: 1; max-width: 720px; margin-inline: auto; padding-bottom: 60px; }
.ev-hero__badges { position: relative; max-width: 480px; margin-inline: auto; height: 0; z-index: 2; }
.ev-hero h1 { color: #fff; font-size: clamp(32px, 7vw, 54px); margin: 16px 0 18px; }
.ev-hero p { color: rgba(255,255,255,.65); font-size: 16.5px; max-width: 520px; margin-inline: auto; margin-bottom: 32px; }
.ev-hero__cta { display: flex; justify-content: center; }

/* ---- badges flutuantes (compartilhados com a seção Mídia do site principal) ---- */
.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: -10px; left: -10px; animation: mediaFloat 5s ease-in-out infinite; }
.media__badge--b { top: 20px; right: -16px; animation: mediaFloat 5s ease-in-out infinite 1.4s; }
.media__rec-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff3b3b; animation: recPulse 1.4s ease-in-out infinite; }
@keyframes mediaFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@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); } }

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

/* ---- O QUE ENTREGAMOS (claro) ---- */
.ev-deliver { background: var(--white); padding-block: 90px; position: relative; overflow: hidden; }
.ev-deliver .section-grid { top: 0; right: -10%; width: 75%; opacity: .18; }
.ev-deliver .feature-card {
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  transition: transform .3s var(--ease), background .3s;
}
.ev-deliver .feature-card:hover { background: var(--purple-100); transform: translateY(-4px); }
.ev-deliver .feature-card h3 { color: var(--ink); }
.ev-deliver .feature-card p { color: var(--ink-soft); }

/* ---- COMO FUNCIONA (roxo escuro, não preto puro) ---- */
.ev-steps { background: var(--grad-dark); padding-block: 90px; position: relative; overflow: hidden; --grad-text: linear-gradient(120deg, #cd8ff0, #9200c4); }
.ev-steps .section-grid { bottom: -10%; left: -5%; top: auto; width: 75%; opacity: .16; mix-blend-mode: screen; }
/* ---- fluxo animado dos 3 passos ---- */
.flow { position: relative; display: flex; flex-direction: column; gap: 46px; margin-top: 20px; }

.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; padding-left: 0; }
.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(--purple-950);
}
.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; }

/* ---- CTA FINAL (degradê roxo, como o resto do site) ---- */
.ev-cta { background: var(--grad-cta); padding-block: 100px; text-align: center; position: relative; overflow: hidden; }
.ev-cta .section-grid { top: -10%; left: 50%; transform: translateX(-50%); width: 90%; opacity: .16; mix-blend-mode: screen; }
.ev-cta__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; max-width: 520px; margin-inline: auto; }
.ev-cta h2 { color: #fff; font-size: clamp(26px, 6vw, 38px); margin-bottom: 14px; }
.ev-cta p { color: rgba(255,255,255,.75); margin-bottom: 28px; }

@media (min-width: 760px) {
  .flow { flex-direction: row; gap: 24px; align-items: flex-start; }
  .flow__line {
    left: 12%; right: 12%; 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; }
}

/* Galeria de eventos: ver css/style.css (compartilhada com a home) */

/* ---- "O QUE ENTREGAMOS" mais viva ---- */
.section-head p { margin-top: 14px; max-width: 520px; }

.cards-grid--numbered .feature-card {
  position: relative;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s var(--ease);
}
.cards-grid--numbered .feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -18px rgba(38,9,56,.25);
}
.feature-card__num {
  position: absolute; top: 18px; right: 20px;
  font-family: var(--font-display); font-weight: 800; font-size: 26px;
  color: var(--purple-100);
  transition: color .3s;
}
.cards-grid--numbered .feature-card:hover .feature-card__num { color: var(--purple-300); }
.cards-grid--numbered .feature-card .feature-card__icon {
  transition: transform .35s var(--ease);
}
.cards-grid--numbered .feature-card:hover .feature-card__icon {
  transform: rotate(-8deg) scale(1.08);
}
.cards-grid--numbered .feature-card:nth-child(1) { transition-delay: 0s; }
.cards-grid--numbered .feature-card:nth-child(2).reveal { transition-delay: .08s; }
.cards-grid--numbered .feature-card:nth-child(3).reveal { transition-delay: .16s; }
.cards-grid--numbered .feature-card:nth-child(4).reveal { transition-delay: .24s; }

.ev-trust {
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  margin-top: 40px; padding-top: 32px;
  border-top: 1px solid var(--gray-300);
}
.ev-trust__item {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  color: var(--ink-soft);
}
.ev-trust__item svg { color: var(--green); flex-shrink: 0; }
.ev-trust__item:nth-child(1).reveal { transition-delay: .1s; }
.ev-trust__item:nth-child(2).reveal { transition-delay: .2s; }
.ev-trust__item:nth-child(3).reveal { transition-delay: .3s; }
