/* ==========================================================================
   BENDITO BOTECO — CENTRO HISTÓRICO • JOÃO PESSOA/PB
   Identidade: Pop-Art Tropical Raiz (#D9231B, #53A3CB, #F7C12B, #0B1248, #FAF6EE)
   Motion & Mobile Craft: Emil Kowalski Design Engineering Tokens
   ========================================================================== */

:root {
  --bg-cream: #FAF6EE;
  --bg-white: #FFFFFF;
  --red: #D9231B;
  --red-strong: #B81A13;
  --sky: #53A3CB;
  --sky-light: #E8F4FA;
  --yellow: #F7C12B;
  --yellow-strong: #E6AD12;
  --navy: #0B1248;
  --ink-body: #333B5C;
  --ink-muted: #5A6282;

  --border-navy: rgba(11, 18, 72, 0.14);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --font-script: 'Caveat', cursive;

  --container-max: 1180px;
  --header-height: 76px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--navy);
  line-height: 1.6;
  overflow-x: clip;
  overscroll-behavior-y: none;
  position: relative;
}

/* Textura tátil de papel/cartaz de boteco */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
  transition: color 160ms ease;
}

button, [role="button"] {
  font: inherit;
  touch-action: manipulation;
  user-select: none;
}

ul {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--navy);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 2000;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: clamp(64px, 7.5vw, 100px) 0;
}

/* TIPOGRAFIA */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 14px;
  text-wrap: balance;
}

.light-title {
  color: #FFFFFF;
  text-shadow: 3px 3px 0 var(--navy);
}

.section-subtitle {
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
  color: var(--ink-body);
  max-width: 560px;
  line-height: 1.6;
  text-wrap: pretty;
}

.kicker-pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  background: rgba(217, 35, 27, 0.09);
  border: 1.5px solid rgba(217, 35, 27, 0.28);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.script-kicker,
.script-note,
.script-closing {
  font-family: var(--font-script);
  font-weight: 700;
}

/* BOTÕES COM ESTILO POP-ART + FEEDBACK TÁTIL */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  font-weight: 700;
  border-radius: 999px;
  border: 2px solid var(--navy);
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  box-shadow: 4px 4px 0 var(--navy);
  transition:
    transform 150ms var(--ease-out),
    background-color 180ms ease,
    box-shadow 150ms var(--ease-out);
}

.btn:active {
  transform: translate(2px, 2px) scale(0.97);
  box-shadow: 1px 1px 0 var(--navy);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.btn-large {
  padding: 15px 26px;
  font-size: 0.96rem;
}

.btn-full {
  width: 100%;
  white-space: normal;
}

.btn-red {
  background: var(--red);
  color: #FFFFFF;
}

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

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

.btn-white-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: #FFFFFF;
  box-shadow: 4px 4px 0 rgba(11, 18, 72, 0.55);
}

.btn-arrow {
  display: inline-block;
  transition: transform 180ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translate(-1px, -1px);
    box-shadow: 5px 5px 0 var(--navy);
  }

  .btn-red:hover {
    background: var(--red-strong);
  }

  .btn-yellow:hover {
    background: var(--yellow-strong);
  }

  .btn-outline:hover {
    background: var(--sky-light);
  }

  .btn:hover .btn-arrow {
    transform: translateX(3px);
  }

  .btn:active {
    transform: translate(2px, 2px) scale(0.97);
    box-shadow: 1px 1px 0 var(--navy);
  }
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(250, 246, 238, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background-color 200ms ease;
}

.site-header.scrolled {
  background: rgba(250, 246, 238, 0.96);
  border-bottom-color: var(--border-navy);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
  transition: transform 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .header-brand:hover .header-logo {
    transform: scale(1.03);
  }
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover {
    color: var(--red);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-mobile-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 2px solid var(--navy);
  background: var(--bg-white);
  color: var(--navy);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--navy);
  transition: transform 140ms var(--ease-out);
}

.menu-mobile-btn:active {
  transform: scale(0.95);
}

.menu-mobile-btn .icon-close { display: none; }
.menu-mobile-btn[aria-expanded="true"] .icon-menu { display: none; }
.menu-mobile-btn[aria-expanded="true"] .icon-close { display: block; }

/* SESSÃO 1: HERO */
.hero-section {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(28px, 4vw, 54px);
  background:
    radial-gradient(circle at 82% 24%, rgba(83, 163, 203, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 18% 72%, rgba(247, 193, 43, 0.12) 0%, transparent 42%),
    var(--bg-cream);
  overflow: hidden;
}

.hero-ornaments {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ornament-star {
  position: absolute;
  opacity: 0.7;
}

.star-1 {
  top: 12%;
  left: 6%;
  animation: slowSpin 18s linear infinite;
}

.star-2 {
  bottom: 22%;
  left: 44%;
  animation: slowSpin 14s linear infinite reverse;
}

@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
  padding-bottom: clamp(40px, 6vw, 68px);
}

.hero-grid > *,
.manifesto-grid > *,
.gallery-grid > *,
.prep-shell > * {
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-white);
  border: 2px solid var(--navy);
  box-shadow: 3px 3px 0 var(--sky);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 22px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.4vw, 4.5rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 20px;
}

.text-red-shadow {
  color: var(--red);
  text-shadow: 4px 4px 0 var(--sky);
}

.line-mask {
  display: block;
  overflow: hidden;
}

.line-inner {
  display: block;
  animation: lineRise 640ms var(--ease-expo) both;
}

.line-mask:nth-child(2) .line-inner {
  animation-delay: 85ms;
}

.hero-anim-decor {
  animation: fadeOnly 320ms var(--ease-out) both;
}

.hero-anim-support {
  animation: fadeRise 520ms var(--ease-expo) 120ms both;
}

.hero-anim-stage {
  animation: fadeRise 580ms var(--ease-expo) 160ms both;
}

@keyframes lineRise {
  from { transform: translateY(105%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeRise {
  from { transform: translateY(14px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeOnly {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-subheadline {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--ink-body);
  max-width: 500px;
  margin-bottom: 28px;
  text-wrap: pretty;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Palco Visual do Hero */
.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 12px 18px 24px;
}

.poster-frame {
  width: min(390px, 100%);
  border-radius: 22px;
  border: 3px solid var(--navy);
  box-shadow: 10px 10px 0 var(--navy);
  overflow: hidden;
  background: var(--red);
  transform: rotate(-2deg);
  transition: transform 320ms var(--ease-out);
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .hero-stage:hover .poster-frame {
    transform: rotate(0deg) translateY(-4px);
  }
}

.poster-frame img {
  width: 100%;
  height: auto;
}

/* Copo Americano Animado */
.chopp-badge-card {
  position: absolute;
  left: -4px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border-radius: 18px;
  background: var(--bg-white);
  border: 2.5px solid var(--navy);
  box-shadow: 6px 6px 0 var(--sky);
  z-index: 3;
}

.chopp-svg {
  width: 44px;
  height: 56px;
  flex-shrink: 0;
}

.chopp-badge-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.script-note {
  font-size: 1.05rem;
  color: var(--red);
}

.chopp-badge-copy strong {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--navy);
}

.bubble {
  animation: bubbleUp 2.6s linear infinite;
}

.b2 { animation-delay: 0.7s; }
.b3 { animation-delay: 1.4s; }
.b4 { animation-delay: 2s; }

@keyframes bubbleUp {
  0% { transform: translateY(0); opacity: 0; }
  25% { opacity: 0.9; }
  85% { opacity: 0.8; }
  100% { transform: translateY(-28px); opacity: 0; }
}

/* Selo Giratório */
.stamp-seal {
  position: absolute;
  top: -6px;
  right: 12px;
  width: 96px;
  height: 96px;
  z-index: 3;
  filter: drop-shadow(3px 3px 0 var(--navy));
}

.stamp-svg {
  width: 100%;
  height: 100%;
  animation: slowSpin 22s linear infinite;
}

/* Marquee Band */
.marquee-band {
  background: var(--red);
  color: #FFFFFF;
  border-top: 2.5px solid var(--navy);
  border-bottom: 2.5px solid var(--navy);
  padding: 12px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  animation: marqueeMove 28s linear infinite;
}

.marquee-band:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-star {
  color: var(--yellow);
}

@keyframes marqueeMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* SESSÃO 2: MANIFESTO (AZUL BOTECO) */
.manifesto-section {
  background: var(--sky);
  border-bottom: 2.5px solid var(--navy);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.pop-card-frame {
  border-radius: 22px;
  border: 3px solid var(--navy);
  box-shadow: 10px 10px 0 var(--navy);
  overflow: hidden;
  background: var(--sky);
}

.script-kicker {
  display: inline-block;
  font-size: 1.75rem;
  color: var(--yellow);
  text-shadow: 2px 2px 0 var(--navy);
  margin-bottom: 6px;
}

.manifesto-lead {
  font-size: clamp(1.1rem, 1.35vw, 1.25rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.45;
}

.manifesto-body {
  font-size: 0.98rem;
  color: rgba(11, 18, 72, 0.88);
  margin-bottom: 28px;
}

.essence-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.essence-item {
  background: var(--bg-cream);
  border: 2px solid var(--navy);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 4px 4px 0 var(--navy);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.essence-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--yellow);
  border: 2px solid var(--navy);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.essence-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--navy);
}

.essence-item span {
  font-size: 0.78rem;
  color: var(--ink-body);
  line-height: 1.35;
}

/* SESSÃO 3: GALERIA & CONCURSO */
.gallery-section {
  background: var(--bg-cream);
  border-bottom: 2.5px solid var(--navy);
}

.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.art-card {
  text-align: left;
  background: var(--bg-white);
  border: 2.5px solid var(--navy);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 6px 6px 0 var(--navy);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.art-card:active {
  transform: scale(0.98);
}

@media (hover: hover) and (pointer: fine) {
  .art-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--red);
  }
}

.art-card img {
  width: 100%;
  border-radius: 12px;
  border: 1.5px solid var(--border-navy);
}

.art-caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 4px 4px;
}

.art-caption strong {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--navy);
}

.art-caption span {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.contest-banner {
  margin-top: 34px;
  background: var(--navy);
  color: #FFFFFF;
  border: 2.5px solid var(--navy);
  border-radius: 22px;
  padding: clamp(22px, 3.5vw, 34px);
  box-shadow: 8px 8px 0 var(--sky);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.contest-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow);
  margin-bottom: 6px;
}

.contest-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  font-weight: 900;
  margin-bottom: 6px;
}

.contest-copy p {
  font-size: 0.94rem;
  color: #CBD5E1;
  max-width: 560px;
}

/* SESSÃO 4: O QUE ESTAMOS PREPARANDO */
.prep-section {
  background: var(--bg-white);
  border-bottom: 2.5px solid var(--navy);
}

.prep-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.prep-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.prep-tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid var(--navy);
  background: var(--bg-cream);
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 150ms var(--ease-out), background-color 180ms ease, color 180ms ease;
}

.prep-tab:active {
  transform: scale(0.97);
}

.prep-tab.active {
  background: var(--red);
  color: #FFFFFF;
  box-shadow: 3px 3px 0 var(--navy);
}

.prep-panels {
  background: var(--bg-cream);
  border: 2.5px solid var(--navy);
  border-radius: 22px;
  padding: clamp(24px, 4vw, 38px);
  box-shadow: 8px 8px 0 var(--yellow);
}

.prep-panel {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.prep-panel[hidden] {
  display: none;
}

.prep-panel.is-entering {
  opacity: 0;
  transform: translateY(6px);
}

.prep-panel-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--sky);
  border: 2px solid var(--navy);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 4px 4px 0 var(--navy);
}

.prep-panel h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 10px;
}

.prep-panel p {
  font-size: 0.98rem;
  color: var(--ink-body);
  line-height: 1.6;
}

/* SESSÃO 5: LOCALIZAÇÃO */
.location-section {
  background: var(--bg-cream);
}

.location-card {
  background: var(--red);
  color: #FFFFFF;
  border: 3px solid var(--navy);
  border-radius: 26px;
  padding: clamp(28px, 5vw, 52px);
  box-shadow: 10px 10px 0 var(--navy);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.location-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--navy);
  color: var(--yellow);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.location-address {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 24px;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.location-brand-box {
  background: var(--bg-cream);
  border: 2.5px solid var(--navy);
  border-radius: 20px;
  padding: 28px 20px;
  box-shadow: 6px 6px 0 var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.location-logo {
  width: min(240px, 100%);
}

.script-closing {
  font-size: 1.55rem;
  color: var(--navy);
}

/* FOOTER */
.site-footer {
  background: var(--navy);
  color: #CBD5E1;
  padding: 40px 0 28px;
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  height: 44px;
  width: auto;
  background: var(--bg-cream);
  padding: 4px 10px;
  border-radius: 10px;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover {
    color: var(--yellow);
  }
}

.footer-copy {
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
  color: #94A3B8;
}

/* LIGHTBOX MODAL (NUNCA SCALE(0)) */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms var(--ease-out), visibility 0s linear 180ms;
}

.lightbox-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 240ms var(--ease-out), visibility 0s linear 0s;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 72, 0.82);
  backdrop-filter: blur(8px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: 480px;
  width: 100%;
  background: var(--bg-cream);
  border: 3px solid var(--navy);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 10px 10px 0 var(--sky);
  transform: scale(0.95);
  transition: transform 240ms var(--ease-out);
}

.lightbox-modal.open .lightbox-dialog {
  transform: scale(1);
}

.lightbox-dialog img {
  width: 100%;
  border-radius: 14px;
}

.lightbox-dialog p {
  margin-top: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: var(--yellow);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--navy);
}

/* DRAWER & STICKY MOBILE */
.mobile-menu-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100dvh - var(--header-height));
  background: var(--bg-cream);
  z-index: 999;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s linear 180ms;
}

.mobile-menu-drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 260ms var(--ease-drawer), transform 260ms var(--ease-drawer), visibility 0s linear 0s;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--navy);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-navy);
}

.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(250, 246, 238, 0.96);
  backdrop-filter: blur(12px);
  border-top: 2px solid var(--navy);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  z-index: 990;
  transform: translateY(100%);
  transition: transform 220ms var(--ease-out);
}

.mobile-sticky-bar.visible {
  transform: translateY(0);
}

.mobile-sticky-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-sticky-content strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
}

.mobile-sticky-content span {
  font-size: 0.75rem;
  color: var(--red);
  font-weight: 700;
}

/* SCROLL REVEAL */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms var(--ease-expo), transform 520ms var(--ease-expo);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVIDADE */
@media (max-width: 960px) {
  .header-nav,
  .header-actions .btn-red {
    display: none;
  }

  .menu-mobile-btn {
    display: flex;
  }

  .hero-grid,
  .manifesto-grid,
  .gallery-grid,
  .prep-shell,
  .location-card {
    grid-template-columns: 1fr;
  }

  .essence-pillars {
    grid-template-columns: 1fr;
  }

  .stamp-seal {
    width: 78px;
    height: 78px;
    right: 4px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .hero-cta-group .btn,
  .location-actions .btn {
    width: 100%;
    white-space: normal;
  }

  .chopp-badge-card {
    left: 4px;
    bottom: 6px;
  }

  .mobile-sticky-bar {
    display: block;
  }

  .site-footer {
    padding-bottom: 88px;
  }
}

/* REDUCED MOTION (MANTÉM OPACIDADE SUAVE, REMOVE MOVIMENTO ESPACIAL) */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .line-inner,
  .hero-anim-support,
  .hero-anim-stage,
  .hero-anim-decor,
  .ornament-star,
  .bubble,
  .stamp-svg,
  .marquee-track {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: opacity 180ms ease;
  }
}
