/**
 * Barbosas Prime - Promotora Imobiliária
 * style.css - Folha de Estilos Oficial (com Seletor Multilíngue Dourado)
 */

/* ==========================================================================
   1. VARIÁVEIS DE DESIGN SYSTEM (TOKENS)
   ========================================================================== */
:root {
  --c-green: #062618;
  --c-green-dark: #041a10;
  --c-green-surface: #0b3d27;
  --c-gold: #c5a059;
  --c-gold-light: #fcf6ba;
  --c-gold-hover: #d8b26a;
  --c-gold-dark: #8c6722;
  --grad-gold: linear-gradient(
    135deg,
    #bf953f 0%,
    #fcf6ba 25%,
    #b38728 50%,
    #fbf5b7 75%,
    #aa771c 100%
  );
  --grad-gold-subtle: linear-gradient(
    135deg,
    rgba(191, 149, 63, 0.15) 0%,
    rgba(252, 246, 186, 0.05) 50%,
    rgba(170, 119, 28, 0.15) 100%
  );

  --c-white: #ffffff;
  --c-offwhite: #f8faf9;
  --c-text-dark: #2c3e35;
  --c-muted-dark: #4a5c53;
  --c-text-light: #e2e8f0;
  --c-muted-light: #b5c7bf;

  --header-h: 60px;
  --footer-h: 32px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.25);
  --shadow-card-hover: 0 16px 38px rgba(0, 0, 0, 0.38);
  --shadow-gold: 0 0 25px rgba(197, 160, 89, 0.35);

  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media screen and (min-width: 768px) {
  :root {
    --header-h: 80px;
    --footer-h: 38px;
  }
}

@media screen and (min-width: 1500px) and (min-height: 880px) {
  :root {
    --header-h: 84px;
    --footer-h: 40px;
  }
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--c-green);
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--c-green);
  color: var(--c-white);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

button,
input,
select {
  font: inherit;
}

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

::selection {
  background-color: var(--c-gold);
  color: var(--c-green-dark);
}

.gold-gradient-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gold-badge {
  background: var(--grad-gold);
  color: var(--c-green-dark);
  font-weight: 900;
  font-size: 0.65rem;
  letter-spacing: 1px;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   3. HEADER & NAVEGAÇÃO
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 100;
  background-color: rgba(4, 26, 16, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 3.5px solid transparent;
  border-image: var(--grad-gold) 1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 2px 16px rgba(223, 165, 75, 0.3);
}

.nav-container {
  max-width: 1380px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  gap: 1rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}

.brand-logo-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  text-align: left;
  transition: transform 0.2s ease;
}

.brand-logo-btn:hover {
  transform: translateY(-1px);
}

.logo-icon-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon {
  height: clamp(30px, 3.8vh, 38px);
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(197, 160, 89, 0.4));
  transition: transform 0.3s ease;
}

.brand-logo-btn:hover .logo-icon {
  transform: scale(1.05);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: clamp(0.82rem, 1.1vw, 0.92rem);
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  line-height: 1.15;
}

.brand-sub {
  font-size: clamp(0.52rem, 0.7vw, 0.58rem);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-muted-light);
  margin-top: 1px;
}

/* Popover da Pirâmide */
.logo-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 320px;
  background:
    linear-gradient(rgba(4, 26, 16, 0.98), rgba(4, 26, 16, 0.98)) padding-box,
    var(--grad-gold) border-box;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.logo-popover::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 14px;
}

.logo-wrapper:hover .logo-popover,
.logo-popover:hover,
.logo-popover.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.popover-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.popover-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.popover-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.popover-close-btn {
  background: none;
  border: none;
  color: var(--c-muted-light);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem 0.4rem;
  margin-left: auto;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background-color 0.2s;
}

.popover-close-btn:hover {
  color: var(--c-gold);
  background-color: rgba(255, 255, 255, 0.08);
}

.popover-header img {
  height: 38px;
  width: auto;
  border-radius: 4px;
}

.popover-heading {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--c-white);
  line-height: 1.25;
}

.popover-body {
  font-size: 0.74rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 0.85rem;
  text-align: justify;
}

.popover-action-btn {
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: var(--grad-gold);
  color: var(--c-green-dark);
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: filter 0.2s;
}

.popover-action-btn:hover {
  filter: brightness(1.1);
}

@media screen and (max-width: 767px) {
  .logo-popover {
    position: fixed;
    top: calc(var(--header-h) + 8px);
    left: 1rem;
    right: 1rem;
    width: auto;
    max-width: 440px;
    margin: 0 auto;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.95), 0 0 35px rgba(197, 160, 89, 0.35);
  }
}

/* Navegação Desktop */
.nav-right-group {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.main-nav {
  display: none;
}

@media screen and (min-width: 768px) {
  .main-nav {
    display: block;
  }
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.5vw, 1.8rem);
  list-style: none;
}

.nav-link-item {
  color: var(--c-white);
  font-size: clamp(0.78rem, 0.95vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.2rem;
  transition: color 0.2s ease;
}

.nav-link-item:hover {
  color: var(--c-gold);
}

/* ==========================================================================
   SELETOR DE IDIOMAS MULTILÍNGUE (NOVO & EXCLUSIVO)
   ========================================================================== */
.lang-selector-box {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background:
    linear-gradient(rgba(4, 26, 16, 0.95), rgba(4, 26, 16, 0.95)) padding-box,
    var(--grad-gold) border-box;
  border: 1.5px solid transparent;
  color: var(--c-white);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 10px rgba(197, 160, 89, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lang-toggle-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 15px rgba(197, 160, 89, 0.35);
}

.lang-toggle-btn .lang-flag-current {
  font-size: 1rem;
  line-height: 1;
}

.lang-toggle-btn .lang-code-current {
  color: var(--c-gold-light);
  font-weight: 800;
}

.lang-toggle-btn i {
  font-size: 0.65rem;
  color: var(--c-gold);
  transition: transform 0.2s ease;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 165px;
  background:
    linear-gradient(rgba(4, 26, 16, 0.98), rgba(4, 26, 16, 0.98)) padding-box,
    var(--grad-gold) border-box;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: 0.4rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.85), 0 0 20px rgba(197, 160, 89, 0.3);
  backdrop-filter: blur(14px);
  z-index: 1250;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.lang-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.65rem;
  border: none;
  background: none;
  color: var(--c-text-light);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  text-align: left;
}

.lang-option-btn:hover {
  background-color: rgba(197, 160, 89, 0.15);
  color: var(--c-white);
}

.lang-option-btn.active {
  background: var(--grad-gold);
  color: var(--c-green-dark);
  font-weight: 800;
}

.lang-option-btn .opt-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-option-btn .opt-flag {
  font-size: 1rem;
}

/* Mobile Language Bar inside Mobile Drawer */
.mobile-lang-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
  width: 100%;
}

.mobile-lang-btn {
  background: rgba(6, 38, 24, 0.8);
  border: 1px solid rgba(197, 160, 89, 0.3);
  color: var(--c-white);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.mobile-lang-btn.active {
  background: var(--grad-gold);
  color: var(--c-green-dark);
  border-color: var(--c-gold);
  font-weight: 900;
}

/* Botão Mobile Hamburguer */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  color: var(--c-gold);
  font-size: 1.4rem;
  cursor: pointer;
}

@media screen and (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Menu Dropdown Mobile */
.mobile-nav-drawer {
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 100%;
  background-color: var(--c-green-dark);
  border-bottom: 3.5px solid transparent;
  border-image: var(--grad-gold) 1;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 2px 16px rgba(223, 165, 75, 0.3);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease-in-out, padding 0.35s ease;
  z-index: 99;
}

.mobile-nav-drawer.open {
  max-height: 480px;
  padding: 1.5rem 0;
}

.mobile-nav-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.mobile-nav-drawer a,
.mobile-nav-drawer button {
  color: var(--c-white);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-nav-drawer a:hover,
.mobile-nav-drawer button:hover {
  color: var(--c-gold);
}

/* ==========================================================================
   4. LAYOUT GERAL & SEÇÕES
   ========================================================================== */
main {
  flex: 1;
  padding-top: var(--header-h);
  padding-bottom: var(--footer-h);
}

.content-section {
  width: 100%;
  scroll-margin-top: var(--header-h);
  position: relative;
}

.section-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

@media screen and (min-width: 768px) {
  .section-inner {
    padding: 6rem 1.5rem;
  }
}

.section-header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: table;
  margin-left: auto;
  margin-right: auto;
  width: auto;
}

.section-subtitle {
  text-align: center;
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  color: #cbd5e1;
  max-width: 820px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
  display: block;
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-h) - var(--footer-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  overflow: hidden;
  background-color: var(--c-green-dark);
}

@media screen and (min-width: 1024px) {
  .hero-section {
    height: calc(100vh - var(--header-h) - var(--footer-h));
    max-height: calc(100vh - var(--header-h) - var(--footer-h));
  }
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  background-image: 
    linear-gradient(
      to bottom,
      rgba(4, 26, 16, 0.38) 0%,
      rgba(4, 26, 16, 0.68) 55%,
      rgba(4, 26, 16, 0.94) 100%
    ),
    url("images/background-past-future.png");
}

@media screen and (max-width: 767px) {
  .hero-bg-media {
    background-image: 
      linear-gradient(
        to bottom,
        rgba(4, 26, 16, 0.32) 0%,
        rgba(4, 26, 16, 0.62) 55%,
        rgba(4, 26, 16, 0.94) 100%
      ),
      url("images/background-past-future-phone.png");
    background-position: center center;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(1.9rem, 4.2vw, 3.4rem);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.18;
  margin-bottom: 1.5rem;
  text-wrap: balance;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-lead {
  font-size: clamp(0.95rem, 1.35vw, 1.2rem);
  color: #f0fdf4;
  max-width: 820px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.65;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.cta-gold-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.25rem;
  background: var(--grad-gold);
  color: var(--c-green-dark);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), var(--shadow-gold);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.cta-gold-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 35px rgba(197, 160, 89, 0.55);
}

.cta-gold-btn i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.cta-gold-btn:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   6. MODELO SECTION
   ========================================================================== */
.modelo-section {
  background-color: var(--c-green);
  position: relative;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media screen and (min-width: 768px) {
  .cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background:
    linear-gradient(rgba(4, 26, 16, 0.94), rgba(4, 26, 16, 0.94)) padding-box,
    var(--grad-gold) border-box;
  border: 3.5px solid transparent;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(223, 165, 75, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.65), 0 0 25px rgba(223, 165, 75, 0.45);
}

.feature-icon-wrapper {
  font-size: 2rem;
  color: var(--c-gold);
  text-align: center;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.1);
}

.card-heading {
  color: var(--c-white);
  font-size: 1.15rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.75rem;
}

.card-desc {
  color: var(--c-text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: justify;
}

@media screen and (min-width: 1024px) {
  .modelo-section {
    min-height: calc(100vh - var(--header-h) - var(--footer-h));
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .modelo-section .section-inner {
    padding: clamp(0.5rem, 1.5vh, 1.2rem) 1.5rem;
    width: 100%;
    max-width: 1200px;
  }

  .modelo-section .section-title {
    font-size: clamp(1.2rem, 1.8vw, 1.8rem);
    margin-bottom: 0.2rem;
  }

  .modelo-section .section-subtitle {
    margin-bottom: clamp(0.5rem, 1vh, 0.8rem);
    font-size: clamp(0.75rem, 0.85vw, 0.85rem);
    line-height: 1.35;
  }

  .modelo-section .cards-grid-3 {
    gap: clamp(0.6rem, 1vw, 1rem);
  }

  .modelo-section .feature-card {
    padding: clamp(0.7rem, 1.2vh, 1rem) clamp(0.6rem, 0.9vw, 1rem);
  }

  .modelo-section .feature-icon-wrapper {
    font-size: clamp(1rem, 1.4vw, 1.4rem);
    margin-bottom: clamp(0.2rem, 0.4vh, 0.3rem);
  }

  .modelo-section .card-heading {
    font-size: clamp(0.85rem, 0.9vw, 0.95rem);
    margin-bottom: clamp(0.2rem, 0.4vh, 0.4rem);
  }

  .modelo-section .card-desc {
    font-size: clamp(0.72rem, 0.8vw, 0.78rem);
    line-height: 1.4;
  }
}

/* ==========================================================================
   7. VIZELA LIVING CENTER & VIP ACCESS
   ========================================================================== */
.vlc-section {
  background-color: var(--c-green-dark);
  border-bottom: 2px solid rgba(197, 160, 89, 0.3);
  background-image: radial-gradient(circle at 50% 20%, #093c27 0%, #041a10 85%);
}

.vlc-header-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: clamp(1rem, 2vh, 1.75rem);
  width: 100%;
}

.vlc-project-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(0.5rem, 1vh, 0.85rem);
  transition: transform 0.3s ease;
}

.vlc-project-emblem:hover {
  transform: scale(1.05);
}

.vlc-emblem-img {
  height: clamp(65px, 8vh, 100px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 22px rgba(197, 160, 89, 0.45));
}

.vlc-badge-tag {
  color: var(--c-gold);
  font-size: clamp(0.82rem, 1.1vw, 0.92rem);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 0.25rem;
  margin-bottom: clamp(0.6rem, 1.2vh, 1.1rem);
}

@media screen and (min-width: 1024px) {
  .vlc-section {
    display: block;
    width: 100%;
  }

  .vlc-section .section-inner {
    padding: clamp(2rem, 4vh, 3.5rem) 1.5rem;
    width: 100%;
    max-width: 1320px;
  }

  .vlc-header-group {
    margin-bottom: clamp(0.8rem, 1.5vh, 1.4rem);
  }

  .vlc-project-emblem {
    margin-bottom: clamp(0.35rem, 0.7vh, 0.65rem);
  }

  .vlc-emblem-img {
    height: clamp(65px, 8vh, 95px);
  }

  .vlc-badge-tag {
    font-size: clamp(0.8rem, 0.95vw, 0.9rem);
    margin-bottom: clamp(0.6rem, 1.1vh, 1rem);
  }
}

.manifesto-box {
  background:
    linear-gradient(rgba(4, 26, 16, 0.94), rgba(4, 26, 16, 0.94)) padding-box,
    var(--grad-gold) border-box;
  border: 3.5px solid transparent;
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(223, 165, 75, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.manifesto-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.65), 0 0 25px rgba(223, 165, 75, 0.45);
}

.manifesto-icon {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.manifesto-icon i,
.feature-icon-wrapper i,
.spec-icon i,
.info-block-card h3 i {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 8px rgba(223, 165, 75, 0.55));
}

.manifesto-title {
  color: var(--c-white);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.manifesto-text {
  color: var(--c-text-light);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.text-btn {
  background: none;
  border: none;
  color: var(--c-gold-light);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0;
  transition: color 0.2s ease, filter 0.2s ease, transform 0.2s ease;
  filter: drop-shadow(0 2px 6px rgba(223, 165, 75, 0.45));
}

.text-btn:hover {
  color: #ffffff;
  filter: drop-shadow(0 2px 12px rgba(223, 165, 75, 0.85));
  transform: translateX(3px);
}

.text-btn i {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 6px rgba(223, 165, 75, 0.5));
  display: inline-block;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media screen and (min-width: 600px) {
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .specs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.spec-item-card {
  background:
    linear-gradient(rgba(4, 26, 16, 0.94), rgba(4, 26, 16, 0.94)) padding-box,
    var(--grad-gold) border-box;
  border: 3.5px solid transparent;
  border-radius: var(--radius-md);
  padding: 1.35rem 1.25rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(223, 165, 75, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.spec-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.65), 0 0 25px rgba(223, 165, 75, 0.45);
}

.spec-icon {
  font-size: 1.5rem;
  color: var(--c-gold);
  margin-bottom: 0.75rem;
}

.spec-title {
  color: var(--c-white);
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.spec-desc {
  color: var(--c-text-light);
  font-size: 0.86rem;
  line-height: 1.55;
}

.info-block-card {
  background:
    linear-gradient(rgba(4, 26, 16, 0.94), rgba(4, 26, 16, 0.94)) padding-box,
    var(--grad-gold) border-box;
  border: 3.5px solid transparent;
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(223, 165, 75, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-block-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.65), 0 0 25px rgba(223, 165, 75, 0.45);
}

.info-block-card h3 {
  color: var(--c-white);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.info-block-card p {
  color: var(--c-text-light);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.info-block-card p strong {
  color: var(--c-gold-light);
}

.custom-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.custom-bullet-list li {
  color: var(--c-text-light);
  font-size: 0.88rem;
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.5;
}

.custom-bullet-list li strong {
  color: var(--c-white);
}

.custom-bullet-list li::before {
  content: "•";
  color: var(--c-gold);
  font-size: 1.3rem;
  position: absolute;
  left: 0;
  top: -2px;
}

.author-box-card {
  background:
    linear-gradient(rgba(4, 26, 16, 0.94), rgba(4, 26, 16, 0.94)) padding-box,
    var(--grad-gold) border-box;
  border: 3.5px solid transparent;
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(223, 165, 75, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author-box-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.65), 0 0 25px rgba(223, 165, 75, 0.45);
}

.author-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.author-brand-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-logo-wrapper {
  background: var(--grad-gold);
  border-radius: 6px;
  padding: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.author-logo-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.45);
}

.author-logo-inner {
  background: #ffffff;
  border-radius: 5px;
  padding: 3px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-logo {
  height: 28px;
  width: auto;
  display: block;
}

.author-title {
  color: var(--c-white);
  font-size: 1.15rem;
  font-weight: 800;
}

.author-link-btn {
  color: var(--c-gold-light);
  border: 1.5px solid var(--c-gold);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.author-link-btn:hover {
  background: var(--grad-gold);
  color: var(--c-green-dark);
  border-color: var(--c-gold);
}

.author-desc {
  color: var(--c-text-light);
  font-size: 0.88rem;
  line-height: 1.65;
  text-align: justify;
}

.author-desc strong {
  color: var(--c-white);
}

/* Formulário VIP */
.vlc-vip-block {
  width: 100%;
  margin-top: clamp(2rem, 4vh, 3.5rem);
  padding: 1rem 0;
  scroll-margin-top: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (min-width: 1024px) {
  .vlc-vip-block {
    min-height: calc(100vh - var(--header-h) - var(--footer-h));
    margin-top: 0;
    padding: 0.5rem 0;
  }
}

/* Otimização Exata para Portáteis de 16'' Full HD (1920x1080 com altura útil reduzida) */
@media screen and (min-width: 1024px) and (max-width: 1920px) and (max-height: 1050px) {
  :root {
    --header-h: 74px;
    --footer-h: 34px;
  }

  .vlc-vip-block {
    min-height: calc(100vh - var(--header-h) - var(--footer-h));
    margin-top: 0;
    padding: 0.3rem 0;
  }

  .vip-form-container {
    max-width: 520px !important;
    padding: 0.8rem 1.2rem !important;
    border-radius: 12px !important;
  }

  .vip-pill-tag {
    font-size: 1.05rem !important;
    margin-bottom: 0.15rem !important;
  }

  .vip-form-title {
    font-size: 0.82rem !important;
    margin-bottom: 0.15rem !important;
  }

  .vip-form-lead {
    font-size: 0.74rem !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.3 !important;
  }

  .vip-form {
    gap: 0.4rem !important;
  }

  .form-row-2 {
    gap: 0.4rem !important;
  }

  .form-group {
    gap: 0.1rem !important;
  }

  .form-label {
    font-size: 0.62rem !important;
    letter-spacing: 0.5px !important;
  }

  .form-input,
  .form-select {
    padding: 0.38rem 0.65rem !important;
    font-size: 0.78rem !important;
    border-radius: 6px !important;
  }

  .vip-submit-button {
    padding: 0.52rem 1rem !important;
    font-size: 0.8rem !important;
    margin-top: 0.2rem !important;
    letter-spacing: 1px !important;
  }
}

.vip-form-container {
  max-width: min(680px, 82vw);
  width: 100%;
  margin: 0 auto;
  background:
    linear-gradient(rgba(4, 26, 16, 0.96), rgba(4, 26, 16, 0.96)) padding-box,
    var(--grad-gold) border-box;
  border: 3.5px solid transparent;
  border-radius: 16px;
  padding: clamp(1.5rem, 2.5vw, 2.25rem) clamp(1.75rem, 3vw, 2.5rem);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 15px 38px rgba(0, 0, 0, 0.6), 0 0 25px rgba(223, 165, 75, 0.35);
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.vip-form-container:hover {
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), 0 0 32px rgba(223, 165, 75, 0.5);
}

.vip-pill-tag {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  filter: drop-shadow(0 2px 8px rgba(223, 165, 75, 0.4));
  padding: 0;
  border-radius: 0;
}

.vip-pill-tag .gold-badge {
  background: var(--grad-gold);
  color: var(--c-green-dark);
  -webkit-text-fill-color: var(--c-green-dark);
  font-size: 0.68em;
  padding: 2px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
  vertical-align: middle;
}

.vip-form-title {
  color: #ffffff;
  font-size: clamp(0.95rem, 1.3vw, 1.12rem);
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.vip-form-lead {
  color: var(--c-text-light);
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  margin-bottom: 1.1rem;
  line-height: 1.45;
}

.vip-form-lead strong {
  color: var(--c-gold-light);
  font-weight: 700;
}

.vip-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-feedback-alert {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  display: none;
}

.form-feedback-alert.error {
  display: block;
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.form-feedback-alert.success {
  display: block;
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media screen and (min-width: 600px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-label {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(0.72rem, 0.95vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: inline-block;
  filter: drop-shadow(0 1px 4px rgba(223, 165, 75, 0.35));
}

.form-input,
.form-select {
  padding: clamp(0.55rem, 0.8vw, 0.7rem) clamp(0.85rem, 1.1vw, 1rem);
  background-color: #ffffff;
  border: 1.5px solid rgba(197, 160, 89, 0.4);
  border-radius: 6px;
  font-size: clamp(0.88rem, 1.1vw, 0.98rem);
  color: #1e293b;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.4);
}

.vip-submit-button {
  width: 100%;
  padding: clamp(0.75rem, 1vw, 0.9rem) clamp(1.25rem, 1.8vw, 1.75rem);
  background: var(--grad-gold);
  color: #041a10;
  font-size: clamp(0.9rem, 1.15vw, 1.02rem);
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(223, 165, 75, 0.35);
  margin-top: 0.5rem;
  transition: filter 0.2s, transform 0.2s, box-shadow 0.2s;
}

.vip-submit-button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(223, 165, 75, 0.5);
}

.fallback-box {
  display: none;
  padding: 0.85rem 1rem;
  background-color: #fdfaf3;
  border: 1px dashed var(--c-gold);
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--c-green);
  text-align: center;
  line-height: 1.45;
  margin-top: 0.6rem;
}

.fallback-box.visible {
  display: block;
}

.fallback-link {
  color: var(--c-gold-dark);
  font-weight: 800;
  text-decoration: underline;
}

/* Otimização para Monitores Muito Grandes (>1500px) */
@media screen and (min-width: 1500px) and (min-height: 850px) {
  :root {
    --header-h: 88px;
    --footer-h: 42px;
  }

  .vip-form-container {
    max-width: 740px;
    padding: 2.2rem 2.8rem;
    border-radius: 20px;
  }

  .vip-pill-tag {
    font-size: 1.65rem;
    margin-bottom: 0.5rem;
  }

  .vip-form-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .vip-form-lead {
    font-size: 0.98rem;
    margin-bottom: 1.35rem;
  }

  .vip-form {
    gap: 1.1rem;
  }

  .form-row-2 {
    gap: 1.1rem;
  }

  .form-group {
    gap: 0.4rem;
  }

  .form-label {
    font-size: 0.85rem;
    letter-spacing: 0.9px;
  }

  .form-input,
  .form-select {
    padding: 0.7rem 1.1rem;
    font-size: 1.02rem;
    border-radius: 8px;
  }

  .vip-submit-button {
    padding: 0.95rem 1.8rem;
    font-size: 1.05rem;
    margin-top: 0.6rem;
    letter-spacing: 1.8px;
  }
}

/* ==========================================================================
   8. CONTACTOS SECTION
   ========================================================================== */
.contactos-section {
  position: relative;
  background-color: var(--c-green);
  min-height: calc(100vh - var(--header-h) - var(--footer-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.contactos-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.contactos-watermark img {
  width: clamp(676px, 110vw, 1560px);
  max-height: 115vh;
  object-fit: contain;
  opacity: 0.32;
  filter: drop-shadow(0 0 100px rgba(197, 160, 89, 0.5));
  transform: scale(1.365);
}

.contactos-watermark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle,
    transparent 20%,
    rgba(6, 38, 24, 0.75) 75%,
    var(--c-green) 100%
  );
}

.contactos-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.contacts-cards-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
}

@media screen and (min-width: 640px) {
  .contacts-cards-row {
    flex-direction: row;
    gap: 2rem;
  }
}

.contact-card {
  width: 100%;
  background:
    linear-gradient(rgba(4, 26, 16, 0.94), rgba(4, 26, 16, 0.94)) padding-box,
    var(--grad-gold) border-box;
  border: 3.5px solid transparent;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(223, 165, 75, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.65), 0 0 25px rgba(223, 165, 75, 0.45);
  transform: translateY(-4px);
}

.contact-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(rgba(4, 26, 16, 0.94), rgba(4, 26, 16, 0.94)) padding-box,
    var(--grad-gold) border-box;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 15px rgba(223, 165, 75, 0.3);
}

.contact-icon-box i {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(223, 165, 75, 0.55));
}

.contact-label {
  color: var(--c-gold-light);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-block;
}

.contact-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.contact-value:hover {
  color: var(--c-gold-light);
  text-shadow: 0 0 12px rgba(223, 165, 75, 0.5);
}

@media screen and (min-width: 1024px) {
  .contactos-section {
    height: calc(100vh - var(--header-h) - var(--footer-h));
    max-height: calc(100vh - var(--header-h) - var(--footer-h));
  }

  .contactos-inner {
    padding: clamp(1rem, 2.2vh, 1.8rem) 1.5rem;
    max-width: 860px;
  }

  .contactos-inner .section-title {
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
    margin-bottom: 0.35rem;
  }

  .contactos-inner .section-subtitle {
    margin-bottom: clamp(1rem, 2vh, 1.8rem);
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    line-height: 1.45;
  }

  .contacts-cards-row {
    gap: clamp(1rem, 2vw, 2rem);
    max-width: 680px;
  }

  .contact-card {
    padding: clamp(1.1rem, 1.8vh, 1.4rem) clamp(1rem, 1.5vw, 1.4rem);
    gap: clamp(0.4rem, 0.7vh, 0.6rem);
  }

  .contact-icon-box {
    width: clamp(40px, 3.2vw, 46px);
    height: clamp(40px, 3.2vw, 46px);
    font-size: clamp(1rem, 1.2vw, 1.2rem);
  }

  .contact-label {
    font-size: 0.68rem;
    letter-spacing: 1.2px;
  }

  .contact-value {
    font-size: clamp(0.92rem, 1.1vw, 1.02rem);
  }

  .contactos-watermark img {
    max-height: calc((100vh - var(--header-h) - var(--footer-h) - 20px) * 1.3);
    width: min(104vw, 988px);
    transform: scale(1.326);
  }
}

/* ==========================================================================
   9. FOOTER FIXO
   ========================================================================== */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--footer-h);
  z-index: 95;
  background-color: rgba(4, 26, 16, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 3.5px solid transparent;
  border-image: var(--grad-gold) 1;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5), 0 -2px 16px rgba(223, 165, 75, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  font-size: 0.74rem;
  color: #a0b0a8;
  text-align: center;
}

/* ==========================================================================
   10. MODAIS ACESSÍVEIS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(4, 26, 16, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background:
    linear-gradient(rgba(4, 26, 16, 0.96), rgba(4, 26, 16, 0.96)) padding-box,
    var(--grad-gold) border-box;
  border: 3.5px solid transparent;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(223, 165, 75, 0.35);
  transform: scale(0.95);
  transition: transform 0.25s ease;
  color: var(--c-text-light);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.modal-dialog.dark-modal {
  max-width: 780px;
}

.modal-overlay.open .modal-dialog {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--c-gold-light);
  cursor: pointer;
  line-height: 1;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background-color 0.2s;
}

.modal-close-btn:hover {
  color: #ffffff;
  background-color: rgba(197, 160, 89, 0.25);
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.3);
}

.pyramid-modal-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(197, 160, 89, 0.3);
  width: 100%;
}

.pyramid-logo-frame {
  padding: 1.15rem;
  background:
    linear-gradient(rgba(4, 26, 16, 0.94), rgba(4, 26, 16, 0.94)) padding-box,
    var(--grad-gold) border-box;
  border: 3.5px solid transparent;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(223, 165, 75, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pyramid-logo-frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.65), 0 0 25px rgba(223, 165, 75, 0.5);
}

.pyramid-logo-frame img {
  height: 90px;
  width: auto;
}

.pyramid-modal-body {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: 0.5rem 0;
}

.pyramid-modal-text {
  font-size: clamp(0.88rem, 1.2vw, 0.96rem);
  line-height: 1.75;
  color: #d1ded8;
  text-align: justify;
}
