/* =========================================================
   Ana & Rodrigo — 28.11.2026
   Tema: Romântico Floral
   ========================================================= */

:root {
  --cream:      #fbf6f4;
  --tint:       #f6eae8;
  --card:       #fffdfc;
  --blush:      #cf8a9b;
  --blush-dark: #b56e80;
  --mauve:      #5a4750;
  --mauve-soft: #8a7580;
  --gold:       #c9a25f;
  --sage:       #9caf88;
  --line:       #e7d3d0;
  --shadow:     0 18px 40px -24px rgba(90, 71, 80, .45);

  --f-script: 'Great Vibes', cursive;
  --f-serif:  'Cormorant Garamond', Georgia, serif;
  --f-sans:   'Jost', -apple-system, 'Segoe UI', sans-serif;

  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-sans);
  font-weight: 300;
  color: var(--mauve);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 34px;
  border-radius: 40px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
}
.btn--solid  { background: var(--blush); color: #fff; }
.btn--solid:hover { background: var(--blush-dark); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--mauve); border-color: var(--blush); }
.btn--outline:hover { background: var(--blush); color: #fff; }
.btn--wa { display: inline-flex; align-items: center; gap: 10px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 6vw;
  background: rgba(251, 246, 244, 0);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.nav.is-scrolled {
  background: rgba(251, 246, 244, .96);
  box-shadow: 0 4px 20px -14px rgba(90,71,80,.5);
  padding: 10px 6vw;
}
.nav__brand {
  font-family: var(--f-script);
  font-size: 1.9rem;
  color: var(--mauve);
  text-decoration: none;
  line-height: 1;
}
.nav.is-scrolled .nav__brand { color: var(--mauve); }
.nav__brand span { color: var(--blush); }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a {
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mauve); text-decoration: none; transition: color .2s;
}
.nav__links a:hover { color: var(--blush); }
.nav__cta {
  border: 1px solid var(--blush); border-radius: 30px;
  padding: 8px 18px !important; color: var(--blush) !important;
}
.nav__cta:hover { background: var(--blush); color: #fff !important; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--mauve); margin: 5px 0; transition: .3s; }

/* Hero nav: texto claro antes de rolar */
.nav:not(.is-scrolled) .nav__brand,
.nav:not(.is-scrolled) .nav__links a { color: #fff; }
.nav:not(.is-scrolled) .nav__brand span { color: #ffe6ec; }
.nav:not(.is-scrolled) .nav__cta { border-color: #fff; color: #fff !important; }
.nav:not(.is-scrolled) .nav__toggle span { background: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; min-height: 620px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #d9a3ae 0%, #caa0a8 40%, #b98f9c 100%);
  background-image:
    linear-gradient(rgba(120,80,90,.35), rgba(120,80,90,.45)),
    url('../assets/hero.jpg');
  background-size: cover; background-position: center;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(90,60,70,.35) 100%);
}
.hero__content { position: relative; z-index: 2; padding: 0 20px; animation: fadeUp 1.2s ease both; }
.hero__eyebrow { font-size: .8rem; letter-spacing: .35em; text-transform: uppercase; margin-bottom: 18px; opacity: .95; }
.hero__names {
  font-family: var(--f-script);
  font-size: clamp(3.6rem, 12vw, 8rem);
  font-weight: 400; line-height: 1; text-shadow: 0 4px 30px rgba(0,0,0,.25);
}
.hero__names .amp { color: #ffe1e7; }
.hero__divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px 0; }
.hero__divider::before, .hero__divider::after {
  content: ''; height: 1px; width: 60px; background: rgba(255,255,255,.7);
}
.hero__divider span { font-size: 1.1rem; }
.hero__date { font-family: var(--f-serif); font-size: clamp(1.1rem, 3vw, 1.5rem); letter-spacing: .08em; margin-bottom: 34px; }
.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 1.4rem; text-decoration: none; z-index: 2;
  animation: bounce 2s infinite;
}

/* ---------- Seções base ---------- */
.section { padding: 96px 6vw; max-width: var(--maxw); margin: 0 auto; }
.section--tint { max-width: none; background: var(--tint); }
.section--tint > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section__head { text-align: center; margin-bottom: 56px; }
.section__kicker {
  font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--blush); margin-bottom: 12px;
}
.section__title {
  font-family: var(--f-serif); font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3rem); color: var(--mauve); line-height: 1.1;
}
.section__sub { max-width: 620px; margin: 16px auto 0; color: var(--mauve-soft); font-size: 1.02rem; }

/* ---------- Contagem ---------- */
.countdown { text-align: center; padding: 70px 6vw; background: var(--card); }
.floral-top { color: var(--blush); letter-spacing: .5em; margin-bottom: 14px; opacity: .7; }
.countdown .section__kicker { color: var(--mauve-soft); }
.countdown__grid {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 22px; flex-wrap: wrap;
}
.countdown__item { min-width: 90px; }
.countdown__item span {
  display: block; font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(2.4rem, 7vw, 3.6rem); color: var(--blush); line-height: 1;
}
.countdown__item small {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--mauve-soft);
}
.countdown__sep { font-size: 2rem; color: var(--line); }
.countdown__msg { margin-top: 20px; font-family: var(--f-serif); font-size: 1.3rem; color: var(--mauve); font-style: italic; }

/* ---------- História ---------- */
.story__timeline { position: relative; max-width: 720px; margin: 0 auto; }
.story__timeline::before {
  content: ''; position: absolute; left: 20px; top: 8px; bottom: 8px;
  width: 2px; background: var(--line);
}
.story__item { position: relative; padding: 0 0 40px 60px; }
.story__item:last-child { padding-bottom: 0; }
.story__dot {
  position: absolute; left: 6px; top: 0; width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream); color: var(--blush); border-radius: 50%;
  border: 2px solid var(--line); font-size: .9rem;
}
.story__year { font-family: var(--f-serif); font-size: 1.5rem; color: var(--blush-dark); margin-bottom: 6px; }
.story__quote {
  margin: 14px 0 4px; padding: 14px 18px; background: var(--tint);
  border-left: 3px solid var(--blush); border-radius: 0 12px 12px 0;
  font-family: var(--f-serif); font-style: italic; font-size: 1.12rem; color: var(--mauve); line-height: 1.5;
}
.story__quote cite {
  display: block; margin-top: 8px; font-family: var(--f-sans); font-style: normal;
  font-size: .8rem; letter-spacing: .04em; color: var(--blush-dark);
}
.story__item--highlight .story__year { color: var(--blush); }
.story__item--highlight .story__dot {
  background: var(--blush); color: #fff; border-color: var(--blush);
  box-shadow: 0 0 0 6px rgba(207,138,155,.18);
}

/* ---------- Cards genéricos (evento, dicas, presentes) ---------- */
.event__cards, .tips__cards, .gifts__cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px;
}
.event__card, .tips__card, .gifts__card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 38px 28px; text-align: center; box-shadow: var(--shadow);
  transition: transform .25s ease;
}
.event__card:hover, .tips__card:hover, .gifts__card:hover { transform: translateY(-4px); }
.event__icon { font-size: 2.2rem; margin-bottom: 14px; }
.event__card h3, .tips__card h3, .gifts__card h3 {
  font-family: var(--f-serif); font-size: 1.5rem; font-weight: 500; margin-bottom: 8px; color: var(--mauve);
}
.event__time { color: var(--blush); letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; margin-bottom: 12px; }
.gifts__pix { margin: 18px 0; font-size: .95rem; }
.gifts__pix strong { color: var(--blush-dark); font-family: var(--f-sans); font-weight: 500; }

/* ---------- Cronograma ---------- */
.schedule__list { max-width: 620px; margin: 0 auto; list-style: none; }
.schedule__list li {
  display: grid; grid-template-columns: 80px 30px 1fr; align-items: center;
  padding: 16px 0; border-bottom: 1px dashed var(--line);
}
.schedule__list li:last-child { border-bottom: 0; }
.schedule__time { font-family: var(--f-serif); font-size: 1.3rem; color: var(--blush-dark); }
.schedule__dot { text-align: center; color: var(--blush); }
.schedule__label { letter-spacing: .04em; }

/* ---------- Local / Mapa ---------- */
.venue__map {
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.venue__map iframe { width: 100%; height: 380px; border: 0; display: block; }
.venue__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 26px; }

/* ---------- Galeria ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.gallery__item {
  aspect-ratio: 3/4; border-radius: 14px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: rgba(255,255,255,.85);
  background: linear-gradient(135deg, #e3b7c0, #cf9aa6);
  border: 1px solid var(--line); background-size: cover; background-position: center;
}
.gallery__item.has-img { color: transparent; }
.gallery__hint { text-align: center; margin-top: 20px; color: var(--mauve-soft); font-size: .9rem; }
.gallery__hint code { background: var(--tint); padding: 2px 8px; border-radius: 6px; }

/* ---------- RSVP ---------- */
.rsvp__form { max-width: 560px; margin: 0 auto; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .82rem; letter-spacing: .06em; margin-bottom: 8px; color: var(--mauve); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; font-family: var(--f-sans); font-size: 1rem;
  color: var(--mauve); background: var(--card);
  border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blush); }
.rsvp__form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.rsvp__note { text-align: center; margin-top: 16px; font-style: italic; color: var(--sage); min-height: 22px; }

/* ---------- Mural ---------- */
.wall__form { max-width: 560px; margin: 0 auto 40px; display: grid; gap: 12px; }
.wall__form input, .wall__form textarea {
  padding: 13px 16px; font-family: var(--f-sans); font-size: 1rem; color: var(--mauve);
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
}
.wall__form input:focus, .wall__form textarea:focus { outline: none; border-color: var(--blush); }
.wall__form .btn { justify-self: center; }
.wall__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto; }
.wall__card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px; box-shadow: var(--shadow); position: relative;
}
.wall__card::before { content: '❝'; font-family: var(--f-serif); font-size: 2rem; color: var(--line); position: absolute; top: 8px; right: 14px; }
.wall__card p { font-style: italic; color: var(--mauve); margin-bottom: 10px; }
.wall__card cite { font-family: var(--f-serif); font-size: 1.05rem; color: var(--blush-dark); font-style: normal; }
.wall__empty { text-align: center; color: var(--mauve-soft); grid-column: 1/-1; }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 70px 6vw 50px; background: var(--tint); }
.footer__floral { color: var(--blush); letter-spacing: .5em; margin-bottom: 18px; opacity: .7; }
.footer__names { font-family: var(--f-script); font-size: 3rem; color: var(--mauve); line-height: 1; }
.footer__names span { color: var(--blush); }
.footer__date { letter-spacing: .3em; margin: 10px 0; color: var(--mauve-soft); }
.footer__thanks { font-family: var(--f-serif); font-style: italic; font-size: 1.2rem; margin-bottom: 24px; }
.footer__admin { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mauve-soft); text-decoration: none; opacity: .6; }
.footer__admin:hover { color: var(--blush); opacity: 1; }

/* ---------- Animações ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsivo ---------- */
@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; gap: 0;
    background: rgba(251,246,244,.98); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav__links.is-open { max-height: 460px; padding: 10px 0; }
  .nav__links a { padding: 14px 0; color: var(--mauve) !important; }
  .nav:not(.is-scrolled) .nav__links a { color: var(--mauve) !important; }
  .nav__cta { margin: 8px auto; }
  .section { padding: 70px 7vw; }
  .countdown__item { min-width: 66px; }
  .countdown__sep { display: none; }
}
