/* ==========================================================================
   SAMPA SKY - Redesign baseado no site oficial sampasky.com.br
   Cores: Vermelho #E63946, Laranja #FF6B35, Preto #1A1A1A, Branco
   ========================================================================== */

:root {
  --red: #E63946;
  --red-dark: #C62828;
  --orange: #FF6B35;
  --orange-light: #FF8A5C;
  --black: #1A1A1A;
  --dark: #2D2D2D;
  --gray: #666666;
  --gray-light: #999999;
  --gray-bg: #F5F5F5;
  --white: #FFFFFF;
  --border: #E0E0E0;

  --font-main: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Poppins', 'Helvetica Neue', Arial, sans-serif;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-main);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

/* === TOP BAR === */
.top-bar {
  background: var(--black);
  color: #ccc;
  font-size: 0.8rem;
  padding: 6px 0;
}
.top-bar a { color: #ccc; }
.top-bar a:hover { color: var(--orange); }

/* === NAVBAR === */
.navbar {
  background: var(--white) !important;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.navbar.navbar-dark .nav-link,
.navbar .nav-link {
  color: var(--dark) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px !important;
  position: relative;
  transition: var(--transition);
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--red) !important;
}
.navbar .nav-link.active::after {
  content: '';
  position: absolute;
  top: -14px;
  left: 14px;
  right: 14px;
  height: 3px;
  background: var(--red);
  border-radius: 0 0 3px 3px;
}
.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--red) !important;
}
.brand-icon { color: var(--red); }
.brand-text { color: var(--red); }

.navbar-toggler { border-color: var(--border); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(26,26,26,0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* CTA Button - Red/Orange */
.btn-cta {
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: var(--white) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  border: none;
  border-radius: 50px;
  padding: 10px 28px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(230,57,70,0.3);
}
.btn-cta:hover {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(230,57,70,0.4);
}
.btn-cta.btn-lg { padding: 14px 40px; font-size: 1.05rem; }

.cart-badge {
  background: var(--red) !important;
  font-size: 0.65rem;
  min-width: 18px;
  height: 18px;
}

/* === HERO SECTION === */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  background: rgba(230,57,70,0.9);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 20px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.85;
}
.hero-trust { margin-top: 8px; }
.trust-item { font-size: 0.9rem; }
.trust-divider { font-size: 1.2rem; opacity: 0.5; }
.z-2 { z-index: 2; }

/* === URGENCY BANNER === */
.urgency-banner {
  background: linear-gradient(90deg, var(--red), var(--orange));
  color: white;
}
.urgency-text {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}
.urgency-count { font-weight: 800; color: #FFD700; font-size: 1.1rem; }
.urgency-link { text-decoration: underline !important; }

/* === SECTIONS === */
.section-padding { padding: 80px 0; }

.section-badge {
  display: inline-block;
  background: var(--red);
  color: white;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 4px 16px;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--black);
  margin-top: 12px;
}
.section-subtitle {
  color: var(--gray);
  max-width: 600px;
  font-size: 1rem;
}

/* === FEATURE CARDS === */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--red);
}
.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--red), var(--orange));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
}

/* === HIGHLIGHT CARDS === */
.highlight-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.highlight-img-wrapper { overflow: hidden; }
.highlight-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.highlight-card:hover .highlight-img { transform: scale(1.08); }
.highlight-body { padding: 20px; }

/* === TICKET CARDS (Homepage) === */
.tickets-section {
  background: var(--black);
  color: white;
  /* Pattern de diamantes como o site real */
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,0.02) 20px,
    rgba(255,255,255,0.02) 40px
  );
}
.tickets-section .section-badge { background: rgba(255,255,255,0.15); color: var(--orange); }
.tickets-section .section-title { color: white; }
.tickets-section .section-subtitle { color: rgba(255,255,255,0.6); }

.ticket-card {
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  border: 2px solid transparent;
}
.ticket-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.ticket-card-featured {
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 1px var(--orange), var(--shadow-md);
}
.ticket-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 20px;
  border-radius: 50px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ticket-type {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ticket-price { font-family: var(--font-heading); color: var(--black); }
.price-currency { font-size: 1rem; vertical-align: super; }
.price-value { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.price-decimal { font-size: 1rem; vertical-align: super; }
.ticket-features li { padding: 6px 0; font-size: 0.9rem; }
.btn-outline-dark {
  border: 2px solid var(--black);
  color: var(--black);
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-outline-dark:hover {
  background: var(--black);
  color: white;
}

/* === REVIEW CARDS === */
.reviews-section { background: var(--gray-bg); }
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-md); }
.review-text { font-style: italic; color: var(--gray); line-height: 1.6; }
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.review-stars i { font-size: 0.9rem; }

/* === GALLERY === */
.gallery-section { background: var(--white); }
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-img { transform: scale(1.1); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(230,57,70,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* === LOCATION === */
.location-section { background: var(--white); }
.location-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(230,57,70,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.map-container iframe { width: 100%; border-radius: var(--radius-lg); }

/* === NEWSLETTER === */
.newsletter-section {
  background: linear-gradient(135deg, var(--black), var(--dark));
}
.newsletter-input {
  border-radius: 50px !important;
  border: 2px solid rgba(255,255,255,0.2) !important;
  background: rgba(255,255,255,0.1) !important;
  color: white !important;
  padding: 12px 24px !important;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-input:focus {
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 0.2rem rgba(255,107,53,0.25) !important;
}

/* === FOOTER === */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
}
.site-footer .footer-brand { color: var(--white); }
.footer-title {
  font-family: var(--font-heading);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer-links li { padding: 4px 0; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-links a:hover { color: var(--orange); }
.footer-contact li { padding: 4px 0; font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer-contact a { color: rgba(255,255,255,0.6); }
.footer-contact a:hover { color: var(--orange); }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.social-link:hover {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

/* === BACK TO TOP === */
#backToTop, .back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: white;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
#backToTop:hover, .back-to-top:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
  color: white;
}

/* === ACCORDION / FAQ === */
.accordion-item { border: 1px solid var(--border); border-radius: var(--radius) !important; overflow: hidden; }
.accordion-button { font-family: var(--font-heading); font-weight: 600; color: var(--black); }
.accordion-button:not(.collapsed) { background: rgba(230,57,70,0.05); color: var(--red); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 0.2rem rgba(230,57,70,0.15); border-color: var(--red); }
.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23E63946'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* === FORMS === */
.form-control:focus, .form-select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 0.2rem rgba(230,57,70,0.15);
}

/* === ALERTS === */
.alert-success { background: #d4edda; border-color: #c3e6cb; color: #155724; }
.alert-danger { background: #f8d7da; border-color: #f5c6cb; color: #721c24; }

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .section-padding { padding: 60px 0; }
  .hero-section { min-height: 70vh; }
  .navbar .nav-link.active::after { display: none; }
}
@media (max-width: 768px) {
  .section-padding { padding: 40px 0; }
  .hero-section { min-height: 60vh; }
  .hero-title { font-size: 1.8rem; }
  .price-value { font-size: 2rem; }
  .gallery-img { height: 150px; }
  .trust-divider { display: none !important; }
}
@media (max-width: 576px) {
  .hero-section { min-height: 50vh; }
  .top-bar { display: none !important; }
}
