/* Conte D'Rei — fullscreen overlay menu (matches the original two-pane layout) */
body { font-family: "Inter", ui-sans-serif, system-ui, sans-serif; }

/* Map section background (the original `bg-geral` utility was never compiled) */
:root { --geral: #f3f3f3; }
.bg-geral { background-color: var(--geral); }

/* Visually hidden, still read by screen readers and search engines */
.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;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* Left photo pane */
.overlay__photo {
  position: relative;
  overflow: hidden;
  background: var(--verde, #073c25);
}
.overlay__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Right green pane */
.overlay__panel {
  position: relative;
  background: var(--verde, #073c25);
  color: #fff;
  padding: 64px 56px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.overlay__close {
  position: absolute;
  top: 40px;
  right: 56px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: .05em;
  cursor: pointer;
  transition: color .25s ease;
  line-height: 1;
}
.overlay__close:hover { color: var(--dourado, #f2b97b); }

/* Numbered navigation */
.overlay__nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex: 0 0 auto;
}
.overlay__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  color: #fff;
  text-decoration: none;
  transition: color .25s ease;
}
.overlay__nav a:hover { color: var(--dourado, #f2b97b); }
.overlay__nav .num {
  color: var(--dourado, #f2b97b);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
}
.overlay__nav .label {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: .02em;
}

/* Contact block */
.overlay__contacts {
  margin-left: auto;
  max-width: 360px;
  font-size: .98rem;
  line-height: 1.6;
}
.overlay__contacts .c-line { color: #e8efe9; }
.overlay__contacts .c-head {
  color: var(--dourado, #f2b97b);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 2px;
}
.overlay__contacts .c-gap { height: 16px; }

/* Social row */
.overlay__social {
  position: absolute;
  right: 56px;
  bottom: 48px;
  display: flex;
  gap: 18px;
}
.overlay__social a {
  color: #fff;
  font-size: 1.5rem;
  display: inline-flex;
  transition: color .25s ease;
}
.overlay__social a:hover { color: var(--dourado, #f2b97b); }

/* Responsive: hide photo on small screens, single pane */
@media (max-width: 900px) {
  .overlay { grid-template-columns: 1fr; }
  .overlay__photo { display: none; }
  .overlay__panel {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 90px 28px 110px;
    gap: 40px;
    overflow-y: auto;
  }
  .overlay__close { top: 28px; right: 28px; }
  .overlay__contacts { margin-left: 0; }
  .overlay__social { position: static; margin-top: 8px; }
}

/* ---- Cookie consent banner ---- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: rgba(7, 60, 37, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid rgba(242, 185, 123, 0.3);
  color: #fff;
  transform: translateY(100%);
  transition: transform .4s ease;
}
.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.cookie-banner__text {
  font-size: .95rem;
  line-height: 1.5;
  color: #f3f3f3;
  margin: 0;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: inherit;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 12px 26px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.cookie-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}
.cookie-btn--ghost:hover {
  border-color: var(--dourado, #f2b97b);
  color: var(--dourado, #f2b97b);
}
.cookie-btn--gold {
  background: var(--dourado, #f2b97b);
  border: 1px solid var(--dourado, #f2b97b);
  color: var(--verde, #073c25);
}
.cookie-btn--gold:hover { filter: brightness(1.06); }

@media (max-width: 720px) {
  .cookie-banner__inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 18px 20px;
  }
  .cookie-banner__actions { width: 100%; justify-content: center; }
  .cookie-btn { flex: 1; max-width: 180px; }
}
