:root {
  --navy: #061f4d;
  --royal: #042461;
  --blue: #093b9e;
  --gold: #d6a31f;
  --gold-light: #f3d77a;
  --gold-soft: #f7e6a7;
  --gold-deep: #8a6510;
  --white: #ffffff;
  --surface: #f6f8fc;
  --ivory: #fbf7ec;
  --text: #0e131f;
  --text-muted: #4f596e;
  --text-on-dark: #c9d2e3;
  --border: #dbe3f0;
  --border-on-dark: rgba(255, 255, 255, 0.18);
  --surface-on-dark: rgba(255, 255, 255, 0.06);
  --surface-on-dark-hover: rgba(255, 255, 255, 0.12);
  --scrim: rgba(6, 31, 77, 0.72);
  --shadow-card: 0 12px 32px rgba(6, 31, 77, 0.1);
  --shadow-float: 0 18px 40px -8px rgba(0, 0, 0, 0.32);
  --gold-metal: linear-gradient(180deg, #f3d77a 0%, #d6a31f 55%, #b8860b 100%);
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-script: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: 1.5rem;
  --container: 75rem;
  --header-h: 4.25rem;
  --announcement-h: 2.75rem;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
blockquote,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
}

section[id] {
  scroll-margin-top: var(--header-h);
}

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

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Show "Toque" on touch screens and "Clique" with a mouse. */
.when-pointer {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .when-touch {
    display: none;
  }

  .when-pointer {
    display: inline;
  }
}

/* ---------- Type ---------- */

.display,
.heading {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
}

.display {
  font-size: 2.125rem;
  line-height: 1.18;
}

.heading {
  color: var(--navy);
  font-size: 1.625rem;
  line-height: 1.23;
  text-wrap: balance;
}

.script {
  font-family: var(--font-script);
  font-size: 1.375rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.27;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.33;
  text-transform: uppercase;
}

.lead {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.53;
  text-wrap: pretty;
}

.verse p {
  font-family: var(--font-script);
  font-size: 1.1875rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.37;
  text-wrap: balance;
}

.verse cite {
  display: block;
  margin-top: 0.25rem;
  color: var(--gold-soft);
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 500;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--gold);
}

.ornament::before,
.ornament::after {
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.6;
}

.ornament .icon {
  width: 0.75rem;
  height: 0.75rem;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:active {
  transform: translateY(1px);
}

.button--small {
  min-height: 2.75rem;
  padding: 0 1rem;
  font-size: 0.875rem;
}

.button--small .icon {
  width: 1.125rem;
  height: 1.125rem;
}

.button--primary {
  background: var(--gold);
  color: var(--navy);
}

.button--primary:hover {
  background: var(--gold-light);
}

.button--dark {
  border-color: var(--border-on-dark);
  background: var(--surface-on-dark);
  color: var(--white);
}

.button--dark:hover {
  background: var(--surface-on-dark-hover);
}

.button--light {
  border-color: var(--border);
  background: var(--white);
  color: var(--navy);
}

.button--light:hover {
  border-color: var(--navy);
  background: var(--surface);
}

.button--block {
  width: 100%;
}

.icon-button {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.icon-button:hover {
  border-color: var(--navy);
  background: var(--surface);
}

.icon-button--dark {
  border-color: var(--border-on-dark);
  background: var(--surface-on-dark);
  color: var(--white);
}

.icon-button--dark:hover {
  border-color: var(--border-on-dark);
  background: var(--surface-on-dark-hover);
}

/* ---------- Announcement + header ---------- */

.announcement {
  display: flex;
  min-height: var(--announcement-h);
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--gold-soft);
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.38;
  text-align: center;
  text-decoration: none;
}

.announcement strong {
  font-weight: 600;
}

.announcement:hover .announcement__extra {
  text-decoration: underline;
}

.announcement__icon {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--gold-deep);
}

.announcement .icon:last-child {
  width: 1rem;
  height: 1rem;
}

.announcement__extra {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border-on-dark);
  background: var(--navy);
  color: var(--white);
}

.site-header__inner {
  --gutter: 1.25rem;
  display: flex;
  min-height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  text-decoration: none;
}

.brand__dove {
  width: 1.65rem;
  height: auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__kicker {
  display: none;
  color: var(--text-on-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.33;
  text-transform: uppercase;
}

.brand__name,
.invite__title {
  background: var(--gold-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  background-image: linear-gradient(180deg, #d6a31f 0%, #f3d77a 50%, #b8860b 100%);
}

.site-nav {
  display: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-header__cta-icon {
  display: none;
}

/* ---------- Hero / localização ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 2rem 0 2.5rem;
  background: var(--navy);
  color: var(--white);
}

.hero__glow {
  position: absolute;
  top: -10.5rem;
  left: 7.5rem;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: var(--blue);
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero__dove {
  position: absolute;
  top: -1.6rem;
  right: -3rem;
  width: 9.4rem;
  height: auto;
  opacity: 0.07;
  pointer-events: none;
}

.hero__title {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.eyebrow--ornament {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
}

.eyebrow--ornament::before,
.eyebrow--ornament::after {
  width: 1.25rem;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.7;
}

.hero__tagline {
  color: var(--gold-soft);
}

.location-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  background: var(--white);
  box-shadow: var(--shadow-float);
  color: var(--text);
}

.map {
  position: relative;
  display: block;
  height: 14.375rem;
  background: var(--surface);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.map__chip {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem 0.375rem 0.625rem;
  border-radius: 999px;
  background: rgba(6, 31, 77, 0.92);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.38;
}

.map__chip .icon {
  width: 0.875rem;
  height: 0.875rem;
}

.map:focus-visible {
  outline-offset: -3px;
}

.address {
  --pin-size: 2.5rem;
  --pad-y: 1rem;
  --pad-right: 0.75rem;
  --pad-left: 1rem;
  --col-gap: 0.75rem;
  display: grid;
  grid-template-columns: var(--pin-size) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 var(--col-gap);
  padding: var(--pad-y) var(--pad-right) var(--pad-y) var(--pad-left);
}

.address__pin {
  display: grid;
  width: var(--pin-size);
  height: var(--pin-size);
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--navy);
}

.address__text {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.address__street {
  color: var(--navy);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.33;
}

.address__place {
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.43;
}

.address__details {
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.38;
}

/* Aviso da mudança: rodapé do card, alinhado à mesma grade do pin e do texto. */
.address__notice {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: var(--pin-size) minmax(0, 1fr);
  align-items: start;
  gap: 0 var(--col-gap);
  margin: var(--pad-y) calc(-1 * var(--pad-right)) calc(-1 * var(--pad-y)) calc(-1 * var(--pad-left));
  padding: 0.875rem var(--pad-right) 0.875rem var(--pad-left);
  border-top: 1px solid var(--border);
  background: var(--ivory);
}

.address__notice .icon {
  justify-self: center;
  margin-top: 0.125rem;
  color: var(--gold-deep);
}

.address__notice p {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.address__notice-label {
  color: var(--gold-deep);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.address__notice-text {
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.43;
}

.address__copy .icon--check,
.address__copy.is-copied .icon--copy {
  display: none;
}

.address__copy.is-copied .icon--check {
  display: block;
}

.routes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.routes__main {
  grid-column: 1 / -1;
}

.routes__waze,
.routes__share {
  min-height: 2.75rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
}

.routes__waze .icon,
.routes__share .icon {
  width: 1.125rem;
  height: 1.125rem;
}

.schedule {
  padding: 1.25rem;
  border: 1px solid var(--border-on-dark);
  border-radius: 1.25rem;
  background: var(--surface-on-dark);
}

.schedule__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.38;
}

.schedule__title .icon {
  color: var(--gold);
}

.schedule__list li {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "day time"
    "desc time";
  align-items: center;
  column-gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-on-dark);
}

.schedule__list li:last-child {
  border-bottom: 0;
}

.schedule__day {
  grid-area: day;
  font-weight: 600;
  line-height: 1.38;
}

.schedule__desc {
  grid-area: desc;
  color: var(--text-on-dark);
  font-size: 0.875rem;
  line-height: 1.43;
}

.schedule__time {
  grid-area: time;
  color: var(--gold);
  font-size: 1.125rem;
  font-weight: 600;
}

.schedule__festa {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: var(--surface-on-dark);
  color: var(--gold-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.38;
}

.schedule__festa .icon {
  width: 0.875rem;
  height: 0.875rem;
  margin-top: 0.125rem;
  color: var(--gold);
}

/* ---------- Festa dos Tabernáculos ---------- */

.festa {
  padding: 3rem 0;
  background: var(--ivory);
}

.festa__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.festa__eyebrow {
  color: var(--gold-deep);
}

.invite {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1.5rem;
  border-radius: 1.75rem;
  background: var(--navy);
  box-shadow: var(--shadow-card);
  color: var(--white);
  text-align: center;
}

.invite::before {
  position: absolute;
  inset: 0.5rem;
  border: 1px solid rgba(214, 163, 31, 0.45);
  border-radius: 1.375rem;
  content: "";
  pointer-events: none;
}

.invite__main,
.invite__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.invite__main {
  align-items: center;
}

.invite__emblem {
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--surface-on-dark);
  color: var(--gold);
}

.invite__emblem .icon {
  width: 1.875rem;
  height: 1.875rem;
  stroke-width: 1.75;
}

.invite__kicker {
  color: var(--gold-soft);
}

.invite__title {
  text-wrap: balance;
}

.invite__dates {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.invite__date {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.27;
}

.invite__time {
  color: var(--gold-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.invite__divider {
  display: none;
}

.invite__description {
  color: var(--text-on-dark);
  text-wrap: pretty;
}

.invite__details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--surface-on-dark);
  text-align: left;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.info-row__icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-on-dark);
  color: var(--gold);
}

.info-row__text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.info-row__label {
  color: var(--gold-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.info-row__value {
  font-weight: 600;
  line-height: 1.38;
}

.invite__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ---------- Vídeo ---------- */

.video {
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
  background: var(--white);
}

.video__dove {
  display: none;
}

.video__grid {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.video__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.video__text .lead {
  font-size: 1rem;
  line-height: 1.5;
}

.video__follow {
  order: 3;
  width: 100%;
}

.video__grid .video__follow {
  margin-top: 0;
}

.reel {
  position: relative;
  width: min(18rem, 100%);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--navy);
  box-shadow: var(--shadow-card);
}

.reel__poster {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
  cursor: pointer;
  text-align: left;
}

.reel__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel__poster::before,
.reel__poster::after {
  position: absolute;
  right: 0;
  left: 0;
  content: "";
  pointer-events: none;
}

.reel__poster::before {
  top: 0;
  height: 7.5rem;
  background: linear-gradient(180deg, rgba(6, 31, 77, 0.7), rgba(6, 31, 77, 0));
}

.reel__poster::after {
  bottom: 0;
  height: 12.5rem;
  background: linear-gradient(180deg, rgba(6, 31, 77, 0), rgba(6, 31, 77, 0.88));
}

.reel__chip {
  position: absolute;
  z-index: 1;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem 0.375rem 0.625rem;
  border-radius: 999px;
  background: var(--scrim);
  font-size: 0.8125rem;
  font-weight: 500;
}

.reel__chip .icon {
  width: 0.875rem;
  height: 0.875rem;
}

.reel__play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  width: 4.75rem;
  height: 4.75rem;
  place-items: center;
  padding-left: 0.25rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: var(--shadow-float);
  color: var(--navy);
  transform: translate(-50%, -50%);
  transition: transform 160ms ease, background-color 160ms ease;
}

.reel__play .icon {
  width: 1.875rem;
  height: 1.875rem;
  stroke: none;
}

.reel__poster:hover .reel__play {
  background: var(--gold-light);
  transform: translate(-50%, -50%) scale(1.06);
}

.reel__caption {
  position: absolute;
  z-index: 1;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
}

/* Visualizador do Reel: abre por cima da página com o player oficial do Instagram. */
html:has(.reel-dialog[open]) {
  overflow: hidden;
}

.reel-dialog {
  width: min(26rem, 100% - 1rem);
  max-height: calc(100dvh - 1.5rem);
  padding: 3.75rem 0.5rem 1.25rem;
  border: 1px solid var(--border-on-dark);
  border-radius: 1.5rem;
  background: var(--navy);
  box-shadow: var(--shadow-float);
  color: var(--white);
  overflow-y: auto;
}

.reel-dialog[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.reel-dialog::backdrop {
  background: rgba(3, 18, 46, 0.85);
  backdrop-filter: blur(4px);
}

.reel-dialog__title {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  color: var(--gold-soft);
}

.reel-dialog__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}

.reel-dialog__player {
  display: flex;
  width: 100%;
  justify-content: center;
}

.reel-dialog__player .instagram-media {
  width: 100% !important;
  margin: 0 !important;
}

.reel-dialog__player iframe {
  border-radius: 0.75rem !important;
}

.reel-dialog__status {
  color: var(--text-on-dark);
  font-size: 0.875rem;
  text-align: center;
}

.reel-dialog__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-soft);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* ---------- Primeira visita ---------- */

.first-visit {
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
  background: var(--surface);
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.first-visit .ornament {
  display: none;
}

.steps {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--white);
}

.step__number {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}

.step__title {
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.33;
}

.step__body {
  margin-top: 0.25rem;
  color: var(--text-muted);
}

/* ---------- Chamada final ---------- */

.final {
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
  background: var(--royal);
  color: var(--white);
}

.final__glow {
  position: absolute;
  top: -9.4rem;
  left: 50%;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  background: var(--blue);
  filter: blur(100px);
  opacity: 0.6;
  pointer-events: none;
  transform: translateX(-50%);
}

.final__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.final__logo {
  width: 15rem;
  height: auto;
}

.verse--gold p {
  color: var(--gold-soft);
}

.verse--gold cite {
  color: var(--text-on-dark);
}

.final .heading {
  color: var(--white);
}

.final__text {
  color: var(--text-on-dark);
}

.final__cta {
  width: 100%;
}

/* ---------- Rodapé ---------- */

.site-footer {
  padding: 2.5rem 0 2rem;
  background: var(--navy);
  color: var(--text-on-dark);
}

.site-footer__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.site-footer__brand img {
  width: 1.875rem;
  height: auto;
}

.site-footer__name {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.33;
}

.site-footer__tagline {
  color: var(--gold-soft);
}

.site-footer__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.43;
}

.site-footer__info li,
.site-footer__social a {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.site-footer__info .icon,
.site-footer__social .icon {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  color: var(--gold);
}

.site-footer__social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.site-footer__social .eyebrow {
  color: var(--text-on-dark);
}

.site-footer__social a {
  align-items: center;
  color: var(--gold-soft);
  font-weight: 600;
  text-underline-offset: 3px;
}

.site-footer__social a .icon {
  margin-top: 0;
}

.site-footer__bottom {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-on-dark);
  text-align: center;
}

.site-footer__bottom small {
  font-size: 0.8125rem;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  z-index: 60;
  bottom: 1.25rem;
  left: 50%;
  max-width: min(22rem, calc(100% - 2rem));
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--navy);
  box-shadow: var(--shadow-float);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, 0.5rem);
  transition: opacity 200ms ease, transform 200ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 500ms ease, transform 500ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Tablet ---------- */

@media (min-width: 48rem) {
  .announcement__extra {
    display: inline;
  }

  .hero__grid,
  .festa__content,
  .video__grid,
  .first-visit .container,
  .final__content {
    max-width: 45rem;
  }

  .map {
    height: 22rem;
  }
}

/* ---------- Desktop (telas 16:9) ---------- */

@media (min-width: 64rem) {
  :root {
    --header-h: 5rem;
  }

  .site-header__inner {
    --gutter: 2rem;
  }

  .brand {
    gap: 0.75rem;
  }

  .brand__dove {
    width: 2.125rem;
  }

  .brand__kicker {
    display: block;
  }

  .brand__name {
    font-size: 1.75rem;
    line-height: 1.07;
  }

  .site-nav {
    display: flex;
    gap: 2rem;
    margin-left: auto;
  }

  .site-nav a {
    padding: 0.75rem 0 0.25rem;
    border-bottom: 2px solid transparent;
    color: var(--text-on-dark);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.33;
    text-decoration: none;
    transition: color 160ms ease, border-color 160ms ease;
  }

  .site-nav a:hover {
    color: var(--white);
  }

  .site-nav a[aria-current="true"] {
    border-color: var(--gold);
    color: var(--gold-soft);
  }

  .site-header__actions {
    gap: 0.75rem;
    margin-left: 2.5rem;
  }

  .site-header__cta-icon {
    display: block;
  }

  .display {
    font-size: 3.5rem;
    line-height: 1.14;
  }

  .heading {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .script {
    font-size: 1.875rem;
    line-height: 1.27;
  }

  .lead {
    font-size: 1.1875rem;
    line-height: 1.58;
  }

  .verse p {
    font-size: 1.5rem;
    line-height: 1.42;
  }

  /* Hero: 2 colunas (texto e rotas | mapa). */
  .hero {
    display: grid;
    min-height: calc(100svh - var(--header-h) - var(--announcement-h));
    align-content: center;
    padding: 5rem 0;
  }

  .hero__glow {
    top: -16rem;
    right: 3rem;
    left: auto;
    width: 47.5rem;
    height: 47.5rem;
    filter: blur(160px);
    opacity: 0.5;
  }

  .hero__grid {
    display: grid;
    max-width: var(--container);
    grid-template-areas:
      "title map"
      "address map"
      "routes map"
      "schedule map";
    grid-template-columns: minmax(0, 35rem) minmax(0, 35rem);
    align-content: center;
    justify-content: space-between;
    gap: 1.5rem 5rem;
  }

  .hero__dove {
    top: -9.5rem;
    right: auto;
    left: 21.25rem;
    width: 22rem;
  }

  .hero__title {
    grid-area: title;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
  }

  .eyebrow--ornament {
    gap: 0.75rem;
  }

  .eyebrow--ornament::before {
    width: 2rem;
  }

  .eyebrow--ornament::after {
    display: none;
  }

  .location-card {
    display: contents;
  }

  .map {
    height: 40rem;
    grid-area: map;
    align-self: center;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-float);
  }

  .map__chip {
    top: 1rem;
    left: 1rem;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem 0.5rem 0.75rem;
  }

  .map__chip .icon {
    width: 1rem;
    height: 1rem;
  }

  .address {
    --pin-size: 3rem;
    --pad-y: 1.25rem;
    --pad-right: 1.25rem;
    --pad-left: 1.25rem;
    --col-gap: 1rem;
    grid-area: address;
    border: 1px solid var(--border-on-dark);
    border-radius: 1.25rem;
    background: var(--surface-on-dark);
    color: var(--white);
  }

  .address__notice {
    border-top-color: var(--border-on-dark);
    background: none;
  }

  .address__notice .icon {
    color: var(--gold);
  }

  .address__notice-label {
    color: var(--gold-soft);
  }

  .address__notice-text {
    color: var(--white);
  }

  .address__pin .icon {
    width: 1.375rem;
    height: 1.375rem;
  }

  .address__street {
    color: var(--white);
  }

  .address__place {
    color: var(--white);
  }

  .address__details {
    color: var(--text-on-dark);
    font-size: 0.875rem;
  }

  .address__copy {
    border-color: var(--border-on-dark);
    background: var(--surface-on-dark);
    color: var(--white);
  }

  .address__copy:hover {
    border-color: var(--border-on-dark);
    background: var(--surface-on-dark-hover);
  }

  .routes {
    display: flex;
    grid-area: routes;
    align-items: center;
  }

  .routes__waze {
    min-height: 3.25rem;
    padding: 0 1.5rem;
    font-size: 1rem;
  }

  .routes__waze .icon {
    width: 1.25rem;
    height: 1.25rem;
  }

  .routes__share {
    width: 2.75rem;
    padding: 0;
  }

  .routes__share-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .schedule {
    grid-area: schedule;
    padding: 1.25rem 1.5rem;
  }

  .schedule__title {
    padding-bottom: 1rem;
  }

  .schedule__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .schedule__list li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0 1.25rem;
    border-bottom: 0;
    border-left: 1px solid var(--border-on-dark);
  }

  .schedule__list li:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .schedule__festa {
    margin-top: 1rem;
  }

  /* Seções em tela cheia, como as telas 16:9 do Figma. */
  .festa,
  .video,
  .first-visit {
    display: grid;
    min-height: calc(100svh - var(--header-h));
    align-content: center;
    padding: 6rem 0;
  }

  .festa__content,
  .video__grid,
  .first-visit .container,
  .final__content {
    max-width: var(--container);
  }

  .festa__content {
    gap: 1.5rem;
  }

  .invite {
    display: grid;
    grid-template-columns: 32.5rem 1px minmax(0, 1fr);
    align-items: center;
    gap: 3.5rem;
    padding: 3.5rem 4rem;
    border-radius: 2rem;
  }

  .invite::before {
    inset: 0.75rem;
  }

  .invite__emblem {
    width: 4.5rem;
    height: 4.5rem;
  }

  .invite__emblem .icon {
    width: 2.125rem;
    height: 2.125rem;
  }

  .invite__date {
    font-size: 1.75rem;
  }

  .invite .ornament::before,
  .invite .ornament::after {
    width: 3.5rem;
  }

  .invite__divider {
    display: block;
    align-self: stretch;
    background: var(--gold);
    opacity: 0.4;
  }

  .invite__aside {
    gap: 1.5rem;
    text-align: left;
  }

  .invite__description {
    font-size: 1.1875rem;
    line-height: 1.58;
  }

  .invite__details {
    gap: 1rem;
    padding: 1.5rem;
  }

  .video__dove {
    position: absolute;
    top: 50%;
    left: calc(50% - 22rem);
    display: block;
    width: 21.25rem;
    height: 24rem;
    background: var(--navy);
    -webkit-mask: url("assets/logo-peniel-pomba.svg") center / contain no-repeat;
    mask: url("assets/logo-peniel-pomba.svg") center / contain no-repeat;
    opacity: 0.04;
    transform: translateY(-95%);
  }

  .video__grid {
    display: grid;
    grid-template-columns: 32.5rem 27rem;
    align-items: center;
    justify-content: center;
    gap: 7.5rem;
  }

  .video__text {
    align-items: flex-start;
    gap: 1.25rem;
    text-align: left;
  }

  .video__text .lead {
    font-size: 1.1875rem;
    line-height: 1.58;
  }

  .video__follow {
    order: 0;
    width: auto;
    margin-top: 0.5rem;
  }

  .reel {
    width: 27rem;
    border-radius: 1.75rem;
  }

  .reel__chip {
    top: 1rem;
    left: 1rem;
    gap: 0.5rem;
  }

  .reel__chip .icon {
    width: 1rem;
    height: 1rem;
  }

  .reel__play {
    width: 6rem;
    height: 6rem;
    padding-left: 0.375rem;
  }

  .reel__play .icon {
    width: 2.375rem;
    height: 2.375rem;
  }

  .reel__caption {
    bottom: 1.75rem;
    left: 1.75rem;
  }

  .reel__caption .script {
    font-size: 1.875rem;
  }

  .first-visit::before,
  .first-visit::after {
    position: absolute;
    width: 38rem;
    height: 38rem;
    border-radius: 50%;
    background: var(--gold-soft);
    content: "";
    filter: blur(180px);
    opacity: 0.45;
    pointer-events: none;
  }

  .first-visit::before {
    top: -14rem;
    left: -11rem;
  }

  .first-visit::after {
    right: -11rem;
    bottom: -14rem;
  }

  .section-head {
    max-width: 47.5rem;
    margin-inline: auto;
    gap: 0.75rem;
  }

  .first-visit .ornament {
    display: flex;
    margin-top: 3rem;
  }

  .first-visit .ornament::before,
  .first-visit .ornament::after {
    width: 4rem;
  }

  /* Passos como trilha: medalhões ligados por um fio dourado. */
  .steps {
    position: relative;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .steps::before {
    position: absolute;
    top: 2.75rem;
    right: calc(100% / 6 + 3.5rem);
    left: calc(100% / 6 + 3.5rem);
    border-top: 1.5px dashed var(--gold);
    content: "";
    opacity: 0.7;
  }

  .step {
    position: relative;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 0 0.5rem;
    border: 0;
    background: none;
    text-align: center;
  }

  .step__number {
    width: 5.5rem;
    height: 5.5rem;
    border: 1.5px solid var(--gold);
    font-size: 2.5rem;
  }

  .step__body {
    margin-top: 0.5rem;
  }

  .final {
    padding: 6rem 0;
  }

  .final__glow {
    top: -23.75rem;
    width: 56rem;
    height: 56rem;
    filter: blur(180px);
    opacity: 0.55;
  }

  .final__logo {
    width: 21.25rem;
  }

  .final__text {
    font-size: 1.1875rem;
    line-height: 1.58;
  }

  .final__cta {
    width: auto;
  }

  .site-footer {
    padding: 2.5rem 0 1.75rem;
  }

  .site-footer__grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .site-footer__brand {
    flex-direction: row;
    gap: 0.75rem;
  }

  .site-footer__brand img {
    width: 2.5rem;
  }

  .site-footer__info {
    align-items: flex-start;
  }

  .site-footer__social {
    align-items: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
