/* =========================================================
   HELLO WINNERS V — INDEX2
   CSS exclusivo para a versão de teste.
   Carregar depois do style.css para sobrescrever sem mexer no site atual.
========================================================= */

.index2-page {
  --hw-purple: #4d276f;
  --hw-purple-soft: rgba(77, 39, 111, 0.34);
  --hw-red: #64202b;
  --hw-cream: #eee2c7;
}

.index2-page .section {
  scroll-margin-top: 28px;
}

.index2-page .page {
  overflow: hidden;
}

/* HERO */
.hw-hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 72px 0 48px;
  isolation: isolate;
}

.hw-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 72% 22%, rgba(213, 199, 170, 0.16), transparent 10%),
    radial-gradient(circle at 70% 18%, rgba(100, 32, 43, 0.28), transparent 24%),
    radial-gradient(circle at 22% 18%, rgba(77, 39, 111, 0.28), transparent 26%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(5, 4, 4, 0.98)),
    url('CAPA HELLO WINNERS SYMPLA.png');
  background-size: auto, auto, auto, cover, cover;
  background-position: center;
  opacity: 0.46;
  filter: saturate(0.88) contrast(1.08);
}

.hw-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 4, 4, 0.9) 0%, rgba(5, 4, 4, 0.62) 42%, rgba(5, 4, 4, 0.82) 100%),
    radial-gradient(circle at 50% 100%, rgba(75, 23, 32, 0.26), transparent 34%);
}

.hw-hero__inner {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 38px;
  align-items: center;
}

.hw-hero__content {
  max-width: 780px;
}

.hw-hero h1 {
  margin: 0;
  color: var(--bone2);
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(46px, 8vw, 106px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.72);
}

.hw-hero h1 span {
  display: inline-block;
  margin-top: 12px;
  font-family: 'UnifrakturCook', 'Cinzel', Georgia, serif;
  font-size: 0.72em;
  letter-spacing: 0;
  color: var(--bone);
}

.hw-hero__lead {
  max-width: 640px;
  margin: 26px 0 0;
  font-size: clamp(20px, 2vw, 27px);
  text-align: center;
  line-height: 1.45;
  color: rgba(238, 226, 199, 0.88);
}

.hw-hero__actions {
  margin-top: 34px;
}

.hw-hero__panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(15, 12, 12, 0.92), rgba(40, 20, 25, 0.78)),
    radial-gradient(circle at 70% 0%, var(--hw-purple-soft), transparent 44%);
  border: 1px solid rgba(213, 199, 170, 0.22);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.hw-hero__moon {
  width: 118px;
  height: 118px;
  position: absolute;
  right: 24px;
  top: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 35%, #fff3d0, #d5c7aa 46%, rgba(213, 199, 170, 0.18) 72%);
  box-shadow:
    0 0 44px rgba(213, 199, 170, 0.28),
    0 0 120px rgba(100, 32, 43, 0.22);
  opacity: 0.58;
}

.hw-hero__facts {
  position: relative;
  z-index: 1;
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 74px 0 0;
  padding: 0;
}

.hw-hero__facts li {
  display: grid;
  gap: 5px;
  padding: 15px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(213, 199, 170, 0.14);
}

.hw-hero__facts strong {
  color: var(--bone2);
  font-family: 'Cinzel', Georgia, serif;
  font-size: 15px;
}

.hw-hero__facts span {
  color: rgba(238, 226, 199, 0.72);
  line-height: 1.45;
}

/* POSTER */
.hw-poster-section {
  padding-top: 10px;
  opacity: 0.96;
}

.index2-page .poster-frame {
  max-height: 78vh;
}

.index2-page .poster-frame img {
  width: 100%;
  height: 100%;
  max-height: 78vh;
  object-fit: cover;
  object-position: center;
}

/* STORY */
.hw-story-grid {
  grid-template-columns: 1fr 0.82fr;
}

.hw-story-timeline {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.hw-story-step {
  position: relative;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(213, 199, 170, 0.15);
}

.hw-story-step::before {
  display: none;
}

.hw-story-step span {
  display: block;
  margin-bottom: 8px;
  color: var(--bone2);
  font-family: 'Cinzel', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
}

.hw-story-step p {
  margin: 0;
  font-size: 17px;
  line-height: 1.62;
}

.hw-night-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hw-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 30px;
}

.hw-mini-grid div {
  padding: 16px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(213, 199, 170, 0.14);
}

.hw-mini-grid strong,
.hw-mini-grid span {
  display: block;
}

.hw-mini-grid strong {
  margin-bottom: 7px;
  color: var(--bone2);
}

.hw-mini-grid span {
  color: rgba(238, 226, 199, 0.68);
  line-height: 1.42;
}

/* HEADERS */
.hw-section-header {
  max-width: 780px;
}

.hw-section-header .lead {
  max-width: 780px;
}

/* EDIÇÕES ANTERIORES */
.hw-editions-card {
  padding-bottom: 28px;
}

.hw-editions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
  align-items: stretch;
}

.hw-edition {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(213, 199, 170, 0.16);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.hw-edition:hover {
  transform: translateY(-4px);
  border-color: rgba(213, 199, 170, 0.34);
}

.hw-edition__photo {
  min-height: 230px;
  display: grid;
  place-items: end start;
  padding: 16px;
  background:
    linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.72) 100%),
    var(--edition-photo),
    radial-gradient(circle at 30% 20%, rgba(213, 199, 170, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(75, 23, 32, 0.5), rgba(8, 6, 7, 0.95));
  background-size: cover, cover, auto, auto;
  background-position: center;
}

.hw-edition__photo span {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.54);
  border: 1px solid rgba(213, 199, 170, 0.2);
  color: rgba(238, 226, 199, 0.72);
  font-size: 13px;
}

.hw-edition__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  text-align: center;
}

.hw-edition__body small {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.75em;
  margin: 0 0 8px;
  color: var(--muted);
  font-family: 'Cinzel', Georgia, serif;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  text-wrap: balance;
}

.hw-edition__body h3 {
  width: 100%;
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  text-align: center;
}

.hw-edition__body p {
  flex: 1;
  width: 100%;
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.55;
  text-align: center;
  text-wrap: pretty;
}


.hw-next-chapter {
  margin-top: 26px;
  padding: 20px 24px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background:
    linear-gradient(90deg, rgba(75, 23, 32, 0.42), rgba(77, 39, 111, 0.2)),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(213, 199, 170, 0.18);
}

.next-chapter-row1 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 18px;
  align-items: inherit;
}

.next-chapter-row2 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.hw-next-chapter strong {
  color: var(--bone2);
  font-family: 'Cinzel', Georgia, serif;
  font-size: 20px;
}

.hw-next-chapter span {
  color: rgba(238, 226, 199, 0.72);
}

.hw-next-chapter p {
  margin: 14px 0 0;
  text-align: justify;
  text-align-last: center;
  line-height: 1.6;
}

/* INFORMAÇÕES */
.hw-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.hw-info-grid .meta-item {
  grid-template-columns: 1fr;
  align-content: start;
}

.hw-info-grid .meta-icon {
  margin-bottom: 8px;
}

/* RSVP */
.hw-rsvp-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.72fr);
  gap: 34px;
  align-items: start;
}

.hw-rsvp-card .form-card {
  margin-top: 0;
}

#rsvp-form input {
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

#rsvp-form input:hover:not(:focus):not(.input-error),
#rsvp-form label:hover + input:not(:focus):not(.input-error) {
  border-color: rgba(213, 199, 170, 0.44);
  background: rgba(12, 8, 9, 0.58);
  box-shadow: 0 0 0 1px rgba(213, 199, 170, 0.1);
}

#rsvp-form label {
  transition: color 0.22s ease;
  cursor: text;
}

#rsvp-form label:hover {
  color: rgba(238, 226, 199, 0.96);
}

.hw-rsvp-card .btn {
  width: 100%;
}

/* PRESENTES */
.index2-page #presentes h2 {
  max-width: 860px;
}

/* FAQ */
.hw-faq-list {
  gap: 12px;
}

.hw-faq-group-title {
  margin: 22px 0 2px;
  padding-top: 12px;
  font-size: 18px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px solid rgba(213, 199, 170, 0.12);
}

.hw-faq-group-title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.index2-page .faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.index2-page .faq-icon {
  transition: transform 0.2s ease;
}

/* RESPONSIVO */
@media (max-width: 1080px) {
  .hw-hero__inner,
  .hw-story-grid,
  .hw-rsvp-layout {
    grid-template-columns: 1fr;
  }

  .hw-hero {
    min-height: auto;
  }

  .hw-hero__panel {
    max-width: 680px;
  }

  .hw-editions-grid,
  .hw-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .hw-hero {
    padding: 44px 0 30px;
  }

  .hw-hero__inner {
    width: min(100% - 28px, var(--max));
    gap: 24px;
  }

  .hw-hero h1 {
    font-size: clamp(42px, 16vw, 72px);
  }

  .hw-hero__lead {
    font-size: 19px;
  }

  .hw-hero__facts {
    margin-top: 52px;
  }

  .hw-hero__moon {
    width: 88px;
    height: 88px;
  }

  .hw-poster-section {
    display: none;
  }

  .hw-mini-grid,
  .hw-info-grid {
    grid-template-columns: 1fr;
  }

  .hw-editions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .hw-edition__photo {
    min-height: 0;
    /* deixa a capa/thumbnail mais quadradinha e evita “alongar” visualmente */
    aspect-ratio: 1 / 1;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 14px;
    padding-right: 14px;
    background-size: cover;
  }


  .hw-edition__body {
    padding: 14px;
  }

  .hw-edition__body small {
    min-height: 2.6em;
    font-size: 12px;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
  }

  .hw-edition__body h3 {
    font-size: 20px;
  }

  .hw-edition__body p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.45;
  }

  .hw-next-chapter {
    display: grid;
  }
  
  .next-chapter-row1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  align-items: center;
}

  .hw-rsvp-layout {
    gap: 20px;
  }
}

@media (max-width: 560px) {
  .index2-page .card {
    padding: 24px 20px;
  }

  .hw-hero__panel {
    padding: 22px;
  }

  .hw-story-step {
    padding-right: 16px;
  }

  .hw-edition__body {
    padding: 12px;
  }

  .hw-edition__body small {
    font-size: 11px;
  }

  .hw-edition__body h3 {
    font-size: 18px;
  }

  .hw-edition__photo span {
    font-size: 12px;
    padding: 6px 9px;
  }
}

/* =========================================================
   AJUSTES — RODADA 02
   Hero com logo, lua em imagem, contagem tipo flip clock
   e página mais enxuta.
========================================================= */

.index2-page .section {
  padding: 44px 0;
}

.hw-hero {
  min-height: 88vh;
  padding: 62px 0 44px;
}

.hw-hero__inner {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.74fr);
}

.hw-hero__logo {
  display: block;
  width: min(680px, 100%);
  max-height: 420px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 20px 46px rgba(0, 0, 0, 0.74));
}

.hw-hero__panel {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  padding-top: 40px;
}

.hw-hero__moon {
  position: absolute;
  right: 20px;
  top: 18px;
  width: 132px;
  height: 132px;
  object-fit: contain;
  border-radius: 50%;
  opacity: 0.86;
  filter:
    drop-shadow(0 0 34px rgba(213, 199, 170, 0.25))
    drop-shadow(0 0 78px rgba(100, 32, 43, 0.26));
}

.hw-hero__date-card {
  position: relative;
  z-index: 1;
  padding: 20px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(213, 199, 170, 0.18);
}

.hw-hero__date-card span,
.hw-hero__date-card small {
  display: none;
  color: rgba(238, 226, 199, 0.68);
}

.hw-hero__date-card span {
  margin-bottom: 6px;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hw-hero__date-card strong {
  display: block;
  color: var(--bone2);
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.hw-hero__date-card small {
  margin-top: 8px;
  font-size: 15px;
}

.hw-flip-countdown {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.hw-flip-tile {
  position: relative;
  overflow: hidden;
  min-height: 106px;
  padding: 16px 8px 13px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(238, 226, 199, 0.1), transparent 49%, rgba(0, 0, 0, 0.3) 50%, rgba(255, 255, 255, 0.035)),
    linear-gradient(145deg, rgba(16, 12, 13, 0.98), rgba(45, 23, 29, 0.92));
  border: 1px solid rgba(213, 199, 170, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 28px rgba(0, 0, 0, 0.32);
  text-align: center;
}

.hw-flip-tile::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0, 0, 0, 0.62);
  box-shadow: 0 1px 0 rgba(238, 226, 199, 0.08);
}

.hw-flip-tile strong {
  display: block;
  position: relative;
  z-index: 1;
  color: var(--bone2);
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hw-flip-tile span {
  display: block;
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: rgba(238, 226, 199, 0.62);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hw-hero__summary {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.hw-hero__summary p {
  max-width: none;
  margin: 0;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.032);
  border: 1px solid rgba(213, 199, 170, 0.14);
}

.hw-hero__summary strong,
.hw-hero__summary span {
  display: block;
}

.hw-hero__summary strong {
  color: var(--bone2);
  font-family: 'Cinzel', Georgia, serif;
  font-size: 16px;
  line-height: 1.2;
}

.hw-hero__summary span {
  margin-top: 5px;
  color: rgba(238, 226, 199, 0.7);
  font-size: 15px;
  line-height: 1.38;
}

.hw-hero__asterisk {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 0;
  color: rgba(238, 226, 199, 0.58);
  font-size: 14px;
  line-height: 1.2;
}

.hw-story-card {
  max-width: 980px;
  margin: 0 auto;
}

@media (max-width: 1080px) {
  .hw-hero__inner {
    grid-template-columns: 1fr;
  }

  .hw-hero__panel {
    min-height: auto;
    max-width: none;
  }
}

@media (max-width: 760px) {
  .index2-page .section {
    padding: 34px 0;
  }

  .hw-hero {
    padding: 42px 0 32px;
  }

  .hw-hero__logo {
    max-height: 420px;
  }

  .hw-hero__panel {
    padding-top: 104px;
  }

  .hw-hero__moon {
    width: 104px;
    height: 104px;
  }

  .hw-flip-countdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .hw-flip-tile {
    min-height: 96px;
  }
}

@media (max-width: 460px) {
  .hw-flip-countdown {
    gap: 8px;
  }

  .hw-flip-tile {
    min-height: 88px;
    padding: 14px 6px 12px;
  }

  .hw-flip-tile strong {
    font-size: 30px;
  }

  .hw-flip-tile span {
    font-size: 10px;
  }
}

/* =========================================================
   AJUSTES — RODADA 03
========================================================= */

.hw-hero__content {
  display: flex;
  flex-direction: column;
}

.hw-hero__logo {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  max-height: 420px;
  object-position: center center;
}

.hw-hero__lead {
  max-width: 640px;
  margin-top: 14px;
}

.hw-hero__bg {
  background:
    radial-gradient(circle at 22% 18%, rgba(77, 39, 111, 0.24), transparent 28%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(5, 4, 4, 0.98)),
    url("CAPA HELLO WINNERS SYMPLA.png");
  background-size: auto, cover, cover;
  background-position: center;
}

.hw-hero__panel {
  overflow: visible;
  isolation: isolate;
  min-height: auto;
  gap: 16px;
  padding: 28px;
  background: linear-gradient(160deg, rgba(15, 12, 12, 0.92), rgba(40, 20, 25, 0.78));
}

.hw-hero__panel::before {
  content: none;
  display: none;
}

.hw-hero__moon {
  right: -28px;
  top: -78px;
  width: 250px;
  height: 250px;
  opacity: 0.94;
  z-index: 1;
  border-radius: 0;
  background: none;
  box-shadow: none;
  filter:
    drop-shadow(0 0 22px rgba(213, 199, 170, 0.28))
    drop-shadow(0 0 84px rgba(100, 32, 43, 0.24));
}

.hw-hero__date-card,
.hw-count-intro,
.hw-flip-countdown,
.hw-count-outro,
.hw-hero__summary,
.hw-hero__asterisk {
  position: relative;
  z-index: 2;
}

.hw-hero__date-card {
  max-width: 100%;
}

.hw-count-intro {
  margin: 2px 0 -4px;
  color: var(--bone2);
  font-family: "Cinzel", Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hw-count-outro {
  max-width: none;
  margin: -2px 0 4px;
  color: rgba(238, 226, 199, 0.72);
  font-size: 15px;
  line-height: 1.3;
}

.hw-flip-countdown {
  gap: 12px;
}

.hw-flip-tile {
  min-height: 116px;
  padding: 14px 8px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, #2c2c2f 0%, #1f2023 48%, #121315 49%, #1a1b1e 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 14px 28px rgba(0, 0, 0, 0.34);
}

.hw-flip-tile::before {
  height: 2px;
  background: rgba(8, 8, 8, 0.72);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hw-flip-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 4px 50%, rgba(255, 255, 255, 0.55) 0 2px, transparent 3px),
    radial-gradient(circle at calc(100% - 4px) 50%, rgba(255, 255, 255, 0.55) 0 2px, transparent 3px);
  opacity: 0.9;
  pointer-events: none;
}

.hw-flip-tile strong {
  margin-top: 2px;
  color: #f3f0ea;
  font-size: clamp(34px, 3.8vw, 54px);
  letter-spacing: -0.05em;
}

.hw-flip-tile span {
  margin-top: 12px;
  color: rgba(243, 240, 234, 0.68);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.hw-hero__summary {
  gap: 9px;
}

.hw-hero__summary p {
  padding: 14px 16px;
}

.hw-hero__summary strong {
  font-size: 15px;
}

.hw-hero__summary span {
  font-size: 14px;
}

@media (max-width: 1080px) {

  .hw-hero__moon {
    right: -8px;
    top: -44px;
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 760px) {
  .hw-hero__logo {
    width: 100%;
    max-height: 230px;
  }

  .hw-hero__panel {
    padding: 22px;
  }

  .hw-hero__moon {
    right: -2px;
    top: -28px;
    width: 136px;
    height: 136px;
  }

  .hw-count-outro {
    font-size: 14px;
  }
}

@media (max-width: 460px) {
  .hw-flip-tile {
    min-height: 86px;
  }

  .hw-flip-tile strong {
    font-size: 31px;
  }
}



/* Ajustes finais aplicados na versão-base enviada */
.hw-hero__asterisk { display: none !important; }


/* =========================================================
   AJUSTES — RODADA 05
   Lua maior, logo ampliado, contador no fim do painel,
   botões centralizados e personagens em paralaxe na seção sobre.
========================================================= */


/* Centraliza os botões do hero */
.hw-hero__actions {
  justify-content: center;
  align-self: center;
  width: 100%;
}

/* Lua maior, sem ocupar espaço no fluxo */
.hw-hero__moon {
  width: 400px !important;
  height: 400px !important;
  right: -112px !important;
  top: -142px !important;
  z-index: 1;
}

/* Mantém todo o conteúdo do painel acima da lua */
.hw-count-block,
.hw-hero__date-card,
.hw-hero__summary {
  position: relative;
  z-index: 2;
}

/* Separa visualmente a contagem do bloco da data/info */
.hw-count-block {
  margin-top: auto;
  padding-top: 22px;
}

.hw-count-block .hw-count-intro {
  margin-bottom: 10px;
}

.hw-count-block .hw-count-outro {
  margin-top: 10px;
}

.hw-hero__panel {
  min-height: 620px;
}

/* Personagens em paralaxe na borda direita da seção Sobre */
.hw-story-section {
  position: relative;
  overflow: visible;
}

.hw-story-section .hw-story-card {
  position: relative;
  z-index: 2;
}

.hw-story-parallax {
  position: absolute;
  right: clamp(-150px, -8vw, -68px);
  top: 50%;
  width: clamp(240px, 24vw, 380px);
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: 0.88;
  transform: translateY(calc(-50% + var(--parallax-y, 0px)));
  filter:
    drop-shadow(0 24px 44px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 34px rgba(100, 32, 43, 0.18));
  will-change: transform;
}

@media (max-width: 1080px) {
  .hw-hero__logo {
    width: 100%;
  }

  .hw-hero__moon {
    width: 300px !important;
    height: 300px !important;
    right: -72px !important;
    top: -110px !important;
  }

  .hw-hero__panel {
    min-height: auto;
  }

  .hw-story-parallax {
    right: -110px;
    width: 300px;
    opacity: 0.62;
  }
}

@media (max-width: 760px) {
  .hw-hero__logo {
    width: 100% !important;
  }

  .hw-hero__actions {
    align-self: stretch;
  }

  .hw-hero__moon {
    width: 210px !important;
    height: 210px !important;
    right: -50px !important;
    top: -72px !important;
  }

  .hw-count-block {
    padding-top: 18px;
  }

  /* no mobile: mostrar personagens abaixo da seção Sobre */
  .hw-story-parallax {
    display: block;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    height: auto !important;
    width: 100% !important;
    max-width: 520px !important;
    margin: 18px auto 0;
    transform: none !important;
    opacity: 0.95;
    pointer-events: none;
    object-fit: contain;
    z-index: 2;
  }
}



/* =========================================================
   AJUSTES — RODADA 06
   Logo 100%, data legível sobre lua, cortina fixa,
   personagens colados na seção Sobre e texto final centralizado.
========================================================= */

/* Logo volta para 100% */
.hw-hero__logo {
  width: 100% !important;
  max-width: none !important;
  align-self: center;
}

/* Botões centralizados no hero */
.hw-hero__actions {
  justify-content: center;
  align-self: center;
  width: 100%;
}

/* Mantém a lua grande como aprovada */
.hw-hero__moon {
  width: 400px !important;
  height: 400px !important;
  right: -112px !important;
  top: -142px !important;
  z-index: 1;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  filter:
    drop-shadow(0 0 22px rgba(213, 199, 170, 0.28))
    drop-shadow(0 0 84px rgba(100, 32, 43, 0.24));
}

/* Garante que nenhum pseudo-elemento gere bola atrás da lua */
.hw-hero__panel::before {
  display: none !important;
  content: none !important;
}

/* Contorno/sombra escura na data para leitura sobre a lua */
.hw-hero__date-card strong {
  text-shadow:
    0 3px 0 rgba(0, 0, 0, 0.95),
    0 -1px 0 rgba(0, 0, 0, 0.75),
    2px 0 0 rgba(0, 0, 0, 0.8),
    -2px 0 0 rgba(0, 0, 0, 0.8),
    0 0 18px rgba(0, 0, 0, 0.95);
}

/* Frase pós-contador */
.hw-count-outro {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 13px;
  color: rgba(238, 226, 199, 0.76);
}

/* Cortina esquerda fixa, colada na viewport */
.hw-left-curtain {
  position: fixed;
  left: 0;
  top: 0;
  width: auto;
  height: 100vh;
  z-index: 3;
  pointer-events: none;
  user-select: none;
  object-fit: cover;
  object-position: left center;
  opacity: 0.96;
}

/* Personagens colados na borda direita da section Sobre */
.hw-story-section {
  position: relative;
  overflow: hidden;
  min-height: 620px;
}

.hw-story-section .hw-story-card {
  position: relative;
  z-index: 2;
}

.hw-story-parallax {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: auto;
  max-width: 42vw;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  object-fit: contain;
  object-position: right center;
  opacity: 0.92;
  transform: translateY(var(--parallax-y, 0px));
  will-change: transform;
  filter:
    drop-shadow(0 24px 44px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 34px rgba(100, 32, 43, 0.18));
}

/* Difusão do lado esquerdo dos personagens para mesclar com o fundo */
.hw-story-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(42vw, 520px);
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 4, 4, 0.88) 0%, rgba(5, 4, 4, 0.42) 22%, transparent 48%);
}

@media (max-width: 1080px) {
  .hw-hero__moon {
    width: 300px !important;
    height: 300px !important;
    right: -72px !important;
    top: -110px !important;
  }

  .hw-story-parallax {
    max-width: 46vw;
    opacity: 0.62;
  }

  .hw-story-section::after {
    width: 46vw;
  }
}

@media (max-width: 760px) {
  .hw-hero__logo {
    width: 100% !important;
  }

  .hw-hero__actions {
    align-self: stretch;
  }

  .hw-hero__moon {
    width: 210px !important;
    height: 210px !important;
    right: -50px !important;
    top: -72px !important;
  }

  .hw-left-curtain {
    display: none;
  }

  .hw-story-section {
    min-height: auto;
  }

  /* mantém a imagem no mobile (já ajustada acima); só desativa o overlay ::after */
  .hw-story-section::after {
    display: none;
  }
}



/* =========================================================
   AJUSTES — RODADA 07
   Personagens na borda direita do navegador e contador sempre em 1 linha.
========================================================= */

.hw-story-section {
  position: relative;
  overflow: visible !important;
  min-height: 620px;
}

.hw-story-section .hw-story-card {
  position: relative;
  z-index: 2;
}

.hw-story-parallax {
  position: absolute !important;
  top: 0 !important;
  right: calc((100vw - 100%) / -2 - 200px) !important;
  height: 100% !important;
  width: auto !important;
  max-width: none !important;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  object-fit: contain;
  object-position: right center;
  opacity: 0.92;
  transform: translateY(var(--parallax-y, 0px));
  will-change: transform;
  filter:
    drop-shadow(0 24px 44px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 34px rgba(100, 32, 43, 0.18));
}

.hw-story-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: calc((100vw - 100%) / -2 - 200px);
  width: min(42vw, 560px);
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 4, 4, 0.88) 0%, rgba(5, 4, 4, 0.40) 24%, transparent 54%);
}

.hw-flip-countdown,
.hw-count-block .hw-flip-countdown {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px;
}

.hw-flip-tile {
  min-width: 0;
}

@media (max-width: 760px) {
  .hw-flip-countdown,
  .hw-count-block .hw-flip-countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px;
  }

  .hw-flip-tile {
    min-height: 76px !important;
    padding: 10px 4px 9px !important;
    border-radius: 10px;
  }

  .hw-flip-tile strong {
    font-size: clamp(20px, 8vw, 32px) !important;
    line-height: 1;
  }

  .hw-flip-tile span {
    margin-top: 7px;
    font-size: 8px !important;
    letter-spacing: 0.08em;
  }

  .hw-story-section::after {
    display: none !important;
  }
}

@media (max-width: 390px) {
  .hw-flip-countdown,
  .hw-count-block .hw-flip-countdown {
    gap: 4px;
  }

  .hw-flip-tile {
    min-height: 68px !important;
    padding: 9px 3px 8px !important;
  }

  .hw-flip-tile strong {
    font-size: clamp(18px, 7.5vw, 28px) !important;
  }

  .hw-flip-tile span {
    font-size: 7px !important;
    letter-spacing: 0.04em;
  }
}


/* =========================================================
   AJUSTES — RODADA 08
   Desktop: personagens na borda direita da viewport, sem transpassar.
   Card "Sobre a festa" reduzido em 200px e alinhado à esquerda.
========================================================= */

@media (min-width: 761px) {
  .hw-story-section {
    position: relative;
    overflow: visible !important;
    min-height: 620px;
  }

  .hw-story-section .hw-story-card {
    position: relative;
    z-index: 2;
    width: calc(100% - 240px);
    max-width: 920px;
    margin-left: 0;
    margin-right: auto;
  }

  .hw-story-parallax {
    position: absolute !important;
    top: 0 !important;
    right: calc((100vw - 100%) / -2) !important;
    height: 100% !important;
    width: auto !important;
    max-width: none !important;
    z-index: 1;

    pointer-events: none;
    user-select: none;

    object-fit: contain;
    object-position: right center;

    opacity: 1 !important;
    transform: none !important;
    will-change: auto !important;
    filter: none !important;
  }

  .hw-story-section::after {
    display: none !important;
    content: none !important;
  }
}

@media (max-width: 760px) {
  .hw-story-section {
    min-height: auto;
  }

  .hw-story-section .hw-story-card {
    width: auto;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
  }

  .hw-story-section::after {
    display: none !important;
  }
}

/* =========================================================
   AJUSTE FINAL — CAMADAS CENOGRÁFICAS
   Flores, lua fixa, montanha em paralaxe e mesa.
========================================================= */

.index2-page {
  position: relative;
  background: #050404;
}

.index2-page .page {
  position: relative;
  z-index: 2;
}

.hw-hero,
.index2-page .section {
  position: relative;
  z-index: 2;
}

.hw-hero__bg {
  z-index: -10 !important;
  background: #050404 !important;
  opacity: 0.2 !important;
  filter: none !important;
}

.hw-flower-corner {
  position: fixed;
  z-index: 0 !important;
  pointer-events: none;
  user-select: none;
  max-width: min(32vw, 340px);
  height: auto;
  opacity: 0.14 !important;
  filter: brightness(0.28) saturate(0.7) contrast(1.05) !important;
}

.hw-flower-corner--top-left {
  top: 0;
  left: 0;
}

.hw-flower-corner--top-right {
  top: 0;
  right: 0;
}

.hw-flower-corner--bottom-left {
  bottom: 0;
  left: 0;
}

.hw-flower-corner--bottom-right {
  right: 0;
  bottom: 0;
}

.hw-fixed-moon {
  position: fixed;
  right: -50px;
  top: 0;
  width: clamp(420px, 58vw, 760px);
  height: clamp(420px, 58vw, 760px);
  z-index: 1 !important;
  pointer-events: none;
  user-select: none;
  object-fit: contain;
  opacity: 0.88;
  filter:
    drop-shadow(0 0 22px rgba(213, 199, 170, 0.25))
    drop-shadow(0 0 84px rgba(100, 32, 43, 0.20));
}

.hw-hero__moon {
  display: none !important;
}

.hw-mountain-parallax {
  position: absolute;
  right: calc((100vw - 100%) / -2 - 100px);
  bottom: -36px;
  width: min(52vw, 720px);
  height: auto;
  z-index: 2 !important;
  pointer-events: none;
  user-select: none;
  object-fit: contain;
  object-position: right bottom;
  opacity: 0.6 !important;
  transform: translate3d(0, var(--mountain-y, 0px), 0);
  will-change: transform;
}

.hw-story-parallax {
  z-index: 3 !important;
}

.hw-story-card {
  z-index: 4 !important;
}

.hw-rsvp-section {
  position: relative;
  overflow: visible;
}

.hw-rsvp-section .hw-rsvp-card {
  position: relative;
  z-index: 3;
}

.hw-rsvp-table-art {
  position: absolute;
  right: calc((100vw - 100%) / -2);
  top: 50%;
  width: min(34vw, 420px);
  height: auto;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  object-fit: contain;
  object-position: right center;
  transform: translateY(-50%);
}

@media (max-width: 1080px) {
  .hw-fixed-moon {
    right: -70px;
    top: 20px;
    width: clamp(360px, 62vw, 620px);
    height: clamp(360px, 62vw, 620px);
  }

  .hw-mountain-parallax {
    right: calc((100vw - 100%) / -2 - 80px);
    width: min(56vw, 580px);
  }

  .hw-rsvp-table-art {
    width: min(32vw, 340px);
    opacity: 0.78;
  }
}

@media (max-width: 760px) {
  .index2-page::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
      radial-gradient(ellipse at 50% 0%, rgba(100, 32, 43, 0.14), transparent 42%),
      radial-gradient(ellipse at 100% 50%, rgba(77, 39, 111, 0.12), transparent 38%),
      radial-gradient(ellipse at 0% 80%, rgba(85, 87, 55, 0.1), transparent 36%),
      linear-gradient(180deg, transparent 0%, rgba(5, 4, 4, 0.35) 100%);
  }

  .hw-flower-corner {
    display: block !important;
    max-width: min(28vw, 110px) !important;
    opacity: 0.09 !important;
  }

  .hw-fixed-moon {
    display: block !important;
    right: -36px !important;
    top: -8px !important;
    width: clamp(360px, 96vw, 520px) !important;
    height: clamp(360px, 96vw, 520px) !important;
    opacity: 0.42 !important;
    filter:
      drop-shadow(0 0 16px rgba(213, 199, 170, 0.18))
      drop-shadow(0 0 48px rgba(100, 32, 43, 0.14)) !important;
  }

  .hw-mountain-parallax,
  .hw-rsvp-table-art {
    display: none !important;
  }
}

/* MEMÓRIAS — THUMBS E POPUP DE GALERIA */
.hw-edition {
  width: 100%;
  padding: 0;
  appearance: none;
  border: 1px solid rgba(213, 199, 170, 0.16);
  cursor: pointer;
  text-align: center;
  color: inherit;
  font: inherit;
}

.hw-edition:focus-visible {
  outline: 2px solid rgba(238, 226, 199, 0.72);
  outline-offset: 4px;
}

.hw-edition__photo {
  aspect-ratio: 3 / 4;
  min-height: 0;
  background-size: cover, cover, auto, auto;
  background-position: center;
}

.hw-edition__photo span {
  color: var(--bone2);
}

.hw-memory-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.hw-memory-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.hw-memory-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 2, 3, 0.82);
  backdrop-filter: blur(8px);
}

.hw-memory-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  padding: clamp(20px, 3vw, 34px);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0%, rgba(213, 199, 170, 0.09), transparent 34%),
    linear-gradient(160deg, rgba(18, 10, 11, 0.98), rgba(8, 5, 7, 0.98));
  border: 1px solid rgba(213, 199, 170, 0.24);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.74);
}

.hw-memory-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(213, 199, 170, 0.24);
  background: rgba(255, 255, 255, 0.045);
  color: var(--bone2);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.hw-memory-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 14px;
  align-items: center;
  margin-top: 20px;
}

.hw-memory-carousel__frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
  max-height: 66vh;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(213, 199, 170, 0.14);
}

.hw-memory-carousel__frame img {
  max-width: 100%;
  max-height: 66vh;
  object-fit: contain;
  display: block;
}

.hw-memory-empty {
  display: none;
  padding: 32px;
  color: rgba(238, 226, 199, 0.78);
  text-align: center;
}

.hw-memory-empty.is-visible {
  display: block;
}

.hw-memory-counter {
  min-height: 24px;
  margin-top: 14px;
  color: rgba(238, 226, 199, 0.72);
  text-align: center;
}

.carousel-arrow {
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(213, 199, 170, 0.28);
  background:
    radial-gradient(circle at 50% 0%, rgba(213, 199, 170, 0.12), transparent 50%),
    rgba(18, 10, 11, 0.88);
  color: var(--bone2);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.carousel-arrow:hover {
  transform: translateY(-1px);
  border-color: rgba(213, 199, 170, 0.48);
  background: rgba(75, 23, 32, 0.82);
}

.carousel-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.memory-arrow {
  width: 48px;
  height: 48px;
  font-size: 34px;
}

@media (max-width: 760px) {
  .hw-memory-modal {
    padding: 12px;
  }

  .hw-memory-carousel {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 8px;
  }

  .memory-arrow {
    width: 42px;
    height: 42px;
    font-size: 30px;
  }

  .hw-memory-carousel__frame {
    min-height: 260px;
  }
}

/* Mobile: personagens visíveis abaixo do card "Sobre a festa" */
@media (max-width: 760px) {
  .hw-story-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible !important;
  }

  .hw-story-section .hw-story-card {
    order: 1;
  }

  .hw-story-parallax {
    order: 2;
    display: block !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    height: auto !important;
    width: min(100%, 520px) !important;
    max-width: 520px !important;
    margin: 18px auto 0;
    padding: 0 16px;
    box-sizing: border-box;
    transform: none !important;
    opacity: 0.95 !important;
    object-fit: contain;
    object-position: center bottom;
    z-index: 2;
    filter:
      drop-shadow(0 24px 44px rgba(0, 0, 0, 0.62))
      drop-shadow(0 0 34px rgba(100, 32, 43, 0.18));
  }

  .hw-story-section::after {
    display: none !important;
  }
}

/* Separadores ornamentais entre seções */
.hw-section-divider {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 56px));
  height: 52px;
  margin: -12px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hw-section-divider::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(520px, 72%);
  height: 1px;
  transform: translate(-50%, -50%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(213, 199, 170, 0.08) 18%,
    rgba(213, 199, 170, 0.38) 50%,
    rgba(213, 199, 170, 0.08) 82%,
    transparent 100%
  );
}

.hw-section-divider::after {
  content: "✦";
  position: relative;
  z-index: 1;
  padding: 0 14px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.2em;
  color: rgba(213, 199, 170, 0.52);
  text-shadow: 0 0 18px rgba(100, 32, 43, 0.35);
  background: #050404;
}

@media (max-width: 760px) {
  .hw-section-divider {
    width: min(100% - 28px, var(--max));
    height: 40px;
    margin: -8px auto;
  }

  .hw-section-divider::before {
    width: 88%;
  }

  .hw-section-divider::after {
    font-size: 11px;
    padding: 0 10px;
  }
}
