/* =========================================================
   Academia Menfis — estilos do site público
   Paleta extraída da logo: azul-marinho + dourado + branco
   ========================================================= */
:root {
  --navy: #002058;
  --navy-deep: #00133a;
  --navy-soft: #0b2f74;
  --gold: #f4b400;
  --gold-dark: #d99f00;
  --white: #ffffff;
  --off: #f5f6fa;
  --ink: #0f172a;
  --muted: #5b6478;
  --line: #e4e7ef;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 14px;
  --shadow: 0 20px 50px -20px rgba(0, 32, 88, 0.35);
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), 100% - 40px);
  margin-inline: auto;
}

/* ---------- Tipografia ---------- */
h1,
h2,
h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 3px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--navy);
  margin-top: 10px;
}
.section-title .accent {
  color: var(--gold);
}
.section-lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 14px 0 0;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 12px 30px -12px rgba(244, 180, 0, 0.8);
}
.btn-gold:hover {
  background: #ffc21a;
}
.btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-soft);
}
.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 20px;
}
.brand img {
  height: 44px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav a:hover::after {
  width: 100%;
}
.header .btn {
  padding: 10px 20px;
  font-size: 1rem;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  background: radial-gradient(circle at 20% 20%, var(--navy-soft) 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease, transform 7s ease;
  transform: scale(1.02);
}
.hero-bg.visible {
  opacity: 1;
  transform: scale(1.08);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 19, 58, 0.94) 0%, rgba(0, 32, 88, 0.78) 55%, rgba(0, 32, 88, 0.45) 100%);
}
.hero::after {
  /* faixa diagonal dourada, referência ao detalhe da logo */
  content: '';
  position: absolute;
  right: -12%;
  top: -20%;
  width: 34%;
  height: 160%;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
  transform: skewX(-14deg);
  opacity: 0.12;
  z-index: -1;
}
.hero-inner {
  padding: 90px 0;
  max-width: 760px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.hero-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(244, 180, 0, 0.25);
}
.hero h1 {
  font-size: clamp(3.2rem, 8.5vw, 6.4rem);
  font-weight: 800;
  margin: 26px 0 20px;
  white-space: pre-line;
}
.hero h1 .accent {
  color: var(--gold);
}
.hero p {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 0 0 36px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: drop 1.8s ease-in-out infinite;
}
@keyframes drop {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ---------- Faixa de destaques ---------- */
.features {
  background: var(--white);
  padding: 90px 0 40px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 50px;
}
.feature {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--off);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(244, 180, 0, 0.5);
}
.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.feature-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.feature p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Sobre ---------- */
.about {
  padding: 60px 0 100px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p {
  font-size: 1.15rem;
  color: var(--muted);
  white-space: pre-line;
}
.about-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow);
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-media::after {
  content: '';
  position: absolute;
  inset: auto -30px -30px auto;
  width: 160px;
  height: 160px;
  background: var(--gold);
  border-radius: 40px;
  transform: rotate(20deg);
  opacity: 0.9;
  z-index: -1;
}
.about-media .placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  background: linear-gradient(135deg, var(--navy-soft), var(--navy-deep));
}

/* ---------- Galerias ---------- */
.gallery-section {
  padding: 100px 0;
}
.gallery-section.dark {
  background: var(--navy-deep);
  color: var(--white);
}
.gallery-section.dark .section-title {
  color: var(--white);
}
.gallery-section.dark .section-lead {
  color: rgba(255, 255, 255, 0.7);
}
.gallery-section.alt {
  background: var(--off);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: 16px;
  margin-top: 50px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  animation: reveal 0.6s ease forwards;
}
.gallery-item:nth-child(6n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item:nth-child(6n + 4) {
  grid-column: span 2;
}
.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.06);
}
.gallery-item .caption {
  position: absolute;
  inset: auto 0 0;
  padding: 40px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(0, 19, 58, 0.85));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: translateY(8px);
  opacity: 0;
  transition: all 0.3s ease;
}
.gallery-item:hover .caption {
  transform: none;
  opacity: 1;
}
.gallery-item .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.gallery-item .play span {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease;
}
.gallery-item:hover .play span {
  transform: scale(1.1);
}
.gallery-item .play svg {
  width: 26px;
  height: 26px;
  fill: var(--navy-deep);
  margin-left: 4px;
}
.thumb-ph {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: radial-gradient(circle at 30% 20%, var(--navy-soft), var(--navy) 55%, var(--navy-deep));
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.gallery-item:hover .thumb-ph {
  transform: scale(1.06);
}
.thumb-ph svg {
  width: 44px;
  height: 44px;
  fill: currentColor;
  opacity: 0.9;
}
.thumb-ph.instagram svg {
  fill: url(#igGradient);
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: none;
  }
}

.videos-grid {
  grid-auto-rows: 260px;
}
.videos-grid .gallery-item {
  grid-column: span 2;
  grid-row: auto;
}

.empty {
  margin-top: 50px;
  padding: 60px 30px;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
}
.dark .empty {
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.55);
}

.more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ---------- Contato ---------- */
.contact {
  padding: 100px 0;
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
}
.contact-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 24px;
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.contact-card::after {
  content: '';
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.15;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
}
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-list .ic {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: var(--gold);
}
.contact-list .ic svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-list small {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}
.contact-list strong,
.contact-list span {
  font-weight: 500;
  font-size: 1.1rem;
  white-space: pre-line;
}
.contact-list a:hover {
  color: var(--gold);
}
.contact-list li.hidden {
  display: none;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-weight: 600;
  color: var(--navy);
  transition: all 0.2s ease;
}
.social a:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.social a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.social a.hidden {
  display: none;
}
.extra-links {
  margin-top: 12px;
}
.extra-links:empty {
  display: none;
}
.extra-links a {
  border-style: dashed;
}
.map-box {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 260px;
  background: var(--off);
  flex: 1;
}
.map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  display: block;
}
.cta-whats {
  align-self: flex-start;
}

/* ---------- Footer (estilo curva) ---------- */
.footer {
  background: var(--navy-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.footer-top {
  background: var(--white);
  padding: 70px 20px 10px;
  text-align: center;
}
.footer-slogan {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  color: var(--navy);
  white-space: pre-line;
  letter-spacing: 0.01em;
}
.footer-curve {
  display: block;
  width: 100%;
  height: clamp(60px, 10vw, 150px);
  margin-top: -1px; /* cola na faixa branca sem fresta */
  background: transparent;
}
.footer-curve path {
  /* desenha a parte BRANCA sobre o fundo azul: qualquer fresta fica azul sobre azul */
  fill: var(--white);
}
.footer-body {
  padding: 10px 20px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
/* logotipo grande em texto (escala sem perder qualidade) */
.footer-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
  color: var(--white);
  transition: transform 0.3s ease;
}
.footer-logo:hover {
  transform: scale(1.02);
}
.fl-top {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(0.8rem, 1.4vw, 1.25rem);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  padding-left: 0.45em; /* compensa o letter-spacing final */
}
.fl-top i {
  display: block;
  width: clamp(40px, 6vw, 90px);
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
}
.fl-word {
  font-family: 'Montserrat', var(--font-display);
  font-weight: 900;
  font-size: clamp(4.2rem, 13vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--white);
}
.fl-i {
  position: relative;
  display: inline-block;
}
/* "I" com o topo cortado na diagonal, como na logo (medidas em em da fonte Montserrat 900:
   haste de 0,05 a 0,30em; topo da maiúscula a 0,11em do topo da caixa) */
.fl-i-glyph {
  display: inline-block;
  clip-path: polygon(0 0.3em, 100% 0.15em, 100% 100%, 0 100%);
}
.fl-i::before {
  /* a ponta cortada, em dourado, ligeiramente deslocada para cima e para a esquerda */
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  /* fica dentro da largura do "I" (0,05–0,30em) e não passa da altura das outras letras (0,115em) */
  clip-path: polygon(0.05em 0.115em, 0.3em 0.12em, 0.05em 0.245em);
}
.footer-meta {
  width: min(var(--container), 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-legal {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-legal a:hover {
  color: var(--gold);
}
.footer-social {
  display: flex;
  gap: 18px;
}
.footer-social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--white);
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}
.footer-social a.hidden {
  display: none;
}
.footer-social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.8);
  transition: transform 0.2s ease;
}
.whats-float:hover {
  transform: scale(1.08);
}
.whats-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}
.whats-float.hidden {
  display: none;
}

/* ---------- Pop-up de anúncio ---------- */
.promo {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(0, 12, 36, 0.8);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.promo.open {
  display: flex;
}
.promo-box {
  position: relative;
  max-width: min(560px, 100%);
  max-height: 100%;
  animation: promoIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.promo-box img {
  max-width: 100%;
  max-height: calc(100vh - 48px);
  width: auto;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.8);
  display: block;
}
.promo-box a {
  display: block;
  cursor: pointer;
}
.promo-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--gold);
  color: var(--navy-deep);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease;
  z-index: 1;
}
.promo-close:hover {
  transform: scale(1.08);
}
.promo-close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
}
@keyframes promoIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 768px) {
  .promo {
    padding: 16px;
  }
  .promo-close {
    top: -10px;
    right: -6px;
  }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 12, 36, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open {
  display: flex;
}
.lightbox-content {
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.lightbox-content img,
.lightbox-content video {
  max-height: 80vh;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
}
.lightbox-content iframe {
  width: min(1000px, 90vw);
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 12px;
  background: #000;
}
.lightbox-content iframe.portrait {
  width: min(420px, 90vw);
  aspect-ratio: 9 / 16;
  max-height: 85vh;
}
.lightbox-content iframe.ig {
  background: #fff;
}
.lightbox-title {
  color: var(--white);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
}
.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}
.lightbox button:hover {
  background: var(--gold);
  color: var(--navy-deep);
}
.lightbox button svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
}
.lb-close {
  top: 20px;
  right: 20px;
}
.lb-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.lb-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery-item:nth-child(6n + 4) {
    grid-column: span 1;
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-media {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 768px) {
  .header .container {
    height: 68px;
  }
  .brand img {
    height: 36px;
  }
  .menu-toggle {
    display: flex;
  }
  .header .btn {
    display: none;
  }
  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 10px 20px 20px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
  }
  .nav.open {
    transform: none;
  }
  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav a::after {
    display: none;
  }
  .hero {
    min-height: calc(100svh - 68px);
  }
  .hero-inner {
    padding: 70px 0 110px;
  }
  .hero::after {
    display: none;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
  }
  .features {
    padding: 70px 0 20px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .gallery-section,
  .contact,
  .about {
    padding: 70px 0;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    gap: 10px;
  }
  .gallery-item:nth-child(6n + 1) {
    grid-column: span 2;
    grid-row: span 2;
  }
  .videos-grid .gallery-item {
    grid-column: span 2;
  }
  .gallery-item .caption {
    opacity: 1;
    transform: none;
    font-size: 0.95rem;
  }
  .contact-card {
    padding: 30px 24px;
  }
  .lightbox {
    padding: 70px 12px 20px;
  }
  .lb-prev,
  .lb-next {
    top: auto;
    bottom: 16px;
    transform: none;
  }
  .lb-prev {
    left: 16px;
  }
  .lb-next {
    right: 16px;
  }
  .whats-float {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 16px;
  }
  .footer-top {
    padding-top: 50px;
  }
  .footer-meta {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }
}
