/* ─────────────────────────────────────────
   Andecyelly & Murilo — 19.09.2026
   styles.css — revisão final
   ───────────────────────────────────────── */

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

:root {
  --offwhite:   #F8F6F2;
  --cream:      #F2EDE5;
  --gray-light: #DDD9D1;   /* +15% contraste vs anterior */
  --gray-mid:   #8A8078;   /* +15% contraste */
  --gray-dark:  #504C48;   /* +15% contraste */
  --ink:        #2A2420;
}

html { scroll-behavior: smooth; }

body {
  background: var(--offwhite);
  color: var(--ink);
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  font-size: 19px;          /* levemente maior para legibilidade */
  line-height: 1.8;
  -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.95);
  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: 400;
  letter-spacing: 0.28em;
  color: var(--gray-dark);
  text-decoration: none;
  transition: color 0.3s;
  flex-shrink: 0;
}

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

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

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

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

/* ── HAMBURGER ── */

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

.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;
  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: 160px;       /* levemente reduzido para equilíbrio */
  height: auto;
  margin-bottom: 2rem;
  animation: fadeUp 1.3s ease both;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.hero-names-img {
  width: min(560px, 86vw);   /* proporção equilibrada com brasão */
  height: auto;
  margin-bottom: 2rem;
  animation: fadeUp 1.3s ease 0.2s both;
}

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

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

.hero-venue {
  font-family: 'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(0.68rem, 1.8vw, 0.84rem);
  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: 11px;
  font-weight: 400;
  letter-spacing: 0.32em;
  color: var(--gray-dark);
  text-decoration: none;
  border: none;
  border-bottom: 1px solid var(--gray-mid);
  padding-bottom: 4px;
  background: transparent;
  transition: color 0.35s, border-color 0.35s;
  animation: fadeUp 1.3s ease 0.65s both;
  white-space: nowrap;
}

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

@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: 11px;
  font-weight: 400;
  letter-spacing: 0.38em;
  color: var(--gray-dark);
  margin-bottom: 2rem;
}

.section-title {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);   /* reduzido levemente */
  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: 1.05rem;       /* aumentado levemente */
  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); }
#geral       { background: var(--offwhite); }

/* ── DATA & LOCAL ── */

.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: 10.5px;
  letter-spacing: 0.34em;
  color: var(--gray-dark);   /* +contraste vs gray-mid anterior */
  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-item-room {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gray-dark);
  margin-top: 0.2rem;
  line-height: 1.4;
}

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

/* Botão de mapa — substitui iframe */
.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--gray-dark);
  padding: 14px 36px;
  margin-top: 2.5rem;
  transition: background 0.35s, color 0.35s;
}

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

.map-btn svg { flex-shrink: 0; transition: stroke 0.35s; }
.map-btn:hover svg { stroke: var(--offwhite); }

/* ── TRAJE ── */

.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: 11px;
  letter-spacing: 0.3em;
  color: var(--gray-dark);
  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.75rem;
}

.hotel-link {
  display: inline-block;
  font-family: 'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--gray-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-mid);
  padding-bottom: 1px;
  margin-top: 1rem;
  transition: color 0.3s, border-color 0.3s;
}

.hotel-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

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

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

/* ── INFORMAÇÕES GERAIS — blocos temáticos ── */

.general-block {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0 2rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--gray-light);
  align-items: start;
}

.general-block:first-of-type { border-top: none; }

.general-block-label {
  font-family: 'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  color: var(--gray-dark);
  padding-top: 0.2rem;
}

/* ── SUBTÍTULO (Presentes) ── */

.section-subtitle {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  line-height: 1.2;
}

/* ── RODAPÉ ── */

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

.footer-crest {
  width: 86px;           /* +23% vs 70px */
  height: auto;
  opacity: 0.6;
  margin-bottom: 1.75rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.footer-names-img {
  width: min(280px, 70vw);   /* maior */
  height: auto;
  opacity: 0.82;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.footer-date {
  font-family: 'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gray-dark);   /* +contraste */
}

/* ── 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: 1024px) {
  .nav-links { gap: 1.5rem; }
  .nav-links a { font-size: 10.5px; letter-spacing: 0.14em; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  nav { padding: 0 1.5rem; }
  section { padding: 4.5rem 1.5rem; }
  .hero-crest { width: 130px; }
  .hero-names-img { width: min(480px, 90vw); }
  .info-grid { grid-template-columns: 1fr; gap: 2rem; }
  .dresscode-block { padding-left: 1.25rem; }
  .hotel-highlight { padding: 1.5rem; }
  .general-block {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

@media (max-width: 420px) {
  .btn-primary { padding: 13px 32px; }
  .map-btn { padding: 13px 24px; font-size: 10px; }
}
