/* ===== Tokens ===== */
:root {
  --creme: #FFFFFF;
  --creme-2: #E7DED0;
  --grafite: #2A2927;
  --grafite-2: #353331;
  --ink: #1B1A19;
  --accent: #B5432A;
  --display: "Montserrat", system-ui, sans-serif;
  --display-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --track: .28em; /* wide tracking: the signature of the display type */
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 20px;
  --section: clamp(80px, 12vw, 160px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* One identity for every photo/card corner: everything rounded, nothing square (except the
     full-bleed hero and the pill-shaped buttons/avatar circle, which are a different shape by
     convention, not a square-vs-round inconsistency). */
  --radius: 16px;
  --radius-sm: 10px;

  /* Section theme (creme by default; dark sections override below) */
  --bg: var(--creme);
  --fg: var(--ink);
  --fg-soft: #6B655D;
  --line: rgba(27, 26, 25, .12);
  --glass-bg: rgba(42, 41, 39, .06);
  --glass-border: rgba(42, 41, 39, .18);
  --glass-rim: rgba(255, 255, 255, .55);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--grafite); color: var(--fg); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; text-transform: uppercase; line-height: 1.2; letter-spacing: var(--track); margin: 0; overflow-wrap: anywhere; }
h2 { font-size: clamp(24px, 3.4vw, 44px); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ===== Section themes: creme / grafite, hard cuts with a hairline between every section =====
   Two sections that land on the same color (força+perfis, vídeos+instagram…) would otherwise
   fuse into one long, undifferentiated block; the rule marks every boundary, same color or not. */
main > section { position: relative; padding-block: var(--section); color: var(--fg); background: var(--bg); }
main > section + section { border-top: 1px solid var(--line); }
#sobre, #carreira, #galeria, #contato {
  --bg: var(--grafite);
  --fg: var(--creme);
  --fg-soft: rgba(255, 255, 255, .66);
  --line: rgba(255, 255, 255, .14);
  --glass-bg: rgba(255, 255, 255, .08);
  --glass-border: rgba(255, 255, 255, .22);
  --glass-rim: rgba(255, 255, 255, .28);
}

/* ===== Base ===== */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }

.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  font: 500 12px/1 var(--display); letter-spacing: .22em; text-transform: uppercase;
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}

/* ===== Liquid glass (frosted blur + rim light + passing sheen) ===== */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 var(--glass-rim), inset 0 -1px 0 rgba(0, 0, 0, .06), 0 10px 30px rgba(0, 0, 0, .12);
}
.btn.glass { color: var(--fg); }
.btn svg { flex: 0 0 auto; }
.btn.glass::before {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; z-index: -1;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn.glass:hover { transform: translateY(-2px); border-color: var(--accent); }
.btn.glass:hover::before { left: 130%; }
.btn.glass:active { transform: translateY(0) scale(.98); }

/* ===== Nav ===== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; color: var(--creme);
  background: rgba(42, 41, 39, .68);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .12);
}
.nav-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.nav-brand { margin-right: auto; font: 400 13px/1 var(--display); text-transform: uppercase; letter-spacing: .32em; text-decoration: none; white-space: nowrap; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; opacity: .85; }
.nav-links a:hover { opacity: 1; color: var(--accent); }
.lang-toggle {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid currentColor;
  font: 500 10px/1 var(--sans); letter-spacing: .04em; opacity: .85; transition: opacity .2s var(--ease), border-color .2s var(--ease);
}
.lang-toggle:hover { opacity: 1; border-color: var(--accent); color: var(--accent); }
.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 11px; width: 22px; height: 1.5px; background: currentColor; content: ""; transition: transform .3s var(--ease); }
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }
@media (min-width: 900px) {
  /* DOM order is brand, lang-toggle, links — flex places the toggle right before the links,
     not at the far edge. Reorder just on desktop so it sits after them, flush right. */
  .nav-links { order: 1; }
  .lang-toggle { order: 2; margin-left: 4px; }
}
@media (max-width: 899px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
    background: var(--grafite); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav-links a { font: 300 20px/1.2 var(--display); text-transform: uppercase; letter-spacing: .3em; }
  /* backdrop-filter would make the fixed menu panel size itself to the header, not the viewport */
  .nav.is-open { background: var(--grafite); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav.is-open .nav-links { opacity: 1; visibility: visible; }
  .nav.is-open .nav-toggle span { background: transparent; }
  .nav.is-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }
}

/* ===== Hero ===== */
#hero {
  position: relative; min-height: 100vh; min-height: 100svh; padding: 0;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--creme); background: var(--grafite); overflow: hidden;
  --glass-bg: rgba(255, 255, 255, .1); --glass-border: rgba(255, 255, 255, .3); --glass-rim: rgba(255, 255, 255, .35); --fg: var(--creme);
}
.hero-media, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { pointer-events: none; }
.hero-media::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(to top, var(--grafite), transparent); }
/* iOS Low Power Mode draws a play glyph when autoplay is denied; the poster is enough. */
.hero-video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.hero-content { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-title { font-size: clamp(38px, 8vw, 112px); line-height: 1.25; letter-spacing: .3em; padding-left: .3em; /* balances the trailing tracking so the name centers */ text-shadow: 0 2px 24px rgba(0,0,0,.45), 0 0 2px rgba(0,0,0,.3); }

/* ===== Sobre ===== */
.about { display: grid; gap: 40px; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; }
.about-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-text h2 { margin-bottom: 28px; }
.about-text p { font-size: clamp(17px, 1.5vw, 20px); max-width: 560px; color: var(--fg-soft); }
@media (min-width: 900px) { .about { grid-template-columns: 5fr 6fr; gap: 80px; } }
/* This title is long enough that the display type's wide tracking wraps it to 3 lines on narrow
   phones — tighten tracking (and nudge the size down) just here so it holds to 2. */
@media (max-width: 420px) { .about-text h2 { font-size: 21px; letter-spacing: .08em; } }

/* ===== Força (pilares em carrossel) ===== */
.pilar { width: min(78vw, 340px); }
.pilar figure { overflow: hidden; border-radius: var(--radius); margin-bottom: 18px; }
.pilar img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1.2s var(--ease); }
.pilar:hover img { transform: scale(1.04); }
.pilar-name { font-size: 18px; letter-spacing: .3em; margin-bottom: 8px; }
.pilar p { color: var(--fg-soft); max-width: 320px; }
/* ===== Números: individual cards, Playfair italic numeral in white, filling in while counting ===== */
/* Sets the full theme token set (not just background/color), same as the dark sections above —
   .num-card's children all read --fg/--fg-soft/--glass-*, so without this they'd inherit #marcas's
   LIGHT tokens while sitting on this dark background: ink-on-grafite is how the numerals and their
   labels went invisible before. */
.numeros {
  margin-top: var(--section); padding-block: clamp(72px, 10vw, 128px);
  --bg: var(--grafite); --fg: var(--creme); --fg-soft: rgba(255, 255, 255, .66);
  --line: rgba(255, 255, 255, .14); --glass-bg: rgba(255, 255, 255, .08); --glass-border: rgba(255, 255, 255, .22); --glass-rim: rgba(255, 255, 255, .28);
  background: var(--bg); color: var(--fg);
}
.numeros-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.numeros .sec-head { margin-bottom: 32px; }
.numeros-sub { margin-top: 8px; font-size: 13px; color: var(--fg-soft); }
/* On the individual pages .numeros isn't wrapped in its own main>section (it's a plain div right
   after #perfil-solo, which already carries the full --section bottom padding) — so it skips its
   own margin-top here, or the two paddings would stack into a near-empty 320px gap. */
#numeros .numeros { margin-top: 0; }
#numeros .sec-head { text-align: center; max-width: none; margin-inline: auto; }
/* Reused as-is both in the dark numbers band and inside the (light) perfis cards below. The
   numeral itself is always --accent (not the themed --fg): a fixed brand color reads clearly on
   either background and doesn't depend on getting the section's tokens right. */
.num-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(20px, 3vw, 32px) 16px; border-radius: var(--radius);
}
.num-card svg { margin-bottom: 14px; color: var(--fg); opacity: .8; }
.num-card strong {
  display: block; font: 400 italic clamp(32px, 4vw, 54px)/1 var(--display-serif); letter-spacing: .01em;
  color: transparent; -webkit-text-stroke: 1px var(--glass-border);
  background: linear-gradient(90deg, var(--fg) var(--p, 0%), transparent var(--p, 0%));
  -webkit-background-clip: text; background-clip: text;
}
.num-card > span:last-child { display: block; margin-top: 12px; font: 400 10.5px/1.5 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--fg-soft); }
@media (max-width: 700px) { .numeros-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (prefers-reduced-motion: reduce) { .num-card strong { --p: 100%; } }
.numeros-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 760px; margin-inline: auto; }
@media (max-width: 700px) { .numeros-grid-3 { grid-template-columns: repeat(1, 1fr); } }

/* Real audience breakdown (age range, top cities, content type) transcribed from a person's own
   Instagram Insights screenshots — plain label+bar rows, three blocks side by side on desktop. */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 980px; margin: 56px auto 0; }
.audience-grid-1 { grid-template-columns: 1fr; max-width: 420px; }
.audience-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 700px; }
.audience-block h3 { font: 400 11px/1.4 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--fg-soft); margin-bottom: 18px; }
.bar-row { margin-bottom: 14px; }
.bar-row-head { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; margin-bottom: 6px; }
.bar-row-head strong { font-weight: 500; }
.bar-track { height: 4px; border-radius: 2px; background: var(--glass-border); overflow: hidden; }
.bar-fill { height: 100%; background: var(--accent); border-radius: 2px; }
@media (max-width: 900px) { .audience-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ===== Perfis: cartões lado a lado, sempre abertos ===== */
/* Generous breathing room between one profile's CTA and the next profile's photo, plus a
   hairline divider sitting in the middle of that gap so the break reads as deliberate. */
.perfis-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(64px, 10vw, 120px); }
.perfil + .perfil { border-top: 1px solid var(--line); padding-top: clamp(64px, 10vw, 120px); }
.perfil { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.perfil-img { border-radius: var(--radius); overflow: hidden; }
.perfil-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--focus, 50% 30%); }
/* Mobile: every piece of text centered under the photo, for a calmer, more deliberate reading
   order than text left-aligned against a full-width image (desktop keeps it left, next to the photo). */
.perfil-body { text-align: center; }
.perfil-name { font-size: clamp(30px, 4.6vw, 56px); letter-spacing: .14em; line-height: 1.1; }
.perfil-name span { display: block; font-size: .42em; letter-spacing: .4em; opacity: .6; margin-top: 8px; }
.roles { height: 1.6em; overflow: hidden; margin: 6px auto 0; font: 400 13px/1.6 var(--display); letter-spacing: .32em; text-transform: uppercase; color: var(--accent); }
.roles span { display: inline-block; transition: transform .5s var(--ease), opacity .5s var(--ease); }
.roles span.is-out { transform: translateY(-100%); opacity: 0; }
.perfil-bio { max-width: 480px; margin: 18px auto 24px; font-size: 16px; color: var(--fg-soft); }
.perfil-facts { display: flex; justify-content: center; gap: 18px 32px; margin-bottom: 26px; }
.perfil-fact { flex: 1; min-width: 0; max-width: 140px; }
.perfil-fact strong { display: block; font: 400 italic clamp(38px, 5vw, 64px)/1 var(--display-serif); color: var(--accent); overflow-wrap: anywhere; }
.perfil-fact span { display: block; margin-top: 6px; font: 400 10px/1.4 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--fg-soft); }
.perfil-posters { gap: 12px; justify-content: center; }
/* mask-image on a native-touch-scrolling element silently breaks touch dragging on iOS/mobile
   Safari (a known WebKit issue — the masked layer doesn't composite for momentum scroll), so the
   fade only applies where there's a mouse to drag with in the first place. */
@media (hover: hover) and (pointer: fine) {
  .perfil-posters { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
}
.perfil-more { margin-top: 24px; }
.perfil-more span { transition: transform .3s var(--ease); }
.perfil-more:hover span { transform: translateX(4px); }
.perfil-poster { width: 110px; flex: 0 0 auto; }
.perfil-poster img, .perfil-poster-text {
  display: flex; align-items: flex-end; justify-content: center; width: 110px; aspect-ratio: 3 / 4;
  object-fit: contain; background: var(--creme-2); border-radius: var(--radius-sm); margin-bottom: 8px;
}
.perfil-poster-text { padding: 10px; text-align: center; background: var(--creme); color: var(--ink); font: 400 10px/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.perfil-poster strong { display: block; font: 400 11px/1.35 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.perfil-poster small { display: block; font-size: 10px; color: var(--fg-soft); }
@media (min-width: 900px) {
  /* Photo always on the left for both profiles (no mirroring), given more width than before.
     Stretched to match the text column's own height (not a fixed 4/5 ratio) so the two never
     mismatch — e.g. Fumassa's shorter bio used to leave the photo towering over empty space. */
  .perfil { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: stretch; }
  .perfil-img { height: 100%; min-height: 480px; max-height: 760px; }
  .perfil-img img { height: 100%; aspect-ratio: auto; }
  .perfil-body, .roles, .perfil-bio { text-align: left; }
  .roles, .perfil-bio { margin-inline: 0; }
  .perfil-facts, .perfil-posters { justify-content: flex-start; }
}

/* ===== Tabs + carrosséis ===== */
/* Fixed and centered: short labels (TV, Música…) so every category fits with no side-scroll. */
.tab-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.tab-list button { padding: 0 0 14px; font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-soft); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab-list button[aria-selected="true"] { color: var(--fg); border-color: var(--accent); }
/* No touch-action here: vertical swipes must chain to the page. overflow-y hidden keeps the row from owning them. */
.hscroll {
  display: flex; gap: 20px; overflow-x: auto; overflow-y: hidden;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: 0 var(--gutter) 8px;
}
.container .hscroll { margin-inline: calc(var(--gutter) * -1); }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { flex: 0 0 auto; }
.hscroll.is-dragging { cursor: grabbing; user-select: none; }

/* ===== Carreira ===== */
.card { width: 220px; position: relative; }
.card-media { aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--radius); background: var(--grafite-2); margin-bottom: 14px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-text .card-media { display: flex; align-items: flex-end; padding: 20px; background: var(--creme); color: var(--ink); }
.card-text .card-media span { font: 400 16px/1.4 var(--display); text-transform: uppercase; letter-spacing: .2em; }
/* Música covers are video thumbnails (4:3, horizontal) — keep their own shape instead of the
   vertical 2:3 poster crop used for moda/streaming/tv. */
[data-panel="musica"] .card-media { aspect-ratio: 4 / 3; }
.card h3 { font-size: 14px; letter-spacing: .16em; line-height: 1.35; font-weight: 400; margin-bottom: 6px; }
.card p { font-size: 14px; color: var(--fg-soft); margin: 0 0 10px; }
.tag { display: inline-block; font: 500 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--line); border-radius: 99px; }
.tag-dupla { border-color: var(--accent); color: var(--accent); }

/* ===== Marcas ===== */
.marquee { overflow: hidden; padding-block: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; width: max-content; list-style: none; margin: 0; padding: 0; animation: marquee 50s linear infinite; }
.marquee[data-dir="right"] .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
/* margin, not gap: -50% must equal exactly one copy */
.brand { flex: 0 0 auto; margin-right: clamp(48px, 6vw, 88px); transition: transform .3s var(--ease); }
.brand:hover { transform: translateY(-3px); }
.brand img { height: 34px; width: auto; max-width: 150px; object-fit: contain; }
.brand-text { font: 400 17px/1 var(--display); text-transform: uppercase; letter-spacing: .28em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Galeria em leque (alturas casam com getHeightMultiplier do gallery.js) ===== */
#galeria { overflow: hidden; }
/* z-index: 0 (not just position: relative) matters here: the centered card gets an inline
   z-index up to 10 from gallery.js's GSAP stacking, and without a z-index of its own .fan
   doesn't form a stacking context — that 10 then leaks out and out-stacks .fan-nav's arrows
   entirely (painted over AND unclickable, not just visually behind them). Giving .fan its own
   stacking context keeps every card's z-index contained inside it. */
.fan { position: relative; z-index: 0; width: 100%; max-width: 1440px; margin: 0 auto; height: 28rem; --card-w: 14rem; --card-h: 17.5rem; }
@media (min-width: 480px) { .fan { height: 32rem; --card-w: 16rem; --card-h: 20rem; } }
@media (min-width: 640px) { .fan { height: 36rem; --card-w: 17.6rem; --card-h: 22rem; } }
@media (min-width: 768px) { .fan { height: 44rem; --card-w: 20.8rem; --card-h: 26rem; } }
@media (min-width: 1024px) { .fan { height: 50rem; --card-w: 24rem; --card-h: 30rem; } }
.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);
  overflow: hidden; border-radius: var(--radius); background: var(--grafite-2); border: 1px solid var(--glass-border);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .35); will-change: transform; opacity: 0; cursor: zoom-in;
}
.fan-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.fan.is-static { height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-inline: var(--gutter); }
.fan.is-static .fan-card { position: static; margin: 0; opacity: 1; }
.fan-wrap { position: relative; }
/* Arrows sit over the fan itself, pinned to the sides and centered on its height — only
   "Ver galeria completa" stays below. The wrapper spans the fan but ignores clicks outside
   the buttons so cards underneath stay reachable. */
.fan-nav { position: absolute; inset: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding-inline: 4px; pointer-events: none; }
@media (min-width: 640px) { .fan-nav { padding-inline: 16px; } }
.fan-nav button { pointer-events: auto; }
.fan-more { text-align: center; margin-top: 32px; }
.fan-nav button, .lightbox-arrow {
  width: 52px; height: 52px; border-radius: 50%; font-size: 20px; color: var(--fg);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.fan-nav button:hover, .lightbox-arrow:hover { border-color: var(--accent); transform: translateY(-2px); }

/* ===== Galeria completa (galeria.html): grade real que rola para baixo, não o leque da home ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery-grid-item { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; }
.gallery-grid-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-grid-item:hover img { transform: scale(1.04); }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* ===== Lightbox ===== */
.lightbox { gap: 12px; touch-action: none; --fg: var(--creme); --glass-bg: rgba(255, 255, 255, .1); --glass-border: rgba(255, 255, 255, .3); }
.lightbox-img { max-width: min(92vw, 900px); max-height: 86vh; max-height: 86svh; object-fit: contain; border-radius: var(--radius); user-select: none; -webkit-user-drag: none; }
.lightbox-arrow { flex: 0 0 auto; }
@media (max-width: 640px) { .lightbox-arrow { position: absolute; bottom: 20px; } .lightbox-prev { left: calc(50% - 64px); } .lightbox-next { right: calc(50% - 64px); } }

/* ===== Vídeos ===== */
.video-card { display: block; width: 300px; text-align: left; text-decoration: none; }
.video-card-ig { width: 200px; }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--grafite); margin-bottom: 12px; }
.video-card-ig .video-thumb { aspect-ratio: 4 / 5; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-thumb.thumb-fallback img { display: none; }
.play {
  position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .45);
  -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); transition: background .3s var(--ease), transform .3s var(--ease);
}
.play::after { content: ""; position: absolute; left: 23px; top: 19px; border-style: solid; border-width: 10px 0 10px 15px; border-color: transparent transparent transparent var(--creme); }
.video-card:hover .play { background: var(--accent); transform: scale(1.06); }
.video-meta strong { display: block; font: 400 14px/1.35 var(--display); text-transform: uppercase; letter-spacing: .14em; }
.video-meta small { display: block; font-size: 13px; color: var(--fg-soft); margin-top: 6px; }

/* ===== Instagram ===== */
#instagram { padding-top: 0; }
#marcas { padding-bottom: 0; }
#forca .sec-head, #carreira .sec-head, #marcas .sec-head, #videos .sec-head, #imprensa .sec-head { text-align: center; max-width: none; margin-inline: auto; }
/* minmax(0, 1fr), not a bare 1fr: without it the track won't shrink below the carousel row's
   intrinsic width (every item side by side, unwrapped) — the whole card balloons to ~4200px
   instead of clipping the row, so it never actually scrolls, just sits flush left. Same bug
   already fixed once for .perfis-grid. */
.ig-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.ig-card { padding: 24px; border-radius: var(--radius); background: var(--glass-bg); border: 1px solid var(--glass-border); }
.ig-head { display: flex; align-items: center; gap: 16px; text-decoration: none; margin-bottom: 20px; }
.ig-avatar-wrap { display: block; width: 64px; height: 64px; border-radius: 50%; flex: 0 0 auto; }
.ig-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.ig-head strong { display: block; font: 400 16px/1.2 var(--display); text-transform: uppercase; letter-spacing: .2em; }
.ig-head small { color: var(--fg-soft); font-size: 14px; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 20px; }
.ig-grid-item { display: block; border-radius: var(--radius-sm); overflow: hidden; }
.ig-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
/* Auto-advancing carousel, same engine as every other hscroll[data-carousel] row. Instagram's
   official embed needs ~328px of width to lay out its own content without clipping anything.
   Breaks out using .ig-card's OWN padding (24px), not the page-level --gutter (48px on desktop):
   using --gutter here overshot the card's edge and bled into the next card/column entirely. */
.ig-embeds { margin: 0 -24px 20px; padding-inline: 24px; }
.ig-embed-item { flex: 0 0 auto; width: 328px; border-radius: var(--radius); overflow: hidden; }
.ig-embeds .instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; }
/* Stays single-column even on desktop (one profile's feed below the other, same as mobile) —
   a 2-column grid kept feeling cramped/crowded for two side-by-side Instagram embed carousels. */

/* ===== Na mídia (páginas individuais): capa real da matéria, mesma linguagem dos outros cards ===== */
.press-item { display: block; flex: 0 0 auto; width: 260px; text-decoration: none; }
.press-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--grafite-2); margin-bottom: 14px; }
.press-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.press-item:hover .press-media img { transform: scale(1.04); }
.press-source { display: block; font: 500 11px/1.4 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.press-title { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; }

/* ===== Contato ===== */
#contato { padding-bottom: 0; }
.contato-inner { position: relative; text-align: center; max-width: 860px; }
.contato-inner h2 { font-size: clamp(28px, 5vw, 64px); margin-bottom: 16px; }
.contato-sub { font-size: 18px; color: var(--fg-soft); }
.contato-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.footer { margin-top: var(--section); padding-top: 56px; border-top: 1px solid var(--line); font-size: 14px; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.footer-brand strong { display: block; font: 400 15px/1.3 var(--display); letter-spacing: .3em; text-transform: uppercase; margin-bottom: 10px; }
.footer-brand span, .footer-col a { color: var(--fg-soft); }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 { margin: 0 0 6px; font: 500 11px/1.4 var(--display); letter-spacing: .24em; text-transform: uppercase; }
.footer-col a { display: flex; align-items: center; gap: 8px; text-decoration: none; overflow-wrap: anywhere; }
.footer-col a svg { flex: 0 0 auto; opacity: .8; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 48px; padding-block: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--fg-soft); }

/* ===== Modal de vídeo + lightbox ===== */
.overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: var(--gutter); background: rgba(27, 26, 25, .92); }
.overlay[hidden] { display: none; }
.overlay-close { position: absolute; top: 12px; right: 12px; width: 48px; height: 48px; color: var(--creme); font-size: 30px; line-height: 1; }
.video-frame { width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }

/* ===== Revelação ao rolar ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===== Mobile: every section's text centered, not just perfis =====
   Desktop keeps each section's own left/grid alignment (untouched here); carousel rows
   (pilares, carreira, vídeos, imprensa) still start flush left — only the TEXT inside each
   card centers, the row itself still scrolls normally. */
@media (max-width: 899px) {
  .about-text { text-align: center; }
  .about-text p { margin-inline: auto; }
  .pilar { text-align: center; }
  .pilar p { margin-inline: auto; }
  .card { text-align: center; }
  .video-card { text-align: center; }
  .ig-head { flex-direction: column; text-align: center; }
  .press-item { text-align: center; }
  .footer-grid { text-align: center; }
  .footer-col { align-items: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ===== Desktop ===== */
@media (min-width: 900px) {
  :root { --gutter: 48px; }
  .card { width: 240px; }
}

/* ===== Movimento reduzido ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Beam: thin light that travels once around a card's border (our own, not a copy) =====
   A conic-gradient clipped to a 1px ring via mask, rotated by animating a registered custom
   property so the browser can interpolate the angle. Falls back to a plain static ring where
   @property or conic-gradient aren't supported (the base .glass border still shows). */
@property --beam-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.beam { position: relative; isolation: isolate; }
.beam::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 3; pointer-events: none;
  padding: 1px;
  background: conic-gradient(from var(--beam-angle), transparent 0 72%, var(--glass-rim) 82%, var(--accent) 88%, var(--glass-rim) 94%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: beam-spin 8s linear infinite;
}
@keyframes beam-spin { to { --beam-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) { .beam::after { animation: none; --beam-angle: 220deg; } }

/* ===== Tilt: card leans toward the cursor (our own vanilla version of a 3D hover card).
   script.js sets the transform on pointer move; this just smooths it and resets on leave. */
/* opacity is listed too: some tilt cards also carry .reveal, and a shorthand transition
   replaces (not merges with) .reveal's own, so its fade-in has to be re-declared here. */
.tilt { transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .9s var(--ease); will-change: transform; }
@media (prefers-reduced-motion: reduce) { .tilt { transition: none !important; transform: none !important; } }
@media (hover: none) { .tilt { transition: none; } }

/* ===== Google Translate (PT/EN toggle) =====
   Its own gadget UI is unused (#google_translate_element stays [hidden]) — our .lang-toggle button
   drives it instead — but the top banner iframe it injects into <body> on activation, and the
   inline "top" offset it sets to make room for that banner, still need suppressing by hand. */
/* Google's internal class names for this banner have changed over time (it's no longer literally
   "goog-te-banner-frame") — target any iframe it tags with its own stable "skiptranslate" marker. */
iframe.skiptranslate { display: none !important; }
body { top: 0 !important; }
.goog-tooltip, .goog-tooltip:hover, .goog-text-highlight { background: none !important; box-shadow: none !important; }
