* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::selection {
  background: #c9a84c;
  color: white;
}

:root {
        --gold: #d19c00 !important;
        --gold-dark: #bf8f00 !important;
        --bg-bege: #f5f0e8;
        --white: #ffffff;
        --gray: #666;
        --gray-light: #f0e6d2;
        --black: #111111;
        --radius-premium: 28px;
    }

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--beige-light);
  color: var(--dark);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(245, 235, 224, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(201, 143, 69, 0.1);
  transition: all 0.3s ease;
}

header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-menu a {
  color: var(--dark);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--gold);
}

.nav-menu .btn-tickets {
  background: var(--gold);
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
}

.nav-menu .btn-tickets:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s ease;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--beige-light) 0%, var(--beige) 100%);
  padding-top: 100px;
  text-align: center;
}

.hero-content {
  max-width: 1000px;
  padding: 2rem;
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--gray);
  margin-bottom: 1rem;
}

.hero-date {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--gold);
  margin-bottom: 3rem;
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Bot천es */
.btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 1rem;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
}

.btn-secondary {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}

.btn-secondary:hover {
  background: var(--dark);
  color: var(--beige-light);
}

/* Sections */
section {
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Schedule */
#schedule { background: #fff; }

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.schedule-card {
  background: linear-gradient(135deg, var(--beige-light) 0%, #fff 100%);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid rgba(201, 143, 69, 0.1);
  transition: all 0.4s ease;
}

.schedule-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(201, 143, 69, 0.15);
}

.schedule-day {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 700;
}

.schedule-events {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.event-item { display: flex; gap: 1rem; }
.event-time { font-weight: 600; color: var(--gold); min-width: 80px; }
.event-details h4 { font-weight: 600; margin-bottom: 0.25rem; }
.event-details p { color: var(--gray); font-size: 0.95rem; }

/* Cards Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.info-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(201, 143, 69, 0.1);
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(201, 143, 69, 0.15);
}

.info-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.info-card h3 { font-family: 'Outfit', sans-serif; font-size: 1.75rem; margin-bottom: 1rem; }
.info-card p { color: var(--gray); line-height: 1.7; margin-bottom: 1.5rem; }
.info-card .btn { padding: 0.75rem 2rem; font-size: 0.95rem; }

/* Sponsors */
#sponsors { background: var(--dark); color: var(--beige-light); }
#sponsors .section-title { color: var(--beige-light); }

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.sponsor-logo {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  transition: all 0.3s ease;
  border: 1px solid rgba(201, 143, 69, 0.1);
}

.sponsor-logo:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--gold); }
.sponsor-logo span { font-family: 'Outfit', sans-serif; font-size: 1.5rem; color: var(--gold); font-weight: 600; }

/* Tickets CTA */
#tickets { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); color: #fff; text-align: center; }
#tickets .section-title { color: #fff; }
#tickets .btn { background: #fff; color: var(--gold); }

/* Footer */
footer {
  background: #000;
  color: var(--beige-light);
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 { font-family: 'Outfit', sans-serif; font-size: 1.5rem; color: var(--gold); margin-bottom: 1.5rem; }
.footer-section p, .footer-section a { color: #ccc; text-decoration: none; line-height: 1.8; display: block; }
.footer-section a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 143, 69, 0.2);
  text-align: center;
  color: #ccc;
  font-size: 0.875rem;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--beige-light) 0%, var(--beige) 100%);
  padding: 10rem 2rem 4rem;
  text-align: center;
}

.page-header h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--gold);
  margin-bottom: 1rem;
}

.back-button {
  display: inline-block;
  margin: 2rem;
  padding: 0.8rem 2rem;
  background: var(--gold);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.back-button:hover { background: var(--gold-dark); transform: translateY(-2px); }

/* Responsive */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    background: rgba(245, 235, 224, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transition: left 0.3s ease;
  }
  .nav-menu.active { left: 0; }
  .menu-toggle { display: flex; }
  .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }
  .schedule-grid, .info-grid { grid-template-columns: 1fr; }
}

/* Full menu */
.full-menu { max-width: 1200px; margin: 0 auto; padding: 4rem 2rem; }

.menu-category { margin-bottom: 3rem; }
.menu-category h2 { font-family: 'Outfit', sans-serif; font-size: 2rem; color: var(--gold); border-bottom: 2px solid var(--gold); display: inline-block; margin-bottom: 2rem; padding-bottom: 0.5rem; }

.menu-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }

.menu-item { background: #fff; padding: 1.5rem; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; transition: transform 0.3s ease; }
.menu-item:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(201,143,69,0.1); }
.menu-item-info h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.menu-item-info p { color: var(--gray); font-size: 0.9rem; }
.menu-item-price { font-size: 1.3rem; font-weight: 700; color: var(--gold); }

/* Hotels */
.hotel-card { display: flex; background: #fff; border-radius: 12px; overflow: hidden; margin-bottom: 2rem; transition: transform 0.3s ease; }
.hotel-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(201,143,69,0.15); }
.hotel-image { width: 250px; background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.hotel-info { flex: 1; padding: 2rem; }
.hotel-info h2 { color: var(--gold); margin-bottom: 0.5rem; }
.hotel-rating { color: var(--gold); margin-bottom: 1rem; }
.hotel-price { font-size: 1.5rem; font-weight: 700; color: var(--gold); margin: 1rem 0; }

@media (max-width: 768px) {
  /* Se usares containers com largura fixa, muda para 90% ou 100% */
  .container {
    width: 100%;
    padding: 0 15px;
  }

  /* Se o teu menu/grid quebra de forma feia, força-o a ficar em coluna */
  .row, .grid-layout, navbar {
    flex-direction: column !important;
    display: flex;
  }

  /* Ajusta o tamanho das fontes para não estourarem o ecrã */
  h1 {
    font-size: 1.8rem;
  }
  
  /* Garante que imagens ou tabelas não saem do ecrã */
  img, table {
    max-width: 100%;
    height: auto;
  }
}
/* Container do Dropdown */
.lang-dropdown {
  position: relative;
  display: inline-block;
}

/* Botão Principal */
.lang-dropbtn {
  background-color: #fff;
  color: #333;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #ced4da;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
}

.lang-dropbtn .arrow {
  font-size: 10px;
  transform: rotate(180deg);
  display: inline-block;
  color: #6c757d;
}

/* Caixa Suspensa (Escondida por padrão) */
.lang-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #ffffff;
  min-width: 160px;
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 6px;
  z-index: 1000;
  margin-top: 5px;
  border: 1px solid rgba(0,0,0,0.05);
}

/* Botões de escolha dentro do menu */
.lang-dropdown-content button {
  color: #333;
  padding: 8px 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s;
  text-align: left;
}

/* Siglas alinhadas à direita (PT / EN em cinza) */
.lang-dropdown-content button .lang-sigla {
  margin-left: auto;
  color: #adb5bd;
  font-size: 12px;
}

.lang-dropdown-content button .flag {
  margin-right: 8px;
}

/* Hover nos botões internos */
.lang-dropdown-content button:hover {
  background-color: #f8f9fa;
}

/* Classe que mostra o menu (ativada por JS) */
.lang-dropdown-content.show-menu {
  display: block;
}