/* ─────────────────────────────────────────
   Andecyelly & Murilo — 19.09.2026
   styles.css
   ───────────────────────────────────────── */

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

:root {
  --offwhite:   #F8F6F2;
  --cream:      #F2EDE5;
  --gray-light: #E8E4DC;
  --gray-mid:   #A89F96;
  --gray-dark:  #6B6460;
  --ink:        #2A2420;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--offwhite);
  color: var(--ink);
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── NAVEGAÇÃO ─── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(248, 246, 242, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-light);
}

.nav-monogram {
  font-family: 'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.28em;
  color: var(--gray-dark);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-monogram:hover {
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--gray-dark);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--ink);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--gray-dark);
  transition: all 0.3s ease;
}

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(248, 246, 242, 0.98);
  border-bottom: 1px solid var(--gray-light);
  flex-direction: column;
  gap: 0;
  padding: 0;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  font-family: 'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--gray-dark);
  text-decoration: none;
  text-align: center;
  padding: 1.1rem 2rem;
  border-bottom: 1px solid var(--gray-light);
  transition: background 0.2s, color 0.2s;
}

.mobile-drawer a:last-child {
  border-bottom: none;
}

.mobile-drawer a:hover {
  background: var(--cream);
  color: var(--ink);
}

/* ─── HERO ─── */

#home {
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
}

.hero-crest {
  width: 180px;
  height: auto;
  margin-bottom: 2.5rem;
  animation: fadeUp 1.3s ease both;
}

.hero-names {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.01em;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeUp 1.3s ease 0.2s both;
}

.hero-divider {
  width: 55px;
  height: 1px;
  background: var(--gray-mid);
  margin: 0 auto 1.5rem;
  animation: fadeUp 1.3s ease 0.35s both;
}

.hero-date {
  font-family: 'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(0.7rem, 2vw, 0.88rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--gray-dark);
  margin-bottom: 0.4rem;
  animation: fadeUp 1.3s ease 0.45s both;
}

.hero-venue {
  font-family: 'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(0.65rem, 1.8vw, 0.82rem);
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--gray-mid);
  margin-bottom: 3.5rem;
  animation: fadeUp 1.3s ease 0.55s both;
}

.btn-primary {
  display: inline-block;
  font-family: 'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--gray-dark);
  padding: 14px 44px;
  transition: background 0.35s, color 0.35s;
  animation: fadeUp 1.3s ease 0.65s both;
}

.btn-primary:hover {
  background: var(--ink);
  color: var(--offwhite);
}

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

/* ─── SEÇÕES — BASE ─── */

section {
  padding: 6rem 2rem;
}

.section-inner {
  max-width: 680px;
  margin: 0 auto;
}

.section-label {
  display: block;
  font-family: 'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.4em;
  color: var(--gray-mid);
  margin-bottom: 2rem;
}

.section-title {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.85rem, 4vw, 2.9rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-body {
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  color: var(--gray-dark);
  line-height: 1.9;
}

.section-rule {
  width: 38px;
  height: 1px;
  background: var(--gray-light);
  margin: 2.5rem 0;
}

/* Backgrounds alternados */
#home        { background: var(--offwhite); }
#casamento   { background: var(--cream); }
#informacoes { background: var(--offwhite); }
#dresscode   { background: var(--cream); }
#hospedagem  { background: var(--offwhite); }
#rsvp        { background: var(--cream); }
#presentes   { background: var(--offwhite); }

/* ─── INFORMAÇÕES ─── */

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 4rem;
  margin-bottom: 3rem;
}

.info-item-label {
  display: block;
  font-family: 'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
  font-size: 10px;
  letter-spacing: 0.34em;
  color: var(--gray-mid);
  margin-bottom: 0.45rem;
}

.info-item-value {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-size: 1.12rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.55;
}

.info-note {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gray-mid);
  line-height: 1.75;
}

.map-container {
  width: 100%;
  height: 340px;
  border: 1px solid var(--gray-light);
  overflow: hidden;
  margin-top: 2.5rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(35%) contrast(0.95) brightness(1.02);
}

/* ─── DRESS CODE ─── */

.dresscode-block {
  border-left: 1px solid var(--gray-light);
  padding-left: 2rem;
  margin-top: 2rem;
}

.dresscode-gender {
  display: block;
  font-family: 'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  color: var(--gray-mid);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.dresscode-gender:first-child {
  margin-top: 0;
}

/* ─── HOSPEDAGEM ─── */

.hotel-highlight {
  border: 1px solid var(--gray-light);
  padding: 2rem 2.5rem;
  margin-top: 2rem;
}

.hotel-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 0.65rem;
}

.hotel-badge {
  display: inline-block;
  font-family: 'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--gray-dark);
  border: 1px solid var(--gray-light);
  padding: 5px 14px;
  margin-bottom: 1rem;
}

.placeholder-box {
  border: 1px solid var(--gray-light);
  padding: 3rem 2.5rem;
  text-align: center;
  margin-top: 2rem;
}

.placeholder-label {
  font-family: 'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--gray-mid);
}

/* ─── RSVP ─── */

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
  font-size: 10.5px;
  letter-spacing: 0.26em;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--gray-dark);
  padding: 14px 36px;
  transition: background 0.35s, color 0.35s;
  margin-top: 2rem;
}

.whatsapp-btn:hover {
  background: var(--ink);
  color: var(--offwhite);
}

.whatsapp-btn svg {
  flex-shrink: 0;
  transition: fill 0.35s;
}

.whatsapp-btn:hover .wa-icon {
  fill: var(--offwhite);
}

/* ─── RODAPÉ ─── */

footer {
  border-top: 1px solid var(--gray-light);
  padding: 3.5rem 2rem;
  text-align: center;
  background: var(--offwhite);
}

.footer-crest {
  width: 54px;
  height: auto;
  opacity: 0.55;
  margin-bottom: 1.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.footer-names {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gray-dark);
  margin-bottom: 0.35rem;
}

.footer-date {
  font-family: 'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gray-mid);
}

/* ─── SCROLL REVEAL ─── */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVO ─── */

@media (max-width: 900px) {
  .nav-links {
    gap: 1.8rem;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  section {
    padding: 4.5rem 1.5rem;
  }

  .hero-crest {
    width: 148px;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .map-container {
    height: 260px;
  }

  .dresscode-block {
    padding-left: 1.25rem;
  }

  .hotel-highlight {
    padding: 1.5rem;
  }
}

@media (max-width: 420px) {
  .hero-names {
    font-size: 2.8rem;
  }

  .btn-primary {
    padding: 13px 32px;
  }

  .whatsapp-btn {
    padding: 13px 24px;
    font-size: 10px;
  }
}
