html {
  color-scheme: light;
}

body {
  background-color: #fff;
}

/* =========================================================
   15 ANOS BEATRIZ — IDENTIDADE SUBAQUÁTICA
   ========================================================= */

:root {
  --deep: #061B24;
  --deep-2: #082D38;
  --teal: #7FE9DC;
  --teal-soft: #CDEEE7;
  --pink: #E79FD1;
  --lavender: #B9A6EA;
  --cream: #F3F1E6;
  --muted: rgba(243,241,230,.68);
  --line: rgba(205,238,231,.13);
  --glass: rgba(255,255,255,.045);
  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--deep);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(127,233,220,.10), transparent 38%),
    linear-gradient(180deg, #04151c 0%, var(--deep) 38%, #041820 100%);
  color: var(--cream);
  font-family: "Jost", sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }

button, input, textarea { font: inherit; }

button { color: inherit; }

.site-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.glow,
.caustic {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}

.glow-1 {
  width: 38vw;
  height: 38vw;
  left: -14vw;
  top: 20vh;
  background: rgba(127,233,220,.055);
}

.glow-2 {
  width: 35vw;
  height: 35vw;
  right: -15vw;
  top: 65vh;
  background: rgba(231,159,209,.045);
}

.caustic {
  opacity: .08;
  background: repeating-radial-gradient(
    ellipse at center,
    rgba(127,233,220,.8) 0 2px,
    transparent 3px 24px
  );
  filter: blur(4px);
}

.caustic-1 {
  width: 500px;
  height: 250px;
  top: -80px;
  left: 8%;
  transform: rotate(-8deg);
}

.caustic-2 {
  width: 450px;
  height: 220px;
  right: 5%;
  top: 34%;
  transform: rotate(14deg);
}

.caustic-3 {
  width: 400px;
  height: 200px;
  left: 22%;
  bottom: 4%;
  transform: rotate(-18deg);
}

#particles,
#bubblesBg {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(205,238,231,.55);
  animation: drift linear infinite;
}

.bubble {
  position: absolute;
  border: 1px solid rgba(205,238,231,.14);
  border-radius: 50%;
  animation: rise linear infinite;
}

@keyframes drift {
  from { transform: translate3d(0,20px,0); opacity: 0; }
  20% { opacity: .7; }
  80% { opacity: .4; }
  to { transform: translate3d(30px,-120px,0); opacity: 0; }
}

@keyframes rise {
  from { transform: translateY(20px) scale(.8); opacity: 0; }
  15% { opacity: .5; }
  to { transform: translateY(-110vh) scale(1.1); opacity: 0; }
}

/* =========================================================
   TOPO
   ========================================================= */

.topbar {
  position: sticky;

  top: 0;
  z-index: 10000;

  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  box-sizing: border-box;

  padding: 20px 42px;

  background: rgba(4, 21, 28, .55);

  border-bottom: 1px solid rgba(127, 233, 220, .08);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition:
    background .35s ease,
    padding .35s ease,
    box-shadow .35s ease;
}


.topbar.scrolled {
  padding-top: 14px;
  padding-bottom: 14px;

  background: rgba(4, 21, 28, .82);

  border-bottom-color: rgba(127, 233, 220, .14);

  box-shadow:
    0 10px 35px rgba(0, 0, 0, .20);
}


.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  color: var(--teal-soft);
  letter-spacing: .04em;
}

.brand span {
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: .26em;
}

.desktop-nav {
  display: flex;
  gap: 26px;
}

.desktop-nav a {
  position: relative;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(243,241,230,.72);
  transition: .25s;
}

.desktop-nav a:hover { color: var(--teal); }

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--teal);
  transition: .25s;
}

.desktop-nav a:hover::after { right: 0; }

.menu-btn,
.mobile-menu,
.mobile-bottom-nav {
  display: none;
}

/* =========================================================
   ESTRUTURA
   ========================================================= */

main {
  position: relative;
  z-index: 2;
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 130px 0;
  position: relative;
}

.section::before {
  content: "✦";
  position: absolute;
  top: 68px;
  left: 50%;
  color: rgba(127,233,220,.22);
  font-size: 10px;
}

.section-heading {
  max-width: 750px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.section-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 70px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 40px;
  line-height: .95;
  font-weight: 500;
  letter-spacing: -.025em;
}

.section-heading p {
  margin: 20px auto 0;
  max-width: 590px;
  color: var(--muted);
  font-size: 15px;
}

.section-heading.left p { margin-left: 0; }

/* =========================================================
   HERO
   ========================================================= */

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 110px 24px 60px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 260px;
  background: linear-gradient(to bottom, transparent, var(--deep));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  margin-top: 150px;
}

/* =========================================================
   BEATRIZ — TIPOGRAFIA PRINCIPAL
   ========================================================= */

.hero-content h1 {
  position: relative;
  z-index: 4;

  margin: 0;

  font-family: "Bodoni Moda", serif;

  font-size: clamp(78px, 10vw, 145px);

  font-weight: 500;

  line-height: .9;

  letter-spacing: -.02em;

  text-transform: uppercase;

  background:
    linear-gradient(
      115deg,
      #fffdf8 0%,
      #eaf5f5 16%,
      #c8e5eb 32%,
      #c5d0ef 48%,
      #d2bfe5 63%,
      #efd9eb 78%,
      #fffdf8 92%,
      #d9edf0 100%
    );

  background-size: 250% 100%;
  background-position: 0% 50%;

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;

  filter:
    drop-shadow(0 0 8px rgba(205,225,240,.12))
    drop-shadow(0 0 22px rgba(185,166,234,.08));

  animation: nameShimmer 10s ease-in-out infinite;
}

.eyebrow {
  position: absolute;
  top: 112px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: var(--teal);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* =========================================================
   NÚMERO 15 — MARCA D'ÁGUA
   ========================================================= */

.hero-number {
  position: fixed;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  color: rgba(127, 233, 220, .095);

  font-family: "Cormorant Garamond", serif;

  white-space: nowrap;

  pointer-events: none;
  user-select: none;

  animation: heroNumberFloat 12s ease-in-out infinite;

  width: 100vw;
  overflow: visible;
}


/* =========================================================
   15 CENTRAL
   ========================================================= */

.hero-number span {
  font-size: clamp(300px, 45vw, 700px);

  font-weight: 500;

  line-height: .7;

  letter-spacing: -.08em;
}


/* =========================================================
   TEXTOS LATERAIS
   ========================================================= */

.hero-number small {
  position: absolute;

  font-family: "Cormorant Garamond", serif;

  font-size: clamp(55px, 7vw, 100px);

  font-style: italic;

  font-weight: 500;

  line-height: 1;

  letter-spacing: -.04em;

  color: inherit;

  white-space: nowrap;
}


/* =========================================================
   "ANOS" — ESQUERDA
   ========================================================= */

.hero-number small:nth-of-type(1) {
  right: calc(50% + clamp(125px, 18vw, 260px));

  top: 58%;

  transform: translateY(-50%);
}


/* =========================================================
   "BEATRIZ" — DIREITA
   ========================================================= */

.hero-number small:nth-of-type(2) {
  left: calc(50% + clamp(125px, 18vw, 260px));

  top: 42%;

  transform: translateY(-50%);

  font-size: clamp(45px, 5.5vw, 80px);
}

@keyframes heroNumberFloat {

  0%,
  100% {
    transform:
      translate(-50%, -50%)
      translateY(0);
  }

  50% {
    transform:
      translate(-50%, -50%)
      translateY(-6px);
  }
}

@keyframes nameShimmer {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero-content p {
  position: relative;
  z-index: 4;

  margin: 12px 0 0;

  color: rgba(243, 241, 230, .72);

  font-family: "Cormorant Garamond", serif;

  font-size: clamp(19px, 2.2vw, 26px);

  font-style: italic;

  line-height: 1.3;
}

.hero-date {
  position: relative;
  z-index: 4;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 18px;

  margin-top: 30px;

  color: var(--teal-soft);

  font-family: "Jost", sans-serif;

  font-size: clamp(54px, 7vw, 78px);

  font-weight: 300;

  letter-spacing: .08em;

  line-height: 1;
}

.hero-date i {
  display: block;

  width: 3px;
  height: 3px;

  border-radius: 50%;

  background: var(--pink);

  opacity: .8;
}

.jelly-stage {
  position: absolute;

  width: min(360px, 60vw);
  height: 430px;

  left: 50%;
  top: 80px;

  transform: translateX(-50%);

  opacity: .95;

  z-index: 3;

  pointer-events: none;

  animation: jellyFloat 7s ease-in-out infinite;
}

.jelly-stage svg {
  position: relative;

  width: 100%;
  height: 100%;

  z-index: 2;
}

.jelly-stage svg {
  width: 100%;
  height: 100%;
}

.tentacle { animation: tentacleWave 3s ease-in-out infinite alternate; }
.tentacle2 { animation: tentacleWave 4s ease-in-out infinite alternate-reverse; }

@keyframes jellyFloat {
  0%,100% { transform: translate(-50%,0); }
  50% { transform: translate(-50%,-18px); }
}

@keyframes tentacleWave {
  from { transform: translateX(-2px); }
  to { transform: translateX(4px); }
}

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 58px;
  color: rgba(243,241,230,.55);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.scroll-cue b {
  font-size: 20px;
  color: var(--teal);
  font-weight: 300;
  animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(127,233,220,.07);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-1 {
  width: 700px;
  height: 700px;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-40%);
}

.hero-orbit-2 {
  width: 1000px;
  height: 1000px;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-40%);
  border-color: rgba(231,159,209,.035);
}

/* =========================================================
   EVENTO
   ========================================================= */

/* =========================================================
   A NOITE — composição editorial
   ========================================================= */

.night-section {
  max-width: 1050px;
  padding-top: 125px;
  padding-bottom: 125px;
}

.night-section::before {
  top: 65px;
}

/* Área dos três elementos */
.event-details {
  display: grid;
  grid-template-columns: 1fr auto 1.25fr auto 1fr;
  align-items: center;
  column-gap: 55px;
  margin-top: 72px;
}

/* Cada informação */
.event-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Símbolo */
.event-symbol {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;

  color: var(--teal);
  font-size: 19px;

  opacity: .9;
}

/* Pequeno título */
.event-label {
  margin-bottom: 11px;

  color: rgba(243, 241, 230, .38);

  font-size: 20px;
  font-weight: 500;
  letter-spacing: .27em;
  text-transform: uppercase;
}

/* Informação principal */
.event-detail strong {
  margin: 0;

  color: var(--cream);

  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.015em;
}

/* Informação secundária */
.event-sub {
  margin-top: 10px;

  color: rgba(243, 241, 230, .55);

  font-size: 20px;
  line-height: 1.5;
}

/* Link do mapa */
.event-detail a {
  margin-top: 12px;

  color: var(--teal);

  font-size: 20px;
  letter-spacing: .04em;

  transition:
    color .25s ease,
    transform .25s ease;
}

.event-detail a:hover {
  color: var(--teal-soft);
  transform: translateX(3px);
}

/* Separadores delicados */
.event-separator {
  width: 1px;
  height: 82px;

  background:
    linear-gradient(
      to bottom,
      transparent,
      rgba(127, 233, 220, .28),
      transparent
    );
}

/* =========================================================
   BOTÕES DE AGENDA
   ========================================================= */

.night-section .calendar-actions {
  margin-top: 62px;
}

.night-section .cal-btn {
  padding: 11px 19px;

  border-color: rgba(205, 238, 231, .16);

  color: rgba(205, 238, 231, .72);

  background: transparent;

  transition:
    border-color .25s ease,
    color .25s ease,
    background .25s ease,
    transform .25s ease;
}

.night-section .cal-btn:hover {
  border-color: rgba(127, 233, 220, .45);
  color: var(--teal);
  background: rgba(127, 233, 220, .035);
  transform: translateY(-2px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .event-details {
    column-gap: 30px;
  }

  .event-detail strong {
    font-size: 26px;
  }

  .event-sub {
    font-size: 11px;
  }
}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 600px) {

  .night-section {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .event-details {
    display: flex;
    flex-direction: column;

    margin-top: 52px;

    gap: 0;
  }

  .event-detail {
    width: 100%;
    padding: 10px 0 28px;
  }

  .event-symbol {
    margin-bottom: 12px;
  }

  .event-label {
    margin-bottom: 8px;
    font-size: 8px;
  }

  .event-detail strong {
    font-size: 28px;
  }

  .event-sub {
    margin-top: 7px;
    font-size: 12px;
  }

  .event-detail a {
    margin-top: 10px;
  }

  .event-separator {
    width: 70px;
    height: 1px;

    background:
      linear-gradient(
        to right,
        transparent,
        rgba(127, 233, 220, .25),
        transparent
      );
  }

  .night-section .calendar-actions {
    margin-top: 35px;
  }

  .night-section .calendar-actions {
    flex-direction: column;
    align-items: center;
  }

  .night-section .cal-btn {
    width: fit-content;
  }

  .hero-content h1 {
  font-size: 78px;
  letter-spacing: -.045em;
}

  .hero-number {
    top: 50%;
  }

  .hero-number span {
    font-size: 330px;
  }

  .hero-number small {
    font-size: 65px;
  }


  .hero-date {
    gap: 11px;

    margin-top: 25px;

    font-size: 48px;

    letter-spacing: .06em;
  }


  .hero-date i {
    width: 3px;
    height: 3px;
  }

}

.event-card:hover {
  background: rgba(127,233,220,.045);
  transform: translateY(-3px);
}

.event-icon {
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 23px;
}

.event-card small {
  color: rgba(243,241,230,.42);
  font-size: 9px;
  letter-spacing: .25em;
}

.event-card strong {
  margin: 8px 0 4px;
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-weight: 500;
}

.event-card > span:not(.event-icon) {
  color: var(--muted);
  font-size: 13px;
}

.event-card a {
  margin-top: 13px;
  color: var(--teal);
  font-size: 11px;
}

.calendar-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.cal-btn {
  border: 1px solid rgba(205,238,231,.18);
  padding: 11px 18px;
  border-radius: 30px;
  color: var(--teal-soft);
  font-size: 16px;
  letter-spacing: .08em;
  transition: .25s;
}

.cal-btn:hover {
  border-color: var(--teal);
  background: rgba(127,233,220,.06);
}

/* =========================================================
   COUNTDOWN
   ========================================================= */

.countdown-section {
  text-align: center;
  padding-top: 100px;
  padding-bottom: 120px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, 150px));
  justify-content: center;
  gap: 14px;
}

.count-box {
  padding: 26px 15px 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  backdrop-filter: blur(10px);
}

.count-box span {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 6vw, 70px);
  line-height: .85;
  color: var(--teal-soft);
}

.count-box label {
  display: block;
  margin-top: 11px;
  color: rgba(243,241,230,.4);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.countdown-finished {
  display: none;
  margin-top: 28px;
  color: var(--teal);
  font-family: "Cormorant Garamond", serif;
  font-size: 27px;
  font-style: italic;
}

/* =========================================================
   SOBRE
   ========================================================= */

.about-section {
  min-height: 600px;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 70px;
  align-items: center;
  overflow: visible;
}

.about-section .section-heading {
    margin-bottom: 42px;
}

.about-heading {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 20px;
}

.about-number {
  font-family: "Cormorant Garamond", serif;
  font-size: min(40vw, 500px);
  line-height: .6;
  color: rgba(127,233,220,.045);
  text-align: center;
  user-select: none;
}

.about-copy {
  max-width: 650px;
}

.about-copy p {
  margin: 0 0 20px;
  color: rgba(243,241,230,.72);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(21px, 2.4vw, 29px);
  line-height: 1.35;
}

/* =========================================================
   GALERIA
   ========================================================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 8px;
}

.gallery-item {
  position: relative;
  padding: 0;
  border: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--deep-2);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition:
    transform .7s cubic-bezier(.2,.7,.2,1),
    filter .5s;
}

.gallery-item::after {
  content: "＋";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-size: 28px;
  background: rgba(4,21,28,.35);
  opacity: 0;
  transition: .3s;
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.06);
  filter: saturate(.9);
}

.gallery-item:hover::after { opacity: 1; }

.video-play-icon {
  position: absolute;

  left: 50%;
  top: 50%;

  width: 48px;
  height: 48px;

  transform: translate(-50%, -50%);

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: rgba(4, 21, 28, .65);

  border: 1px solid rgba(255, 255, 255, .45);

  color: white;

  font-size: 17px;

  padding-left: 3px;

  pointer-events: none;

  backdrop-filter: blur(6px);

  transition:
    transform .3s ease,
    background .3s ease;
}

.gallery-item:hover .video-play-icon {
  transform:
    translate(-50%, -50%)
    scale(1.1);

  background: rgba(4, 21, 28, .82);
}

.empty-note {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
}

/* =========================================================
   GALERIA — EXPANSÃO
   ========================================================= */

.gallery-wrapper {
  position: relative;
}


/* Estado inicial */
.gallery-grid {
  max-height: 560px;

  overflow: hidden;

  transition:
    max-height 1s cubic-bezier(.2,.7,.2,1);
}


/* Gradiente sobre o final da galeria */
.gallery-wrapper::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 70px;

  height: 150px;

  pointer-events: none;

  background:
    linear-gradient(
      to bottom,
      transparent,
      var(--deep) 92%
    );

  opacity: 1;

  transition:
    opacity .5s ease;
}


/* Galeria aberta */
.gallery-wrapper.expanded .gallery-grid {
  max-height: 5000px;
}


/* Remove o fade quando aberta */
.gallery-wrapper.expanded::after {
  opacity: 0;
}


/* =========================================================
   BOTÃO
   ========================================================= */

.gallery-more {
  position: relative;

  z-index: 2;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 12px;

  margin: 20px auto 0;

  padding: 12px 22px;

  border: 1px solid rgba(127,233,220,.25);

  border-radius: 999px;

  background:
    rgba(4,21,28,.45);

  color:
    rgba(243,241,230,.8);

  font-family:
    "Jost",
    sans-serif;

  font-size: 11px;

  font-weight: 500;

  letter-spacing: .14em;

  text-transform: uppercase;

  cursor: pointer;

  backdrop-filter: blur(8px);

  -webkit-backdrop-filter: blur(8px);

  transition:
    background .3s ease,
    border-color .3s ease,
    transform .3s ease;
}


.gallery-more:hover {

  background:
    rgba(127,233,220,.08);

  border-color:
    rgba(127,233,220,.55);

  transform:
    translateY(-2px);
}


.gallery-more-icon {

  font-size: 16px;

  line-height: 1;

  transition:
    transform .4s ease;
}


/* Quando aberta */
.gallery-wrapper.expanded .gallery-more-icon {

  transform:
    rotate(180deg);
}

/* =========================================================
   RSVP
   ========================================================= */

.rsvp-section {
  max-width: 900px;
}

.rsvp-panel {
  max-width: 680px;
  margin: 0 auto;
}

.search-box {
  position: relative;
}

/* =========================================================
   BUSCA MANUAL DO CONVITE
   ========================================================= */

.invitation-search {
  margin-bottom: 16px;
  padding: 28px 30px;

  border: 1px solid var(--line);

  background:
    rgba(255,255,255,.025);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  text-align: center;
}


.invitation-search p {
  max-width: 500px;

  margin: 0 auto 20px;

  color:
    rgba(243,241,230,.58);

  font-family:
    "Cormorant Garamond",
    serif;

  font-size: 20px;

  line-height: 1.4;
}


/* Campo + botão */

.invitation-search-row {
  display: flex;

  gap: 10px;

  align-items: stretch;
}


#invitationCodeInput {
  flex: 1;

  min-width: 0;

  height: 54px;

  padding:
    0 17px;

  border:
    1px solid
    rgba(205,238,231,.18);

  border-radius: 3px;

  outline: none;

  background:
    rgba(255,255,255,.035);

  color:
    var(--cream);

  font-family:
    "Jost",
    sans-serif;

  font-size: 14px;

  letter-spacing: .08em;

  text-transform: uppercase;

  transition:
    border-color .25s ease,
    box-shadow .25s ease;
}


#invitationCodeInput::placeholder {
  color:
    rgba(243,241,230,.32);

  text-transform:
    none;

  letter-spacing:
    0;
}


#invitationCodeInput:focus {
  border-color:
    rgba(127,233,220,.6);

  box-shadow:
    0 0 0 4px
    rgba(127,233,220,.045);
}


/* Botão */

#invitationSearchBtn {
  flex: 0 0 auto;

  height: 54px;

  padding:
    0 22px;

  border:
    1px solid
    rgba(127,233,220,.40);

  border-radius: 3px;

  background:
    rgba(127,233,220,.035);

  color:
    var(--teal);

  font-family:
    "Jost",
    sans-serif;

  font-size: 10px;

  font-weight: 500;

  letter-spacing: .12em;

  text-transform: uppercase;

  cursor: pointer;

  transition:
    background .25s ease,
    border-color .25s ease,
    color .25s ease,
    transform .25s ease;
}


#invitationSearchBtn:hover {
  background:
    var(--teal);

  border-color:
    var(--teal);

  color:
    var(--deep);

  transform:
    translateY(-1px);
}


/* Erro da busca */

#invitationSearch .msg-err {
  min-height: 0;

  margin-top: 10px;

  color:
    rgba(231,159,209,.85);

  font-size: 11px;
}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 600px) {

  .invitation-search {
    padding:
      24px 18px;
  }


  .invitation-search p {
    margin-bottom: 18px;

    font-size: 18px;
  }


  .invitation-search-row {
    flex-direction: column;

    gap: 9px;
  }


  #invitationCodeInput,
  #invitationSearchBtn {
    width: 100%;

    height: 52px;
  }


  #invitationSearchBtn {
    padding:
      0 18px;
  }

}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-53%);
  color: var(--teal);
  font-size: 24px;
  z-index: 2;
}

.search-box > input {
  width: 100%;
  height: 64px;
  padding: 0 22px 0 52px;
  border: 1px solid rgba(205,238,231,.18);
  border-radius: 3px;
  outline: none;
  background: rgba(255,255,255,.035);
  color: var(--cream);
  font-size: 15px;
  transition: .25s;
}

.search-box > input::placeholder,
input::placeholder,
textarea::placeholder {
  color: rgba(243,241,230,.32);
}

.search-box > input:focus {
  border-color: rgba(127,233,220,.6);
  box-shadow: 0 0 0 4px rgba(127,233,220,.045);
}

.results-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 5px);
  z-index: 20;
}

.family-card {
  display: none;
  margin-top: 16px;
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(16px);
}

.family-card-head span {
  color: var(--teal);
  font-size: 9px;
  letter-spacing: .25em;
}

.family-card h3 {
  margin: 2px 0 25px;
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  font-weight: 500;
}

.field-label {
  display: block;
  margin: 20px 0 8px;
  color: rgba(243,241,230,.55);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.field-label em {
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  opacity: .65;
}

textarea,
.mural-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  outline: none;
  background: rgba(255,255,255,.025);
  color: var(--cream);
  padding: 14px;
  resize: vertical;
  transition: .25s;
}

textarea:focus,
.mural-form input:focus {
  border-color: rgba(127,233,220,.55);
}

textarea { min-height: 110px; }

.submit-btn,
.small-btn {
  border: 1px solid var(--teal);
  background: transparent;
  color: var(--teal);
  cursor: pointer;
  transition: .25s;
}

.submit-btn {
  width: 100%;
  margin-top: 22px;
  padding: 15px 20px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10px;
}

.submit-btn span {
  margin-left: 10px;
  font-size: 15px;
}

.submit-btn:hover,
.small-btn:hover {
  color: var(--deep);
  background: var(--teal);
}

.msg-ok,
.msg-err {
  margin-top: 12px;
  font-size: 12px;
}

/* =========================================================
   LISTA DE CONVIDADOS / CONFIRMAÇÃO
   ========================================================= */

#guestList {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Cada convidado */
.guest-check {
  min-height: 68px;
  padding: 14px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(205, 238, 231, .10);
}

/* Área do checkbox + nome */
.guest-check label {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  flex: 1;
  cursor: pointer;
}

/* Nome do convidado */
.guest-check label > span {
  color: var(--cream);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
}

/* Checkbox */
.guest-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  margin: 0;
  border: 1px solid rgba(127, 233, 220, .50);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: .2s ease;
}

.guest-check input[type="checkbox"]:checked {
  background: var(--teal);
  border-color: var(--teal);
}

.guest-check input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -53%);
  color: var(--deep);
  font-size: 14px;
  font-weight: 600;
}

/* =========================================================
   STATUS
   ========================================================= */

.status-pill {
  flex: 0 0 auto;
  padding: 6px 11px;
  border-radius: 20px;
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-pill.pendente {
  color: var(--teal);
  border: 1px solid rgba(127, 233, 220, .30);
  background: rgba(127, 233, 220, .055);
}

.status-pill.confirmado {
  color: var(--teal);
  border: 1px solid rgba(127, 233, 220, .35);
  background: rgba(127, 233, 220, .09);
}

/* =========================================================
   INFORMAÇÕES ABAIXO DO CONVIDADO CONFIRMADO
   ========================================================= */

.confirmed-note {
  margin: -1px 0 0 31px;
  padding: 0 0 7px;
  color: rgba(243, 241, 230, .48);
  font-size: 14px;
  line-height: 1.5;
}

.cancel-link {
  margin: 0 0 12px 31px;
  color: rgba(231, 159, 209, .82);
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  transition: .2s ease;
}

.cancel-link:hover {
  color: var(--pink);
  text-decoration: underline;
}

/* =========================================================
   CAMPO DE RECADO
   ========================================================= */

#familyMessage {
  font-size: 15px;
  line-height: 1.5;
}

#familyMessage::placeholder {
  font-size: 14px;
  color: rgba(243, 241, 230, .35);
}

#rsvp .field-label {
  font-size: 11px;
  letter-spacing: .10em;
  color: rgba(243, 241, 230, .62);
}

/* =========================================================
   BOTÃO
   ========================================================= */

#confirmBtn {
  font-size: 11px;
  letter-spacing: .13em;
  min-height: 58px;
}

/* Mensagens de retorno */
#msgOk,
#msgErr {
  font-size: 13px;
  line-height: 1.5;
}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 600px) {

  .guest-check {
    min-height: 64px;
    padding: 13px 0 9px;
    gap: 10px;
  }

  .guest-check label {
    gap: 10px;
  }

  .guest-check label > span {
    font-size: 15px;
  }

  .guest-check input[type="checkbox"] {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
  }

  .status-pill {
    padding: 5px 8px;
    font-size: 8px;
  }

  .confirmed-note {
    margin-left: 31px;
    font-size: 10px;
  }

  .cancel-link {
    margin-left: 31px;
    margin-bottom: 10px;
    font-size: 10px;
  }

  #rsvp .field-label {
    font-size: 10px;
  }

  #familyMessage {
    font-size: 14px;
  }

  #familyMessage::placeholder {
    font-size: 13px;
  }

  #confirmBtn {
    min-height: 56px;
    font-size: 10px;
  }
}
/* =========================================================
   RESULTADOS DA BUSCA DE CONVIDADOS
   ========================================================= */

.results-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 50;
  max-height: 360px;
  overflow-y: auto;
  border: 1px solid rgba(205, 238, 231, .16);
  border-radius: 4px;
  background: rgba(5, 25, 33, .97);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

.results-list .item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
  padding: 11px 18px;
  border-bottom: 1px solid rgba(205, 238, 231, .08);
  cursor: pointer;
  transition: background .2s ease, padding-left .2s ease;
}

.results-list .item:last-child {
  border-bottom: 0;
}

.results-list .item:hover {
  background: rgba(127, 233, 220, .07);
  padding-left: 23px;
}

/* Nome do convidado */
.results-list .item > div:first-child {
  display: block;
  flex: 1;
  min-width: 0;
  color: var(--cream);
  font-size: 14px;
  line-height: 1.3;
}

/* Nome da família */
.results-list .item .fam {
  display: block;
  flex: 0 0 auto;
  padding: 4px 9px;
  border: 1px solid rgba(127, 233, 220, .16);
  border-radius: 20px;
  color: var(--teal);
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Mensagem quando não encontra ninguém */
.results-list .item:not(:has(.fam)) {
  justify-content: center;
  color: rgba(243, 241, 230, .45);
  cursor: default;
  font-size: 12px;
}

.results-list .item:not(:has(.fam)):hover {
  background: transparent;
  padding-left: 18px;
}

/* Barra de rolagem */
.results-list::-webkit-scrollbar {
  width: 5px;
}

.results-list::-webkit-scrollbar-track {
  background: transparent;
}

.results-list::-webkit-scrollbar-thumb {
  background: rgba(127, 233, 220, .2);
  border-radius: 10px;
}

/* =========================================================
   MURAL
   ========================================================= */

.mural-form {
  max-width: 850px;
  margin: 0 auto 50px;
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}

.form-row {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 20px;
}

.form-field textarea { height: 150px; }

.small-btn {
  padding: 10px 17px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.mural-list {
  max-width: 950px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mural-card {
  min-height: 180px;
  padding: 25px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  position: relative;
}

.mural-card::before {
  content: "“";
  position: absolute;
  top: 8px;
  right: 17px;
  font-family: "Cormorant Garamond", serif;
  font-size: 60px;
  color: rgba(127,233,220,.15);
}

.mural-card p {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  line-height: 1.3;
  color: rgba(243,241,230,.82);
}

.mural-card small {
  color: var(--teal);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* =========================================================
   PRESENTES
   ========================================================= */

.gifts-section {
  max-width: 1050px;
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gift-card {
  min-height: 225px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  transition: .3s;
}

.gift-card:hover {
  transform: translateY(-5px);
  background: rgba(127,233,220,.035);
}

.gift-symbol {
  color: var(--pink);
  font-size: 18px;
}

.gift-name {
  margin-top: 25px;
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
}

.gift-desc {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.gift-link {
  color: var(--teal);
  font-size: 10px;
}

.pix-toggle {
  width: 100%;
  margin-top: 12px;
  padding: 19px 24px;
  display: flex;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  color: var(--teal-soft);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10px;
}

.pix-toggle b {
  color: var(--teal);
  font-size: 18px;
  font-weight: 300;
}

.pix-card {
  display: none;

  margin-top: 18px;

  padding: 34px 25px 30px;

  text-align: center;

  border: 1px solid rgba(127, 233, 220, .12);

  border-radius: 24px;

  background:
    linear-gradient(
      145deg,
      rgba(127, 233, 220, .045),
      rgba(185, 166, 234, .035)
    );

  box-shadow:
    0 20px 60px rgba(0, 0, 0, .20);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pix-content {
  max-width: 430px;

  margin: 0 auto;
}

.pix-label {
  margin-bottom: 10px;

  color: var(--teal);

  font-family: "Montserrat", sans-serif;

  font-size: 10px;

  font-weight: 600;

  letter-spacing: .22em;

  text-transform: uppercase;
}
.pix-value {
  margin-top: 5px;
  color: var(--teal-soft);
  font-size: 15px;
}

.pix-message {
  max-width: 380px;

  margin: 0 auto 24px;

  color: rgba(243, 241, 230, .68);

  font-family: "Cormorant Garamond", serif;

  font-size: 20px;

  line-height: 1.35;
}

.pix-card .small-btn {
  position: absolute;
  right: 24px;
  top: 24px;
}


/* =========================================================
   QR CODE
   ========================================================= */

.pix-qrcode {
  width: min(270px, 70vw);

  margin: 0 auto 20px;

  padding: 14px;

  background: #fff;

  border-radius: 22px;

  box-shadow:
    0 20px 50px rgba(0, 0, 0, .30),
    0 0 35px rgba(127, 233, 220, .08);
}


.pix-qrcode img {
  display: block;

  width: 100%;
  height: auto;

  border-radius: 10px;
}


/* =========================================================
   INSTRUÇÃO
   ========================================================= */

.pix-instruction {
  max-width: 360px;

  margin: 0 auto 20px;

  color: rgba(243, 241, 230, .45);

  font-size: 11px;

  line-height: 1.55;

  letter-spacing: .03em;
}


/* =========================================================
   CONFIRMAÇÃO DE CÓPIA
   ========================================================= */

.pix-copied {
  display: none;

  margin-top: 12px;

  color: var(--teal);

  font-size: 11px;

  letter-spacing: .04em;
}

/* =========================================================
   FINAL
   ========================================================= */

.closing {
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.closing-jelly {
  font-size: 45px;
  filter: grayscale(.2);
  opacity: .65;
  animation: jellyFloat 6s ease-in-out infinite;
}

.closing h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 40px;
    line-height: .95;
    font-weight: 500;
    letter-spacing: -.025em;
}

.closing-date {
  color: var(--teal);
  letter-spacing: .25em;
  font-size: 45px;
}

.closing-star {
  margin-top: 32px;
  color: var(--pink);
}

/* =========================================================
   FOOTER / MUSIC
   ========================================================= */

footer {
  padding: 30px 20px 100px;
  text-align: center;
  color: rgba(243,241,230,.35);
  font-size: 10px;
  letter-spacing: .08em;
}

footer b {
  margin-left: 8px;
  color: var(--teal);
}

.music-toggle {
  position: fixed;
  z-index: 120;
  right: 26px;
  bottom: 25px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(127,233,220,.35);
  border-radius: 50%;
  background: rgba(4,21,28,.75);
  backdrop-filter: blur(10px);
  color: var(--teal);
  cursor: pointer;
  font-size: 20px;
  transition: .25s;
}

.music-toggle:hover {
  background: var(--teal);
  color: var(--deep);
}

.music-toggle.playing {
  box-shadow: 0 0 0 7px rgba(127,233,220,.055);
}

/* =========================================================
   LIGHTBOX
   ========================================================= */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  background: rgba(2,10,14,.94);
  backdrop-filter: blur(10px);
}

.lightbox.open { display: grid; }

.lightbox img {
  max-width: min(90vw, 1200px);
  max-height: 86vh;
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 42px;
  font-weight: 200;
}

.lightbox-close { top: 20px; right: 25px; }
.lightbox-prev { left: 25px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 25px; top: 50%; transform: translateY(-50%); }

#lightboxVideo {
  display: none;

  width: auto;
  height: auto;

  max-width: min(90vw, 1200px);
  max-height: 86vh;

  object-fit: contain;

  border-radius: 4px;

  box-shadow:
    0 20px 80px rgba(0, 0, 0, .45);

  background: #000;
}

/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 900px) {
  .desktop-nav { display: none; }

  .menu-btn {
    display: block;
    border: 0;
    background: transparent;
    color: var(--teal-soft);
    font-size: 22px;
    cursor: pointer;
  }

  .mobile-menu {
    position: fixed;
    z-index: 99;
    inset: 72px 0 auto;
    padding: 18px 24px 25px;
    background: rgba(4,21,28,.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: .35s ease;
    display: flex;
    flex-direction: column;
  }

  .mobile-menu.open { transform: translateY(0); }

  .mobile-menu a {
    padding: 12px 0;
    color: var(--teal-soft);
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  .mobile-bottom-nav {
    position: fixed;
    z-index: 110;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 8px 5px;
    background: rgba(4,21,28,.9);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: 14px;
  }

  .mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: rgba(243,241,230,.5);
    font-size: 8px;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  .mobile-bottom-nav span {
    font-size: 17px;
    color: var(--teal);
  }

  .mobile-bottom-nav .nav-main {
    color: var(--cream);
  }

  .music-toggle {
    right: 22px;
    bottom: 82px;
  }

  .event-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    min-height: 190px;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-number {
    position: absolute;
    right: -60px;
    top: 30%;
    font-size: 400px;
  }

  .about-copy {
    position: relative;
    z-index: 2;
  }

  .mural-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .gift-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .topbar {
    height: 62px;
    padding: 0 18px;
  }

  .mobile-menu {
    inset: 62px 0 auto;
  }

  .section {
    width: min(100% - 32px, var(--max));
    padding: 90px 0;
  }

  .section::before {
    top: 45px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2 {
    font-size: 45px;
  }

  .section-heading p {
    font-size: 13px;
  }

  .hero {
    min-height: 100svh;
    padding: 90px 18px 50px;
  }

  .eyebrow {
    top: 92px;
    font-size: 8px;
  }

  .jelly-stage {
    width: 280px;
    height: 340px;
    top: 65px;
  }

  .hero-content {
    margin-top: 170px;
  }

  .hero-content h1 {
    font-size: 78px;
    letter-spacing: -.045em;
  }
}

.hero-content h1::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(
      circle at 17% 35%,
      rgba(255,255,255,.8) 0 1px,
      transparent 1.5px
    ),
    radial-gradient(
      circle at 43% 68%,
      rgba(220,235,255,.65) 0 1px,
      transparent 1.5px
    ),
    radial-gradient(
      circle at 72% 28%,
      rgba(245,225,255,.7) 0 1px,
      transparent 1.5px
    ),
    radial-gradient(
      circle at 88% 62%,
      rgba(255,255,255,.55) 0 .8px,
      transparent 1.4px
    );

  opacity: .65;
  mix-blend-mode: screen;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   🌊 VIDA SUBAQUÁTICA
   Águas-vivas + sensação de água
   ========================================================= */

/* =========================================================
   CAMADA SUBAQUÁTICA
   ========================================================= */

#underwaterLife {
  position: fixed;
  inset: 0;

  z-index: 1;

  pointer-events: none;

  overflow: hidden;

  opacity: 1;
}


/* =========================================================
   CAMADAS PRINCIPAIS
   ========================================================= */

.topbar {
  position: fixed;
  z-index: 10000;
}

.mobile-menu {
  position: fixed;
  z-index: 99;
}

main,
footer {
  position: relative;
  z-index: 5;
}

.mobile-bottom-nav {
  position: fixed;
  z-index: 110;
}
/* =========================================================
   LIGHTBOX DA GALERIA
   ========================================================= */

.lightbox {
  position: fixed;

  inset: 0;

  z-index: 200;

  display: none;

  place-items: center;

  padding: 30px;

  background:
    rgba(2, 10, 14, .94);

  backdrop-filter: blur(14px);

  -webkit-backdrop-filter: blur(14px);

  cursor: zoom-out;
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  display: block;

  width: auto;
  height: auto;

  max-width: min(90vw, 1200px);
  max-height: 86vh;

  object-fit: contain;

  border-radius: 4px;

  box-shadow:
    0 20px 80px rgba(0, 0, 0, .45);
}

.lightbox button {
  position: absolute;

  border: 0;

  background: transparent;

  color: white;

  cursor: pointer;

  z-index: 3;

  font-family: sans-serif;

  font-size: 42px;

  font-weight: 200;

  line-height: 1;

  transition:
    opacity .25s ease,
    transform .25s ease;
}

.lightbox button:hover {
  opacity: .7;
}

.lightbox-close {
  top: 20px;
  right: 25px;
}

.lightbox-prev {
  left: 25px;
  top: 50%;

  transform:
    translateY(-50%);
}

.lightbox-next {
  right: 25px;
  top: 50%;

  transform:
    translateY(-50%);
}


/*
   Ondulações horizontais muito suaves.
   Elas não devem parecer "linhas desenhadas";
   a ideia é apenas dar movimento ao fundo.
*/

#underwaterLife::before,
#underwaterLife::after {
  content: "";

  position: absolute;

  left: -10%;
  width: 120%;
  height: 45%;

  opacity: .055;

  background:
    repeating-radial-gradient(
      ellipse at 50% 100%,
      rgba(127, 233, 220, .9) 0px,
      rgba(127, 233, 220, .9) 1px,
      transparent 2px,
      transparent 32px
    );

  filter: blur(1px);

  transform-origin: center bottom;
}


/* Ondulação superior */

#underwaterLife::before {
  top: -10%;

  transform:
    perspective(500px)
    rotateX(62deg)
    scale(1.5);

  animation:
    waterSurface 18s ease-in-out infinite alternate;
}


/* Ondulação inferior */

#underwaterLife::after {
  bottom: -22%;

  transform:
    perspective(500px)
    rotateX(-62deg)
    scale(1.5);

  opacity: .035;

  animation:
    waterSurfaceReverse 23s ease-in-out infinite alternate;
}


@keyframes waterSurface {

  0% {
    transform:
      perspective(500px)
      rotateX(62deg)
      scale(1.5)
      translateX(-3%);
  }

  50% {
    transform:
      perspective(500px)
      rotateX(62deg)
      scale(1.55)
      translateX(2%);
  }

  100% {
    transform:
      perspective(500px)
      rotateX(62deg)
      scale(1.5)
      translateX(-2%);
  }

}


@keyframes waterSurfaceReverse {

  0% {
    transform:
      perspective(500px)
      rotateX(-62deg)
      scale(1.5)
      translateX(3%);
  }

  50% {
    transform:
      perspective(500px)
      rotateX(-62deg)
      scale(1.55)
      translateX(-2%);
  }

  100% {
    transform:
      perspective(500px)
      rotateX(-62deg)
      scale(1.5)
      translateX(2%);
  }

}


/* =========================================================
   FEIXES DE LUZ DA SUPERFÍCIE
   ========================================================= */

.water-ray {
  position: absolute;

  top: -20%;
  width: 180px;
  height: 145%;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(205, 238, 231, .035),
      transparent
    );

  filter: blur(12px);

  transform-origin: top center;

  animation:
    rayMove 16s ease-in-out infinite alternate;
}


.water-ray:nth-child(1) {
  left: 8%;
  transform: rotate(12deg);
  animation-delay: -5s;
}


.water-ray:nth-child(2) {
  left: 38%;
  transform: rotate(-7deg);
  animation-delay: -11s;
}


.water-ray:nth-child(3) {
  right: 12%;
  transform: rotate(15deg);
  animation-delay: -2s;
}


@keyframes rayMove {

  from {
    opacity: .25;
    transform: rotate(-8deg) translateX(-30px);
  }

  to {
    opacity: .7;
    transform: rotate(8deg) translateX(30px);
  }

}


/* =========================================================
   ÁGUAS-VIVAS
   ========================================================= */

.ambient-jelly {
  position: absolute;

  width: var(--jelly-size);
  height: calc(var(--jelly-size) * 1.45);

  opacity: 0;

  animation:
    jellyJourney var(--duration) linear infinite;

  animation-delay: var(--delay);

  filter:
    drop-shadow(
      0 0 14px
      rgba(127, 233, 220, .45)
    );
}


/* Corpo */

.ambient-jelly .jelly-body {
  position: absolute;

  left: 50%;
  top: 5%;

  width: 72%;
  height: 42%;

  transform: translateX(-50%);

  border-radius:
    50%
    50%
    42%
    42%;

  background:
    radial-gradient(
      ellipse at 50% 25%,
      rgba(255, 255, 255, .75),
      rgba(127, 233, 220, .45) 35%,
      rgba(127, 233, 220, .20) 65%,
      rgba(185, 166, 234, .08) 85%,
      transparent 100%
    );

  border:
    1px solid
    rgba(205, 238, 231, .55);

  box-shadow:
    inset 0 0 20px
    rgba(255, 255, 255, .18),

    0 0 25px
    rgba(127, 233, 220, .28);
}


/* Brilho interno */

.ambient-jelly .jelly-body::before {
  content: "";

  position: absolute;

  width: 40%;
  height: 30%;

  left: 30%;
  top: 12%;

  border-radius: 50%;

  background:
    rgba(255, 255, 255, .55);

  filter: blur(5px);
}


/* =========================================================
   TENTÁCULOS
   ========================================================= */

.ambient-jelly .tentacles {
  position: absolute;

  left: 50%;
  top: 40%;

  width: 75%;
  height: 60%;

  transform: translateX(-50%);
}


.ambient-jelly .tentacles span {
  position: absolute;

  top: 0;

  width: 2px;
  height: 100%;

  border-radius: 100%;

  background:
    linear-gradient(
      to bottom,
      rgba(127, 233, 220, .65),
      rgba(231, 159, 209, .30),
      transparent
    );

  box-shadow:
    0 0 5px
    rgba(127, 233, 220, .25);

  transform-origin: top;

  animation:
    tentacleFloat 2.8s ease-in-out infinite alternate;
}


.ambient-jelly .tentacles span:nth-child(1) {
  left: 10%;
  height: 75%;
  animation-delay: -.4s;
}

.ambient-jelly .tentacles span:nth-child(2) {
  left: 27%;
  height: 95%;
  animation-delay: -.9s;
}

.ambient-jelly .tentacles span:nth-child(3) {
  left: 45%;
  height: 85%;
  animation-delay: -.2s;
}

.ambient-jelly .tentacles span:nth-child(4) {
  left: 64%;
  height: 100%;
  animation-delay: -1.1s;
}

.ambient-jelly .tentacles span:nth-child(5) {
  left: 82%;
  height: 72%;
  animation-delay: -.7s;
}


@keyframes tentacleFloat {

  from {
    transform:
      translateX(-5px)
      rotate(-4deg);
  }

  to {
    transform:
      translateX(5px)
      rotate(4deg);
  }

}


/* =========================================================
   MOVIMENTO
   ========================================================= */

@keyframes jellyJourney {

  0% {

    opacity: 0;

    transform:
      translate3d(
        var(--start-x),
        110vh,
        0
      )
      scale(.65);

  }


  8% {
    opacity: var(--opacity);
  }


  30% {

    transform:
      translate3d(
        calc(var(--start-x) + var(--drift)),
        70vh,
        0
      )
      scale(.82);

  }


  55% {

    transform:
      translate3d(
        calc(var(--start-x) - var(--drift)),
        40vh,
        0
      )
      scale(.95);

  }


  75% {

    transform:
      translate3d(
        calc(var(--start-x) + var(--drift) * .7),
        10vh,
        0
      )
      scale(1);

  }


  92% {
    opacity: var(--opacity);
  }


  100% {

    opacity: 0;

    transform:
      translate3d(
        calc(var(--start-x) + var(--drift)),
        -30vh,
        0
      )
      scale(1.05);

  }

}


/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 600px) {

  .ambient-jelly {
    opacity: .75;
  }

  #underwaterLife::before {
    opacity: .035;
  }

  #underwaterLife::after {
    opacity: .025;
  }

}

/* =========================================================
   ☀️ LUZ DA SUPERFÍCIE DO MAR
   ========================================================= */

.sunlight {
  position: absolute;

  top: -8%;
  left: 50%;

  width: 900px;
  height: 900px;

  transform: translateX(-50%);

  pointer-events: none;

  z-index: 0;

  opacity: .85;
}


/* =========================================================
   BRILHO CENTRAL
   ========================================================= */

.sun-glow {
  position: absolute;

  top: 0;
  left: 50%;

  width: 420px;
  height: 240px;

  transform: translateX(-50%);

  border-radius: 50%;

  background:
    radial-gradient(
      ellipse at center top,

      rgba(225, 250, 248, .42) 0%,

      rgba(175, 230, 232, .18) 28%,

      rgba(100, 190, 205, .07) 50%,

      transparent 75%
    );

  filter: blur(18px);

  animation:
    sunPulse 9s ease-in-out infinite alternate;
}


@keyframes sunPulse {

  0% {
    opacity: .65;

    transform:
      translateX(-50%)
      scale(.95);
  }

  100% {
    opacity: 1;

    transform:
      translateX(-50%)
      scale(1.08);
  }

}


/* =========================================================
   FEIXES DE LUZ
   ========================================================= */

.sun-ray {
  position: absolute;

  top: -15%;

  height: 125%;

  transform-origin: top center;

  background:
    linear-gradient(
      to bottom,

      rgba(225, 250, 248, .16),

      rgba(180, 235, 238, .07) 30%,

      rgba(130, 210, 220, .025) 65%,

      transparent 100%
    );

  filter: blur(12px);

  opacity: .45;

  animation:
    rayFloat 14s ease-in-out infinite alternate;
}


/* raio central */

.ray-1 {
  left: 39%;

  width: 110px;

  transform:
    rotate(-9deg);

  animation-delay: -3s;
}


/* raio */

.ray-2 {
  left: 46%;

  width: 170px;

  transform:
    rotate(-4deg);

  opacity: .55;

  animation-delay: -8s;
}


/* raio central principal */

.ray-3 {
  left: 51%;

  width: 190px;

  transform:
    rotate(2deg);

  opacity: .65;

  animation-delay: -5s;
}


/* raio */

.ray-4 {
  left: 58%;

  width: 150px;

  transform:
    rotate(7deg);

  animation-delay: -11s;
}


/* raio lateral */

.ray-5 {
  left: 65%;

  width: 100px;

  transform:
    rotate(12deg);

  opacity: .3;

  animation-delay: -2s;
}


@keyframes rayFloat {

  0% {

    margin-left: -12px;

    opacity: .25;

  }

  50% {

    opacity: .5;

  }

  100% {

    margin-left: 12px;

    opacity: .32;

  }

}

/* =========================================================
   CAUSTICS — REFLEXOS DA SUPERFÍCIE DA ÁGUA
   ========================================================= */

.sunlight::before {
  content: "";

  position: absolute;

  top: -5%;
  left: -35%;

  width: 170%;
  height: 55%;

  background:

    repeating-radial-gradient(
      ellipse at 50% 100%,

      rgba(210, 250, 248, .13) 0px,

      rgba(210, 250, 248, .13) 2px,

      transparent 4px,

      transparent 24px
    );

  filter: blur(5px);

  opacity: .35;

  transform:
    perspective(600px)
    rotateX(65deg)
    scale(1.2);

  animation:
    causticMove 18s ease-in-out infinite alternate;
}


@keyframes causticMove {

  0% {

    transform:
      perspective(600px)
      rotateX(65deg)
      scale(1.2)
      translateX(-3%);

  }

  50% {

    opacity: .55;

  }

  100% {

    transform:
      perspective(600px)
      rotateX(65deg)
      scale(1.28)
      translateX(3%);

  }

}

/* =========================================================
   LUZ ATRÁS DA ÁGUA-VIVA
   ========================================================= */

.jelly-light {
  position: absolute;

  left: 50%;
  top: 42%;

  width: 300px;
  height: 300px;

  transform: translate(-50%, -50%);

  border-radius: 50%;

  background:
    radial-gradient(
      circle,

      rgba(220, 250, 248, .22) 0%,

      rgba(150, 225, 230, .12) 28%,

      rgba(120, 200, 220, .05) 48%,

      transparent 72%
    );

  filter: blur(25px);

  opacity: .8;

  animation:
    jellyLightPulse 7s ease-in-out infinite alternate;

  pointer-events: none;

  z-index: 0;
}


@keyframes jellyLightPulse {

  0% {

    transform:
      translate(-50%, -50%)
      scale(.9);

    opacity: .55;

  }

  100% {

    transform:
      translate(-50%, -50%)
      scale(1.12);

    opacity: .9;

  }

}


/* =========================================================
   CONTAINER DA LUZ
   ========================================================= */

.jelly-sunlight {
  position: absolute;

  top: -35px;
  left: 50%;

  width: 420px;
  height: 430px;

  transform: translateX(-50%);

  pointer-events: none;

  z-index: 0;

  overflow: visible;
}


/* =========================================================
   BRILHO DIFUSO ATRÁS DA ÁGUA-VIVA
   ========================================================= */

.jelly-sun-glow {
  position: absolute;

  top: 25px;
  left: 50%;

  width: 280px;
  height: 260px;

  transform: translateX(-50%);

  border-radius: 50%;

  background:
    radial-gradient(
      ellipse at center,

      rgba(235, 255, 252, .30) 0%,

      rgba(190, 239, 237, .18) 25%,

      rgba(130, 210, 220, .08) 48%,

      transparent 72%
    );

  filter: blur(20px);

  animation:
    jellySunPulse 8s ease-in-out infinite alternate;
}


@keyframes jellySunPulse {

  0% {
    opacity: .55;

    transform:
      translateX(-50%)
      scale(.92);
  }

  100% {
    opacity: .9;

    transform:
      translateX(-50%)
      scale(1.08);
  }

}


/* =========================================================
   RAIOS DE LUZ
   ========================================================= */

.jelly-ray {
  position: absolute;

  top: -120px;

  height: 600px;

  transform-origin: top center;

  background:
    linear-gradient(
      to bottom,

      rgba(235, 255, 252, .18) 0%,

      rgba(205, 245, 243, .11) 25%,

      rgba(150, 220, 225, .045) 55%,

      transparent 100%
    );

  filter: blur(8px);

  opacity: .45;

  animation:
    jellyRayMove 12s ease-in-out infinite alternate;
}


/* raio esquerdo */

.jelly-ray.ray-left {
  left: 13%;

  width: 65px;

  transform: rotate(-13deg);

  opacity: .28;

  animation-delay: -4s;
}


/* raio centro-esquerda */

.jelly-ray.ray-center-left {
  left: 30%;

  width: 80px;

  transform: rotate(-7deg);

  opacity: .42;

  animation-delay: -7s;
}


/* raio principal */

.jelly-ray.ray-center {
  left: 43%;

  width: 105px;

  transform: rotate(0deg);

  opacity: .55;

  animation-delay: -2s;
}


/* raio centro-direita */

.jelly-ray.ray-center-right {
  left: 56%;

  width: 80px;

  transform: rotate(7deg);

  opacity: .40;

  animation-delay: -9s;
}


/* raio direito */

.jelly-ray.ray-right {
  left: 72%;

  width: 55px;

  transform: rotate(13deg);

  opacity: .25;

  animation-delay: -5s;
}


@keyframes jellyRayMove {

  0% {
    margin-left: -10px;
  }

  50% {
    opacity: .6;
  }

  100% {
    margin-left: 10px;
  }

}


/* =========================================================
   GARANTE A ORDEM DAS CAMADAS
   ========================================================= */

.jelly-stage > svg {
  position: relative;

  z-index: 2;
}


/* =========================================================
   FOTO DA BEATRIZ — TRATAMENTO EDITORIAL
   ========================================================= */

.about-photo {
  position: relative;

  width: min(1080px, 88vw);

  margin: 0 auto;

  z-index: 10;

  isolation: isolate;

  overflow: visible;
}


/* =========================================================
   HALO DE LUZ ATRÁS DA FOTO
   ========================================================= */

.about-photo::before {
  content: "";

  position: absolute;

  inset: -55px;

  border-radius: 60px;

  background:
    radial-gradient(
      ellipse at center,

      rgba(127, 233, 220, .50) 0%,

      rgba(127, 233, 220, .30) 30%,

      rgba(185, 166, 234, .20) 52%,

      transparent 76%
    );

  filter: blur(40px);

  opacity: 1;

  z-index: -1;

  pointer-events: none;

  animation:
    photoGlow 8s ease-in-out infinite alternate;
}


/* =========================================================
   MOLDURA DA FOTO
   ========================================================= */

.about-photo-frame {
  position: relative;

  overflow: hidden;

  border-radius: 30px;

  border: 1px solid rgba(127, 233, 220, .55);

  background: var(--deep-2);

  box-shadow:

    0 30px 90px
    rgba(0, 0, 0, .45),

    0 0 35px
    rgba(127, 233, 220, .18),

    0 0 80px
    rgba(127, 233, 220, .08),

    inset 0 0 35px
    rgba(127, 233, 220, .08);
}


/* =========================================================
   FOTO
   ========================================================= */

.about-photo img {
  position: relative;

  display: block;

  width: 100%;
  height: auto;

  border-radius: 30px;

  z-index: 1;

  object-fit: cover;

  transition:
    transform 1.2s cubic-bezier(.2,.7,.2,1),
    filter 1.2s ease;
}


/* =========================================================
   REFLEXO DE LUZ SOBRE A FOTO
   ========================================================= */

.about-photo-frame::after {
  content: "";

  position: absolute;

  inset: 0;

  z-index: 2;

  pointer-events: none;

  border-radius: 30px;

  background:
    linear-gradient(
      115deg,

      transparent 15%,

      rgba(235, 255, 252, .03) 28%,

      rgba(235, 255, 252, .18) 43%,

      rgba(235, 255, 252, .07) 50%,

      transparent 65%
    );

  background-size: 240% 100%;

  animation:
    photoLight 9s ease-in-out infinite;

  mix-blend-mode: screen;
}


/* =========================================================
   BRILHO INTERNO DA BORDA
   ========================================================= */

.about-photo-frame::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: 3;

  pointer-events: none;

  border-radius: 30px;

  box-shadow:

    inset 0 0 0 1px
    rgba(127, 233, 220, .30),

    inset 0 0 30px
    rgba(127, 233, 220, .08);
}

/* =========================================================
   PEQUENO MOVIMENTO AO PASSAR O MOUSE
   ========================================================= */

.about-photo:hover img {
  transform: scale(1.118);

  filter:
    brightness(1.025)
    saturate(.97);
}


/* =========================================================
   PULSAÇÃO DO HALO
   ========================================================= */

@keyframes photoGlow {

  0% {
    opacity: .55;

    transform: scale(.96);
  }

  100% {
    opacity: .90;

    transform: scale(1.04);
  }

}


/* =========================================================
   MOVIMENTO DA LUZ
   ========================================================= */

@keyframes photoLight {

  0% {
    background-position: 135% 50%;
  }

  45% {
    background-position: 55% 50%;
  }

  100% {
    background-position: -35% 50%;
  }

}

#invitationCode.from-invitation {
    letter-spacing: .08em;
    font-weight: 600;
}




/* =========================================================
   ENVELOPE DO CONVITE
   ========================================================= */

.envelope-screen {

    position: fixed;
    inset: 0;

    z-index: 9999;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 28px;

    background:
        radial-gradient(
            ellipse at 50% 35%,
            rgba(70, 145, 160, .20),
            transparent 45%
        ),
        linear-gradient(
            180deg,
            #082f3b 0%,
            #0a2632 100%
        );

    overflow: hidden;
}

/* =========================================================
   ENVELOPE — IMAGENS
   ========================================================= */

.envelope-screen {

    position: fixed;
    inset: 0;

    z-index: 9999;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 28px;

    background:
        radial-gradient(
            ellipse at 50% 35%,
            rgba(70, 145, 160, .20),
            transparent 45%
        ),
        linear-gradient(
            180deg,
            #082f3b 0%,
            #0a2632 100%
        );

    overflow: hidden;
}


/* =========================================================
   ÁREA DO ENVELOPE
   ========================================================= */

.envelope {

    position: relative;

    width: min(86vw, 500px);

    line-height: 0;

    cursor: pointer;

    filter:
        drop-shadow(
            0 25px 40px rgba(0,0,0,.35)
        );
}


/* =========================================================
   IMAGENS
   ========================================================= */

.envelope-image {

    display: block;

    width: 100%;
    height: auto;

    user-select: none;

    -webkit-user-drag: none;
}


/* =========================================================
   ENVELOPE ABERTO
   Fica exatamente sobre o fechado
   ========================================================= */

.envelope-open {
    position: absolute;

    left: 0;
    top: -75%;

    width: 100%;

    opacity: 0;

    pointer-events: none;

    transition:
        opacity .7s ease;
}


/* =========================================================
   ABERTURA
   ========================================================= */

.envelope.opening .envelope-closed {

    opacity: 0;

    transition:
        opacity .7s ease;
}


.envelope.opening .envelope-open {

    opacity: 1;

}


/* =========================================================
   MENSAGEM
   ========================================================= */

.envelope-message {

    color:
        rgba(255,255,255,.82);

    font-family:
        Arial,
        sans-serif;

    font-size:
        14px;

    letter-spacing:
        .18em;

    text-transform:
        uppercase;

    animation:
        envelopePulse 2.5s ease-in-out infinite;
}


@keyframes envelopePulse {

    0%, 100% {
        opacity: .55;
    }

    50% {
        opacity: 1;
    }
}



@keyframes envelopeScreenFade {

    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        visibility: hidden;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .envelope {

        width: 88vw;

    }

    .envelope-message {

        font-size: 11px;

        letter-spacing: .20em;

    }

}


/* =========================================================
   FADE OUT DO ENVELOPE
   ========================================================= */

.envelope-screen {

    opacity: 1;

    visibility: visible;

    transition:
        opacity 1.2s ease,
        visibility 0s linear 1.2s;
}


.envelope-screen.opened {

    opacity: 0;

    visibility: hidden;

    pointer-events: none;
}
/* =========================================================
   REVELAÇÃO DO HERO APÓS A ÁGUA-VIVA
   ========================================================= */

.hero-content {
    opacity: 1;
}


/* Esconde inicialmente os elementos do conteúdo */

.hero-content > * {
    opacity: 0;
}


/* O 15 será o primeiro a aparecer */

.hero-number {
    opacity: 1;
}

.hero-number > span {
    opacity: 0;

    transform:
        translateY(20px)
        scale(.92);

    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.2,.8,.2,1);
}


/* Quando a água-viva chegar */

.invitation-opened .hero-number > span {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}

document.body.classList.add('invitation-opened');


/* =========================================================
   ÁGUA-VIVA DE TRANSIÇÃO DO ENVELOPE
   ========================================================= */
.transition-jelly {
    position: fixed !important;

    margin: 0 !important;

    transform: none !important;
    animation: none !important;

    z-index: 11000 !important;

    pointer-events: none !important;

    opacity: 0;

    overflow: visible;

    will-change:
        top,
        left,
        width,
        height,
        opacity;
}


.transition-jelly.jelly-flying {
    opacity: 1;
}


/*
 * O clone precisa preservar as dimensões
 * da água-viva original.
 */

.transition-jelly .jelly-stage {
    width: 100%;
    height: 100%;
}

/* =========================================================
   REVELAÇÃO DO 15
   ========================================================= */

.hero-number > span {
    opacity: 0;
    transform: translateY(20px) scale(.92);

    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.2,.8,.2,1);
}


.invitation-opened .hero-number > span {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* =========================================================
   REVELAÇÃO — ANOS
   ========================================================= */

.hero-number > small:nth-of-type(2) {
    opacity: 0;

    transform:
        translateY(20px);

    transition:
        opacity .7s ease,
        transform .7s cubic-bezier(.2,.8,.2,1);
}


.invitation-opened.show-years .hero-number > small:nth-of-type(2) {
    opacity: 1;

    transform:
        translateY(0);
}

/* =========================================================
   REVELAÇÃO — BEATRIZ
   ========================================================= */

.hero-number > small:nth-of-type(1) {
    opacity: 0;

    transform:
        translateY(20px);

    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.2,.8,.2,1);
}


.invitation-opened.show-beatriz .hero-number > small:nth-of-type(1) {
    opacity: 1;

    transform:
        translateY(0);
}

/* =========================================================
   ÁGUA-VIVA — CAMADA DE TRANSIÇÃO
   Deve ficar SEMPRE acima do envelope
   ========================================================= */

.envelope-screen {
    z-index: 9999 !important;
}

.transition-jelly {
    position: fixed !important;

    z-index: 11000 !important;

    pointer-events: none !important;

    margin: 0 !important;

    transform: none !important;

    isolation: isolate;

    will-change:
        top,
        left,
        width,
        height,
        opacity;
}





/* =========================================================
   ÁGUA-VIVA DE TRANSIÇÃO DO ENVELOPE
   ========================================================= */

.transition-jelly {

    position: fixed !important;

    z-index: 11000 !important;

    pointer-events: none !important;

    margin: 0 !important;

    opacity: 0;

    transform: none !important;

    animation: none !important;

    filter: none !important;

    will-change:
        left,
        top,
        width,
        height,
        opacity;
}


.transition-jelly.jelly-flying {

    opacity: 1;
}


/*
 * O SVG dentro da cópia ocupa todo o clone.
 */

.transition-jelly svg {

    display: block !important;

    width: 100% !important;

    height: 100% !important;

    position: relative !important;

    z-index: 2 !important;
}


/* =========================================================
   ÁGUA-VIVA QUE SAI DO ENVELOPE
   ========================================================= */

.transition-jelly {

    position: fixed !important;

    z-index: 11000 !important;

    pointer-events: none !important;

    margin: 0 !important;

    padding: 0 !important;

    transform: none !important;

    animation: none !important;

    opacity: 0;

    overflow: visible;

    will-change:
        left,
        top,
        width,
        height,
        opacity;
}


/*
 * O SVG ocupa exatamente o recipiente.
 */

.transition-jelly svg {

    display: block !important;

    position: absolute !important;

    left: 0 !important;
    top: 0 !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;

    transform: none !important;

    z-index: 1 !important;
}


/*
 * A cópia não deve herdar o movimento
 * vertical do jelly-stage original.
 */

.transition-jelly .jelly-stage {
    animation: none !important;
}

/* =========================================================
   MENU SUPERIOR — ESCONDIDO ANTES DA ABERTURA
   ========================================================= */

body:not(.invitation-opened) .topbar {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* Aparecimento suave após a abertura */

.topbar {
    transition:
        opacity 1s ease,
        visibility 0s linear 0s;
}

/* =========================================================
   SEQUÊNCIA FINAL DO HERO
   ========================================================= */

/*
 * O conteúdo do Hero fica disponível depois que
 * a água-viva termina sua animação.
 */

body:not(.invitation-opened) .hero-content {
    visibility: hidden;
    pointer-events: none;
}


/*
 * O container fica visível, mas seus elementos
 * continuam sendo controlados individualmente.
 */

body.invitation-opened .hero-content {
    visibility: visible;
    pointer-events: auto;
}


/* =========================================================
   BEATRIZ — NOME GRANDE
   ========================================================= */

.hero-content > h1 {

    opacity: 0;

    transform:
        translateY(15px);

    transition:
        opacity .9s ease,
        transform .9s cubic-bezier(.2,.8,.2,1);

}


/*
 * Só começa depois que o pequeno "Beatriz"
 * já apareceu.
 */

body.show-beatriz .hero-content > h1 {

    opacity: 1;

    transform:
        translateY(0);

    transition-delay: .9s;
}


/* =========================================================
   FRASE
   ========================================================= */

.hero-content > p {

    opacity: 0;

    transform:
        translateY(15px);

    transition:
        opacity .9s ease,
        transform .9s cubic-bezier(.2,.8,.2,1);

}


body.show-beatriz .hero-content > p {

    opacity: 1;

    transform:
        translateY(0);

    transition-delay: 1.8s;
}


/* =========================================================
   DATA
   ========================================================= */

.hero-content > .hero-date {

    opacity: 0;

    transform:
        translateY(15px);

    transition:
        opacity .9s ease,
        transform .9s cubic-bezier(.2,.8,.2,1);

}


body.show-beatriz .hero-content > .hero-date {

    opacity: 1;

    transform:
        translateY(0);

    transition-delay: 2.7s;
}


/* =========================================================
   EXPLORAR CONVITE
   ========================================================= */

.hero-content > .scroll-cue {

    opacity: 0;

    transform:
        translateY(15px);

    transition:
        opacity .9s ease,
        transform .9s cubic-bezier(.2,.8,.2,1);

}


body.show-beatriz .hero-content > .scroll-cue {

    opacity: 1;

    transform:
        translateY(0);

    transition-delay: 3.6s;
}


/* =========================================================
   RSVP — RESPOSTA DO CONVIDADO
   ========================================================= */

.guest-check {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 0;
}


.guest-name {
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}


.guest-options {
    display: flex;
    gap: 10px;
    width: 100%;
}


.guest-response {
    flex: 1;

    min-height: 46px;

    padding: 10px 16px;

    border: 1px solid rgba(255, 255, 255, 0.18);

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.04);

    color: inherit;

    font-family: inherit;

    font-size: 0.9rem;

    cursor: pointer;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.2s ease,
        box-shadow 0.25s ease;
}


.guest-response:hover {
    transform: translateY(-1px);

    background: rgba(255, 255, 255, 0.08);

    border-color: rgba(255, 255, 255, 0.3);
}


.guest-response:active {
    transform: translateY(0);
}


/* ---------------------------------------------------------
   VOU À FESTA
   --------------------------------------------------------- */

.guest-yes.selected {
    background: rgba(127, 233, 220, 0.14);

    border-color: rgba(127, 233, 220, 0.65);

    box-shadow:
        0 0 0 1px rgba(127, 233, 220, 0.08),
        0 6px 18px rgba(127, 233, 220, 0.08);
}


/* ---------------------------------------------------------
   NÃO PODEREI IR
   --------------------------------------------------------- */

.guest-no.selected {
    background: rgba(231, 159, 209, 0.12);

    border-color: rgba(231, 159, 209, 0.55);

    box-shadow:
        0 0 0 1px rgba(231, 159, 209, 0.06),
        0 6px 18px rgba(231, 159, 209, 0.06);
}


/* =========================================================
   RSVP — STATUS
   ========================================================= */

.status-pill {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: fit-content;

    padding: 5px 10px;

    border-radius: 999px;

    font-size: 0.72rem;

    letter-spacing: 0.04em;

    text-transform: uppercase;

    white-space: nowrap;
}


.status-pill.confirmado {
    background: rgba(127, 233, 220, 0.12);

    border: 1px solid rgba(127, 233, 220, 0.35);

    color: #7fe9dc;
}


.status-pill.recusado {
    background: rgba(231, 159, 209, 0.08);

    border: 1px solid rgba(231, 159, 209, 0.25);

    color: rgba(255, 255, 255, 0.62);
}

/* ---------------------------------------------------------
   BOTÕES DE RESPOSTA
   --------------------------------------------------------- */

.guest-response {
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.2s ease;
}


.guest-response:hover {
    transform: translateY(-1px);

    background: rgba(255, 255, 255, 0.06);

    border-color: rgba(255, 255, 255, 0.28);
}


.guest-response:active {
    transform: translateY(0);
}

.guest-response.selected::before {
    content: "✓";

    margin-right: 7px;

    font-weight: 600;
}

.guest-response.selected {
    transform: translateY(-1px);
}

.guest-response:focus-visible {
    outline: 2px solid rgba(127, 233, 220, 0.55);

    outline-offset: 3px;
}

/* ---------------------------------------------------------
   INTERAÇÃO DOS BOTÕES
   --------------------------------------------------------- */

.guest-response {
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.2s ease;
}


.guest-response:hover {
    transform: translateY(-1px);

    background: rgba(255, 255, 255, 0.06);

    border-color: rgba(255, 255, 255, 0.28);
}


.guest-response:active {
    transform: translateY(0);
}


.guest-response.selected {
    transform: translateY(-1px);
}


.guest-response.selected::before {
    content: "✓";

    margin-right: 7px;

    font-weight: 600;
}


.guest-response:focus-visible {
    outline: 2px solid rgba(127, 233, 220, 0.55);

    outline-offset: 3px;
}


/* ---------------------------------------------------------
   STATUS CONFIRMADO
   --------------------------------------------------------- */

.status-pill.confirmado::before {
    content: "✓";

    margin-right: 5px;

    font-weight: 600;
}


/* ---------------------------------------------------------
   STATUS RECUSADO
   --------------------------------------------------------- */

.status-pill.recusado::before {
    content: "—";

    margin-right: 5px;

    opacity: 0.6;
}

/* =========================================================
   MODAL DE CONFIRMAÇÃO DO RSVP
   ========================================================= */

.rsvp-confirm-modal {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}


.rsvp-confirm-modal.open {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* ---------------------------------------------------------
   FUNDO
   --------------------------------------------------------- */

.rsvp-confirm-overlay {
    position: absolute;

    inset: 0;

    background:
        rgba(2, 15, 21, .72);

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);
}


/* ---------------------------------------------------------
   CAIXA
   --------------------------------------------------------- */

.rsvp-confirm-box {
    position: relative;

    width: min(100%, 430px);

    padding: 34px 30px 28px;

    border:
        1px solid
        rgba(127, 233, 220, .22);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(13, 39, 48, .98),
            rgba(5, 25, 33, .98)
        );

    box-shadow:
        0 30px 90px
        rgba(0, 0, 0, .45);

    text-align: center;

    transform:
        translateY(12px)
        scale(.97);

    transition:
        transform .28s ease;
}


.rsvp-confirm-modal.open
.rsvp-confirm-box {
    transform:
        translateY(0)
        scale(1);
}


/* ---------------------------------------------------------
   ÍCONE
   --------------------------------------------------------- */

.rsvp-confirm-icon {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 46px;

    height: 46px;

    margin: 0 auto 18px;

    border:
        1px solid
        rgba(127, 233, 220, .30);

    border-radius: 50%;

    background:
        rgba(127, 233, 220, .08);

    color:
        #7fe9dc;

    font-size: 18px;
}


/* ---------------------------------------------------------
   TÍTULO
   --------------------------------------------------------- */

.rsvp-confirm-box h3 {
    margin: 0 0 10px;

    color:
        rgba(243, 241, 230, .95);

    font-size: 1.15rem;

    font-weight: 500;

    line-height: 1.3;
}


/* ---------------------------------------------------------
   TEXTO
   --------------------------------------------------------- */

.rsvp-confirm-box p {
    margin: 0 auto;

    max-width: 340px;

    color:
        rgba(243, 241, 230, .62);

    font-size: .86rem;

    line-height: 1.6;
}


/* ---------------------------------------------------------
   BOTÕES
   --------------------------------------------------------- */

.rsvp-confirm-actions {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;

    margin-top: 25px;
}


.rsvp-confirm-actions button {
    min-height: 46px;

    padding: 10px 16px;

    border-radius: 11px;

    font-family: inherit;

    font-size: .78rem;

    font-weight: 500;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .18s ease;
}


.rsvp-confirm-actions button:hover {
    transform: translateY(-1px);
}


.rsvp-confirm-cancel {
    border:
        1px solid
        rgba(255, 255, 255, .13);

    background:
        rgba(255, 255, 255, .035);

    color:
        rgba(255, 255, 255, .62);
}


.rsvp-confirm-cancel:hover {
    border-color:
        rgba(255, 255, 255, .25);

    color:
        rgba(255, 255, 255, .9);

    background:
        rgba(255, 255, 255, .06);
}


.rsvp-confirm-ok {
    border:
        1px solid
        rgba(127, 233, 220, .40);

    background:
        rgba(127, 233, 220, .11);

    color:
        #7fe9dc;
}


.rsvp-confirm-ok:hover {
    border-color:
        rgba(127, 233, 220, .65);

    background:
        rgba(127, 233, 220, .18);
}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 500px) {

    .rsvp-confirm-box {
        padding:
            28px 20px 22px;
    }


    .rsvp-confirm-actions {
        grid-template-columns: 1fr;
    }


    .rsvp-confirm-actions button {
        min-height: 48px;
    }


    .rsvp-confirm-ok {
        order: -1;
    }

}


/* =========================================================
   RSVP — AJUSTE DE TAMANHO DOS TEXTOS
   ========================================================= */

.guest-name {
    font-size: 1.08rem;
}


.guest-response {
    font-size: 0.88rem;
}


.confirmed-note {
    font-size: 0.80rem;
}


.cancel-link {
    font-size: 1.20rem;
}


/* Nome dentro do modal */
.rsvp-confirm-box h3 {
    font-size: 1.40rem;
}


.rsvp-confirm-box p {
    font-size: 1rem;
}


/* Botões do modal */
.rsvp-confirm-actions button {
    font-size: 0.84rem;
}

/* =========================================================
   MURAL — ACABAMENTO VISUAL
   ========================================================= */


/* =========================================================
   CABEÇALHO
   ========================================================= */

#mural .section-heading {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}


#mural .section-kicker {
    font-size: 0.72rem;

    letter-spacing: 0.32em;

    text-transform: uppercase;

    color: #7fe9dc;
}

#mural .section-heading h2 {
    margin-top: 14px;

    font-family: "Cormorant Garamond", serif;

    font-size: 40px;

    line-height: .95;

    font-weight: 500;

    letter-spacing: -.025em;
}

.presente {
    margin: 14px auto 0 !important;

    font-family: "Cormorant Garamond", serif !important;

    font-size: 40px !important;

    line-height: .95 !important;

    font-weight: 500 !important;

    letter-spacing: -.025em !important;

    text-align: center !important;

    max-width: 750px !important;

    color: var(--cream) !important;
}

#mural .section-heading p {
    max-width: 600px;

    margin:
        18px auto 0;

    font-size: 0.82rem;

    line-height: 1.7;

    color:
        rgba(255, 255, 255, 0.50);
}


/* =========================================================
   FORMULÁRIO
   ========================================================= */

#muralForm {
    width: min(
        calc(100% - 40px),
        820px
    );

    margin:
        42px auto 0;

    padding: 30px 32px;

    border:
        1px solid
        rgba(255, 255, 255, 0.09);

    border-radius: 20px;

    background:
        rgba(7, 28, 36, 0.58);

    box-shadow:
        0 20px 60px
        rgba(0, 0, 0, 0.16);

    backdrop-filter:
        blur(14px);

    -webkit-backdrop-filter:
        blur(14px);
}


/* =========================================================
   CAMPOS
   ========================================================= */

#muralForm .form-row {
    display: grid;

    grid-template-columns:
        minmax(190px, 0.75fr)
        minmax(0, 1.5fr);

    gap: 20px;

    align-items: start;
}


#muralForm .form-field {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


#muralForm .field-label {
    margin: 0;

    font-size: 0.68rem;

    font-weight: 500;

    letter-spacing: 0.10em;

    text-transform: uppercase;

    color:
        rgba(255, 255, 255, 0.48);
}


/* =========================================================
   INPUT / TEXTAREA
   ========================================================= */

#muralForm input,
#muralForm textarea {
    width: 100%;

    border:
        1px solid
        rgba(255, 255, 255, 0.11);

    border-radius: 10px;

    outline: none;

    background:
        rgba(255, 255, 255, 0.025);

    color:
        rgba(255, 255, 255, 0.88);

    font-family: inherit;

    font-size: 0.86rem;

    transition:
        border-color .22s ease,
        background .22s ease,
        box-shadow .22s ease;
}


#muralForm input {
    height: 50px;

    padding:
        0 14px;
}


#muralForm textarea {
    min-height: 150px;

    padding:
        14px;

    resize: vertical;

    line-height: 1.55;
}


#muralForm input::placeholder,
#muralForm textarea::placeholder {
    color:
        rgba(255, 255, 255, 0.28);
}


#muralForm input:focus,
#muralForm textarea:focus {
    border-color:
        rgba(127, 233, 220, 0.42);

    background:
        rgba(255, 255, 255, 0.045);

    box-shadow:
        0 0 0 3px
        rgba(127, 233, 220, 0.055);
}


/* =========================================================
   BOTÃO
   ========================================================= */

#muralForm .small-btn {
    margin-top: 18px;

    min-height: 44px;

    padding:
        10px 18px;

    border:
        1px solid
        rgba(127, 233, 220, 0.36);

    border-radius: 10px;

    background:
        rgba(127, 233, 220, 0.07);

    color:
        #7fe9dc;

    font-family: inherit;

    font-size: 0.72rem;

    font-weight: 500;

    letter-spacing: 0.04em;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background .22s ease,
        border-color .22s ease,
        transform .18s ease,
        box-shadow .22s ease;
}


#muralForm .small-btn:hover {
    transform:
        translateY(-1px);

    border-color:
        rgba(127, 233, 220, 0.60);

    background:
        rgba(127, 233, 220, 0.13);

    box-shadow:
        0 8px 24px
        rgba(127, 233, 220, 0.07);
}


#muralForm .small-btn:active {
    transform:
        translateY(0);
}


/* =========================================================
   MENSAGENS DE RETORNO
   ========================================================= */

#muralForm .msg-ok,
#muralForm .msg-err {
    margin-top: 12px;

    font-size: 0.76rem;

    line-height: 1.5;
}


/* =========================================================
   LISTA DO MURAL
   ========================================================= */

#muralList {
    width: min(
        calc(100% - 40px),
        1100px
    );

    margin:
        54px auto 0;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

    align-items: start;
}


/* =========================================================
   CARDS DAS MENSAGENS
   ========================================================= */

/*
 * O app.js pode estar criando elementos diferentes
 * dentro de .mural-list. Estas regras deixam os
 * elementos de primeiro nível com aparência de cartão.
 */

#muralList > * {
    min-width: 0;

    padding: 22px 22px 24px;

    border:
        1px solid
        rgba(255, 255, 255, 0.07);

    border-radius: 17px;

    background:
        rgba(255, 255, 255, 0.025);

    box-shadow:
        0 12px 35px
        rgba(0, 0, 0, 0.08);

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


#muralList > *:hover {
    transform:
        translateY(-3px);

    background:
        rgba(255, 255, 255, 0.04);

    border-color:
        rgba(127, 233, 220, 0.15);

    box-shadow:
        0 18px 42px
        rgba(0, 0, 0, 0.13);
}


/* =========================================================
   TIPOGRAFIA DAS MENSAGENS
   ========================================================= */

/*
 * Regras genéricas para a estrutura atualmente
 * usada pelo mural.
 */

#muralList .mural-author,
#muralList .author {
    font-size: 0.88rem;

    font-weight: 500;

    line-height: 1.4;

    color:
        rgba(255, 255, 255, 0.88);
}


#muralList .mural-date,
#muralList .date {
    margin-top: 5px;

    font-size: 0.64rem;

    letter-spacing: 0.11em;

    text-transform: uppercase;

    color:
        rgba(127, 233, 220, 0.62);
}


#muralList .mural-message,
#muralList .message,
#muralList .text {
    margin-top: 17px;

    font-size: 0.84rem;

    line-height: 1.75;

    color:
        rgba(255, 255, 255, 0.72);
}


/* =========================================================
   LINHA DECORATIVA SUTIL
   ========================================================= */

#muralList .mural-author::after,
#muralList .author::after {
    content: "";

    display: block;

    width: 28px;

    height: 1px;

    margin-top: 11px;

    background:
        rgba(127, 233, 220, 0.35);
}


/* =========================================================
   RESPONSIVIDADE — TABLET
   ========================================================= */

@media (max-width: 900px) {

    #muralList {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   RESPONSIVIDADE — CELULAR
   ========================================================= */

@media (max-width: 650px) {

    #muralForm {
        width:
            calc(100% - 30px);

        padding:
            24px 20px;

        border-radius: 17px;
    }


    #muralForm .form-row {
        grid-template-columns:
            1fr;

        gap: 17px;
    }


    #muralForm textarea {
        min-height: 125px;
    }


    #muralForm .small-btn {
        width: 100%;
    }


    #muralList {
        width:
            calc(100% - 30px);

        grid-template-columns:
            1fr;

        gap: 14px;

        margin-top: 38px;
    }


    #muralList > * {
        padding:
            19px 18px 21px;
    }


#mural .section-heading h2 {
    font-size: 40px;
}

}


/* =========================================================
   CELULAR PEQUENO
   ========================================================= */

@media (max-width: 400px) {

    #muralForm {
        width:
            calc(100% - 22px);

        padding:
            21px 16px;
    }


    #muralList {
        width:
            calc(100% - 22px);
    }

}

/* =========================================================
   ÁGUA-VIVA DECORATIVA NO MURAL
   ========================================================= */

#muralList {
    position: relative;
}


/* Todos os elementos gerados diretamente no mural */

#muralList > * {
    position: relative !important;
    overflow: visible !important;
}


/* Água-viva */

#muralList > *::after {
    content: "";

    position: absolute;

    right: 12px;
    top: 10px;

    width: 38px;
    height: 38px;

    background-image: url("../img/jellyfish_icon.png");

    background-repeat: no-repeat;

    background-position: center;

    background-size: contain;

    opacity: 0.75;

    pointer-events: none;

    z-index: 10;

    animation: muralJellyFloat 4s ease-in-out infinite;
}


@keyframes muralJellyFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-5px) rotate(2deg);
    }

}

.closing-jelly img {
    display: block;
     width: 100px;
    height: 100px;

    object-fit: contain;

    opacity: 0.9;

    animation:
        closingJellyFloat 4s ease-in-out infinite;
}


@keyframes closingJellyFloat {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(-2deg);
    }

    50% {
        transform:
            translateY(-8px)
            rotate(2deg);
    }

}


/* .presente {
  font-size: 30px!important;
} */

/* =========================================================
   A BIA — CARTA
   ========================================================= */

.about-content {
    position: relative;

    width: min(100%, 900px);

    margin: 0 auto;

    text-align: center;
}


/* =========================================================
   CARTA
   ========================================================= */

.about-text {
    position: relative;

    margin-top: 34px;

    padding:
        52px
        62px
        56px;

    background:
        linear-gradient(
            145deg,
            rgba(18, 49, 58, 0.72),
            rgba(8, 31, 40, 0.78)
        );

    border:
        1px solid
        rgba(127, 233, 220, 0.14);

    border-radius: 4px;

    box-shadow:
        0 25px 70px
        rgba(0, 0, 0, 0.20),

        inset 0 1px 0
        rgba(255, 255, 255, 0.035);

    color:
        rgba(243, 241, 230, 0.82);

    text-align: justify;

    text-justify: inter-word;

    overflow: hidden;

    isolation: isolate;
}


/* =========================================================
   TEXTURA / LUZ
   ========================================================= */

.about-text::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: -1;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(127, 233, 220, 0.07),
            transparent 30%
        ),

        radial-gradient(
            circle at 85% 85%,
            rgba(127, 233, 220, 0.045),
            transparent 32%
        );
}


/* =========================================================
   BORDA INTERNA
   ========================================================= */

.about-text::after {
    content: "";

    position: absolute;

    inset: 12px;

    z-index: -1;

    border:
        1px solid
        rgba(127, 233, 220, 0.07);

    pointer-events: none;
}


/* =========================================================
   TÍTULO INTERNO
   ========================================================= */

.about-letter-heading {
    position: relative;

    z-index: 2;

    margin-bottom: 38px;

    text-align: center;
}


.about-letter-heading .section-kicker {
    display: block;

    margin-bottom: 12px;

    font-size: 0.70rem;

    letter-spacing: 0.30em;

    text-transform: uppercase;

    color:
        rgba(127, 233, 220, 0.72);
}


.about-letter-heading h2 {
    margin: 0;

    font-size: clamp(
        1.8rem,
        4vw,
        2.65rem
    );

    line-height: 1.18;

    font-weight: 400;

    color:
        rgba(243, 241, 230, 0.92);
}


.about-letter-heading .about-line {
    width: 42px;

    height: 1px;

    margin:
        22px auto 0;

    background:
        rgba(127, 233, 220, 0.38);
}


/* =========================================================
   TEXTO
   ========================================================= */

.about-text p {
    position: relative;

    z-index: 1;

    margin: 0;

    padding: 0;

    font-size: 1.08rem;

    line-height: 1.9;

    color:
        rgba(243, 241, 230, 0.76);

    text-align: justify;

    text-justify: inter-word;

    text-indent: 2em;
}


/* =========================================================
   DESTAQUE FINAL
   ========================================================= */

/*
 * Mantém o mesmo estilo do restante do texto.
 * A classe continua existindo no HTML, mas não
 * cria mais caixa, borda ou mudança de cor.
 */

.about-highlight {
    margin: 0 !important;

    padding: 0 !important;

    border: 0 !important;

    background: none !important;

    font-size: 1.08rem !important;

    line-height: 1.9;

    color:
        rgba(243, 241, 230, 0.76) !important;

    text-indent: 2em;
}


/* =========================================================
   TE AMAMOS MUITO
   ========================================================= */

.about-love {
    margin-top: 30px !important;

    text-align: center !important;

    text-indent: 0 !important;

    font-size: 1.28rem !important;

    font-style: italic;

    letter-spacing: 0.03em;

    color:
        rgba(127, 233, 220, 0.86) !important;
}


/* =========================================================
   ÁGUA-VIVA
   ========================================================= */

.about-text > p:first-of-type::before {
    content: "";

    position: absolute;

    top: -22px;

    right: -28px;

    width: 48px;

    height: 48px;

    background:
        url("../img/jellyfish_icon.png")
        center / contain
        no-repeat;

    opacity: 0.12;

    pointer-events: none;

    animation:
        aboutJellyFloat 6s ease-in-out infinite;
}


/* =========================================================
   MOVIMENTO DA ÁGUA-VIVA
   ========================================================= */

@keyframes aboutJellyFloat {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(6deg);
    }

    50% {
        transform:
            translateY(-6px)
            rotate(1deg);
    }

}


/* =========================================================
   ASSINATURA
   ========================================================= */

.about-signature {
    position: relative;

    margin-top: 26px;

    text-align: right;
}


.about-signature span {
    display: block;

    margin-bottom: 4px;

    font-size: 0.78rem;

    font-style: italic;

    color:
        rgba(255, 255, 255, 0.48);
}


.about-signature strong {
    font-size: 1.12rem;

    font-weight: 400;

    font-style: italic;

    letter-spacing: 0.04em;

    color:
        rgba(255, 255, 255, 0.82);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 700px) {

    .about-text {
        margin-top: 28px;

        padding:
            42px
            36px
            46px;
    }


    .about-text p,
    .about-highlight {
        font-size: 1rem !important;

        line-height: 1.82;
    }


    .about-letter-heading {
        margin-bottom: 30px;
    }


    .about-letter-heading h2 {
        font-size:
            clamp(
                1.65rem,
                5vw,
                2.2rem
            );
    }


    .about-text > p:first-of-type::before {
        right: -18px;

        width: 40px;

        height: 40px;
    }

}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 450px) {

    .about-text {
        padding:
            34px
            25px
            38px;
    }


    .about-text::after {
        inset: 8px;
    }


    .about-text p,
    .about-highlight {
        font-size: 0.98rem !important;

        line-height: 1.8;
    }


    .about-letter-heading {
        margin-bottom: 26px;
    }


    .about-letter-heading .section-kicker {
        font-size: 0.64rem;

        letter-spacing: 0.24em;
    }


    .about-letter-heading h2 {
        font-size:
            clamp(
                1.5rem,
                7vw,
                1.9rem
            );
    }


    .about-letter-heading .about-line {
        margin-top: 18px;
    }


    .about-love {
        font-size: 1.18rem !important;
    }

}

/* =========================================================
   A BIA — TESTE COM KALAM
   ========================================================= */

.about-text,
.about-text p,
.about-text .about-opening,
.about-text .about-highlight,
.about-text .about-love,
.about-letter-heading,
.about-letter-heading h2,
.about-letter-heading .section-kicker {
    font-family:
        "Kalam",
        cursive !important;
}


/* ---------------------------------------------------------
   TEXTO
   --------------------------------------------------------- */

.about-text p {
    font-size: 1.32rem !important;

    line-height: 1.82 !important;

    font-weight: 400 !important;
}


/* ---------------------------------------------------------
   ABERTURA
   --------------------------------------------------------- */

.about-text .about-opening {
    font-size: 1.18rem !important;
}


/* ---------------------------------------------------------
   TÍTULO
   --------------------------------------------------------- */

.about-letter-heading h2 {
    font-size: clamp(
        2rem,
        4vw,
        2.8rem
    ) !important;

    font-weight: 400 !important;
}


/* ---------------------------------------------------------
   KICKER
   --------------------------------------------------------- */

.about-letter-heading .section-kicker {
    font-size: 0.90rem !important;

    font-weight: 400 !important;

    letter-spacing: 0.12em;
}

/* =========================================================
   MURAL — TÍTULO DA SEÇÃO
   ========================================================= */

#mural .section-kicker {
  font-size: 70px;
}

/* ---------------------------------------------------------
   FINAL
   --------------------------------------------------------- */

.about-text .about-love {
    font-size: 1.40rem !important;

    font-weight: 400 !important;

    font-style: normal !important;
}

/* =========================================================
   HERO — EXPLORAR CONVITE
   ========================================================= */

.scroll-cue {
    display: inline-flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin-top: 32px;

    padding: 10px 18px;

    text-decoration: none;

    color:
        rgba(243, 241, 230, 0.82);

    transition:
        color .25s ease,
        transform .25s ease;
}


.scroll-cue span {
    font-size: 0.82rem;

    font-weight: 500;

    letter-spacing: 0.16em;

    text-transform: uppercase;

    color:
        rgba(243, 241, 230, 0.86);

    text-shadow:
        0 2px 12px
        rgba(0, 0, 0, 0.35);
}


.scroll-cue b {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 38px;

    height: 38px;

    border:
        1px solid
        rgba(127, 233, 220, 0.42);

    border-radius: 50%;

    background:
        rgba(127, 233, 220, 0.07);

    color:
        #7fe9dc;

    font-size: 1.25rem;

    font-weight: 400;

    line-height: 1;

    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}


.scroll-cue:hover {
    color:
        #ffffff;

    transform:
        translateY(-2px);
}


.scroll-cue:hover span {
    color:
        #ffffff;
}


.scroll-cue:hover b {
    background:
        rgba(127, 233, 220, 0.13);

    border-color:
        rgba(127, 233, 220, 0.65);

    box-shadow:
        0 0 20px
        rgba(127, 233, 220, 0.10);

    transform:
        translateY(3px);
}


/* =========================================================
   ANIMAÇÃO SUAVE DA SETA
   ========================================================= */

.scroll-cue b {
    animation:
        scrollCueArrow 2s ease-in-out infinite;
}


@keyframes scrollCueArrow {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(5px);
    }

}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 600px) {

    .scroll-cue {
        margin-top: 26px;
    }


    .scroll-cue span {
        font-size: 0.78rem;

        letter-spacing: 0.14em;
    }


    .scroll-cue b {
        width: 40px;

        height: 40px;

        font-size: 1.3rem;
    }

}

.status-pill.recusado img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: block;
}


/* =========================================================
   AJUSTE FINAL — CELULAR
   ========================================================= */

@media (max-width: 600px) {

  /* -----------------------------------------
     ESTRUTURA GERAL
     ----------------------------------------- */

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .section {
    width: calc(100% - 32px);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }


  /* -----------------------------------------
     CABEÇALHO
     ----------------------------------------- */

  .topbar {
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand {
    min-width: 0;
  }


  /* -----------------------------------------
     TÍTULOS DAS SEÇÕES
     ----------------------------------------- */

  .section-heading {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .section-heading h2 {
    max-width: 100%;
    font-size: 40px;
  }

  .section-heading p {
    width: 100%;
    max-width: 100%;
  }


  /* -----------------------------------------
     HERO
     ----------------------------------------- */

  .hero {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: clamp(62px, 19vw, 78px);
  }

  .hero-date {
    max-width: 100%;
    font-size: clamp(38px, 12vw, 48px);
  }


  /* -----------------------------------------
     EVENTO
     ----------------------------------------- */

  .event-details {
    width: 100%;
    max-width: 100%;
  }

  .event-detail {
    width: 100%;
    max-width: 100%;
  }

  .event-detail strong {
    max-width: 100%;
    font-size: 28px;
  }


  /* -----------------------------------------
     CONTADOR
     ----------------------------------------- */

  .countdown-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .count-box {
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
  }

  .count-box span {
    font-size: clamp(42px, 13vw, 60px);
  }


  /* -----------------------------------------
     CARTA / A BIA
     ----------------------------------------- */

  .about-content {
    width: 100%;
    max-width: 100%;
  }

  .about-text {
    width: 100%;
    max-width: 100%;
    padding-left: 25px;
    padding-right: 25px;
  }


  /* -----------------------------------------
     GALERIA
     ----------------------------------------- */

  .gallery-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


  /* -----------------------------------------
     RSVP
     ----------------------------------------- */

  .rsvp-section {
    width: calc(100% - 32px);
    max-width: 100%;
  }

  .rsvp-panel {
    width: 100%;
    max-width: 100%;
  }

  .invitation-search {
    width: 100%;
    max-width: 100%;
  }

  .family-card {
    width: 100%;
    max-width: 100%;
  }


  /* -----------------------------------------
     MURAL
     ----------------------------------------- */

  .mural-form {
    width: 100%;
    max-width: 100%;
  }

  .mural-list {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
  }


  /* -----------------------------------------
     PRESENTES
     ----------------------------------------- */

  .gifts-section {
    width: calc(100% - 32px);
    max-width: 100%;
  }

  .gift-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gift-card {
    min-width: 0;
    padding: 22px 18px;
  }

  .gift-name {
    font-size: 22px;
  }


  /* -----------------------------------------
     PIX
     ----------------------------------------- */

  .pix-card {
    width: 100%;
    max-width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .pix-content {
    width: 100%;
    max-width: 430px;
  }

  .pix-card .small-btn {
    position: static;
    margin-top: 10px;
  }


  /* -----------------------------------------
     FINAL
     ----------------------------------------- */

  .closing {
    width: calc(100% - 32px);
    max-width: 100%;
  }

  .closing h2 {
    max-width: 100%;
    font-size: 40px;
  }

  .closing-date {
    font-size: clamp(32px, 10vw, 45px);
    letter-spacing: .18em;
  }

}

/* =========================================================
   AJUSTE FINAL — CENTRALIZAÇÃO APÓS ABRIR O CONVITE
   ========================================================= */

@media (max-width: 600px) {

  body.invitation-opened {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  body.invitation-opened main,
  body.invitation-opened footer {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  body.invitation-opened .section {
    width: calc(100% - 32px);
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
  }

}

@media (max-width: 600px) {

  .section-kicker {
    font-size: 32px !important;
    letter-spacing: .18em;
    margin-bottom: 8px;
  }

}

@media (max-width: 600px) {

  .section-kicker {
    font-size: 32px !important;
    letter-spacing: .18em;
    margin-bottom: 8px;
  }

  #mural .section-kicker {
    font-size: 32px !important;
  }

}

@media (max-width: 600px) {

  .closing-jelly img {
    transform: translateX(20px);
  }

}

.closing-jelly {
  position: relative;
  left: 30px;
}

@media (max-width: 600px) {
  .closing-jelly {
    position: relative !important;
    left: 55px !important;
  }
}


.section-heading > p {
  font-size: 18px;
  line-height: 1.5;
}

@media (max-width: 600px) {

  .section-heading > p {
    font-size: 18px !important;
    line-height: 1.5;
    max-width: 500px;
  }

}

.hero-a {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.20em;
  letter-spacing: -0.11em;
}

.bia-liked {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 14px;

    font-size: 13px;

    font-style: italic;

    color: inherit;

}

.bia-liked-image {

    width: 50px;

    height: 50px;

    object-fit: contain;

    display: block;

    flex-shrink: 0;

}


@keyframes biaHeartBeat {

    0%,
    100% {

        transform:
            scale(1);

    }


    5% {

        transform:
            scale(1.18);

    }


    10% {

        transform:
            scale(1);

    }

}

.liked-jelly {

    font-size: 18px;

    display: inline-block;

}