/* Warm festive style sheet */
:root {
  --primary: #f59e0b;
  --primary-glow: rgba(245, 158, 11, 0.3);
  --secondary: #ef4444;
  --secondary-glow: rgba(239, 68, 68, 0.3);
  --accent: #10b981;
  --bg-color: #0c0504;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-hover-bg: rgba(255, 255, 255, 0.06);
  --card-hover-border: rgba(255, 255, 255, 0.15);
  --text-color: #fdedec;
  --text-muted: #c9b1ae;
  --font-title: 'Outfit', system-ui, sans-serif;
  --font-body: 'Outfit', 'Inter', system-ui, sans-serif;
  
  color-scheme: dark;
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
}

.orb-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  left: -100px;
  background: var(--secondary);
}

.orb-2 {
  width: 400px;
  height: 400px;
  bottom: 100px;
  right: -50px;
  background: var(--primary);
}

/* Festive Flags (Bandeirinhas) CSS Decoration */
.festive-flags {
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  height: 25px;
  overflow: hidden;
  pointer-events: none;
}

.festive-flags span {
  display: block;
  width: 10%;
  height: 100%;
  position: relative;
}

.festive-flags span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 15px solid transparent;
  transform: translateX(-50%);
  left: 50%;
}

.festive-flags span:nth-child(3n+1)::after { border-top-color: #ef4444; }
.festive-flags span:nth-child(3n+2)::after { border-top-color: #f59e0b; }
.festive-flags span:nth-child(3n+3)::after { border-top-color: #3b82f6; }

/* Links & Typography */
a {
  color: inherit;
  transition: all 0.2s ease;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  background: rgba(15, 7, 6, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  border-radius: 0 0 16px 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 900;
}

.brand-dot {
  color: var(--primary);
}

nav {
  display: flex;
  gap: 0.5rem;
}

nav a {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

nav a:hover {
  color: #ffffff;
  background: var(--card-bg);
}

/* Main Container */
main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 4rem;
}

/* Glass Panels */
.glass-panel {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.glass-panel:hover {
  transform: translateY(-2px);
  background: var(--card-hover-bg);
  border-color: var(--card-hover-border);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
  min-height: calc(85vh - 5rem);
  padding: 3rem 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #ffffff, #fecaca, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--secondary), #b91c1c);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--secondary-glow);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(239, 68, 68, 0.6);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--card-border);
  color: #ffffff;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.button-full {
  width: 100%;
}

.button:disabled {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--text-muted) !important;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  border: 1px solid var(--card-border);
}

/* Step list */
.step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
  width: 100%;
}

.step-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--card-border);
  border-radius: 12px;
}

.step-num {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary);
}

.step-list li strong {
  display: block;
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.step-list li span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hero Media Preview Widget */
.hero-media-wrapper {
  position: relative;
}

.hero-media {
  position: relative;
  z-index: 1;
}

.visual-festive-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem;
  border-color: rgba(239, 68, 68, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  background: radial-gradient(circle at center, #1b0c0a 0%, #0f0706 100%);
}

.preview-card-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.mode-indicator {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: var(--primary);
  color: #0c0504;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pulse {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { opacity: 0.8; box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  50% { opacity: 1; box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { opacity: 0.8; box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.festive-display {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.festive-emoji {
  font-size: 3.5rem;
  margin-bottom: 0.75rem;
  animation: flame 1s ease-in-out infinite alternate;
}

@keyframes flame {
  0% { transform: scale(0.95) rotate(-2deg); }
  100% { transform: scale(1.05) rotate(2deg); }
}

.festive-text {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.festive-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sections Global Styling */
.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--card-border);
}

.section:last-of-type {
  border-bottom: none;
}

.section-heading {
  margin-bottom: 3.5rem;
}

.section-heading span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
}

/* Cashier Grid Layout */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.category-title {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  border-left: 3px solid var(--primary);
  padding-left: 0.75rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.menu-item-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  transition: all 0.2s ease;
}

.menu-item-card:hover {
  border-color: rgba(245, 158, 11, 0.2);
}

.item-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.item-price {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
}

.item-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  padding: 0.25rem;
  border-radius: 8px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  display: grid;
  place-items: center;
  transition: all 0.15s ease;
}

.qty-btn:hover {
  background: var(--primary);
  color: #0c0504;
}

.qty-display {
  font-size: 0.9rem;
  font-weight: 700;
  min-width: 15px;
  text-align: center;
}

/* Cart Panel */
.cart-container {
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.cart-container h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--card-border);
}

.cart-items-wrapper {
  flex-grow: 1;
  max-height: 250px;
  overflow-y: auto;
  margin-bottom: 1.5rem;
  padding-right: 0.5rem;
}

.cart-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-placeholder {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 3rem 1rem;
}

.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--card-border);
}

.cart-item-name-qty {
  display: flex;
  gap: 0.5rem;
}

.cart-item-qty {
  color: var(--primary);
  font-weight: 700;
}

.cart-item-price {
  font-weight: 600;
}

.cart-totals {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.totals-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.totals-row:last-child {
  margin-bottom: 0;
}

.totals-row.bold {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 700;
  padding-top: 0.5rem;
  border-top: 1px solid var(--card-border);
}

/* Timeline Programacao */
.timeline-container {
  padding: 2.5rem;
}

.festive-timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.festive-timeline::before {
  content: "";
  position: absolute;
  left: 3.25rem;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--card-border);
}

.festive-timeline li {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.time-tag {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.9rem;
  width: 75px;
  padding: 0.35rem 0.5rem;
  text-align: center;
  border-radius: 6px;
  flex-shrink: 0;
  z-index: 2;
}

.timeline-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.timeline-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Feature Grid Rules */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  background: var(--card-hover-bg);
  border-color: var(--card-hover-border);
}

.feature-index {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Team Grid & Member Cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.25rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.member-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.member-card:hover {
  transform: translateY(-6px);
  background: var(--card-hover-bg);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 15px var(--primary-glow);
}

.member-card:hover::before {
  opacity: 1;
}

.member-img {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.25rem;
  border: 3px solid rgba(255, 255, 255, 0.08);
  background-color: var(--bg-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.member-card:hover .member-img {
  border-color: var(--secondary);
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px var(--primary-glow);
}

.member-avatar-placeholder {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #0c0504;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.member-card:hover .member-avatar-placeholder {
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px var(--primary-glow);
}

.member-card span {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.member-card strong {
  font-size: 1.05rem;
  color: #ffffff;
}

/* Footer Section */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
  border-top: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

footer a {
  font-weight: 700;
  text-decoration: none;
  color: var(--primary);
}

footer a:hover {
  color: var(--secondary);
}

/* MODAL OVERLAY & TICKET STYLING */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.ticket-modal-card {
  background: #ffffff;
  color: #111111;
  border-radius: 12px;
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  font-family: monospace;
}

.modal-overlay.active .ticket-modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: #666666;
  line-height: 1;
}

.modal-close:hover {
  color: #111111;
}

.ticket-header {
  text-align: center;
  padding-bottom: 1.25rem;
  border-bottom: 2px dashed #cccccc;
}

.ticket-title {
  display: block;
  font-weight: bold;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  color: #222222;
}

.ticket-logo {
  font-size: 0.85rem;
  color: #888888;
}

.ticket-body {
  padding: 1.5rem 0;
}

.ticket-serial {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.ticket-serial strong {
  color: var(--secondary);
}

.ticket-details {
  margin-bottom: 1.5rem;
}

.ticket-item-detail {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.ticket-divider {
  border-top: 1px dashed #dddddd;
  margin: 1.25rem 0;
}

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

.ticket-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.ticket-instruction {
  font-size: 0.8rem;
  color: #666666;
  line-height: 1.4;
  text-align: justify;
}

/* Responsive Styling */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-copy {
    align-items: center;
  }
  
  .hero-media-wrapper {
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
  }
  
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    align-items: center;
  }
  
  nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .step-list {
    grid-template-columns: 1fr;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 580px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
  
  .festive-timeline::before {
    left: 2.25rem;
  }
  
  .time-tag {
    width: 60px;
    font-size: 0.8rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Notices & Adjustments Section Styles */
.notices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.notice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem;
  transition: all 0.3s ease;
  min-height: 250px;
}

.notice-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.3);
}

.notice-card.alert-warning {
  border-left: 4px solid var(--primary);
}

.notice-card.alert-info {
  border-left: 4px solid var(--secondary);
}

.notice-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.notice-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.notice-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.notice-card strong {
  color: #ffffff;
}

.notice-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.8;
  display: block;
}

/* Responsive adjustments for notices */
@media (max-width: 992px) {
  .notices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

