/*
Theme Name: Sérgio Silva LP (Child)
Theme URI: https://sergiosilva.com.br
Description: Tema filho do Hello Elementor, com foco extremo em LPs nichadas (Ansiedade, Depressão) e conversão.
Author: CTO i5S
Template: hello-elementor
Version: 1.0.0
*/

:root {
  /* Cores extraídas da sua logo oficial */
  --ss-color-primary: #6a8bb1; /* Azul Ardósia (Lado Direito) */
  --ss-color-accent: #669a94;  /* Verde Sálvia (Lado Esquerdo) */
  
  --ss-color-whatsapp: #25D366;
  --ss-font-title: 'Fraunces', serif;
  --ss-font-body: 'Inter', sans-serif;
}

/* ==========================================================================
   Design System & Utilities (Fase 2)
   Usar essas classes no Elementor (Avançado > Classes CSS)
   ========================================================================== */

/* Tipografia Premium */
.ss-title, h1, h2, h3 {
  font-family: var(--ss-font-title);
  font-weight: 500;
  letter-spacing: -0.02em;
}

body {
  font-family: var(--ss-font-body);
}

.ss-text-gradient {
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Fundos */
.ss-bg-dark {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
}

.ss-bg-light {
  background-color: #f8fafc;
  color: var(--ss-color-primary);
}

/* Glassmorphism Cards */
.ss-glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.ss-glass-card-light {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
}

/* Botões Animados */
.ss-btn-primary a, .ss-btn-primary {
  background: linear-gradient(90deg, #0284c7, #2563eb) !important;
  color: #fff !important;
  border-radius: 8px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  border: none !important;
}

.ss-btn-primary a:hover, .ss-btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 20px -10px rgba(37, 99, 235, 0.5) !important;
}

/* ==========================================================================
   6. AUTHORITY SECTION
   ========================================================================== */
.ss-authority-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.ss-authority-img img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: block;
    margin: 0 auto;
}

/* ==========================================================================
   Base resets para o Motor de Agenda
   ========================================================================== */
.ss-motor-agenda-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  font-family: var(--ss-font-body);
}

.ss-motor-header h2 {
  font-family: var(--ss-font-title);
  font-size: 2rem;
  color: var(--ss-color-primary);
  margin-bottom: 12px;
}

.ss-motor-header p.ss-lead {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 32px;
}

/* ==========================================================================
   4. AESTHETICS: SER GRID & LANDING PAGE COMPONENTES
   ========================================================================== */
.ss-lp-body {
  background: #0f172a;
  color: #f8fafc;
  overflow-x: hidden;
}

.ss-hero-lp {
  text-align: center;
  padding: 6rem 1rem 4rem;
}

.ss-badge {
  display: inline-block;
  background: rgba(106, 139, 177, 0.1);
  color: var(--ss-color-primary);
  border: 1px solid rgba(106, 139, 177, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.ss-ser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.ss-ser-card {
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.ss-ser-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  border-color: rgba(106, 139, 177, 0.3);
}

.ss-ser-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--ss-color-primary), var(--ss-color-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 15px rgba(106, 139, 177, 0.4);
}

.ss-ser-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #fff;
}

.ss-ser-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

.ss-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.ss-text-center {
  text-align: center;
}

.ss-bg-alt {
  background: #1e293b;
}

.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Estilos do Blog e Artigos (Refatoração WP)
   ========================================================================== */
body {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #f8fafc;
    min-height: 100vh;
}
.header-logo {
    text-align: center;
    padding: 3rem 1rem 1rem;
}
.header-logo img {
    max-width: 300px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.08);
}
.post-title {
    margin-top: 0;
    font-size: 1.8rem;
    color: #e2e8f0;
}
.post-title a {
    color: inherit;
    text-decoration: none;
}
.post-meta {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.post-excerpt {
    color: #cbd5e1;
    line-height: 1.6;
}
.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: #3b82f6;
    text-decoration: none;
    font-weight: bold;
}
.read-more:hover {
    text-decoration: underline;
}

/* Single Artigo */
.glass-article {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem;
}
.glass-article .post-title {
    font-size: 2.5rem;
    line-height: 1.2;
}
.post-content {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 1.1rem;
}
.post-content h2, .post-content h3 {
    color: #f8fafc;
    margin-top: 2rem;
}
.post-content a {
    color: #3b82f6;
}
.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: #94a3b8;
    text-decoration: none;
}
.back-link:hover {
    color: #f8fafc;
}
