/* ---------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--azul);
  border-bottom: 4px solid var(--amarelo);
  transition: box-shadow .3s;
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}
.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .05em;
  color: var(--amarelo);
}
.site-nav { display: flex; align-items: center; gap: 6px; }
.nav-list  { display: flex; list-style: none; gap: 2px; }
.nav-list a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  color: rgba(255,255,255,.9);
  font-weight: 700;
  font-size: 14px;
  transition: background .2s, color .2s;
}
.nav-list a:hover, .nav-list .current-menu-item a {
  background: var(--amarelo);
  color: var(--azul);
}
.header-social {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,.2);
}
.header-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  color: rgba(255,255,255,.8);
  transition: background .2s, color .2s;
}
.header-social-btn:hover { background: var(--amarelo); color: var(--azul); }
.lang-switcher {
  display: flex;
  list-style: none;
  gap: 4px;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,.2);
}
.lang-switcher a {
  display: block;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.25);
  transition: all .2s;
}
.lang-switcher .active a, .lang-switcher a:hover {
  background: var(--amarelo);
  color: var(--azul);
  border-color: var(--amarelo);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--branco);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------- */
.hero-home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 70px;
  background: var(--azul);
}
.hero-home-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 60%, rgba(0,156,59,.4) 0%, transparent 50%),
    radial-gradient(circle at 90% 20%, rgba(255,208,0,.25) 0%, transparent 50%);
}
.hero-home-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='20' cy='20' r='2'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-home-content {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 680px;
}
.hero-home-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amarelo);
}
.hero-home-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: .95;
  color: var(--branco);
}
.hero-home-title span { color: var(--amarelo); }
.hero-home-sub { font-size: 18px; color: rgba(255,255,255,.75); max-width: 460px; }

/* ---------------------------------------- */
.hero-ano {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: flex-end;
  padding-top: 70px;
  background: var(--azul) var(--hero-bg, none) center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,30,80,.88) 0%, rgba(0,30,80,.3) 60%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 1;
  padding: 60px 0 48px;
  display: flex; flex-direction: column; gap: 14px;
}
.hero-badge {
  display: inline-block;
  background: var(--amarelo);
  color: var(--azul);
  font-weight: 900; font-size: 13px;
  letter-spacing: .1em; padding: 5px 18px;
  border-radius: 50px; width: fit-content;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: .95; color: var(--branco);
}
.hero-title span { color: var(--amarelo); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-meta-item {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.9); font-size: 15px; font-weight: 700;
}
.hero-scroll-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); }
.hero-scroll-hint span {
  display: block; width: 2px; height: 40px;
  background: var(--amarelo); margin: 0 auto;
  animation: scrollHint 1.6s ease-in-out infinite; border-radius: 2px;
}
@keyframes scrollHint {
  0%,100% { transform: scaleY(1); opacity: 1; }
  50%      { transform: scaleY(.4); opacity: .5; }
}

/* ---------------------------------------- */
.edicoes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.edicao-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 260px; display: flex; align-items: flex-end;
  background: var(--azul) var(--card-bg, none) center/cover no-repeat;
  transition: transform .3s; border: 3px solid transparent;
}
.edicao-card:hover { transform: translateY(-4px); border-color: var(--amarelo); }
.edicao-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,30,80,.88) 0%, transparent 70%);
}
.edicao-content {
  position: relative; z-index: 1;
  padding: 24px; display: flex; flex-direction: column; gap: 4px;
}
.edicao-ano { font-family: var(--font-display); font-size: 3rem; color: var(--amarelo); line-height: 1; }
.edicao-local { color: rgba(255,255,255,.8); font-size: 13px; }
.edicao-link  { color: var(--amarelo); font-weight: 700; font-size: 14px; margin-top: 8px; }

/* ---------------------------------------- */
.artistas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.artista-card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--branco);
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column;
}
.artista-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--amarelo);
}
.artista-foto { aspect-ratio: 3/4; overflow: hidden; }
.artista-foto img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .4s;
}
.artista-card:hover .artista-foto img { transform: scale(1.05); }
.artista-info {
  padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1;
}
.artista-nome { font-size: 17px; font-weight: 900; color: var(--azul); }
.artista-genero {
  display: inline-block; background: var(--verde); color: var(--branco);
  font-size: 11px; font-weight: 700; padding: 3px 10px;
  border-radius: 50px; width: fit-content;
}
.artista-origem { font-size: 13px; color: var(--texto-muted); }
.artista-links { display: flex; gap: 8px; margin-top: 4px; }
.artista-link-ig { color: #e1306c; }
.artista-link-yt { color: #ff0000; }
.artista-link-ig:hover, .artista-link-yt:hover { opacity: .7; }
.artista-btn {
  width: calc(100% - 32px);
  margin: 0 16px 16px;
  justify-content: center;
  padding: 10px 20px;
  font-size: 14px;
}

/* ---------------------------------------- */
.barracas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.barraca-card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--branco);
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column;
}
.barraca-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--verde);
}
.barraca-foto { aspect-ratio: 4/3; overflow: hidden; }
.barraca-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.barraca-card:hover .barraca-foto img { transform: scale(1.05); }
.barraca-info { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.barraca-nome { font-size: 17px; font-weight: 900; color: var(--azul); }
.barraca-desc { font-size: 14px; color: var(--texto-muted); line-height: 1.6; flex: 1; }
.barraca-btn {
  width: calc(100% - 32px);
  margin: 0 16px 16px;
  justify-content: center;
  padding: 10px 20px;
  font-size: 14px;
}

/* ---------------------------------------- */
.lineup-tab-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.lineup-tab-btn {
  padding: 10px 24px; border-radius: 50px;
  border: 2px solid var(--verde); background: transparent;
  color: var(--verde); font-family: var(--font-body);
  font-weight: 700; font-size: 14px; cursor: pointer; transition: all .2s;
}
.lineup-tab-btn.active, .lineup-tab-btn:hover {
  background: var(--verde); color: var(--branco);
}
.lineup-tab-content { display: none; }
.lineup-tab-content.active { display: block; }
.lineup-table { width: 100%; border-collapse: collapse; }
.lineup-table thead tr { background: var(--azul); color: var(--amarelo); }
.lineup-table th { padding: 14px 16px; text-align: left; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.lineup-table tbody tr { border-bottom: 1px solid #eee; transition: background .2s; }
.lineup-table tbody tr:hover { background: #fffbe6; }
.lineup-table td { padding: 14px 16px; color: var(--texto); }
.lineup-hora { font-family: var(--font-display); font-size: 1.1rem; color: var(--verde); white-space: nowrap; }
.lineup-artista { font-weight: 700; font-size: 16px; }
.lineup-palco span {
  background: var(--amarelo); color: var(--azul);
  font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 50px;
}

/* ---------------------------------------- */
.pat-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center; gap: 32px;
  margin-bottom: 32px; padding-bottom: 32px;
  border-bottom: 1px solid #eee;
}
.pat-row:last-child { border-bottom: none; }
.pat-item { display: flex; align-items: center; justify-content: center; transition: transform .2s, opacity .2s; }
.pat-item:hover { transform: translateY(-2px); opacity: .85; }
.pat-item img { object-fit: contain; display: block; }
.pat-nome { font-weight: 700; color: var(--azul); }
.pat-row-100 .pat-item img { max-height: 100px; max-width: 260px; }
.pat-row-75  .pat-item img { max-height: 75px;  max-width: 200px; }
.pat-row-50  .pat-item img { max-height: 50px;  max-width: 160px; }
.pat-row-25  .pat-item img { max-height: 32px;  max-width: 120px; }

/* ---------------------------------------- */
.galeria-grid { columns: 3; column-gap: 12px; }
.galeria-item { break-inside: avoid; margin-bottom: 12px; border-radius: 8px; overflow: hidden; }
.galeria-link { display: block; position: relative; }
.galeria-link img { width: 100%; display: block; transition: transform .4s; }
.galeria-link:hover img { transform: scale(1.04); }
.galeria-overlay {
  position: absolute; inset: 0;
  background: rgba(0,48,135,.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.galeria-link:hover .galeria-overlay { opacity: 1; }

/* ---------------------------------------- */
.anos-nav { background: var(--azul); padding: 24px 0; border-top: 4px solid var(--amarelo); }
.anos-nav-inner { display: flex; justify-content: space-between; align-items: center; }
.anos-nav-btn {
  display: inline-block; padding: 12px 28px; border-radius: 50px;
  border: 2px solid var(--amarelo); color: var(--amarelo);
  font-weight: 700; font-size: 15px; transition: all .2s;
}
.anos-nav-btn:hover { background: var(--amarelo); color: var(--azul); }

/* ---------------------------------------- */
.noticias-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.noticia-card {
  background: var(--branco); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  border: 2px solid transparent; transition: transform .3s, border-color .3s;
}
.noticia-card:hover { transform: translateY(-4px); border-color: var(--amarelo); }
.noticia-thumb { aspect-ratio: 16/9; overflow: hidden; }
.noticia-thumb img { width: 100%; height: 100%; object-fit: cover; }
.noticia-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.noticia-data { font-size: 12px; color: #999; font-weight: 600; }
.noticia-titulo { font-size: 18px; font-weight: 900; color: var(--azul); }
.noticia-titulo a:hover { color: var(--verde); }
.noticia-excerpt { font-size: 14px; color: var(--texto-muted); flex: 1; }

/* ---------------------------------------- */
.section-social { background: var(--amarelo); padding: 60px 0; }
.social-follow-wrap {
  display: flex; align-items: center;
  justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.social-follow-title {
  font-family: var(--font-display);
  font-size: 2.2rem; color: var(--azul); margin-bottom: 6px;
}
.social-follow-text p { color: rgba(0,0,0,.6); font-size: 16px; }
.social-follow-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.social-follow-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 50px;
  font-weight: 700; font-size: 15px;
  transition: transform .2s, box-shadow .2s; color: var(--branco);
}
.social-follow-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.social-follow-btn.ig { background: #E1306C; }
.social-follow-btn.fb { background: #1877F2; }
.social-follow-btn.yt { background: #FF0000; }

/* ---------------------------------------- */
.artista-single-hero {
  position: relative; min-height: 60vh; display: flex;
  align-items: flex-end; padding-top: 70px;
  background: var(--azul) var(--hero-bg, none) center/cover no-repeat;
}
.artista-single-content {
  position: relative; z-index: 1; padding: 50px 0 40px;
  display: flex; flex-direction: column; gap: 14px;
}
.artista-single-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.artista-origem-tag { font-size: 14px; color: rgba(255,255,255,.8); }
.artista-social { display: flex; gap: 12px; flex-wrap: wrap; }
.social-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 50px;
  font-weight: 700; font-size: 14px; transition: opacity .2s; color: var(--branco);
}
.social-btn:hover { opacity: .85; }
.social-btn.ig { background: #e1306c; }
.social-btn.yt { background: #ff0000; }
.artista-single-body {
  display: grid; grid-template-columns: 320px 1fr;
  gap: 48px; align-items: start;
}
.artista-single-foto img { border-radius: var(--radius); width: 100%; }
.artista-bio { font-size: 18px; color: var(--texto-muted); margin-bottom: 1.5rem; line-height: 1.8; }
.artista-anos { margin-top: 2rem; }
.artista-anos h3 {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: #999; margin-bottom: 12px;
}
.artista-anos-lista { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------------------------------------- */
.site-footer { background: var(--azul); color: rgba(255,255,255,.85); }
.footer-top { padding: 60px 0 40px; border-bottom: 1px solid rgba(255,208,0,.2); }
.footer-top-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo-text { font-size: 1.4rem; color: var(--amarelo); }
.footer-brand .logo-img  { height: 44px; margin-bottom: 12px; }
.footer-brand p { margin-top: 10px; font-size: 14px; opacity: .7; }
.footer-anos h4, .footer-nav h4, .footer-lang h4 {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--amarelo); margin-bottom: 14px;
}
.footer-anos ul, .footer-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-anos a, .footer-list a { color: rgba(255,255,255,.75); font-size: 14px; transition: color .2s; }
.footer-anos a:hover, .footer-list a:hover { color: var(--amarelo); }
.footer-lang .lang-switcher { flex-direction: column; border-left: none; padding-left: 0; margin-left: 0; }
.footer-bottom { padding: 20px 0; text-align: center; font-size: 13px; opacity: .5; }

/* ---------------------------------------- */

/* --- 900px --- */
@media (max-width: 900px) {
  .footer-top-inner { grid-template-columns: 1fr 1fr; }
  .galeria-grid { columns: 2; }
}

/* --- 768px --- */
@media (max-width: 768px) {

  /* Header */
  .header-inner { height: 60px; }
  .logo-img { height: 40px; }
  .logo-text { font-size: 1.2rem; }
  .header-social { display: none; }
  .nav-toggle { display: flex; }

  /* Nav mobile */
  .site-nav {
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: var(--azul);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 30px;
    gap: 16px;
    transform: translateY(-120%);
    transition: transform .35s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
    z-index: 99;
  }
  .site-nav.open { transform: translateY(0); }
  .nav-list { flex-direction: column; gap: 4px; width: 100%; }
  .nav-list a { padding: 12px 16px; font-size: 16px; }
  .lang-switcher { flex-direction: row; border-left: none; padding-left: 0; margin-left: 0; }

  /* Hero */
  .hero-ano {
    padding-top: 60px;
    min-height: 55vh;
  }
  .hero-home {
    padding-top: 60px;
    min-height: 90vh;
  }
  .hero-content {
    padding: 32px 20px 32px !important;
  }
  .hero-home-content {
    padding: 40px 20px !important;
  }
  .hero-title { font-size: 2.6rem !important; }
  .hero-home-title { font-size: 3rem !important; }
  .hero-badge { font-size: 12px; }

  /* Botão hero */
  .hero-home-content .btn {
    width: fit-content !important;
    max-width: 280px;
    padding: 12px 28px;
    font-size: 15px;
  }

  /* Seções */
  .section { padding: 48px 0; }

  /* Artistas - scroll horizontal */
  .artistas-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 12px;
    padding-left: 4px;
  }
  .artistas-grid::-webkit-scrollbar { height: 4px; }
  .artistas-grid::-webkit-scrollbar-thumb { background: var(--amarelo); border-radius: 4px; }
  .artista-card {
    flex: 0 0 200px !important;
    min-width: 200px !important;
    width: 200px !important;
    scroll-snap-align: start;
  }

  /* Barracas - scroll horizontal */
  .barracas-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 12px;
    padding-left: 4px;
  }
  .barracas-grid::-webkit-scrollbar { height: 4px; }
  .barracas-grid::-webkit-scrollbar-thumb { background: var(--verde); border-radius: 4px; }
  .barraca-card {
    flex: 0 0 200px !important;
    min-width: 200px !important;
    width: 200px !important;
    scroll-snap-align: start;
  }

  /* Edições grid */
  .edicoes-grid { grid-template-columns: 1fr; }

  /* Notícias */
  .noticias-grid { grid-template-columns: 1fr; }

  /* Patrocinadores */
  .pat-row { gap: 16px; }

  /* Galeria */
  .galeria-grid { columns: 2; }

  /* Footer */
  .footer-top-inner { grid-template-columns: 1fr; gap: 28px; }

  /* Single */
  .artista-single-body { grid-template-columns: 1fr; }
  .social-follow-wrap { flex-direction: column; align-items: flex-start; }

  /* Anos nav */
  .anos-nav-inner { gap: 12px; }
  .anos-nav-btn { padding: 10px 18px; font-size: 13px; }
}

/* --- 480px --- */
@media (max-width: 480px) {
  .galeria-grid { columns: 1; }
  .hero-title { font-size: 2.2rem !important; }
  .hero-home-title { font-size: 2.5rem !important; }
  .artista-card { flex: 0 0 180px !important; min-width: 180px !important; width: 180px !important; }
  .barraca-card { flex: 0 0 180px !important; min-width: 180px !important; width: 180px !important; }
}

/* --- HOME TEXTO + IMAGEM --- */
.home-texto-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.home-texto-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--texto);
}
.home-texto-content p { margin-bottom: 1rem; }
.home-texto-content a { color: var(--verde); font-weight: 700; }
.home-texto-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* --- APOIO E REALIZACAO --- */
.apoio-real-wrap {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.apoio-bloco { flex: 1 1 200px; }
.apoio-titulo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--verde);
  margin-bottom: 20px;
  letter-spacing: .02em;
}
.apoio-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.apoio-item { display: flex; align-items: center; }
.apoio-item img {
  max-height: 80px;
  max-width: 200px;
  object-fit: contain;
  transition: opacity .2s;
}
.apoio-item a:hover img { opacity: .8; }

/* --- ACESSO --- */
.acesso-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
}
.acesso-texto {
  font-size: 16px;
  color: var(--texto-muted);
  line-height: 1.7;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
  .home-texto-wrap { grid-template-columns: 1fr; gap: 24px; }
  .apoio-real-wrap { flex-direction: column; gap: 32px; }
}

/* --- ACESSO MAPA --- */
.acesso-mapa {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 8px;
}
.acesso-mapa iframe {
  display: block;
  width: 100%;
}
.acesso-mapa-placeholder {
  background: var(--cinza-lt);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}
.acesso-mapa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--verde);
  font-size: 18px;
}

/* --- INTRO EVENTO --- */
.intro-evento-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.intro-evento-texto {
  font-size: 16px;
  line-height: 1.8;
  color: var(--texto);
}
.intro-evento-texto p { margin-bottom: 1rem; }
.intro-evento-texto a { color: var(--verde); font-weight: 700; }
.intro-evento-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 768px) {
  .intro-evento-wrap { grid-template-columns: 1fr; gap: 24px; }
}

/* --- CONTEUDO EVENTO --- */
.evento-content-wrap {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: var(--texto);
}
.evento-content-wrap p    { margin-bottom: 1rem; }
.evento-content-wrap h2,
.evento-content-wrap h3   { color: var(--azul); margin: 1.5rem 0 .75rem; font-family: var(--font-display); }
.evento-content-wrap a    { color: var(--verde); font-weight: 700; }
.evento-content-wrap img  { border-radius: var(--radius); max-width: 100%; }

/* --- FIX EVENTO CONTENT WIDTH --- */
.section-evento-content .container {
  max-width: 1200px !important;
  padding: 0 24px !important;
}
.evento-content-wrap {
  max-width: 100% !important;
}

/* --- PAGE TEMPLATE --- */
.hero-page {
  position: relative;
  min-height: 30vh;
  display: flex;
  align-items: flex-end;
  padding-top: 70px;
  background: var(--azul);
}
.section-page-content .container { max-width: 900px; }
.page-content-wrap {
  font-size: 16px;
  line-height: 1.8;
  color: var(--texto);
}
.page-content-wrap p    { margin-bottom: 1rem; }
.page-content-wrap h2,
.page-content-wrap h3   { color: var(--azul); margin: 1.5rem 0 .75rem; font-family: var(--font-display); }
.page-content-wrap a    { color: var(--verde); font-weight: 700; }
.page-content-wrap img  { border-radius: var(--radius); max-width: 100%; margin: 1rem 0; }

.pat-row-15 .pat-item img { max-height: 20px; max-width: 80px; }

/* --- FIX PAGE CONTENT WIDTH --- */
.section-page-content .container {
  max-width: 1200px !important;
  padding: 0 24px !important;
}
.page-content-wrap {
  max-width: 100% !important;
}
/* Remove WordPress block borders */
.page-content-wrap .wp-block-group,
.page-content-wrap figure,
.page-content-wrap blockquote {
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 1rem !important;
}

/* --- PATROCINADORES TAMANHOS CORRIGIDOS --- */
.pat-row-100 .pat-item img,
.pat-row-100 .pat-item a img { max-height: 120px !important; max-width: 300px !important; width: auto !important; height: auto !important; }

.pat-row-75 .pat-item img,
.pat-row-75 .pat-item a img  { max-height: 80px !important;  max-width: 220px !important; width: auto !important; height: auto !important; }

.pat-row-50 .pat-item img,
.pat-row-50 .pat-item a img  { max-height: 55px !important;  max-width: 160px !important; width: auto !important; height: auto !important; }

.pat-row-25 .pat-item img,
.pat-row-25 .pat-item a img  { max-height: 36px !important;  max-width: 120px !important; width: auto !important; height: auto !important; }

.pat-row-15 .pat-item img,
.pat-row-15 .pat-item a img  { max-height: 22px !important;  max-width: 80px !important;  width: auto !important; height: auto !important; }

/* --- FIX LOGO SIZE --- */
.site-logo img,
.site-logo .custom-logo {
  height: 54px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
}

/* --- FIX LOGO OVERFLOW --- */
.site-header { overflow: visible; }
.header-inner { overflow: hidden; }
.site-logo { display: flex; align-items: center; overflow: hidden; max-height: 70px; }
.site-logo img,
.site-logo .custom-logo {
  height: 54px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
  display: block !important;
}
@media (max-width: 768px) {
  .site-logo img,
  .site-logo .custom-logo { height: 40px !important; max-width: 140px !important; }
}

/* --- LOGO TEXT STYLE --- */
.logo-text {
  font-family: var(--font-display) !important;
  font-size: 1.5rem !important;
  color: var(--amarelo) !important;
  letter-spacing: .05em !important;
  text-transform: none !important;
}

/* --- APOIO E REALIZACAO - ESTILO PATROCINADORES --- */
.section-apoio-real {
  background: var(--branco);
}
.apoio-real-wrap {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.apoio-bloco { flex: 1 1 200px; }
.apoio-titulo {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--azul);
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: .02em;
}
.apoio-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.apoio-item {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s;
}
.apoio-item:hover { opacity: .85; }
.apoio-item img {
  max-height: 80px;
  max-width: 260px;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 768px) {
  .apoio-real-wrap { flex-direction: column; gap: 40px; }
}

/* --- PATROCINADORES TAMANHOS AUMENTADOS --- */
.pat-row-100 .pat-item img,
.pat-row-100 .pat-item a img { max-height: 160px !important; max-width: 380px !important; }

.pat-row-75 .pat-item img,
.pat-row-75 .pat-item a img  { max-height: 120px !important; max-width: 300px !important; }

.pat-row-50 .pat-item img,
.pat-row-50 .pat-item a img  { max-height: 90px !important;  max-width: 240px !important; }

.pat-row-25 .pat-item img,
.pat-row-25 .pat-item a img  { max-height: 60px !important;  max-width: 180px !important; }

.pat-row-15 .pat-item img,
.pat-row-15 .pat-item a img  { max-height: 40px !important;  max-width: 120px !important; }

/* --- MOBILE HERO FIX --- */
@media (max-width: 768px) {
  .hero-home-content .btn {
    width: auto !important;
    max-width: 100% !important;
    padding: 14px 28px !important;
    font-size: 15px !important;
    align-self: flex-start !important;
  }
  .hero-home-content {
    padding: 40px 20px 60px !important;
  }
  .hero-home-title {
    font-size: 3rem !important;
    line-height: 1 !important;
  }
}

/* --- MOBILE HEADER FIX --- */
@media (max-width: 768px) {
  .header-inner {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 16px;
  }
  .site-logo {
    flex: 1;
    overflow: hidden;
  }
  .logo-text {
    font-size: 1.1rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .site-nav {
    display: none !important;
  }
  .site-nav.open {
    display: flex !important;
    top: 60px;
  }
  .nav-toggle {
    display: flex !important;
    flex-shrink: 0;
    order: 3;
    z-index: 101;
    margin-left: 8px;
  }
  /* Hide lang switcher in header on mobile - show in menu */
  .header-inner .lang-switcher {
    display: none !important;
  }
}

/* Lang switcher inside mobile menu */
.nav-lang-mobile { display: none; }
@media (max-width: 768px) {
  .nav-lang-mobile {
    display: flex !important;
  }
  .nav-lang-mobile .lang-switcher {
    display: flex !important;
    border-left: none;
    padding-left: 0;
    margin-left: 0;
  }
}
/* Keep lang switcher visible on desktop in header */
@media (min-width: 769px) {
  .site-nav > .lang-switcher { display: flex !important; }
  .nav-lang-mobile { display: none !important; }
}

/* --- MOBILE SAFE AREA (iPhone notch) --- */
@supports (padding-top: env(safe-area-inset-top)) {
  .site-header {
    padding-top: env(safe-area-inset-top);
  }
  .header-inner {
    height: 60px;
  }
  .hero-home,
  .hero-ano {
    padding-top: calc(60px + env(safe-area-inset-top));
  }
}

/* ================================================
   HEADER REFATORADO — DESKTOP / MOBILE SEPARADOS
   ================================================ */

/* --- DESKTOP (769px+) --- */
.header-mobile,
.mob-drawer { display: none; }

.header-desktop {
  display: block;
}

/* --- MOBILE (até 768px) --- */
@media (max-width: 768px) {

  /* Esconde desktop nav */
  .header-desktop { display: none; }

  /* Barra mobile */
  .header-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 16px;
    padding-top: env(safe-area-inset-top, 0px);
  }

  /* Hamburger */
  .mob-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    flex-shrink: 0;
  }
  .mob-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--branco);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
  }
  .mob-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mob-toggle.open span:nth-child(2) { opacity: 0; }
  .mob-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Logo centralizada */
  .mob-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .mob-logo .logo-text {
    font-size: 1.1rem !important;
    white-space: nowrap;
  }

  /* Lang switcher direita */
  .mob-lang .lang-switcher {
    display: flex;
    gap: 4px;
    list-style: none;
    border-left: none;
    padding-left: 0;
    margin-left: 0;
  }
  .mob-lang .lang-switcher a {
    display: block;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,.8);
    border: 1px solid rgba(255,255,255,.3);
  }
  .mob-lang .lang-switcher .active a { background: var(--amarelo); color: var(--azul); border-color: var(--amarelo); }

  /* Drawer */
  .mob-drawer {
    display: block;
    position: fixed;
    top: calc(56px + env(safe-area-inset-top, 0px));
    left: 0; right: 0; bottom: 0;
    background: var(--azul);
    transform: translateX(-100%);
    transition: transform .35s ease;
    z-index: 99;
    overflow-y: auto;
    padding: 24px;
  }
  .mob-drawer.open {
    transform: translateX(0);
  }
  .mob-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 32px;
  }
  .mob-nav-list a {
    display: block;
    padding: 14px 16px;
    border-radius: 8px;
    color: rgba(255,255,255,.9);
    font-size: 18px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,.08);
    transition: background .2s, color .2s;
  }
  .mob-nav-list a:hover,
  .mob-nav-list .current-menu-item a {
    background: rgba(255,208,0,.15);
    color: var(--amarelo);
  }
  .mob-drawer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.15);
  }
  .mob-drawer-social a {
    color: rgba(255,255,255,.7);
    font-size: 14px;
    font-weight: 600;
    transition: color .2s;
  }
  .mob-drawer-social a:hover { color: var(--amarelo); }

  /* Ajuste do padding do hero para a nova altura do header */
  .hero-home,
  .hero-ano,
  .hero-page { padding-top: calc(56px + env(safe-area-inset-top, 0px)) !important; }
}

/* --- BARRACAS EXCERPT LIMIT --- */
.barraca-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px !important;
}

/* --- EDICOES SCROLL HORIZONTAL MOBILE --- */
@media (max-width: 768px) {
  .edicoes-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 12px;
  }
  .edicoes-grid::-webkit-scrollbar { height: 4px; }
  .edicoes-grid::-webkit-scrollbar-thumb { background: var(--amarelo); border-radius: 4px; }
  .edicao-card {
    flex: 0 0 260px !important;
    min-width: 260px !important;
    scroll-snap-align: start;
  }
}

/* --- APOIO REALIZACAO MOBILE CENTERED --- */
@media (max-width: 768px) {
  .apoio-real-wrap {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .apoio-bloco {
    width: 100%;
    text-align: center;
  }
  .apoio-titulo {
    text-align: center;
  }
  .apoio-logos {
    align-items: center;
  }
}

/* --- SCROLL HINT MOBILE --- */
.scroll-hint-mobile {
  display: none;
  text-align: center;
  width: 100%;
  font-size: 12px;
  color: #aaa;
  margin-top: 8px;
  letter-spacing: .05em;
}
@media (max-width: 768px) {
  .scroll-hint-mobile { display: block; }
}
