/* ============================================
   MATHEUS FILMS — style.css (minimalista)
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; outline: none; }
html, body { overflow-x: hidden; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }

:root {
  --black:       #000;
  --dark:        #0a0a0a;
  --dark-2:      #111;
  --dark-3:      #181818;
  --accent:      #D4AF37;
  --accent-dim:  rgba(212, 175, 55, 0.12);
  --accent-glow: rgba(212, 175, 55, 0.35);
  --gold-texture: linear-gradient(135deg, #B38728, #FBF5B7, #D4AF37);
  --white:       #fff;
  --grey:        #666;
  --grey-light:  #aaa;
  --ff-display:  'Montserrat', sans-serif;
  --ff-body:     'Inter', sans-serif;
  --ease:        cubic-bezier(0.4,0,0.2,1);
  --dur:         0.45s;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ── NAVBAR ──────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px; height: 68px;
  background: transparent;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(255,255,255,0.05);
}

.nav-logo {
  font-family: var(--ff-display);
  font-size: 1.4rem; font-weight: 700;
  letter-spacing: 0.12em; color: var(--white);
}
.logo-dot { color: var(--accent); }

.nav-links { display: flex; gap: 44px; list-style: none; }
.nav-link {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--grey-light); position: relative; padding-bottom: 3px;
  transition: color var(--dur) var(--ease);
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width var(--dur) var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.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: 1px;
  background: var(--white); transition: var(--dur) var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-links.open {
  display: flex; flex-direction: column;
  position: fixed; top: 68px; left: 0; right: 0;
  background: rgba(0,0,0,0.97);
  padding: 32px 52px;
  gap: 28px;
}

/* ── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 30px;
  font-family: var(--ff-body); font-size: 0.74rem;
  font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: 12px; cursor: pointer;
  transition: all var(--dur) var(--ease);
  border: 1px solid transparent; white-space: nowrap;
}
.btn-outline {
  border-color: rgba(255,255,255,0.2); color: var(--white); background: transparent;
}
.btn-outline:hover {
  border-color: var(--accent); background: var(--accent-dim);
  box-shadow: 0 0 18px var(--accent-glow);
}
.btn-solid { background: var(--gold-texture); color: var(--black); border-color: transparent; }
.btn-solid:hover {
  background: linear-gradient(135deg, #c79a2f, #fffdf0, #e0bc46); box-shadow: 0 0 28px var(--accent-glow);
  transform: translateY(-2px);
}
.btn-sm { padding: 9px 20px; font-size: 0.7rem; }
.btn-icon { width: 15px; height: 15px; flex-shrink: 0; }

/* ── HERO ────────────────────────────────── */
.hero {
  position: relative; width: 100%; height: 100vh; min-height: 580px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: brightness(0.38);
  transform: scale(1.04);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); filter: brightness(0.42); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    /* Vinheta nas bordas (elimina vazamento) */
    radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.92) 100%),
    /* Gradiente direcional principal */
    linear-gradient(
      105deg,
      rgba(0,0,0,0.92) 0%,
      rgba(0,0,0,0.3) 55%,
      rgba(0,0,0,0.7) 100%
    );
}
/* Radial accent light sutil que segue o mouse */
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(
    500px circle at var(--mx, 75%) var(--my, 50%),
    rgba(212, 175, 55, 0.05), transparent 65%
  );
  transition: background 0.15s linear;
}

.hero-grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 600px;
  margin-left: auto; margin-right: 12%;
  padding: 0 24px;
}

/* Hero entrada em cascata */
.hero-badge    { animation: fadeUp 0.9s 0.3s var(--ease) both; }
.hero-eyebrow  { animation: fadeUp 0.9s 0.45s var(--ease) both; }
.hero-title    { animation: fadeUp 0.9s 0.58s var(--ease) both; }
.hero-buttons  { animation: fadeUp 0.9s 0.72s var(--ease) both; }
.hero-social   { animation: fadeUp 0.9s 0.86s var(--ease) both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50px; font-size: 0.66rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--grey-light); margin-bottom: 24px;
  background: rgba(212, 175, 55, 0.07);
}
.badge-dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.4; transform:scale(1.4); }
}

.hero-eyebrow {
  font-size: 0.8rem; font-weight: 400;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--grey-light); margin-bottom: 6px;
}
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(3.8rem, 7vw, 6.2rem);
  font-weight: 700; line-height: 0.95;
  letter-spacing: -0.02em; color: var(--white);
  margin-bottom: 36px;
}

.hero-buttons { display: flex; flex-direction: column; gap: 10px; max-width: 320px; }
.hero-buttons .btn { width: 100%; justify-content: center; }

.hero-social { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.social-link {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.76rem; letter-spacing: 0.07em; color: var(--grey);
  transition: color var(--dur) var(--ease);
}
.social-link:hover { color: var(--white); }
.social-icon { width: 17px; height: 17px; flex-shrink: 0; }

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  display: flex; align-items: center; gap: 9px;
  padding: 11px 18px 11px 13px;
  background: #25D366; color: var(--white);
  border-radius: 50px; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: all var(--dur) var(--ease);
  animation: fabIn 1s 1.4s var(--ease) both;
}
@keyframes fabIn {
  from { opacity: 0; transform: translateY(16px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.whatsapp-fab:hover {
  transform: translateY(-3px); box-shadow: 0 8px 28px rgba(37,211,102,0.55);
}
.whatsapp-icon { width: 21px; height: 21px; flex-shrink: 0; }

/* ── SECTIONS ────────────────────────────── */
.section { padding: 96px 52px; max-width: 1380px; margin: 0 auto; }

.section-header { margin-bottom: 56px; }
.section-tag {
  display: inline-block; font-size: 0.67rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600; line-height: 1.1;
  color: var(--white); margin-bottom: 14px;
}
.section-title em { font-style: italic; color: var(--grey-light); }
.section-line { width: 40px; height: 1px; background: var(--accent); }

/* ── VIDEOS ──────────────────────────────── */
.videos-section { border-top: 1px solid rgba(255,255,255,0.05); }

.featured-video {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 52px; margin-bottom: 68px; align-items: center;
}
.featured-thumb {
  position: relative; aspect-ratio: 16/9;
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}
.featured-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.45);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.featured-thumb:hover .featured-overlay { opacity: 1; }
.play-btn {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--gold-texture); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 36px var(--accent-glow);
  transition: transform var(--dur) var(--ease);
  color: var(--black);
}
.play-btn svg { width: 26px; height: 26px; margin-left: 3px; }
.play-btn:hover { transform: scale(1.08); }
.featured-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold-texture); color: var(--black); font-weight: 700;
  font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 4px;
}
.featured-tag {
  font-size: 0.67rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); display: block; margin-bottom: 10px;
}
.featured-title {
  font-family: var(--ff-display); font-size: 1.8rem; font-weight: 600;
  line-height: 1.2; color: var(--white); margin-bottom: 14px;
}
.featured-desc { font-size: 0.88rem; color: var(--grey); line-height: 1.75; margin-bottom: 22px; }
.featured-meta { display: flex; gap: 18px; margin-bottom: 26px; }
.featured-meta span {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.72rem; color: var(--grey);
}

.collection-label {
  font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--grey); margin-bottom: 22px;
  display: flex; align-items: center; gap: 14px;
}
.collection-label::after {
  content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.05);
}

.video-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.card { cursor: pointer; transition: transform var(--dur) var(--ease); }
.card:hover { transform: translateY(-5px); }

.card-thumb {
  position: relative; aspect-ratio: 16/10;
  border-radius: 12px; overflow: hidden;
  background: var(--dark-3); margin-bottom: 11px;
}
.card-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212, 175, 55, 0.28); opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.card-thumb:hover .card-overlay { opacity: 1; }
.play-mini {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.35);
  cursor: pointer; color: white;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
  transition: transform var(--dur) var(--ease);
}
.play-mini svg { width: 14px; height: 14px; margin-left: 2px; }
.play-mini:hover { transform: scale(1.12); }
.card-badge {
  position: absolute; top: 9px; left: 9px;
  background: rgba(0,0,0,0.65); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--grey-light); font-size: 0.6rem;
  letter-spacing: 0.08em; padding: 3px 8px; border-radius: 4px;
}
.card-cat {
  position: absolute; bottom: 9px; right: 9px;
  background: var(--gold-texture); color: var(--black); font-weight: 700;
  font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px;
}
.card-info h4 {
  font-family: var(--ff-display); font-size: 1rem; font-weight: 600;
  color: var(--white); margin-bottom: 3px;
}
.card-info p { font-size: 0.72rem; color: var(--grey); }

.card-add .card-thumb-add {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  border: 1px dashed rgba(255,255,255,0.1); background: transparent;
}
.add-icon { font-size: 1.8rem; color: var(--grey); font-weight: 300; }
.card-thumb-add p { font-size: 0.68rem; color: var(--grey); text-align: center; }

/* ── FOTOGRAFIA ──────────────────────────── */
.foto-section { border-top: 1px solid rgba(255,255,255,0.05); }

.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn {
  padding: 7px 18px; background: transparent;
  border: 1px solid rgba(255,255,255,0.08); color: var(--grey);
  border-radius: 6px; font-family: var(--ff-body);
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; transition: all var(--dur) var(--ease);
}
.filter-btn:hover { border-color: rgba(212, 175, 55, 0.45); color: var(--white); }
.filter-btn.active { background: var(--gold-texture); border-color: transparent; color: var(--black); font-weight: 600; }

.photo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 210px; gap: 10px;
}
.photo-item {
  position: relative; overflow: hidden; border-radius: 12px; cursor: pointer;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.photo-item.hidden { opacity: 0; pointer-events: none; transform: scale(0.97); }
.photo-item.photo-large { grid-row: span 2; }
.photo-item img { transition: transform 0.7s var(--ease); }
.photo-item:hover img { transform: scale(1.04); }
.photo-hover {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 14px; opacity: 0; transition: opacity var(--dur) var(--ease);
}
.photo-item:hover .photo-hover { opacity: 1; }
.photo-label { font-size: 0.72rem; color: var(--grey-light); letter-spacing: 0.07em; }
.photo-expand {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: white; flex-shrink: 0;
  transition: background var(--dur) var(--ease);
}
.photo-expand:hover { background: var(--accent); border-color: var(--accent); }

/* ── CONTATO ─────────────────────────────── */
.contact-section {
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center; max-width: 1380px; margin: 0 auto;
}
.contact-inner { max-width: 560px; margin: 0 auto; }
.contact-title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600; line-height: 1.2;
  color: var(--white); margin: 14px 0;
}
.contact-title em { font-style: italic; color: var(--grey-light); }
.contact-sub { color: var(--grey); margin-bottom: 36px; font-size: 0.92rem; }
.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ──────────────────────────────── */
.footer { border-top: 1px solid rgba(255,255,255,0.05); padding: 32px 52px; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.footer-logo { font-family: var(--ff-display); font-size: 1.05rem; font-weight: 700; letter-spacing: 0.12em; }
.footer-copy { font-size: 0.72rem; color: var(--grey); }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { color: var(--grey); transition: color var(--dur) var(--ease); }
.footer-socials a:hover { color: var(--white); }

/* ── LIGHTBOX ────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.96); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-img {
  max-width: 88vw; max-height: 88vh;
  width: auto; height: auto; border-radius: 12px; object-fit: contain;
  transform: scale(0.96);
  transition: transform 0.35s var(--ease);
}
.lightbox.open .lightbox-img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 22px; right: 26px;
  background: none; border: none; color: var(--grey-light);
  font-size: 1.4rem; cursor: pointer; transition: color var(--dur) var(--ease);
}
.lightbox-close:hover { color: var(--white); }

/* ── SCROLL REVEAL (progressive enhancement) ─ */
/* Sem JS: tudo visível normalmente */
/* Com JS: .js .reveal fica escondido até entrar na viewport */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 1100px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-video { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .navbar { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-content { margin: 0 auto; padding: 0 24px; }
  .section { padding: 72px 24px; }
  .video-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 170px; }
  .photo-item.photo-large { grid-row: span 1; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-socials { justify-content: center; }
  .whatsapp-label { display: none; }
  .whatsapp-fab { padding: 12px; border-radius: 50%; }
}
@media (max-width: 480px) {
  .photo-grid { grid-template-columns: 1fr; }
  .contact-actions { flex-direction: column; align-items: center; }
}
