/* ================================================================
   QUARTER BL4CK — design tokens
   Palette: near-black void, satin-blazer steel grey, warm bone white.
   Display: Big Shoulders Display (condensed, concert-bill impact)
   Accent:  Instrument Serif italic (editorial, sophisticated)
   Body:    Inter
   Signature: the "string" waveform — a bowed-violin-string line used
   as section dividers throughout.
   ================================================================ */

:root{
  --void: #08080a;
  --void-2: #111114;
  --graphite: #17171b;
  --graphite-2: #202126;
  --steel: #9a9da6;
  --steel-dim: #6c6f78;
  --mist: #c7c9cf;
  --bone: #f4f2ec;
  --bone-dim: #d8d6cf;
  --line: rgba(244,242,236,0.12);
  --line-soft: rgba(244,242,236,0.07);
  --glass-bg: rgba(244,242,236,0.06);
  --glass-bg-strong: rgba(244,242,236,0.12);
  --glass-border: rgba(244,242,236,0.18);

  --font-display: "Big Shoulders Display", sans-serif;
  --font-serif: "Instrument Serif", serif;
  --font-body: "Inter", sans-serif;

  --wrap: 1240px;
  --ease: cubic-bezier(.16,.84,.28,1);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--void);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
img, video{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
ul{ margin:0; padding:0; list-style:none; }
button{ font: inherit; -webkit-tap-highlight-color: transparent; }

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

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

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

/* ---------------------------------------------------------------
   Typography primitives
   --------------------------------------------------------------- */
.h2{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  color: var(--bone);
  text-transform: uppercase;
}
.h2--light{ color: var(--bone); }

.section-head{ max-width: 640px; margin-bottom: 56px; }
.section-subtitle{
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--bone-dim);
  margin: -10px 0 0;
}

/* ---------------------------------------------------------------
   Buttons
   --------------------------------------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }

/* Apple-style frosted glass: translucent blur, a hairline rim light,
   and a soft sweep of brightness that passes through on hover — the
   same finish as the play button on the video-card placeholders. */
.btn--glass{
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(255,255,255,0.16), rgba(255,255,255,0.05));
  border-color: rgba(244,242,236,0.28);
  color: var(--bone);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.35) inset,
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 12px 32px rgba(0,0,0,0.35),
    0 0 24px rgba(244,242,236,0.06);
}
.btn--glass::before{
  content:"";
  position:absolute; top:0; left:-65%; width:40%; height:100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-18deg);
  transition: left .85s var(--ease);
  pointer-events:none;
}
.btn--glass:hover{
  background: linear-gradient(155deg, rgba(255,255,255,0.26), rgba(255,255,255,0.08));
  box-shadow:
    0 1px 0 rgba(255,255,255,0.45) inset,
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 16px 40px rgba(0,0,0,0.4),
    0 0 32px rgba(244,242,236,0.1);
}
.btn--glass:hover::before{ left: 130%; }
.btn--glass:active{ transform: translateY(-1px) scale(0.98); }

.btn--sm{ padding: 9px 18px; font-size: 0.82rem; }
.btn--lg{ padding: 18px 32px; font-size: 1rem; }

/* ---------------------------------------------------------------
   Nav
   --------------------------------------------------------------- */
.nav{
  position: fixed;
  top: 18px;
  left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.nav__inner{
  pointer-events: all;
  width: min(1160px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 10px 20px;
  border-radius: 999px;
  background: rgba(10,10,12,0.45);
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.nav.is-scrolled .nav__inner{
  background: rgba(10,10,12,0.72);
  border-color: var(--line);
}
.nav__brand{ display:flex; align-items:center; }
.nav__logo{ height: 26px; width:auto; }
.nav__links{ display:flex; gap: 30px; }
.nav__links a{
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--mist);
  transition: color .25s ease;
}
.nav__links a:hover{ color: var(--bone); }
.nav__actions{ display:flex; align-items:center; gap: 10px; }
.nav__icon-btn{
  width: 38px; height: 38px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 50%;
  color: var(--bone);
  border: 1px solid var(--line);
  transition: background .25s ease, border-color .25s ease;
}
.nav__icon-btn:hover{ background: var(--glass-bg); border-color: var(--glass-border); }
.nav__toggle{
  display:none;
  width: 38px; height:38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  align-items:center; justify-content:center;
  flex-direction:column; gap:4px;
  color: var(--bone);
}
.nav__toggle span{ display:block; width:16px; height:1.5px; background: currentColor; transition: transform .3s ease, opacity .3s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(5.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-5.5px) rotate(-45deg); }

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */
.hero{
  position: relative;
  min-height: 100svh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
  background: var(--void);
}
.hero__bg{ position:absolute; inset:0; z-index:0; }
.hero__video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
  opacity: 0.88;
  filter: contrast(1.05) brightness(0.86) saturate(0.9);
}
.hero__scrim{
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(8,8,10,0.08), rgba(8,8,10,0.5) 72%),
    linear-gradient(180deg, rgba(8,8,10,0.35) 0%, rgba(8,8,10,0.1) 26%, rgba(8,8,10,0.5) 72%, rgba(8,8,10,0.94) 100%);
}
.hero__grain{
  position:absolute; inset:0;
  opacity:0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__body{
  position:relative; z-index:1;
  display:flex; flex-direction:column; align-items:center;
  padding: 24px 24px 0;
  max-width: 900px;
}
.hero__logo{
  width: min(430px, 58vw);
  margin: 6px 0 22px;
  filter: drop-shadow(0 18px 45px rgba(0,0,0,0.65));
}
.hero__tagline{
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.9vw, 2.05rem);
  color: var(--bone-dim);
  margin: 0 0 40px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.7);
}
.hero__cta{ display:flex; gap:16px; flex-wrap:wrap; justify-content:center; }

.hero__string{
  position:absolute; bottom:-1px; left:0; width:100%; height:32px;
  color: var(--void);
  z-index:1;
}

/* ---------------------------------------------------------------
   Reveal-on-scroll
   --------------------------------------------------------------- */
.reveal{
  opacity:0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible{ opacity:1; transform:none; }

/* ---------------------------------------------------------------
   About / members
   --------------------------------------------------------------- */
.about{ padding: 130px 0 130px; background: var(--void); }
.about__photo{
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--line-soft);
  margin-bottom: 48px;
}
.about__lede{
  font-size: 1.08rem;
  line-height:1.7;
  color: var(--mist);
  max-width: 52ch;
}
.members{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 0 32px;
  margin-top: 56px;
}
.member-card{
  position:relative;
  border-radius: 18px;
  overflow:hidden;
  aspect-ratio: 4/5;
  background: var(--graphite);
  border: 1px solid var(--line-soft);
}
.member-card img{
  width:100%; height:100%; object-fit:cover;
  filter: grayscale(0.55) contrast(1.05);
  transition: filter .5s var(--ease), transform .6s var(--ease);
}
.member-card:hover img, .member-card.is-active img{ filter: grayscale(0); transform: scale(1.04); }
.member-card__scrim{
  position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 40%, rgba(8,8,10,0.92) 100%);
}
.member-card__info{
  position:absolute; left:0; right:0; bottom:0;
  padding: 16px;
}
.member-card__name{ font-family: var(--font-display); font-size:1.35rem; text-transform:uppercase; line-height:1; margin:0 0 8px; }
.member-card__bio{
  font-size: 0.78rem;
  color: var(--mist);
  line-height: 1.5;
  max-height:0;
  opacity:0;
  overflow:hidden;
  transition: max-height .4s var(--ease), opacity .3s ease;
}
.member-card:hover .member-card__bio, .member-card:focus-within .member-card__bio, .member-card.is-active .member-card__bio{
  max-height: 140px;
  opacity:1;
}

/* Desktop: "Quem somos" stacks (text, then members below it, not beside
   it), text centered, and the members grid becomes the same infinite
   auto-scrolling carousel used for Parceiros / Vídeos em destaque —
   not a bespoke mechanism. */
@media (min-width: 981px){
  .about__intro{ text-align: center; }
  .about__lede{ margin-left: auto; margin-right: auto; }

  .members{
    display: flex;
    grid-template-columns: none;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    padding: 6px 32px 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .members::-webkit-scrollbar{ display:none; }
  .member-card{ flex: 0 0 260px; }
}

/* ---------------------------------------------------------------
   Vídeos em destaque (maior alcance) — carousel, same behavior as
   the Parceiros carousel, but stats-forward cards with a real cover photo.
   --------------------------------------------------------------- */
.top-videos{ padding: 20px 0 120px; background: var(--void); }
.top-videos .section-head{ margin-bottom: 40px; }

.top-video-card{
  position:relative;
  flex: 0 0 290px;
  display:flex; flex-direction:column;
  background: var(--graphite);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  padding: 28px 24px 24px;
  min-height: 420px;
  overflow:hidden;
  transition: transform .45s var(--ease), border-color .45s var(--ease);
}
.top-video-card:hover{ transform: translateY(-6px); border-color: var(--glass-border); }

.top-video-card__media{ position:absolute; inset:0; z-index:0; }
.top-video-card__media img{
  width:100%; height:100%; object-fit:cover;
  filter: grayscale(0.15) brightness(0.55) contrast(1.05);
  transition: filter .5s ease, transform .6s ease;
}
.top-video-card:hover .top-video-card__media img{ filter: grayscale(0) brightness(0.65); transform: scale(1.05); }

.top-video-card__scrim{
  position:absolute; inset:0; z-index:0;
  background: linear-gradient(180deg, rgba(8,8,10,0.5) 0%, rgba(8,8,10,0.3) 30%, rgba(8,8,10,0.88) 100%);
}

.top-video-card__glow{
  position:absolute; top:-90px; left:50%; transform:translateX(-50%);
  z-index:1;
  width:220px; height:220px; border-radius:50%;
  background: radial-gradient(circle, rgba(244,242,236,0.14), transparent 70%);
  pointer-events:none;
}

.top-video-card__play{
  position:relative; z-index:1;
  align-self: center;
  width:50px; height:50px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background: rgba(244,242,236,0.1);
  border: 1px solid rgba(244,242,236,0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--bone);
  margin-bottom: 30px;
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.top-video-card:hover .top-video-card__play{ transform: scale(1.08); background: rgba(244,242,236,0.2); }

.top-video-card__stats{
  position:relative; z-index:1; flex:1;
  display:flex; flex-direction:column; justify-content:center; align-items:center;
  text-align:center;
}
.top-video-card__primary{
  display:flex; align-items:center; gap:10px;
  font-family: var(--font-display);
  font-weight:700;
  font-size: clamp(2.1rem, 3.6vw, 2.7rem);
  color: var(--bone);
  margin:0;
}
.top-video-card__primary svg{ opacity:0.65; flex-shrink:0; }
.top-video-card__primary-label{
  font-size:0.7rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--steel); margin:6px 0 20px;
}
.tv-stat-row{ display:flex; gap:20px; }
.tv-stat-mini{ display:flex; align-items:center; gap:6px; font-size:0.85rem; color:var(--mist); }
.tv-stat-mini svg{ opacity:0.65; }
.tv-stat-mini strong{ color:var(--bone); font-weight:600; }

.top-video-card__info{
  position:relative; z-index:1;
  margin-top:24px; padding-top:18px;
  border-top: 1px solid var(--line-soft);
}
.top-video-card__title{ font-family:var(--font-display); font-size:1.1rem; text-transform:uppercase; color:var(--bone); margin:0 0 6px; }
.top-video-card__caption{ font-size:0.8rem; color:var(--mist); line-height:1.4; margin:0; }

/* ---------------------------------------------------------------
   Nossos números
   --------------------------------------------------------------- */
.numbers{
  position:relative;
  padding: 140px 0 130px;
  background: var(--void-2);
  overflow:hidden;
}
.numbers__string{
  position:absolute; top:-1px; left:0; width:100%; height:32px;
  color: var(--void);
  transform: scaleY(-1);
}
.numbers__head{ max-width:640px; margin-bottom:56px; }
.numbers__meta{
  font-size:0.85rem;
  color: var(--steel-dim);
  margin-top: -10px;
}

.stat-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  overflow:hidden;
  margin: 40px 0 24px;
}
.stat-card{
  background: var(--graphite);
  padding: 28px 24px;
  display:flex; flex-direction:column; gap:16px;
}
.stat-card__top{ display:flex; align-items:center; gap:8px; }
.stat-card__icon{
  width:26px; height:26px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background: rgba(244,242,236,0.07);
  color: var(--steel);
  flex-shrink:0;
}
.stat-card__label{
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  line-height:1.3;
}
.stat-card__value{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 3.2vw, 2.9rem);
  line-height:1;
  color: var(--bone);
  margin:0;
}

/* -- unified audience card (mirrors the "Audiência" reference layout) -- */
.audience-card{
  background: var(--graphite);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  padding: 32px;
}
.audience-card__head{
  display:flex; align-items:center; gap:10px;
  margin-bottom: 28px;
}
.audience-card__icon{
  width:32px; height:32px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background: rgba(244,242,236,0.08);
  color: var(--bone);
}
.audience-card__head h3{
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  margin:0;
  color: var(--bone);
}
.audience-card__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.audience-col{ display:flex; flex-direction:column; gap: 32px; }
.audience-block__label{
  display:flex; align-items:center; gap:8px;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 16px;
}
.audience-block__label svg{ flex-shrink:0; opacity:0.85; }

/* -- donut charts -- */
.donut-wrap{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.donut{ flex-shrink:0; }
.donut-seg{ transition: stroke-dasharray 1.1s var(--ease); }
.donut-legend{ display:flex; flex-direction:column; gap:8px; flex:1; min-width:120px; }
.donut-legend__item{ display:flex; align-items:center; gap:8px; font-size:0.8rem; color:var(--mist); }
.donut-legend__dot{ width:8px; height:8px; border-radius:50%; flex-shrink:0; }
.donut-legend__label{ flex:1; }
.donut-legend__value{ color:var(--bone); font-weight:600; }

/* -- localização: country bars -- */
.bar-row{ margin-bottom: 12px; }
.bar-row:last-of-type{ margin-bottom:0; }
.bar-row__top{
  display:flex; justify-content:space-between;
  font-size: 0.8rem;
  color: var(--mist);
  margin-bottom: 6px;
}
.bar-row__top strong{ color: var(--bone); font-weight:600; }
.bar-track{
  height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,0.08);
  overflow:hidden;
}
.bar-fill{
  height:100%;
  width:0;
  border-radius:3px;
  background: linear-gradient(90deg, var(--steel-dim), var(--bone-dim));
  transition: width 1.1s var(--ease);
}

/* ---------------------------------------------------------------
   Videos carousel
   --------------------------------------------------------------- */
.videos{ padding: 132px 0 100px; background: var(--void); }
.videos .section-head{ margin-bottom: 40px; }

.carousel{
  display:flex;
  gap: 18px;
  /* Draggable horizontally, auto-scrolling continuously on top of that
     (see script.js). overflow-y must be pinned to hidden explicitly —
     leaving it unset while overflow-x is non-visible makes the browser
     silently compute overflow-y as "auto", which draws its own vertical
     scroll region on the carousel and fights the page's scroll on mobile.
     touch-action is deliberately left at its default (auto), not pan-x:
     pan-x tells the browser this element ONLY ever accepts horizontal
     panning, so a vertical swipe that starts on it has nowhere to go and
     locks instead of chaining up to the page. Leaving it at the default
     lets the browser's native scroll-chaining hand a vertical swipe to
     the page on its own, since overflow-y:hidden already means the
     element itself has no vertical scroll extent. Scrollbar hidden
     visually but still functional. Cursor affordance for mouse drag. */
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  padding: 6px 32px 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel::-webkit-scrollbar{ display:none; }
.carousel.is-dragging, .members.is-dragging{ cursor: grabbing; }

.video-card{
  position:relative;
  flex: 0 0 250px;
  aspect-ratio: 9/16;
  border-radius: 22px;
  overflow:hidden;
  background: var(--graphite);
  border: 1px solid var(--line-soft);
  transition: transform .45s var(--ease), border-color .45s var(--ease);
}
.video-card:hover{ transform: translateY(-6px); border-color: var(--glass-border); }

/* Wide variant for landscape (YouTube-style) covers — Shows ao vivo */
.video-card--wide{ flex-basis: 560px; aspect-ratio: 16/9; }

.video-card__media{ position:absolute; inset:0; }
.video-card__media img{ width:100%; height:100%; object-fit:cover; }
.video-card__media--photo img{ filter: grayscale(0.25) brightness(0.8) contrast(1.05); transition: filter .5s ease, transform .6s ease; }
.video-card:hover .video-card__media--photo img{ filter: grayscale(0) brightness(0.9); transform: scale(1.05); }

.video-card__media--gradient{
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(255,255,255,0.09), transparent 60%),
    linear-gradient(155deg, var(--graphite-2), var(--graphite));
}

.video-card__badge{
  position:absolute; top:16px; left:50%; transform: translateX(-50%);
  z-index:2;
  display:flex; align-items:center; justify-content:center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(23,23,27,0.85);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.4);
}
.video-card__badge img{ height:24px; width:auto; object-fit:contain; }
.video-card__badge span{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--bone);
  text-transform: uppercase;
}

.video-card__scrim{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(8,8,10,0.1) 0%, rgba(8,8,10,0.05) 35%, rgba(8,8,10,0.96) 100%);
}
.video-card__play{
  position:absolute; top:50%; left:50%; transform: translate(-50%,-50%);
  width: 54px; height:54px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background: rgba(244,242,236,0.12);
  border: 1px solid rgba(244,242,236,0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--bone);
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.video-card:hover .video-card__play{ transform: translate(-50%,-50%) scale(1.1); background: rgba(244,242,236,0.22); }

.video-card__info{
  position:absolute; left:0; right:0; bottom:0;
  padding: 18px;
}
.video-card__client{
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 5px;
}
.video-card__title{
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 7px;
  color: var(--bone);
}
.video-card__desc{
  font-size: 0.76rem;
  color: var(--mist);
  line-height: 1.4;
}

/* ---------------------------------------------------------------
   Partners / press marquee
   --------------------------------------------------------------- */
.partners{ padding: 50px 0 120px; background: var(--void); }
.partners .section-head{ margin-bottom: 44px; }

.marquee{
  width:100%;
  overflow:hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 30px 0;
}
.marquee--press{ padding: 24px 0; margin-top: 22px; border-top: none; }
.marquee__track{
  display:flex;
  align-items:center;
  gap: 140px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee__track--reverse{ animation-direction: reverse; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track{ animation-play-state: paused; }
@keyframes marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

.partner-logo{ height: 36px; width:auto; opacity:0.85; transition: opacity .3s ease, transform .3s ease; }
.partner-logo:hover{ opacity:1; transform: scale(1.05); }
.partner-text{
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-transform:uppercase;
  color: var(--steel);
  white-space:nowrap;
  transition: color .3s ease;
}
.partner-text:hover{ color: var(--bone); }

.press-text{
  font-size: 1rem;
  font-weight: 600;
  color: var(--steel-dim);
  white-space:nowrap;
}

/* ---------------------------------------------------------------
   Shows ao vivo — reuses .video-card (see .video-card--wide above)
   --------------------------------------------------------------- */
.live-shows{ padding: 20px 0 120px; background: var(--void); }
.live-shows .section-head{ margin-bottom: 40px; }

/* ---------------------------------------------------------------
   Gallery — fanned photo stack (see initFanGallery in script.js).
   Cards are absolutely centered via top/left 50% + negative margins
   (fixed px offsets, not transform) so GSAP's own transform (x/y/
   rotation/scale) stays free to fully own that property without any
   CSS transform to conflict/override. --card-w/--card-h and the
   .fan-layout height are tuned per breakpoint below; script.js's
   height-multiplier math assumes these exact heights (22/26/28/34/38rem).
   --------------------------------------------------------------- */
.gallery{ padding: 20px 0 130px; background: var(--void); overflow: hidden; }
.fan-layout{
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  height: 22rem;
  --card-w: 10.8rem;
  --card-h: 13.5rem;
}
@media (min-width: 480px){ .fan-layout{ height: 26rem; --card-w: 12.4rem; --card-h: 15.5rem; } }
@media (min-width: 640px){ .fan-layout{ height: 28rem; --card-w: 13.2rem; --card-h: 16.5rem; } }
@media (min-width: 768px){ .fan-layout{ height: 34rem; --card-w: 15.2rem; --card-h: 19rem; } }
@media (min-width: 1024px){ .fan-layout{ height: 38rem; --card-w: 16.8rem; --card-h: 21rem; } }

.fan-card{
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--card-w);
  height: var(--card-h);
  margin-top: calc(var(--card-h) / -2);
  margin-left: calc(var(--card-w) / -2);
  border-radius: 16px;
  overflow: hidden;
  background: var(--graphite);
  border: 1px solid var(--line-soft);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  will-change: transform;
  opacity: 0;
  cursor: pointer;
}
.fan-card img{ width:100%; height:100%; object-fit:cover; display:block; pointer-events:none; }

/* Fallback if GSAP failed to load (e.g. CDN blocked): plain wrapped row
   instead of every card stacked unanimated at dead center. */
.fan-layout.is-static{
  height:auto;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:14px;
  padding: 4px 0;
}
.fan-layout.is-static .fan-card{ position:static; margin:0; }

.gallery-nav{ display:flex; align-items:center; justify-content:center; gap:22px; margin-top: 32px; }
.gallery-arrow{
  display:flex; align-items:center; justify-content:center;
  flex: 0 0 44px;
  width:44px; height:44px; border-radius:50%;
  box-sizing: border-box;
  padding: 0;
  border: 1px solid var(--line-soft);
  background: rgba(244,242,236,0.05);
  color: var(--steel-dim);
  cursor:pointer;
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}
.gallery-arrow:hover{ border-color: var(--glass-border); color: var(--bone); background: rgba(244,242,236,0.1); }
.gallery-arrow svg{ width:18px; height:18px; flex-shrink:0; }

/* ---------------------------------------------------------------
   Lightbox — full-size photo view, opened by clicking a gallery card.
   --------------------------------------------------------------- */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 28px;
  background: rgba(4,4,5,0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease;
}
.lightbox.is-open{ opacity:1; visibility:visible; }
.lightbox__img{
  max-width: min(92vw, 820px);
  max-height: 88svh;
  border-radius: 14px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);
  transform: scale(0.96);
  transition: transform .3s ease;
}
.lightbox.is-open .lightbox__img{ transform: scale(1); }
.lightbox__close{
  position: absolute;
  top: 22px; right: 22px;
  display:flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:50%;
  box-sizing: border-box;
  padding: 0;
  border: 1px solid var(--line-soft);
  background: rgba(244,242,236,0.06);
  color: var(--bone);
  cursor:pointer;
  transition: border-color .25s ease, background .25s ease;
}
.lightbox__close:hover{ border-color: var(--glass-border); background: rgba(244,242,236,0.14); }

/* ---------------------------------------------------------------
   Contact / footer
   --------------------------------------------------------------- */
.contact{
  position:relative;
  background: var(--void-2);
  padding: 150px 0 60px;
  overflow:hidden;
}
.contact__string{
  position:absolute; top:-1px; left:0; width:100%; height:32px;
  color: var(--void);
  transform: scaleY(-1);
}
.contact__inner{ display:flex; flex-direction:column; }
.contact__col{ max-width: 520px; }
.contact__title{ margin-bottom: 14px; }
.contact__lede{
  font-size: 1.05rem;
  color: var(--mist);
  margin: 0 0 40px;
  max-width: 42ch;
}

.contact__label{
  display:block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-dim);
  margin-bottom: 10px;
}
.contact__cta{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom: 56px; }

.contact__follow{ display:flex; flex-direction:column; gap:10px; }
.follow-row{
  display:flex; align-items:center; gap:14px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: rgba(244,242,236,0.03);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.follow-row:hover{ background: var(--glass-bg); border-color: var(--glass-border); transform: translateX(4px); }
.follow-row__icon{
  width: 40px; height:40px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background: rgba(244,242,236,0.07);
  color: var(--bone);
  flex-shrink:0;
}
.follow-row__text{ display:flex; flex-direction:column; gap:2px; }
.follow-row__text strong{ font-size:0.92rem; color:var(--bone); font-weight:600; }
.follow-row__text span{ font-size:0.78rem; color:var(--steel); }

.contact__bottom{
  width:100%;
  margin-top: 90px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  display:flex; align-items:center; justify-content:space-between;
}
.contact__logo{ height: 20px; width:auto; opacity:0.7; }
.contact__bottom p{ margin:0; font-size:0.78rem; color: var(--steel-dim); }

/* ---------------------------------------------------------------
   Responsive
   --------------------------------------------------------------- */
@media (max-width: 980px){
  .stat-grid{ grid-template-columns: repeat(2,1fr); }
  .audience-card__grid{ grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px){
  .nav__links{ display:none; }
  .nav__toggle{ display:flex; }
  .nav.is-open .nav__links{
    display:flex;
    position:absolute;
    top: 58px; left:0; right:0;
    flex-direction:column;
    gap: 4px;
    background: rgba(10,10,12,0.92);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 14px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  .nav.is-open .nav__links a{ padding: 10px 14px; }
  .nav__actions .btn--sm{ display:none; }

  .videos{ padding: 105px 0 90px; }
  .about{ padding: 90px 0 90px; }
  .members{ grid-template-columns: 1fr 1fr; }
  .numbers{ padding: 100px 0 90px; }
  .audience-card{ padding: 22px; }
  .partners{ padding: 40px 0 90px; }
  .contact{ padding: 110px 0 40px; }
  .contact__bottom{ flex-direction:column; gap:12px; align-items:flex-start; }
}

@media (max-width: 480px){
  .wrap{ padding: 0 20px; }
  .hero__cta{ gap: 10px; }
  .hero__cta .btn{ justify-content:center; padding: 13px 18px; font-size: 0.85rem; }
  .top-video-card{ flex-basis: 250px; }
  .members{ grid-template-columns: 1fr; }
  .stat-grid{ grid-template-columns: 1fr; }
  .video-card{ flex-basis: 220px; }
  .video-card--wide{ flex-basis: 340px; }
  .donut-wrap{ flex-direction:column; align-items:flex-start; }
}

/* Desktop: center the section titles/subtitles and the contact column —
   these read left-aligned-by-default from the .wrap container, which felt
   accidental rather than intentional at wide widths. */
@media (min-width: 981px){
  .section-head, .numbers__head{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .contact__inner{ align-items: center; }
  .contact__col{ margin: 0 auto; text-align: center; }
  .contact__cta{ justify-content: center; }
  .contact__follow{ align-items: center; }
  .follow-row{ width: 100%; }
}
