/* ===== Tokens (do Figma) ===== */
:root {
  --cream: #f7f4ec;
  --sand: #efece2;
  --sage-light: #e6e9df;
  --green: #243d32;
  --green-ink: #263b31;
  --green-deep: #1c291c;
  --gold: #dcc59d;
  --muted: #626a60;
  --muted-light: #d2d9cf;
  --line: #d7dacf;
  --line-dark: #5b6a5d;
  --field-border: #c2c6b8;

  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5.5vw, 80px);
  --max: 1440px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--green);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, figure, ol, ul { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(48px, 6vw, 72px); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--green); color: var(--cream); padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ===== Tipografia ===== */
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.3;
}
.eyebrow-gold { color: var(--gold); }
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1.2;
  margin-top: 16px;
}
.body {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.3;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 40px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.section-aside {
  color: var(--muted);
  font-size: 14px;
  max-width: 438px;
  padding-bottom: 12px;
}

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 2px;
  font: 500 14px/1.25 var(--sans);
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease;
}
.btn:hover { opacity: .9; }
.btn-dark { background: var(--green); color: var(--cream); }
.btn-gold { background: var(--gold); color: var(--green); }

.link-light, .link-dark { font-size: 14px; border-bottom: 1px solid transparent; transition: border-color .2s; }
.link-light { color: var(--cream); }
.link-dark { color: var(--green); }
.link-light:hover { border-color: var(--cream); }
.link-dark:hover { border-color: var(--green); }

/* ===== Navegação ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
}
.brand { display: flex; align-items: center; gap: 14px; color: var(--green-ink); }
.brand-mark { width: 78px; height: auto; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1.1;
  color: var(--green-deep);
}
.brand-tag { font-size: 9px; letter-spacing: 2.5px; margin-top: 4px; padding-left: 3px; }

.main-nav { display: flex; align-items: center; flex: 1; justify-content: flex-end; gap: 40px; }
.main-nav ul { display: flex; gap: 0; margin-right: auto; margin-left: clamp(40px, 17vw, 246px); }
.main-nav li a {
  display: inline-block;
  width: 122px;
  font-size: 13px;
  color: var(--green-ink);
}
.main-nav li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.main-nav .btn { width: 210px; padding: 0; }

.menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.menu-button { display: none; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 760px;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg,
    rgba(20, 41, 31, .88) 0%,
    rgba(20, 41, 31, .52) 58%,
    rgba(20, 41, 31, .03) 100%);
}
.hero-inner {
  min-height: 760px;
  display: flex;
  flex-direction: column;
  padding-top: 90px;
}
.hero .eyebrow { font-size: 11px; letter-spacing: 2.5px; }
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 6vw, 86px);
  line-height: 1.25;
  max-width: 820px;
  margin-top: 40px;
}
.hero-lead {
  font-size: 18px;
  line-height: 1.25;
  max-width: 440px;
  margin-top: 28px;
  padding-left: 4px;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 30px;
  margin-top: 52px;
  padding-left: 4px;
}
.hero-actions .btn { width: 285px; padding: 0; }
.hero-footer {
  margin-top: auto;
  margin-left: 4px;
  border-top: 1px solid rgba(247, 244, 236, .3);
  padding: 16px 0 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-footer .eyebrow { white-space: pre-wrap; }
.hero-chip {
  background: rgba(36, 61, 50, .96);
  border-radius: 2px;
  padding: 10px 14px;
  font-size: 13px;
  width: 276px;
  margin-right: -10px;
}

/* ===== O espaço ===== */
.about-grid {
  display: grid;
  grid-template-columns: 570fr 650fr;
  gap: 80px;
  align-items: start;
}
.about-img { width: 100%; aspect-ratio: 570 / 326; object-fit: cover; }
.about-text { padding-top: 2px; max-width: 620px; }
.about-text .h2 { margin-top: 22px; }
.about-text .body { margin-top: 22px; padding-left: 3px; max-width: 570px; }
.about-text .link-dark { display: inline-block; margin-top: 36px; margin-left: 3px; }

/* ===== Celebrações ===== */
.celebrations { background: var(--sand); padding-top: 48px; padding-bottom: 56px; }
.celebrations .h2 { font-size: clamp(36px, 4vw, 50px); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card a { display: block; }
.card img { width: 100%; aspect-ratio: 412 / 242; object-fit: cover; transition: opacity .3s; }
.card a:hover img { opacity: .9; }
.card-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 31px;
  line-height: 1.25;
  margin-top: 16px;
}
.card-title span { font-family: var(--sans); font-size: 22px; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.25; margin-top: 10px; max-width: 300px; }

/* ===== Experiência ===== */
.experience { background: var(--green); color: var(--cream); padding-top: 48px; padding-bottom: 64px; }
.experience .h2 { font-size: clamp(34px, 4vw, 49px); margin-top: 16px; }
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}
.features li { border-top: 1px solid var(--line-dark); padding-top: 24px; }
.feature-num { color: var(--gold); font-size: 10px; letter-spacing: 2px; }
.features h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 29px;
  line-height: 1.3;
  margin-top: 18px;
}
.features p { color: var(--muted-light); font-size: 14px; margin-top: 14px; max-width: 300px; }

/* ===== Galeria ===== */
.gallery { padding-top: 48px; padding-bottom: 60px; }
.gallery .h2 { font-size: clamp(36px, 4vw, 50px); }
.gallery-grid {
  display: grid;
  grid-template-columns: 520fr 360fr 360fr;
  gap: 20px;
}
.gallery-grid img { width: 100%; height: 284px; object-fit: cover; }
.gallery-grid figure:nth-child(2) img { object-position: center 70%; }
.gallery-grid figcaption { font-size: 10px; letter-spacing: 2px; margin-top: 20px; }

/* ===== Planeje ===== */
.plan { background: var(--sage-light); padding-top: 51px; padding-bottom: 56px; }
.plan-grid {
  display: grid;
  grid-template-columns: 610fr 620fr;
  gap: 50px;
  justify-content: space-between;
}
.plan-intro .h2 { font-size: clamp(38px, 4.4vw, 54px); line-height: 1.3; max-width: 520px; }
.plan-intro .body { margin-top: 20px; padding-left: 3px; max-width: 420px; }
.plan-intro address {
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 48px; padding-left: 3px;
  color: var(--muted); font-size: 14px;
}
.plan-intro address .eyebrow { color: var(--green); }

.plan-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
}
.field { display: flex; flex-direction: column; gap: 9px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 12px; color: var(--green); }
.field input, .field select {
  height: 47px;
  width: 100%;
  padding: 0 13px;
  background: var(--cream);
  border: 1px solid var(--field-border);
  border-radius: 2px;
  font: 13px/1.3 var(--sans);
  color: var(--green);
  appearance: none;
  -webkit-appearance: none;
}
.field input::placeholder { color: var(--muted); opacity: 1; }
.field select:invalid, .field input[type="date"]:not(:focus):invalid { color: var(--muted); }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23626a60' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--green); }
.plan-form .btn { width: 100%; margin-top: 3px; font-weight: 400; }
.form-note { color: var(--muted); font-size: 11px; margin-top: -6px; }

/* ===== FAQ ===== */
.faq { padding-top: 45px; padding-bottom: 48px; }
.faq-grid {
  display: grid;
  grid-template-columns: 582fr 698fr;
  gap: 0;
}
.faq-grid .eyebrow { margin-top: 3px; }
.faq-grid .h2 { font-size: clamp(36px, 4vw, 49px); margin-top: 20px; }
.faq-grid .body { font-size: 15px; margin-top: 10px; padding-left: 3px; max-width: 300px; }
.faq-list > div { border-top: 1px solid var(--line); padding: 15px 0 22px; }
.faq-list dt { font-size: 17px; color: var(--green); }
.faq-list dd { color: var(--muted); font-size: 13px; margin-top: 10px; max-width: 380px; }

/* ===== Rodapé ===== */
.site-footer { background: var(--green); color: var(--cream); padding-top: 30px; }
.footer-top {
  display: grid;
  grid-template-columns: 680fr 600fr;
  gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 16px; font-family: var(--serif); font-size: 46px; line-height: 1.3; }
.footer-brand img { width: 72px; height: auto; }
.footer-top .eyebrow { margin-top: 2px; padding-left: 3px; }
.footer-tagline { color: var(--muted-light); font-size: 13px; margin-top: 20px; padding-left: 3px; }
.footer-city { font-size: 16px; margin-top: 18px; }
.site-footer nav { display: flex; gap: 30px; margin-top: 18px; }
.site-footer nav a { color: var(--muted-light); font-size: 13px; }
.site-footer nav a:hover { color: var(--cream); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 8px 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-dark);
  margin-top: 22px;
  padding: 13px 0 14px 3px;
  font-size: 10px;
  color: var(--muted-light);
}
.footer-bottom p:last-child { width: 350px; }

/* ===== Responsivo ===== */
@media (max-width: 1180px) {
  .main-nav ul { margin-left: 40px; }
  .main-nav li a { width: auto; margin-right: 32px; }
}

@media (max-width: 960px) {
  /* Menu mobile */
  .menu-button {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; cursor: pointer;
  }
  .menu-button span,
  .menu-button span::before,
  .menu-button span::after {
    display: block; width: 24px; height: 1.5px; background: var(--green);
    position: relative; transition: transform .35s var(--ease), background .2s ease;
  }
  .menu-button span::before, .menu-button span::after { content: ""; position: absolute; left: 0; }
  .menu-button span::before { top: -7px; }
  .menu-button span::after { top: 7px; }
  .menu-toggle:checked + .menu-button span { background: transparent; }
  .menu-toggle:checked + .menu-button span::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle:checked + .menu-button span::after { transform: translateY(-7px) rotate(-45deg); }

  /* Painel: desliza para baixo e revela de cima (clip-path) */
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream);
    display: flex;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 8px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -20px rgba(28, 41, 28, .35);
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    visibility: hidden;
    transition:
      clip-path .45s var(--ease),
      opacity .3s ease,
      visibility 0s linear .45s;
  }
  .menu-toggle:checked ~ .main-nav {
    clip-path: inset(0 0 -40px 0); /* deixa a sombra aparecer */
    opacity: 1;
    visibility: visible;
    transition:
      clip-path .5s var(--ease),
      opacity .25s ease,
      visibility 0s;
  }
  .main-nav ul { flex-direction: column; margin: 0; }
  .main-nav li a { display: block; width: 100%; padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); margin: 0; }
  .main-nav .btn { width: 100%; }

  /* Itens entram em sequência */
  .main-nav li, .main-nav .btn {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease;
  }
  .menu-toggle:checked ~ .main-nav li,
  .menu-toggle:checked ~ .main-nav .btn {
    opacity: 1;
    transform: none;
    transition: opacity .4s ease, transform .4s var(--ease);
  }
  .menu-toggle:checked ~ .main-nav li:nth-child(1) { transition-delay: .08s; }
  .menu-toggle:checked ~ .main-nav li:nth-child(2) { transition-delay: .13s; }
  .menu-toggle:checked ~ .main-nav li:nth-child(3) { transition-delay: .18s; }
  .menu-toggle:checked ~ .main-nav li:nth-child(4) { transition-delay: .23s; }
  .menu-toggle:checked ~ .main-nav .btn { transition-delay: .28s; }

  .about-grid,
  .plan-grid,
  .faq-grid,
  .footer-top { grid-template-columns: 1fr; gap: 40px; }

  .cards, .features { grid-template-columns: 1fr 1fr; gap: 40px 22px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid figure:first-child { grid-column: 1 / -1; }
  .gallery-grid img { height: auto; aspect-ratio: 4 / 3; }
  .gallery-grid figure:first-child img { aspect-ratio: 16 / 9; }

  .hero, .hero-inner { min-height: 680px; }
  .hero::before {
    background: linear-gradient(90deg, rgba(20,41,31,.88) 0%, rgba(20,41,31,.62) 100%);
  }
}

@media (max-width: 640px) {
  .header-inner { min-height: 76px; }
  .brand-name { font-size: 34px; }
  .brand-mark { width: 56px; }
  .brand { gap: 10px; }
  .footer-brand { font-size: 38px; }
  .footer-brand img { width: 56px; }
  .brand-tag { font-size: 8px; }

  .hero, .hero-inner { min-height: 640px; }
  .hero-inner { padding-top: 56px; }
  .display { margin-top: 24px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { margin-top: 36px; }
  .hero-actions .btn { width: 100%; }
  .hero-footer { flex-direction: column; align-items: flex-start; padding-top: 20px; }
  .hero-footer .eyebrow { font-size: 9px; letter-spacing: 1.5px; }
  .hero-chip { width: auto; margin-right: 0; }

  .cards, .features, .gallery-grid { grid-template-columns: 1fr; }
  .card-title { font-size: 28px; }
  .card p, .features p { max-width: none; }

  .plan-form { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; }
  .footer-bottom p:last-child { width: auto; }
}

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

/* ===== Contato WhatsApp ===== */
.contact-whatsapp { color: var(--green); border-bottom: 1px solid transparent; align-self: flex-start; transition: border-color .2s; }
.contact-whatsapp:hover { border-color: var(--green); }
.footer-city a { border-bottom: 1px solid transparent; transition: border-color .2s; }
.footer-city a:hover { border-color: var(--cream); }

/* =========================================================
   Página: Galeria
   ========================================================= */
.main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

.page-intro { padding-top: 40px; padding-bottom: 48px; }
.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 36px; }
.breadcrumb a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb span[aria-hidden] { margin: 0 6px; }
.page-intro-grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 438px);
  gap: 24px 60px;
  align-items: end;
}
.page-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.15;
  margin-top: 16px;
}
.page-lead { color: var(--muted); font-size: 15px; line-height: 1.45; padding-bottom: 12px; }
.area-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.area-index a {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--field-border);
  border-radius: 999px;
  font-size: 13px;
  transition: background .2s, color .2s, border-color .2s;
}
.area-index a:hover { background: var(--green); border-color: var(--green); color: var(--cream); }

.area { padding-block: clamp(48px, 6vw, 80px); }
.area-alt { background: var(--sand); }
.area-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 40px 60px;
  align-items: start;
}
.area-text { position: sticky; top: 130px; }
.area-num { color: var(--muted); font-size: 10px; letter-spacing: 2px; }
.area-text .h2 { font-size: clamp(32px, 3.4vw, 44px); margin-top: 14px; }
.area-text .body { margin-top: 18px; line-height: 1.5; font-size: 15px; }

.area-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.photo {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--line);
  cursor: zoom-in;
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.photo:hover img { transform: scale(1.04); }
.photo-wide { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.area-photos-kitchen { grid-template-columns: 3fr 2fr; }
.area-photos-kitchen .photo { aspect-ratio: auto; height: clamp(320px, 32vw, 460px); }

.cta-band { background: var(--green); color: var(--cream); border-bottom: 1px solid var(--line-dark); }
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 28px 40px;
}
.cta-band .h2 { font-size: clamp(34px, 4vw, 50px); }
.cta-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 30px; }
.cta-actions .btn { min-width: 240px; }

/* Lightbox */
.lightbox {
  width: 100vw; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(20, 41, 31, .96);
  color: var(--cream);
  opacity: 0;
  transition: opacity .3s ease, overlay .3s allow-discrete, display .3s allow-discrete;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; opacity: 1; }
@starting-style { .lightbox[open] { opacity: 0; } }
.lightbox::backdrop { background: transparent; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: calc(100vw - 160px); }
.lightbox-img {
  max-width: 100%;
  max-height: calc(100dvh - 140px);
  object-fit: contain;
  opacity: 0;
  transform: scale(.98);
  transition: opacity .3s ease, transform .4s var(--ease);
}
.lightbox.is-loaded .lightbox-img { opacity: 1; transform: none; }
.lightbox figcaption {
  display: flex; gap: 20px; justify-content: space-between; width: 100%;
  font-size: 13px; color: var(--muted-light);
}
.lightbox-counter { letter-spacing: 2px; font-size: 11px; white-space: nowrap; }
.lightbox button {
  position: absolute;
  width: 52px; height: 52px;
  border: 1px solid rgba(247, 244, 236, .3);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  font: 20px/1 var(--sans);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.lightbox button:hover { background: rgba(247, 244, 236, .1); border-color: var(--cream); }
.lightbox-close { top: 20px; right: 20px; font-size: 16px !important; }
.lightbox-prev { left: 24px; top: 50%; translate: 0 -50%; }
.lightbox-next { right: 24px; top: 50%; translate: 0 -50%; }

@media (max-width: 960px) {
  .page-intro-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }
  .area-text { position: static; max-width: 560px; }
}

@media (max-width: 640px) {
  .area-photos, .area-photos-kitchen { grid-template-columns: 1fr; }
  .photo-wide { aspect-ratio: 4 / 3; }
  .area-photos-kitchen .photo { height: auto; aspect-ratio: 4 / 3; }
  .area-photos-kitchen .photo:last-child { aspect-ratio: 3 / 4; }
  .cta-actions .btn { width: 100%; }

  .lightbox figure { max-width: 100vw; padding: 0 12px; }
  .lightbox-img { max-height: calc(100dvh - 200px); }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 24px; translate: none; }
  .lightbox-prev { left: calc(50% - 64px); }
  .lightbox-next { right: calc(50% - 64px); }
  .lightbox-close { top: 14px; right: 14px; }
}
.gallery-more { display: inline-block; margin-top: 36px; }

/* =========================================================
   Página: Celebrações (arquivo)
   ========================================================= */
.celebration-list { padding-top: 0; }
.cards-archive { grid-template-columns: repeat(4, 1fr); gap: 48px 22px; }
.cards-archive .card img { aspect-ratio: 4 / 3; }
.cards-archive .card-title { font-size: 27px; gap: 12px; }
.cards-archive .card-title span { flex-shrink: 0; transition: transform .3s var(--ease); }
.cards-archive .card a:hover .card-title span { transform: translate(3px, -3px); }
.cards-archive .card p { max-width: none; line-height: 1.4; }
.archive-note {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}
.archive-note .link-dark { margin-left: 6px; font-size: 15px; }

.cta-band-light { background: var(--sage-light); color: var(--green); border-bottom: 0; }

@media (max-width: 1180px) {
  .cards-archive { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .cards-archive { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cards-archive { grid-template-columns: 1fr; gap: 40px; }
  .archive-note .link-dark { display: inline-block; margin: 8px 0 0; }
}

/* =========================================================
   Página de celebração (modelo: casamentos)
   ========================================================= */
.main-nav a[aria-current="true"] { text-decoration: underline; text-underline-offset: 4px; }

.hero-sub, .hero-sub .hero-inner { min-height: 640px; }
.hero-sub .hero-inner { padding-top: 40px; padding-bottom: 80px; }
.hero-sub .display { font-size: clamp(42px, 5.4vw, 76px); margin-top: 28px; max-width: 760px; }
.breadcrumb-light { color: rgba(247, 244, 236, .75); }
.breadcrumb-light a:hover { color: var(--cream); }

.related { background: var(--sand); }
.related .area-index { border-top: 0; padding-top: 0; margin-top: 28px; }

@media (max-width: 960px) {
  .hero-sub, .hero-sub .hero-inner { min-height: 600px; }
}
@media (max-width: 640px) {
  .hero-sub, .hero-sub .hero-inner { min-height: 0; }
  .hero-sub .hero-inner { padding-top: 28px; padding-bottom: 56px; }
}

/* Fotos que abrem ampliadas (página inicial) */
.zoomable { display: block; overflow: hidden; cursor: zoom-in; }
.zoomable img { transition: transform .6s var(--ease); }
.zoomable:hover img { transform: scale(1.04); }

/* Endereço */
.contact-address { color: var(--green); line-height: 1.45; align-self: flex-start; border-bottom: 1px solid transparent; transition: border-color .2s; }
.contact-address:hover { border-color: var(--green); }
.footer-city { line-height: 1.45; }
.footer-phone { margin-top: 10px; font-size: 14px; }
.footer-phone a { color: var(--muted-light); transition: color .2s; }
.footer-phone a:hover { color: var(--cream); }

/* =========================================================
   Localização + mapa (carrega ao tocar)
   ========================================================= */
.location { background: var(--sand); }
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px 64px;
  align-items: center;
}
.location-address {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--green);
}
.location-text .body { margin-top: 14px; max-width: 380px; font-size: 15px; }
.location-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 32px; }
.location-actions .btn { min-width: 200px; }

.map-facade {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 2px;
  background: var(--sage-light);
  border: 1px solid var(--line);
}
a.map-facade { cursor: pointer; }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .8s var(--ease); }
a.map-facade:hover .map-art { transform: scale(1.04); }
.map-pin {
  position: absolute; left: 50%; top: 50%;
  translate: -50% -100%;
  filter: drop-shadow(0 6px 8px rgba(28, 41, 28, .25));
  transition: translate .3s var(--ease);
}
a.map-facade:hover .map-pin { translate: -50% -110%; }
.map-cta {
  position: absolute; left: 50%; bottom: 24px;
  translate: -50% 0;
  background: var(--green);
  color: var(--cream);
  font-size: 13px;
  padding: 11px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-facade.is-loading::after {
  content: "Carregando mapa…";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 13px; color: var(--muted);
}

@media (max-width: 960px) {
  .location-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .map-facade { aspect-ratio: 4 / 3; }
  .location-actions .btn { width: 100%; }
}

/* Rodapé: marca no mesmo formato do cabeçalho (árvore + nome + "espaço de eventos") */
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: inherit;
  color: var(--cream);
}
.footer-brand img { width: 68px; height: auto; flex-shrink: 0; }
.footer-brand-text { display: flex; flex-direction: column; }
.footer-brand-name { font-family: var(--serif); font-size: 40px; line-height: 1.1; }
.footer-brand .eyebrow { margin-top: 6px; padding-left: 2px; font-size: 9px; letter-spacing: 2.5px; }
.footer-tagline { margin-top: 18px; padding-left: 0; }

@media (max-width: 640px) {
  .footer-brand { gap: 12px; }
  .footer-brand img { width: 52px; }
  .footer-brand-name { font-size: 32px; }
  .footer-brand .eyebrow { font-size: 8px; }
}

/* Marca: nome em maiúsculas semibold, como no logo (acento do Ê fica natural) */
.brand-name,
.footer-brand-name {
  font-family: var(--serif);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1;
}
.brand { gap: 12px; }
.brand-mark { width: 64px; }
.brand-name { font-size: 30px; color: var(--green-deep); }
.brand-tag { font-size: 9px; letter-spacing: 2.2px; margin-top: 7px; padding-left: 1px; color: var(--muted); }

.footer-brand { gap: 14px; }
.footer-brand img { width: 58px; }
.footer-brand-name { font-size: 28px; }
.footer-brand-tag {
  display: block;
  font-family: var(--sans);
  margin-top: 7px;
  padding-left: 1px;
  font-size: 9px;
  letter-spacing: 2.2px;
  color: var(--gold);
}
.footer-tagline { margin-top: 20px; }

@media (max-width: 640px) {
  .brand { gap: 10px; }
  .brand-mark { width: 48px; }
  .brand-name { font-size: 23px; }
  .brand-tag { font-size: 8px; letter-spacing: 1.8px; margin-top: 5px; }
  .footer-brand img { width: 50px; }
  .footer-brand-name { font-size: 24px; }
  .footer-brand-tag { font-size: 8px; letter-spacing: 1.8px; }
}

/* =========================================================
   Página 404
   ========================================================= */
.not-found { padding-block: clamp(56px, 8vw, 110px); text-align: center; }
.not-found-inner { display: flex; flex-direction: column; align-items: center; }
.not-found-tree { width: 140px; height: auto; margin-bottom: 8px; }
.not-found-code {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(72px, 12vw, 132px);
  line-height: 1;
  letter-spacing: .04em;
  color: var(--gold);
  margin-bottom: 18px;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}
.not-found .page-title { max-width: 720px; margin-top: 14px; }
.not-found .page-lead { max-width: 520px; margin-top: 18px; padding-bottom: 0; }
.not-found-actions {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 18px 30px; margin-top: 36px;
}
.not-found-actions .btn { min-width: 220px; }
.not-found-links { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); width: 100%; max-width: 820px; }
.not-found-links .area-index { justify-content: center; border-top: 0; padding-top: 0; margin-top: 18px; }

@media (max-width: 640px) {
  .not-found-tree { width: 104px; }
  .not-found-actions .btn { width: 100%; }
}

/* =========================================================
   Telas grandes (monitores 1920px, 2560px e ultrawide 3440px)
   Aumenta tudo proporcionalmente para o conteúdo não ficar pequeno
   no meio da tela. O visualizador de fotos (dialog) fica de fora,
   pois já ocupa a tela inteira.
   ========================================================= */
@media (min-width: 1800px) {
  .site-header, main, .site-footer { zoom: 1.15; }
  html { scroll-padding-top: 115px; }
}
@media (min-width: 2200px) {
  .site-header, main, .site-footer { zoom: 1.3; }
  html { scroll-padding-top: 130px; }
}
@media (min-width: 2800px) {
  .site-header, main, .site-footer { zoom: 1.5; }
  html { scroll-padding-top: 150px; }
}

/* =========================================================
   Tipografia: EB Garamond (acentos naturais) com peso 500
   nos títulos para não ficarem finos demais
   ========================================================= */
.display,
.h2,
.page-title,
.card-title,
.features h3,
.footer-brand-name { font-weight: 500; }
.brand-name,
.footer-brand-name { font-weight: 600; letter-spacing: .04em; }
.display { letter-spacing: -.005em; }
.card-title span { font-weight: 400; }

/* Menu: espaço igual entre os itens (antes cada item tinha largura fixa) */
@media (min-width: 961px) {
  .main-nav { gap: 48px; }
  .main-nav ul { gap: 40px; margin-left: auto; margin-right: 0; }
  .main-nav li a { width: auto; margin-right: 0; font-size: 14px; }
}
@media (min-width: 961px) and (max-width: 1180px) {
  .main-nav { gap: 32px; }
  .main-nav ul { gap: 28px; }
}

/* =========================================================
   Botão flutuante do WhatsApp (todas as páginas)
   ========================================================= */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: wa-in .6s var(--ease) .8s both;
}
.wa-float img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(20, 41, 31, .28);
  transition: transform .25s var(--ease), box-shadow .25s ease;
}
.wa-float-label {
  background: #fff;
  color: var(--green);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  padding: 11px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(20, 41, 31, .16);
  white-space: nowrap;
  transition: transform .25s var(--ease);
}
.wa-float:hover img { transform: translateY(-3px) scale(1.04); box-shadow: 0 12px 28px rgba(20, 41, 31, .32); }
.wa-float:hover .wa-float-label { transform: translateX(-3px); }
.wa-float:focus-visible { outline: none; }
.wa-float:focus-visible img { outline: 3px solid var(--gold); outline-offset: 3px; }

@keyframes wa-in {
  from { opacity: 0; transform: translateY(16px) scale(.9); }
  to   { opacity: 1; transform: none; }
}

/* Celular: só o botão redondo, um pouco menor */
@media (max-width: 640px) {
  .wa-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .wa-float-label { display: none; }
  .wa-float img { width: 56px; height: 56px; }
}

/* Telas grandes: acompanha o aumento do resto do site */
@media (min-width: 1800px) { .wa-float { zoom: 1.15; } }
@media (min-width: 2200px) { .wa-float { zoom: 1.3; } }
@media (min-width: 2800px) { .wa-float { zoom: 1.5; } }

@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }

/* Formulário: não esticar as linhas até a altura da coluna de texto,
   e texto do botão maior */
.plan-form { align-content: start; }
.plan-form .btn {
  min-height: 58px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .01em;
}

/* Formulário: rótulos e texto dos campos maiores */
.field { gap: 10px; }
.field label { font-size: 14px; font-weight: 500; }
.field input,
.field select { height: 50px; padding: 0 15px; font-size: 15px; }
.form-note { font-size: 12px; }

/* Celular: 16px evita que o iPhone dê zoom ao tocar no campo */
@media (max-width: 640px) {
  .field input,
  .field select { font-size: 16px; }
}

/* Título principal: a linha pequena (palavra-chave) e a frase fazem parte do mesmo H1,
   mas mantêm a aparência de antes */
.title-group { font: inherit; }
.title-group > span { display: block; }

/* =========================================================
   Aviso de cookies (aparece só quando a medição está ligada)
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  width: min(440px, calc(100% - 48px));
  background: var(--green);
  color: var(--cream);
  padding: 20px 22px;
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(20, 41, 31, .28);
  font-size: 14px;
  line-height: 1.45;
  animation: wa-in .5s var(--ease) both;
}
.cookie-banner a { text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; margin-top: 14px; }
.cookie-actions .btn { min-height: 42px; padding: 0 22px; }
.cookie-banner .btn-dark { background: var(--gold); color: var(--green); }
.cookie-refuse { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px var(--line-dark); }
@media (max-width: 640px) {
  /* No celular fica acima do botão do WhatsApp, de ponta a ponta */
  .cookie-banner {
    left: 16px; right: 16px; width: auto;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    padding: 18px;
  }
  .cookie-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .cookie-banner { animation: none; } }

/* Links do rodapé (Política de privacidade) */
.footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: var(--cream); }
.footer-bottom button.link-plain {
  background: none; border: 0; padding: 0; font: inherit; color: inherit;
  text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}

/* Página de texto (Política de privacidade) */
.legal { max-width: 760px; }
.legal .page-lead { margin-top: 18px; }
.legal h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2;
  margin-top: 44px;
}
.legal p, .legal li { color: var(--muted); font-size: 16px; line-height: 1.6; margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal li { margin-top: 6px; }
.legal a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--green); font-weight: 500; }
.legal .btn { margin-top: 18px; }
.legal-updated { font-size: 13px !important; margin-top: 40px !important; }
