/* ==========================================================================
   FOLHA DE ROSTO / PÁGINA INICIAL — ALPHA PARK PORTO SEGURO
   Design Imersivo & Luxuoso com Identidade Visual Oficial
   ========================================================================== */

:root {
  --font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Cores Oficiais da Marca */
  --primary-900: #173540;
  --primary-800: #1E4E5B;
  --primary-600: #368DA5;
  --primary-300: #9ACFDE;
  --primary-100: #D5EBF1;

  --secondary-900: #271A18;
  --secondary-700: #704B45;

  --accent-gold-900: #CDB679;
  --accent-gold-700: #DDCDA4;
  --accent-gold-400: #E9DAB4;
  --accent-gold-100: #FEF5D8;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  background-color: var(--primary-900);
  color: #ffffff;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Background com Imagem & Camada de Profundidade */
.cover-background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../imgs/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.cover-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(23, 53, 64, 0.88) 0%,
    rgba(30, 78, 91, 0.85) 45%,
    rgba(23, 53, 64, 0.95) 100%
  );
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 2;
}

/* Container Principal */
.cover-wrapper {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 16px 30px;
  max-width: 960px;
  margin: 0 auto;
}

/* Topo com Logo Centralizado */
.cover-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 10px 0 20px;
}

.cover-logo-link {
  display: inline-block;
  transition: transform 0.2s ease;
}

.cover-logo-link:hover {
  transform: scale(1.02);
}

.cover-logo-img {
  height: 52px;
  max-width: 240px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

@media (min-width: 640px) {
  .cover-logo-img {
    height: 64px;
    max-width: 290px;
  }
}

.cover-pre-launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(254, 245, 216, 0.12);
  border: 1px solid rgba(205, 182, 121, 0.4);
  color: var(--accent-gold-100);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.badge-sparkle {
  color: var(--accent-gold-900);
  font-size: 13px;
}

/* Área Central de Destaque */
.cover-main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin: 10px 0 24px;
  width: 100%;
}

/* Imagem do Empreendimento: De Fora a Fora (Full Bleed, Sem Box) */
.hero-fullbleed-wrap {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 14px;
  margin-bottom: 26px;
  line-height: 0;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  border: none;
  background: transparent;
  padding: 0;
}

.hero-fullbleed-img {
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: cover;
  display: block;
  border: none;
  border-radius: 0;
}

@media (min-width: 1200px) {
  .hero-fullbleed-img {
    max-height: 580px;
  }
}

/* Fallback de compatibilidade caso classes legadas sejam referenciadas */
.hero-showcase-card,
.hero-image-wrap {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5) !important;
  overflow: hidden;
  line-height: 0;
  max-width: none !important;
}

.hero-project-img {
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
}

.hero-image-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(23, 53, 64, 0.85);
  color: var(--accent-gold-100);
  border: 1px solid rgba(205, 182, 121, 0.4);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Chamada de Texto */
.cover-tagline-block {
  text-align: center;
  max-width: 620px;
  padding: 0 8px;
}

.cover-headline {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

@media (min-width: 640px) {
  .cover-headline {
    font-size: 32px;
  }
}

.cover-headline span {
  color: var(--accent-gold-100);
}

.cover-subheadline {
  font-size: 14px;
  color: var(--primary-100);
  font-weight: 400;
  line-height: 1.5;
}

/* Pílulas de Características */
.cover-specs-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.spec-pill {
  background: rgba(213, 235, 241, 0.12);
  border: 1px solid rgba(154, 207, 222, 0.3);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}

/* Grade de Botões de Ação (CTAs) */
.cover-actions-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  margin-top: 6px;
}

@media (min-width: 640px) {
  .cover-actions-group {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Botão 1: Espelho de Vendas (Destaque Principal) */
.btn-cta-espelho {
  background: linear-gradient(135deg, var(--accent-gold-900) 0%, #b89c56 100%);
  color: var(--secondary-900);
  border: none;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 18px rgba(205, 182, 121, 0.35);
  transition: all 0.2s ease;
  flex: 1;
  min-width: 240px;
}

.btn-cta-espelho:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(205, 182, 121, 0.5);
  filter: brightness(1.05);
}

.btn-cta-espelho:active {
  transform: scale(0.98);
}

/* Botão 2: WhatsApp Plantão */
.btn-cta-whatsapp {
  background: #22c55e;
  color: #ffffff;
  border: none;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3);
  transition: all 0.2s ease;
  flex: 1;
  min-width: 200px;
}

.btn-cta-whatsapp:hover {
  background: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.45);
}

/* Botão 3: Materiais de Apoio (Drive) */
.btn-cta-drive {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(221, 205, 164, 0.4);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
  width: 100%;
}

.btn-cta-drive:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-gold-700);
  transform: translateY(-2px);
}

/* Rodapé */
.cover-footer {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(213, 235, 241, 0.15);
  font-size: 12px;
  color: rgba(213, 235, 241, 0.7);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cover-footer-note {
  font-size: 11px;
  color: var(--accent-gold-700);
}
