/* ============================================
   FEMET v4 — Estilo Principal
   ============================================ */
:root {
  --rose-deep: #8B1A4A; --rose-mid: #C2185B;
  --rose-pale: #F8BBD0; --rose-blush: #FCE4EC; --rose-petal: #FFF0F5;
  --gold: #C9A84C; --cream: #FDF8F0; --white: #FFFFFF;
  --charcoal: #2C2C2C; --text-mid: #5C4A5A; --text-light: #9E7A8E;
  /* Cor da seção Próxima Edição — bege quente igual à imagem de referência */
  --proxima-bg1: #F0E6D8; --proxima-bg2: #E8DCCF;
  --shadow-rose: 0 20px 60px rgba(194,24,91,0.15);
  --shadow-soft: 0 8px 32px rgba(44,44,44,0.08);
  --radius: 16px; --radius-sm: 8px;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { font-family: var(--font-body); color: var(--charcoal); background: var(--cream); overflow-x: hidden; max-width: 100vw; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem, 5vw, 3rem); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--rose-blush); }
::-webkit-scrollbar-thumb { background: var(--rose-mid); border-radius: 3px; }

/* ---- HEADER ---- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); box-shadow: 0 2px 20px rgba(194,24,91,0.08); border-bottom: 1px solid var(--rose-pale); transition: var(--transition); }
.site-header.scrolled { background: #fff; box-shadow: 0 2px 30px rgba(194,24,91,0.12); }
.nav-container { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem clamp(1rem, 5vw, 3rem); max-width: 1300px; margin: 0 auto; }
.logo-wrap { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo-icon { width: 42px; height: 42px; color: var(--rose-mid); }
.logo-icon.small { width: 34px; height: 34px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; color: var(--rose-deep); letter-spacing: 0.05em; }
.logo-sub { font-size: 0.63rem; color: var(--text-light); letter-spacing: 0.15em; text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links a { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.05em; color: var(--text-mid); text-transform: uppercase; }
.nav-links a:hover { color: var(--rose-mid); }
.nav-cta { background: var(--rose-mid) !important; color: white !important; padding: 0.55rem 1.3rem; border-radius: 50px; }
.nav-cta:hover { background: var(--rose-deep) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.hamburger span { width: 24px; height: 2px; background: var(--rose-mid); border-radius: 2px; transition: var(--transition); }
.mobile-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--rose-petal); border-top: 1px solid var(--rose-pale); padding: 1.5rem; z-index: 999; }
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.mobile-menu a { font-size: 1.05rem; color: var(--rose-deep); font-weight: 500; font-family: var(--font-display); display: block; padding: 0.4rem 0; border-bottom: 1px solid var(--rose-pale); }

/* ---- BUTTONS ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.9rem 2.2rem; border-radius: 50px; border: none; cursor: pointer; font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.05em; transition: var(--transition); text-transform: uppercase; }
.btn-primary { background: linear-gradient(135deg, var(--rose-mid), var(--rose-deep)); color: white; box-shadow: 0 8px 24px rgba(194,24,91,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(194,24,91,0.45); }
.btn-outline { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ---- HERO ---- */
.hero { min-height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, var(--rose-deep) 0%, #6A0F35 40%, #2C0A1A 100%); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-shapes { position: absolute; inset: 0; }
.shape { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.06), transparent); }
.shape-1 { width: 600px; height: 600px; top: -200px; right: -150px; }
.shape-2 { width: 400px; height: 400px; bottom: -100px; left: -100px; }
.shape-3 { width: 200px; height: 200px; top: 30%; left: 15%; animation: float 8s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-20px)} }
.petals-container { position: absolute; inset: 0; overflow: hidden; }
.petal { position: absolute; pointer-events: none; opacity: 0; animation: petalFall linear infinite; }
@keyframes petalFall { 0%{opacity:0;transform:translateY(-20px) rotate(0deg)} 10%{opacity:0.4} 90%{opacity:0.2} 100%{opacity:0;transform:translateY(100vh) rotate(360deg)} }
.hero-content { position: relative; z-index: 2; text-align: center; color: white; padding: 8rem 1.5rem 4rem; max-width: 820px; }
.hero-eyebrow { font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--rose-pale); margin-bottom: 1.5rem; opacity: 0; animation: fadeUp 0.8s ease 0.3s forwards; }
.hero-title { font-family: var(--font-display); font-weight: 300; line-height: 1.05; margin-bottom: 1.5rem; }
.line-1 { display: block; font-size: clamp(2.5rem, 7vw, 5.5rem); letter-spacing: -0.02em; opacity: 0; animation: fadeUp 0.8s ease 0.5s forwards; }
.line-2 { display: block; font-size: clamp(3rem, 8.5vw, 7rem); font-style: italic; color: var(--rose-pale); font-weight: 300; opacity: 0; animation: fadeUp 0.8s ease 0.7s forwards; }
.hero-desc { font-size: clamp(0.9rem, 2vw, 1.05rem); line-height: 1.7; color: rgba(255,255,255,0.75); margin-bottom: 2.5rem; opacity: 0; animation: fadeUp 0.8s ease 0.9s forwards; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 4rem; opacity: 0; animation: fadeUp 0.8s ease 1.1s forwards; }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 2rem; opacity: 0; animation: fadeUp 0.8s ease 1.3s forwards; }
.stat { text-align: center; }
.stat-num { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--rose-pale); }
.stat-label { font-size: 0.73rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.stat-divider { width: 1px; height: 38px; background: rgba(255,255,255,0.2); }
.hero-scroll-hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.75rem; color: rgba(255,255,255,0.4); font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; z-index: 2; opacity: 0; animation: fadeUp 0.8s ease 1.8s forwards; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{height:40px;opacity:0.4} 50%{height:60px;opacity:0.8} }
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }

/* ---- SECTION COMMONS ---- */
.section-label { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--rose-mid); font-weight: 500; margin-bottom: 0.75rem; }
.section-label.white { color: rgba(255,255,255,0.6); }
.section-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); color: var(--rose-deep); line-height: 1.15; margin-bottom: 0.75rem; }
.section-desc { color: var(--text-mid); font-size: 0.98rem; line-height: 1.7; max-width: 500px; }
.section-header.centered { text-align: center; margin-bottom: 3rem; }
.section-header.centered .section-desc { margin: 0 auto; }

/* ---- PRÓXIMA EDIÇÃO — fundo bege quente ---- */
.proxima-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
  background: linear-gradient(145deg, var(--proxima-bg1) 0%, var(--proxima-bg2) 100%);
  color: var(--charcoal); overflow: hidden;
}
.proxima-bg { position: absolute; inset: 0; pointer-events: none; }
.proxima-shapes .ps1, .proxima-shapes .ps2 { position: absolute; border-radius: 50%; opacity: 0.15; background: radial-gradient(circle, rgba(139,26,74,0.15), transparent); }
.proxima-shapes .ps1 { width: 500px; height: 500px; top: -200px; right: -100px; }
.proxima-shapes .ps2 { width: 300px; height: 300px; bottom: -100px; left: -50px; }
.proxima-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.proxima-titulo { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 300; line-height: 1.2; margin: 0.75rem 0 1.25rem; color: var(--rose-deep); }
.proxima-desc { color: var(--text-mid); line-height: 1.7; margin-bottom: 2rem; font-size: 0.97rem; }
.proxima-detalhes { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.detalhe-item { display: flex; align-items: flex-start; gap: 1rem; }
.detalhe-icon { font-size: 1.15rem; width: 26px; text-align: center; }
.detalhe-texto { display: flex; flex-direction: column; }
.detalhe-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-light); }
.detalhe-valor { font-size: 0.98rem; color: var(--charcoal); }
/* Label "Próxima Edição" acima */
.proxima-section .section-label.white { color: var(--rose-mid) !important; }
/* Botão inscrição — dourado */
.btn-inscricao-link { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--gold), #A8893E); color: white; font-size: 1rem; padding: 1rem 2.5rem; border-radius: 50px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.05em; box-shadow: 0 8px 24px rgba(201,168,76,0.4); transition: var(--transition); text-decoration: none; }
.btn-inscricao-link:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(201,168,76,0.5); color: white; }
.cta-obs { font-size: 0.8rem; color: var(--text-light); margin-top: 0.75rem; }
.em-breve-badge { display: inline-block; background: var(--rose-pale); color: var(--rose-deep); padding: 0.35rem 1.1rem; border-radius: 50px; font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.9rem; }
.cta-em-breve p { color: var(--text-mid); margin-bottom: 1.1rem; line-height: 1.6; font-size: 0.95rem; }
.redes-sociais { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.rede-btn { background: rgba(139,26,74,0.1); color: var(--rose-deep); padding: 0.45rem 1.1rem; border-radius: 50px; font-size: 0.82rem; font-weight: 500; transition: var(--transition); border: 1px solid var(--rose-pale); }
.rede-btn:hover { background: var(--rose-mid); color: white; }
.cta-encerrado { background: rgba(139,26,74,0.07); border-radius: var(--radius); padding: 1.1rem; color: var(--rose-deep); font-size: 0.93rem; line-height: 1.6; border: 1px solid var(--rose-pale); }
.proxima-em-breve { text-align: center; padding: 2rem 0; }
.proxima-em-breve h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 300; margin-bottom: 0.75rem; color: var(--rose-deep); }
.proxima-em-breve p { color: var(--text-mid); }

/* Countdown no topo — adaptado para fundo claro */
.countdown-title { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--text-light); margin-bottom: 2rem; }
.countdown-grid { display: flex; align-items: center; justify-content: center; gap: 0.4rem; }
.countdown-item { text-align: center; }
.cd-num { display: block; font-family: var(--font-display); font-size: 3rem; font-weight: 300; color: var(--rose-deep); line-height: 1; min-width: 58px; }
.cd-label { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-light); margin-top: 0.3rem; }
.countdown-sep { font-family: var(--font-display); font-size: 2rem; color: var(--rose-pale); padding-bottom: 1.4rem; }
/* Countdown topo — card adaptado */
.countdown-topo { background: rgba(139,26,74,0.06) !important; border: 1px solid var(--rose-pale) !important; }

/* ---- SOBRE ---- */
.sobre-section { padding: clamp(4rem, 8vw, 8rem) 0; background: var(--white); }
.sobre-content-full { max-width: 860px; margin: 0 auto; }
.sobre-text { margin: 1.5rem 0 2rem; color: var(--text-mid); line-height: 1.85; font-size: 1rem; }
.sobre-text p + p { margin-top: 1rem; }
.sobre-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.pilar { background: var(--rose-petal); padding: 1.35rem; border-radius: var(--radius-sm); border-left: 3px solid var(--rose-mid); }
.pilar-icon { font-size: 1.1rem; margin-bottom: 0.4rem; color: var(--rose-mid); }
.pilar h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--rose-deep); margin-bottom: 0.4rem; }
.pilar p { font-size: 0.87rem; color: var(--text-mid); line-height: 1.6; }
.pilar-valores { grid-column: 1/-1; }
.valores-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.tag { background: var(--rose-pale); color: var(--rose-deep); padding: 0.28rem 0.85rem; border-radius: 50px; font-size: 0.78rem; font-weight: 500; }

/* ---- EDIÇÕES — agrupadas por ano ---- */
.edicoes-section { padding: clamp(4rem, 8vw, 8rem) 0; background: var(--cream); }
/* Grupo de ano */
.edicoes-anos { display: flex; flex-direction: column; gap: 2.5rem; }
.edicao-ano-grupo {}
.edicao-ano-titulo {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem;
}
.edicao-ano-titulo span {
  font-family: var(--font-display); font-size: 2rem; font-weight: 600;
  color: var(--rose-deep); flex-shrink: 0;
}
.edicao-ano-linha { flex: 1; height: 2px; background: linear-gradient(to right, var(--rose-pale), transparent); }
/* Grid dentro de cada ano */
.edicoes-grid { display: flex; flex-direction: column; gap: 0.85rem; max-width: 860px; }
/* Cards */
.edicao-card-v { display: flex; background: white; border-radius: var(--radius); box-shadow: var(--shadow-soft); overflow: hidden; transition: var(--transition); border: 1px solid var(--rose-pale); }
.edicao-card-v:hover { transform: translateY(-3px); box-shadow: var(--shadow-rose); border-color: var(--rose-mid); }
.edicao-card-v-left { background: linear-gradient(160deg, var(--rose-deep), #5A0F2E); color: white; padding: 1.25rem 1.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 110px; text-align: center; flex-shrink: 0; gap: 0.1rem; }
.edicao-numero-v { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose-pale); font-weight: 600; }
.edicao-mes-v { font-family: var(--font-display); font-size: 1.1rem; color: rgba(255,255,255,0.85); font-style: italic; }
.edicao-ano-v { font-family: var(--font-display); font-size: 1.8rem; font-weight: 300; color: white; line-height: 1; }
.edicao-card-v-body { padding: 1.1rem 1.4rem; flex: 1; display: flex; flex-direction: column; gap: 0.3rem; }
.edicao-badge { background: var(--gold); color: white; font-size: 0.67rem; padding: 0.18rem 0.6rem; border-radius: 50px; display: inline-block; width: fit-content; }
.edicao-tema-v { font-family: var(--font-display); font-size: 1.2rem; color: var(--rose-deep); font-style: italic; }
.edicao-desc-v { font-size: 0.86rem; color: var(--text-mid); line-height: 1.6; flex: 1; }
.edicao-card-v-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 0.7rem; flex-wrap: wrap; }
.edicao-local-v { font-size: 0.76rem; color: var(--text-light); }
.btn-ver-fotos { background: none; border: none; color: var(--rose-mid); font-size: 0.82rem; cursor: pointer; padding: 0; font-family: var(--font-body); font-weight: 600; transition: var(--transition); }
.btn-ver-fotos:hover { color: var(--rose-deep); }

/* ---- GALERIA ---- */
.galeria-section { padding: clamp(4rem, 8vw, 8rem) 0; background: var(--white); }
.galeria-filtros { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.filtro-btn { background: var(--rose-petal); border: 1.5px solid var(--rose-pale); color: var(--text-mid); padding: 0.45rem 1rem; border-radius: 50px; font-size: 0.8rem; cursor: pointer; font-family: var(--font-body); font-weight: 500; transition: var(--transition); }
.filtro-btn:hover, .filtro-btn.active { background: var(--rose-mid); border-color: var(--rose-mid); color: white; }
.galeria-label { font-family: var(--font-display); font-size: 1.4rem; font-style: italic; color: var(--rose-deep); margin-bottom: 1.25rem; }
.galeria-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.9rem; }
.galeria-item { position: relative; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 4/3; cursor: pointer; box-shadow: var(--shadow-soft); }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.galeria-item:hover img { transform: scale(1.07); }
.galeria-item-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(139,26,74,0.8) 0%, transparent 60%); opacity: 0; transition: var(--transition); display: flex; align-items: flex-end; padding: 0.9rem; }
.galeria-item:hover .galeria-item-overlay { opacity: 1; }
.galeria-item-caption { color: white; font-size: 0.83rem; font-weight: 500; }
.galeria-item.destaque { grid-column: span 2; aspect-ratio: 16/9; }
.galeria-loading { grid-column: 1/-1; text-align: center; padding: 3rem; color: var(--text-light); }
.loading-spinner { width: 34px; height: 34px; border: 3px solid var(--rose-pale); border-top-color: var(--rose-mid); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 1rem; }
@keyframes spin { to{transform:rotate(360deg)} }

/* ---- LIGHTBOX ---- */
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(10,3,6,0.96); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox-img-wrap { max-width: 90vw; max-height: 90vh; text-align: center; }
.lightbox-img-wrap img { max-width: 90vw; max-height: 80vh; border-radius: var(--radius-sm); object-fit: contain; }
.lightbox-caption { color: rgba(255,255,255,0.65); margin-top: 0.75rem; font-size: 0.88rem; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; background: rgba(255,255,255,0.1); border: none; color: white; cursor: pointer; border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; transition: var(--transition); font-size: 1.2rem; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--rose-mid); }
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); font-size: 1.8rem; }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); font-size: 1.8rem; }

/* ---- FOOTER ---- */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.7); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo-main { color: var(--rose-pale); }
.footer-brand .logo-sub { color: rgba(255,255,255,0.35); }
.footer-brand .logo-icon { color: var(--rose-pale); }
.footer-brand p { font-size: 0.88rem; margin-top: 0.9rem; line-height: 1.6; }
.footer-links h4, .footer-contato h4 { color: white; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.9rem; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a:hover, .footer-contato a:hover { color: var(--rose-pale); }
.footer-contato p { margin-bottom: 0.4rem; font-size: 0.88rem; }
.footer-bottom { padding: 1.5rem 0; text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.28); }

/* ---- REVEAL ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .proxima-layout { grid-template-columns: 1fr; gap: 2rem; }
  .proxima-countdown { order: -1; padding: 1.75rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sobre-pillars { grid-template-columns: 1fr; }
  .pilar-valores { grid-column: auto; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding: 7rem 1.25rem 3rem; }
  .hero-stats { gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
  .stat-num { font-size: 1.4rem; }
  .stat-divider { height: 28px; }
  .hero-desc br { display: none; }
  .galeria-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .galeria-item.destaque { grid-column: 1/-1; }
  .filtro-btn { padding: 0.38rem 0.8rem; font-size: 0.75rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .proxima-section .container { padding: 0 1rem; }
  .proxima-titulo { font-size: 1.55rem; }
  .countdown-grid { gap: 0.2rem; }
  .cd-num { font-size: 2.4rem; min-width: 48px; }
  .countdown-sep { font-size: 1.5rem; }
  /* Edições: coluna esquerda menor */
  .edicao-card-v-left { min-width: 90px; padding: 1rem 1.1rem; }
  .edicao-ano-v { font-size: 1.5rem; }
}
@media (max-width: 500px) {
  .hero-actions { flex-direction: column; align-items: center; gap: 0.75rem; }
  .hero-actions .btn { width: 100%; max-width: 290px; }
  .hero-scroll-hint { display: none; }
  .cd-num { font-size: 2rem; min-width: 42px; }
  .proxima-countdown { padding: 1.5rem 1rem; }
  .galeria-grid { grid-template-columns: 1fr; }
  /* Edições: empilha vertical em telas muito pequenas */
  .edicao-card-v { flex-direction: column; }
  .edicao-card-v-left { flex-direction: row; gap: 0.85rem; padding: 0.9rem 1.1rem; min-width: unset; justify-content: flex-start; align-items: center; }
  .edicao-mes-v { display: inline; }
  .edicao-ano-v { font-size: 1.4rem; }
  .edicao-card-v-footer { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .lightbox-prev { left: 0.4rem; }
  .lightbox-next { right: 0.4rem; }
}

/* ---- HERO LOGO ---- */
.hero-logo { margin-bottom: 1.5rem; display: flex; justify-content: center; }
.hero-logo img { max-height: 100px; max-width: 220px; object-fit: contain; filter: drop-shadow(0 4px 16px rgba(0,0,0,0.3)); }
.hero-logo-text { font-family: var(--font-display); font-size: 4rem; font-weight: 600; color: white; letter-spacing: 0.05em; text-shadow: 0 4px 24px rgba(0,0,0,0.3); }
/* Descrição com quebras de linha */
.proxima-desc { color: rgba(255,255,255,0.8); line-height: 1.75; margin-bottom: 2rem; font-size: 0.95rem; }
.proxima-desc br { display: block; content: ''; margin-top: 0.15rem; }
/* Header só texto (sem ícone svg) */
.logo-wrap .logo-text .logo-main { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; color: var(--rose-deep); letter-spacing: 0.05em; }

/* ============================================
   FEMET — Correções visuais
   ============================================ */

/* Logo hero: dobro do tamanho */
.hero-logo img { max-height: 200px !important; max-width: 440px !important; }

/* Hero scroll hint: centralizado */
.hero-scroll-hint { left: 50%; transform: translateX(-50%); text-align: center; }

/* Proxima: layout single-column centralizado (sem grid lateral) */
.proxima-layout { grid-template-columns: 1fr !important; max-width: 620px; margin: 0 auto; }
.proxima-titulo { text-align: center; }
.proxima-detalhes { max-width: 400px; margin: 0 auto 2rem; }
.proxima-cta { text-align: center; }
.proxima-cta .redes-sociais { justify-content: center; }

/* Countdown centralizado ACIMA da proxima */
.countdown-topo {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 1.75rem 2rem;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.countdown-topo .countdown-title { margin-bottom: 1.25rem; }
.countdown-topo .countdown-grid { justify-content: center; }

/* Remove o bloco de countdown lateral (já não existe no HTML, mas limpa CSS residual) */
.proxima-countdown { display: none !important; }

/* Edições Anteriores: header centralizado e grid centralizado */
.edicoes-section .section-header { text-align: center; }
.edicoes-anos { max-width: 860px; margin: 0 auto; }
.edicao-ano-titulo { justify-content: center; }
.edicoes-grid { margin: 0 auto; width: 100%; }

/* Footer: fundo branco */
.site-footer { background: #ffffff !important; color: var(--charcoal) !important; border-top: 1px solid var(--rose-pale); }
.site-footer .logo-main { color: var(--rose-deep) !important; }
.site-footer .logo-sub { color: var(--text-light) !important; }
.site-footer .logo-icon { color: var(--rose-mid) !important; }
.site-footer .footer-brand p { color: var(--text-mid) !important; }
.site-footer .footer-links h4,
.site-footer .footer-contato h4 { color: var(--rose-deep) !important; }
.site-footer .footer-links a,
.site-footer .footer-contato p,
.site-footer .footer-contato a { color: var(--text-mid) !important; }
.site-footer .footer-links a:hover,
.site-footer .footer-contato a:hover { color: var(--rose-mid) !important; }
.site-footer .footer-bottom { border-top: 1px solid var(--rose-pale); color: var(--text-light) !important; }

/* Garante textos centralizados onde necessário */
.section-header.centered { text-align: center; }
.section-header.centered .section-desc { text-align: center; margin: 0 auto; }

/* ============================================
   CENTRALIZAÇÕES E COR FOOTER — fix final
   ============================================ */

/* Hero: tudo centralizado */
.hero-content { text-align: center !important; }
.hero-scroll-hint { position: absolute; bottom: 2rem; left: 0; right: 0; transform: none !important; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }

/* Proxima: label e label.white centralizados */
.proxima-section .section-label { text-align: center; color: var(--rose-mid) !important; }

/* Edições: header + ano-titulo centralizados */
.edicoes-section .section-header { text-align: center; }
.edicao-ano-titulo { display: flex; align-items: center; gap: 1rem; justify-content: flex-start; }

/* Footer — fundo bege igual à proxima edição + texto escuro */
.site-footer {
  background: #F0E6D8 !important;
  color: var(--charcoal) !important;
  border-top: 1px solid #D9CCBE;
}
.site-footer .logo-main { color: var(--rose-deep) !important; }
.site-footer .logo-sub { color: var(--text-light) !important; }
.site-footer .logo-icon { color: var(--rose-mid) !important; }
.site-footer .footer-brand p { color: var(--text-mid) !important; }
.site-footer .footer-links h4,
.site-footer .footer-contato h4 { color: var(--rose-deep) !important; }
.site-footer .footer-links a,
.site-footer .footer-contato p,
.site-footer .footer-contato a { color: var(--text-mid) !important; }
.site-footer .footer-links a:hover,
.site-footer .footer-contato a:hover { color: var(--rose-mid) !important; }
.site-footer .footer-bottom {
  border-top: 1px solid #D9CCBE;
  color: var(--text-light) !important;
}

/* Footer — cor igual ao hero (vinho escuro) */
.site-footer {
  background: #6B0F35 !important;
  color: rgba(255,255,255,0.8) !important;
  border-top: none !important;
}
.site-footer .logo-main { color: var(--rose-pale) !important; }
.site-footer .logo-sub { color: rgba(255,255,255,0.45) !important; }
.site-footer .logo-icon { color: var(--rose-pale) !important; }
.site-footer .footer-brand p { color: rgba(255,255,255,0.65) !important; }
.site-footer .footer-links h4,
.site-footer .footer-contato h4 { color: white !important; }
.site-footer .footer-links a,
.site-footer .footer-contato p,
.site-footer .footer-contato a { color: rgba(255,255,255,0.7) !important; }
.site-footer .footer-links a:hover,
.site-footer .footer-contato a:hover { color: var(--rose-pale) !important; }
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12) !important;
  color: rgba(255,255,255,0.35) !important;
}