/* ═══════════════════════════════════════════════════
   BRASA & CORTE — Premium Steakhouse
   Dark luxurious theme with gold & wood accents
   ═══════════════════════════════════════════════════ */

/* --- CSS VARIABLES --- */
:root {
  --bg: #0d0d0d;
  --bg-elevated: #151515;
  --bg-card: #1a1a1a;
  --accent: #c8a45c;
  --accent-light: #dfc088;
  --secondary: #8b4513;
  --secondary-light: #a5622a;
  --text: #f5f0e8;
  --text-muted: #a09888;
  --text-dim: #6b6155;
  --gold-gradient: linear-gradient(135deg, #c8a45c 0%, #dfc088 50%, #c8a45c 100%);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Cormorant Garamond', Georgia, serif;
  --font-ui: 'Outfit', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }

/* --- TYPOGRAPHY --- */
.section-label {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.section-desc {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-header .section-desc {
  margin: 0 auto;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 2px;
  transition: all 0.35s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(0.97); }

.btn-gold {
  background: var(--gold-gradient);
  color: #0d0d0d;
  font-weight: 600;
}
.btn-gold:hover {
  box-shadow: 0 8px 32px rgba(200, 164, 92, 0.3);
}

.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn-outline:hover {
  background: var(--accent);
  color: #0d0d0d;
}

.btn-sm { padding: 10px 24px; font-size: 0.75rem; }

/* --- LOADER --- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
}
.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner { text-align: center; }
.loader-flame {
  width: 40px;
  height: 60px;
  margin: 0 auto 24px;
  position: relative;
}
.flame-layer {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 20px;
  height: 40px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  transform: translateX(-50%);
  animation: flame 0.8s ease-in-out infinite alternate;
}
.flame-1 { background: var(--accent); opacity: 0.9; animation-delay: 0s; }
.flame-2 { background: var(--secondary); width: 14px; height: 30px; animation-delay: 0.15s; }
.flame-3 { background: #e85d3a; width: 8px; height: 20px; animation-delay: 0.3s; }

@keyframes flame {
  0% { transform: translateX(-50%) scaleY(1) scaleX(1); }
  100% { transform: translateX(-50%) scaleY(1.15) scaleX(0.85); }
}

.loader-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.5s var(--ease-out-expo);
}
.header.scrolled {
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(200, 164, 92, 0.1);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
}
.logo-amp { color: var(--accent); margin: 0 2px; }
.logo-full {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  display: none;
}
@media (min-width: 768px) {
  .logo-full { display: block; }
}

.nav { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: color 0.3s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out-expo);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0d0d0d;
  background: var(--gold-gradient);
  padding: 10px 24px;
  border-radius: 2px;
  transition: all 0.3s var(--ease-out-expo);
}
.nav-cta:hover { box-shadow: 0 4px 20px rgba(200, 164, 92, 0.3); }

/* Mobile nav */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.4s var(--ease-out-expo);
  transform-origin: center;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

@media (max-width: 960px) {
  .menu-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(380px, 85vw);
    height: 100vh;
    background: var(--bg-elevated);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 48px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out-expo);
    box-shadow: -20px 0 60px rgba(0,0,0,0.5);
  }
  .nav.open { transform: translateX(0); }
  .nav-link { font-size: 1.2rem; }
  .nav-cta { margin-top: 16px; }
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-scene {
  position: absolute;
  inset: 0;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
}
.hero-bg-far img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  will-change: transform;
}
.hero-bg-mid {
  background: linear-gradient(180deg,
    rgba(13,13,13,0.3) 0%,
    rgba(13,13,13,0.1) 30%,
    rgba(13,13,13,0.6) 70%,
    rgba(13,13,13,0.95) 100%
  );
}
.hero-bg-near {
  background: radial-gradient(ellipse at 30% 80%,
    rgba(200, 164, 92, 0.06) 0%,
    transparent 60%
  );
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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)'/%3E%3C/svg%3E");
  background-size: 256px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  padding-top: 120px;
}

.hero-overline {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 28px;
}
.hero-line { display: block; }
.hero-line em {
  font-style: italic;
  color: var(--accent);
}
.hero-line-accent {
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
}

.hero-desc {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: clamp(20px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll-indicator span {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* --- MARQUEE --- */
.marquee {
  padding: 20px 0;
  border-top: 1px solid rgba(200, 164, 92, 0.1);
  border-bottom: 1px solid rgba(200, 164, 92, 0.1);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 48px;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}
.marquee-dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- SOBRE --- */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.sobre-images {
  position: relative;
  height: 600px;
}
.sobre-img {
  overflow: hidden;
  border-radius: 2px;
}
.sobre-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}
.sobre-img:hover img { transform: scale(1.05); }

.sobre-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 80%;
  box-shadow:
    0 0 0 1px rgba(200, 164, 92, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.5);
}
.sobre-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 55%;
  box-shadow:
    0 0 0 1px rgba(200, 164, 92, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.5);
}

.sobre-text { padding: 20px 0; }

.sobre-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(200, 164, 92, 0.15);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}
.stat-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-images { height: 400px; }
}

/* --- 3D CARDS (ESPECIALIDADES) --- */
.cards-3d-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card-3d {
  height: 420px;
  perspective: 1000px;
  cursor: pointer;
}

.card-3d-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s var(--ease-out-expo);
  transform-style: preserve-3d;
}
.card-3d:hover .card-3d-inner {
  transform: rotateY(180deg);
}

.card-3d-front,
.card-3d-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 4px;
  overflow: hidden;
}

.card-3d-front {
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  box-shadow:
    0 0 0 1px rgba(200, 164, 92, 0.06),
    0 4px 16px rgba(0, 0, 0, 0.3),
    0 12px 40px rgba(0, 0, 0, 0.2);
}
.card-3d-img {
  flex: 1;
  overflow: hidden;
}
.card-3d-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo), filter 0.6s;
}
.card-3d:hover .card-3d-front .card-3d-img img {
  transform: scale(1.1);
  filter: blur(2px);
}
.card-3d-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  padding: 20px 24px 4px;
}
.card-3d-sub {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  padding: 0 24px 24px;
}

.card-3d-back {
  background: var(--bg-card);
  transform: rotateY(180deg);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  box-shadow:
    0 0 0 1px rgba(200, 164, 92, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.3),
    0 12px 40px rgba(0, 0, 0, 0.2);
}
.card-3d-back h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}
.card-3d-back p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.card-3d-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

/* --- CARDAPIO --- */
.cardapio-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.cardapio-left { position: sticky; top: 140px; }

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(200, 164, 92, 0.08);
  transition: all 0.4s var(--ease-out-expo);
}
.menu-item:hover {
  padding-left: 12px;
  border-bottom-color: rgba(200, 164, 92, 0.2);
}
.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 6px;
  transition: color 0.3s;
}
.menu-item:hover .menu-item-name { color: var(--accent); }
.menu-item-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.menu-item-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .cardapio-layout { grid-template-columns: 1fr; }
  .cardapio-left { position: static; }
}

/* --- WINE CELLAR --- */
.wine-cellar {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.wine-parallax {
  position: absolute;
  inset: -20% 0;
}
.wine-parallax img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.wine-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(13,13,13,0.92) 0%,
    rgba(13,13,13,0.75) 50%,
    rgba(13,13,13,0.88) 100%
  );
}
.wine-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.wine-title { color: var(--text); }
.wine-highlights {
  display: flex;
  gap: 48px;
  margin: 40px 0;
}
.wine-stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}
.wine-stat-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* --- GALERIA --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-item {
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 1;
  position: relative;
}
.gallery-item-lg {
  grid-column: span 2;
  aspect-ratio: 16/10;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo), filter 0.4s;
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.1);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery-item:hover::after { opacity: 1; }

@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item-lg { grid-column: span 2; }
}

/* --- DEPOIMENTOS --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.testimonial {
  background: var(--bg-card);
  padding: 36px 32px;
  border-radius: 4px;
  box-shadow:
    0 0 0 1px rgba(200, 164, 92, 0.06),
    0 2px 8px rgba(0, 0, 0, 0.2),
    0 8px 32px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s;
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(200, 164, 92, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.3),
    0 16px 48px rgba(0, 0, 0, 0.2);
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 20px;
}
.testimonial-stars svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.testimonial-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}
.testimonial-author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.testimonial-author span {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

/* --- LOCALIZACAO --- */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.loc-details { margin-top: 32px; }
.loc-item {
  margin-bottom: 28px;
}
.loc-item h4 {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.loc-item p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.map-placeholder {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow:
    0 0 0 1px rgba(200, 164, 92, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.3);
}
.map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
}
.map-placeholder:hover .map-overlay { opacity: 1; }
.map-overlay span {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 10px 24px;
}

@media (max-width: 768px) {
  .loc-grid { grid-template-columns: 1fr; }
}

/* --- RESERVAS CTA --- */
.reservas-cta { padding: clamp(40px, 8vw, 80px) 0; }
.cta-box {
  position: relative;
  background: var(--bg-card);
  padding: clamp(48px, 8vw, 80px);
  border-radius: 4px;
  text-align: center;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(200, 164, 92, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.3);
}
.cta-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    repeating-linear-gradient(
      45deg,
      var(--accent) 0px,
      var(--accent) 1px,
      transparent 1px,
      transparent 20px
    );
}
.cta-box .section-label,
.cta-box .section-desc {
  position: relative;
  z-index: 1;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cta-box .section-desc { margin: 0 auto 32px; }
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* --- FOOTER --- */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid rgba(200, 164, 92, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-dim);
  max-width: 280px;
  line-height: 1.7;
}
.footer-links h4,
.footer-social h4 {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dim);
  padding: 5px 0;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--text); }

.social-icons {
  display: flex;
  gap: 16px;
}
.social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200, 164, 92, 0.15);
  border-radius: 50%;
  transition: all 0.3s var(--ease-out-expo);
}
.social-icons a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0d0d0d;
}
.social-icons svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(200, 164, 92, 0.06);
  text-align: center;
}
.footer-bottom p {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- WHATSAPP FLOAT --- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}
.whatsapp-float:active { transform: scale(0.97); }
.whatsapp-float svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

/* --- THEME PANEL --- */
.theme-panel {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 900;
}
.theme-toggle {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid rgba(200, 164, 92, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out-expo);
}
.theme-toggle:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0d0d0d;
}
.theme-toggle svg { width: 18px; height: 18px; }

.theme-dropdown {
  position: absolute;
  bottom: 56px;
  left: 0;
  background: var(--bg-elevated);
  border: 1px solid rgba(200, 164, 92, 0.1);
  border-radius: 8px;
  padding: 20px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.35s var(--ease-out-expo);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.theme-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.theme-dropdown h4 {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.theme-dropdown h5 {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 16px 0 10px;
}

.theme-presets {
  display: flex;
  gap: 8px;
}
.theme-preset {
  display: flex;
  gap: 2px;
  padding: 6px;
  border: 1px solid rgba(200, 164, 92, 0.1);
  border-radius: 6px;
  transition: border-color 0.3s;
  cursor: pointer;
}
.theme-preset:hover,
.theme-preset.active { border-color: var(--accent); }
.theme-preset span {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.color-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.color-row label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.color-row input[type="color"] {
  width: 32px;
  height: 24px;
  border: 1px solid rgba(200, 164, 92, 0.15);
  border-radius: 4px;
  background: none;
  cursor: pointer;
  padding: 0;
}
.theme-custom .btn { margin-top: 10px; width: 100%; }

/* --- ANIMATIONS / REVEALS --- */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(4px);
  transition: opacity 0.7s var(--ease-out-expo),
              transform 0.7s var(--ease-out-expo),
              filter 0.7s var(--ease-out-expo);
  transition-delay: var(--d, 0s);
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.clip-reveal {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1);
  transition-delay: var(--d, 0s);
  will-change: clip-path;
}
.clip-reveal.visible {
  clip-path: inset(0% 0 0 0);
}

.stagger {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(3px);
  transition: opacity 0.6s var(--ease-out-expo),
              transform 0.6s var(--ease-out-expo),
              filter 0.6s var(--ease-out-expo);
  transition-delay: calc(var(--i, 0) * 0.1s);
}
.stagger.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-up, .clip-reveal, .stagger {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: none;
  }
  .hero-bg-far img { transform: none; }
  .marquee-track { animation: none; }
  .scroll-line { animation: none; }
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: rgba(200, 164, 92, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(200, 164, 92, 0.35); }

/* --- SELECTION --- */
::selection {
  background: rgba(200, 164, 92, 0.3);
  color: var(--text);
}
