:root {
  --green-900: #0b221a;
  --green-800: #0d2a1f;
  --green-700: #133d2d;
  --green-500: #1f6b4f;
  --gold: #c9a45c;
  --gold-light: #e6cf98;
  --cream: #f8f3ea;
  --cream-dark: #efe6d6;
  --ink: #2a2622;
  --muted: #6b645b;

  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Great Vibes", cursive;
  --sans: "Montserrat", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 96px 0; }

/* ---------- Tipografia ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 12px;
}
.eyebrow--dark { color: var(--gold); }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  color: var(--green-800);
  margin: 0 0 28px;
}
.section-title--light { color: var(--cream); }

.script {
  font-family: var(--script);
  font-size: 48px;
  line-height: 1;
  color: var(--green-500);
  margin: 8px 0 0;
}
.script--light { color: var(--gold-light); }

strong { font-weight: 600; }

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--green-900);
  box-shadow: 0 10px 30px -10px rgba(201, 164, 92, .7);
}
.btn--outline {
  border: 1px solid var(--gold-light);
  color: var(--gold-light);
}
.btn--outline:hover { background: var(--gold-light); color: var(--green-900); }
.btn--green {
  background: var(--green-700);
  color: var(--cream);
  margin-top: 12px;
}
.btn--green:hover { background: var(--green-500); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(11, 34, 26, .35);
  box-shadow: 0 1px 0 rgba(230, 207, 152, .1);
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.nav__inner { position: relative; }
.nav.is-scrolled,
.nav.is-open {
  background: rgba(11, 34, 26, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(230, 207, 152, .18);
}
.nav__inner {
  max-width: 1200px;
  height: 68px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav__brand {
  font-family: var(--script);
  font-size: 30px;
  line-height: 1;
  color: var(--gold-light);
  text-decoration: none;
  white-space: nowrap;
}
.nav__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__menu a {
  position: relative;
  display: block;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(248, 243, 234, .85);
  white-space: nowrap;
  transition: color .25s;
}
.nav__menu a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 1px;
  background: var(--gold-light);
  transform: scaleX(0);
  transition: transform .3s;
}
.nav__menu a:hover,
.nav__menu a.is-active { color: var(--gold-light); }
.nav__menu a:hover::after,
.nav__menu a.is-active::after { transform: scaleX(1); }
.nav__menu .nav__cta {
  margin-left: 8px;
  padding: 9px 18px;
  border: 1px solid var(--gold-light);
  border-radius: 999px;
  color: var(--gold-light);
}
.nav__menu .nav__cta:hover,
.nav__menu .nav__cta.is-active {
  background: var(--gold-light);
  color: var(--green-900);
}
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: var(--gold-light);
  transition: transform .3s, opacity .3s, top .3s;
}
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 27px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 24px;
    background: rgba(11, 34, 26, .97);
    border-bottom: 1px solid rgba(230, 207, 152, .18);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s, transform .3s, visibility .3s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
  .nav__menu a {
    padding: 14px 4px;
    font-size: 13px;
    border-bottom: 1px solid rgba(230, 207, 152, .1);
  }
  .nav__menu a:not(.nav__cta)::after { display: none; }
  .nav__menu .nav__cta {
    margin: 18px 0 0;
    padding: 14px;
    text-align: center;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 110svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  color: var(--cream);
  background: var(--green-900);
  overflow: hidden;
}
/* Laterais: a mesma foto ampliada e desfocada */
.hero__blur {
  position: absolute;
  inset: -80px;
  background-size: cover;
  background-position: center;
  filter: blur(36px) brightness(.7) saturate(1.15);
}
/* Foto da capa (vertical, 1066x1600): ocupa toda a largura da tela. */
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 60%;
  animation: heroFade 1.2s ease-out both;
}
@keyframes heroFade { from { opacity: 0; } }
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 34, 26, .25) 0%, rgba(11, 34, 26, .35) 40%, rgba(11, 34, 26, .95) 85%, var(--green-900) 100%);
}
.hero__content {
  position: relative;
  padding: 0 20px calc(110px + 10vh);
  padding-bottom: calc(110px + 10svh);
  max-width: 760px;
}
.hero__name {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(64px, 14vw, 130px);
  line-height: 1;
  margin: 0;
  color: var(--cream);
  text-shadow: 0 4px 30px rgba(0, 0, 0, .4);
}
.hero__course {
  font-family: var(--serif);
  font-size: clamp(24px, 4vw, 34px);
  letter-spacing: .25em;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.hero__school {
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--gold-light);
  margin: 6px 0 22px;
}
.hero__date {
  font-variant-numeric: lining-nums;
  display: inline-block;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  padding: 8px 26px;
  border-top: 1px solid rgba(230, 207, 152, .5);
  border-bottom: 1px solid rgba(230, 207, 152, .5);
  margin: 0;
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1px solid var(--gold-light);
  border-radius: 20px;
}
.hero__scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--gold-light);
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 18px 0;
  color: var(--gold-light);
}
.divider span { width: 70px; height: 1px; background: currentColor; opacity: .6; }
.divider i { font-style: normal; font-size: 14px; }

/* ---------- Frase ---------- */
.quote {
  background: var(--green-900);
  color: var(--cream);
  text-align: center;
  padding: 40px 20px 100px;
}
.quote blockquote {
  max-width: 760px;
  margin: 0 auto;
}
.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 3.4vw, 32px);
  line-height: 1.45;
  margin: 0;
}

/* ---------- Convite ---------- */
.invite__grid,
.thanks__grid,
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.invite__photo,
.thanks__photo { margin: 0; position: relative; }
.invite__photo img,
.thanks__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 200px 200px 6px 6px;
  box-shadow: 0 30px 60px -30px rgba(13, 42, 31, .55);
}
.invite__photo::before {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 1px solid var(--gold);
  border-radius: 200px 200px 6px 6px;
  z-index: -1;
}
.invite__sign {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--green-700);
  margin-bottom: 0;
}

/* ---------- Contagem ---------- */
.countdown {
  background:
    radial-gradient(circle at 20% 0%, rgba(31, 107, 79, .55), transparent 55%),
    var(--green-800);
  text-align: center;
  color: var(--cream);
}
.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 150px));
  justify-content: center;
  gap: 18px;
}
.countdown__item {
  padding: 26px 10px 18px;
  border: 1px solid rgba(230, 207, 152, .35);
  border-radius: 14px;
  background: rgba(255, 255, 255, .03);
}
.countdown__item span {
  display: block;
  font-family: var(--serif);
  font-size: clamp(38px, 7vw, 60px);
  font-weight: 500;
  line-height: 1;
  color: var(--gold-light);
  font-variant-numeric: lining-nums tabular-nums;
}
.countdown__item small {
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  opacity: .8;
}
.countdown__done {
  font-family: var(--script);
  font-size: 56px;
  color: var(--gold-light);
  margin: 0;
}

/* ---------- Agradecimento ---------- */
.thanks { background: var(--cream-dark); }
.thanks__grid { grid-template-columns: 1fr 1.3fr; }
.thanks__photo img {
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 18px;
}
.thanks__photo figcaption {
  margin-top: 14px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--muted);
}
.thanks__highlight {
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  color: var(--green-700);
}

/* ---------- Programação ---------- */
.events { text-align: center; }
.events__grid {
  display: grid;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.event-card {
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-radius: 18px;
  padding: 40px 36px;
  box-shadow: 0 20px 50px -35px rgba(13, 42, 31, .4);
}
.event-card--featured {
  background: var(--green-800);
  color: var(--cream);
  border-color: var(--green-800);
}
.event-card h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.15;
  margin: 18px 0 4px;
  color: var(--green-800);
}
.event-card--featured h3 { color: var(--gold-light); }
.event-card__meta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.event-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--gold);
}
.event-card__icon svg { width: 24px; height: 24px; fill: var(--gold); }

/* ---------- Dress code ---------- */
.dresscode { background: var(--cream-dark); text-align: center; }
.dresscode__lead {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--green-700);
  margin: -12px 0 40px;
}
.dresscode__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  text-align: left;
}
.dresscode__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px -35px rgba(13, 42, 31, .4);
}
.dresscode__card figure {
  margin: 0;
  padding: 24px 24px 0;
  display: grid;
  place-items: center;
}
.dresscode__card img { width: 100%; max-height: 360px; object-fit: contain; }
.dresscode__body {
  padding: 24px 32px 32px;
  border-top: 1px solid var(--cream-dark);
  margin-top: 16px;
  flex: 1;
}
.dresscode__body h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--green-800);
}
.dresscode__body p { margin: 0; }
.swatches {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 76px));
  gap: 10px;
}
.swatches li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
  color: var(--muted);
}
.swatches span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), 0 4px 10px -4px rgba(0, 0, 0, .3);
}
.looks { list-style: none; padding: 0; margin: 0; }
.looks li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid var(--cream-dark);
}
.looks li:last-child { border-bottom: 0; }
.looks li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 10px;
  font-size: 11px;
  color: var(--gold);
}
.dresscode__note {
  position: relative;
  max-width: 720px;
  margin: 56px auto 0;
  padding: 40px 32px 34px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(31, 107, 79, .6), transparent 70%),
    var(--green-800);
  color: var(--cream);
  box-shadow: 0 0 0 1px var(--gold), 0 0 0 7px var(--green-800), 0 0 0 8px rgba(201, 164, 92, .5), 0 30px 60px -30px rgba(13, 42, 31, .7);
}
.dresscode__note-icon {
  position: absolute;
  top: -20px;
  left: 50%;
  width: 40px;
  height: 40px;
  margin-left: -20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--green-900);
  font-size: 16px;
}
.dresscode__note p { margin: 0; }
.dresscode__note-title {
  font-family: var(--script);
  font-size: 44px;
  line-height: 1.1;
  color: var(--gold-light);
  margin-bottom: 10px !important;
}
.dresscode__note p:nth-of-type(2) {
  font-family: var(--serif);
  font-size: clamp(22px, 3.4vw, 28px);
  line-height: 1.35;
}
.dresscode__note strong {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.15em;
  white-space: nowrap;
  color: var(--gold-light);
  background: linear-gradient(transparent 82%, rgba(201, 164, 92, .45) 82%, rgba(201, 164, 92, .45) 92%, transparent 92%);
  padding: 0 .12em;
}
.dresscode__note-sub {
  margin-top: 10px !important;
  font-size: 15px;
  color: rgba(248, 243, 234, .8);
}

/* ---------- Ingressos ---------- */
.tickets {
  background:
    linear-gradient(rgba(11, 34, 26, .88), rgba(11, 34, 26, .92)),
    url("assets/img/yasmin-bola.jpeg") center 35% / cover fixed;
  color: var(--cream);
  text-align: center;
}
.tickets__inner { max-width: 760px; }
.tickets__alert {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  background: rgba(201, 164, 92, .15);
  border: 1px solid rgba(230, 207, 152, .35);
  font-size: 15px;
}

/* ---------- Local ---------- */
.location { background: var(--cream-dark); }
.location h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  margin: 0;
  color: var(--green-700);
}
.location__map iframe {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 20px 50px -30px rgba(13, 42, 31, .5);
}

/* ---------- RSVP ---------- */
.rsvp {
  background:
    radial-gradient(circle at 80% 100%, rgba(31, 107, 79, .5), transparent 55%),
    var(--green-900);
  color: var(--cream);
  text-align: center;
}
.rsvp__inner { max-width: 640px; }
.rsvp .btn { margin-top: 18px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--green-900);
  color: rgba(248, 243, 234, .7);
  text-align: center;
  padding: 40px 20px 50px;
  border-top: 1px solid rgba(230, 207, 152, .15);
  font-size: 13px;
  letter-spacing: .08em;
}
.footer p { margin: 0; }

/* ---------- Animação ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__img, .hero__scroll span { animation: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 860px) {
  section { padding: 72px 0; }
  .invite__grid,
  .thanks__grid,
  .location__grid,
  .dresscode__grid { grid-template-columns: 1fr; gap: 40px; }
  .invite__photo { max-width: 420px; margin: 0 auto; width: 100%; }
  .thanks__photo { order: -1; }
  .tickets { background-attachment: scroll; }
}

@media (max-width: 520px) {
  .hero__img {
    bottom: auto;
    height: auto;
    -webkit-mask-image: linear-gradient(#000 50%, transparent 98%);
    mask-image: linear-gradient(#000 50%, transparent 98%);
  }
  .countdown__grid { grid-template-columns: repeat(2, 1fr); }
  .event-card { padding: 32px 24px; }
  .dresscode__body { padding: 22px 22px 26px; }
  .invite__photo::before { inset: -10px 10px 10px -10px; }
  .btn { width: 100%; text-align: center; }
}

.invite__role {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}
