/* ============================================
   COMEDY V7 — Templo Premium Club de Comédia
   Fundo:  #111  (darkest)
   Amarelo: #eab308
   Vermelho: #ef4444
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #111;
  color: #f5f5f5;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: #eab308; text-decoration: none; transition: color .3s; }
a:hover { color: #ef4444; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- LOADING SCREEN --- */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: #111;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 24px;
  transition: opacity .5s ease, visibility .5s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  font-size: 3rem; font-weight: 900;
  color: #eab308; letter-spacing: 4px;
  text-transform: uppercase;
}
.loader-bar {
  width: 200px; height: 3px; background: #222; border-radius: 2px; overflow: hidden;
}
.loader-bar-inner {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #eab308, #ef4444);
  border-radius: 2px;
  animation: loadBar 1.5s ease forwards;
}
@keyframes loadBar { to { width: 100%; } }

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #eab308; }

/* --- HEADER / NAV --- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(17,17,17,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(234,179,8,.15);
  transition: background .3s, border-color .3s;
}
.site-header.scrolled { background: rgba(17,17,17,.98); border-bottom-color: #eab308; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  font-size: 1.5rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 3px;
  color: #eab308;
}
.logo span { color: #ef4444; }
.nav-links {
  display: flex; gap: 32px;
}
.nav-links a {
  color: #aaa; font-size: .875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  position: relative; padding: 4px 0;
  transition: color .3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: #eab308;
  transition: width .3s;
}
.nav-links a:hover, .nav-links a.active { color: #eab308; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.menu-toggle span {
  width: 28px; height: 2px; background: #eab308;
  transition: transform .3s, opacity .3s;
  border-radius: 2px;
}

/* --- HERO SECTION (shared) --- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  position: relative;
  padding: 100px 24px 60px;
  background: #111;
  overflow: hidden;
}
.hero-bg-shapes {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.hero-bg-shapes .shape {
  position: absolute; border-radius: 50%;
  opacity: .04;
}
.hero-bg-shapes .shape-1 {
  width: 500px; height: 500px; background: #eab308;
  top: -150px; right: -150px;
  animation: floatShape 20s ease-in-out infinite;
}
.hero-bg-shapes .shape-2 {
  width: 350px; height: 350px; background: #ef4444;
  bottom: -100px; left: -100px;
  animation: floatShape 25s ease-in-out infinite reverse;
}
.hero-bg-shapes .shape-3 {
  width: 200px; height: 200px; background: #eab308;
  bottom: 20%; right: 10%;
  animation: floatShape 15s ease-in-out infinite;
}
@keyframes floatShape {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-30px) scale(1.05); }
  66% { transform: translate(-20px,20px) scale(.95); }
}

.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-tag {
  display: inline-block;
  background: rgba(234,179,8,.15);
  color: #eab308;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 24px;
  border: 1px solid rgba(234,179,8,.25);
}
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 .highlight-yellow { color: #eab308; }
.hero h1 .highlight-red { color: #ef4444; }
.hero p {
  font-size: 1.125rem; color: #999;
  max-width: 600px; margin: 0 auto 36px;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  text-transform: uppercase; letter-spacing: 1px;
  cursor: pointer; border: none;
  transition: all .3s;
}
.btn-primary {
  background: #eab308; color: #111;
}
.btn-primary:hover { background: #ef4444; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(239,68,68,.35); }
.btn-outline {
  background: transparent; color: #eab308;
  border: 2px solid #eab308;
}
.btn-outline:hover { background: #eab308; color: #111; transform: translateY(-2px); }
.btn-danger {
  background: #ef4444; color: #fff;
}
.btn-danger:hover { background: #dc2626; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(239,68,68,.35); }

/* --- SECTION HEADERS --- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .subtitle {
  display: inline-block;
  color: #eab308; font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}
.section-header h2 span { color: #eab308; }
.section-header p {
  color: #777;
  max-width: 500px; margin: 12px auto 0;
}
.section-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, #eab308, #ef4444);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* --- PAGE HEADER --- */
.page-header {
  padding: 120px 24px 60px;
  text-align: center;
  background: #111;
  position: relative;
  border-bottom: 1px solid rgba(234,179,8,.1);
}
.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
}
.page-header h1 span { color: #eab308; }
.page-header p {
  color: #888; margin-top: 12px; font-size: 1.1rem;
}

/* --- SHOW CARDS --- */
.shows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  padding: 80px 24px;
  max-width: 1200px; margin: 0 auto;
}
.show-card {
  background: #1a1a1a;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #222;
  transition: all .4s;
}
.show-card:hover { border-color: #eab308; transform: translateY(-8px); box-shadow: 0 20px 60px rgba(234,179,8,.1); }
.show-card-image {
  height: 200px; overflow: hidden;
  position: relative;
}
.show-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.show-card:hover .show-card-image img { transform: scale(1.05); }
.show-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: #ef4444; color: #fff;
  padding: 4px 12px; border-radius: 100px;
  font-size: .75rem; font-weight: 700;
}
.show-card-body { padding: 24px; }
.show-card-date {
  color: #eab308; font-size: .85rem; font-weight: 600;
  margin-bottom: 8px;
}
.show-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.show-card p { color: #777; font-size: .9rem; margin-bottom: 16px; }
.show-card-footer {
  display: flex; justify-content: space-between; align-items: center;
}
.show-card-price { color: #eab308; font-weight: 700; font-size: 1.1rem; }

/* --- ABOUT --- */
.about-section {
  padding: 100px 24px;
  max-width: 1200px; margin: 0 auto;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  border-radius: 16px; overflow: hidden;
  border: 1px solid #222;
  position: relative;
}
.about-image::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(234,179,8,.1), rgba(239,68,68,.1));
}
.about-image img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; }
.about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800; margin-bottom: 20px;
}
.about-text h2 span { color: #eab308; }
.about-text p { color: #999; margin-bottom: 16px; font-size: 1.05rem; line-height: 1.8; }
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 2rem; font-weight: 900;
  background: linear-gradient(135deg, #eab308, #ef4444);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { color: #777; font-size: .85rem; margin-top: 4px; }

/* --- GALLERY --- */
.gallery-section {
  padding: 80px 24px;
  max-width: 1200px; margin: 0 auto;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative; border-radius: 12px; overflow: hidden;
  cursor: pointer; aspect-ratio: 4/3;
  border: 1px solid #222;
  transition: all .4s;
}
.gallery-item:hover { border-color: #eab308; transform: scale(1.02); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(17,17,17,.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .4s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: #eab308; font-weight: 700; font-size: .9rem;
  text-transform: uppercase; letter-spacing: 1px;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(17,17,17,.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all .4s;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 90%; max-height: 85vh;
  border-radius: 12px; border: 1px solid #333;
}
.lightbox-close {
  position: absolute; top: 30px; right: 30px;
  color: #fff; font-size: 2rem; cursor: pointer;
  background: none; border: none;
  transition: color .3s;
}
.lightbox-close:hover { color: #ef4444; }

/* --- BLOG --- */
.blog-section {
  padding: 80px 24px;
  max-width: 1200px; margin: 0 auto;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}
.blog-card {
  background: #1a1a1a;
  border-radius: 16px; overflow: hidden;
  border: 1px solid #222;
  transition: all .4s;
}
.blog-card:hover { border-color: #eab308; transform: translateY(-6px); box-shadow: 0 20px 50px rgba(234,179,8,.08); }
.blog-card-image {
  height: 200px; overflow: hidden;
}
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-body { padding: 24px; }
.blog-card-meta {
  display: flex; gap: 12px; color: #666;
  font-size: .85rem; margin-bottom: 8px;
}
.blog-card-meta .category { color: #eab308; font-weight: 600; }
.blog-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.blog-card p { color: #777; font-size: .9rem; margin-bottom: 16px; }
.blog-card .read-more {
  color: #eab308; font-weight: 600; font-size: .9rem;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .3s;
}
.blog-card .read-more:hover { gap: 12px; color: #ef4444; }

/* --- CONTACT --- */
.contact-section {
  padding: 80px 24px;
  max-width: 1200px; margin: 0 auto;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info h3 {
  font-size: 1.5rem; font-weight: 800; margin-bottom: 20px;
}
.contact-info h3 span { color: #eab308; }
.contact-info p { color: #999; margin-bottom: 30px; }
.contact-detail {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
}
.contact-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(234,179,8,.1);
  border-radius: 12px;
  color: #eab308;
  font-size: 1.2rem;
}
.contact-detail h4 { font-size: .9rem; font-weight: 700; color: #eab308; }
.contact-detail p { font-size: .9rem; color: #888; margin-bottom: 0; }

.contact-form {
  background: #1a1a1a;
  padding: 40px;
  border-radius: 16px;
  border: 1px solid #222;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: .85rem; font-weight: 600;
  color: #aaa; margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  color: #f5f5f5;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .3s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #eab308;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* --- TEAM --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  padding: 0 24px 80px;
  max-width: 1200px; margin: 0 auto;
}
.team-card {
  text-align: center;
  background: #1a1a1a;
  border-radius: 16px;
  padding: 40px 24px;
  border: 1px solid #222;
  transition: all .4s;
}
.team-card:hover { border-color: #eab308; transform: translateY(-6px); }
.team-card-avatar {
  width: 100px; height: 100px;
  border-radius: 50%; overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid #222;
  transition: border-color .3s;
}
.team-card:hover .team-card-avatar { border-color: #eab308; }
.team-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.1rem; font-weight: 700; }
.team-card .role { color: #eab308; font-size: .85rem; margin: 4px 0 12px; font-weight: 600; }
.team-card p { color: #777; font-size: .85rem; }

/* --- NEWSLETTER --- */
.newsletter {
  background: linear-gradient(135deg, rgba(234,179,8,.05), rgba(239,68,68,.05));
  border: 1px solid rgba(234,179,8,.15);
  border-radius: 20px;
  padding: 60px;
  text-align: center;
  max-width: 800px; margin: 0 auto 80px;
}
.newsletter h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; }
.newsletter h3 span { color: #eab308; }
.newsletter p { color: #888; margin-bottom: 24px; }
.newsletter-form {
  display: flex; gap: 12px; max-width: 500px; margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  color: #f5f5f5;
  font-size: 1rem;
  outline: none;
  transition: border-color .3s;
}
.newsletter-form input:focus { border-color: #eab308; }

/* --- FOOTER --- */
.site-footer {
  background: #0d0d0d;
  border-top: 1px solid rgba(234,179,8,.1);
  padding: 60px 24px 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px; margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid #222;
}
.footer-brand .logo { margin-bottom: 16px; display: inline-block; }
.footer-brand p { color: #777; font-size: .9rem; max-width: 280px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: #1a1a1a;
  border-radius: 10px;
  color: #888;
  transition: all .3s;
  font-size: 1rem;
}
.footer-social a:hover { background: #eab308; color: #111; }
.footer-col h4 {
  font-size: .9rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 16px; color: #eab308;
}
.footer-col a {
  display: block; color: #777; font-size: .9rem;
  padding: 4px 0; transition: color .3s;
}
.footer-col a:hover { color: #ef4444; }
.footer-bottom {
  text-align: center; padding-top: 30px;
  color: #555; font-size: .85rem;
  max-width: 1200px; margin: 0 auto;
}

/* --- BACK TO TOP --- */
#backToTop {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  width: 48px; height: 48px;
  background: #eab308; color: #111;
  border: none; border-radius: 12px;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all .3s;
  box-shadow: 0 4px 15px rgba(234,179,8,.3);
}
#backToTop.visible { opacity: 1; visibility: visible; }
#backToTop:hover { background: #ef4444; color: #fff; transform: translateY(-3px); }

/* --- ANIMATIONS --- */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.fade-in-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }

.fade-in-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image img { min-height: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-form { flex-direction: column; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(17,17,17,.98);
    backdrop-filter: blur(12px);
    flex-direction: column; align-items: center;
    padding: 30px; gap: 20px;
    transform: translateY(-120%); opacity: 0;
    transition: all .4s;
    border-bottom: 1px solid rgba(234,179,8,.15);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

  .shows-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(3,1fr); }
  .form-row { grid-template-columns: 1fr; }
  .newsletter { padding: 40px 24px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .team-grid { grid-template-columns: 1fr; }
}
