/* ============================================================
   BLOCO DA LILI — Landing Page Styles
   Premium Carnival / Festive Design
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Bad+Script&family=Google+Sans:wght@300;400;500;600;700&family=Google+Sans+Display:wght@400;500;700;900&display=swap');

/* ============================================================
   0. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* --- Palette --- */
  --red: #D42A2A;
  --red-dark: #A81E1E;
  --gold: #D4A528;
  --gold-light: #F0D060;
  --white: #FFFFFF;
  --pink: #E6197E;
  --yellow: #F0C430;
  --pink-light: #F48DAA;
  --black: #1C1C1C;
  --gray: #F5F5F5;

  /* --- Derived / Utility --- */
  --red-transparent: rgba(212, 42, 42, 0.85);
  --gold-glow: rgba(212, 165, 40, 0.45);
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.12);
  --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.18);
  --shadow-heavy: 0 12px 48px rgba(0, 0, 0, 0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* --- Typography --- */
  --font-title: 'Google Sans Display', 'Google Sans', 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Google Sans', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--black);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}

/* ---------- Selection ---------- */
::selection {
  background-color: var(--red);
  color: var(--white);
}
::-moz-selection {
  background-color: var(--red);
  color: var(--white);
}

/* ---------- Custom Scrollbar (Webkit) ---------- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--black);
}
::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 8px;
  border: 2px solid var(--black);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ============================================================
   2. UTILITY / REUSABLE CLASSES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 300;
  opacity: 0.85;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.text-center {
  text-align: center;
}

.text-gold {
  color: var(--gold);
}

.text-red {
  color: var(--red);
}

/* ---------- Scroll Animation ---------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.fade-in-up:nth-child(2) { transition-delay: 0.12s; }
.fade-in-up:nth-child(3) { transition-delay: 0.24s; }
.fade-in-up:nth-child(4) { transition-delay: 0.36s; }

/* ============================================================
   3. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 60%);
  transition: opacity var(--transition);
}

.btn:hover::after {
  opacity: 1;
}

.btn:active {
  transform: scale(0.97);
}

/* --- Primary (Red) --- */
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(212, 42, 42, 0.35);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--gold);
  box-shadow: 0 6px 28px rgba(212, 42, 42, 0.5),
              0 0 0 3px rgba(212, 165, 40, 0.25);
  transform: translateY(-2px);
}

/* --- Gold --- */
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black);
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--yellow));
  box-shadow: 0 6px 28px rgba(212, 165, 40, 0.6);
  transform: translateY(-2px);
}

/* --- WhatsApp --- */
.btn-whatsapp {
  background: transparent;
  color: var(--red-dark);
  border: 2px solid var(--red-dark);
}

.btn-whatsapp:hover {
  background: rgba(28, 28, 28, 0.1);
  color: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}

/* ============================================================
   4. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.4s ease;
  background: rgba(28, 28, 28, 0.25);
  backdrop-filter: saturate(180%) blur(10px);
}

.navbar.scrolled {
  background: rgba(28, 28, 28, 0.3);
  padding: 10px 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  backdrop-filter: saturate(180%) blur(12px);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}

.navbar-logo span {
  color: var(--gold);
}

.nav-links {
  display: none;
  gap: 28px;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--gold-light);
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 4px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu button (hamburger) */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 10002;
  background: none;
  border: none;
}

.mobile-menu-btn .hamburger-line {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 4px;
  transition: all var(--transition);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Active mobile nav links overlay — fullscreen */
.nav-links.active {
  display: flex !important;
  flex-direction: column !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: linear-gradient(145deg, #C89B2A, #D4A528, #B8860B, #D4A528) !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  z-index: 10001 !important;
  padding: 100px 32px 40px !important;
  margin: 0 !important;
  overflow-y: auto !important;
  box-sizing: border-box;
}

.nav-links.active li {
  list-style: none;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.nav-links.active a {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white) !important;
  display: block;
  padding: 20px 0;
  transition: color var(--transition);
}

.nav-links.active a::after {
  display: none !important;
}

.nav-links.active a:hover {
  color: var(--black) !important;
}

/* Mobile nav overlay (fallback) */
.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #C89B2A, #D4A528, #B8860B, #D4A528);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  z-index: 10001;
  padding: 100px 32px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.nav-mobile.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile a {
  color: var(--white);
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  width: 100%;
  transition: color var(--transition);
}

.nav-mobile a:hover {
  color: var(--black);
}

/* ============================================================
   5. HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--red-dark);
  background-image: url('img/2026/header_todosJuntos.jpeg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 28, 28, 0.3) 0%,
    rgba(28, 28, 28, 0.15) 40%,
    rgba(28, 28, 28, 0.5) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  color: var(--white);
  padding: 140px 20px 60px;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(212, 42, 42, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 42, 42, 0.5);
  padding: 8px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--white);
}

.hero-title {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  line-height: 1.05;
  margin-bottom: 20px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.hero-title .highlight {
  color: var(--white);
  display: block;
  position: relative;
  font-family: 'Bad Script', cursive;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 400;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--gold);
  opacity: 0.3;
  border-radius: 4px;
}

.hero-description {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
  opacity: 0.9;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: hero-bounce 2s ease-in-out infinite;
}

.hero-scroll-indicator span {
  display: block;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  position: relative;
}

.hero-scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 10px;
  background: var(--gold);
  border-radius: 4px;
  animation: hero-scroll-dot 2s ease-in-out infinite;
}

@keyframes hero-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes hero-scroll-dot {
  0%   { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 24px; }
}

/* ---------- Confetti Particles ---------- */
.confetti-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  top: -20px;
  opacity: 0;
  animation: confetti-fall linear infinite;
}

.confetti:nth-child(1)  { left: 5%;   width: 8px;  height: 16px; background: var(--gold);       animation-duration: 4.5s; animation-delay: 0s;    border-radius: 2px; }
.confetti:nth-child(2)  { left: 12%;  width: 12px; height: 6px;  background: var(--pink);       animation-duration: 5.2s; animation-delay: 0.4s;  border-radius: 50%; }
.confetti:nth-child(3)  { left: 20%;  width: 6px;  height: 14px; background: var(--yellow);     animation-duration: 4.8s; animation-delay: 1.1s;  border-radius: 2px; }
.confetti:nth-child(4)  { left: 28%;  width: 10px; height: 10px; background: var(--white);      animation-duration: 5.5s; animation-delay: 0.7s;  border-radius: 50%; }
.confetti:nth-child(5)  { left: 35%;  width: 14px; height: 8px;  background: var(--gold-light); animation-duration: 4.2s; animation-delay: 1.6s;  border-radius: 2px; }
.confetti:nth-child(6)  { left: 42%;  width: 8px;  height: 12px; background: var(--pink-light); animation-duration: 5.8s; animation-delay: 0.2s;  border-radius: 2px; }
.confetti:nth-child(7)  { left: 50%;  width: 10px; height: 10px; background: var(--red);        animation-duration: 4.6s; animation-delay: 2.0s;  border-radius: 50%; }
.confetti:nth-child(8)  { left: 58%;  width: 6px;  height: 16px; background: var(--gold);       animation-duration: 5.0s; animation-delay: 0.9s;  border-radius: 2px; }
.confetti:nth-child(9)  { left: 65%;  width: 12px; height: 8px;  background: var(--yellow);     animation-duration: 4.4s; animation-delay: 1.3s;  border-radius: 2px; }
.confetti:nth-child(10) { left: 72%;  width: 8px;  height: 8px;  background: var(--pink);       animation-duration: 5.3s; animation-delay: 0.5s;  border-radius: 50%; }
.confetti:nth-child(11) { left: 80%;  width: 10px; height: 14px; background: var(--white);      animation-duration: 4.9s; animation-delay: 1.8s;  border-radius: 2px; }
.confetti:nth-child(12) { left: 88%;  width: 14px; height: 6px;  background: var(--gold-light); animation-duration: 5.6s; animation-delay: 0.3s;  border-radius: 2px; }
.confetti:nth-child(13) { left: 95%;  width: 6px;  height: 12px; background: var(--red);        animation-duration: 4.3s; animation-delay: 2.2s;  border-radius: 50%; }
.confetti:nth-child(14) { left: 8%;   width: 12px; height: 12px; background: var(--pink-light); animation-duration: 5.1s; animation-delay: 1.5s;  border-radius: 2px; }
.confetti:nth-child(15) { left: 53%;  width: 8px;  height: 10px; background: var(--gold);       animation-duration: 4.7s; animation-delay: 0.8s;  border-radius: 50%; }

/* JS-generated confetti pieces */
.confetti-piece {
  position: absolute;
  pointer-events: none;
  animation: confetti-fall linear infinite;
}

@keyframes confetti-fall {
  0% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(25vh) rotate(120deg) translateX(30px) scale(0.95);
  }
  50% {
    transform: translateY(50vh) rotate(240deg) translateX(-20px) scale(0.9);
    opacity: 0.8;
  }
  75% {
    transform: translateY(75vh) rotate(360deg) translateX(15px) scale(0.85);
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translateY(105vh) rotate(480deg) translateX(-10px) scale(0.7);
  }
}

/* ---------- Section Tag ---------- */
.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 12px;
}

.tag-light {
  color: var(--gold-light);
}

.title-dot,
.accent-gold {
  color: var(--gold);
}

.logo-accent {
  color: var(--gold);
  font-style: italic;
  margin: 0 2px;
}

.logo-text {
  font-family: var(--font-title);
  font-weight: 800;
}

/* ---------- Carousel Viewport ---------- */
.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-md);
}

/* ---------- Form Error ---------- */
.error-msg {
  display: block;
  color: var(--red);
  font-size: 0.85rem;
  margin-top: 6px;
}

/* ---------- Form Success ---------- */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success .success-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 16px;
}

.form-success h3 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.form-success p {
  color: #666;
  font-size: 1rem;
  line-height: 1.7;
}

/* ---------- Footer Nav ---------- */
.footer-nav {
  list-style: none;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 6px;
}

.footer-nav a {
  color: rgba(28,28,28,0.7);
  font-size: 0.95rem;
  transition: all var(--transition);
}

.footer-nav a:hover {
  color: var(--red);
  padding-left: 8px;
}

.footer-title-spacing {
  margin-top: 24px;
}

.footer-email {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(28,28,28,0.7);
  font-size: 0.95rem;
}

.footer-email:hover {
  color: var(--red);
}

/* ---------- Button Instagram ---------- */
.btn-instagram {
  background: linear-gradient(135deg, #833AB4, #E1306C, #F77737);
  color: var(--white);
  border: none;
}

.btn-instagram:hover {
  box-shadow: 0 6px 24px rgba(225,48,108,0.4);
  transform: translateY(-2px);
}

/* ---------- Hero Button ---------- */
.btn-hero {
  background: var(--white);
  color: var(--red);
  border: 2px solid var(--red);
}

.btn-hero:hover {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 4px 20px rgba(212, 42, 42, 0.3);
}

/* ============================================================
   6. #essencia — A ESSÊNCIA
   ============================================================ */
#essencia {
  background: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

#essencia::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(212, 165, 40, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.essencia-wrapper {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

#essencia .section-title {
  color: var(--black);
}

#essencia .section-title .accent {
  color: var(--red);
  position: relative;
}

#essencia .section-title .accent-gold {
  color: var(--gold);
}

.essencia-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 4px;
  margin: 20px auto 28px;
}

#essencia .section-text {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #444;
  line-height: 1.85;
  margin-bottom: 40px;
}

#essencia .btn-primary {
  font-size: 1.05rem;
  padding: 16px 28px;
}

/* ============================================================
   7. #obloco — O BLOCO
   ============================================================ */
#obloco {
  background: linear-gradient(135deg, var(--red-dark) 0%, #8B1515 60%, #6B1010 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

#obloco::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(212, 165, 40, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

#obloco .section-title {
  color: var(--white);
  text-align: center;
  margin-bottom: 12px;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.3);
}

#obloco .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  margin-bottom: 48px;
}

.video-wrapper {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 40px var(--gold-glow),
              0 8px 40px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(212, 165, 40, 0.3);
}

.video-wrapper::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--gold), transparent, var(--gold));
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

.video-wrapper iframe,
.video-wrapper video {
  width: 100%;
  min-height: 250px;
  max-height: 75vh;
  display: block;
  border: none;
  border-radius: var(--radius-lg);
  object-fit: contain;
  background: #1c1c1c;
}

/* ============================================================
   LIGHTBOX — Fullscreen photo viewer
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 100000;
  line-height: 1;
  padding: 8px;
  transition: transform var(--transition);
}

.lightbox-close:hover {
  transform: scale(1.2);
}

.carousel-slide img {
  cursor: pointer;
}

/* ============================================================
   8. #galeria — GALERIA
   ============================================================ */
#galeria {
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(240, 208, 96, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 165, 40, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(240, 196, 48, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, #B8860B 0%, #D4A528 25%, #C5962C 50%, #D4A528 75%, #B8860B 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

#galeria::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(255,255,255,0.3) 1px, transparent 1px),
    radial-gradient(circle at 45% 60%, rgba(255,255,255,0.25) 1px, transparent 1px),
    radial-gradient(circle at 75% 15%, rgba(255,255,255,0.35) 1px, transparent 1px),
    radial-gradient(circle at 85% 70%, rgba(255,255,255,0.2) 1px, transparent 1px),
    radial-gradient(circle at 30% 80%, rgba(255,255,255,0.3) 1px, transparent 1px),
    radial-gradient(circle at 60% 35%, rgba(255,255,255,0.25) 1px, transparent 1px);
  background-size: 100px 100px, 80px 80px, 120px 120px, 90px 90px, 110px 110px, 70px 70px;
  pointer-events: none;
  z-index: 0;
  animation: sparkle-shift 3s linear infinite;
}

#galeria .section-title {
  color: var(--white);
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

#galeria .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* Carousel tabs (year selector) */
.carousel-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.5px;
}

.tab-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  box-shadow: 0 4px 16px var(--gold-glow);
}

/* Carousel Container */
.carousel-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  padding: 0 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-heavy);
  transition: transform var(--transition-slow);
}

.carousel-slide img:hover {
  transform: scale(1.02);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(0,0,0,0.1);
  color: var(--black);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 10;
}

.carousel-btn:hover {
  background: var(--white);
  color: var(--red);
  border-color: var(--red);
  transform: translateY(-50%) scale(1.08);
}

.carousel-btn.prev {
  left: 16px;
}

.carousel-btn.next {
  right: 16px;
}

/* Carousel dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--transition);
}

.carousel-dots .dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.carousel-dots .dot.active {
  background: var(--white);
  border-color: var(--white);
  box-shadow: 0 0 10px rgba(255,255,255,0.5);
  transform: scale(1.2);
}

/* ============================================================
   9. #programese — PROGRAME-SE
   ============================================================ */
#programese {
  background: var(--white);
  padding: 100px 0;
  position: relative;
}

#programese .section-title {
  text-align: center;
  color: var(--black);
  margin-bottom: 8px;
}

#programese .section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 48px;
}

/* Info Cards */
.info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  border: 1px solid #ddd;
}

.info-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}

.info-card-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  box-shadow: 0 4px 16px rgba(212, 42, 42, 0.25);
}

.info-card-text h4 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--black);
  margin-bottom: 2px;
}

.info-card-text p {
  color: #666;
  font-size: 0.95rem;
}

/* Map */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  margin-bottom: 60px;
  border: 1px solid #e0e0e0;
}

.map-wrapper iframe {
  width: 100%;
  height: 300px;
  border: none;
  display: block;
}

/* Form */
.form-section {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: var(--radius-md);
  padding: 40px 32px;
}

.form-section h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--black);
  margin-bottom: 8px;
}

.form-section p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.form-group {
  position: relative;
  margin-bottom: 28px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input {
  width: 100%;
  padding: 14px 4px;
  font-size: 1rem;
  color: var(--black);
  background: transparent;
  border: none;
  border-bottom: 2px solid #ddd;
  transition: border-color var(--transition);
}

.form-group input::placeholder {
  color: #bbb;
}

.form-group input:focus {
  border-bottom-color: var(--red);
}

.form-group input:focus + .form-line {
  width: 100%;
}

.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.4s ease;
}

.form-section .btn {
  width: auto;
  padding: 16px 24px;
  font-size: 1.05rem;
  margin-top: 8px;
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
  box-shadow: none;
}

.form-section .btn:hover {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 4px 20px rgba(212, 42, 42, 0.3);
}

/* ============================================================
   10. #camisa — CAMISA
   ============================================================ */
#camisa {
  background: linear-gradient(135deg, var(--red) 0%, var(--pink) 50%, var(--red-dark) 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#camisa::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    ellipse at 30% 50%,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 60%
  );
  pointer-events: none;
}

#camisa::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(240, 208, 96, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.camisa-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

#camisa .section-title {
  color: var(--white);
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.25);
  margin-bottom: 16px;
}

#camisa .section-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.8;
  margin-bottom: 40px;
}

.camisa-image {
  max-width: 380px;
  margin: 0 auto 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition-slow);
}

.camisa-image:hover {
  transform: scale(1.03) rotate(-1deg);
}

.camisa-image img {
  width: 100%;
  display: block;
}

.camisa-price {
  font-family: var(--font-title);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.camisa-price-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

#camisa .btn-gold {
  font-size: 1.1rem;
  padding: 18px 32px;
}

/* ============================================================
   11. #rodape — FOOTER
   ============================================================ */
#rodape {
  background: var(--yellow);
  padding: 80px 0 0;
  color: var(--black);
  position: relative;
}

#rodape::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--pink), var(--yellow), var(--red));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--red-dark);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-col p {
  color: rgba(28, 28, 28, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-col a {
  color: rgba(28, 28, 28, 0.7);
  font-size: 0.95rem;
  display: inline-block;
  padding: 4px 0;
  transition: all var(--transition);
  position: relative;
}

.footer-col a:hover {
  color: var(--red);
  padding-left: 8px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
  padding: 0;
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px var(--gold-glow);
  padding-left: 0;
}

.footer-col .btn-whatsapp {
  margin-top: 12px;
  padding: 12px 28px;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(28, 28, 28, 0.15);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(28, 28, 28, 0.5);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--gold);
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

/* ============================================================
   12. EXTRAS / DECORATIVE
   ============================================================ */

/* Section separator wave / ornament */
.section-ornament {
  display: block;
  margin: 0 auto 24px;
  max-width: 80px;
  opacity: 0.5;
}

/* Gold sparkle text */
.sparkle {
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--yellow), var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: sparkle-shift 3s linear infinite;
}

@keyframes sparkle-shift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Pulse animation for CTA elements */
.pulse {
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(212, 42, 42, 0.5); }
  70%  { box-shadow: 0 0 0 16px rgba(212, 42, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 42, 42, 0); }
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 900;
  transition: all var(--transition);
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

/* Loading / skeleton shimmer */
.shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   13. RESPONSIVE — Mobile-First Breakpoints
   ============================================================ */

/* ---------- Mobile base (< 480px) ---------- */
@media (max-width: 479px) {
  .carousel-container {
    overflow: hidden;
  }

  .carousel-slide {
    min-width: 100%;
    padding: 0 4px;
  }

  .carousel-slide img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
  }
}

/* ---------- ≥ 480px (Large phones) ---------- */
@media (min-width: 480px) {
  .info-cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .info-card {
    flex: 1 1 calc(50% - 10px);
  }
}

/* ---------- ≥ 768px (Tablets) ---------- */
@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }

  /* Navbar */
  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-menu-btn {
    display: none;
  }

  /* Hero */
  .hero-content {
    padding: 120px 40px 80px;
  }

  /* Essência */
  #essencia {
    padding: 120px 0;
  }

  /* O Bloco */
  #obloco {
    padding: 120px 0;
  }

  /* Galeria */
  .carousel-slide img {
    max-height: 550px;
  }

  .carousel-btn {
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
  }

  /* Programe-se */
  .info-cards {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .info-card {
    flex: 1;
    flex-direction: column;
    text-align: center;
  }

  .map-wrapper iframe {
    height: 380px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- ≥ 1024px (Desktop) ---------- */
@media (min-width: 1024px) {
  .container {
    padding: 0 60px;
  }

  /* Navbar */
  .navbar-logo {
    font-size: 1.8rem;
  }

  /* Hero */
  .hero-content {
    padding: 0 60px;
  }

  /* Galeria */
  .carousel-slide img {
    max-height: 600px;
  }

  /* Programe-se */
  #programese {
    padding: 120px 0;
  }

  .map-wrapper iframe {
    height: 420px;
  }

  /* Camisa */
  #camisa {
    padding: 120px 0;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

/* ---------- ≥ 1280px (Large Desktop) ---------- */
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
    padding: 0 80px;
  }

  .hero-title {
    font-size: 5.5rem;
  }
}

/* ============================================================
   14. REDUCED MOTION — Accessibility
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in-up {
    opacity: 1;
    transform: none;
  }

  .confetti {
    display: none;
  }
}

/* ============================================================
   15. PRINT STYLES
   ============================================================ */
@media print {
  .navbar,
  .confetti-container,
  .whatsapp-float,
  .carousel-btn,
  .carousel-dots,
  .hero-scroll-indicator {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  #hero {
    min-height: auto;
    padding: 40px 0;
  }

  .hero-overlay {
    background: none;
  }
}
