/* Paleta tirada das aquarelas: papel creme, telhado terracota, janelas azuis,
   gramado verde-sálvia, orquídea rosa e flor amarela. */
:root {
  --paper: #FBF8F3;
  --cream: #F4EEE7;
  --sand: #EAE1D6;
  --ink: #4A3B30;
  --ink-soft: #7A6A5D;
  --terracotta: #A0603A;
  --blue: #34569C;
  --sage: #7F9A6E;
  --pink: #D05A7F;
  --yellow: #E3B243;
  --line: rgba(74, 59, 48, .14);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--terracotta); }
strong { font-weight: 500; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}

.eyebrow {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 .9rem;
}

/* ---------- Top bar ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(251, 248, 243, 0);
  transition: background .3s, box-shadow .3s;
}
.topbar.is-scrolled {
  background: rgba(251, 248, 243, .94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);
}
.topbar__mark {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .05em;
}
.topbar__mark span { font-style: italic; color: var(--terracotta); }

.menu { display: flex; gap: clamp(14px, 2.2vw, 32px); align-items: center; }
.menu a {
  color: var(--ink);
  text-decoration: none;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.menu a:hover, .menu a.is-current { border-color: var(--terracotta); color: var(--terracotta); }
.menu a.menu__cta {
  border: 1px solid var(--terracotta);
  color: var(--terracotta);
  padding: 7px 16px;
}
.menu a.menu__cta:hover { background: var(--terracotta); color: var(--paper); }

.topbar__toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 0;
  cursor: pointer;
  position: relative;
}
.topbar__toggle span {
  position: absolute; left: 11px; right: 11px;
  height: 1.5px; background: var(--ink);
  transition: transform .3s, top .3s;
}
.topbar__toggle span:first-child { top: 17px; }
.topbar__toggle span:last-child { top: 26px; }
.topbar__toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.topbar__toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .topbar__toggle { display: block; }
  .menu {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .menu.is-open { opacity: 1; transform: none; visibility: visible; }
  .topbar:has(.menu.is-open) { background: var(--paper); }
  .menu a { width: 100%; text-align: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
  .menu a:hover, .menu a.is-current { border-color: var(--line); }
  .menu a.menu__cta { margin-top: 16px; border: 1px solid var(--terracotta); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--cream);
  padding: 120px var(--gutter) 64px;
  text-align: center;
  overflow: hidden;
}
.hero__text { position: relative; z-index: 2; }
.hero__names {
  font-weight: 400;
  font-size: clamp(2.8rem, 9vw, 6rem);
  line-height: 1;
  letter-spacing: .01em;
}
.hero__amp {
  display: block;
  font-style: italic;
  font-size: .62em;
  color: var(--terracotta);
  margin: .12em 0 .08em;
}
.hero__date {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 1.6rem 0 .4rem;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  letter-spacing: .12em;
}
.hero__date i { width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); }
.hero__place {
  margin: 0;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero__art {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 40px auto 0;
}
.hero__art img { width: 100%; height: auto; mix-blend-mode: multiply; }

.hero__flower {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: .95;
}
.hero__flower--left { width: clamp(120px, 17vw, 240px); left: -20px; top: 90px; transform: rotate(-12deg); }
.hero__flower--right { width: clamp(80px, 10vw, 150px); right: 2vw; top: 70px; transform: rotate(10deg); }

@media (max-width: 640px) {
  .hero { padding-top: 96px; }
  .hero__flower--left { width: 110px; left: -38px; top: 70px; opacity: .55; }
  .hero__flower--right { width: 70px; right: -14px; top: 64px; opacity: .55; }
}

.countdown {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: clamp(18px, 5vw, 56px);
  margin-top: 40px;
}
.countdown div { display: flex; flex-direction: column; align-items: center; min-width: 56px; }
.countdown strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown span {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 6px;
}
.countdown.is-done { font-family: var(--serif); font-size: 1.6rem; font-style: italic; }

/* ---------- Sections ---------- */
.section {
  padding: clamp(72px, 10vw, 120px) var(--gutter);
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
}
.section--tint {
  max-width: none;
  background: var(--cream);
}
.section--tint > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }

.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__head h2, .gifts h2 { font-size: clamp(2.3rem, 6vw, 3.4rem); font-weight: 400; }
.section__head h2::after, .gifts h2::after {
  content: "";
  display: block;
  width: 42px; height: 1px;
  background: var(--terracotta);
  margin: 22px auto 0;
}
.lead { color: var(--ink-soft); margin: 22px 0 0; font-size: 1.05rem; }
.lead strong { color: var(--ink); }

/* ---------- Detalhes do evento ---------- */
.details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.detail { text-align: center; padding: 36px 20px; }
.detail + .detail { border-left: 1px solid var(--line); }
.detail__icon {
  width: 30px; height: 30px;
  fill: none; stroke: var(--terracotta); stroke-width: 1.2;
  stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: 14px;
}
.detail h3 {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.detail p { margin: 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; }
.detail small { display: inline-block; margin-top: 6px; font-family: var(--sans); font-size: .82rem; color: var(--ink-soft); line-height: 1.5; }

@media (max-width: 900px) {
  .details { grid-template-columns: 1fr 1fr; }
  .detail:nth-child(3) { border-left: 0; }
  .detail:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .details { grid-template-columns: 1fr; }
  .detail + .detail { border-left: 0; border-top: 1px solid var(--line); }
  .detail { padding: 28px 12px; }
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  background: var(--terracotta);
  color: var(--paper);
  border: 1px solid var(--terracotta);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: #87502F; border-color: #87502F; }
.btn--ghost { background: transparent; color: var(--terracotta); }
.btn--ghost:hover { background: var(--terracotta); color: var(--paper); }
.btn--lg { min-height: 54px; padding: 16px 36px; font-size: .85rem; }
.btn:focus-visible, .chip:focus-visible, .menu a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.dress {
  margin-top: 72px;
  padding: clamp(28px, 5vw, 48px);
  background: var(--cream);
  border-radius: var(--radius);
}
.dress > h3 { text-align: center; font-size: 1.8rem; font-weight: 400; margin-bottom: 28px; }
.dress__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.dress h4 {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 8px;
}
.dress p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 760px) { .dress__grid { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- Mapa ---------- */
.map-wrap {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 var(--line);
}
.map { position: relative; min-height: 360px; background: var(--sand); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-side { padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.map-side address { font-style: normal; line-height: 1.7; color: var(--ink-soft); }
.map-side address strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--ink); }
.map-side__btns { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 800px) {
  .map-wrap { grid-template-columns: 1fr; }
  .map { min-height: 300px; }
}

/* ---------- Dicas ---------- */
.tips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: 56px;
}
.tip h3 { font-size: 1.4rem; margin-bottom: 8px; }
.tip h3::before {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--sage);
  margin-bottom: 14px;
}
.tip p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 760px) { .tips { grid-template-columns: 1fr; } }

/* ---------- Legenda de preços ---------- */
.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 0 0 32px;
  font-size: .85rem;
  color: var(--ink-soft);
}
.legend b { font-weight: 500; color: var(--sage); margin-right: 4px; letter-spacing: .05em; }
.legend--small { font-size: .78rem; margin-top: 14px; }

.price {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--sage);
}

/* ---------- Hospedagem ---------- */
.stays { display: grid; gap: 16px; }
.stay {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 8px 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.stay:first-child { border-top: 1px solid var(--line); }
.stay__dist { font-family: var(--serif); font-size: 1.15rem; color: var(--terracotta); line-height: 1.2; }
.stay__dist small { display: block; font-family: var(--sans); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.stay h3 { font-size: 1.6rem; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.stay p { margin: 6px 0 0; font-size: .95rem; color: var(--ink-soft); max-width: 60ch; }
.stay__links { display: flex; gap: 8px; }
.stay__links a {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--terracotta);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  white-space: nowrap;
  transition: border-color .2s, background .2s;
}
.stay__links a:hover { border-color: var(--terracotta); background: var(--cream); }
.badge {
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--sage);
  border-radius: 999px;
  padding: 3px 10px;
  position: relative;
  top: -3px;
}
@media (max-width: 760px) {
  .stay { grid-template-columns: 1fr; padding: 24px 0; }
  .stay__links { margin-top: 8px; }
}

.note {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin-top: 56px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--cream);
  border-radius: var(--radius);
}
.note img { width: 64px; flex-shrink: 0; }
.note h3 { font-size: 1.6rem; font-weight: 400; margin-bottom: 12px; }
.note ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); font-size: .95rem; }
.note li { margin-bottom: 6px; }
.note li::marker { color: var(--yellow); }
@media (max-width: 560px) { .note img { display: none; } }

/* ---------- Beleza ---------- */
.beauty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.beauty__card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}
.beauty__card h3 { font-size: 1.45rem; margin: 6px 0 10px; }
.soon { margin: 0; font-size: .85rem; font-style: italic; color: var(--ink-soft); }
@media (max-width: 760px) { .beauty { grid-template-columns: 1fr; } }

/* ---------- Floripa ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 38px;
  padding: 6px 16px;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--terracotta); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.places {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.place {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s, transform .2s;
}
.place:hover { border-color: rgba(160, 96, 58, .45); transform: translateY(-2px); }
.place[hidden] { display: none; }
.place__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.place__meta .price { font-size: .75rem; }
.place h3 { font-size: 1.45rem; margin-bottom: 8px; }
.place p { margin: 0 0 16px; font-size: .92rem; color: var(--ink-soft); flex: 1; }
.place a { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.place a:hover { text-decoration: underline; }
.place--near { border-color: rgba(127, 154, 110, .55); }
.place--near .place__meta > span:first-child { color: var(--sage); font-weight: 500; }
@media (max-width: 960px) { .places { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .places { grid-template-columns: 1fr; } }

/* ---------- Presentes ---------- */
.gifts { text-align: center; position: relative; max-width: 720px; }
.gifts__flower { width: 110px; margin: 0 auto 24px; transform: rotate(-8deg); }
.gifts .lead { margin-bottom: 36px; }

/* ---------- Rodapé ---------- */
.footer {
  background: var(--cream);
  text-align: center;
  padding: 56px var(--gutter) 40px;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.footer p { margin: 0 0 6px; }
.footer__names {
  font-family: var(--serif);
  font-size: 2rem;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 10px !important;
}
.footer__names span { font-style: italic; color: var(--terracotta); }
.footer__credit { margin-top: 18px !important; font-size: .68rem; opacity: .75; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}
