/* =========================================================================
   Diego Freestyle — Premium Landing
   ========================================================================= */

:root {
  --bg: #0a0d0c;
  --bg-soft: #11151a;
  --bg-card: #161b21;
  --line: rgba(255,255,255,0.08);
  --text: #f5f5f3;
  --text-dim: #a4a8a3;
  --green: #00b14f;
  --green-deep: #008c3f;
  --yellow: #ffdf00;
  --yellow-soft: #ffe969;
  --gradient-brasil: linear-gradient(135deg, #00b14f 0%, #ffdf00 100%);
  --gradient-radial: radial-gradient(ellipse at top, rgba(0,177,79,0.15), transparent 60%);
  --font-display: 'Anton', 'Impact', 'Bebas Neue', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', cursive;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================================
   Loader
   ========================================================================= */
#loader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
#loader.gone { opacity: 0; visibility: hidden; }
.loader-ball svg { width: 80px; height: 80px; animation: spin 1.2s linear infinite; }
.loader-ball circle { animation: dash 1.4s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dash {
  0% { stroke-dashoffset: 226; }
  50% { stroke-dashoffset: 56; }
  100% { stroke-dashoffset: 226; }
}

/* =========================================================================
   Header
   ========================================================================= */
#main-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(10,13,12,0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
#main-header.scrolled {
  padding: 10px 0;
  background: rgba(10,13,12,0.92);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: 0.04em;
  color: var(--text);
}
.brand-mark { width: 36px; height: 36px; display: inline-flex; }
.brand-name { line-height: 1; display: flex; flex-direction: column; }
.brand-name small {
  font-size: 9px; font-family: var(--font-body); font-weight: 700;
  letter-spacing: 0.3em; color: var(--yellow); margin-top: 2px;
}

#desktop-nav ul { display: flex; gap: 4px; list-style: none; }
#desktop-nav a {
  display: inline-block;
  padding: 10px 16px;
  font-size: 14px; font-weight: 600;
  color: var(--text-dim);
  border-radius: 999px;
  transition: color .2s ease, background-color .2s ease;
}
#desktop-nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
#desktop-nav a.nav-cta {
  background: var(--yellow); color: #000;
}
#desktop-nav a.nav-cta:hover { background: var(--yellow-soft); }

#hamburger {
  width: 40px; height: 40px;
  display: none; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  background: none; border: none; border-radius: 10px;
  transition: background .2s ease;
}
#hamburger:hover { background: rgba(255,255,255,0.06); }
#hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
#hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#hamburger.open span:nth-child(2) { opacity: 0; }
#hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
#mobile-menu.open { opacity: 1; pointer-events: auto; }
#mobile-menu ul { list-style: none; text-align: center; }
#mobile-menu li { margin: 14px 0; }
#mobile-menu a {
  font-family: var(--font-display);
  font-size: 32px; letter-spacing: 0.06em;
  color: var(--text);
}
#mobile-menu a:hover { color: var(--yellow); }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: transform .2s var(--ease), background .2s ease, border-color .2s ease, color .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--yellow); color: #000;
  box-shadow: 0 8px 28px rgba(255,223,0,0.18);
}
.btn-primary:hover { background: var(--yellow-soft); box-shadow: 0 12px 36px rgba(255,223,0,0.28); }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--text); background: rgba(255,255,255,0.04); }
.btn-sm { padding: 10px 18px; font-size: 12px; }

/* =========================================================================
   Hero
   ========================================================================= */
#hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: 120px 0 80px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0,177,79,0.18), transparent 50%),
    radial-gradient(ellipse at 90% 90%, rgba(255,223,0,0.10), transparent 50%),
    var(--bg);
}
.hero-stripes {
  position: absolute; inset: 0; z-index: 0;
  display: flex; gap: 0; opacity: 0.045;
  pointer-events: none;
}
.hero-stripes span {
  flex: 1;
  background: linear-gradient(180deg, transparent, var(--yellow), transparent);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 60px; align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(0,177,79,0.12); color: var(--green);
  border: 1px solid rgba(0,177,79,0.3);
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 11vw, 168px);
  line-height: 0.86; letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.hero-title .line-1 { display: block; color: var(--text); }
.hero-title .line-2 {
  display: block;
  background: var(--gradient-brasil);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0;
}
.hero-subtitle {
  margin: 10px 0 22px;
  font-family: var(--font-hand);
  font-size: clamp(32px, 4vw, 52px);
  color: var(--yellow);
  line-height: 1; transform: rotate(-2deg);
  display: inline-block;
}
.hero-desc {
  font-size: 17px; color: var(--text-dim);
  max-width: 520px; margin-bottom: 32px;
}
.hero-desc strong { color: var(--text); font-weight: 700; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-figure {
  position: relative; aspect-ratio: 4/5; max-height: 560px;
  border-radius: 24px;
  isolation: isolate;
}
.hero-figure-ring {
  position: absolute; inset: -8px;
  border: 2px dashed var(--yellow); border-radius: 28px;
  opacity: 0.4;
  z-index: 0;
  animation: ring-rotate 60s linear infinite;
}
@keyframes ring-rotate { to { transform: rotate(360deg); } }

/* ---- Palco (decoração de fundo do hero) ---- */
.hero-stage {
  position: absolute; inset: 0;
  border-radius: 24px; overflow: hidden;
  background:
    radial-gradient(120% 70% at 50% 105%, rgba(0,177,79,0.35), transparent 60%),
    radial-gradient(80% 60% at 50% 40%, rgba(255,223,0,0.18), transparent 65%),
    linear-gradient(180deg, #0f1a14 0%, #07100b 100%);
  z-index: 1;
}
.hero-stage-glow {
  position: absolute; left: 50%; top: 48%;
  transform: translate(-50%, -50%);
  width: 78%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,223,0,0.28) 0%, transparent 65%);
  filter: blur(8px);
  animation: stage-pulse 3.6s ease-in-out infinite;
}
@keyframes stage-pulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.05); }
}
.hero-stage-rays {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 140%; aspect-ratio: 1;
  background:
    conic-gradient(
      from 0deg,
      rgba(255,223,0,0) 0deg,
      rgba(255,223,0,0.08) 12deg,
      rgba(255,223,0,0) 24deg,
      rgba(255,223,0,0.08) 36deg,
      rgba(255,223,0,0) 48deg,
      rgba(255,223,0,0.08) 60deg,
      rgba(255,223,0,0) 72deg,
      rgba(255,223,0,0.08) 84deg,
      rgba(255,223,0,0) 96deg,
      rgba(255,223,0,0.08) 108deg,
      rgba(255,223,0,0) 120deg,
      rgba(255,223,0,0.08) 132deg,
      rgba(255,223,0,0) 144deg
    );
  mask-image: radial-gradient(circle, transparent 30%, black 55%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle, transparent 30%, black 55%, transparent 80%);
  animation: ring-rotate 36s linear infinite;
  opacity: 0.6;
}
.hero-stage-floor {
  position: absolute; left: 0; right: 0; bottom: 12%;
  height: 4%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.55) 0%, transparent 70%);
  filter: blur(6px);
}
.hero-stage-floor::before {
  content: ""; position: absolute;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,223,0,0.6), transparent);
}
.hero-stage-ball {
  position: absolute; right: 12%; bottom: 14%;
  width: 18px; height: 18px;
  animation: ball-bounce 0.7s ease-in-out infinite;
}
.hero-stage-ball i {
  display: block; width: 100%; height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #fff 0%, #f2f2f0 40%, #888 100%);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
@keyframes ball-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-44px); }
}

/* Ball mark — header & footer */
.ball-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}
.ball-mark i {
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff 0%, #f2f2f0 40%, #888 100%);
  box-shadow: 0 3px 8px rgba(0,0,0,0.45);
  animation: ball-bounce-sm 1.4s ease-in-out infinite;
}
@keyframes ball-bounce-sm {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* ---- Sprite slot (frames PNG cycling) ---- */
.hero-media {
  position: absolute; inset: 0;
  z-index: 2;
  border-radius: 24px;
  overflow: hidden;
}
.hero-vid {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage-glow, .hero-stage-rays, .hero-stage-ball, .ball-mark i { animation: none; }
}
.hero-badge {
  position: absolute; top: 20px; right: 20px;
  background: var(--yellow); color: #000;
  padding: 12px 16px;
  border-radius: 14px;
  font-family: var(--font-display); font-size: 32px; line-height: 0.9;
  transform: rotate(6deg);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  z-index: 3;
}
.hero-badge small {
  display: block;
  font-family: var(--font-body); font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  margin-top: 2px;
}

.hero-marquee {
  position: relative; z-index: 2;
  margin-top: 80px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.marquee-track {
  display: flex; gap: 32px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: 0.12em;
  color: var(--text-dim);
  animation: marquee 30s linear infinite;
}
.marquee-track span:nth-child(odd) { color: var(--text); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* =========================================================================
   Sections base
   ========================================================================= */
.section { padding: 120px 0; position: relative; }
.section-dark { background: var(--bg-soft); }
.section-band {
  background: var(--gradient-brasil);
  padding: 56px 0 60px;
  color: #000;
  font-family: var(--font-display);
}
.section-eyebrow.on-band {
  color: rgba(0,0,0,0.78);
  margin-bottom: 28px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}
.section-eyebrow.center { display: block; text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.96; letter-spacing: -0.005em;
  margin-bottom: 28px; max-width: 16ch;
}
.section-title.center { text-align: center; margin: 0 auto 56px; }
.accent-green { color: var(--green); }
.accent-yellow { color: var(--yellow); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 48px; flex-wrap: wrap;
}
.section-head .section-title { margin-bottom: 0; }

/* =========================================================================
   Sobre (two-col)
   ========================================================================= */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.two-col-media { position: relative; aspect-ratio: 1/1; }
.two-col-media .floating-img-1,
.two-col-media .floating-img-2 {
  position: absolute;
  border-radius: 20px; overflow: hidden;
  object-fit: cover;
  box-shadow: 0 24px 56px rgba(0,0,0,0.4);
}
.two-col-media .floating-img-1 {
  width: 65%; height: 75%; top: 0; left: 0;
  z-index: 2;
}
.two-col-media .floating-img-2 {
  width: 55%; height: 60%; bottom: 0; right: 0;
  z-index: 1;
  border: 3px solid var(--yellow);
}
.dot-pattern {
  position: absolute; bottom: -20px; left: 30%;
  width: 140px; height: 140px;
  background-image: radial-gradient(var(--green) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: 0.5;
  z-index: 0;
}
.two-col-text p {
  color: var(--text-dim); font-size: 16px;
  margin-bottom: 18px;
}
.two-col-text p strong { color: var(--text); font-weight: 700; }
.signature {
  display: flex; align-items: center; gap: 18px;
  margin-top: 32px;
}
.signature-name {
  font-family: var(--font-hand);
  font-size: 32px; color: var(--yellow);
}
.signature-line {
  flex: 1; height: 1px; background: var(--line);
}

/* =========================================================================
   Números
   ========================================================================= */
.numbers-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 50%, rgba(0,177,79,0.10), transparent 40%),
    radial-gradient(circle at 75% 50%, rgba(255,223,0,0.08), transparent 40%);
  pointer-events: none;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.stat-card {
  padding: 36px 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  text-align: center;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-brasil);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,223,0,0.4);
}
.stat-card:hover::before { transform: scaleX(1); }
.stat-card .stat-num,
.stat-card .stat-suffix {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 92px);
  line-height: 1;
  background: var(--gradient-brasil);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.stat-card p {
  margin-top: 10px;
  font-size: 14px; color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* =========================================================================
   Vídeos
   ========================================================================= */
.videos-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.video-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
  text-decoration: none;
  color: var(--text);
}
.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,177,79,0.5);
}
.video-thumb {
  aspect-ratio: 16/10;
  background-size: cover; background-position: center;
  position: relative;
}
.video-thumb::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,13,12,0.7) 100%);
}
.play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  background: var(--yellow); color: #000;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: 0 12px 36px rgba(255,223,0,0.4);
  transition: transform .2s var(--ease);
}
.video-card:hover .play-btn { transform: translate(-50%,-50%) scale(1.08); }
.video-meta { padding: 22px 24px; }
.video-meta h3 {
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.video-meta p { color: var(--text-dim); font-size: 14px; }

/* =========================================================================
   Galeria
   ========================================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}
.gallery-item {
  overflow: hidden; border-radius: 16px;
  background: var(--bg-card);
  position: relative;
  cursor: zoom-in;
}
.gallery-item::before {
  content: ""; position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(10,13,12,0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffdf00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><path d='M21 21l-4.3-4.3'/><path d='M11 8v6M8 11h6'/></svg>");
  background-repeat: no-repeat; background-position: center;
  background-size: 16px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .25s ease, transform .25s var(--ease);
  z-index: 2;
  pointer-events: none;
}
.gallery-item:hover::before { opacity: 1; transform: translateY(0); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease), filter .3s ease;
  filter: saturate(1.1);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,177,79,0.18) 100%);
  opacity: 0; transition: opacity .3s ease;
  pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; }

/* =========================================================================
   Lightbox
   ========================================================================= */
.lightbox {
  position: fixed; inset: 0;
  z-index: 10000;
  background: rgba(5,8,7,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
  padding: 60px 24px;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-stage {
  position: relative;
  max-width: min(1100px, 92vw);
  max-height: min(82vh, 900px);
  display: flex; align-items: center; justify-content: center;
}
.lightbox-img {
  max-width: 100%; max-height: 82vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  transform: scale(.96);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .3s ease;
  background: var(--bg-card);
}
.lightbox.is-open .lightbox-img { transform: scale(1); opacity: 1; }
.lightbox-img.is-loading { opacity: 0; }

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  color: var(--text);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s var(--ease);
  z-index: 2;
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
  transform: scale(1.06);
}
.lightbox-close { top: 22px; right: 22px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-nav.prev { left: 22px; }
.lightbox-nav.next { right: 22px; }
.lightbox-nav:hover { transform: translateY(-50%) scale(1.06); }

.lightbox-meta {
  position: absolute;
  bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
}
.lightbox-counter {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--yellow);
}
.lightbox-caption:empty,
.lightbox-caption:empty + .lightbox-counter::before { display: none; }
.lightbox-caption + .lightbox-counter::before {
  content: "·";
  margin-right: 14px;
  color: var(--text-dim);
}

body.lightbox-open { overflow: hidden; }

@media (max-width: 720px) {
  .lightbox-close { top: 14px; right: 14px; width: 42px; height: 42px; }
  .lightbox-nav { width: 42px; height: 42px; }
  .lightbox-nav.prev { left: 10px; }
  .lightbox-nav.next { right: 10px; }
  .lightbox-meta { bottom: 14px; font-size: 11px; }
}

/* =========================================================================
   Quotes
   ========================================================================= */
.quotes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quote-card {
  padding: 36px 28px 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  position: relative;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.quote-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
}
.quote-card.highlight {
  background: linear-gradient(180deg, rgba(0,177,79,0.08), var(--bg-card));
  border-color: rgba(0,177,79,0.4);
}
.quote-mark {
  position: absolute; top: -20px; left: 20px;
  font-family: var(--font-display);
  font-size: 96px; line-height: 1;
  color: var(--yellow);
}
.quote-card p {
  font-size: 17px; line-height: 1.55; color: var(--text);
  margin-bottom: 22px;
  font-style: italic;
}
/* Polaroid photo */
.quote-photo {
  background: #fff;
  padding: 8px 8px 26px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.5), 0 2px 6px rgba(0,0,0,0.3);
  border-radius: 2px;
  width: 160px;
  margin: 0 auto 30px;
  transform: rotate(-2.5deg);
  transition: transform .35s var(--ease);
}
.quote-card:nth-child(2) .quote-photo { transform: rotate(1.8deg); }
.quote-card:nth-child(3) .quote-photo { transform: rotate(-1.2deg); }
.quote-card:hover .quote-photo       { transform: rotate(0deg) scale(1.04); }
.quote-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

/* Footer — só texto, sem avatar */
.quote-card footer {
  display: flex; flex-direction: column; gap: 3px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.quote-card footer strong {
  font-family: var(--font-display);
  font-size: 18px; letter-spacing: 0.04em;
  color: var(--yellow);
  line-height: 1.1;
}
.quote-card.highlight footer strong { color: var(--green); }
.quote-card footer small {
  font-size: 11px; color: var(--text-dim);
  letter-spacing: 0.1em; text-transform: uppercase;
}

/* =========================================================================
   Brands logos (Apareceu em)
   ========================================================================= */
.brands-logos {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: 36px 56px;
}
.brands-logos img {
  height: 48px; width: auto; max-width: 180px;
  object-fit: contain;
  /* deixa qualquer logo PNG colorida virar monocromática preta sobre o band */
  filter: brightness(0) invert(0);
  opacity: 0.78;
  transition: opacity .25s ease, transform .25s var(--ease), filter .25s ease;
}
.brands-logos img:hover {
  opacity: 1;
  transform: translateY(-3px);
  filter: brightness(0) invert(0);
}
@media (max-width: 720px) {
  .brands-logos { gap: 24px 32px; }
  .brands-logos img { height: 36px; max-width: 130px; }
}

/* =========================================================================
   Contato
   ========================================================================= */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  position: relative; overflow: hidden;
}
.contact-card::before {
  content: ""; position: absolute; top: -100px; right: -100px;
  width: 320px; height: 320px;
  background: var(--gradient-brasil);
  filter: blur(80px); opacity: 0.18;
  pointer-events: none;
}
.contact-text { position: relative; }
.contact-text p {
  color: var(--text-dim); font-size: 16px;
  margin-bottom: 28px;
}
.contact-channels {
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 28px;
}
.contact-channel {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .2s ease, background .2s ease;
}
.contact-channel:hover {
  border-color: var(--yellow);
  background: rgba(255,255,255,0.05);
}
.contact-channel i {
  font-size: 22px; color: var(--yellow);
  width: 32px; text-align: center;
}
.contact-channel strong { display: block; font-size: 14px; color: var(--text); }
.contact-channel span { font-size: 13px; color: var(--text-dim); }

.social-row {
  display: flex; gap: 10px;
}
.social-row a {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 16px;
  color: var(--text-dim);
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.social-row a:hover {
  color: #000; background: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-2px);
}

.contact-form {
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.contact-form label {
  display: flex; flex-direction: column; gap: 6px;
}
.contact-form span {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim);
}
.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  transition: border-color .2s ease, background .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: rgba(255,255,255,0.05);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form .btn { margin-top: 8px; align-self: flex-start; position: relative; }
.contact-form .btn .btn-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(0,0,0,0.25); border-top-color: #000;
  border-radius: 50%;
  display: none;
  animation: spin 0.8s linear infinite;
}
.contact-form .btn.is-busy .btn-label { opacity: 0.6; }
.contact-form .btn.is-busy .btn-spinner { display: inline-block; }
.contact-form .btn.is-busy i { display: none; }
.contact-form .btn:disabled { cursor: not-allowed; transform: none; }
.form-feedback { font-size: 13px; color: var(--green); min-height: 18px; }
.form-feedback.error { color: #ff6b6b; }

/* =========================================================================
   Footer
   ========================================================================= */
#footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; text-align: center;
}
.footer-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 20px; letter-spacing: 0.08em;
}
.footer-brand .brand-mark { width: 32px; height: 32px; }
#footer p { color: var(--text-dim); font-size: 13px; }
.footer-credit { font-size: 12px; opacity: 0.6; }

/* =========================================================================
   Animation Utilities (used by ScrollTrigger)
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(40px); }
.reveal.in { opacity: 1; transform: translateY(0); transition: opacity .9s var(--ease), transform .9s var(--ease); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 980px) {
  .section { padding: 84px 0; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-figure { max-width: 480px; margin: 0 auto; }
  .two-col { grid-template-columns: 1fr; gap: 50px; }
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-card { padding: 36px; grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  #desktop-nav { display: none; }
  #hamburger { display: flex; }
  .section { padding: 64px 0; }
  .hero-title { font-size: clamp(56px, 16vw, 84px); }
  .hero-eyebrow { font-size: 10px; letter-spacing: 0.14em; }
  .videos-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 28px 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gallery-item.wide { grid-column: span 2; }
  .gallery-item.tall { grid-row: span 1; }
  .contact-card { padding: 28px; border-radius: 22px; }
  .hero-badge { font-size: 22px; padding: 8px 12px; }
  .marquee-track { font-size: 18px; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .hero-figure-ring { animation: none; }
}
