:root {
  /* Paleta Oficial */
  --olive-green: #758952;
  --light-olive: #B5C49A;
  --dusty-pink:  #E8C0C5;
  --pale-pink:   #F4E2E4;
  --ivory:       #F6F7EC;

  /* Aplicação UI */
  --bg-main: var(--ivory);
  --bg-alt: var(--pale-pink);
  --text-main: #3D403A;
  --text-muted: #6B7065;
  --primary: var(--olive-green);
  --primary-hover: #5d6f3f;
  --border-color: var(--light-olive);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-main);
  background: var(--bg-main);
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 300;
  line-height: 1.8;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
}

button, input, select, textarea {
  font: inherit;
}

.section {
  padding: 100px 7%;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--text-muted);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 680px;
  position: relative;
  background: url("/assets/fotos/CAPA.jpg") center/cover fixed;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(30, 38, 25, 0.35), rgba(20, 25, 18, 0.65));
}

.nav {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 5%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  letter-spacing: 2px;
}

.brand span, footer span {
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 25px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: var(--dusty-pink);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 25px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero h1 {
  font: 500 clamp(55px, 10vw, 115px)/.9 "Cormorant Garamond", serif;
  margin: 5px 0 20px;
}

.hero h1 i {
  font-weight: 400;
}

.date {
  font-size: 17px;
  letter-spacing: 8px;
}

.hero-text {
  margin: 25px auto 30px;
  font-size: 15px;
}

/* Botões */
.button {
  display: inline-block;
  padding: 12px 25px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: .25s ease-in-out;
}

.button:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
}

.button-light {
  border-color: #fff;
  background: transparent;
  color: #fff;
}

.button-light:hover {
  background: #fff;
  color: var(--primary);
}

.scroll {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  font-size: 25px;
  animation: bounce 1.6s infinite;
}

@keyframes bounce {
  50% { transform: translateY(8px); }
}

/* Seções Principais */
.intro {
  max-width: 850px;
  margin: auto;
  text-align: center;
}

.intro h2, .section-heading h2, .event h2 {
  font: 500 clamp(42px, 6vw, 70px)/1 "Cormorant Garamond", serif;
  margin: 0 0 25px;
  color: var(--primary);
}

.section-dark {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 90px 7%;
}

.section-dark h2, .rsvp h2 {
  color: #fff;
  font: 500 clamp(42px, 6vw, 70px)/1 "Cormorant Garamond", serif;
  margin: 0 0 35px;
}

.timer {
  display: flex;
  justify-content: center;
  gap: clamp(25px, 7vw, 100px);
}

.timer strong {
  display: block;
  font: 400 clamp(42px, 7vw, 75px) "Cormorant Garamond", serif;
  color: var(--dusty-pink);
}

.timer span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-heading {
  text-align: center;
  margin-bottom: 55px;
}

.section-heading h2 span {
  font-style: italic;
}

.couple-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
}

.photo-card {
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.photo-card img {
  height: 650px;
}

.story h3 {
  font: 500 36px "Cormorant Garamond", serif;
  color: var(--primary);
}

.story p {
  font-size: 14px;
}

/* Carrossel */
.carousel {
  position: relative;
  max-width: 1100px;
  margin: 70px auto 0;
  overflow: hidden;
  background: var(--bg-alt);
}

.carousel-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  height: 600px;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid var(--light-olive);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary);
  font-size: 38px;
  line-height: 35px;
  cursor: pointer;
  z-index: 2;
  transition: .2s;
}

.carousel-btn:hover {
  background: var(--primary);
  color: #fff;
}

.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 9px;
  z-index: 2;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid var(--primary);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.25);
}

/* Eventos */
.event {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  background: var(--bg-alt);
}

.event.reverse .event-image {
  order: 2;
}

.event-image img {
  height: 650px;
}

.event-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(40px, 8vw, 130px);
}

.event-content h2 {
  font-size: 70px;
}

.event-content p {
  max-width: 480px;
}

.event-details {
  border-left: 2px solid var(--light-olive);
  padding-left: 20px;
  margin: 25px 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
}

/* Lista de Presentes */
.gifts {
  background: var(--bg-main);
}

.gift-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.gift {
  text-align: center;
  border: 1px solid var(--light-olive);
  padding-bottom: 25px;
  background: #fff;
  transition: transform 0.2s;
}

.gift:hover {
  transform: translateY(-4px);
}

.gift img {
  height: 250px;
}

.gift h3 {
  font: 500 28px "Cormorant Garamond", serif;
  margin: 15px 0 0;
  color: var(--primary);
}

.gift strong {
  display: block;
  margin: 4px;
  color: var(--text-main);
}

.gift button {
  margin-top: 12px;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  padding: 9px 20px;
  cursor: pointer;
  transition: 0.2s;
}

.gift button:hover {
  background: var(--primary);
  color: #fff;
}

.cart {
  max-width: 1100px;
  margin: 30px auto 0;
  padding: 18px;
  text-align: center;
  background: var(--bg-alt);
  border: 1px solid var(--dusty-pink);
}

/* RSVP */
.rsvp {
  background: var(--primary);
  color: #fff;
}

.rsvp-inner {
  max-width: 800px;
  margin: auto;
}

.rsvp form {
  margin: 35px auto 0;
  display: grid;
  gap: 14px;
}

.rsvp input, .rsvp select, .rsvp textarea, .message-form input, .message-form textarea {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  padding: 14px 16px;
  outline: none;
  border-radius: 2px;
}

.rsvp input::placeholder, .rsvp textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.rsvp select {
  color: #fff;
}

.rsvp option {
  color: var(--text-main);
  background: #fff;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.rsvp textarea {
  height: 110px;
  resize: vertical;
}

.check {
  font-size: 11px;
  text-align: left;
}

.check input {
  width: auto;
}

/* Mensagens */
.messages {
  max-width: 1000px;
  margin: auto;
}

.message-form {
  display: grid;
  gap: 14px;
  max-width: 650px;
  margin: auto;
}

.message-form input, .message-form textarea {
  border-color: var(--light-olive);
  color: var(--text-main);
  background: #fff;
}

.message-form textarea {
  height: 130px;
}

.messages-list {
  max-width: 650px;
  margin: 40px auto;
}

.message {
  padding: 18px 0;
  border-bottom: 1px solid var(--dusty-pink);
}

.message b {
  font-family: "Cormorant Garamond", serif;
  font-size: 25px;
  color: var(--primary);
}

.toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--primary);
  color: #fff;
  padding: 15px 22px;
  transform: translateY(100px);
  opacity: 0;
  transition: .3s;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.toast.show {
  transform: none;
  opacity: 1;
}

/* Rodapé */
footer {
  text-align: center;
  background: #23281E; /* Versão mais escura do Olive Green para contraste do rodapé */
  color: #fff;
  padding: 45px;
  font: 30px "Cormorant Garamond", serif;
}

footer small {
  display: block;
  font: 10px Montserrat, sans-serif;
  letter-spacing: 2px;
  margin-top: 8px;
  opacity: .7;
}

/* Responsividade */
@media(max-width: 800px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 73px;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 25px;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .section {
    padding: 75px 6%;
  }

  .couple-grid, .event {
    grid-template-columns: 1fr;
  }

  .event.reverse .event-image {
    order: 0;
  }

  .photo-card img, .event-image img {
    height: 480px;
  }

  .carousel-slide img {
    height: 480px;
  }

  .carousel-btn {
    width: 42px;
    height: 42px;
    font-size: 32px;
  }

  .carousel-prev { left: 12px; }
  .carousel-next { right: 12px; }

  .gift-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .timer {
    gap: 18px;
  }

  .timer strong {
    font-size: 43px;
  }

  .timer span {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .event-content {
    padding: 65px 9%;
  }

  .hero {
    background-attachment: scroll;
  }
}