/* ============================================
   FESTIVAL CIDADE DA CULTURA 2026
   Estilo Principal
   ============================================ */

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

:root {
  --navy-dark: #0A1128;
  --navy: #192554;
  --navy-light: #26346F;
  --gold: #C9A961;
  --gold-dark: #AD8A47;
  --surface: #F5F6FA;
  --white: #FFFFFF;
  --border: #E4E7EC;
  --text: #1F2937;
  --text-muted: #5B6472;
  --teatro: #4728A2;
  --literatura: #C43131;
  --artes-visuais: #3E6169;
  --musica: #20242C;
  --pinheiros: #79096f;
  --radius: 12px;
  --radius-lg: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Typography --- */
.eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-outline-white:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-gold-small {
  padding: 0.5rem 1.125rem;
  font-size: 0.75rem;
}

/* --- Tags --- */
.tag {
  font-size: 0.625rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.tag-teatro { background: rgba(71, 40, 162, 0.07); color: var(--teatro); }
.tag-literatura { background: rgba(196, 49, 49, 0.07); color: var(--literatura); }
.tag-artes { background: rgba(62, 97, 105, 0.07); color: var(--artes-visuais); }
.tag-musica { background: rgba(32, 36, 44, 0.07); color: var(--musica); }

/* --- Card Link --- */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s;
}

.card-link:hover {
  color: var(--gold);
}

.card-link .arr {
  display: inline-block;
  transition: transform 0.2s;
}

.card-link:hover .arr {
  transform: translateX(4px);
}

/* --- Circuit date badge --- */
.circuit-dates {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.circuit-dates .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent, var(--gold));
}

.circuit-dates strong {
  color: var(--navy);
}

/* --- Roteiro pills (per circuit) --- */
.circuit-roteiros {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.circuit-roteiros-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
}

.circuit-roteiros-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.roteiro-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 100px;
  border: 1.5px solid var(--accent, var(--navy));
  color: var(--accent, var(--navy));
  transition: all 0.2s;
}

.roteiro-pill:hover {
  background: var(--accent, var(--navy));
  color: var(--white);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 17, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 169, 97, 0.1);
}

.header-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.header-logo-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.header-logo-festival {
  font-size: 0.5625rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--white);
}

.header-nav a.active {
  position: relative;
}

.header-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--gold);
}

/* --- Mobile Menu Toggle --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================
   PAGE HERO (páginas internas: Festival, Circuitos,
   Roteiros, Programação, FAQ)
   ============================================ */
.page-hero {
  padding: 8rem 5rem 4rem;
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 97, 0.04);
}
.page-hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 600px;
  line-height: 1.7;
}

/* ============================================
   HERO (Home)
   ============================================ */
.hero {
  min-height: 100vh;
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.hero-bg-text {
  position: absolute;
  font-size: 28rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.018);
  letter-spacing: -0.05em;
  line-height: 0.8;
  top: 10%;
  left: -2%;
  z-index: 0;
  user-select: none;
  white-space: nowrap;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 4.5rem 5rem 5rem;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-size: clamp(3.25rem, 5vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 1.75rem;
}

.hero-title .gold {
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 0.875rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Hero right panel */
.hero-panel {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 5rem 3rem 4rem;
  z-index: 2;
}

.hero-card-stack {
  position: relative;
  width: 320px;
}

.hero-circuit-card {
  background: rgba(25, 37, 84, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 169, 97, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.hero-circuit-card-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: block;
}

.hero-circuit-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.2s, opacity 0.2s;
}

.hero-circuit-item:last-child {
  border-bottom: none;
}

.hero-circuit-item:hover {
  transform: translateX(4px);
  opacity: 0.85;
}

.hero-circuit-item:hover .circuit-num {
  color: var(--gold);
}

.circuit-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.circuit-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.circuit-num {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
}

.hero-floating-tag {
  position: absolute;
  top: 4rem;
  right: -1rem;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.375rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: rotate(3deg);
}

/* Hero decorative elements */
.hero-deco {
  position: absolute;
  z-index: 1;
}

.hero-deco-line-h {
  width: 200px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 169, 97, 0.15), transparent);
  right: 5%;
  top: 40%;
}

.hero-deco-circle {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 97, 0.04);
  bottom: -10%;
  left: -8%;
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section {
  padding: 8rem 5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}

.section-header-left {
  max-width: 550px;
}

.section-header h2 {
  font-size: clamp(2.25rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 0.875rem;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   SECTION: POR QUE SÃO PAULO
   ============================================ */
.section-sp {
  background: var(--white);
}

.section-sp-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.sp-left h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.sp-left h2 .accent {
  color: var(--gold);
}

.sp-left p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.sp-stats {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Right panel - visual */
.sp-right {
  position: relative;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 60%, #060d1f 100%);
}

.skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
}

.bldg {
  position: absolute;
  bottom: 0;
  background: rgba(201, 169, 97, 0.08);
  border-top: 1.5px solid rgba(201, 169, 97, 0.2);
}

.bldg:nth-child(1) { left: 3%; width: 7%; height: 50%; }
.bldg:nth-child(2) { left: 12%; width: 5%; height: 72%; }
.bldg:nth-child(3) { left: 19%; width: 9%; height: 35%; }
.bldg:nth-child(4) { left: 30%; width: 6%; height: 82%; }
.bldg:nth-child(5) { left: 38%; width: 8%; height: 55%; }
.bldg:nth-child(6) { left: 48%; width: 5%; height: 90%; }
.bldg:nth-child(7) { left: 55%; width: 10%; height: 45%; }
.bldg:nth-child(8) { left: 67%; width: 7%; height: 75%; }
.bldg:nth-child(9) { left: 76%; width: 8%; height: 58%; }
.bldg:nth-child(10) { left: 86%; width: 11%; height: 68%; }

.sp-right-content {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  right: 2.5rem;
  z-index: 2;
}

.sp-right-content .eyebrow {
  margin-bottom: 0.75rem;
  display: block;
}

.sp-right-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.sp-right-content p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ============================================
   SECTION: CIRCUITOS (Bento Grid)
   ============================================ */
.section-circuitos {
  background: var(--surface);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.bento-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.bento-card:hover {
  box-shadow: 0 12px 40px rgba(10, 17, 40, 0.08);
  transform: translateY(-3px);
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.bento-card.teatro::before { background: var(--teatro); }
.bento-card.literatura::before { background: var(--literatura); }
.bento-card.artes::before { background: var(--artes-visuais); }
.bento-card.pinheiros::before { background: var(--pinheiros); }

.bento-large { grid-column: span 3; }
.bento-small { grid-column: span 3; }
.bento-wide { grid-column: span 12; }

.bento-card {
  display: flex;
  flex-direction: column;
}

.bento-card-desc {
  flex: 1;
}

.bento-num {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(10, 17, 40, 0.03);
  line-height: 1;
  letter-spacing: -0.05em;
}

.bento-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.bento-card-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

/* ============================================
   SECTION: CIRCUITOS (página de detalhe)
   ============================================ */
.circuit-detail {
  padding: 5rem;
  border-bottom: 1px solid var(--border);
}
.circuit-detail:nth-child(even) {
  background: var(--surface);
}
.circuit-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.circuit-detail-inner.reverse {
  grid-template-columns: 1.2fr 1fr;
  direction: rtl;
}
.circuit-detail-inner.reverse > * {
  direction: ltr;
}
.circuit-header {
  position: sticky;
  top: 6rem;
}
.circuit-number {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(10, 17, 40, 0.06);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 0.5rem;
}
.circuit-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.circuit-header p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.circuit-spaces {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.space-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s;
}
.space-card:hover {
  box-shadow: 0 4px 20px rgba(10, 17, 40, 0.06);
  transform: translateY(-2px);
}
.circuit-detail:nth-child(even) .space-card {
  background: var(--surface);
}
.space-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.375rem;
}
.space-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.space-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================
   SECTION: COMO FUNCIONA
   ============================================ */
.section-como {
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

.section-como::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -150px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 97, 0.04);
}

.section-como::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 97, 0.03);
}

.section-como .section-header h2 {
  color: var(--white);
}

.section-como .section-eyebrow {
  color: var(--gold);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

.step {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  background: rgba(25, 37, 84, 0.25);
  transition: all 0.3s;
}

.step:hover {
  border-color: rgba(201, 169, 97, 0.15);
  background: rgba(25, 37, 84, 0.4);
}

.step-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  opacity: 0.6;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.step p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
}

/* ============================================
   SECTION: PROGRAMAÇÃO
   ============================================ */
.section-programacao {
  background: var(--white);
}

.programacao-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
}

.event-card:hover {
  box-shadow: 0 12px 40px rgba(10, 17, 40, 0.1);
  transform: translateY(-3px);
}

.event-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.event-img svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.event-date {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(10, 17, 40, 0.75);
  backdrop-filter: blur(8px);
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  z-index: 2;
}

.event-date-day {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.event-date-month {
  font-size: 0.5625rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.event-body {
  padding: 1.5rem;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.event-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border);
}

.event-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.375rem;
  line-height: 1.3;
}

.event-space {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ============================================
   SECTION: ROTEIROS (página de listagem)
   ============================================ */
.roteiros-content {
  padding: 5rem;
}

.roteiros-group {
  margin-bottom: 4rem;
}
.roteiros-group:last-child {
  margin-bottom: 0;
}
.roteiros-group-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.roteiros-group-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent, var(--navy));
  opacity: 0.18;
  line-height: 1;
  letter-spacing: -0.04em;
}
.roteiros-group-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.roteiros-group-dates {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent, var(--gold-dark));
}

.roteiros-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.roteiro-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent, var(--navy));
  padding: 1.75rem;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.roteiro-card:hover {
  box-shadow: 0 8px 32px rgba(10, 17, 40, 0.06);
  transform: translateY(-3px);
}
.roteiro-card-date {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--accent, var(--gold-dark));
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.roteiro-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.625rem;
  line-height: 1.25;
}
.roteiro-card > p {
  font-size: 0.8438rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.roteiro-card .tags {
  margin-bottom: 1.125rem;
}
.roteiro-spaces {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex: 1;
}
.roteiro-spaces li {
  font-size: 0.8125rem;
  color: var(--text);
  font-weight: 500;
  padding-left: 1rem;
  position: relative;
}
.roteiro-spaces li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent, var(--gold));
}
.roteiro-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding-top: 1rem;
  margin-bottom: 0.875rem;
  border-top: 1px solid var(--border);
}
.roteiro-external {
  font-size: 0.8125rem;
}

.cta-section {
  padding: 5rem;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 97, 0.06);
}
.cta-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}
.cta-section p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2rem;
  position: relative;
}

/* ============================================
   SECTION: PROGRAMAÇÃO (página de agenda)
   ============================================ */
.programacao-content {
  padding: 5rem;
}

.agenda-filter {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 0.5rem 1.125rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--navy);
  color: var(--navy);
}
.filter-btn.active {
  background: var(--navy);
  color: var(--white);
}

.agenda-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.agenda-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
  background: var(--white);
}
.agenda-item:hover {
  box-shadow: 0 4px 20px rgba(10, 17, 40, 0.06);
  transform: translateY(-2px);
}
.agenda-item.is-hidden {
  display: none;
}
.agenda-date {
  text-align: center;
}
.agenda-date-day {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.agenda-date-month {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.agenda-info h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.375rem;
}
.agenda-info-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.agenda-cta {
  display: flex;
  gap: 0.5rem;
}

/* ============================================
   SECTION: FAQ (página)
   ============================================ */
.faq-content {
  padding: 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.faq-left {
  position: sticky;
  top: 6rem;
  align-self: start;
}
.faq-left h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
}
.faq-left p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.faq-contact {
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.faq-contact p {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.faq-contact a {
  color: var(--gold-dark);
  font-weight: 600;
}

/* ============================================
   SECTION: FAQ
   ============================================ */
.faq-list {
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.faq-question {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-icon {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-answer {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding-top: 1rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* ============================================
   SECTION: O FESTIVAL (SOBRE)
   ============================================ */
.festival-content {
  padding: 5rem;
}

.manifesto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}
.manifesto-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}
.manifesto-text p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.manifesto-visual {
  height: 400px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 2.5rem;
}
.manifesto-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 17, 40, 0.8) 100%);
}
.manifesto-visual-text {
  position: relative;
  z-index: 2;
}
.manifesto-visual-text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.manifesto-visual-text p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.pilares {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}
.pilar-card {
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}
.pilar-card:hover {
  box-shadow: 0 8px 32px rgba(10, 17, 40, 0.06);
  transform: translateY(-3px);
}
.pilar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.pilar-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
}
.pilar-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.pilar-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.realizacao {
  background: var(--navy-dark);
  padding: 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-top: 5rem;
}
.realizacao::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 97, 0.04);
}
.realizacao h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}
.realizacao p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
}
.realizacao a {
  position: relative;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-dark);
  padding: 4.5rem 5rem 2rem;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.8fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-portal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gold);
  transition: opacity 0.2s;
}

.footer-portal-link:hover {
  opacity: 0.8;
}

.footer-col h4 {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-email {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-email a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

.social-row {
  display: flex;
  gap: 0.625rem;
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.45);
  transition: all 0.2s;
}

.social-icon:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-partners {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
}

.footer-partners-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 1.25rem;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.partner-placeholder {
  width: 72px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.15);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .header { padding: 1rem 2rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-content { padding: 7rem 3rem 4rem; }
  .hero-panel { display: none; }
  .section { padding: 6rem 3rem; }
  .section-sp-inner { grid-template-columns: 1fr; gap: 3rem; }
  .bento-large, .bento-small { grid-column: span 6; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .programacao-grid { grid-template-columns: repeat(2, 1fr); }
  .footer { padding: 4rem 3rem 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .manifesto { grid-template-columns: 1fr; gap: 2.5rem; }
  .roteiros-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header { padding: 0.75rem 1.25rem; }
  .header-nav { display: none; }
  .menu-toggle { display: flex; }

  .hero-content { padding: 6rem 1.5rem 3rem; }
  .hero-title { font-size: 2.5rem; }
  .hero-bg-text { font-size: 16rem; }

  .section { padding: 4rem 1.5rem; }
  .section-header { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .bento-large, .bento-small { grid-column: span 12; }
  .steps-grid { grid-template-columns: 1fr; }
  .programacao-grid { grid-template-columns: 1fr; }
  .sp-stats { flex-direction: column; gap: 1.5rem; }
  .sp-right { height: 320px; }
  .footer { padding: 3rem 1.5rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  /* Page hero (páginas internas) */
  .page-hero { padding: 7rem 1.5rem 3rem; }

  /* O Festival */
  .festival-content { padding: 3rem 1.5rem; }
  .manifesto { grid-template-columns: 1fr; gap: 2rem; }
  .manifesto-visual { height: 280px; }
  .pilares { grid-template-columns: 1fr; }
  .realizacao { padding: 3rem 1.5rem; }

  /* Circuitos */
  .circuit-detail { padding: 3rem 1.5rem; }
  .circuit-detail-inner,
  .circuit-detail-inner.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
  }
  .circuit-header { position: static; }

  /* Roteiros */
  .roteiros-content { padding: 3rem 1.5rem; }
  .roteiros-grid { grid-template-columns: 1fr; }
  .roteiros-group-header { flex-wrap: wrap; }
  .cta-section { padding: 3rem 1.5rem; }

  /* Programação */
  .programacao-content { padding: 3rem 1.5rem; }
  .agenda-item { grid-template-columns: 1fr; gap: 0.75rem; }
  .agenda-date { display: flex; align-items: center; gap: 0.5rem; text-align: left; }
  .agenda-cta { justify-content: flex-start; }

  /* FAQ */
  .faq-content { padding: 3rem 1.5rem; grid-template-columns: 1fr; gap: 2rem; }
  .faq-left { position: static; }
}

/* --- Mobile Nav Overlay --- */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 17, 40, 0.98);
  z-index: 999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.mobile-nav a.active {
  color: var(--gold);
}

.mobile-nav-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}
