/*
Theme Name: Clebsow Hub Autoridade
Theme URI: https://clebsow.com
Author: Manus AI
Author URI: https://clebsow.com
Description: Tema completo e responsivo para Clebsow Santos, focado em captura de leads, funis de venda e conteúdo embedado (YouTube, Instagram, LinkedIn).
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clebsow-hub
*/

/* Variáveis de Cores (Baseado em inoveagil.com) */
:root {
    --cor-roxo: #5B3BA8;
    --cor-teal: #1BA89A;
    --cor-laranja: #FF6B35;
    --cor-verde: #00D084;
    --cor-cinza-escuro: #2D2D2D;
    --cor-cinza-claro: #F8F9FA;
    --cor-branco: #FFFFFF;
    --cor-texto: #4A4A4A;
    --cor-borda: #E0E0E0;
    
    --fonte-principal: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    
    --sombra-suave: 0 4px 12px rgba(0, 0, 0, 0.05);
    --sombra-hover: 0 10px 25px rgba(0, 0, 0, 0.1);
    
    --transicao-padrao: all 0.3s ease-in-out;
}

/* Reset Básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--fonte-principal);
    color: var(--cor-texto);
    line-height: 1.6;
    background-color: var(--cor-branco);
    -webkit-font-smoothing: antialiased;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    color: var(--cor-cinza-escuro);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--cor-roxo);
    text-decoration: none;
    transition: var(--transicao-padrao);
}

a:hover {
    color: var(--cor-teal);
}

/* Layout Geral */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.secao-padrao {
    padding: 80px 0;
}

.secao-clara {
    background-color: var(--cor-cinza-claro);
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: var(--transicao-padrao);
    border: none;
    font-size: 1rem;
}

.btn-primario {
    background-color: var(--cor-laranja);
    color: var(--cor-branco);
}

.btn-primario:hover {
    background-color: #e55a2b;
    color: var(--cor-branco);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 107, 53, 0.3);
}

.btn-secundario {
    background-color: transparent;
    color: var(--cor-roxo);
    border: 2px solid var(--cor-roxo);
}

.btn-secundario:hover {
    background-color: var(--cor-roxo);
    color: var(--cor-branco);
}

/* Header / Menu Persistente */
.site-header {
    background-color: var(--cor-branco);
    box-shadow: var(--sombra-suave);
    position: sticky;
    top: 0;
    z-width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cor-verde);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-navigation a {
    color: var(--cor-cinza-escuro);
    font-weight: 500;
    font-size: 0.95rem;
}

.main-navigation a:hover {
    color: var(--cor-teal);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--cor-roxo) 0%, var(--cor-teal) 100%);
    color: var(--cor-branco);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Adicionando suporte para vídeo em loop no fundo */
.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    opacity: 0.15; /* Sutil para não atrapalhar o texto */
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-section h1 {
    color: var(--cor-branco);
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-botoes {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Seção: Vídeos YouTube (Raiz) */
.youtube-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-card {
    background: var(--cor-branco);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--sombra-suave);
    transition: var(--transicao-padrao);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-hover);
}

.video-embed-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Seção: Instagram (Nutella) */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

/* Seção: LinkedIn Artigos */
.linkedin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.artigo-card {
    background: var(--cor-branco);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--sombra-suave);
    border-top: 4px solid #0A66C2; /* Cor do LinkedIn */
}

/* Seção: Calendário de Lives */
.calendario-lista {
    margin-top: 40px;
}

.evento-item {
    display: flex;
    background: var(--cor-branco);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: var(--sombra-suave);
    align-items: center;
}

.evento-data {
    background: var(--cor-cinza-claro);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    min-width: 100px;
    margin-right: 20px;
}

.evento-data .dia {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cor-roxo);
    display: block;
}

.evento-data .mes {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
}

.evento-info {
    flex-grow: 1;
}

.evento-info h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

/* Seção: Sobre Mim */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.sobre-imagem img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--sombra-hover);
}

/* Sidebar */
.layout-com-sidebar {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.widget {
    background: var(--cor-cinza-claro);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--cor-roxo);
    display: inline-block;
}

/* Formulários Newsletter / Captura */
.form-captura {
    background: var(--cor-branco);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--sombra-hover);
    text-align: center;
}

.form-grupo {
    margin-bottom: 15px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--cor-borda);
    border-radius: 8px;
    font-family: var(--fonte-principal);
    font-size: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: var(--cor-roxo);
    box-shadow: 0 0 0 3px rgba(91, 59, 168, 0.1);
}

/* Footer */
.site-footer {
    background-color: var(--cor-cinza-escuro);
    color: var(--cor-branco);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: var(--cor-branco);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbb;
}

.footer-links a:hover {
    color: var(--cor-verde);
}

.site-info {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #888;
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .main-navigation ul {
        display: none; /* Menu mobile a ser implementado via JS */
    }
    
    .sobre-grid,
    .layout-com-sidebar {
        grid-template-columns: 1fr;
    }
    
    .evento-item {
        flex-direction: column;
        text-align: center;
    }
    
    .evento-data {
        margin-right: 0;
        margin-bottom: 15px;
    }
}
/* Hero Section Atualizado (Estilo Anderson Godz com Vídeo) */

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 150px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-background {
    background: linear-gradient(135deg, var(--cor-roxo) 0%, var(--cor-teal) 100%);
}

/* Vídeo de fundo */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Overlay escuro para legibilidade */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--cor-branco);
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-name {
    display: inline-block;
    color: var(--cor-laranja);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-section h1 {
    color: var(--cor-branco);
    margin-bottom: 20px;
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-botoes {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0;
        min-height: 400px;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-name {
        font-size: 0.9rem;
    }
}
