/* ============================================================
   Nossa História — estilo do site do casal
   Paleta quente: rosé, dourado suave, creme.
   ============================================================ */

:root {
  --rose:        #d98a8a;
  --rose-deep:   #b96a6a;
  --gold:        #c9a25a;
  --cream:       #fdf8f4;
  --cream-2:     #f7ede6;
  --ink:         #4a3b38;
  --ink-soft:    #7a6a66;
  --white:       #ffffff;
  --shadow:      0 18px 40px -18px rgba(120, 70, 60, 0.45);
  --radius:      18px;
  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'Quicksand', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }
html, body { max-width: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ===================== MENU ===================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253, 248, 244, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 90, 0.18);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -16px rgba(120,70,60,.5); }

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.nav__heart { color: var(--rose-deep); font-size: 1.2rem; animation: beat 2.4s ease-in-out infinite; }
.nav__name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .3px;
}
.nav__links {
  list-style: none;
  display: flex;
  gap: 8px;
}
.nav__links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .98rem;
  padding: 8px 16px;
  border-radius: 999px;
  transition: all .25s ease;
}
.nav__links a:hover { color: var(--rose-deep); background: var(--cream-2); }
.nav__links a.is-active {
  color: var(--white);
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  box-shadow: 0 8px 18px -10px var(--rose-deep);
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .3s ease;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(217,138,138,.35), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(201,162,90,.30), transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(217,138,138,.25), transparent 55%),
    linear-gradient(160deg, #fbe9e2 0%, #f7ede6 45%, #f4e3d8 100%);
}
.hero__overlay { position: absolute; inset: 0; }
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 24px;
  animation: rise 1.1s cubic-bezier(.2,.7,.2,1) both;
}
.hero__eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 600;
  line-height: 1.02;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero__subtitle {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 auto 34px;
}
.hero__cta {
  display: inline-block;
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  letter-spacing: .4px;
  padding: 15px 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  box-shadow: 0 16px 30px -14px var(--rose-deep);
  transition: transform .25s ease, box-shadow .25s ease;
}
.hero__cta:hover { transform: translateY(-3px); box-shadow: 0 22px 36px -14px var(--rose-deep); }

/* ===================== INTRO ===================== */
.intro {
  padding: 100px 24px;
  text-align: center;
  background: var(--cream);
}
.intro__inner { max-width: 640px; margin: 0 auto; }
.intro__icon { color: var(--gold); font-size: 1.4rem; letter-spacing: 8px; }
.intro__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  margin: 14px 0 18px;
}
.intro__text { font-size: 1.1rem; color: var(--ink-soft); }

/* ===================== GALERIA ===================== */
.gallery-section {
  padding: 30px 24px 110px;
  max-width: 1280px;
  margin: 0 auto;
}
.gallery-section__title {
  font-family: var(--serif);
  text-align: center;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 600;
  margin-bottom: 6px;
}
.gallery-section__count {
  text-align: center;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 44px;
}

/* Masonry com colunas CSS */
.gallery {
  column-count: 4;
  column-gap: 18px;
}
@media (max-width: 1100px) { .gallery { column-count: 3; } }
@media (max-width: 720px)  { .gallery { column-count: 2; } }
@media (max-width: 440px)  { .gallery { column-count: 1; } }

.gallery__item {
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow);
  background: var(--cream-2);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.gallery__item.is-visible { opacity: 1; transform: translateY(0); }
.gallery__item img {
  width: 100%;
  height: auto;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.gallery__item::after {
  content: "❤";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--white);
  background: linear-gradient(160deg, rgba(185,106,106,.0), rgba(185,106,106,.55));
  opacity: 0;
  transition: opacity .4s ease;
}
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:hover::after { opacity: 1; }

/* ===================== RODAPÉ ===================== */
.site-footer {
  text-align: center;
  padding: 70px 24px 80px;
  background: linear-gradient(160deg, var(--cream-2), #f2e0d6);
}
.site-footer__heart { color: var(--rose-deep); font-size: 2rem; animation: beat 2.4s ease-in-out infinite; }
.site-footer__text {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-top: 8px;
  color: var(--ink);
}
.site-footer__year { color: var(--ink-soft); font-size: .9rem; margin-top: 6px; }

/* ===================== LIGHTBOX ===================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(40, 28, 26, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7);
  transform: scale(.94);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  cursor: pointer;
  border-radius: 999px;
  transition: background .25s ease, transform .25s ease;
}
.lightbox__close {
  top: 22px; right: 26px;
  width: 48px; height: 48px;
  font-size: 1.8rem;
  line-height: 1;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  font-size: 1.3rem;
}
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255,255,255,.28); }
.lightbox__nav--prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox__nav--next:hover { transform: translateY(-50%) translateX(3px); }
.lightbox__counter {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  letter-spacing: 1px;
}

/* ===================== CORAÇÕES FLUTUANTES ===================== */
.floating-hearts {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  overflow: hidden;
}
.floating-hearts .h {
  position: absolute;
  bottom: -40px;
  color: rgba(217,138,138,.55);
  font-size: 1rem;
  animation: float-up linear forwards;
}

/* ===================== NAV: login / usuário ===================== */
.nav__user {
  color: var(--ink-soft);
  font-size: .9rem;
  display: flex; align-items: center;
  padding: 8px 6px;
  font-weight: 600;
}
.nav__links a.nav__login {
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
}
.nav__links a.nav__login:hover { color: #fff; }
.hero__nota { margin-top: 18px; color: var(--ink-soft); font-size: .92rem; }

/* ===================== LISTA DA FESTA (mobile-first, cards grandes) ===================== */
.lista-festa {
  max-width: 620px;
  margin: 0 auto;
  padding: 40px 16px 80px;
  color: #f3e9e2;
}
.lista-festa__titulo {
  font-family: 'Pacifico', cursive;
  font-size: clamp(2rem, 7vw, 3rem);
  text-align: center;
  margin-bottom: 6px;
  color: #f2b134;
}
.lista-festa__guia {
  text-align: center;
  color: rgba(243,233,226,.85);
  font-size: 1rem;
  margin-bottom: 22px;
}

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

.lista__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 16px 18px;
}
.lista__item.is-livre {
  border: 2px solid #f2b134;
  background: rgba(242,177,52,.10);
  box-shadow: 0 0 18px -6px rgba(242,177,52,.45);
}
.lista__item--pego { opacity: .82; background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.08); }

/* títulos dos grupos (livres em cima, garantidos embaixo) */
.lista-grupo { font-weight: 700; font-size: 1.05rem; margin: 26px 0 10px; }
.lista-grupo--livre { color: #f2b134; }
.lista-grupo--pego { color: rgba(243,233,226,.55); margin-top: 34px; }
.lista-tudo {
  text-align: center; color: #8fe39a; font-size: 1.08rem;
  background: rgba(76,175,80,.12); border: 1px solid rgba(76,175,80,.35);
  border-radius: 14px; padding: 16px; margin: 8px 0;
}

/* linha de ação (pegar + apagar do admin) */
.lista__linha { display: flex; gap: 10px; align-items: stretch; }
.lista__claim { flex: 1; }
.lista__acoes-admin { display: inline-flex; gap: 8px; align-items: center; }
.btn-del {
  background: rgba(224,83,58,.18); border: 1px solid rgba(224,83,58,.5);
  color: #ff9b86; cursor: pointer; border-radius: 10px;
  font-size: 1rem; padding: 0 12px; min-height: 40px;
}
.btn-del:active { background: rgba(224,83,58,.35); }

/* admin: formulário de adicionar item */
.add-item {
  margin-top: 34px;
  background: rgba(255,255,255,.06);
  border: 1px dashed rgba(255,255,255,.25);
  border-radius: 16px; padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.add-item__titulo { color: rgba(243,233,226,.8); font-size: 1rem; }
.add-item input[type=text] {
  padding: 12px 14px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.25); color: #fff; font-family: inherit; font-size: 1rem;
}
.add-item__chk { display: flex; align-items: center; gap: 8px; color: rgba(243,233,226,.85); font-size: .98rem; }
.add-item__btn {
  border: none; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 1.05rem;
  padding: 13px; border-radius: 12px;
  background: linear-gradient(135deg, #f2b134, #e0a022); color: #2a1f1c;
}

.lista__prato { font-size: 1.2rem; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.lista__refri {
  display: inline-block;
  font-style: normal; font-weight: 600; font-size: .76rem;
  color: #2a1f1c; background: #f2b134;
  padding: 1px 9px; border-radius: 999px; margin-left: 4px;
  vertical-align: middle;
}

/* card inteiro clicável (visitante deslogado) -> abre modal de login */
.lista__card {
  display: flex; flex-direction: column; gap: 12px;
  width: 100%; text-align: left;
  border: none; background: none; padding: 0; margin: 0;
  font: inherit; color: inherit; cursor: pointer;
}
.lista__acao { display: flex; align-items: center; }
.lista__acao--pegar { color: #f2b134; font-weight: 700; font-size: 1.05rem; }

/* botão grande "Eu vou levar este" (logado) */
.btn-pegar {
  width: 100%;
  border: none; cursor: pointer;
  background: linear-gradient(135deg, #4caf50, #3a8f3f);
  color: #fff; font-family: inherit; font-weight: 700; font-size: 1.08rem;
  padding: 14px; border-radius: 12px;
}
.btn-pegar:active { transform: scale(.99); }

/* item já pego */
.lista__acao--feito { justify-content: space-between; gap: 12px; }
.lista__quem { color: #8fe39a; font-weight: 700; font-size: 1.1rem; overflow-wrap: anywhere; }
.lista__tirar-form { flex-shrink: 0; }
.lista__tirar {
  background: none; border: 1px solid rgba(255,255,255,.3);
  color: rgba(243,233,226,.8); font-family: inherit; font-size: .8rem;
  padding: 6px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap;
}
.lista__tirar:active { background: rgba(255,255,255,.1); }

/* modal de login (festa) — UX simples pra idoso/criança */
.modal-login {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 22px;
  background: rgba(20, 12, 10, .62);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.modal-login.is-open { opacity: 1; visibility: visible; }
.modal-login__box {
  background: #fff; color: var(--ink);
  border-radius: 24px;
  max-width: 380px; width: 100%;
  padding: 30px 24px 24px;
  text-align: center;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.6);
  transform: translateY(14px) scale(.98);
  transition: transform .25s ease;
}
.modal-login.is-open .modal-login__box { transform: none; }
.modal-login__emoji { font-size: 3.2rem; line-height: 1; }
.modal-login__titulo { font-family: var(--serif); font-size: 1.8rem; margin: 8px 0 12px; color: var(--ink); }
.modal-login__texto { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.5; margin-bottom: 24px; }
.modal-login__btn {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; text-decoration: none;
  background: #fff; color: #3c4043;
  border: 1px solid #dadce0; border-radius: 14px;
  font-weight: 700; font-size: 1.12rem; padding: 15px;
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.3);
}
.modal-login__btn:active { background: #f3f4f4; }
.modal-login__cancel {
  margin-top: 12px; background: none; border: none;
  color: var(--ink-soft); font-family: inherit; font-size: 1rem;
  cursor: pointer; padding: 8px; text-decoration: underline;
}

/* destaque do item recém-reservado (foco volta pro item após login) */
@keyframes item-novo-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(76,175,80,.6); }
  100% { box-shadow: 0 0 0 18px rgba(76,175,80,0); }
}
.lista__item.is-novo {
  border: 2px solid #4caf50 !important;
  animation: item-novo-pulse 1.3s ease-out 2;
}

/* compacta o banner pra a lista "espiar" embaixo (incentiva descer) */
.arraia-banner--compact { height: 58vh; min-height: 360px; }
@media (max-width: 540px) {
  .arraia-banner--compact { height: 60vh; min-height: 320px; }
  .lista__prato { font-size: 1.12rem; }
}

/* ===================== CARROSSEL DA HOME ===================== */
/* topo da home: deixa o carrossel logo abaixo do menu fixo */
.home-carrossel { padding: 84px 16px 22px; background: var(--cream); }
/* com carrossel no topo, o herói vira uma faixa compacta (não tela cheia) */
.hero--compact { min-height: auto; padding: 64px 24px 84px; }
.home-carrossel__viewport {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--cream-2);
}
.home-carrossel__slides { position: relative; width: 100%; aspect-ratio: 4 / 3; }
.home-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; overflow: hidden; }
.home-slide.is-active { opacity: 1; }
/* fundo borrado (preenche os cantos das fotos em pé) */
.home-slide::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--bg); background-size: cover; background-position: center;
  filter: blur(16px) saturate(1.2) brightness(.95); transform: scale(1.3);
}
/* foto inteira, sem corte */
.home-slide img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; display: block; }
.home-carrossel__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 999px;
  background: rgba(0,0,0,.32); border: 1px solid rgba(255,255,255,.45);
  color: #fff; font-size: 1.1rem; cursor: pointer;
}
.home-carrossel__nav--prev { left: 12px; }
.home-carrossel__nav--next { right: 12px; }
.home-carrossel__dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 5;
  display: flex; gap: 8px;
}
.home-dot {
  width: 9px; height: 9px; border-radius: 999px; padding: 0; cursor: pointer;
  border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.3);
}
.home-dot.is-active { background: #fff; }
@media (max-width: 600px) {
  .home-carrossel__slides { aspect-ratio: 1 / 1; }
  .home-carrossel__nav { width: 38px; height: 38px; }
}

/* dica do admin na galeria + botão "vitrine" no lightbox */
.gallery-section__dica {
  text-align: center; color: var(--ink-soft); font-size: .9rem;
  max-width: 560px; margin: 0 auto 30px;
  background: var(--cream-2); padding: 10px 16px; border-radius: 10px;
}
.lightbox__carrossel {
  position: absolute; bottom: 62px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4);
  color: #fff; font-family: inherit; font-weight: 600; font-size: .92rem;
  padding: 11px 20px; border-radius: 999px; cursor: pointer;
  max-width: 92vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lightbox__carrossel.is-on { background: rgba(76,175,80,.55); border-color: #4caf50; }
.lightbox__carrossel:disabled { opacity: .6; cursor: default; }

/* ===================== PÁGINA DE MENSAGEM ===================== */
.mensagem {
  min-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px;
}
.mensagem__inner { max-width: 520px; }
.mensagem__icon { font-size: 3rem; margin-bottom: 12px; }
.mensagem__titulo { font-family: var(--serif); font-size: 2.4rem; margin-bottom: 12px; }
.mensagem__texto { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 28px; }
.mensagem__btn {
  display: inline-block; text-decoration: none; color: #fff; font-weight: 600;
  padding: 13px 30px; border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
}

/* ===================== ADMIN ===================== */
.admin { max-width: 1100px; margin: 0 auto; padding: 110px 18px 80px; }
.admin__titulo { font-family: var(--serif); font-size: 2.4rem; margin-bottom: 22px; text-align: center; }
.admin__bloco {
  background: var(--white);
  border: 1px solid rgba(201,162,90,.2);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}
.admin__sub { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 6px; }
.admin__dica { color: var(--ink-soft); font-size: .9rem; margin-bottom: 16px; }
.admin__add {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  background: var(--cream-2); padding: 12px; border-radius: 12px; margin-bottom: 18px;
}
.admin__add input[type=email], .admin__add input[type=text] {
  padding: 8px 10px; border: 1px solid rgba(0,0,0,.15); border-radius: 8px; font-family: inherit;
}
.admin__add label { font-size: .9rem; display: flex; align-items: center; gap: 4px; }
.admin button {
  border: none; cursor: pointer; background: var(--rose); color: #fff;
  padding: 8px 14px; border-radius: 8px; font-family: inherit; font-weight: 600;
}
.admin button:hover { background: var(--rose-deep); }
.admin__tabela { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin__tabela th, .admin__tabela td {
  text-align: left; padding: 8px 10px; border-bottom: 1px solid rgba(0,0,0,.08); vertical-align: middle;
}
.admin__tabela th { color: var(--ink-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; }
.admin__tabela td.center { text-align: center; }
.admin__tabela td.muted { color: var(--ink-soft); font-size: .82rem; }
.inline-form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.inline-form input[type=text] { padding: 6px 8px; border: 1px solid rgba(0,0,0,.15); border-radius: 6px; font-family: inherit; width: 130px; }
.inline-form .chk { font-size: .78rem; display: flex; align-items: center; gap: 3px; }
.btn-danger { background: #e0533a !important; }
.btn-danger:hover { background: #c8402a !important; }

/* ===================== FESTA JUNINA — BANNER ===================== */
.festa-body { background: #2a1f1c; }

.arraia-banner {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 120%, rgba(224,83,58,.45), transparent 55%),
    linear-gradient(160deg, #3a2520 0%, #2a1f1c 60%, #1f1714 100%);
}

/* slides (fundo de fotos com fade) */
.arraia-banner__slides { position: absolute; inset: 0; z-index: 1; }
.arraia-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 1.1s ease;
}
.arraia-slide.is-active { opacity: 1; }
/* fundo borrado preenchendo os cantos das fotos em pé */
.arraia-slide::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--bg); background-size: cover; background-position: center;
  filter: blur(28px) brightness(.7); transform: scale(1.25);
}
/* foto inteira, sem corte */
.arraia-slide img {
  position: relative; z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.arraia-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(31,23,20,.55) 0%, rgba(31,23,20,.15) 35%, rgba(31,23,20,.75) 100%);
}

/* conteúdo central */
.arraia-banner__content {
  position: relative;
  z-index: 4;
  max-width: 720px;
  padding: 0 24px;
  color: #fff;
  animation: rise 1s cubic-bezier(.2,.7,.2,1) both;
}
.arraia-banner__flags { font-size: 2rem; letter-spacing: 12px; margin-bottom: 14px; }
.arraia-banner__eyebrow {
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: .82rem;
  font-weight: 600;
  color: #f2b134;
  margin-bottom: 10px;
}
.arraia-banner__title {
  font-family: 'Pacifico', cursive;
  font-size: clamp(2.8rem, 9vw, 5.4rem);
  font-weight: 400;
  line-height: 1.05;
  text-shadow: 0 6px 24px rgba(0,0,0,.5);
  margin-bottom: 18px;
}
.arraia-banner__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.92);
  max-width: 540px;
  margin: 0 auto;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}

/* botão "Ver a lista ↓" — pista clara de que há conteúdo abaixo */
.arraia-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: 26px;
  text-decoration: none;
  color: #2a1f1c;
  font-weight: 700;
  font-size: .98rem;
  background: linear-gradient(135deg, #f2b134, #e0a022);
  padding: 12px 28px 8px;
  border-radius: 999px;
  box-shadow: 0 12px 26px -10px rgba(0,0,0,.6);
  animation: scroll-bounce 1.6s ease-in-out infinite;
}
.arraia-scroll:hover { filter: brightness(1.06); }
.arraia-scroll__chevron { font-size: 1.5rem; line-height: .6; margin-top: -2px; }
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(7px); }
}

/* bandeirinhas no topo */
.bandeirinhas {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 34px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 0;
}
.bandeirinhas::before {
  content: "";
  position: absolute;
  top: 6px; left: -2%; right: -2%;
  height: 2px;
  background: rgba(255,255,255,.5);
  border-radius: 2px;
}
.bandeirinhas span {
  width: 0; height: 0;
  border-left: 17px solid transparent;
  border-right: 17px solid transparent;
  border-top: 26px solid var(--c);
  margin: 6px 4px 0;
  transform-origin: top center;
  animation: bandeira-balanca 3s ease-in-out infinite;
  filter: drop-shadow(0 3px 3px rgba(0,0,0,.25));
}
.bandeirinhas span:nth-child(even) { animation-delay: .4s; }
.bandeirinhas span:nth-child(3n)   { animation-delay: .8s; }

/* setas e dots */
.arraia-banner__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 50px; height: 50px;
  border-radius: 999px;
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.arraia-banner__nav--prev { left: 22px; }
.arraia-banner__nav--next { right: 22px; }
.arraia-banner__nav:hover { background: rgba(0,0,0,.55); }
.arraia-banner__nav--prev:hover { transform: translateY(-50%) translateX(-3px); }
.arraia-banner__nav--next:hover { transform: translateY(-50%) translateX(3px); }

.arraia-banner__dots {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: 10px;
}
.arraia-dot {
  width: 11px; height: 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .25s ease, transform .25s ease;
}
.arraia-dot.is-active { background: #f2b134; border-color: #f2b134; transform: scale(1.2); }

.arraia-banner__empty {
  position: relative;
  z-index: 4;
  color: rgba(255,255,255,.85);
  background: rgba(0,0,0,.35);
  border: 1px dashed rgba(255,255,255,.4);
  border-radius: 14px;
  padding: 18px 24px;
  margin-top: 28px;
  font-size: .98rem;
}
.arraia-banner__empty code {
  background: rgba(255,255,255,.15);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: .9em;
}

@media (max-width: 640px) {
  .arraia-banner__nav { width: 42px; height: 42px; }
  .bandeirinhas span { border-left-width: 13px; border-right-width: 13px; border-top-width: 20px; }
}

/* ===================== ANIMAÇÕES ===================== */
@keyframes arraia-zoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}
@keyframes bandeira-balanca {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(4deg); }
}
@keyframes beat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.25); }
  30% { transform: scale(1); }
  45% { transform: scale(1.18); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float-up {
  0%   { transform: translateY(0) translateX(0) rotate(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-110vh) translateX(40px) rotate(40deg); opacity: 0; }
}

/* ===================== RESPONSIVO MENU ===================== */
@media (max-width: 640px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(253, 248, 244, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201,162,90,.18);
    padding: 10px 16px 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
    padding-top: 0; padding-bottom: 0;
  }
  .nav__links.is-open { max-height: 320px; padding-top: 10px; padding-bottom: 18px; }
  .nav__links a { display: block; padding: 14px 16px; border-radius: 12px; }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Acessibilidade: respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .gallery__item { opacity: 1; transform: none; }
}
