/* /beautyhub/public/assets/css/style.css */

:root {
  /* Paleta Oficial Agendativa */
  --color-primary: #024D9E;   
  --color-secondary: #03B7DB; 
  --color-tertiary: #36B564;  
  
  /* INVERSÃO PARA DARK MODE PREMIUM */
  --bg: #0B0D14;          /* Fundo principal super escuro */
  --surface: #151822;     /* Fundo dos cards secundários */
  --text: #A0ABC0;        /* Texto de leitura cinza/azulado */
  --heading: #FFFFFF;     /* Títulos em branco absoluto */
  
  /* Variáveis do Efeito Vidro 3D Dark (Glassmorphism) */
  --glass-bg: rgba(21, 24, 34, 0.65); /* Fundo translúcido escuro */
  --glass-border: rgba(255, 255, 255, 0.05); /* Borda de luz fina */
  --glass-blur: blur(20px);
  --shadow-3d: 0 16px 40px rgba(0, 0, 0, 0.6); /* Sombra pesada para dar profundidade */
  --shadow-hover: 0 16px 48px rgba(3, 183, 219, 0.15); /* Brilho Ciano no hover */
  
  --radius-xl: 24px;
  --radius-lg: 16px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; 
  font-family: 'Lato', sans-serif; 
  color: var(--text);
  /* Fundo com um leve degradê dark maravilhoso */
  background: linear-gradient(135deg, #0B0D14 0%, #111520 100%); 
  line-height: 1.6; 
  padding-bottom: 80px;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; color: var(--heading); margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }

/* 💎 Classe Utilitária de Vidro 3D DARK */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-3d);
  transition: all 0.3s ease;
}
.glass-panel:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border: 1px solid rgba(3, 183, 219, 0.3); /* Acende a borda em Ciano no hover */
}

/* Botões ajustados para o contraste escuro */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: var(--radius-lg);
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 15px;
  transition: all 0.3s ease; cursor: pointer; border: none; text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-primary { color: #fff; background: var(--color-tertiary); box-shadow: 0 4px 20px rgba(54, 181, 100, 0.2); }
.btn-primary:hover { background: #2a914f; } 
.btn-secondary { color: #fff; background: var(--color-primary); }
.btn-secondary:hover { background: #013b7a; }
.btn-ghost { background: transparent; border: 1px solid var(--glass-border); color: var(--heading); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--heading); }

/* Header e Navegação no Dark Mode */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 13, 20, 0.85); /* Preto azulado translúcido */
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
}
.nav { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.agendiva-logo img { height: 42px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 28px; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 14px; }
.nav-links a { color: var(--heading); } /* Links brancos */
.nav-links a:hover { color: var(--color-secondary); transition: 0.2s; }
.nav-actions { display: flex; align-items: center; gap: 16px; }

/* Tags/Badges que brilham no escuro */
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(3, 183, 219, 0.1); border: 1px solid rgba(3, 183, 219, 0.2); 
  color: var(--color-secondary); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; font-family: 'Montserrat', sans-serif;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-secondary); box-shadow: 0 0 10px var(--color-secondary); }

/* Responsividade que já corrigimos */
.menu-toggle { 
  display: none; background: none; border: 1px solid var(--glass-border); border-radius: 8px;
  padding: 4px 10px; font-size: 24px; cursor: pointer; color: var(--heading); 
}
@media (max-width: 1024px) {
  .menu-toggle { display: block; }
  .nav-actions { display: none; }
  .nav-links { 
    display: none; flex-direction: column; position: absolute; top: 80px; left: 0; 
    width: 100%; background: rgba(21, 24, 34, 0.98); 
    backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
    padding: 24px; box-shadow: var(--shadow-hover); border-bottom: 1px solid var(--glass-border); gap: 16px;
  }
  .nav-links.active { display: flex; }
}

/*ESTILO DO FOOTER*/
    /* Estilos atualizados */
    .footer { background: var(--color-dark); color: #fff; padding: 80px 0 40px; margin-top: 60px; }
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 60px; }
    
    /* Footer Logo ajustado para o modo escuro (Dark Mode) */
    .footer-logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 24px; font-family: 'Montserrat', sans-serif; margin-bottom: 20px;}
    .footer .agendiva-logo-mark { color: #fff; }
    
    .footer p { color: #aaa; font-size: 14px; margin-bottom: 24px; max-width: 300px; }
    .footer h4 { font-size: 16px; margin-bottom: 24px; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; }
    .footer-links { list-style: none; padding: 0; margin: 0; }
    .footer-links li { margin-bottom: 12px; }
    .footer-links a { color: #aaa; font-size: 14px; transition: 0.3s; }
    .footer-links a:hover { color: var(--color-action); } /* Laranja no hover */
    .footer-contact { color: #aaa; font-size: 14px; display: flex; flex-direction: column; gap: 12px;}
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; color: #aaa; font-size: 13px; }

    .fab-whatsapp {
      position: fixed; bottom: 32px; right: 32px; z-index: 999;
      width: 60px; height: 60px; border-radius: 50%;
      background: #25D366; color: white; display: grid; place-items: center;
      box-shadow: 0 12px 24px rgba(37, 211, 102, 0.3); font-size: 32px; transition: 0.3s;
    }
    .fab-whatsapp:hover { transform: scale(1.1); }
    
    .lgpd-banner {
      display: none; /* Inicia escondido */
      position: fixed; bottom: 0; left: 0; width: 100%; z-index: 1000;
      background: var(--surface); border-top: 1px solid var(--stroke);
      padding: 16px 0; box-shadow: 0 -4px 24px rgba(0,0,0,0.05);
    }
    .lgpd-content { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
    .lgpd-content p { margin: 0; font-size: 13px; color: var(--muted); }
    /* LGPD Link agora usa o acento (Ciano) */
    .lgpd-content a { color: var(--color-accent); text-decoration: underline; }

    @media (max-width: 1024px) {
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 600px) {
      .footer-grid { grid-template-columns: 1fr; }
      .lgpd-content { flex-direction: column; text-align: center; }
    }

/* ESTILOS EXCLUSIVOS DA HOME (COMPLEMENTANDO O STYLE.CSS) */
  .hero-section { padding: 120px 0 80px; min-height: 85vh; display: flex; align-items: center; position: relative; overflow: hidden; }
  .glow-bg { position: absolute; width: 600px; height: 600px; top: -200px; right: -200px; background: radial-gradient(circle, rgba(2,77,158,0.2) 0%, rgba(0,0,0,0) 70%); z-index: -1; border-radius: 50%; }
  .glow-bg-2 { position: absolute; width: 400px; height: 400px; bottom: 0; left: -100px; background: radial-gradient(circle, rgba(3,183,219,0.15) 0%, rgba(0,0,0,0) 70%); z-index: -1; border-radius: 50%; }
  
  .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  .hero-title { font-size: 56px; line-height: 1.1; margin-bottom: 24px; letter-spacing: -1px; }
  .hero-title span { color: var(--color-secondary); }
  .hero-subtitle { font-size: 18px; margin-bottom: 40px; color: var(--text); }
  
  .section-title { text-align: center; margin-bottom: 60px; }
  .section-title h2 { font-size: 40px; margin-top: 16px; letter-spacing: -0.5px; }
  .section-title p { color: var(--text); font-size: 18px; max-width: 700px; margin: 16px auto 0; }

  /* Grids Padronizados */
  .grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
  .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }

  /* Componentes Específicos */
  .step-number { font-size: 48px; font-weight: 900; color: rgba(255,255,255,0.05); position: absolute; top: -10px; right: 20px; font-family: 'Montserrat', sans-serif; }
  
  /* Tabela de Preços */
  .price-card { position: relative; padding: 48px 32px; text-align: center; display: flex; flex-direction: column; height: 100%; }
  .price-card.featured { border-color: var(--color-secondary); box-shadow: 0 0 30px rgba(3,183,219,0.15); transform: scale(1.05); z-index: 10; }
  .price-value { font-size: 48px; font-weight: 900; color: var(--heading); margin: 24px 0; }
  .price-value span { font-size: 16px; color: var(--text); font-weight: 400; }
  .price-features { list-style: none; padding: 0; margin: 32px 0; text-align: left; flex-grow: 1;}
  .price-features li { margin-bottom: 16px; font-size: 15px; display: flex; align-items: center; gap: 12px; }
  .price-features li::before { content: '✓'; color: var(--color-tertiary); font-weight: bold; }

  /* FAQ Accordion Fake */
  .faq-item { padding: 24px; margin-bottom: 16px; cursor: pointer; }
  .faq-item h4 { font-size: 18px; display: flex; justify-content: space-between; align-items: center; }
  .faq-item p { color: var(--text); margin-top: 16px; font-size: 15px; display: none; } /* Oculto por padrão, ativaremos com JS futuramente */

  @media(max-width: 992px) {
     .hero-grid, .grid-2 { grid-template-columns: 1fr; text-align: center; }
     .price-card.featured { transform: scale(1); }
  }

  /* =========================================
   BLOG E ARTIGOS (AGENDATIVA INSIGHTS)
   ========================================= */

/* Vitrine do Blog (3 por linha no desktop) */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }

.blog-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; text-align: left; transition: transform 0.3s; }
.blog-card:hover { transform: translateY(-5px); border-color: rgba(3, 183, 219, 0.4); }
.blog-card-img { height: 220px; background-color: #111520; background-size: cover; background-position: center; border-bottom: 1px solid var(--glass-border); }
.blog-card-content { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-title { font-size: 20px; margin-bottom: 12px; line-height: 1.3; color: var(--heading); }

/* Layout da Single Page (Artigo + Sidebar) */
.single-layout { display: grid; grid-template-columns: 1fr 350px; gap: 48px; align-items: start; }
.single-content { font-size: 17px; line-height: 1.8; color: var(--text); }
.single-content h2, .single-content h3 { color: var(--heading); margin: 40px 0 16px; font-size: 28px; letter-spacing: -0.5px; }
.single-content p { margin-bottom: 24px; }
.single-content ul { margin-bottom: 24px; padding-left: 20px; }
.single-content li { margin-bottom: 12px; }

/* Sidebar Inteligente */
.sidebar { display: flex; flex-direction: column; gap: 32px; position: sticky; top: 100px; }
.sidebar-widget { padding: 24px; text-align: left; }
.sidebar-widget h4 { font-size: 16px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; border-bottom: 1px solid var(--glass-border); padding-bottom: 8px; color: var(--heading); }
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-list li { margin-bottom: 12px; font-size: 15px; }
.sidebar-list a:hover { color: var(--color-secondary); }

/* Artigos Relacionados (2 por linha) */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 32px; margin-top: 32px; }

@media(max-width: 992px) {
    .single-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}

/* =========================================
   FORMULÁRIOS E AUTENTICAÇÃO (LOGIN/CADASTRO)
   ========================================= */
.auth-container { min-height: calc(100vh - 80px); display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-box { max-width: 600px; width: 100%; padding: 48px; text-align: center; }

.form-group { margin-bottom: 24px; text-align: left; }
.form-label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--heading); text-transform: uppercase; letter-spacing: 0.5px; }

/* Inputs com efeito Vidro Dark */
.form-input { 
    width: 100%; height: 52px; border-radius: var(--radius-md); 
    border: 1px solid var(--glass-border); padding: 0 16px; 
    font-family: 'Lato', sans-serif; font-size: 15px; outline: none; transition: 0.3s; 
    background: rgba(0, 0, 0, 0.3); color: var(--heading); 
}
.form-input:focus { 
    border-color: var(--color-secondary); 
    background: rgba(0, 0, 0, 0.5); 
    box-shadow: 0 0 15px rgba(3, 183, 219, 0.2); 
}
.form-input::placeholder { color: rgba(255, 255, 255, 0.3); }

/* Select customizado */
.form-select { 
    appearance: none; 
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); 
    background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; 
}

/* Grid para colocar nome e sobrenome lado a lado */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }