@font-face {
  font-family: 'Authentic Signature';
  src: url('../fonts/authentic-signature.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:      #E8000E;
  --red-dark: #9B0009;
  --black:    #080808;
  --bg:       #0f0f0f;
  --bg-warm:  #0d0707;
  --card:     #181818;
  --card2:    #212121;
  --border:   rgba(255,255,255,0.1);
  --text:     #ffffff;
  --muted:    rgba(255,255,255,0.55);
  --radius:   12px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── SECTION TITLES ─── */
.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.75;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 20px;
  left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 32px;
  pointer-events: none;
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.navbar.hidden {
  transform: translateY(calc(-100% - 40px));
}
/* hero (topo, fundo claro) */
.nav-container {
  pointer-events: all;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 10px 10px 10px 26px;
  background: rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 100px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.6);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.nav-logo img {
  height: 19px;
  filter: brightness(0);
  transition: filter 0.3s ease;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(10,10,10,0.62);
  transition: color var(--transition);
}
.nav-links a:hover { color: #0a0a0a; }

/* após rolar (seções escuras) */
.navbar.scrolled .nav-container {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 4px 32px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.07);
}
.navbar.scrolled .nav-logo img { filter: none; }
.navbar.scrolled .nav-links a { color: rgba(255,255,255,0.65); }
.navbar.scrolled .nav-links a:hover { color: #fff; }
.nav-ctas {
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-nav-marca {
  background: #0a0a0a;
  color: #fff;
  border-radius: 100px;
  padding: 8px 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.btn-nav-marca:hover { background: #333; transform: translateY(-1px); }
.navbar.scrolled .btn-nav-marca { background: rgba(255,255,255,0.15); }
.navbar.scrolled .btn-nav-marca:hover { background: rgba(255,255,255,0.25); }
.btn-nav-filled {
  background: var(--red) !important;
  color: #fff !important;
  border-radius: 100px !important;
  padding: 8px 18px !important;
  font-weight: 600 !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 13px !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.btn-nav-filled:hover { background: #c8000c !important; transform: translateY(-1px); }
.btn-nav-login {
  border: 1.5px solid rgba(10,10,10,0.2);
  border-radius: 100px;
  padding: 7px 16px;
  color: rgba(10,10,10,0.6);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  margin-left: 8px;
  transition: border-color var(--transition), color var(--transition);
}
.btn-nav-login:hover { border-color: rgba(10,10,10,0.4); color: #0a0a0a; }
.navbar.scrolled .btn-nav-login { border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.65); }
.navbar.scrolled .btn-nav-login:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: rgba(10,10,10,0.7);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── HERO ─── */
.hero {
  min-height: 112vh;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 0 40px;
}

/* ─── PILL BUTTON ─── */
.hero-pill {
  text-align: center;
  margin-bottom: 8px;
  z-index: 2;
}
.pill-btn {
  display: inline-flex;
  align-items: center;
  background: rgba(20,20,20,0.75);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 22px;
  border-radius: 100px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--transition), border-color var(--transition);
}
.pill-btn:hover {
  background: rgba(232,0,14,0.15);
  border-color: rgba(232,0,14,0.4);
}

/* ─── HERO ISLANDS ─── */
.hero-islands-wrap {
  position: relative;
  width: 96%;
  max-width: 1100px;
  aspect-ratio: 1.55 / 1;
  margin: 0 auto;
}
.ilha {
  position: absolute;
  cursor: pointer;
}
.ilha-float {
  width: 100%;
}
/* ── LABELS DAS ILHAS ── */
.ilha-label {
  position: absolute;
  font-family: 'Authentic Signature', cursive;
  font-size: 32px;
  font-weight: normal;
  color: #111;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  text-shadow: 0 1px 10px rgba(255,255,255,0.7);
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-duration: 0.6s;
}
/* Educação + Digital — label na ESQUERDA */
.ilha-educacao .ilha-label,
.ilha-digital .ilha-label {
  top: 44%;
  right: calc(100% + 18px);
  left: auto;
  transform: translateY(-50%);
  text-align: right;
  animation-name: labelFromLeft;
}
/* Mundi + Evento — label na DIREITA */
.ilha-mundi .ilha-label,
.ilha-evento .ilha-label {
  top: 44%;
  left: calc(100% + 18px);
  right: auto;
  transform: translateY(-50%);
  text-align: left;
  animation-name: labelFromRight;
}
/* Licenciamento — label ACIMA da ilha */
.ilha-licenciamento .ilha-label {
  top: -13%;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  text-align: center;
  animation-name: labelFromTop;
}
/* delays escalonados */
.ilha-educacao .ilha-label      { animation-delay: 0.5s;  }
.ilha-mundi .ilha-label         { animation-delay: 0.7s;  }
.ilha-licenciamento .ilha-label { animation-delay: 0.9s;  }
.ilha-digital .ilha-label       { animation-delay: 1.1s;  }
.ilha-evento .ilha-label        { animation-delay: 1.3s;  }

@keyframes labelFromLeft {
  from { opacity: 0; transform: translateX(-16px) translateY(-50%); }
  to   { opacity: 1; transform: translateX(0)     translateY(-50%); }
}
@keyframes labelFromRight {
  from { opacity: 0; transform: translateX(16px)  translateY(-50%); }
  to   { opacity: 1; transform: translateX(0)     translateY(-50%); }
}
@keyframes labelFromTop {
  from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0);     }
}

/* ── SETAS MÃO-LIVRE (loop + cabeça hachurida) ── */
.ilha-arrow {
  position: absolute;
  z-index: 9;
  pointer-events: none;
  overflow: visible;
  opacity: 0;
  animation-fill-mode: forwards;
}
/* Educação + Digital — seta → com loop */
.ilha-educacao .ilha-arrow,
.ilha-digital .ilha-arrow {
  width: 200px; height: 90px;
  top: 20%; left: -128px;
  animation: arrowFadeIn 0.5s ease forwards, arrowPulseH 3s ease-in-out infinite;
}
/* Mundi + Evento — seta ← com loop */
.ilha-mundi .ilha-arrow,
.ilha-evento .ilha-arrow {
  width: 200px; height: 90px;
  top: 20%; right: -128px; left: auto;
  animation: arrowFadeIn 0.5s ease forwards, arrowPulseHR 3s ease-in-out infinite;
}
/* Licenciamento — seta ↓ com loop */
.ilha-licenciamento .ilha-arrow {
  width: 90px; height: 190px;
  top: -110px; left: 50%;
  transform: translateX(-50%);
  animation: arrowFadeIn 0.5s ease forwards, arrowPulseV 3s ease-in-out infinite;
}

/* delays escalonados das setas */
.ilha-educacao .ilha-arrow      { animation-delay: 0.82s, 1.35s; }
.ilha-mundi .ilha-arrow         { animation-delay: 1.02s, 1.55s; }
.ilha-licenciamento .ilha-arrow { animation-delay: 1.22s, 1.75s; }
.ilha-digital .ilha-arrow       { animation-delay: 1.42s, 1.95s; }
.ilha-evento .ilha-arrow        { animation-delay: 1.62s, 2.15s; }

@keyframes arrowFadeIn {
  from { opacity: 0; }
  to   { opacity: 0.88; }
}
@keyframes arrowPulseH {
  0%, 100% { transform: translateX(0);    opacity: 0.88; }
  50%       { transform: translateX(6px); opacity: 0.55; }
}
@keyframes arrowPulseHR {
  0%, 100% { transform: translateX(0);     opacity: 0.88; }
  50%       { transform: translateX(-6px); opacity: 0.55; }
}
@keyframes arrowPulseV {
  0%, 100% { transform: translateX(-50%) translateY(0);    opacity: 0.88; }
  50%       { transform: translateX(-50%) translateY(7px); opacity: 0.55; }
}

.ilha:hover .ilha-arrow { animation-play-state: running, paused; opacity: 1 !important; }
.ilha:hover .ilha-label { opacity: 0.8; }
.ilha-float img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 18px rgba(232,0,14,0.55)) drop-shadow(0 0 40px rgba(232,0,14,0.25));
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), filter 0.35s ease;
}
.ilha:hover .ilha-float img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 28px rgba(232,0,14,0.75)) drop-shadow(0 0 55px rgba(232,0,14,0.4));
}

/* Float animation */
@keyframes islandFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.ilha-educacao      .ilha-float { animation: islandFloat 3.8s ease-in-out infinite; }
.ilha-mundi         .ilha-float { animation: islandFloat 4.2s ease-in-out infinite 0.7s; }
.ilha-licenciamento .ilha-float { animation: islandFloat 3.5s ease-in-out infinite 0.3s; }
.ilha-digital       .ilha-float { animation: islandFloat 4.0s ease-in-out infinite 1.1s; }
.ilha-evento        .ilha-float { animation: islandFloat 3.7s ease-in-out infinite 0.5s; }
.ilha:hover .ilha-float { animation-play-state: paused; }

/* Island positions */
.ilha-educacao      { width: 32%; top: 10%;   left: 10%; }
.ilha-mundi         { width: 32%; top: 10%;   right: 10%; }
.ilha-licenciamento { width: 32%; top: 30%;   left: 34%; z-index: 2; }
.ilha-digital       { width: 32%; bottom: 10%; left: 10%; }
.ilha-evento        { width: 32%; bottom: 10%; right: 10%; }

/* ─── ILHA MODAL ─── */
/* ════════════════════════════════
   ILHA MODAL FULLSCREEN
   ════════════════════════════════ */
.ilha-modal-fs {
  position: fixed;
  inset: 0;
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  background: rgba(0,0,0,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
}
.ilha-modal-fs.open {
  opacity: 1;
  pointer-events: all;
}

/* popup container */
.ilha-modal-fs-popup {
  position: relative;
  width: 100%;
  max-width: 1140px;
  height: 100%;
  max-height: 740px;
  border-radius: 20px;
  overflow: hidden;
}

/* background slides */
.ilha-modal-fs-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.ilha-modal-fs-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.ilha-modal-fs-bg-slide.active { opacity: 0.65; }

/* dark gradient overlay */
.ilha-modal-fs-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,0.65) 100%
  );
}

/* close */
.ilha-modal-fs-close {
  position: absolute;
  top: 20px; right: 20px;
  z-index: 20;
  width: 38px; height: 38px;
  border-radius: 10px;
  border: none;
  background: #E8000E;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.ilha-modal-fs-close:hover { background: #c0000b; transform: scale(1.08); }

/* arrows */
.ilha-modal-fs-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 20;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.45);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  backdrop-filter: blur(8px);
}
.ilha-modal-fs-arrow:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-50%) scale(1.08);
}
.ilha-modal-fs-arrow svg { width: 22px; height: 22px; }
.ilha-modal-fs-prev { left: 28px; }
.ilha-modal-fs-next { right: 28px; }

/* dots */
.ilha-modal-fs-dots {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.ilha-modal-fs-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.ilha-modal-fs-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* content */
.ilha-modal-fs-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 100%;
  max-width: 700px;
  padding: 0 32px;
  color: #fff;
  text-align: center;
}

/* eyebrow */
.ilha-modal-fs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  margin-bottom: 20px;
}
.ilha-modal-fs-eyebrow-icon {
  width: 26px; height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(232,0,14,0.5));
}
.ilha-modal-fs-eyebrow span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.ilha-modal-fs-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: 0;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

/* divider */
.ilha-modal-fs-divider {
  width: 48px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin: 18px auto;
}

.ilha-modal-fs-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin: 0 auto 28px;
  max-width: 500px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}
.ilha-modal-fs-numbers {
  display: flex;
  gap: 0;
  flex-wrap: nowrap;
  margin-bottom: 32px;
  justify-content: center;
}
.ilha-modal-fs-num {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 32px;
  position: relative;
}
.ilha-modal-fs-num + .ilha-modal-fs-num::before {
  content: '';
  position: absolute;
  left: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: rgba(255,255,255,0.2);
}
.ilha-modal-fs-num-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.ilha-modal-fs-num-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.ilha-modal-fs-cta-wrap { display: flex; justify-content: center; }
.ilha-modal-fs-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--red);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.ilha-modal-fs-cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(232,0,14,0.35);
}

/* responsive */
@media (max-width: 768px) {
  .ilha-modal-fs-content { padding: 0 20px; max-width: 100%; }
  .ilha-modal-fs-arrow { width: 40px; height: 40px; }
  .ilha-modal-fs-arrow:hover { transform: translateY(-50%) scale(1); }
  .ilha-modal-fs-prev { left: 12px; }
  .ilha-modal-fs-next { right: 12px; }

  /* RAL_1819: scale down and re-center so subject isn't cropped on mobile */
  .ilha-modal-fs-bg-slide[data-slide-name="RAL_1819"] {
    background-size: cover !important;
    background-position: 65% 0% !important;
  }

  /* IMG_6301: 30% zoom, shifted left on mobile */
  .ilha-modal-fs-bg-slide[data-slide-name="IMG_6301"] {
    transform: scale(1.3);
    transform-origin: center top;
    background-position: 20% 10% !important;
  }

  /* DSC02952: 160% zoom on mobile */
  .ilha-modal-fs-bg-slide[data-slide-name="Copy of DSC02952 2"] {
    background-size: 160% auto !important;
    background-position: center 20% !important;
  }

  /* @desculpes-139: 30% zoom, shifted right on mobile */
  .ilha-modal-fs-bg-slide[data-slide-name="@desculpes-139"] {
    transform: scale(1.3);
    transform-origin: center top;
    background-position: 80% 60% !important;
  }
}

@media (max-width: 600px) {
  .ilha-modal-fs-content {
    padding: 0 12px;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .ilha-modal-fs-eyebrow { margin-bottom: 10px; padding: 5px 12px 5px 6px; }
  .ilha-modal-fs-eyebrow-icon { width: 20px; height: 20px; }
  .ilha-modal-fs-eyebrow span { font-size: 9px; }
  .ilha-modal-fs-content h2 { font-size: clamp(26px, 7vw, 38px); }
  .ilha-modal-fs-divider { margin: 10px auto; }
  .ilha-modal-fs-content p {
    font-size: 12px;
    margin-bottom: 14px;
    line-height: 1.55;
  }
  .ilha-modal-fs-numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 16px;
  }
  .ilha-modal-fs-num {
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,0.12);
  }
  .ilha-modal-fs-num + .ilha-modal-fs-num::before { display: none; }
  .ilha-modal-fs-num-value { font-size: clamp(20px, 5.5vw, 28px); }
  .ilha-modal-fs-num-label { font-size: 8px; letter-spacing: 0.08em; }
  .ilha-modal-fs-cta { padding: 11px 24px; font-size: 13px; }
}

/*
   ILHA MODAL — dark premium
   ════════════════════════════════ */
.ilha-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.ilha-modal.open {
  opacity: 1;
  pointer-events: all;
}
.ilha-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.ilha-modal-box {
  position: relative;
  background: #0c0c0f;
  border-radius: 28px;
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  max-width: 940px;
  width: 92%;
  max-height: 88vh;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  transform: scale(0.93) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34,1.15,0.64,1);
  box-shadow: 0 48px 120px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04) inset;
}
.ilha-modal.open .ilha-modal-box {
  transform: scale(1) translateY(0);
}
.ilha-modal-close {
  position: absolute;
  top: 18px; right: 22px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  font-size: 18px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
  z-index: 10;
}
.ilha-modal-close:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

/* ── LEFT: carousel full-bleed ── */
.ilha-modal-left {
  flex: 0 0 44%;
  position: relative;
  min-width: 0;
  min-height: 520px;
  overflow: hidden;
}
.ilha-carousel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}
.ilha-carousel-track {
  flex: 1;
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.ilha-carousel-slide {
  flex: 0 0 100%;
  height: 100%;
}
.carousel-ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #141418 0%, #1e1e24 60%, #0f0f12 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.carousel-ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(232,0,14,0.08) 0%, transparent 65%);
}
.carousel-ph span {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.18);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
/* nav overlay — sits on top of the image */
.ilha-carousel-nav {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 24px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
  z-index: 2;
}
.carousel-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.carousel-btn:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.carousel-btn svg { width: 13px; height: 13px; }
.carousel-dots { display: flex; gap: 6px; align-items: center; }
.cdot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: background 0.25s, transform 0.25s, width 0.25s;
}
.cdot.active {
  background: var(--red);
  transform: scale(1.4);
}

/* ── RIGHT: info + numbers ── */
.ilha-modal-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 48px 52px 44px;
  min-width: 0;
  overflow-y: auto;
  border-left: 1px solid rgba(255,255,255,0.05);
}
.ilha-modal-icon-wrap {
  width: 48px;
  margin-bottom: 24px;
  flex-shrink: 0;
}
.ilha-modal-icon-wrap img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(232,0,14,0.5)) brightness(1.1);
}
.ilha-modal-right h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.ilha-modal-right > p {
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  color: rgba(255,255,255,0.42);
  line-height: 1.85;
  margin-bottom: 0;
}
/* thin hairline between text and numbers */
.ilha-modal-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 32px 0;
  flex-shrink: 0;
}
.ilha-modal-numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.imn-stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 0;
}
.imn-stat:nth-child(odd) {
  padding-right: 24px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.imn-stat:nth-child(even) {
  padding-left: 24px;
}
.imn-stat:nth-child(1),
.imn-stat:nth-child(2) {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.imn-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}
.imn-value em {
  font-style: normal;
  color: var(--red);
}
.imn-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ilha-modal-saiba-mais {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 13px 28px;
  background: var(--red);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  align-self: flex-start;
}
.ilha-modal-saiba-mais:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,0,14,0.3);
}
.ilha-modal-saiba-mais svg { flex-shrink: 0; }
.hero-banner {
  background: var(--red);
  padding: 16px 24px;
  text-align: center;
}
.hero-banner span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(13px, 2.2vw, 18px);
  font-weight: 700;
  letter-spacing: 0.08em;
  display: block;
}

/* ─── IDIOMAS ─── */
.lang-switcher {
  position: fixed;
  top: 26px;
  right: 44px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 20px;
}
.lang-btn {
  background: none;
  border: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(10,10,10,0.4);
  cursor: pointer;
  transition: color 0.2s;
  text-transform: uppercase;
  padding: 0;
  line-height: 1;
}
.lang-btn:hover { color: rgba(10,10,10,0.8); }
.lang-btn.active { color: var(--red); font-size: 15px; }
/* em seções escuras, os botões ficam brancos */
.lang-switcher:not(.lang-on-light) .lang-btn { color: rgba(255,255,255,0.45); }
.lang-switcher:not(.lang-on-light) .lang-btn:hover { color: #fff; }
.lang-switcher:not(.lang-on-light) .lang-btn.active { color: var(--red); }

/* ─── SECTION TIMELINE ─── */
.section-timeline {
  overflow: hidden;
  background: var(--red);
  padding: 16px 0;
}
.section-timeline > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.section-timeline .timeline {
  display: flex;
}
.section-timeline .timeline-item {
  flex: 1;
  padding: 28px 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: background 0.25s ease;
}
.section-timeline .timeline-item:nth-child(1) { background: #a00009; }
.section-timeline .timeline-item:nth-child(2) { background: #b3000a; }
.section-timeline .timeline-item:nth-child(3) { background: #c5000c; }
.section-timeline .timeline-item:nth-child(4) { background: #d8000d; }
.section-timeline .timeline-item:nth-child(5) { background: #E8000E; }
.section-timeline .timeline-item.tl-active,
.section-timeline .timeline-item:hover {
  filter: brightness(1.1);
}
.section-timeline .tl-content {
  width: 100%;
}
.section-timeline .tl-year {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0;
  display: block;
}
.section-timeline .tl-sep {
  display: flex;
  align-items: center;
  margin: 14px 0 16px;
}
.section-timeline .tl-sep::before {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.45);
}
.section-timeline .tl-sep::after {
  content: '';
  display: block;
  width: 18px;
  height: 14px;
  margin-left: 6px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20'%3E%3Cpolyline points='1,1 11,10 1,19' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.section-timeline .timeline-item p {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
  text-align: left;
  margin: 0;
}

/* ─── NOSSA CULTURA ─── */
.cultura {
  padding: 110px 0 120px;
  position: relative;
  background: #000;
  overflow: clip;
  overflow-clip-margin: 0px;
}
.cultura::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/foto-time.jpg') center / cover no-repeat;
  background-attachment: fixed;
  opacity: 0.26;
  filter: contrast(1.35) saturate(1.1);
  z-index: 0;
}
.cultura .container {
  position: relative;
  z-index: 1;
}
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
  padding-top: 16px;
  margin-bottom: 0;
}
.mvv-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 36px 30px;
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  position: relative;
  z-index: 0;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform 0.32s cubic-bezier(0.34, 1.6, 0.64, 1), box-shadow 0.32s ease, border-color 0.32s ease, background 0.32s ease;
}
.mvv-card:hover {
  transform: translateY(-8px) scale(1.013);
  z-index: 10;
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}
.mvv-card.reveal {
  transform: translateY(50px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
  transition-delay: var(--delay, 0s);
}
.mvv-card.reveal.visible {
  transform: translateY(0);
}
.mvv-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.mvv-card p {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  line-height: 1.75;
}

/* Timeline */
.timeline-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 64px;
}
.timeline {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  flex: 1;
  border-radius: var(--radius);
  overflow: hidden;
}
.timeline::-webkit-scrollbar { display: none; }
.timeline.dragging { cursor: grabbing; scroll-behavior: auto; }
.timeline-item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  box-sizing: border-box;
}
.timeline-item:nth-child(1) { background: #6b0007; }
.timeline-item:nth-child(2) { background: #8f0009; }
.timeline-item:nth-child(3) { background: #b3000b; }
.timeline-item:nth-child(4) { background: #d4000d; }
.timeline-item:nth-child(5) { background: #E8000E; }
.timeline-item:hover { filter: brightness(1.1); }
.tl-year {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 14px;
}
.timeline-item p {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
}
.tl-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
.tl-arrow:hover { background: rgba(255,255,255,0.14); color: #fff; }
.tl-prev { margin-right: 14px; }
.tl-next { margin-left: 14px; }
.tl-arrow svg { width: 16px; height: 16px; }

/* ─── NOSSOS NÚMEROS ─── */
.numeros {
  padding: 100px 0 110px;
  background: var(--black);
  background-image: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(232,0,14,0.06) 0%, transparent 70%);
}
.numeros-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  text-align: center;
  margin-bottom: 12px;
}
.numeros .section-title { margin-bottom: 56px; }

/* ── Bento grid ── */
.numeros-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.numeros-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 32px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  transition: background 0.25s ease, transform 0.25s ease;
  position: relative;
  min-height: 140px;
}
.numeros-block:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-3px);
}
.numeros-block:hover .numeros-block-value { color: var(--red); }

/* Bento spans — row 1: featured (2col) + 2 cards */
.numeros-block:nth-child(1) { grid-column: span 2; min-height: 180px; justify-content: center; }
/* row 2: 2 cards + medium (2col) */
.numeros-block:nth-child(6) { grid-column: span 2; }
/* row 3: two 2-col cards */
.numeros-block:nth-child(7) { grid-column: span 2; }
.numeros-block:nth-child(8) { grid-column: span 2; }

.numeros-block-value {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 3.5vw, 56px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  transition: color 0.22s ease;
}
.numeros-block-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
}
.numeros-ilha-tag {
  font-family: 'Authentic Signature', cursive;
  font-size: 32px;
  font-weight: normal;
  color: var(--tag-color);
  line-height: 1;
  margin-bottom: -4px;
}

@media (max-width: 900px) {
  .numeros-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .numeros-block:nth-child(1) { grid-column: span 2; }
  .numeros-block:nth-child(6),
  .numeros-block:nth-child(7),
  .numeros-block:nth-child(8) { grid-column: span 1; }
  .numeros-block { padding: 28px 22px; min-height: 120px; }
}

@media (max-width: 540px) {
  .numeros-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .numeros-block { padding: 22px 18px; min-height: 100px; }
  .numeros-block-value { font-size: clamp(32px, 9vw, 48px); }
  .numeros-ilha-tag { font-size: 20px; }
}

/* ─── QUEM FAZ ACONTECER ─── */
.team {
  padding: 96px 0;
  background: #080808;
  transition: background-color 0.5s ease-out;
  position: relative;
}
.team.lit { background: #ffffff; }
.team .container {
  opacity: 0;
  transition: opacity 0.4s ease-out 0.1s;
}
.team.lit .container { opacity: 1; }
.team .section-title { color: #080808; }
.team .section-subtitle { color: rgba(8,8,8,0.55); }
.team .team-text p { color: rgba(8,8,8,0.65); }
.team .team-text strong { color: #080808; }
.team-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}
.acc-item {
  border: 1px solid rgba(8,8,8,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 10px;
  transition: border-color var(--transition);
}
.acc-item.active,
.acc-item:hover { border-color: var(--red); }
.acc-btn {
  width: 100%;
  background: #f7f7f7;
  border: none;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  color: #080808;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  text-align: left;
  transition: background var(--transition);
}
.acc-item.active .acc-btn { background: var(--red); color: #fff; }
.acc-btn:hover { background: #efefef; }
.acc-item.active .acc-btn:hover { background: #c8000c; }
.acc-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(8,8,8,0.1);
  flex-shrink: 0;
}
.acc-item.active .acc-avatar { background: rgba(255,255,255,0.2); }
.acc-btn span { flex: 1; }
.acc-arrow {
  width: 16px; height: 16px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: rgba(8,8,8,0.4);
}
.acc-item.active .acc-arrow { transform: rotate(180deg); color: rgba(255,255,255,0.8); }
.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.acc-item.active .acc-content { max-height: 320px; }
.acc-content-inner {
  display: flex;
  align-items: stretch;
  gap: 28px;
  padding: 24px 24px;
  background: #f2f2f2;
}
.acc-photo {
  flex: 0 0 180px;
  height: 230px;
  border-radius: 12px;
  background-size: cover;
  background-position: center top;
}
.acc-bio {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 13px;
  color: rgba(8,8,8,0.5);
  line-height: 1.5;
}
.acc-bio strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #080808;
  margin-bottom: 4px;
}
.acc-bio p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(8,8,8,0.65);
  line-height: 1.7;
  background: transparent;
  padding: 0;
}
.team-text { padding-top: 8px; position: relative; }
.team-text p {
  color: rgba(255,255,255,0.72);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.team-text strong { color: #fff; }

/* ─── TEAM PROFILE PANEL ─── */
.team-default-text {
  transition: opacity 0.3s ease;
}
.team-default-text.hidden {
  opacity: 0;
  pointer-events: none;
  display: none;
}
.team-profile {
  display: none;
  gap: 20px;
  align-items: flex-start;
}
.team-profile.visible {
  display: flex;
  animation: teamProfileIn 0.38s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes teamProfileIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.team-profile-photo {
  flex: 0 0 42%;
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center top;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}
.team-profile-info {
  flex: 1;
  padding-top: 4px;
}
.team-profile-info h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #080808;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.profile-role {
  display: block;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.profile-bio {
  color: rgba(8,8,8,0.65) !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  margin-bottom: 0 !important;
}

/* ─── GLOBAL LIGHT MODE ─── */
/* Todas as seções ficam brancas + texto preto em light mode */
body { transition: background-color 0.7s ease; }
body.global-light { background: #ffffff; }

body.global-light .numeros,
body.global-light .casting,
body.global-light .section-timeline,
body.global-light .midia-marcas-combined,
body.global-light .midia,
body.global-light .cultura,
body.global-light .contato {
  background: #ffffff !important;
  background-image: none !important;
}
body.global-light .section-title,
body.global-light .section-subtitle,
body.global-light .tl-year,
body.global-light .timeline-item p,
body.global-light .stat-number,
body.global-light .stat-label,
body.global-light .stat-featured-meta,
body.global-light .numeros-eyebrow,
body.global-light .casting-title,
body.global-light .casting-desc,
body.global-light .mvv-card p,
body.global-light .mvv-label { color: #080808 !important; }
body.global-light .marcas-integrated-label span { color: rgba(0,0,0,0.4) !important; }
body.global-light .marcas-integrated { border-top-color: rgba(0,0,0,0.1) !important; }
body.global-light .marcas-integrated-label::before,
body.global-light .marcas-integrated-label::after { background: rgba(0,0,0,0.1) !important; }
body.global-light .mvv-card { background: rgba(0, 0, 0, 0.06) !important; border-color: rgba(0, 0, 0, 0.12) !important; backdrop-filter: blur(24px) saturate(1.4) !important; -webkit-backdrop-filter: blur(24px) saturate(1.4) !important; box-shadow: 0 4px 32px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.6) !important; }
body.global-light .stat-block,
body.global-light .stat-featured { background: #f5f5f5 !important; border-color: rgba(0,0,0,0.08) !important; }
/* midia cards are full-bleed images — text is always white over dark overlay, no override needed */
body.global-light .marcas-marquee img { filter: brightness(0) !important; opacity: 0.5 !important; }
body.global-light .casting { background: #f8f8f8 !important; }
body.global-light .numeros-grid { border: none !important; }
body.global-light .numeros-block {
  background: rgba(0,0,0,0.02) !important;
  border-color: rgba(0,0,0,0.1) !important;
}
body.global-light .numeros-block-value { color: #080808 !important; }
body.global-light .numeros-block-label { color: rgba(0,0,0,0.45) !important; }
body.global-light .numeros-eyebrow { color: var(--red) !important; }

body.global-light .nav-container {
  background: rgba(0, 0, 0, 0.06) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.6) !important;
}
body.global-light .nav-logo img { filter: brightness(0) !important; }
body.global-light .nav-links a { color: rgba(10,10,10,0.62) !important; }
body.global-light .nav-links a:hover { color: #0a0a0a !important; }
body.global-light .btn-nav-marca { background: #0a0a0a !important; color: #fff !important; }
body.global-light .btn-nav-login { border-color: rgba(10,10,10,0.2) !important; color: rgba(10,10,10,0.6) !important; }
body.global-light .btn-nav-login:hover { border-color: rgba(10,10,10,0.4) !important; color: #0a0a0a !important; }

/* ─── MARCAS ─── */
/* marcas seção standalone (removida — agora integrada em .midia-marcas-combined) */
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marcas-marquee-outer {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marcas-marquee {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
  padding: 4px 36px;
}
.marcas-marquee:hover { animation-play-state: paused; }
.marcas-marquee img {
  max-height: 38px;
  width: auto;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.45;
  transition: opacity 0.2s;
}
.marcas-marquee img:hover { opacity: 0.85; }

/* ─── MARCAS + MÍDIA — seção combinada ─── */
.midia-marcas-combined {
  padding: 96px 0 72px;
  background: var(--black);
  background-image: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(232,0,14,0.05) 0%, transparent 65%);
}

/* faixa de marcas integrada abaixo dos cards */
.marcas-integrated {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.marcas-integrated-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.marcas-integrated-label::before,
.marcas-integrated-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.07);
}
.marcas-integrated-label span {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ─── CURTA NA MÍDIA (CSS classes mantidas para compatibilidade) ─── */
.midia {
  padding: 96px 0;
  background: var(--black);
  background-image: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(232,0,14,0.05) 0%, transparent 70%);
}
.midia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  height: clamp(180px, 20vw, 240px);
}
.midia-card--featured {
  grid-row: auto;
}
.midia-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.38s cubic-bezier(0.34,1.1,0.64,1),
              box-shadow 0.38s ease,
              border-color 0.38s ease;
}
.midia-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0);
  transition: box-shadow 0.38s ease;
  pointer-events: none;
  z-index: 3;
}
.midia-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 30px 70px rgba(0,0,0,0.6);
  border-color: rgba(232,0,14,0.25);
}
.midia-card:hover::after {
  box-shadow: inset 0 0 0 1px rgba(232,0,14,0.2);
}
/* image fills entire card */
.midia-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.midia-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.6s ease;
  display: block;
}
.midia-card:hover .midia-img-wrap img { transform: scale(1.07); }
/* gradient: strong at bottom, fades up */
.midia-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4,4,6,0.96) 0%,
    rgba(4,4,6,0.55) 36%,
    rgba(4,4,6,0.0) 68%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 22px 22px;
  gap: 9px;
  z-index: 2;
}
/* source pill — frosted glass */
.midia-source {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 11px;
  border-radius: 999px;
  text-transform: uppercase;
}
/* red dot before source name */
.midia-source::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
/* headline */
.midia-overlay h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin: 0;
  letter-spacing: -0.02em;
}
.midia-overlay h3 {
  font-size: clamp(13px, 1.4vw, 16px);
}
.midia-date {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.04em;
}

/* ─── CONTATO ─── */
.contato {
  padding: 96px 0;
  background: var(--bg);
  background-image: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(232,0,14,0.05) 0%, transparent 70%);
}
.form-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.tab-btn {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  padding: 12px 22px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.tab-btn:hover {
  border-color: rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.9);
}
.tab-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  font-weight: 600;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}
.req { color: var(--red); }
.form-group input {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #fff;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(232,0,14,0.12);
}
.btn-submit {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-top: 4px;
}
.btn-submit:hover {
  background: #c8000c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,0,14,0.35);
}
.btn-submit:active { transform: translateY(0); }

/* ─── FOOTER ─── */
.footer {
  background: #080808;
  padding: 64px 0 0;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  align-items: start;
  padding-bottom: 48px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.footer-logo { height: 28px; width: auto; max-width: none; flex-shrink: 0; }
.footer-x {
  font-size: 20px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
  width: fit-content;
}
.footer-x:hover { color: #fff; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-col a:hover { color: rgba(255,255,255,0.85); }
.footer-col .soon { opacity: 0.4; cursor: default; }
.footer-rule {
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}
.footer-compliance {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  line-height: 1.7;
  margin-bottom: 32px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  gap: 24px;
  flex-wrap: wrap;
}
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.social-btn:hover {
  background: var(--card2);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}
.footer-legal {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-legal p, .footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ─── CASTING ─── */
.casting {
  background: #1a1b1e;
  padding: 70px 0 55px;
}
.casting-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.casting-header {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 44px;
}
.casting-header-left {
  flex: 0 0 auto;
}
.casting-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 20px;
}
.casting-red { color: var(--red); }
.casting-desc {
  flex: 1;
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  padding-top: 4px;
  margin: 0;
}
.btn-mediakit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-mediakit:hover { background: var(--red-dark); transform: translateY(-1px); }

.casting-carousel {
  display: flex;
  align-items: center;
}
.casting-track-wrap {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}
.casting-pages {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  user-select: none;
}
.casting-page {
  display: flex;
  gap: 14px;
  align-items: stretch;
  flex-shrink: 0;
  height: 340px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

/* Cards */
.casting-card--phantom {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;
  min-width: 0;
  visibility: hidden;
  pointer-events: none;
}
.casting-card {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;
  min-width: 0;
  position: relative;
  border-radius: 115px;
  border: none;
  cursor: pointer;
  background: transparent;
  perspective: 900px;
}
.casting-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.casting-card:not(.active):hover .casting-card-inner {
  transform: rotateY(180deg);
}
.casting-card-front,
.casting-card-back {
  position: absolute;
  inset: 0;
  border-radius: 115px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.casting-card-front {
  background: transparent;
}
.casting-card-front img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  pointer-events: none;
}
.casting-card-front--white-bg {
  background: #fff;
}
.casting-card-front--white-bg img {
  object-fit: cover;
  object-position: center 10%;
}
.casting-card-back {
  transform: rotateY(180deg);
  background: #0d0d0f;
  border: 1px solid rgba(160, 160, 160, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 28px 16px;
  text-align: center;
}
/* Verso do card */
.ccb-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  word-break: break-word;
  hyphens: auto;
  width: 100%;
}
.ccb-nicho {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.58rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  word-break: break-word;
  width: 100%;
}
.ccb-social-icon {
  margin: 4px 0 2px;
  opacity: 0.9;
}
.ccb-social-icon svg {
  width: 28px;
  height: 28px;
}
.ccb-count {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}
.ccb-count-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.ccb-casting {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.58rem;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.ccb-casting strong {
  color: rgba(255,255,255,0.75);
  font-weight: 700;
}
.ccb-btn {
  display: block;
  background: transparent;
  color: #fff;
  border: 1.5px solid var(--red);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.4;
  padding: 12px 18px;
  border-radius: 50px;
  text-decoration: none;
  width: 100%;
  transition: background 0.2s ease, color 0.2s ease;
}
.ccb-btn:hover {
  background: var(--red);
  color: #fff;
}
.casting-card.active { transform: none; }

/* ─── CASTING SPOTLIGHT (overlay ao clicar) ─── */
.casting-spotlight {
  position: absolute;
  top: 0;
  height: 100%;
  z-index: 20;
  display: flex;
  border-radius: 115px;
  overflow: hidden;
  border: 3px solid #FFE500;
  cursor: pointer;
  animation: spotlightIn 0.38s cubic-bezier(0.34, 1.2, 0.64, 1) forwards;
}
@keyframes spotlightIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}
.spot-photo {
  flex: 0 0 45%;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.spot-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
}
.spot-info {
  flex: 1;
  background: #1a1b1e;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 22px;
  overflow: hidden;
}

/* Label do card (nome/nicho no rodapé) */
.casting-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(18, 18, 20, 0.48);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 11px 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  pointer-events: none;
  text-align: center;
}
.casting-card-label-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  word-break: break-word;
}
.casting-card-label-nicho {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.5;
}

/* Reuse existing info class styles for spotlight */
.casting-card-info {
  display: none; /* no longer used inside cards */
}
.casting-card-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1.2;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.casting-card-nicho {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.casting-card-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.casting-card-social-right {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.casting-card-seg-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.casting-card-seg-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.casting-card-casting {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.casting-card-casting strong {
  color: rgba(255,255,255,0.75);
  font-weight: 700;
}

/* Arrows */
.casting-arrow {
  background: none;
  border: none;
  color: #fff;
  font-size: 4rem;
  width: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.2s;
  line-height: 1;
  padding: 0;
}
.casting-arrow:hover { opacity: 1; }

/* Dots */
.casting-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}
.casting-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.casting-dot.active {
  background: #fff;
  transform: scale(1.5);
}

/* ─── RESPONSIVE ─── */

/* ── TABLET LARGO (≤1024px) ── */
@media (max-width: 1024px) {
  .mvv-grid { grid-template-columns: 1fr; gap: 12px; }
  .numeros-bento { grid-template-columns: 1.4fr 1fr 1fr; }
  .team-layout { grid-template-columns: 1fr; gap: 40px; }
  .marcas-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }

  /* ilhas — reduz label e seta */
  .ilha-label { font-size: 18px; }
  .ilha-educacao .ilha-arrow,
  .ilha-digital .ilha-arrow  { width: 150px; height: 68px; left: -96px; }
  .ilha-mundi .ilha-arrow,
  .ilha-evento .ilha-arrow   { width: 150px; height: 68px; right: -96px; }
  .ilha-licenciamento .ilha-arrow { width: 68px; height: 145px; top: -84px; }

  /* Casting */
  .casting-header { gap: 32px; }
  .casting-container { padding: 0 28px; }

  /* Modal ilha */
  .ilha-modal-box { max-width: 820px; }
}

/* ── TABLET (≤768px) ── */
@media (max-width: 768px) {
  /* Navbar — mobile: pill completo, sem hamburger */
  .navbar { top: 8px; padding: 0 10px; }
  .nav-container {
    width: 100%;
    border-radius: 100px;
    gap: 10px;
    padding: 7px 8px 7px 16px;
    justify-content: space-between;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav-container::-webkit-scrollbar { display: none; }
  .nav-logo img { height: 16px; flex-shrink: 0; }
  .nav-toggle { display: none; }
  .nav-links { display: none; }
  .nav-ctas { display: flex; gap: 4px; flex-shrink: 0; }
  .btn-nav-marca { padding: 6px 14px; font-size: 11px; white-space: nowrap; }
  .btn-nav-filled { padding: 6px 14px !important; font-size: 11px !important; white-space: nowrap; }
  .btn-nav-login { display: none; }

  /* Hero ilhas — esconde setas, reduz label */
  .ilha-arrow { display: none; }
  .ilha-label { font-size: 13px; }
  .ilha-educacao .ilha-label,
  .ilha-digital .ilha-label  { right: calc(100% + 6px); }
  .ilha-mundi .ilha-label,
  .ilha-evento .ilha-label   { left: calc(100% + 6px); }

  /* Timeline — empilha verticalmente */
  .section-timeline .timeline { flex-direction: column; overflow: visible; }
  .section-timeline .timeline-item { padding: 22px 24px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .section-timeline .timeline-item:last-child { border-bottom: none; }
  .section-timeline .tl-sep { margin: 10px 0 12px; }
  .section-timeline .tl-year { font-size: clamp(22px, 5vw, 32px); }
  .tl-arrow { width: 36px; height: 36px; }

  /* Modal ilha — coluna única */
  .ilha-modal-box { flex-direction: column; max-height: 90vh; width: 96%; border-radius: 20px; }
  .ilha-modal-left { flex: 0 0 200px; min-height: 200px; }
  .ilha-modal-right { padding: 24px 22px; overflow-y: auto; }
  .ilha-modal-numbers { grid-template-columns: repeat(2, 1fr); }
  .ilha-modal-icon-wrap { margin-bottom: 14px; }

  /* Casting */
  .casting { padding: 48px 0 40px; }
  .casting-container { padding: 0 20px; }
  .casting-header { flex-direction: column; gap: 16px; margin-bottom: 28px; }
  .casting-title { font-size: 1.6rem; margin-bottom: 12px; }

  /* Números */
  .numeros-bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .stat-featured { grid-column: 1 / -1; grid-row: auto; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); padding: 40px 28px; min-height: 200px; }
  .stat-block { border-right: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
  .numeros-bento > .stat-block:nth-child(odd) { border-right: none; }
  .numeros-bento > .stat-block:nth-last-child(-n+2) { border-bottom: none; }

  /* Mídia */
  .midia-grid { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; gap: 12px; }
  .midia-card--featured { grid-row: auto; aspect-ratio: 4/3; }
  .midia-card:not(.midia-card--featured) { aspect-ratio: 16/9; }
  .marcas-grid { grid-template-columns: repeat(3, 1fr); }

  /* Contato / Footer */
  .form-row-two { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-direction: column; gap: 8px; }
  .footer-cols { grid-template-columns: 1fr; }
}

/* ── MOBILE (≤480px) ── */
@media (max-width: 480px) {
  /* Hero ilhas — grid com nomes visíveis */
  .hero-islands-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    aspect-ratio: auto;
    width: 100%;
    padding: 0;
  }
  .ilha {
    position: static;
    width: 100% !important;
    left: auto !important; right: auto !important;
    top: auto !important; bottom: auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: -38px;
  }
  .ilha-licenciamento {
    grid-column: 1 / -1;
    max-width: 52%;
    margin: -38px auto;
  }
  .ilha-float { animation: none !important; width: 75%; }
  .ilha-float img { width: 100%; height: auto; }
  .ilha-label {
    display: block;
    position: static !important;
    transform: none !important;
    text-align: center;
    white-space: normal;
    font-size: 20px;
    opacity: 1 !important;
    animation: none !important;
    pointer-events: none;
    color: #111;
    margin-bottom: -22px;
  }
  .ilha-arrow { display: none; }
  .ilha-educacao .ilha-label,
  .ilha-mundi .ilha-label,
  .ilha-licenciamento .ilha-label,
  .ilha-digital .ilha-label,
  .ilha-evento .ilha-label { color: #111 !important; }

  /* Timeline */
  .section-timeline { padding-bottom: 0; }
  .section-timeline .timeline-item { padding: 18px 16px; }

  /* Modal ilha */
  .ilha-modal-box { border-radius: 16px; }
  .ilha-modal-left { flex: 0 0 160px; }
  .ilha-modal-right { padding: 18px 16px; }
  .ilha-modal-numbers { grid-template-columns: repeat(2, 1fr); gap: 0; }

  /* Casting */
  .casting-title { font-size: 1.35rem; }

  /* Números */
  .numeros-bento { grid-template-columns: 1fr; }
  .stat-block { border-right: none; }
  .numeros-bento > .stat-block:nth-child(odd) { border-right: none; }
  .numeros-bento > .stat-block:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .numeros-bento > .stat-block:nth-last-child(1) { border-bottom: none; }
  .marcas-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contato */
  .form-tabs { flex-direction: column; }
  .tab-btn { text-align: center; }

  /* Cultura */
  .section-title { font-size: clamp(24px, 6vw, 34px); }
}

/* ─── RESPONSIVO COMPLEMENTAR ─── */

/* ── Hero ── */
@media (max-width: 768px) {
  .hero { min-height: auto; padding-top: 56px; }
  .hero-islands-wrap { width: 100%; max-width: 100%; aspect-ratio: 1.4 / 1; }
  .hero-banner span { font-size: clamp(10px, 3.5vw, 14px); letter-spacing: 0.05em; }
  .lang-switcher { top: 68px; right: 20px; gap: 4px; }
  .lang-btn { font-size: 11px; padding: 2px 5px; }
}
@media (max-width: 480px) {
  .hero-islands-wrap { aspect-ratio: auto !important; overflow: visible !important; }
  .hero { overflow: visible; }
  .hero-banner { padding: 12px 16px; }
  .nav-logo img { height: 22px; }
  .nav-container { padding: 12px 16px; }
}

/* ── Cultura / MVV ── */
@media (max-width: 768px) {
  .cultura { padding: 64px 0 72px; }
  .mvv-grid { grid-template-columns: 1fr; gap: 10px; }
  .mvv-card { padding: 28px 24px; }
}
@media (max-width: 480px) {
  .cultura { padding: 48px 0 56px; }
  .section-subtitle { font-size: 0.88rem; }
}

/* ── Números ── */
@media (max-width: 480px) {
  .numeros { padding: 60px 0; }
}

/* ── Equipe ── */
@media (max-width: 768px) {
  .team-layout { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
  .team-text { order: -1; }
  .acc-content-inner {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }
  .acc-photo {
    flex: none;
    width: 55%;
    margin: 0 auto;
    height: 285px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: transparent;
    border-radius: 10px;
    overflow: hidden;
  }
  .acc-item.active .acc-content { max-height: 600px; }
}

/* ── Casting ── */
@media (max-width: 768px) {
  .casting-card { min-width: 0; }
  .casting-card-img { height: 180px; }
  .casting-arrow { font-size: 2rem; }
}
@media (max-width: 480px) {
  .casting { padding: 40px 0 32px; }
  .casting-container { padding: 0 16px; }
  .casting-title { font-size: 1.2rem; }
  .casting-card { min-width: 0; }
  .casting-card-img { height: 155px; }
  .casting-page { height: 380px; }
}

/* ── Contato ── */
@media (max-width: 768px) {
  .contato { padding: 64px 0; }
  .contact-form { gap: 14px; }
  .form-group input,
  .form-group textarea { font-size: 16px; /* evita zoom no iOS */ }
  .form-tabs { gap: 8px; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .contato { padding: 48px 0; }
  .tab-btn { font-size: 0.75rem; padding: 10px 14px; }
  .btn-submit { width: 100%; }
}

/* ── Footer ── */
@media (max-width: 768px) {
  .footer-top { padding: 48px 24px 32px; }
  .footer-bottom { padding: 16px 24px; }
}
@media (max-width: 480px) {
  .footer-cols { gap: 24px; }
  .footer-top { padding: 40px 16px 28px; }
}

/* ── Modal ilha — mobile ── */
@media (max-width: 480px) {
  .ilha-modal { padding: 12px; }
  .ilha-modal-box { width: 100%; border-radius: 16px; max-height: 94vh; }
  .ilha-modal-left { flex: 0 0 150px; }
  .ilha-modal-right { padding: 16px 14px; }
  .ilha-modal-right h3 { font-size: clamp(18px, 5vw, 24px); }
  .ilha-modal-numbers { gap: 0; }
  .imn-value { font-size: clamp(20px, 5vw, 28px); }
  .ilha-modal-saiba-mais { font-size: 0.8rem; padding: 10px 18px; }
}

/* ─── MARCA MODAL ─── */
.marca-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.marca-modal.open {
  opacity: 1;
  pointer-events: all;
}
.marca-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.marca-modal-box {
  position: relative;
  width: 100%;
  max-width: 640px;
  background: #111111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 52px 48px 48px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04) inset;
  transform: translateY(28px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
  overflow: hidden;
}
.marca-modal.open .marca-modal-box {
  transform: translateY(0) scale(1);
}
/* decorative red glow top-left */
.marca-modal-box::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(232,0,14,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.marca-modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.marca-modal-close:hover {
  background: rgba(232,0,14,0.15);
  color: #fff;
  border-color: rgba(232,0,14,0.3);
}
.marca-modal-eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.marca-modal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.marca-modal-title span { color: var(--red); }
.marca-modal-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 36px;
  line-height: 1.6;
}
.marca-modal-header { margin-bottom: 4px; }

/* Form */
.marca-modal-form { display: flex; flex-direction: column; gap: 16px; }
.mmf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.mmf-group { display: flex; flex-direction: column; gap: 7px; }
.mmf-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}
.mmf-req { color: var(--red); }
.mmf-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 18px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.mmf-input::placeholder { color: rgba(255,255,255,0.25); }
.mmf-input:focus {
  border-color: rgba(232,0,14,0.5);
  background: rgba(232,0,14,0.04);
}
.mmf-textarea { resize: none; min-height: 90px; }
.mmf-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 17px 36px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-top: 4px;
  box-shadow: 0 8px 32px rgba(232,0,14,0.35);
}
.mmf-btn:hover {
  background: #c4000b;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(232,0,14,0.45);
}
.mmf-btn:active { transform: translateY(0); }

/* Success state */
.marca-modal-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0 20px;
  gap: 16px;
}
.marca-modal-success.visible { display: flex; }
.mms-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.25);
  display: flex; align-items: center; justify-content: center;
  color: #22c55e;
}
.marca-modal-success h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.marca-modal-success p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  max-width: 320px;
}

/* Creator modal — checkboxes */
.mmf-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}
.mmf-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.mmf-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 17px; height: 17px;
  border-radius: 5px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
  position: relative;
}
.mmf-check input[type="checkbox"]:checked {
  background: var(--red);
  border-color: var(--red);
}
.mmf-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px; left: 5px;
  width: 5px; height: 9px;
  border: 2px solid #fff;
  border-top: none; border-left: none;
  transform: rotate(45deg);
}
.mmf-check:hover { color: #fff; }
.mmf-check:hover input[type="checkbox"] { border-color: rgba(232,0,14,0.5); }

/* Creator modal scroll (taller form) */
.creator-modal .marca-modal-box {
  max-height: 92vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

@media (max-width: 600px) {
  .marca-modal-box { padding: 40px 24px 32px; border-radius: 20px; }
  .mmf-row { grid-template-columns: 1fr; }
}
