:root {
  --paper: #f4f0e8;
  --paper-light: #faf8f3;
  --olive: #33402a;
  --olive-2: #526247;
  --olive-soft: #e2e7dc;
  --ink: #20251d;
  --muted: #687064;
  --line: rgba(51, 64, 42, 0.18);
  --white: #fff;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --max: 1180px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll {
  overflow: hidden;
}
button,
a {
  font: inherit;
}
a {
  color: inherit;
}
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--olive);
  color: #f6f2e9;
  display: grid;
  place-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader span {
  font: italic 2rem var(--serif);
  letter-spacing: 0.04em;
}
.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}
.site-nav {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #fff0;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}
.site-nav.scrolled {
  background: rgb(244 240 232 / 0.92);
  backdrop-filter: blur(16px);
  border-color: var(--line);
  padding-top: 13px;
  padding-bottom: 13px;
}
.nav-logo {
  text-decoration: none;
  font: italic 1.35rem var(--serif);
  color: var(--olive);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links {
  display: flex;
  gap: 25px;
}
.nav-links a,
.mobile-nav a {
  text-decoration: none;
  color: var(--olive);
  text-transform: uppercase;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.nav-links a {
  opacity: 0.75;
  transition: opacity 0.2s;
}
.nav-links a:hover {
  opacity: 1;
}
.lang-selector {
  position: relative;
}
.lang-btn {
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 0.45);
  border-radius: 100px;
  padding: 6px 10px;
  cursor: pointer;
  display: flex;
  gap: 6px;
  align-items: center;
}
.flag-icon {
  font-size: 1.1rem;
  line-height: 1;
}
.dropdown-arrow {
  color: var(--olive);
  font-size: 0.8rem;
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgb(250 248 243 / 0.96);
  box-shadow: 0 15px 40px rgb(32 37 29 / 0.12);
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: 0.2s ease;
}
.lang-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #fff0;
  cursor: pointer;
  font-size: 1.1rem;
}
.lang-option:hover {
  background: var(--olive-soft);
}
.mobile-menu-btn,
.mobile-nav {
  display: none;
}
.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
 background: radial-gradient(
      circle at 20% 30%,
      rgb(255 255 255 / 0.7),
      transparent 30%
    ),
    radial-gradient(circle at 80% 70%, rgb(82 98 71 / 0.2), transparent 35%),
    linear-gradient(135deg, #e8e3d8 0%, #f8f5ee 48%, #dbe1d5 100%); 
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgb(51 64 42 / 0.13);
  border-radius: 50%;
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
}
.hero::before {
  transform: translate(-28%, -16%);
}
.hero::after {
  transform: translate(28%, 16%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      115deg,
      transparent 0 48%,
      rgb(51 64 42 / 0.04) 48% 49%,
      transparent 49%
    ),
    linear-gradient(
      70deg,
      transparent 0 52%,
      rgb(51 64 42 / 0.04) 52% 52.2%,
      transparent 52.2%
    );
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: min(850px, 90%);
  padding-top: 50px;
}
.eyebrow {
  color: var(--olive-2);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.66rem;
  font-weight: 600;
}
.hero h1 {
  color: var(--olive);
  font: italic clamp(4rem, 11vw, 9.5rem) / 0.9 var(--serif);
  letter-spacing: -0.045em;
  margin: 24px 0;
}
.hero h1 em {
  font-weight: 400;
  opacity: 0.6;
}
.hero-subtitle {
  max-width: 510px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 300;
}
.scroll-cue {
  display: flex;
  width: 34px;
  height: 58px;
  border: 1px solid var(--olive-2);
  border-radius: 30px;
  margin: 70px auto 0;
  justify-content: center;
  padding-top: 9px;
}
.scroll-cue span {
  width: 4px;
  height: 9px;
  background: var(--olive-2);
  border-radius: 4px;
  animation: scrollDot 1.7s infinite ease-in-out;
}
@keyframes scrollDot {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(18px);
    opacity: 1;
  }
}
.section {
  width: min(var(--max), 90%);
  margin: auto;
}
.welcome {
  min-height: 600px;
  display: flex;
  grid-template-columns: 90px 1fr 180px;
  align-items: center;
  gap: 50px;
  padding: 120px 0;
  text-align: center;
  justify-content: center;
}
.section-number {
  color: var(--olive-2);
  font: italic 1.2rem var(--serif);
  align-self: start;
}
.welcome-copy {
display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.welcome-copy h2,
.section-head h2,
.rsvp h2 {
  color: var(--olive);
  font: 400 clamp(2.8rem, 6vw, 5.4rem) / 1.02 var(--serif);
  letter-spacing: -0.04em;
}
.welcome-copy h2 {
  margin: 20px 0 25px;
}
.welcome-copy > p:last-child {
  max-width: 700px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 300;
}
.date-stamp {
  width: 145px;
  height: 145px;
  border: 1px solid var(--olive);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--olive);
  transform: rotate(8deg);
}
.date-stamp span {
  font: italic 2.3rem var(--serif);
  line-height: 0.85;
}
.date-stamp small {
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  margin: 7px 0;
}
.countdown-section {
  background: var(--olive);
  color: #f6f2e9;
  padding: 115px 20px;
}
.countdown-inner {
  width: min(1000px, 90%);
  margin: auto;
  text-align: center;
}
.countdown-inner .eyebrow {
  color: #cfd8c8;
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 55px 0 40px;
}
.countdown > div {
  border-right: 1px solid rgb(255 255 255 / 0.18);
}
.countdown > div:last-child {
  border: 0;
}
.countdown strong {
  display: block;
  font: 400 clamp(3rem, 7vw, 6.5rem) / 0.9 var(--serif);
}
.countdown span {
  display: block;
  margin-top: 14px;
  color: #cfd8c8;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.6rem;
}
.countdown-date {
  letter-spacing: 0.45em;
  font-size: 0.65rem;
  opacity: 0.65;
}
.editorial,
.story,
.faq {
  padding: 135px 0;
}
.section-head {
  margin-bottom: 70px;
}
.section-head h2 {
  margin-top: 15px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.detail-card {
  min-height: 310px;
  padding: 38px;
  position: relative;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}
.detail-card:hover {
  background: rgb(255 255 255 / 0.3);
}
.card-index {
  position: absolute;
  right: 30px;
  top: 29px;
  color: var(--olive-2);
  font: italic 1rem var(--serif);
}
.detail-card h3 {
  color: var(--olive);
  font: 400 2.3rem var(--serif);
  margin: 75px 0 14px;
}
.detail-card p:last-child,.desc {
  max-width: 400px;
  color: var(--muted);
  font-size: 0.9rem;
}
.timeline {
  position: relative;
  max-width: 850px;
  margin: auto;
}
.timeline-line {
  position: absolute;
  left: 120px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.timeline-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 170px;
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 116px;
  top: 3px;
  width: 9px;
  height: 9px;
  background: var(--paper);
  border: 1px solid var(--olive);
  border-radius: 50%;
}
.timeline-year {
  color: var(--olive-2);
  font: italic 1.3rem var(--serif);
}
.timeline-item > div {
  padding-left: 40px;
}
.timeline-item h3 {
  color: var(--olive);
  font: 400 2rem var(--serif);
  margin-bottom: 8px;
}
.timeline-item p {
  color: var(--muted);
  font-size: 0.9rem;
}
.timeline-current h3 {
  font-style: italic;
}
.schedule-section {
  background: var(--paper-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.schedule-wrap {
  width: min(var(--max), 90%);
  margin: auto;
  padding: 135px 0;
}
.schedule {
  border-top: 1px solid var(--line);
}
.schedule-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  min-height: 150px;
  border-bottom: 1px solid var(--line);
}
.schedule-row time {
  color: var(--olive-2);
  font: italic 1.8rem var(--serif);
}
.schedule-row h3 {
  color: var(--olive);
  font: 400 2rem var(--serif);
}
.schedule-row p {
  color: var(--muted);
  font-size: 0.85rem;
}
.location {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  margin-top: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.location-main,
.location-side {
  padding: 120px 60px;
}
.location-main {
  background: var(--olive);
  color: #f6f2e9;
}
.location-main .eyebrow {
  color: #cfd8c8;
}
.location-main h2 {
  font: 400 clamp(3rem, 7vw, 6.5rem) var(--serif);
  margin: 25px 0;
}
.location-place {
  color: #d7ddd2;
  font-size: 0.95rem;
}
.text-link {
  display: inline-block;
  margin-top: 35px;
  color:  var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  border-bottom: 1px solid rgb(255 255 255 / 0.55);
  padding-bottom: 5px;
}
.location-side {
  background: var(--olive-soft);
}
.location-side h3 {
  color: var(--olive);
  font: 400 2.8rem var(--serif);
  margin: 25px 0 15px;
}
.location-side p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 350px;
}
.faq-list {
  max-width: 900px;
  margin: auto;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  color: var(--olive);
  font: italic 1.35rem var(--serif);
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font: 400 1.3rem var(--sans);
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  max-width: 760px;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 18px 45px 0 0;
}
.rsvp {
  background: #dfe5da;
  padding: 145px 20px;
  text-align: center;
}
.rsvp-inner {
  width: min(850px, 100%);
  margin: auto;
}
.rsvp h2 {
  margin: 18px 0;
}
.rsvp-deadline {
  color: var(--olive-2);
  font-style: italic;
  font-size: 0.9rem;
}
.guest-pill {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin: 40px auto 28px;
  padding: 10px 17px;
  border: 1px solid rgb(51 64 42 / 0.18);
  border-radius: 100px;
  background: rgb(255 255 255 / 0.35);
  color: var(--olive);
}
.guest-pill span {
  font-size: 0.75rem;
}
.btn-group {
  display: flex;
  justify-content: center;
  gap: 14px;
  max-width: 620px;
  margin: auto;
}
.rsvp-btn {
  flex: 1;
  border-radius: 2px;
  padding: 19px 24px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.66rem;
  font-weight: 600;
  transition: 0.25s ease;
}
.rsvp-btn.primary {
  background: var(--olive);
  border: 1px solid var(--olive);
  color: #fff;
}
.rsvp-btn.primary:hover {
  background: #4a5b3e;
}
.rsvp-btn.secondary {
  background: #fff0;
  border: 1px solid var(--olive);
  color: var(--olive);
}
.rsvp-btn.secondary:hover {
  background: rgb(255 255 255 / 0.35);
}
.rsvp-note {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 28px;
}
#thank-you-message {
  display: none;
  margin: 25px auto 0;
  padding: 30px;
  border: 1px solid rgb(51 64 42 / 0.2);
  background: rgb(255 255 255 / 0.35);
  max-width: 620px;
}
.thanks-title {
  color: var(--olive);
  font: italic 1.8rem var(--serif);
}
.thanks-body {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 8px;
}
.change-rsvp {
  margin-top: 18px;
  border: 0;
  background: #fff0;
  border-bottom: 1px solid var(--olive);
  color: var(--olive);
  cursor: pointer;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding-bottom: 4px;
}
footer {
  padding: 75px 20px;
  text-align: center;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.footer-monogram {
  color: var(--olive);
  font: italic 2.2rem var(--serif);
}
.footer-monogram span {
  opacity: 0.55;
}
footer p {
  margin: 15px 0 20px;
  color: var(--olive-2);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}
footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.65rem;
}
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 800px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgb(255 255 255 / 0.4);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
  }
  .mobile-menu-btn span {
    width: 14px;
    height: 1px;
    background: var(--olive);
  }
  .mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 20px 6vw 28px;
    background: rgb(244 240 232 / 0.98);
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 19px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
  }
  .mobile-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .welcome {
    grid-template-columns: 1fr;
    padding: 90px 0;
    gap: 30px;
  }
  .section-number {
    display: none;
  }
  .date-stamp {
    width: 105px;
    height: 105px;
    margin-top: 15px;
  }
  .date-stamp span {
    font-size: 1.7rem;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-card {
    min-height: 270px;
  }
  .timeline-line {
    left: 8px;
  }
  .timeline-item {
    grid-template-columns: 70px 1fr;
    min-height: 175px;
  }
  .timeline-item::before {
    left: 4px;
  }
  .timeline-item > div {
    padding-left: 25px;
  }
  .timeline-item h3 {
    font-size: 1.7rem;
  }
  .schedule-row {
    grid-template-columns: 90px 1fr;
    min-height: 135px;
  }
  .schedule-row time {
    font-size: 1.4rem;
  }
  .schedule-row h3 {
    font-size: 1.65rem;
  }
  .location {
    grid-template-columns: 1fr;
  }
  .location-main,
  .location-side {
    padding: 85px 8%;
  }
  .countdown {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 35px;
  }
  .countdown > div:nth-child(2) {
    border-right: 0;
  }
  .countdown > div:nth-child(3),
  .countdown > div:nth-child(4) {
    border-top: 1px solid rgb(255 255 255 / 0.18);
    padding-top: 30px;
  }
  .btn-group {
    flex-direction: column;
  }
  .editorial,
  .story,
  .faq {
    padding: 95px 0;
  }
}
@media (max-width: 480px) {
  .site-nav {
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .lang-selector {
    display: block;
  }
  .hero h1 {
    font-size: 4.2rem;
  }
  .hero-subtitle {
    font-size: 0.88rem;
  }
  .hero::before,
  .hero::after {
    width: 85vw;
    height: 85vw;
  }
  .detail-card {
    padding: 30px 24px;
  }
  .detail-card h3 {
    margin-top: 65px;
  }
  .section-head {
    margin-bottom: 50px;
  }
  .rsvp {
    padding: 100px 20px;
  }
}
/* TICKER CONTAINER */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: #f7f5f0; /* Altera para a tua cor de fundo */
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1.2rem 0;
    white-space: nowrap;
    user-select: none;
}

/* TRACK EM MOVIMENTO */
.ticker-track {
    display: flex;
    width: max-content;
    animation: infinite-loop 20s linear infinite;
    will-change: transform;
}

.ticker-content {
    display: flex;
    gap: 2rem;
    padding-right: 2rem;
}

.ticker-content span {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #4a4a4a;
}

/* KEYFRAMES DO LOOP PERFEITO */
@keyframes infinite-loop {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%); /* Desloca exatamente metade da largura total (uma das divs) */
    }
}

/* Opcional: Pausar a animação ao passar o rato por cima */
.ticker-wrap:hover .ticker-track {
    animation-play-state: paused;
}