/* ═══════════════════════════════════════════════════════════
   COSTA CUTELARIA — Stylesheet Premium
   Estrutura:
   01. Variáveis & Reset
   02. Tipografia
   03. Utilitários
   04. Grain Overlay
   05. Scrollbar
   06. Cursor Customizado
   07. Loading Screen
   08. Navbar
   09. Hero
   10. About
   11. Gallery
   12. Lightbox
   13. Video Section
   14. CTA
   15. Footer
   16. Animações de Reveal (Scroll)
   17. Responsive
═══════════════════════════════════════════════════════════ */

/* ─── 01. Variáveis & Reset ─── */
:root {
  --c-primary:    #0a0a0a;
  --c-gold:       #c9a96e;
  --c-gold-light: #e8c99a;
  --c-gold-dark:  #a07840;
  --c-white:      #f5f5f0;
  --c-steel:      #8a9ba8;

  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-body:    'Inter', system-ui, sans-serif;

  --ease:      cubic-bezier(0.76, 0, 0.24, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);

  --section-px: clamp(1.5rem, 6vw, 5rem);
  --section-py: clamp(5rem, 12vw, 10rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--c-primary);
  color: var(--c-white);
  font-family: var(--f-body);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

button {
  border: none;
  background: none;
  font-family: inherit;
}

/* ─── 02. Tipografia ─── */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.1;
}

/* ─── 03. Utilitários ─── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--section-px);
}

.section {
  padding: var(--section-py) var(--section-px);
}

.eyebrow {
  font-family: var(--f-body);
  font-size: 10px;
  letter-spacing: 0.5em;
  color: var(--c-gold);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: color-mix(in srgb, var(--c-gold) 50%, transparent);
  flex-shrink: 0;
}

.gold-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--c-gold) 25%, transparent), transparent);
}

::selection {
  background: var(--c-gold);
  color: var(--c-primary);
}

/* ─── 04. Grain Overlay ─── */
body::after {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  opacity: 0.038;
  pointer-events: none;
  z-index: 9990;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 6s steps(10) infinite;
}

@keyframes grain {
  0%,100% { transform: translate(0, 0); }
  10%      { transform: translate(-5%, -10%); }
  20%      { transform: translate(-15%, 5%); }
  30%      { transform: translate(7%, -25%); }
  40%      { transform: translate(-5%, 25%); }
  50%      { transform: translate(-15%, 10%); }
  60%      { transform: translate(15%, 0%); }
  70%      { transform: translate(0%, 15%); }
  80%      { transform: translate(3%, 35%); }
  90%      { transform: translate(-10%, 10%); }
}

/* ─── 05. Scrollbar ─── */
::-webkit-scrollbar { width: 2px; }
::-webkit-scrollbar-track { background: var(--c-primary); }
::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--c-gold) 35%, transparent);
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover { background: var(--c-gold); }

/* ─── 06. Cursor Customizado ─── */
/* Só esconde cursor em dispositivos com mouse (pointer: fine) */
@media (pointer: fine) {
  * { cursor: none !important; }
}

#cursor-dot,
#cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s, width 0.25s var(--ease-out), height 0.25s var(--ease-out), border-color 0.25s;
}

#cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--c-gold);
  z-index: 9999;
}

#cursor-ring {
  width: 28px;
  height: 28px;
  border: 1px solid color-mix(in srgb, var(--c-gold) 45%, transparent);
  background: transparent;
  z-index: 9998;
}

#cursor-dot.hovered  { width: 6px; height: 6px; }
#cursor-ring.hovered {
  width: 44px;
  height: 44px;
  border-color: color-mix(in srgb, var(--c-gold) 90%, transparent);
}

#cursor-dot.hidden,
#cursor-ring.hidden  { opacity: 0; }

/* ─── 07. Loading Screen ─── */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--c-primary);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

#loading-screen.fade-out {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

/* Grade decorativa no loading */
.loading-grid {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
}
.loading-grid span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: white;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.loading-line {
  height: 1px;
  background: color-mix(in srgb, var(--c-gold) 50%, transparent);
  animation: expandLine 1s var(--ease) forwards;
  animation-delay: 0.2s;
  width: 0;
}
.loading-line.top    { margin-bottom: 2rem; }
.loading-line.bottom { margin-top: 2rem; animation-delay: 1.3s; }

@keyframes expandLine {
  to { width: 120px; }
}

.loading-letters {
  display: flex;
  align-items: flex-end;
  gap: 0.08em;
  overflow: hidden;
}

.loading-letter {
  font-family: var(--f-display);
  font-size: clamp(3rem, 10vw, 6rem);
  letter-spacing: 0.25em;
  color: var(--c-white);
  line-height: 1;
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  animation: letterReveal 0.9s var(--ease) forwards;
}

/* C . _ C O S T A — 8 elementos */
.loading-letter:nth-child(1) { animation-delay: 0.40s; }
.loading-letter:nth-child(2) { animation-delay: 0.50s; }
.loading-letter:nth-child(3) { animation-delay: 0.54s; }
.loading-letter:nth-child(4) { animation-delay: 0.58s; }
.loading-letter:nth-child(5) { animation-delay: 0.66s; }
.loading-letter:nth-child(6) { animation-delay: 0.74s; }
.loading-letter:nth-child(7) { animation-delay: 0.82s; }
.loading-letter:nth-child(8) { animation-delay: 0.90s; }

/* Ponto "." — menor, dourado */
.loading-dot {
  font-size: 0.5em;
  color: var(--c-gold);
  align-self: flex-end;
  padding-bottom: 0.15em;
  letter-spacing: 0;
}

/* Espaço fino entre "C." e "COSTA" */
.loading-gap {
  width: 0.3em;
  overflow: hidden;
}

@keyframes letterReveal {
  to { opacity: 1; transform: translateY(0); }
}

.loading-subtitle {
  font-family: var(--f-body);
  font-size: 10px;
  letter-spacing: 0.55em;
  color: var(--c-gold);
  text-transform: uppercase;
  margin-top: 0.6rem;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 1.1s;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.loading-bar-wrap {
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  text-align: center;
}

.loading-bar-track {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.loading-bar-fill {
  height: 100%;
  background: var(--c-gold);
  width: 0%;
  animation: barFill 2.8s var(--ease-out) forwards;
  animation-delay: 0.3s;
}

@keyframes barFill {
  to { width: 100%; }
}

.loading-label {
  font-family: var(--f-body);
  font-size: 9px;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.18);
  text-transform: uppercase;
  margin-top: 0.6rem;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
  animation-delay: 0.5s;
}

/* ─── 08. Navbar ─── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.75rem var(--section-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.7s ease, backdrop-filter 0.7s ease, padding 0.5s ease, border-color 0.7s ease;
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-color: rgba(255,255,255,0.04);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  transition: opacity 0.3s;
}
.nav-logo:hover { opacity: 0.8; }

.nav-logo-name {
  font-family: var(--f-display);
  font-size: 1.3rem;
  letter-spacing: 0.25em;
  color: var(--c-white);
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-logo:hover .nav-logo-name { color: var(--c-gold); }

.nav-logo-sub {
  font-family: var(--f-body);
  font-size: 8px;
  letter-spacing: 0.45em;
  color: color-mix(in srgb, var(--c-gold) 60%, transparent);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.42);
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-gold);
  transition: width 0.35s var(--ease-out);
}
.nav-links a:hover { color: var(--c-gold); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: 1px solid color-mix(in srgb, var(--c-gold) 45%, transparent);
  color: color-mix(in srgb, var(--c-gold) 80%, transparent);
  padding: 0.6rem 1.4rem;
  transition: all 0.35s ease;
}
.nav-cta:hover {
  border-color: var(--c-gold);
  color: var(--c-gold);
  background: rgba(201,169,110,0.05);
  transform: scale(1.02);
}

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  height: 1px;
  background: var(--c-white);
  transition: all 0.35s var(--ease);
}
.nav-hamburger span:nth-child(1) { width: 24px; }
.nav-hamburger span:nth-child(2) { width: 16px; background: var(--c-gold); }
.nav-hamburger span:nth-child(3) { width: 24px; }

.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu overlay */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: all 0.4s var(--ease);
}
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
#mobile-menu a {
  font-family: var(--f-display);
  font-size: 2rem;
  font-style: italic;
  color: rgba(245,245,240,0.8);
  transition: color 0.3s;
}
#mobile-menu a:hover { color: var(--c-gold); }
.mobile-cta {
  margin-top: 1.5rem;
  font-family: var(--f-body) !important;
  font-size: 12px !important;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border: 1px solid color-mix(in srgb, var(--c-gold) 50%, transparent) !important;
  color: var(--c-gold) !important;
  padding: 0.75rem 2rem;
  font-style: normal !important;
}

/* ─── 09. Hero ─── */
#hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hero-bg img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  margin-top: -5%;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(10,10,10,0.68) 0%,
    rgba(10,10,10,0.35) 50%,
    rgba(10,10,10,0.82) 100%
  );
}
.hero-overlay-side {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(10,10,10,0.42) 0%,
    transparent 30%,
    transparent 70%,
    rgba(10,10,10,0.42) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 900px;
  will-change: transform, opacity;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1s var(--ease) forwards;
  animation-delay: 0.5s;
}
.hero-eyebrow-line {
  height: 1px;
  width: 40px;
  background: color-mix(in srgb, var(--c-gold) 60%, transparent);
}
.hero-eyebrow span {
  font-family: var(--f-body);
  font-size: 10px;
  letter-spacing: 0.55em;
  color: var(--c-gold);
  text-transform: uppercase;
}

.hero-title-wrap {
  overflow: hidden;
}

.hero-title {
  font-size: clamp(2.8rem, 10vw, 8.5rem);
  letter-spacing: 0.04em;
  color: var(--c-white);
  opacity: 0;
  transform: translateY(100%) scale(0.98);
  filter: blur(10px);
  animation: heroTitle 1.4s var(--ease) forwards;
  animation-delay: 0.7s;
}

@keyframes heroTitle {
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.75rem 0;
  opacity: 0;
  transform: scaleX(0);
  animation: heroDivider 1.1s var(--ease) forwards;
  animation-delay: 1.4s;
}

@keyframes heroDivider {
  to { opacity: 1; transform: scaleX(1); }
}

.hero-divider-line {
  width: 80px;
  height: 1px;
}
.hero-divider-line.left {
  background: linear-gradient(to right, transparent, color-mix(in srgb, var(--c-gold) 60%, transparent));
}
.hero-divider-line.right {
  background: linear-gradient(to left, transparent, color-mix(in srgb, var(--c-gold) 60%, transparent));
}
.hero-divider-diamond {
  width: 6px;
  height: 6px;
  background: var(--c-gold);
  transform: rotate(45deg);
}

.hero-tagline {
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 3.5vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(245,245,240,0.6);
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translateY(18px);
  animation: heroFadeUp 1s var(--ease) forwards;
  animation-delay: 1.7s;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.9s var(--ease) forwards;
  animation-delay: 2s;
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.btn-primary {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  background: var(--c-gold);
  color: var(--c-primary);
  padding: 0.85rem 2.2rem;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}
.btn-primary:hover {
  background: var(--c-gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,169,110,0.2);
}

.btn-secondary {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.55);
  padding: 0.85rem 2.2rem;
  transition: all 0.35s ease;
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.6);
  color: white;
  transform: translateY(-1px);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 2.5s;
}
.hero-scroll span {
  font-family: var(--f-body);
  font-size: 9px;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
}
.scroll-line {
  position: relative;
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to bottom, var(--c-gold), transparent);
  animation: scrollDown 2.2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { height: 0%; top: 0%; }
  50%  { height: 60%; top: 20%; }
  100% { height: 0%; top: 100%; }
}

/* ─── 10. About ─── */
#sobre {
  position: relative;
  overflow: hidden;
}

/* Linha central decorativa */
#sobre::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.025);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-corner {
  position: absolute;
  width: 64px;
  height: 64px;
  z-index: 2;
  pointer-events: none;
}
.about-img-corner.tl { top: -1rem; left: -1rem; border-top: 1px solid rgba(201,169,110,0.3); border-left: 1px solid rgba(201,169,110,0.3); }
.about-img-corner.br { bottom: -1rem; right: -1rem; border-bottom: 1px solid rgba(201,169,110,0.3); border-right: 1px solid rgba(201,169,110,0.3); }

.about-img-inner {
  position: relative;
  overflow: hidden;
}

.about-img-inner img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  will-change: transform;
}

.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.55), transparent 60%);
}

.about-badge {
  position: absolute;
  bottom: -1.75rem;
  right: -2.5rem;
  background: var(--c-primary);
  border: 1px solid rgba(201,169,110,0.25);
  padding: 1.5rem;
  z-index: 3;
}
.about-badge-number {
  font-family: var(--f-display);
  font-size: 3rem;
  color: var(--c-gold);
  line-height: 1;
}
.about-badge-label {
  font-family: var(--f-body);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.42);
  text-transform: uppercase;
  margin-top: 0.35rem;
  line-height: 1.4;
}

.about-text { padding-top: 3rem; }

.about-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 2rem;
}
.about-title em { color: var(--c-gold); }

.about-body {
  font-size: 15px;
  color: rgba(255,255,255,0.43);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.stat-number {
  font-family: var(--f-display);
  font-size: 1.9rem;
  color: var(--c-gold);
  line-height: 1;
}
.stat-label {
  font-family: var(--f-body);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.33);
  text-transform: uppercase;
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* ─── 11. Gallery ─── */
.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(3rem, 5vw, 5rem);
  flex-wrap: wrap;
}

.gallery-header h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--c-white);
}

.gallery-hint {
  font-family: var(--f-body);
  font-size: 13px;
  color: rgba(255,255,255,0.28);
  max-width: 220px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 10px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
}
.gallery-item.span-2 { grid-row: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.5s ease;
}
.gallery-item:hover .gallery-overlay {
  background: rgba(10,10,10,0.55);
}

.gallery-overlay-line {
  width: 32px;
  height: 1px;
  background: var(--c-gold);
  opacity: 0;
  transform: scaleX(0);
  transition: all 0.4s var(--ease-out);
}
.gallery-overlay-title {
  font-family: var(--f-display);
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  font-style: italic;
  color: var(--c-white);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s var(--ease-out);
  padding: 0 1rem;
  text-align: center;
}
.gallery-overlay-sub {
  font-family: var(--f-body);
  font-size: 9px;
  letter-spacing: 0.35em;
  color: rgba(201,169,110,0.8);
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.4s ease 0.1s;
}

.gallery-item:hover .gallery-overlay-line  { opacity: 1; transform: scaleX(1); }
.gallery-item:hover .gallery-overlay-title { opacity: 1; transform: translateY(0); }
.gallery-item:hover .gallery-overlay-sub   { opacity: 1; }

/* Cantos dourados no hover */
.gallery-corner { position: absolute; z-index: 2; width: 20px; height: 20px; opacity: 0; transition: opacity 0.35s; pointer-events: none; }
.gallery-corner.tl { top: 0.75rem; left: 0.75rem; border-top: 1px solid rgba(201,169,110,0.7); border-left: 1px solid rgba(201,169,110,0.7); }
.gallery-corner.br { bottom: 0.75rem; right: 0.75rem; border-bottom: 1px solid rgba(201,169,110,0.7); border-right: 1px solid rgba(201,169,110,0.7); }
.gallery-item:hover .gallery-corner { opacity: 1; }

/* ─── 12. Lightbox ─── */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.lightbox-content {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  width: 100%;
  transform: scale(0.88) translateY(20px);
  opacity: 0;
  transition: all 0.45s var(--ease);
}
#lightbox.open .lightbox-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.lightbox-content img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding: 0 0.25rem;
}
.lightbox-title {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(245,245,240,0.68);
}
.lightbox-brand {
  font-family: var(--f-body);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
}

.lightbox-divider {
  margin-top: 0.75rem;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,169,110,0.28), transparent);
}

.lightbox-close {
  position: absolute;
  top: -1rem;
  right: -1rem;
  z-index: 10;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.38);
  transition: all 0.25s;
  background: none;
}
.lightbox-close:hover {
  border-color: rgba(201,169,110,0.6);
  color: var(--c-gold);
}
.lightbox-close svg { width: 14px; height: 14px; }

.lightbox-esc {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-body);
  font-size: 9px;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.18);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ─── 13. Video Section ─── */
.video-header {
  text-align: right;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}
.video-header .eyebrow {
  justify-content: flex-end;
}
.video-header .eyebrow::before {
  order: 2;
}
.video-header h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--c-white);
}

.video-container {
  position: relative;
  will-change: transform;
}

.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.video-thumb:hover img { transform: scale(1.02); }

.video-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.45);
  transition: background 0.5s ease;
}
.video-thumb:hover .video-thumb-overlay { background: rgba(10,10,10,0.35); }

.video-border {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.05);
  transition: border-color 0.5s;
  pointer-events: none;
}
.video-thumb:hover .video-border { border-color: rgba(201,169,110,0.2); }

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-ring {
  position: relative;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(201,169,110,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,10,10,0.3);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}
.video-thumb:hover .play-ring {
  border-color: var(--c-gold);
  background: rgba(10,10,10,0.5);
  transform: scale(1.08);
}

/* Anel pulsante */
.play-ring::before {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: 50%;
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

.play-icon {
  width: 20px;
  height: 20px;
  fill: var(--c-gold);
  margin-left: 3px;
}

.video-label {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
}
.video-label span {
  font-family: var(--f-body);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}

.video-iframe-wrap {
  aspect-ratio: 16/9;
  display: none;
  position: relative;
}
.video-iframe-wrap.active {
  display: block;
}
.video-iframe-wrap.active::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201,169,110,0.15);
  pointer-events: none;
}
.video-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.step-number {
  font-family: var(--f-body);
  font-size: 10px;
  letter-spacing: 0.45em;
  color: rgba(201,169,110,0.4);
  margin-bottom: 1rem;
}
.step-title {
  font-size: 1.25rem;
  color: var(--c-white);
  margin-bottom: 0.75rem;
}
.step-desc {
  font-family: var(--f-body);
  font-size: 14px;
  color: rgba(255,255,255,0.33);
  line-height: 1.8;
}

/* ─── 14. CTA ─── */
#contato {
  position: relative;
  padding: clamp(10rem, 18vw, 14rem) var(--section-px);
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}
.cta-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(10,10,10,0.82),
    rgba(10,10,10,0.6) 50%,
    rgba(10,10,10,0.88)
  );
}
.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 60%, rgba(201,169,110,0.05), transparent);
}

.cta-inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.cta-ornament-line {
  flex: 1;
  max-width: 80px;
  height: 1px;
}
.cta-ornament-line.left  { background: linear-gradient(to right, transparent, rgba(201,169,110,0.4)); }
.cta-ornament-line.right { background: linear-gradient(to left, transparent, rgba(201,169,110,0.4)); }
.cta-ornament-diamond    { width: 5px; height: 5px; background: rgba(201,169,110,0.6); transform: rotate(45deg); }

.cta-title {
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1.12;
  color: var(--c-white);
  margin-bottom: 2.5rem;
}
.cta-title em { color: var(--c-gold); }

.cta-body {
  font-size: 15px;
  color: rgba(255,255,255,0.33);
  line-height: 1.9;
  max-width: 400px;
  margin: 0 auto 3.5rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.52);
  padding: 0.85rem 2.2rem;
  transition: all 0.35s ease;
}
.btn-whatsapp:hover {
  border-color: rgba(201,169,110,0.6);
  color: rgba(201,169,110,0.8);
  transform: translateY(-1px);
}
.btn-whatsapp svg { width: 14px; height: 14px; flex-shrink: 0; }

.cta-note {
  margin-top: 2.5rem;
  font-family: var(--f-body);
  font-size: 11px;
  color: rgba(255,255,255,0.18);
  letter-spacing: 0.05em;
}

/* ─── 15. Footer ─── */
footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 3.5rem var(--section-px);
}

.footer-gold-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,169,110,0.18), transparent);
  margin-bottom: 3rem;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo-name {
  font-family: var(--f-display);
  font-size: 1.4rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-white);
}
.footer-logo-sub {
  font-family: var(--f-body);
  font-size: 9px;
  letter-spacing: 0.5em;
  color: rgba(201,169,110,0.5);
  text-transform: uppercase;
  margin-top: 2px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.25rem;
  list-style: none;
  justify-content: center;
}
.footer-nav a {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--c-gold); }

.footer-social {
  display: flex;
  gap: 1.75rem;
}
.footer-social a {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
  transition: color 0.3s;
}
.footer-social a:hover { color: var(--c-gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-copy,
.footer-tagline {
  font-family: var(--f-body);
  font-size: 10px;
  color: rgba(255,255,255,0.16);
  letter-spacing: 0.05em;
}

/* ─── 16. Animações de Reveal (Scroll) ─── */

/* Base — todos os elementos com .reveal começam invisíveis */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85) translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Stagger delays */
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }
.d6 { transition-delay: 0.6s; }
.d7 { transition-delay: 0.7s; }
.d8 { transition-delay: 0.8s; }
.d9 { transition-delay: 0.9s; }
.d10 { transition-delay: 1.0s; }

/* ─── 17. Responsive ─── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 4rem; }
  .about-badge { right: 0; }
  .about-text  { padding-top: 2rem; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery-item.span-2 { grid-row: span 1; }

  .video-steps { grid-template-columns: 1fr; gap: 2.5rem; }

  .footer-main { flex-direction: column; align-items: center; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .about-stats  { grid-template-columns: repeat(3, 1fr); }
  .hero-buttons { flex-direction: column; align-items: center; }
  .cta-buttons  { flex-direction: column; align-items: center; }
  .lightbox-close { top: 0.5rem; right: 0.5rem; }
}
