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

  :root {
    --sage: #8a9e8a;
    --sage-light: #b5c4b0;
    --sage-dark: #5a7258;
    --sage-pale: #e8ede6;
    --cream: #f7f4ef;
    --gold: #c9a96e;
    --gold-light: #e8d5b0;
    --text-dark: #2c3a2c;
    --text-mid: #3d4e3d;
    --text-light: #607060;
    --white: #ffffff;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Josefin Sans', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    overflow-x: hidden;
  }

  /* ── NAV ── */
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(232, 237, 230, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(90,114,88,0.15);
    transition: background 0.3s ease, box-shadow 0.3s ease;
  }

  .nav.scrolled {
    background: rgba(247, 244, 239, 0.97);
    box-shadow: 0 1px 20px rgba(44,58,44,0.07);
  }

  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.8rem, 2vw, 2.2rem);
    padding: 0 1.5rem;
    height: 52px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .nav-inner::-webkit-scrollbar { display: none; }

  .nav-inner a {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sage-dark);
    text-decoration: none;
    white-space: nowrap;
    padding: 4px 0;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
  }

  .nav-inner a:hover,
  .nav-inner a.active {
    color: var(--sage-dark);
    border-bottom-color: var(--sage-dark);
  }

  .nav-rsvp {
    font-weight: 400 !important;
    color: var(--sage-dark) !important;
    border: 1px solid var(--sage-light) !important;
    border-bottom: 1px solid var(--sage-light) !important;
    padding: 5px 14px !important;
    letter-spacing: 0.25em !important;
    transition: background 0.2s, color 0.2s !important;
  }

  .nav-rsvp:hover {
    background: var(--sage-dark) !important;
    color: var(--white) !important;
    border-color: var(--sage-dark) !important;
  }

  .hero { padding-top: 52px; }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--white);
    position: relative;
    overflow: hidden;
  }

  .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 300;
    line-height: 1;
    padding: 1rem 1rem;
    text-transform: uppercase;
    color: var(--sage-dark);
    letter-spacing: 0.1em;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--sage-dark);
    padding: 1rem 1rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
  }

  .hero-names {
    font-weight: 700;
    text-transform: uppercase;
  }

  .hero-std-img {
    width: min(420px, 78vw);
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(44,58,44,0.22), 0 4px 16px rgba(44,58,44,0.10);
    animation: floatIn 1s ease forwards;
    opacity: 0;
  }

  .hero-logo {
    width: min(250px, 35vw);
    height: auto;
  }

  @keyframes floatIn {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  

  



  .scroll-hint {
    position: relative;
    z-index: 2;
    padding-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, var(--sage));
    animation: scrollDown 2s ease-in-out infinite;
  }

  @keyframes scrollDown {
    0%, 100% { opacity: 0.3; transform: scaleY(0.7) translateY(-4px); }
    50% { opacity: 1; transform: scaleY(1) translateY(0); }
  }

  /* ── MESSAGE ── */
  .message-section {
    background: var(--cream);
    padding: 7rem 2rem;
    display: flex;
    justify-content: center;
  }

  .message-inner {
    max-width: 680px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .message-ornament {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, var(--sage));
  }

  .message-inner p {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 2.3vw, 1.5rem);
    font-weight: 600;
    line-height: 1.85;
    color: var(--text-mid);
    letter-spacing: 0.01em;
  }

  .message-inner p.message-intro {
    font-style: normal;
    font-size: clamp(1.2rem, 2.4vw, 1.55rem);
    color: var(--text-dark);
  }

  .message-signature {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 2.3vw, 1.5rem);
    font-weight: 600;
    font-style: italic;
    color: var(--text-mid);
    letter-spacing: 0.01em;
    margin-top: 0.5rem;
  }

  .message-ornament-bottom {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: var(--sage-light);
  }

  .message-ornament-bottom::before,
  .message-ornament-bottom::after {
    content: '';
    width: 48px;
    height: 1px;
    background: var(--sage-light);
  }

  /* ── COUNTDOWN ── */
  .countdown-section {
    background: var(--sage-dark);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
  }

  .countdown-grid {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 4vw, 4rem);
    flex-wrap: wrap;
  }

  .countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 80px;
  }

  .countdown-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 300;
    line-height: 1;
    color: var(--white);
    letter-spacing: -0.02em;
  }

  .countdown-unit {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.3em;
    color: var(--sage-light);
    margin-top: 1rem;
  }

  .countdown-sep {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 300;
    color: var(--sage);
    align-self: center;
    margin-bottom: 1.2rem;
    opacity: 0.5;
  }

  /* ── CELEBRAÇÃO ── */
  .celebracao-section {
    background: var(--white);
    padding: 7rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .celebracao-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 1fr auto 1fr;
    align-items: center;
    justify-items: center;
    gap: 2rem 3rem;
    max-width: 860px;
    width: 100%;
  }

  .celebracao-mono {
    grid-column: 2;
    grid-row: 1 / 4;
    width: clamp(200px, 28vw, 320px);
  }

  .cel-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
  }

  .cel-info-label {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--text-mid);
  }

  .cel-info-main {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    color: var(--text-dark);
    line-height: 1.1;
  }

  .cel-info-sub {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 200;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sage-dark);
  }

  .cel-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--sage-light), transparent);
  }

  .cel-line-h {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--sage-light), transparent);
  }

  /* top-left */
  .cel-tl { grid-column: 1; grid-row: 1; justify-self: end; }
  /* top-right */
  .cel-tr { grid-column: 3; grid-row: 1; justify-self: start; }
  /* bottom-left */
  .cel-bl { grid-column: 1; grid-row: 3; justify-self: end; }
  /* bottom-right */
  .cel-br { grid-column: 3; grid-row: 3; justify-self: start; }

  @media (max-width: 640px) {
    .celebracao-inner {
      grid-template-columns: 1fr;
      grid-template-rows: auto;
      gap: 2rem;
    }
    .celebracao-mono { grid-column: 1; grid-row: 1; width: clamp(180px, 60vw, 260px); }
    .cel-tl, .cel-tr, .cel-bl, .cel-br {
      grid-column: 1;
      grid-row: auto;
      justify-self: center;
    }
  }

  /* ── INFO ── */
  .info-section {
    padding: 6rem 2rem;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
  }

  .section-tag {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 200;
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--sage);
    text-align: center;
    margin-bottom: -2rem;
  }

  .info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2px;
    max-width: 860px;
    width: 100%;
    border: 1px solid var(--sage-light);
  }

  .info-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    text-align: center;
    border-right: 1px solid var(--sage-light);
    position: relative;
    overflow: hidden;
  }

  .info-card:last-child { border-right: none; }

  .info-card-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 1.25rem;
  }

  .info-card-title {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 200;
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.75rem;
  }

  .info-card-main {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }

  .info-card-sub {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 200;
    font-size: 0.8rem;
    color: var(--text-mid);
    letter-spacing: 0.05em;
  }

  .divider-botanical {
    width: 100%;
    max-width: 600px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .divider-botanical::before,
  .divider-botanical::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--sage-light);
  }

  /* ── ONDE FICAR ── */
  .ondeficar-section {
    background: var(--cream);
    padding: 7rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.5rem;
  }

  .section-title {
    text-align: center;
  }

  .section-title-label {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sage-dark);
    display: block;
    margin-bottom: 0.75rem;
  }

  .section-title-rule {
    width: 40px;
    height: 1px;
    background: var(--sage-light);
    margin: 0 auto;
    margin-bottom: 5rem;
  }

  .hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2px;
    max-width: 900px;
    width: 100%;
  }

  .hotel-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .hotel-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.1;
  }

  .hotel-details {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .hotel-detail {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.06em;
    color: var(--text-mid);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .hotel-detail a {
    color: var(--sage-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--sage-light);
    padding-bottom: 1px;
    transition: border-color 0.2s;
  }

  .hotel-detail a:hover {
    border-color: var(--sage-dark);
  }

  .hotel-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--sage-light);
    flex-shrink: 0;
  }

  /* ── GALLERY ── */
  .gallery-section {
    padding: 5rem 2rem 6rem;
    background: var(--sage-pale);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .gallery-heading {
    text-align: center;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 4px;
    max-width: 900px;
    width: 100%;
  }

  .gallery-grid .g-tall {
    grid-row: span 2;
  }

  .gallery-item {
    background: var(--sage-light);
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    cursor: pointer;
  }

  .gallery-item.g-tall {
    aspect-ratio: auto;
  }

  .gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
  }

  .gallery-item:hover img { transform: scale(1.04); }

  .gallery-placeholder {
    width: 100%; height: 100%;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--sage-dark);
    opacity: 0.5;
  }

  .gallery-placeholder svg { width: 28px; height: 28px; }
  .gallery-placeholder span { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 200; }

  /* ── PRESENTES ── */
  .presentes-section {
    background: var(--sage-dark);
    padding: 7rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  /* ── RSVP ── */
  .rsvp-section {
    background: var(--white);
    padding: 7rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
  }

  /* ── CONTATO ── */
  .contato-section {
    background: var(--sage-pale);
    padding: 7rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
  }

  /* ── DICAS ── */
  .dicas-section {
    background: var(--cream);
    padding: 7rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.5rem;
  }

  .dicas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    width: 100%;
    max-width: 900px;
  }

  @media (max-width: 760px) {
    .dicas-grid {
      grid-template-columns: 1fr;
      max-width: 400px;
    }
  }

  .dica-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .dica-category {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 0.5rem;
  }

  .dica-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.1;
  }

  .dica-detail {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.06em;
    color: var(--text-mid);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
  }

  .dica-detail a {
    color: var(--sage-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--sage-light);
    padding-bottom: 1px;
    transition: border-color 0.2s;
  }

  .dica-detail a:hover { border-color: var(--sage-dark); }

  /* ── FOOTER ── */
  footer {
    background: var(--sage-dark);
    color: var(--sage-light);
    text-align: center;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  footer .footer-names {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
  }

  footer p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: var(--white);
  }

  /* Lightbox */
  .lightbox {
    display: none;
    position: fixed; inset: 0;
    background: rgba(44,58,44,0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
  }
  .lightbox.active { display: flex; }
  .lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
  .lightbox-close {
    position: absolute; top: 1.5rem; right: 1.5rem;
    background: none; border: none; cursor: pointer;
    color: var(--sage-light); font-size: 2rem; line-height: 1;
  }

  @media (max-width: 600px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid .g-tall { grid-row: span 1; }
    .gallery-item.g-tall { aspect-ratio: 1; }
    .info-card { border-right: none; border-bottom: 1px solid var(--sage-light); }
    .countdown-sep { display: none; }
  }


/* ── CARROSSEL ── */
.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  display: flex;
  align-items: center;
  gap: 0;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 2px;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sage-pale);
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  display: block;
}

/* Placeholder para slides sem foto */
.carousel-slide .carousel-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--sage-dark);
  opacity: 0.45;
  min-height: 320px;
  width: 100%;
}
.carousel-slide .carousel-placeholder svg { width: 36px; height: 36px; }
.carousel-slide .carousel-placeholder span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 200;
}

/* Botões de navegação */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.82);
  border: none;
  color: var(--sage-dark);
  font-size: 1.3rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, opacity 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  opacity: 0.85;
}
.carousel-btn:hover { background: rgba(255,255,255,1); opacity: 1; }
.carousel-prev { left: -22px; }
.carousel-next { right: -22px; }

/* Bolinhas */
.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage-light);
  border: 1.5px solid var(--sage-dark);
  cursor: pointer;
  transition: background 0.2s;
  opacity: 0.55;
}
.carousel-dot.active {
  background: var(--sage-dark);
  opacity: 1;
}

@media (max-width: 600px) {
  .carousel-btn { width: 36px; height: 36px; font-size: 1rem; }
  .carousel-prev { left: -14px; }
  .carousel-next { right: -14px; }
}