/* ───────────────────────────────────────────────
   Best Intercâmbio — Design System
   ─────────────────────────────────────────────── */


:root {
  /* Palette */
  --ink:        #0E1B2C;
  --ink-soft:   #2A3848;
  --paper:      #FAF4EA;
  --paper-warm: #F4ECDC;
  --cream:      #FFF1D6;
  --coral:      #F04E2A;
  --coral-deep: #C73E1F;
  --gold:       #F2C94C;
  --sky:        #B7DDF0;
  --mute:       #6B7280;
  --line:       rgba(14, 27, 44, 0.12);
  --line-soft:  rgba(14, 27, 44, 0.06);

  /* Type */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:    'Geist', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Radii / shadow */
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-xl: 36px;
  --shadow-card: 0 1px 0 var(--line), 0 30px 60px -30px rgba(14,27,44,0.18);

  /* Layout */
  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

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

/* ─── Type scale ─── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-deep);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.eyebrow.no-rule::before { display: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-wrap: balance;
}

.h-display {
  font-size: clamp(56px, 8.5vw, 132px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
}
.h-1 { font-size: clamp(40px, 5.6vw, 84px); letter-spacing: -0.03em; }
.h-2 { font-size: clamp(32px, 4vw, 56px); letter-spacing: -0.025em; }
.h-3 { font-size: clamp(24px, 2.2vw, 32px); }
.h-4 { font-size: 20px; font-weight: 600; }

.lead {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 60ch;
  text-wrap: pretty;
}

p { text-wrap: pretty; }

.italic-serif {
  font-family: 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn .arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform .3s ease;
}
.btn .arrow::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 1.6px solid var(--paper);
  border-right: 1.6px solid var(--paper);
  transform: rotate(45deg);
  margin-left: -2px;
}
.btn:hover .arrow { transform: translateX(3px) rotate(-15deg); }

.btn-primary {
  background: var(--coral);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--coral-deep);
  box-shadow: 0 16px 30px -16px rgba(240,78,42,0.55);
}
.btn-primary .arrow { background: var(--paper); }
.btn-primary .arrow::after { border-color: var(--coral); }

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}
.btn-dark:hover { background: #1B2A3D; }
.btn-dark .arrow { background: var(--paper); }
.btn-dark .arrow::after { border-color: var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-ghost .arrow { background: var(--ink); }
.btn-ghost:hover .arrow { background: var(--paper); }
.btn-ghost .arrow::after { border-color: var(--paper); }
.btn-ghost:hover .arrow::after { border-color: var(--ink); }

.btn-wa {
  background: #25D366;
  color: #fff;
}
.btn-wa:hover { background: #1FB257; }
.btn-wa .arrow { background: #fff; }
.btn-wa .arrow::after { border-color: #25D366; }

/* ─── Real images ─── */
.img-real {
  overflow: hidden;
  border-radius: var(--r-md);
  position: relative;
  background: var(--paper-warm);
  isolation: isolate;
}
.img-real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.img-real:hover img { transform: scale(1.04); }
.img-real .ph-label {
  position: absolute;
  left: 16px; bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  padding: 6px 10px;
  background: rgba(14,27,44,0.6);
  color: var(--paper);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  z-index: 2;
}
.img-real .ph-corner {
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(14,27,44,0.55);
  padding: 4px 8px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  z-index: 2;
}

/* ─── Best TV / YouTube section ─── */
.tv-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
  align-items: stretch;
}
.tv-phone {
  aspect-ratio: 9/16;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ink);
  position: relative;
  max-height: 680px;
  box-shadow: 0 30px 80px -20px rgba(14,27,44,0.35);
}
.tv-phone iframe {
  width: 100%; height: 100%;
  border: none;
  display: block;
}
.tv-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tv-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
  text-decoration: none;
  color: var(--ink);
}
.tv-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.tv-card.active { border-color: var(--coral); background: var(--cream); }
.tv-card .thumb {
  height: 100%;
  min-height: 90px;
  overflow: hidden;
  background: var(--paper-warm);
}
.tv-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.tv-card .info {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}
.tv-card .info .badge {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--coral);
  font-weight: 500;
}
.tv-card .info .title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.tv-card .info .views {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.05em;
}
.tv-channel-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 24px 28px;
  background: var(--ink);
  border-radius: var(--r-lg);
  color: var(--paper);
}
.tv-channel-cta .ch-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex: 1;
}
.tv-channel-cta .ch-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(250,244,234,0.6);
  margin-top: 2px;
}

@media (max-width: 980px) {
  .tv-grid { grid-template-columns: 1fr; }
  .tv-phone { max-height: 500px; aspect-ratio: unset; height: 500px; }
}

/* ─── Brand logo ─── */
.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* ─── Nav ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 244, 234, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.04em;
}
.brand .dot {
  width: 9px;
  height: 9px;
  background: var(--coral);
  border-radius: 50%;
  display: inline-block;
  transform: translateY(-3px);
}
.brand small {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mute);
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
  list-style: none;
  padding: 0; margin: 0;
}
.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--ink);
  transition: background .2s ease;
  position: relative;
}
.nav-links a:hover { background: var(--paper-warm); }
.nav-links a.active { background: var(--ink); color: var(--paper); }
.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.nav-cta .btn { padding: 12px 18px; font-size: 14px; }
.nav-cta .btn .arrow { width: 18px; height: 18px; }
.nav-cta .btn .arrow::after { width: 6px; height: 6px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ─── Reveal animation ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .09s; }
.reveal[data-d="2"] { transition-delay: .18s; }
.reveal[data-d="3"] { transition-delay: .27s; }
.reveal[data-d="4"] { transition-delay: .36s; }
.reveal[data-d="5"] { transition-delay: .45s; }

/* ─── Image placeholders ─── */
.img-ph {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(14,27,44,0.04) 18px 19px),
    linear-gradient(135deg, var(--paper-warm), #E8DCC4 60%, #D6C3A0);
  color: var(--ink);
  border-radius: var(--r-md);
  isolation: isolate;
}
.img-ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.55), transparent 55%);
  pointer-events: none;
}
.img-ph.coral { background: linear-gradient(140deg, #FF6B47, #F04E2A 55%, #C73E1F); color: var(--paper); }
.img-ph.coral::before { background: radial-gradient(circle at 25% 15%, rgba(255,255,255,0.35), transparent 60%); }
.img-ph.navy  { background: linear-gradient(140deg, #1F3349, #0E1B2C); color: var(--paper); }
.img-ph.gold  { background: linear-gradient(140deg, #FFE08A, #F2C94C 60%, #D9A926); color: var(--ink); }
.img-ph.sky   { background: linear-gradient(140deg, #CFE6F3, #8FBED9); color: var(--ink); }
.img-ph.cream { background: linear-gradient(140deg, #FFF1D6, #F2E0B3); color: var(--ink); }

.img-ph .ph-label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  padding: 6px 10px;
  background: rgba(14,27,44,0.55);
  color: var(--paper);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.img-ph.gold .ph-label,
.img-ph.cream .ph-label,
.img-ph.sky .ph-label { background: rgba(14,27,44,0.7); }

.img-ph .ph-corner {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ─── Marquee ─── */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  gap: 0;
}
.marquee-track {
  display: inline-flex;
  gap: 48px;
  align-items: center;
  animation: marquee 38s linear infinite;
  padding-right: 48px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── Footer ─── */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding-top: 96px;
  padding-bottom: 36px;
  margin-top: 120px;
}
.footer h4 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(250,244,234,0.12);
}
.footer-grid ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-grid a { font-size: 16px; opacity: 0.85; transition: opacity .2s, color .2s; }
.footer-grid a:hover { opacity: 1; color: var(--coral); }
.footer-bottom {
  margin-top: 36px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: 0.6;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ─── Utilities ─── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--paper);
}
.tag .dot { width:6px; height:6px; border-radius:50%; background: var(--coral); }
.tag.coral { background: var(--coral); border-color: var(--coral); color: var(--paper); }
.tag.coral .dot { background: var(--paper); }
.tag.dark { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tag.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.section { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
.section-tight { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }

hr.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ─── Mobile hamburger nav ─── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--r-sm);
  transition: background .2s;
  background: none;
  border: none;
}
.nav-hamburger:hover { background: var(--paper-warm); }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 49;
  flex-direction: column;
  background: var(--paper);
  padding: 80px var(--gutter) 40px;
  overflow-y: auto;
}
.nav-drawer.open { display: flex; }
.nav-drawer ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.nav-drawer ul a {
  display: block;
  padding: 18px 20px;
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  border-radius: var(--r-md);
  transition: background .2s, color .2s;
}
.nav-drawer ul a:hover, .nav-drawer ul a.active { background: var(--coral); color: var(--paper); }
.nav-drawer .drawer-footer {
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nav-drawer .drawer-footer a {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--mute);
}

/* ─── Global mobile breakpoints ─── */
@media (max-width: 880px) {
  /* Nav */
  .nav-hamburger { display: flex; }
  .nav-links { display: none !important; }
  .nav-cta { display: none; }

  /* Typography scale down */
  .h-display { font-size: clamp(40px, 10vw, 72px); line-height: 1; }
  .h-1 { font-size: clamp(32px, 7vw, 56px); }
  .h-2 { font-size: clamp(26px, 5.5vw, 40px); }

  /* Section padding */
  .section { padding-top: 60px; padding-bottom: 60px; }
  .section-tight { padding-top: 48px; padding-bottom: 48px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; font-size: 11px; }

  /* Manifesto */
  .manifesto { padding: 40px 28px; border-radius: var(--r-lg); }
  .manifesto-content { padding-top: 60px; gap: 32px; }

  /* Stat strip */
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat-strip .stat:nth-child(2) { border-right: none; }
  .stat-strip .stat:nth-child(3) { border-top: 1px solid var(--line); }
  .stat-strip .stat:nth-child(4) { border-top: 1px solid var(--line); border-right: none; }

  /* Why grid */
  .why { grid-template-columns: 1fr 1fr; }
  .why-cell:nth-child(4n) { border-right: 1px solid var(--line); }
  .why-cell:nth-child(2n) { border-right: none; }

  /* Programs */
  .programs { grid-template-columns: 1fr; }

  /* Destinations */
  .destinations { grid-template-columns: 1fr; }
  .destinations .map-box { min-height: 360px; }

  /* Testimonials */
  .testimonials { grid-template-columns: 1fr; }

  /* Pre-board */
  .preboard { grid-template-columns: 1fr 1fr; }
  .pre-card { aspect-ratio: unset; min-height: 180px; }

  /* Final CTA */
  .final-cta { grid-template-columns: 1fr; gap: 28px; padding: 40px 28px; border-radius: var(--r-lg); }

  /* TV section */
  .tv-grid { grid-template-columns: 1fr; }
  .tv-phone { height: 400px; max-height: 400px; aspect-ratio: unset; }

  /* Section headers */
  .sec-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
}

@media (max-width: 540px) {
  :root { --gutter: 18px; }

  /* Even smaller type on phones */
  .h-display { font-size: clamp(36px, 11vw, 60px); }

  /* Hero body stack */
  .hero-body { gap: 28px; }
  .hero-body .right { grid-template-rows: 200px 140px; gap: 10px; }

  /* Why 1 col */
  .why { grid-template-columns: 1fr; }
  .why-cell { border-right: none !important; }

  /* Pre-board 1 col */
  .preboard { grid-template-columns: 1fr; }

  /* Footer 1 col */
  .footer-grid { grid-template-columns: 1fr; }

  /* Destination rows compact */
  .dest-row .name { font-size: 17px; }

  /* Stat strip 1 col on very small */
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat .num { font-size: 40px; }

  /* Marquee slower */
  .marquee-track { animation-duration: 24s; }

  /* Cards full width */
  .program-card { padding: 20px; }
  .program-card .img-real { height: 220px; }

  /* Buttons stack */
  .ctas, .final-cta .ctas { flex-direction: column; }
  .btn { justify-content: center; }

  /* WA float — above browser chrome */
  .wa-float { width: 52px; height: 52px; bottom: 88px; right: 16px; }
  .wa-float svg { width: 24px; height: 24px; }

  /* Manifesto */
  .manifesto { padding: 28px 20px; }
  .manifesto h2 { font-size: 32px; }
  .map-foot .count { font-size: 48px; }
}

/* whatsapp float */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(37,211,102,0.55);
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 28px; height: 28px; }

/* Move o WhatsApp para cima se o banner de cookies estiver visível */
body.cookie-banner-active .wa-float {
  transform: translateY(-86px);
}
body.cookie-banner-active .wa-float:hover {
  transform: translateY(-86px) scale(1.08) rotate(-6deg);
}
@media (max-width: 880px) {
  body.cookie-banner-active .wa-float {
    transform: translateY(-146px);
  }
  body.cookie-banner-active .wa-float:hover {
    transform: translateY(-146px) scale(1.08) rotate(-6deg);
  }
}

/* selection */
::selection { background: var(--coral); color: var(--paper); }

/* scroll behaviour */
html { scroll-behavior: smooth; }

/* ─────────────────────────────────────
   ANIMAÇÕES JOVENS
   ───────────────────────────────────── */

/* Page load fade */
body { animation: page-in .32s ease both; }
@keyframes page-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Nav entrance */
.nav { animation: nav-down .5s cubic-bezier(.2,.8,.2,1) .04s both; }
@keyframes nav-down {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero text clip reveal */
.row-inner {
  display: block;
  animation: row-up .85s cubic-bezier(.16,1,.3,1) both;
}
@keyframes row-up {
  from { transform: translateY(115%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* Floating hero orb */
.hero-orb {
  position: absolute;
  z-index: -1;
  width: 860px;
  height: 860px;
  top: -280px;
  right: -140px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(242,201,76,.28) 0%,
    rgba(240,78,42,.10) 48%,
    transparent 70%
  );
  filter: blur(72px);
  pointer-events: none;
  animation: orb-drift 11s ease-in-out infinite;
}
@keyframes orb-drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(52px,-36px) scale(1.04); }
  66%      { transform: translate(-28px,22px) scale(.97); }
}

/* Magnetic button */
.btn-primary { will-change: transform; }

/* Card shine sweep */
.program-card {
  isolation: isolate;
}
.program-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    transparent 30%,
    rgba(255,255,255,.10) 50%,
    transparent 70%
  );
  opacity: 0;
  transform: translateX(-120%);
  transition: opacity .2s, transform 0s;
  pointer-events: none;
  border-radius: inherit;
}
.program-card:hover::after {
  opacity: 1;
  transform: translateX(130%);
  transition: opacity .12s, transform .55s cubic-bezier(.2,.8,.2,1);
}

/* Stagger children inside reveal */
.reveal > *:nth-child(1) { transition-delay: inherit; }
.reveal > *:nth-child(2) { transition-delay: calc(var(--stagger, 0s) + .06s); }
.reveal > *:nth-child(3) { transition-delay: calc(var(--stagger, 0s) + .12s); }
