:root {
  --wine: #520528;
  --wine-deep: #270214;
  --pink: #e11472;
  --pink-dark: #ad0757;
  --pink-light: #ff8abd;
  --cream: #fff7f2;
  --white: #ffffff;
  --ink: #32101f;
  --muted: #7d6470;
  --line: rgba(82, 5, 40, 0.14);
  --display: "Montserrat", sans-serif;
  --body: "DM Sans", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { min-width: 320px; overflow-x: hidden; color: var(--ink); background: var(--cream); font-family: var(--body); line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.container { width: min(100% - 48px, 1180px); margin-inline: auto; }
.section { position: relative; padding: 112px 0; overflow: hidden; }
.skip-link { position: fixed; z-index: 9999; top: -80px; left: 16px; padding: 12px 18px; color: var(--white); background: var(--pink); font-weight: 800; }
.skip-link:focus { top: 16px; }

.event-nav { position: sticky; z-index: 100; top: 0; color: var(--white); background: rgba(39, 2, 20, 0.96); border-bottom: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(16px); }
.nav-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand-link { display: inline-flex; flex-shrink: 0; }
.brand-link img { width: 142px; }
.nav-menu { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-menu a { position: relative; color: rgba(255, 255, 255, 0.72); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-decoration: none; text-transform: uppercase; }
.nav-menu a::after { content: ""; position: absolute; right: 100%; bottom: -8px; left: 0; height: 2px; background: var(--pink-light); transition: right 0.3s var(--ease); }
.nav-menu a:hover { color: var(--white); }
.nav-menu a:hover::after { right: 0; }
.nav-cta, .button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; padding: 12px 22px; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.07em; text-decoration: none; text-transform: uppercase; transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s; }
.nav-cta { min-height: 44px; padding: 10px 18px; color: var(--white); background: var(--pink); }
.nav-cta:hover, .button-primary:hover, .button-white:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(173, 7, 87, 0.3); }
.mobile-toggle { display: none; width: 44px; height: 44px; border: 0; color: var(--white); background: transparent; cursor: pointer; }
.mobile-toggle span { width: 24px; height: 2px; display: block; margin: 6px auto; background: currentColor; transition: 0.25s; }
.mobile-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hero { position: relative; isolation: isolate; min-height: 760px; display: flex; flex-direction: column; overflow: hidden; color: var(--white); background: url("../../images/events/outubro-rosa/pos-evento/hero-grupo.webp") center 42% / cover no-repeat; }
.hero-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(39, 2, 20, 0.96) 0%, rgba(82, 5, 40, 0.82) 37%, rgba(82, 5, 40, 0.22) 72%, rgba(0, 0, 0, 0.1) 100%); }
.hero-inner { flex: 1; display: flex; align-items: center; padding-block: 90px; }
.hero-copy { max-width: 710px; }
.status-pill { display: inline-flex; border: 1px solid rgba(255, 255, 255, 0.3); padding: 7px 12px; color: var(--pink-light); background: rgba(39, 2, 20, 0.26); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.hero-meta { margin-top: 28px; color: rgba(255, 255, 255, 0.68); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; }
.hero h1 { margin-top: 18px; font-family: var(--display); font-size: clamp(4.1rem, 7.8vw, 7.5rem); font-weight: 900; letter-spacing: -0.07em; line-height: 0.84; }
.hero h1 em { color: var(--pink-light); font-style: normal; }
.hero-copy > p:not(.hero-meta) { max-width: 610px; margin-top: 28px; color: rgba(255, 255, 255, 0.75); font-size: 1.02rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button-primary { color: var(--white); background: var(--pink); }
.button-ghost { border-color: rgba(255, 255, 255, 0.3); color: var(--white); background: rgba(255, 255, 255, 0.06); }
.button-ghost:hover { border-color: rgba(255, 255, 255, 0.65); background: rgba(255, 255, 255, 0.13); }
.hero-marquee { display: flex; width: 100%; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, 0.15); padding: 14px 0; color: rgba(255, 255, 255, 0.62); background: rgba(39, 2, 20, 0.72); font-family: var(--display); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em; white-space: nowrap; }
.hero-marquee span { flex: 0 0 auto; min-width: 100vw; width: max-content; padding-right: 12px; animation: marquee 32s linear infinite; }

.recap { color: var(--white); background: var(--wine-deep); }
.recap-grid { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); }
.recap article { min-height: 166px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(255, 255, 255, 0.1); padding: 28px clamp(22px, 4vw, 70px); }
.recap article:last-child { border-right: 0; }
.recap small { margin-bottom: 8px; color: var(--pink-light); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.recap strong { font-family: var(--display); font-size: 1.4rem; font-weight: 900; line-height: 1; }
.recap p { margin-top: 8px; color: rgba(255, 255, 255, 0.52); font-size: 0.78rem; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--pink-dark); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.eyebrow-pink { color: var(--pink); }
.memory h2, .moments h2, .cause h2, .gallery h2, .photos-cta h2 { margin-top: 18px; font-family: var(--display); font-size: clamp(3.3rem, 5.8vw, 5.8rem); font-weight: 900; letter-spacing: -0.065em; line-height: 0.94; }
.memory h2 em, .moments h2 em, .cause h2 em, .gallery h2 em, .photos-cta h2 em { color: var(--pink); font-style: normal; }

.memory { background: var(--cream); }
.memory::before { content: ""; position: absolute; right: -120px; bottom: -170px; width: 470px; height: 470px; border: 80px solid rgba(225, 20, 114, 0.05); border-radius: 50%; }
.memory-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 90px; align-items: center; }
.memory-copy .lead { margin-top: 30px; color: var(--ink); font-size: 1.15rem; font-weight: 700; }
.memory-copy > p:not(.lead) { margin-top: 22px; color: var(--muted); }
.memory-photo { position: relative; min-height: 660px; overflow: hidden; }
.memory-photo::before { content: ""; position: absolute; z-index: 2; inset: 18px; border: 1px solid rgba(255, 255, 255, 0.45); pointer-events: none; }
.memory-photo img { width: 100%; height: 660px; object-fit: cover; object-position: center 28%; }
.memory-photo figcaption { position: absolute; z-index: 3; right: 28px; bottom: 26px; left: 28px; color: var(--white); font-family: var(--display); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65); }

.moments { color: var(--white); background: var(--wine); }
.moments::before { content: ""; position: absolute; inset: 0; opacity: 0.14; background: radial-gradient(circle at 14% 18%, var(--pink-light), transparent 25%), radial-gradient(circle at 82% 88%, #ff733d, transparent 29%); }
.moments-heading { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 0.6fr; gap: 60px; align-items: end; }
.moments-heading > p { max-width: 450px; color: rgba(255, 255, 255, 0.67); }
.moments .eyebrow { color: var(--pink-light); }
.moments-grid { position: relative; z-index: 1; width: min(100% - 48px, 1440px); display: grid; grid-template-columns: 1.35fr 0.825fr 0.825fr; gap: 8px; margin: 58px auto 0; }
.moment-card { position: relative; min-height: 500px; overflow: hidden; }
.moment-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.moment-card:hover img { transform: scale(1.035); }
.moment-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(39, 2, 20, 0.9), transparent 58%); }
.moment-card figcaption { position: absolute; z-index: 2; right: 28px; bottom: 26px; left: 28px; display: grid; grid-template-columns: auto 1fr; gap: 0 14px; align-items: end; }
.moment-card figcaption span { grid-row: 1 / 3; color: var(--pink-light); font-family: var(--display); font-size: 2.4rem; font-weight: 900; }
.moment-card figcaption strong { font-family: var(--display); font-size: 1.15rem; font-weight: 900; text-transform: uppercase; }
.moment-card figcaption small { color: rgba(255, 255, 255, 0.62); }

.cause { background: #fff; }
.cause-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.cause-photo { min-height: 610px; overflow: hidden; }
.cause-photo img { width: 100%; height: 610px; object-fit: cover; }
.cause-copy > p { margin-top: 22px; color: var(--muted); }

.gallery { background: var(--cream); }
.gallery-heading { display: grid; grid-template-columns: 1fr 0.55fr; gap: 60px; align-items: end; }
.gallery-heading > p { max-width: 420px; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 12px; margin-top: 58px; }
.gallery-item { overflow: hidden; background: var(--wine-deep); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.65s var(--ease), filter 0.65s; }
.gallery-item:hover img { transform: scale(1.035); filter: saturate(1.08); }
.gallery-landscape { grid-column: span 2; }
.gallery-portrait { grid-row: span 2; }

.photos-cta { position: relative; isolation: isolate; min-height: 720px; display: grid; align-items: center; overflow: hidden; color: var(--white); background: url("../../images/events/outubro-rosa/pos-evento/aquecimento-grupo.webp") center / cover no-repeat; }
.photos-overlay { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(39, 2, 20, 0.96) 0%, rgba(82, 5, 40, 0.8) 47%, rgba(82, 5, 40, 0.18) 100%); }
.photos-inner { padding-block: 100px; }
.photos-inner .eyebrow { color: var(--pink-light); }
.photos-inner > p { max-width: 570px; margin: 26px 0 32px; color: rgba(255, 255, 255, 0.74); }
.button-white { color: var(--wine); background: var(--white); }

.event-footer { padding: 38px 0; color: rgba(255, 255, 255, 0.56); background: var(--wine-deep); font-size: 0.72rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-credit a { color: var(--pink-light); font-weight: 800; text-decoration: none; }
.mobile-photos { display: none; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.active { opacity: 1; transform: translateY(0); }

@keyframes marquee { to { transform: translateX(-100%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .nav-menu, .nav-cta { display: none; }
  .mobile-toggle { display: block; margin-left: auto; }
  .nav-menu.active { position: absolute; top: 76px; right: 20px; left: 20px; display: grid; gap: 0; padding: 10px; border: 1px solid rgba(255, 255, 255, 0.16); background: var(--wine-deep); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28); }
  .nav-menu.active a { padding: 14px; }
  .hero { min-height: 700px; background-position: 57% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(39, 2, 20, 0.94), rgba(82, 5, 40, 0.56)); }
  .recap-grid { grid-template-columns: repeat(2, 1fr); }
  .recap article:nth-child(2) { border-right: 0; }
  .memory-grid, .cause-grid { grid-template-columns: 1fr; gap: 60px; }
  .memory-copy { max-width: 760px; }
  .memory-photo, .memory-photo img { min-height: 580px; height: 580px; }
  .moments-heading, .gallery-heading { grid-template-columns: 1fr; gap: 26px; }
  .moments-grid { grid-template-columns: 1fr 1fr; }
  .moment-wide { grid-column: 1 / -1; }
  .cause-photo { order: 2; }
}

@media (max-width: 720px) {
  body { padding-bottom: 68px; }
  .container { width: min(100% - 30px, 1180px); }
  .section { padding: 78px 0; }
  .nav-inner { min-height: 68px; }
  .brand-link img { width: 122px; }
  .nav-menu.active { top: 68px; }
  .hero { min-height: 720px; background-position: 62% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(39, 2, 20, 0.96) 0%, rgba(82, 5, 40, 0.7) 62%, rgba(39, 2, 20, 0.3) 100%); }
  .hero-inner { align-items: flex-end; padding-block: 72px; }
  .hero h1 { font-size: clamp(3.5rem, 17vw, 5.1rem); line-height: 0.88; }
  .hero-actions .button { width: 100%; }
  .recap-grid { grid-template-columns: 1fr 1fr; }
  .recap article { min-height: 138px; padding: 20px 15px; }
  .memory h2, .moments h2, .cause h2, .gallery h2, .photos-cta h2 { font-size: clamp(2.75rem, 12vw, 4.2rem); line-height: 0.98; overflow-wrap: break-word; }
  .memory-photo, .memory-photo img { min-height: 500px; height: 500px; }
  .moments-grid { width: 100%; grid-template-columns: 1fr; gap: 4px; }
  .moment-wide { grid-column: auto; }
  .moment-card { min-height: 460px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 230px; gap: 7px; margin-top: 42px; }
  .gallery-landscape { grid-column: 1 / -1; }
  .gallery-portrait { grid-row: span 2; }
  .photos-cta { min-height: 620px; background-position: 56% center; }
  .photos-overlay { background: rgba(39, 2, 20, 0.78); }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .mobile-photos { position: fixed; z-index: 90; right: 0; bottom: 0; left: 0; min-height: 68px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--white); background: var(--pink-dark); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-decoration: none; text-transform: uppercase; box-shadow: 0 -8px 30px rgba(39, 2, 20, 0.28); }
}

@media (max-width: 430px) {
  .recap-grid { grid-template-columns: 1fr; }
  .recap article { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .memory-photo, .memory-photo img { min-height: 450px; height: 450px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .gallery-landscape { grid-column: auto; }
  .gallery-portrait { grid-row: auto; }
}
