/* ─── Google Fonts: carregadas via <link> no <head> de cada página ── */

/* ─── Reset & Base ─────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --orange:     #F36602;
  --orange-lt:  #FF751F;
  --orange-dk:  #BF420C;
  --black:      #000000;
  --dark:       #111111;
  --mid:        #1C1C1C;
  --border:     #2A2A2A;
  --cream:      #EDEAE0;
  --cream-dk:   #E0DDD3;
  --white:      #FFFFFF;
  --grey:       #888888;
  --font: 'Poppins', 'Segoe UI', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

#main { width: 100%; min-height: 100vh; }

/* ─── Topbar ────────────────────────────────────── */
#topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
  height: 68px;
  gap: 32px;
}

.topbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.topbar-logo-name {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
}

.topbar-logo-name strong { color: var(--orange); }

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.topbar-nav a {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  letter-spacing: 0.06em;
  border-radius: 4px;
  transition: color 0.2s;
  white-space: nowrap;
  position: relative;
}

.topbar-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 16px; right: 16px;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.topbar-nav a:hover { color: var(--white); }
.topbar-nav a:hover::after { transform: scaleX(1); }
.topbar-nav a.active-link { color: var(--orange); }
.topbar-nav a.active-link::after { transform: scaleX(1); }

.topbar-cta {
  padding: 10px 24px;
  background: var(--orange);
  color: var(--white);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}

.topbar-cta:hover { background: var(--orange-lt); transform: translateY(-1px); }

/* ─── Hero (slideshow de fundo) ─────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 64px 80px;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 2;
}

.hero-glow { display: none; }

.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.hero-dot.active {
  background: var(--orange);
  transform: scale(1.3);
}

.hero-dot:hover { background: rgba(255,255,255,0.7); }
.hero-dot.active:hover { background: var(--orange); }

.hero-crosshair-deco {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  width: min(65vh, 65vw);
  height: min(65vh, 65vw);
  opacity: 0.13;
  pointer-events: none;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  position: relative;
  z-index: 3;
}

.hero-eyebrow::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,0.6);
}

h1 {
  font-size: clamp(52px, 8vw, 100px);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  color: var(--white);
  position: relative;
  z-index: 3;
}

h1 em {
  font-style: normal;
  color: var(--black);
}

.hero-quote {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
  margin-bottom: 52px;
  padding-left: 20px;
  border-left: 3px solid rgba(255,255,255,0.55);
  white-space: nowrap;
  font-weight: 400;
}

.hero-quote cite {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  font-style: normal;
  font-weight: 600;
}

.hero-quote {
  position: relative;
  z-index: 3;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; position: relative; z-index: 3; }

.btn-primary {
  padding: 16px 36px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}

.btn-primary:hover { background: #1a1a1a; transform: translateY(-2px); }

.btn-outline {
  padding: 16px 36px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}

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

/* ─── Seções padrão ─────────────────────────────── */
.section-label {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
  font-weight: 600;
}

.section-title {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 52px;
  font-weight: 400;
}

/* ─── Countdown ─────────────────────────────────── */
#countdown-section {
  background: var(--dark);
  border-top: 3px solid var(--orange);
  padding: 72px 64px;
  text-align: center;
}

#countdown-trip-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  letter-spacing: 0.02em;
}

#countdown-trip-name::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.65); }
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
}

.countdown-block {
  background: var(--mid);
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  border-radius: 8px;
  padding: 32px 16px 24px;
  text-align: center;
}

.countdown-num {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}

.countdown-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 8px;
  font-weight: 500;
}

/* ─── WhatsApp Canal ────────────────────────────── */
#canal-section { padding: 0 64px 72px; }

.canal-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--mid);
  border: 1px solid rgba(37,211,102,0.3);
  border-left: 4px solid #25D366;
  border-radius: 10px;
  padding: 28px 36px;
}

.canal-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.25);
  display: flex; align-items: center; justify-content: center;
  color: #25D366;
  flex-shrink: 0;
}

.canal-text { flex: 1; }

.canal-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.canal-text p {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.6;
  margin: 0;
}

.canal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #25D366;
  color: #fff;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s;
  font-family: var(--font);
}

.canal-btn:hover { background: #1ebe5a; transform: translateY(-1px); }

/* ─── Calendar ──────────────────────────────────── */
#calendar-section { padding: 80px 64px; }

.cal-trips-wrapper {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  margin-top: 52px;
  align-items: start;
}

.cal-trips-panel { display: flex; flex-direction: column; gap: 0; }

.cal-trips-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
}

.no-trips {
  font-size: 13px;
  color: var(--grey);
  padding: 24px 0;
  font-style: italic;
}

.calendar-widget {
  background: var(--mid);
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  border-radius: 10px;
  padding: 28px;
}

.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.cal-month {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cal-nav { display: flex; gap: 8px; }

.cal-nav button {
  width: 30px; height: 30px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--grey);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  font-size: 14px;
  font-family: var(--font);
}

.cal-nav button:hover { border-color: var(--orange); color: var(--orange); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day-name {
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 4px 0 8px;
  font-weight: 600;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border-radius: 4px;
  cursor: default;
  font-weight: 500;
}

.cal-day.empty { pointer-events: none; }
.cal-day.today { color: var(--orange); font-weight: 800; }
.cal-day.has-trip {
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.cal-day.has-trip:hover { background: var(--orange-lt); }
.cal-day.in-range { background: rgba(243,102,2,0.22); border-radius: 0; }
.cal-day.range-start { border-radius: 4px 0 0 4px; background: var(--orange); color: white; font-weight: 800; }
.cal-day.range-end { border-radius: 0 4px 4px 0; background: var(--orange); color: white; font-weight: 800; }

/* Trip items */
.trip-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 24px 28px;
  background: var(--mid);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
  margin-bottom: 10px;
}

.trip-item:hover {
  border-color: var(--orange);
  background: rgba(243,102,2,0.05);
  transform: translateX(4px);
}

.trip-date-block {
  text-align: center;
  padding: 12px;
  background: var(--dark);
  border-radius: 6px;
  border: 1px solid var(--border);
}

.trip-date-day { font-size: 30px; font-weight: 900; line-height: 1; color: var(--orange); }
.trip-date-month { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); margin-top: 4px; font-weight: 600; }

.trip-name { font-size: 15px; font-weight: 700; margin-bottom: 8px; }

.trip-meta {
  font-size: 12px;
  color: var(--grey);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-weight: 400;
}

.trip-meta span { display: flex; align-items: center; gap: 6px; }

.trip-tag {
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}

.tag-upcoming { background: rgba(243,102,2,0.15); color: var(--orange); border: 1px solid rgba(243,102,2,0.3); }
.tag-open { background: rgba(255,255,255,0.05); color: var(--grey); border: 1px solid var(--border); }
.tag-closed { background: rgba(255,255,255,0.03); color: #555; border: 1px solid #333; }

.trip-item--closed { opacity: 0.5; cursor: default; pointer-events: none; }
.trip-item--closed:hover { border-color: var(--border); background: var(--mid); transform: none; }

/* ─── Historia (Fundo Creme) ─────────────────────── */
#historia {
  padding: 88px 64px;
  background: var(--cream);
}

#historia .section-label { color: var(--orange); }
#historia .section-title { color: #111111; }
#historia .section-sub { color: #666; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-top: 52px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-block {
  background: var(--white);
  border: 1px solid var(--cream-dk);
  border-radius: 10px;
  padding: 28px 24px;
  border-top: 3px solid var(--orange);
}

.stat-num {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--orange);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-top: 8px;
  font-weight: 600;
}

.about-text p {
  font-size: 14px;
  color: #555;
  line-height: 2;
  margin-bottom: 22px;
  font-weight: 400;
}

.about-text p:last-child { margin-bottom: 0; }

.about-text strong { color: var(--black); }
.about-text em { color: #777; font-style: italic; }

/* ─── Participe ─────────────────────────────────── */
#participe { padding: 88px 64px; }

.participe-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.participe-card {
  background: var(--mid);
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  border-radius: 10px;
  padding: 40px 28px;
  transition: all 0.22s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.participe-card:hover {
  border-color: var(--orange);
  border-top-color: var(--orange);
  transform: translateY(-6px);
  background: rgba(243,102,2,0.06);
}

.participe-icon {
  width: 52px; height: 52px;
  background: rgba(243,102,2,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  color: var(--orange);
  border: 1px solid rgba(243,102,2,0.2);
}

.participe-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.participe-card p { font-size: 13px; color: var(--grey); line-height: 1.8; font-weight: 400; }

/* ─── Footer ────────────────────────────────────── */
#footer {
  background: var(--black);
  border-top: 3px solid var(--orange);
}

.footer-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 64px 52px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-logo strong { color: var(--orange); }

.footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.9;
  margin-bottom: 28px;
  max-width: 260px;
  font-weight: 400;
}

.footer-socials { display: flex; gap: 10px; }

.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--mid);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: all 0.2s;
}

.footer-socials a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 400;
}

.footer-col ul li a:hover { color: var(--orange); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 64px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 8px;
  font-weight: 400;
}

.footer-bottom em { color: var(--orange); font-style: normal; font-weight: 600; }

/* ─── Scrollbar ──────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 1100px) {
  .topbar-inner { padding: 0 28px; gap: 12px; }
  .topbar-nav a { padding: 8px 10px; font-size: 11px; }
  .topbar-cta { padding: 10px 16px; font-size: 10px; }

  #hero { padding: 80px 40px 60px; }

  #countdown-section,
  #calendar-section,
  #historia,
  #participe { padding-left: 40px; padding-right: 40px; }

  #canal-section { padding: 0 40px 72px; }

  .about-grid { gap: 40px; }
  .participe-cards { grid-template-columns: 1fr 1fr; }

  .footer-body {
    grid-template-columns: 1fr 1fr;
    padding: 52px 40px 40px;
    gap: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { padding: 18px 40px; }
}

@media (max-width: 1024px) {
  .cal-trips-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .topbar-inner { padding: 0 24px; }
  .topbar-nav { display: none; }

  #hero { min-height: 56vw; padding: 0; }

  #countdown-section,
  #calendar-section,
  #historia,
  #participe { padding-left: 28px; padding-right: 28px; }

  #canal-section { padding: 0 28px 60px; }
  .canal-banner { flex-direction: column; text-align: center; padding: 24px; }
  .canal-btn { width: 100%; justify-content: center; }

  .hero-quote { white-space: normal; font-size: 13px; }
  .hero-crosshair-deco { width: 280px; height: 280px; opacity: 0.1; }

  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .participe-cards { grid-template-columns: 1fr; }
  .countdown-grid { gap: 10px; }
  .countdown-num { font-size: 40px; }

  .trip-item { grid-template-columns: 90px 1fr; }
  .trip-tag { display: none; }

  .footer-body {
    grid-template-columns: 1fr 1fr;
    padding: 44px 28px 36px;
    gap: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { padding: 18px 28px; }
}

@media (max-width: 500px) {
  h1 { font-size: 44px; }
  .countdown-grid { gap: 6px; }
  .countdown-num { font-size: 30px; }
  .footer-body { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}
