/* =========================================================
   Salão de eventos — CSS puro (sem frameworks)
   Paleta: off-white / grafite / champagne
   ========================================================= */

@font-face {
  font-family: "Amsterdam";
  src: url("../fonts/amsterdam-four.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --background: #fbfaf7;
  --foreground: #3a352e;
  --card: #ffffff;
  --muted: #f2efe9;
  --muted-foreground: #7d766c;
  --border: #e4dfd6;
  --gold: #c2a15f;
  --gold-soft: #ddc79a;
  --ink: #23201c;
  --cream: #f7f4ee;
  --destructive: #b3261e;

  --font-logo: "Amsterdam", Georgia, "Times New Roman", serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
blockquote {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: 0.01em;
  margin: 0;
  line-height: 1.15;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 80;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
  background: var(--card);
  padding: 0.6rem 1rem;
  border: 1px solid var(--border);
}

/* ---------- utilitários ---------- */

.container {
  width: 100%;
  margin-inline: auto;
  max-width: 78rem;
  padding-inline: 1.25rem;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.rule {
  display: block;
  width: 3rem;
  height: 1px;
  background-color: var(--gold);
  margin-top: 1.5rem;
}

.section {
  padding-block: 5rem;
}

.section--cream {
  background-color: var(--cream);
}

.section-head {
  max-width: 40rem;
}

.section-head h2 {
  margin-top: 1rem;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
}

.lead {
  margin-top: 1.5rem;
  color: var(--muted-foreground);
}

.small-note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.center {
  text-align: center;
}

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.8rem;
  font-family: inherit;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  background: none;
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease;
}

.btn--gold {
  background-color: var(--gold);
  color: #1f1c18;
}

.btn--gold:hover {
  background-color: var(--gold-soft);
}

.btn--light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn--light:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

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

.btn--dark:hover {
  background-color: var(--ink);
  color: var(--cream);
}

.btn-row {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ---------- header ---------- */

.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition:
    background-color 0.5s ease,
    border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}

.header.is-solid {
  background-color: rgba(251, 250, 247, 0.95);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--border);
}

.header__bar {
  display: flex;
  height: 6rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 10px 28px;
  transition: all 0.3s ease;
}

.header__logo,
.footer__logo {
  font-family: var(--font-logo);
  font-size: 2rem;
  letter-spacing: 0.12em;
  color: var(--gold-soft);
  min-width: 0;
  transition: all 0.3s ease;
  /* overflow: hidden; */
  /* text-overflow: ellipsis; */
  /* white-space: nowrap; */
}

.header.is-solid .header__bar {
  padding: 10px 28px;
  height: 4rem;
  transition: all 0.3s ease;
}

.header.is-solid .header__logo {
  font-size: 1.25rem;
  color: var(--gold);
  transition: all 0.3s ease;
}

footer.footer .footer__logo {
  font-size: 3rem;
  color: var(--gold);
  transition: all 0.3s ease;
  text-align: center;
}
.header.is-solid .nav__link {
  color: var(--foreground);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav__link {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  transition: color 0.3s ease;
}

.nav__link:hover {
  color: var(--gold);
}

.header .btn--gold {
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.7rem;
}

.burger {
  display: grid;
  place-items: center;
  height: 2.75rem;
  width: 2.75rem;
  flex-shrink: 0;
  border: 0;
  background: none;
  color: var(--gold-soft);
  cursor: pointer;
}

.header.is-solid .burger {
  color: var(--foreground);
}

.burger__box {
  position: relative;
  display: block;
  height: 1rem;
  width: 1.5rem;
}

.burger__box span {
  position: absolute;
  left: 0;
  display: block;
  height: 1px;
  width: 1.5rem;
  background: currentColor;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    top 0.3s ease;
}

.burger__box span:nth-child(1) {
  top: 0;
}
.burger__box span:nth-child(2) {
  top: 0.5rem;
}
.burger__box span:nth-child(3) {
  top: 1rem;
}

.burger[aria-expanded="true"] .burger__box span:nth-child(1) {
  top: 0.5rem;
  transform: rotate(45deg);
}
.burger[aria-expanded="true"] .burger__box span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] .burger__box span:nth-child(3) {
  top: 0.5rem;
  transform: rotate(-45deg);
}

.menu-mobile {
  border-top: 1px solid var(--border);
  background-color: var(--background);
}

.menu-mobile__nav {
  display: flex;
  flex-direction: column;
  padding-block: 1rem;
}

.menu-mobile__nav a:not(.btn) {
  border-bottom: 1px solid rgba(228, 223, 214, 0.6);
  padding-block: 1rem;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-mobile__nav .btn {
  margin-top: 1.25rem;
  width: 100%;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 92svh;
  width: 100%;
}

.hero__img,
.overlay-img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.55);
}

.hero__content {
  position: relative;
  display: flex;
  min-height: 92svh;
  flex-direction: column;
  justify-content: center;
  padding-block: 7rem;
  z-index: 1;
}

.hero h1 {
  margin-top: 1.25rem;
  max-width: 48rem;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  line-height: 1.1;
  color: #fff;
}

.hero__text {
  margin-top: 1.5rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
}

/* ---------- grids ---------- */

.split {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.grid-cards {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background-color: var(--card);
  overflow: hidden;
}

.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card__media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.card:hover .card__media img {
  transform: scale(1.04);
}

.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

.card__body h3 {
  font-size: 1.25rem;
}

.card__body p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ---------- estrutura ---------- */

.features {
  margin-top: 3rem;
  display: grid;
  gap: 1px;
  list-style: none;
  padding: 0;
  border: 1px solid var(--border);
  background-color: var(--border);
}

.features li {
  background-color: var(--background);
  padding: 1.75rem;
}

.features__mark {
  display: block;
  height: 1.5rem;
  width: 1.5rem;
  border: 1px solid var(--gold);
  border-radius: 9999px 0 9999px 0;
}

.features h3 {
  margin-top: 1.25rem;
  font-size: 1.125rem;
}

.features p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ---------- galeria ---------- */

.gallery {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 0;
}

.gallery button {
  display: block;
  height: 100%;
  width: 100%;
  overflow: hidden;
  border: 0;
  padding: 0;
  background-color: var(--muted);
  cursor: pointer;
}

.gallery img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery button:hover img {
  transform: scale(1.04);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.92);
  padding: 1rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__top {
  display: flex;
  justify-content: flex-end;
}

.lightbox__close {
  display: grid;
  place-items: center;
  height: 3rem;
  width: 3rem;
  font-size: 1.5rem;
  color: #fff;
  border: 0;
  background: none;
  cursor: pointer;
}

.lightbox figure {
  margin: 0;
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-height: 70vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.lightbox figcaption {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

.lightbox__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-bottom: 0.5rem;
}

.lightbox__count {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- atmosfera ---------- */

.banner {
  position: relative;
}

.banner img {
  height: 60vh;
  width: 100%;
  object-fit: cover;
}

.banner__shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.banner__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.banner h2 {
  max-width: 48rem;
  color: #fff;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
}

/* ---------- depoimentos ---------- */

.quote-card {
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.75rem;
}

.stars {
  color: var(--gold);
  font-size: 0.875rem;
}

.quote-card blockquote {
  margin: 1.25rem 0 0;
  font-size: 1.125rem;
}

.quote-card footer {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.quote-card footer p:first-child {
  font-size: 0.875rem;
  font-weight: 500;
}

.quote-card footer p:last-child {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

/* ---------- contato ---------- */

.contact-grid {
  display: grid;
  gap: 3.5rem;
}

address {
  font-style: normal;
  margin-top: 2rem;
  color: var(--muted-foreground);
}

address strong {
  display: block;
  color: var(--foreground);
}

address a {
  display: block;
}

address a:hover {
  color: var(--gold);
}

.map {
  margin-top: 2rem;
  aspect-ratio: 4 / 3;
  width: 100%;
  border: 1px solid var(--border);
  background-color: var(--muted);
}

.map iframe {
  height: 100%;
  width: 100%;
  border: 0;
}

/* ---------- formulário ---------- */

.form {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
}

.form__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.form__field {
  margin-top: 0.5rem;
  width: 100%;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--foreground);
  transition: border-color 0.3s ease;
}

.form__field:focus {
  outline: none;
  border-color: var(--gold);
}

.form__field[aria-invalid="true"] {
  border-color: var(--destructive);
}

.form__error {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--destructive);
}

.form__status {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ---------- CTA final e rodapé ---------- */

.cta-final {
  background-color: var(--ink);
  text-align: center;
  padding-block: 5rem;
}

.cta-final h2 {
  margin-inline: auto;
  max-width: 48rem;
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
}

.cta-final p {
  margin: 1.5rem auto 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.75);
}

.cta-final .btn-row {
  justify-content: center;
}

.footer {
  border-top: 1px solid var(--border);
  background-color: var(--background);
  padding-block: 3.5rem;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer h2 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.footer ul {
  margin-top: 1rem;
  list-style: none;
  padding: 0;
  font-size: 0.875rem;
  display: grid;
  gap: 0.5rem;
}

.footer a:hover {
  color: var(--gold);
}

.footer p,
.footer address {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer__bottom {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ---------- WhatsApp flutuante ---------- */

.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  display: grid;
  place-items: center;
  height: 3.5rem;
  width: 3.5rem;
  border-radius: 9999px;
  background-color: var(--ink);
  color: var(--cream);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

.wa-float:hover {
  transform: scale(1.05);
}

/* ---------- revelação ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- responsivo ---------- */

@media (min-width: 640px) {
  .btn-row {
    flex-direction: row;
  }
  .grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery {
    gap: 1rem;
  }
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .form__full {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .section {
    padding-block: 7rem;
  }
  .header__bar {
    height: 7rem;
    padding: 10px 15px;
  }
  .header__logo {
    font-size: 2.6rem;
  }
  .nav {
    display: flex;
  }
  .burger,
  .menu-mobile {
    display: none;
  }
  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
  }
  .grid-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .gallery li:nth-child(5n + 1) {
    grid-row: span 2;
  }
  .quotes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
