/* ============================================================
   FENACOM 2026 — Disruptive landing
   ============================================================ */

:root {
  --bg: #070814;
  --bg-2: #0c0f25;
  --bg-3: #12163a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #f5f6ff;
  --text-dim: #a4a9c8;
  --text-muted: #6b6f8a;

  --primary: #6366f1;
  --primary-2: #8b5cf6;
  --accent: #F08223;
  --accent-hover: #f5984a;
  --accent-2: #22d3ee;
  --danger: #ef4444;
  --success: #22c55e;

  --gradient: linear-gradient(135deg, #22d3ee 0%, #6366f1 50%, #F08223 100%);
  --gradient-soft: linear-gradient(135deg, rgba(34,211,238,.15), rgba(99,102,241,.15), rgba(240,130,35,.15));

  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.35);

  --container: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: var(--primary); color: #fff; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

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

.eyebrow {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 20px;
}

.section__head { margin-bottom: 60px; max-width: 820px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

.section__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.section__desc {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 640px;
}

/* =========================
   BUTTONS
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #0a0a1a;
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  background: var(--surface-strong);
  border-color: rgba(255,255,255,.25);
  transform: translateY(-2px);
}

.btn--dark {
  background: #0a0a1a;
  color: #fff;
  border: 1px solid transparent;
}
.btn--dark:hover {
  background: #1a1a30;
  transform: translateY(-2px);
}

.btn--lg { padding: 18px 32px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--full { width: 100%; }

/* =========================
   NAV — floating pill
   ========================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0;
  border: 1px solid transparent;
}

.nav.is-scrolled { padding: 12px 16px; }
.nav.is-scrolled .nav__inner {
  max-width: 1080px;
  padding: 10px 10px 10px 22px;
  background: rgba(12, 14, 32, 0.72);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s;
}
.nav__logo:hover { transform: scale(1.04); }
.nav__logo img {
  height: 26px;
  width: auto;
  display: block;
  transition: height 0.3s;
}
.nav.is-scrolled .nav__logo img { height: 22px; }

.nav__logo-year {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 11px;
  font-style: normal;
  color: var(--accent);
  padding: 3px 8px;
  background: rgba(240, 130, 35, 0.12);
  border: 1px solid rgba(240, 130, 35, 0.25);
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.nav__links {
  display: flex;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.4s;
}
.nav__links a {
  color: var(--text-dim);
  padding: 8px 14px;
  border-radius: 999px;
  transition: all 0.25s;
  position: relative;
}
.nav__links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav__toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* =========================
   HERO
   ========================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg);
}
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-img, url('/img/hero-bg.jpg'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.45;
  filter: saturate(1.1);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top left, rgba(26, 31, 74, 0.85) 0%, transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(45, 27, 78, 0.85) 0%, transparent 55%),
    linear-gradient(180deg, rgba(7, 8, 20, 0.35) 0%, rgba(7, 8, 20, 0.6) 60%, var(--bg) 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  will-change: transform;
}
.hero__orb--1 {
  width: 480px; height: 480px;
  background: #6366f1;
  top: -10%; left: -10%;
  animation: drift1 32s ease-in-out infinite;
}
.hero__orb--2 {
  width: 400px; height: 400px;
  background: #F08223;
  bottom: -10%; right: -5%;
  animation: drift2 38s ease-in-out infinite;
}
.hero__orb--3 {
  width: 350px; height: 350px;
  background: #22d3ee;
  top: 40%; left: 50%;
  opacity: 0.28;
  animation: drift3 44s ease-in-out infinite;
}

@keyframes drift1 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(120px, 80px) scale(1.12); }
  50%  { transform: translate(80px, 180px) scale(0.95); }
  75%  { transform: translate(-60px, 100px) scale(1.08); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes drift2 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(-140px, -60px) scale(1.1); }
  50%  { transform: translate(-90px, -160px) scale(0.92); }
  75%  { transform: translate(60px, -100px) scale(1.15); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes drift3 {
  0%   { transform: translate(-50%, -50%) scale(1); }
  33%  { transform: translate(calc(-50% + 160px), calc(-50% - 120px)) scale(1.2); }
  66%  { transform: translate(calc(-50% - 180px), calc(-50% + 80px)) scale(0.9); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

/* radial gradients também respiram devagar */
.hero__bg::after {
  animation: heroGlow 22s ease-in-out infinite alternate;
  background-size: 160% 160%;
}
@keyframes heroGlow {
  0%   { background-position: 0% 0%, 100% 100%, 0% 0%; }
  50%  { background-position: 30% 20%, 70% 80%, 0% 0%; }
  100% { background-position: 0% 100%, 100% 0%, 0% 0%; }
}

.hero__content {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  backdrop-filter: blur(10px);
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease-out;
}
.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(44px, 8vw, 96px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  animation: fadeInUp 0.9s ease-out 0.1s both;
}

.hero__subtitle {
  font-size: clamp(17px, 1.8vw, 21px);
  color: var(--text-dim);
  max-width: 720px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.9s ease-out 0.2s both;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 0.9s ease-out 0.3s both;
}

.hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 18px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 90px;
  animation: fadeInUp 0.9s ease-out 0.4s both;
}
.hero__meta-item { display: flex; flex-direction: column; text-align: left; }
.hero__meta-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.hero__meta-value { font-size: 15px; font-weight: 600; color: var(--text); }
.hero__meta-value--accent { color: var(--accent); }
.hero__meta-sep { width: 1px; height: 32px; background: var(--border-strong); }

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================
   EVENTS
   ========================= */
.events { padding: 120px 0; background: var(--bg); position: relative; }
.events__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.event-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.event-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent 30%, var(--accent) 50%, transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.event-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.event-card:hover::before { opacity: 1; }

.event-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-2);
}
.event-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.event-card:hover .event-card__media img { transform: scale(1.08); }
.event-card__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7,8,20,0.9) 100%);
}

.event-card__body { padding: 36px; flex: 1; display: flex; flex-direction: column; }
.event-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.event-card__city {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1;
}

.event-card__info {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.event-card__info > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.event-card__info span { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.event-card__info b { font-size: 15px; font-weight: 600; color: var(--text); text-align: right; }

.event-card__cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.event-card:hover .event-card__cta,
.event-card__cta:hover {
  background: #F08223;
  color: #0a0a1a;
  border-color: #F08223;
  box-shadow: 0 12px 36px rgba(240, 130, 35, 0.55), 0 0 0 3px rgba(240, 130, 35, 0.25);
  transform: translateY(-2px);
}
.event-card:hover .event-card__cta svg,
.event-card__cta:hover svg { transform: translateX(4px); }
.event-card__cta svg { transition: transform 0.3s; }

/* =========================
   FEIRA
   ========================= */
.feira {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.feira__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.feira__text { color: var(--text-dim); font-size: 17px; margin-bottom: 18px; }
.feira__text b { color: var(--text); font-weight: 600; }

.feira__audiences {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.feira__audiences li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: all 0.2s;
}
.feira__audiences li:hover { border-color: var(--border-strong); transform: translateX(4px); }
.feira__audiences svg { color: var(--accent); flex-shrink: 0; }

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pillar {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.pillar:hover {
  background: var(--surface-strong);
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.pillar__icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-soft);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  color: var(--accent);
  margin-bottom: 20px;
}
.pillar__icon svg { width: 24px; height: 24px; }
.pillar h4 { font-family: 'Space Grotesk', sans-serif; font-size: 18px; margin-bottom: 8px; letter-spacing: -0.01em; }
.pillar p { font-size: 14px; color: var(--text-dim); }

/* =========================
   CTA STRIP — BLUE
   ========================= */
.cta-strip {
  position: relative;
  padding: 80px 0;
  background: #182148;
  color: #fff;
  overflow: hidden;
}
.cta-strip__bg { display: none; }
.cta-strip__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 60px;
}
.cta-strip__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 14px 0 14px;
  color: #fff;
}
.cta-strip__left p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 440px;
}
.cta-strip__left .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
}
.cta-strip__right {
  display: grid;
  gap: 12px;
}
.cta-strip__right .btn { justify-content: space-between; padding-left: 28px; padding-right: 24px; }

.eyebrow--dark {
  background: rgba(10, 10, 26, 0.1);
  border-color: rgba(10, 10, 26, 0.15);
  color: rgba(10, 10, 26, 0.7);
}

/* =========================
   STATS — ORANGE
   ========================= */
.stats {
  padding: 120px 0;
  background: var(--accent);
  color: #0a0a1a;
  position: relative;
  overflow: hidden;
}
.stats::before, .stats::after { display: none; }
.stats__title { color: #0a0a1a; }
.stats__accent { color: #fff; }
.stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat {
  position: relative;
  padding: 40px 24px;
  background: #0a0a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s;
  overflow: hidden;
}
.stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.stat:hover { transform: translateY(-6px); }
.stat:hover::before { transform: scaleX(1); }
.stat__value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 10px;
}
.stat__label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* =========================
   SHOWCASE / VIDEO + GALERIA
   ========================= */
.showcase {
  padding: 120px 0;
  background: var(--bg);
}

.video-hero {
  margin-bottom: 24px;
}
.video-hero__wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.video-hero__wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 60px;
}
.video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

.gallery {
  position: relative;
  margin-top: 40px;
}
.gallery__swiper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.gallery__swiper .swiper-slide {
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
}
.gallery__swiper .swiper-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gallery__swiper .swiper-button-prev,
.gallery__swiper .swiper-button-next {
  width: 48px; height: 48px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  color: #fff;
}
.gallery__swiper .swiper-button-prev::after,
.gallery__swiper .swiper-button-next::after {
  font-size: 18px; font-weight: 700;
}
.gallery__swiper .swiper-pagination-bullet {
  background: #fff; opacity: 0.5;
}
.gallery__swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--accent);
  width: 20px; border-radius: 4px;
}

/* =========================
   BRANDS — full width white
   ========================= */
.brands {
  padding: 100px 0 60px;
  background: var(--bg);
}
.brands .section__head .eyebrow,
.brands .section__head .section__title { color: var(--text); }

.brands__marquee {
  margin-top: 60px;
  width: 100%;
  background: #ffffff;
  padding: 40px 0;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.brands__track {
  display: flex;
  align-items: center;
  gap: 120px;
  animation: marquee 55s linear infinite;
  width: max-content;
}
.brands__track:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.brand {
  flex-shrink: 0;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: z-index 0s 0.4s;
}
.brand:hover { z-index: 5; transition: z-index 0s; }
.brand img {
  max-height: 180px;
  max-width: 400px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.35s cubic-bezier(0.22,1,0.36,1), transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
}
.brand:hover img {
  filter: grayscale(0%);
  transform: scale(1.8);
}

/* =========================
   CONTACT
   ========================= */
.contact {
  padding: 120px 0;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(240,130,35,0.25), transparent 70%);
  border-radius: 50%;
}

.contact__card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 60px;
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.contact__left p { color: var(--text-dim); font-size: 17px; margin-bottom: 30px; }

.contact__direct {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.contact__direct-item {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.3s;
}
.contact__direct-item:hover { border-color: var(--accent); transform: translateX(4px); }
.contact__direct-item b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 4px; }
.contact__direct-item a { color: var(--text); font-weight: 600; font-size: 15px; }
.contact__direct-item:hover a { color: var(--accent); }

.contact__form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.2s;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-muted); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--surface-strong);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.form__feedback {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  min-height: 20px;
}
.form__feedback.is-success { color: var(--success); }
.form__feedback.is-error { color: var(--danger); }

/* =========================
   FOOTER
   ========================= */
.footer {
  padding: 80px 0 32px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer__brand p { color: var(--text-dim); font-size: 14px; margin-top: 16px; max-width: 320px; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__cols h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer__cols a {
  display: block;
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer__cols a:hover { color: var(--text); }
.footer__bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

/* =========================
   REVEAL ANIMATIONS
   ========================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

.reveal-left   { opacity: 0; transform: translateX(-50px); transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1); will-change: opacity, transform; }
.reveal-right  { opacity: 0; transform: translateX(50px);  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1); will-change: opacity, transform; }
.reveal-zoom   { opacity: 0; transform: scale(0.9);        transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1); will-change: opacity, transform; }
.reveal-fade   { opacity: 0;                                transition: opacity 1.1s ease-out; }
.reveal-blur   { opacity: 0; filter: blur(12px); transform: translateY(20px); transition: opacity 0.9s ease-out, filter 0.9s ease-out, transform 0.9s ease-out; }

.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-zoom.is-visible,
.reveal-fade.is-visible { opacity: 1; transform: none; }
.reveal-blur.is-visible { opacity: 1; filter: blur(0); transform: none; }

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.stagger.is-visible > * { opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 0.55s; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent);
  z-index: 200;
  transition: width 0.08s linear;
  box-shadow: 0 0 12px rgba(240, 130, 35, 0.6);
}

/* Hero parallax target */
.hero__content { will-change: transform; }
.hero__bg::before { will-change: transform; }

/* Section title letter entrance */
.section__title .accent-text {
  position: relative;
  display: inline-block;
}
.section__title.is-visible .accent-text::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 3px;
  background: var(--accent);
  transform-origin: left;
  animation: underlineIn 0.7s 0.4s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes underlineIn {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Floating hover lift for cards already reveal */
.reveal-float { opacity: 0; transform: translateY(60px) scale(0.96); transition: opacity 1s cubic-bezier(0.22,1,0.36,1), transform 1s cubic-bezier(0.22,1,0.36,1); will-change: opacity, transform; }
.reveal-float.is-visible { opacity: 1; transform: none; }

/* Pop icon (for pillar icons) */
.reveal-pop { opacity: 0; transform: scale(0.4) rotate(-12deg); transition: opacity 0.6s ease-out, transform 0.7s cubic-bezier(0.34, 1.8, 0.64, 1); }
.reveal-pop.is-visible { opacity: 1; transform: scale(1) rotate(0); }

/* Stagger — extended up to 10 children */
.stagger.is-visible > *:nth-child(7)  { transition-delay: 0.65s; }
.stagger.is-visible > *:nth-child(8)  { transition-delay: 0.75s; }
.stagger.is-visible > *:nth-child(9)  { transition-delay: 0.85s; }
.stagger.is-visible > *:nth-child(10) { transition-delay: 0.95s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-zoom, .reveal-fade, .reveal-blur, .reveal-float,
  .stagger > * { opacity: 1 !important; transform: none !important; filter: none !important; }
  .scroll-progress { display: none; }
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .cta-strip__inner { grid-template-columns: 1fr; gap: 32px; }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero__meta { gap: 16px; padding: 14px 20px; }
  .hero__meta-sep { display: none; }

  .events__grid { grid-template-columns: 1fr; gap: 20px; }
  .event-card__body { padding: 28px; }

  .feira__inner { grid-template-columns: 1fr; gap: 40px; }
  .pillars { grid-template-columns: 1fr 1fr; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }

  .video-grid { grid-template-columns: 1fr; }

  .contact__card { grid-template-columns: 1fr; gap: 40px; padding: 32px; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .pillars { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .section__title { font-size: 32px; }
  .hero__ctas .btn { width: 100%; }
  .brand { height: 140px; }
  .brand img { max-height: 120px; max-width: 240px; }
  .brands__track { gap: 72px; }
}
