/**
 * COMPONENTES DE UI & MICRO-INTERAÇÕES — FRAMEWORK DOM
 * Botões Eternos, Badges de Escassez, Cards Glassmorphism e Modais
 */

/* ==========================================================================
   1. BOTÕES DE CONVERSÃO DE ALTO IMPACTO
   ========================================================================== */

/* Botão Dourado Principal com Brilho Eterno */
.btn-cta-gold {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #c49e72 0%, #dfb78c 50%, #b88d5e 100%);
  color: #0b140f;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  border: none;
  overflow: hidden;
  contain: paint;
  isolation: isolate;
  box-shadow: 0 10px 25px rgba(196, 158, 114, 0.35);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  user-select: none;
}

.btn-cta-gold::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 40%, rgba(255, 255, 255, 0.45) 50%, transparent 60%);
  transform: rotate(25deg);
  animation: eternalSweep 4s infinite ease-in-out;
  pointer-events: none;
}

.btn-cta-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(196, 158, 114, 0.55);
}

@keyframes eternalSweep {
  0% { transform: translateX(-100%) rotate(25deg); }
  22%, 100% { transform: translateX(100%) rotate(25deg); }
}

/* Botão Secundário Contornado (WhatsApp / Informações) */
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(20, 35, 27, 0.4);
  border: 1px solid var(--dom-bronze);
  color: var(--dom-sand);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-cta-outline:hover {
  background: var(--dom-bronze);
  color: #0b140f;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(196, 158, 114, 0.3);
}

/* Botão Compacto do Header Flutuante (com Aura Pulsante) */
.btn-nav-simular {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 18px;
  background: linear-gradient(135deg, #dfb98d 0%, #c49e72 100%);
  color: #14231b;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(196, 158, 114, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  contain: paint;
  flex-shrink: 0;
}

.btn-nav-simular:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 20px rgba(196, 158, 114, 0.6);
}

/* ==========================================================================
   2. BADGES DE ESCASSEZ & STATUS
   ========================================================================== */

/* Pílula de Escassez do Header (61 un. restantes) */
.badge-scarcity-header {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(20, 35, 27, 0.75);
  border: 1px solid rgba(196, 158, 114, 0.35);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: rgba(248, 246, 240, 0.9);
  white-space: nowrap;
}

.badge-scarcity-header strong {
  color: var(--dom-bronze-light);
  font-weight: 800;
}

.scarcity-dot-green {
  width: 7px;
  height: 7px;
  background: var(--dom-pulse-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--dom-pulse-green);
  animation: pulseBeacon 1.8s infinite;
}

@keyframes pulseBeacon {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Badge de Lote com Ping Âmbar */
.badge-scarcity-offer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196, 158, 114, 0.16);
  border: 1px solid var(--dom-bronze);
  color: var(--dom-bronze-light);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.scarcity-ping-amber {
  width: 7px;
  height: 7px;
  background: var(--dom-scarcity-amber);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--dom-scarcity-amber);
  animation: pulseBeaconAmber 1.4s infinite;
}

@keyframes pulseBeaconAmber {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(230, 162, 84, 0.7); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(230, 162, 84, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(230, 162, 84, 0); }
}

/* ==========================================================================
   3. CARDS GLASSMORPHISM & CONTAINER
   ========================================================================== */
.card-glass-dom {
  background: rgba(20, 35, 27, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(196, 158, 114, 0.25);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-card);
}

.card-glass-dom:hover {
  border-color: rgba(196, 158, 114, 0.45);
}

/* ==========================================================================
   4. MODAIS DE ZOOM & TELAS CHEIAS (ZERO BORDAS PRETAS)
   ========================================================================== */
.modal-immersive-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(6, 10, 8, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-immersive-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-immersive-content {
  position: relative;
  max-width: 95vw;
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-immersive-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(196, 158, 114, 0.3);
}

.modal-close-pill {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(11, 20, 15, 0.88);
  border: 1px solid var(--dom-bronze);
  color: var(--dom-sand);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.2s ease;
}

.modal-close-pill:hover {
  background: var(--dom-bronze);
  color: #0b140f;
}

/* ==========================================================================
   07. COMPONENTE FAQ EXECUTIVO & ESPECIFICAÇÕES TÉCNICAS (SEO & GEO)
   Design Editorial Luxury Dark Forest + Bronze Accent
   ========================================================================== */
.dom-faq-specs-section {
  background: var(--dom-forest-dark);
  border-top: 1px solid rgba(196, 158, 114, 0.22);
  border-bottom: 1px solid rgba(196, 158, 114, 0.22);
  padding: 100px 24px;
  position: relative;
  z-index: 10;
}

.faq-section-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 56px auto;
}

.faq-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196, 158, 114, 0.12);
  border: 1px solid rgba(196, 158, 114, 0.35);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  color: var(--dom-bronze-light);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.faq-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dom-bronze);
  box-shadow: 0 0 10px var(--dom-bronze);
}

.faq-main-title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.15;
  color: var(--dom-sand);
  margin-bottom: 18px;
  font-weight: 400;
}

.faq-main-title em {
  font-style: italic;
  color: var(--dom-bronze-light);
}

.faq-lead-text {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  color: rgba(248, 246, 240, 0.72);
  line-height: 1.65;
  max-width: 740px;
  margin: 0 auto;
}

.faq-lead-text strong {
  color: var(--dom-sand);
}

/* Fact-Dense Specs Grid */
.specs-grid-wrapper {
  max-width: 1200px;
  margin: 0 auto 64px auto;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 960px) {
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .dom-faq-specs-section {
    padding: 70px 16px;
  }
}

.specs-card {
  background: rgba(20, 35, 27, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(196, 158, 114, 0.22);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.specs-card:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 158, 114, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.specs-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(196, 158, 114, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  border: 1px solid rgba(196, 158, 114, 0.25);
}

.specs-card-content {
  flex: 1;
}

.specs-card-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dom-bronze-light);
  margin-bottom: 6px;
}

.specs-card-value {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.35;
}

.specs-card-desc {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(248, 246, 240, 0.68);
  line-height: 1.5;
  margin: 0;
}

/* FAQ Accordions */
.faq-accordion-container {
  max-width: 980px;
  margin: 0 auto 56px auto;
}

.faq-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(196, 158, 114, 0.2);
}

.faq-accordion-title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--dom-sand);
  margin: 0;
  font-weight: 400;
}

.faq-accordion-hint {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--dom-bronze-light);
}

.faq-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: rgba(20, 35, 27, 0.6);
  border: 1px solid rgba(196, 158, 114, 0.18);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(196, 158, 114, 0.45);
  background: rgba(20, 35, 27, 0.88);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.faq-question {
  list-style: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question-text {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--dom-sand);
  line-height: 1.45;
}

.faq-icon-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(196, 158, 114, 0.12);
  color: var(--dom-bronze-light);
  flex-shrink: 0;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.faq-item[open] .faq-icon-arrow {
  transform: rotate(180deg);
  background: var(--dom-bronze);
  color: var(--dom-forest-dark);
}

.faq-answer {
  padding: 0 24px 22px 24px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: rgba(248, 246, 240, 0.82);
  line-height: 1.7;
}

.faq-answer p {
  margin: 0;
}

.faq-answer strong {
  color: var(--dom-sand);
}

.faq-answer em {
  color: var(--dom-bronze-light);
  font-style: italic;
}

.faq-bullets {
  margin: 12px 0 0 18px;
  padding: 0;
}

.faq-bullets li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.faq-bullets li strong {
  color: var(--dom-bronze-light);
}

/* FAQ Action Callout */
.faq-cta-box {
  max-width: 980px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(28, 48, 38, 0.9) 0%, rgba(15, 28, 21, 0.96) 100%);
  border: 1px solid rgba(196, 158, 114, 0.35);
  border-radius: 18px;
  padding: 36px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 860px) {
  .faq-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
  }
  .faq-cta-buttons {
    justify-content: center;
    width: 100%;
  }
}

.faq-cta-info {
  flex: 1;
}

.faq-cta-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dom-bronze-light);
  margin-bottom: 8px;
}

.faq-cta-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  color: var(--dom-sand);
  margin: 0 0 8px 0;
  line-height: 1.25;
  font-weight: 400;
}

.faq-cta-sub {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: rgba(248, 246, 240, 0.7);
  line-height: 1.5;
  margin: 0;
}

.faq-cta-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-faq-simulate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #dfb98d 0%, #c49e72 100%);
  color: var(--dom-forest-dark);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 18px rgba(196, 158, 114, 0.35);
  white-space: nowrap;
}

.btn-faq-simulate:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ebd0aa 0%, #dfb78c 100%);
  box-shadow: 0 8px 24px rgba(196, 158, 114, 0.55);
}

.btn-faq-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  background: #25d366;
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.3);
  white-space: nowrap;
}

.btn-faq-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

