/* ==========================================================================
   VILLA VIDA - PÁGINA DE ESPERA / EM CONSTRUÇÃO
   Design System & Estilos Premium
   ========================================================================== */

:root {
  /* Paleta Base Institucional (Extraída da Identidade Visual) */
  --color-green-primary: #1b3823;
  --color-green-deep: #0f2316;
  --color-green-light: #2d5539;
  --color-green-accent: #3d724e;
  --color-bronze-primary: #8c5b23;
  --color-bronze-light: #b07c3e;
  --color-bronze-glow: rgba(176, 124, 62, 0.25);

  /* Tema Claro (Luz do Sol de Busca Vida) */
  --bg-primary: #f8f6f0;
  --bg-secondary: #f0ece1;
  --surface-glass: rgba(255, 255, 255, 0.82);
  --surface-glass-border: rgba(140, 91, 35, 0.16);
  --surface-glass-shadow: 0 20px 50px -15px rgba(27, 56, 35, 0.12), 0 0 1px 1px rgba(255, 255, 255, 0.8);

  --text-title: #132719;
  --text-body: #424e46;
  --text-muted: #748077;

  --badge-bg: rgba(27, 56, 35, 0.08);
  --badge-text: #1b3823;
  --badge-border: rgba(27, 56, 35, 0.18);
  --badge-dot: #2e8b57;

  --btn-primary-bg: linear-gradient(135deg, #1b3823 0%, #285435 100%);
  --btn-primary-text: #ffffff;
  --btn-primary-shadow: 0 10px 25px -8px rgba(27, 56, 35, 0.4);

  --btn-secondary-bg: rgba(255, 255, 255, 0.7);
  --btn-secondary-text: #1b3823;
  --btn-secondary-border: rgba(140, 91, 35, 0.25);
  --btn-secondary-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);

  --ambient-1: radial-gradient(circle at 15% 15%, rgba(140, 91, 35, 0.12) 0%, transparent 60%);
  --ambient-2: radial-gradient(circle at 85% 85%, rgba(27, 56, 35, 0.14) 0%, transparent 60%);
  --ambient-3: radial-gradient(circle at 50% 50%, rgba(237, 230, 216, 0.6) 0%, transparent 70%);
}

[data-theme="dark"] {
  /* Tema Noturno (Refúgio Noturno) */
  --bg-primary: #0a140d;
  --bg-secondary: #0f1c13;
  --surface-glass: rgba(15, 28, 19, 0.78);
  --surface-glass-border: rgba(176, 124, 62, 0.28);
  --surface-glass-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6), 0 0 1px 1px rgba(176, 124, 62, 0.18);

  --text-title: #f5f2eb;
  --text-body: #c2ccc5;
  --text-muted: #839488;

  --badge-bg: rgba(176, 124, 62, 0.2);
  --badge-text: #f3d4a4;
  --badge-border: rgba(176, 124, 62, 0.45);
  --badge-dot: #52c41a;

  --btn-primary-bg: linear-gradient(135deg, #b07c3e 0%, #8c5b23 100%);
  --btn-primary-text: #ffffff;
  --btn-primary-shadow: 0 10px 25px -8px rgba(176, 124, 62, 0.5);

  --btn-secondary-bg: rgba(20, 36, 25, 0.85);
  --btn-secondary-text: #f5f2eb;
  --btn-secondary-border: rgba(176, 124, 62, 0.3);
  --btn-secondary-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);

  --ambient-1: radial-gradient(circle at 20% 20%, rgba(176, 124, 62, 0.18) 0%, transparent 55%);
  --ambient-2: radial-gradient(circle at 80% 80%, rgba(37, 80, 50, 0.28) 0%, transparent 60%);
  --ambient-3: radial-gradient(circle at 50% 40%, rgba(15, 35, 22, 0.6) 0%, transparent 70%);
}

/* Reset Global */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-body);
  background-color: var(--bg-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow-x: hidden;
  transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s ease;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Planos de Fundo Ambiente e Textura Orgânica */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-layer-1 {
  position: absolute;
  inset: 0;
  background: var(--ambient-1);
  filter: blur(50px);
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.ambient-layer-2 {
  position: absolute;
  inset: 0;
  background: var(--ambient-2);
  filter: blur(60px);
  animation: floatOrb 24s ease-in-out infinite alternate-reverse;
}

.ambient-layer-3 {
  position: absolute;
  inset: 0;
  background: var(--ambient-3);
}

.subtle-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: radial-gradient(var(--text-title) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Barra Superior / Header */
.site-header {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--badge-text);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--badge-dot);
  position: relative;
}

.status-indicator::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--badge-dot);
  animation: pulseDot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.theme-toggle-btn {
  background: var(--surface-glass);
  border: 1px solid var(--surface-glass-border);
  color: var(--text-title);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.theme-toggle-btn:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: var(--color-bronze-light);
  color: var(--color-bronze-primary);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.icon-sun {
  display: none;
}

[data-theme="dark"] .icon-moon {
  display: none;
}

[data-theme="dark"] .icon-sun {
  display: block;
}

/* Container Principal */
.main-wrapper {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 900px;
  margin: auto;
  padding: 2rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  width: 100%;
  background: var(--surface-glass);
  border: 1px solid var(--surface-glass-border);
  box-shadow: var(--surface-glass-shadow);
  border-radius: 28px;
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Efeito de iluminação sutil na borda superior */
.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--color-bronze-light), transparent);
  opacity: 0.7;
}

/* Área da Marca / Logo - Centralização Rigorosa */
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 2.25rem;
  padding: 0;
  text-align: center;
  transition: transform 0.4s ease;
}

.logo-container:hover {
  transform: translateY(-3px) scale(1.02);
}

.logo-picture {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}

/* Alternância inteligente entre marca colorida (tema claro) e branca (tema escuro) */
.logo-light {
  display: flex;
}

.logo-dark {
  display: none !important;
}

[data-theme="dark"] .logo-light {
  display: none !important;
}

[data-theme="dark"] .logo-dark {
  display: flex !important;
  justify-content: center;
  align-items: center;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light {
    display: none !important;
  }

  :root:not([data-theme="light"]) .logo-dark {
    display: flex !important;
    justify-content: center;
    align-items: center;
  }
}

.brand-logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(27, 56, 35, 0.08));
  transition: filter 0.3s ease;
}

[data-theme="dark"] .brand-logo {
  filter: drop-shadow(0 8px 30px rgba(255, 255, 255, 0.18));
}

/* Tipografia */
.card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-bronze-primary);
  margin: 0 auto 1.5rem;
  text-align: center;
}

[data-theme="dark"] .card-badge {
  color: #deb57e;
}

.hero-title {
  font-family: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 200;
  font-size: clamp(2.0rem, 4.3vw, 2.7rem);
  line-height: 1.22;
  color: var(--text-title);
  margin: 0 auto 1.35rem;
  max-width: 820px;
  letter-spacing: -0.015em;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-subtitle {
  font-family: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  font-size: 1.70rem;
  line-height: 1;
  color: var(--text-body);
  margin: 1rem auto 1.0rem;
  max-width: 720px;
  letter-spacing: 0.01em;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 400;
  color: var(--text-body);
  max-width: 750px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

/* Indicador de Fases / Progresso */
.progress-milestones {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin: 0 auto 2.5rem;
  max-width: 660px;
  padding: 1.25rem 1.5rem;
  background: rgba(140, 91, 35, 0.04);
  border: 1px solid var(--surface-glass-border);
  border-radius: 18px;
}

.milestone-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-body);
}

.milestone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.75rem;
}

.milestone-item.completed .milestone-icon {
  background: #1b3823;
  color: #ffffff;
}

[data-theme="dark"] .milestone-item.completed .milestone-icon {
  background: #b07c3e;
  color: #ffffff;
}

.milestone-item.current {
  font-weight: 600;
  color: var(--text-title);
}

.milestone-item.current .milestone-icon {
  background: var(--badge-bg);
  border: 1.5px solid var(--color-bronze-light);
  color: var(--color-bronze-light);
  animation: pulseDot 2s infinite;
}

.milestone-item.upcoming {
  color: var(--text-muted);
  opacity: 0.7;
}

.milestone-item.upcoming .milestone-icon {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-muted);
}

/* Ações e Contato */
.action-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.95rem 1.85rem;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: var(--btn-primary-shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 14px 28px -6px rgba(27, 56, 35, 0.45);
}

.btn-secondary {
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  border-color: var(--btn-secondary-border);
  box-shadow: var(--btn-secondary-shadow);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--color-bronze-primary);
  color: var(--color-bronze-primary);
  background: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .btn-secondary:hover {
  background: rgba(27, 56, 35, 0.85);
  color: #deb57e;
  border-color: #deb57e;
}

.btn svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

/* Localização & Detalhes de Busca Vida */
.location-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.location-note svg {
  width: 16px;
  height: 16px;
  color: var(--color-bronze-primary);
}

/* Notificação Toast Flutuante (Feedback de Cópia de E-mail) */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1b3823;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--color-bronze-light);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Rodapé / Footer */
.site-footer {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: center;
  justify-content: center;
}

.footer-brand {
  font-weight: 600;
  color: var(--text-title);
  letter-spacing: 0.04em;
}

/* Animações Modernas */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    opacity: 0.85;
  }

  50% {
    transform: scale(1.7);
    opacity: 0;
  }

  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(35px, -25px) scale(1.08);
  }

  100% {
    transform: translate(-25px, 30px) scale(0.95);
  }
}

/* Responsividade Aprimorada */
@media (max-width: 768px) {
  .hero-card {
    padding: 2.5rem 1.5rem;
    border-radius: 22px;
  }

  .brand-logo {
    max-width: 250px;
  }

  .progress-milestones {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
  }

  .action-group {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .site-header {
    padding: 1.25rem 1rem 0.5rem;
  }

  .hero-title {
    font-size: 1.65rem; /* ~26.4px, mais confortável e proporcional no celular */
    line-height: 1.25;
    margin: 0 auto 1rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
    /* ~18.4px, delicado e proporcional no celular */
    line-height: 1.35;
    margin: 0.75rem auto 0.85rem;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 1.5rem; /* ~24px em telas menores */
    line-height: 1.25;
  }

  .brand-logo {
    max-width: 210px;
  }

  .hero-card {
    padding: 2rem 1.25rem;
  }
}