:root {
  --header-height: 92px;
  --brown-900: #4b210f;
  --brown-800: #5a2913;
  --cream-100: #f9efcf;
  --cream-200: #efe2bb;
  --sand-300: #d9c49b;
  --text-dark: #5a2e18;
  --white: #ffffff;
  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text-dark);
  background: var(--cream-100);
}

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--brown-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 150px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.3vw, 36px);
}

.main-nav a {
  text-decoration: none;
  color: var(--cream-100);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  transition: opacity 0.2s ease;
}

.main-nav a:hover {
  opacity: 0.8;
}

.main-nav .cta-link {
  background: var(--cream-100);
  color: var(--brown-900);
  padding: 0.85rem 1.3rem;
  border-radius: 9px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  border-radius: 8px;
  padding: 10px 9px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--cream-100);
  margin: 6px 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(36, 20, 10, 0.78) 0%, rgba(36, 20, 10, 0.28) 58%, rgba(36, 20, 10, 0.24) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-tags {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.hero-tags span {
  margin-inline: 0.55rem;
}

.hero h1 {
  margin: 24px 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.25rem, 5.2vw, 4.2rem);
  line-height: 0.94;
  font-weight: 600;
}

.hero h1 em {
  font-family: "Mr Dafoe", cursive;
  font-weight: 400;
  font-style: normal;
  display: inline-block;
  font-size: clamp(1.05em, 1.9vw, 1.25em);
  line-height: 0.9;
  letter-spacing: 0.015em;
}

.hero-subtitle {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.43rem);
  letter-spacing: 0.01em;
  max-width: 620px;
  padding-top: 15px;
}

.section {
  padding: clamp(52px, 6.5vw, 90px) 0;
}

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

.section-contact {
  background: var(--brown-900);
}

.section-contact .section-kicker,
.section-contact .section-title,
.section-contact .contact-sub,
.section-contact .quote-form label,
.section-contact .contact-whatsapp p {
  color: var(--cream-100);
}

.section-contact .quote-form input,
.section-contact .quote-form select,
.section-contact .quote-form textarea {
  background: #fffaf0;
  border-color: #d5bb98;
  color: #462312;
}

.section-contact .btn-primary {
  background: var(--cream-100);
  color: var(--brown-900);
}

.section-dark {
  background: var(--brown-900);
}

.section-gallery {
  background: var(--cream-100);
  padding-top: 48px;
}

.section-kicker {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--brown-800);
}

#eventos-titulo{
    color: var(--cream-100);
}

.section-title {
  margin: 14px auto 36px;
  text-align: center;
  color: var(--brown-800);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.65rem, 3.4vw, 2.45rem);
  font-weight: 600;
  line-height: 1.06;
  max-width: 980px;
}

.events-title {
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  max-width: 100%;
}

.section-title.light {
  color: var(--cream-100);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
}

.service-card {
  text-align: center;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: var(--shadow-soft);
}

.service-card h3 {
  margin: 14px 0 8px;
  font-family: "Cormorant Garamond", serif;
  color: var(--brown-800);
  font-size: clamp(1.25rem, 1.85vw, 1.7rem);
  font-weight: 600;
}

.service-card p {
  margin: 0 auto;
  max-width: 30ch;
  color: #6b3a22;
  line-height: 1.45;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.event-card {
  background: #2d150a;
  overflow: hidden;
  position: relative;
}

.event-card img {
  width: 100%;
  aspect-ratio: 3 / 5;
  object-fit: cover;
}

.event-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 14px 18px;
  color: var(--cream-100);
}

.event-content h3 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.2rem, 1.55vw, 1.55rem);
  font-weight: 500;
  white-space: nowrap;
}

.event-content p {
  margin: 0;
  color: #f8e7c0;
  line-height: 1.4;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 14px;
  grid-auto-flow: dense;
  gap: 10px;
  background: var(--cream-100);
  padding: 16px;
}

.gallery-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100%;
  cursor: pointer;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item:focus-visible {
  outline: 2px solid #7f4a2a;
  outline-offset: 2px;
}

.gallery-item:nth-child(1) {
  grid-column: span 5;
  grid-row: span 26;
}

.gallery-item:nth-child(2) {
  grid-column: span 3;
  grid-row: span 13;
}

.gallery-item:nth-child(3) {
  grid-column: span 4;
  grid-row: span 13;
}

.gallery-item:nth-child(4) {
  grid-column: span 3;
  grid-row: span 13;
}

.gallery-item:nth-child(5) {
  grid-column: span 4;
  grid-row: span 13;
}

.gallery-item:nth-child(6) {
  grid-column: span 5;
  grid-row: span 13;
}

.gallery-item:nth-child(7) {
  grid-column: span 4;
  grid-row: span 13;
}

.gallery-item:nth-child(8) {
  grid-column: span 3;
  grid-row: span 13;
}

.gallery-item:nth-child(9) {
  grid-column: span 5;
  grid-row: span 13;
}

.gallery-item:nth-child(10) {
  grid-column: span 3;
  grid-row: span 13;
}

.gallery-item:nth-child(11) {
  grid-column: span 4;
  grid-row: span 13;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 28px clamp(26px, 4.2vw, 60px);
  background: rgba(10, 8, 7, 0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
}

.lightbox-nav {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-figure {
  margin: 0;
  min-width: 0;
  text-align: center;
}

.lightbox-figure img {
  width: 100%;
  max-width: min(1120px, calc(100vw - 250px));
  max-height: calc(100dvh - 176px);
  object-fit: contain;
  margin-inline: auto;
}

.lightbox-meta {
  width: min(920px, calc(100vw - 280px));
  margin: 14px auto 0;
}

.lightbox-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.38rem, 2.2vw, 1.95rem);
  font-weight: 600;
  line-height: 1.08;
  color: #f8ecd3;
}

.lightbox-caption {
  margin: 8px 0 0;
  color: #f7ebce;
  font-size: clamp(0.93rem, 1.2vw, 1rem);
  line-height: 1.5;
}

.lightbox-counter {
  margin: 10px 0 0;
  color: #f1dcc0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid rgba(241, 220, 192, 0.35);
  border-radius: 999px;
}

body.no-scroll {
  overflow: hidden;
}

.contact-wrap {
  max-width: 950px;
}

.contact-head {
  text-align: center;
}

.contact-sub {
  margin-top: -10px;
  margin-bottom: 30px;
  color: #70412a;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-feedback {
  grid-column: 1 / -1;
  display: none;
  padding: 11px 13px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 500;
  line-height: 1.35;
}

.form-feedback.show {
  display: block;
}

.form-feedback.ok {
  background: #f0f8eb;
  border-color: #96b57f;
  color: #29481f;
}

.form-feedback.error {
  background: #fff2ef;
  border-color: #d8a294;
  color: #6b2d1f;
}

.section-contact .form-feedback.ok {
  background: rgba(240, 248, 235, 0.98);
}

.section-contact .form-feedback.error {
  background: rgba(255, 242, 239, 0.98);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--brown-800);
  font-weight: 600;
  font-size: 0.95rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid #c5aa85;
  border-radius: 8px;
  background: #fffaf0;
  color: #462312;
  font: inherit;
  padding: 0.78rem 0.9rem;
}

.quote-form textarea {
  resize: vertical;
  min-height: 110px;
}

.quote-form .full {
  grid-column: 1 / -1;
}

.btn-primary {
  grid-column: 1 / -1;
  border: 0;
  background: var(--brown-900);
  color: var(--cream-100);
  border-radius: 8px;
  padding: 0.95rem 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.contact-whatsapp {
  margin-top: 24px;
  text-align: center;
}

.contact-whatsapp p {
  margin: 0 0 12px;
  color: #6a3d26;
}

.btn-whatsapp {
  display: inline-block;
  text-decoration: none;
  background: #226a42;
  color: #f6efd9;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-footer {
  background: var(--brown-900);
  color: #f4e8cb;
  padding: clamp(26px, 3.2vw, 44px) 0 28px;
}

.footer-shell {
  border-top: 1px solid rgba(245, 226, 191, 0.2);
  padding-top: 0;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 38px 22px 42px;
}

.footer-card:not(:last-child) {
  border-right: 1px solid rgba(245, 226, 191, 0.2);
}

.footer-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ddc79d;
}

.footer-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.footer-icon i {
  font-size: 2rem;
  line-height: 1;
}

.footer-label {
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: #d8c4a1;
}

.footer-value {
  margin: 0;
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  line-height: 1.45;
  color: #f8ecd3;
}

.footer-value-link {
  color: inherit;
  text-decoration: none;
}

.footer-value-link:hover {
  opacity: 0.82;
}

.footer-social {
  border-top: 1px solid rgba(245, 226, 191, 0.2);
  border-bottom: 1px solid rgba(245, 226, 191, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 16px 16px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #e1d0b2;
  font-weight: 500;
  font-size: 0.95rem;
}

.footer-social a i {
  font-size: 1.35rem;
  line-height: 1;
}

.footer-social a:hover {
  opacity: 0.82;
}

.footer-divider {
  border-top: 1px solid rgba(245, 226, 191, 0.2);
  margin-top: 8px;
}

.footer-copy {
  margin: 26px 0 0;
  color: #c6ae88;
  font-size: 0.95rem;
}

.floating-whatsapp {
  position: fixed;
  right: clamp(12px, 2.4vw, 28px);
  bottom: clamp(12px, 2.4vw, 28px);
  z-index: 60;
  width: clamp(82px, 11vw, 120px);
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  text-decoration: none;
}

.floating-whatsapp img {
  width: 100%;
  height: auto;
  display: block;
}

.floating-avatar {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  .container {
    width: min(1180px, calc(100% - 36px));
  }

  .events-grid {
    grid-template-columns: 1fr 1fr;
  }

  .events-grid .event-card:last-child {
    grid-column: 1 / -1;
    max-width: 520px;
    justify-self: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 14px;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 3;
    grid-row: span 22;
  }

  .gallery-item:nth-child(n + 2) {
    grid-column: span 3;
    grid-row: span 11;
  }
}

@media (min-width: 1025px) {
  .events-title {
    white-space: nowrap;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    background: var(--brown-900);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
  }

  .main-nav.open {
    transform: scaleY(1);
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    width: 100%;
    padding: 8px 0;
  }

  .main-nav .cta-link {
    margin-top: 4px;
    text-align: center;
  }

  .service-grid,
  .events-grid,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .events-grid .event-card:last-child {
    max-width: none;
  }

  .section-title {
    margin-bottom: 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(n + 2) {
    grid-column: span 1;
    grid-row: auto;
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-card {
    padding: 24px 0;
  }

  .footer-card:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid rgba(245, 226, 191, 0.2);
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 76px;
  }

  .nav-wrap {
    min-height: 76px;
  }

  .brand img {
    width: 110px;
  }

  .main-nav {
    top: 76px;
  }

  .hero {
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    min-height: calc(100dvh - var(--header-height));
  }

  .hero-content {
    padding-top: 0;
  }

  .hero-tags {
    font-size: 0.77rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .container {
    width: min(1180px, calc(100% - 24px));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 7px;
    padding: 10px;
  }

  .gallery-item {
    grid-column: span 1;
    grid-row: auto;
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 1;
    grid-row: auto;
  }

  .lightbox-figure img {
    max-width: calc(100vw - 30px);
    max-height: calc(100dvh - 210px);
  }

  .lightbox-meta {
    width: min(100%, calc(100vw - 28px));
    margin-top: 12px;
    text-align: left;
  }

  .lightbox-title {
    font-size: clamp(1.18rem, 5vw, 1.42rem);
  }

  .lightbox-caption {
    margin-top: 6px;
    font-size: 0.93rem;
    line-height: 1.45;
  }

  .gallery-lightbox {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 58px 12px 20px;
  }

  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .floating-whatsapp {
    width: 80px;
    right: 10px;
    bottom: 10px;
  }

  .footer-social {
    flex-direction: row;
    gap: 18px;
  }
}
