/* =========================================
   1. CONFIGURAÇÕES GERAIS E VARIÁVEIS
   ========================================= */
:root {
    --primary: #1a365d;
    --accent: #3182ce;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --text-dark: #2d3748;
    --text-light: #718096;
    --hotmart-orange: #ff5a16;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }

h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 30px;
    font-weight: 800;
}

.label {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* =========================================
   2. NAVBAR E MENU
   ========================================= */
.navbar {
    background: var(--white);
    height: 80px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
}

.logo span { color: var(--accent); font-weight: 400; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--accent); }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 999;
}

.mobile-nav.active { display: flex; }

.mobile-nav a {
    padding: 15px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
}

/* =========================================
   3. CARROSSEL (HEIGHT REDUZIDO)
   ========================================= */
.carousel-container {
    height: 400px; /* Reduzido de 500px para 400px */
    position: relative;
    background: #0f172a;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.carousel-slide.active { opacity: 1; z-index: 10; }

.carousel-content h1 { font-size: 3rem; font-weight: 800; margin: 20px 0; }

.tag { background: var(--accent); padding: 5px 15px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; }

.btn-main {
    display: inline-block;
    padding: 15px 35px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-main:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(49, 130, 206, 0.3); }

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
}

.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

/* =========================================
   4. SOBRE
   ========================================= */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sobre-img-wrapper {
    display: flex;
    justify-content: center;
}

.img-perfil {
    width: 100%;
    max-width: 240px;
    border-radius: 20px;
    box-shadow: 10px 10px 0 var(--bg-light);
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item strong {
    display: block;
    font-size: 2.5rem;
    color: var(--accent);
    line-height: 1;
}

.stat-item span { color: var(--text-light); font-size: 0.9rem; font-weight: 600; }

/* =========================================
   5. REDES SOCIAIS E DOWNLOADS
   ========================================= */
.social-brand-box {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.youtube { background: #ff0000; }

.download-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 450px;
    margin: 0 auto;
}

.icon-pdf { font-size: 3.5rem; color: #e53e3e; margin-bottom: 20px; }

.btn-hotmart {
    display: block;
    background: var(--hotmart-orange) !important;
    color: white !important;
    padding: 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 20px;
}

/* =========================================
   6. CONTATO
   ========================================= */
.section-contato { padding: 80px 0; background: var(--primary); color: white; }
.contact-card { 
    max-width: 500px;
    margin: 0 auto; 
    background: white; 
    padding: 40px; 
    border-radius: 20px; 
    color: var(--text-dark); 
}
.contact-card h2 { color: var(--primary); margin-bottom: 10px; text-align: center; }
.contact-card p { text-align: center; margin-bottom: 30px; color: var(--text-light); }

#formContato input, #formContato textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

/* =========================================
   7. FOOTER
   ========================================= */
.main-footer { background: #0f172a; color: white; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: 40px; }
.footer-logo h3 span { color: var(--accent); }
.footer-links ul { list-style: none; }
.footer-links a { color: #94a3b8; text-decoration: none; display: block; margin-bottom: 10px; }

.social-icons-footer { display: flex; gap: 15px; margin-top: 15px; }
.social-icons-footer a {
    width: 45px; height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; text-decoration: none; transition: var(--transition);
}
.footer-insta:hover { background: #E1306C; }
.footer-yt:hover { background: #FF0000; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 40px; text-align: center; color: #64748b; font-size: 0.9rem; }

/* =========================================
   8. MODAL VIP
   ========================================= */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 450px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-header {
    background: #1a365d;
    color: #ffffff;
    padding: 30px;
    text-align: center;
}

.modal-header h2 {
    color: #ffffff;
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 32px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    line-height: 1;
    transition: 0.3s;
}

.close-modal:hover { color: #ffffff; transform: scale(1.1); }

.modal-body { padding: 30px; }

.modal-field { margin-bottom: 20px; text-align: left; }

.modal-field label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    color: #2d3748;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.modal-field input {
    width: 100%;
    padding: 14px;
    border: 2px solid #edf2f7;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.modal-field input:focus { border-color: #3182ce; outline: none; background-color: #f8fafc; }

.modal-body .btn-main { width: 100%; margin-top: 10px; padding: 18px; text-transform: uppercase; letter-spacing: 1px; }

/* =========================================
   9. RESPONSIVIDADE
   ========================================= */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: flex; }
    .carousel-container { height: 300px; } /* Altura reduzida para mobile */
    .carousel-content h1 { font-size: 1.8rem; }
    .sobre-grid { grid-template-columns: 1fr; text-align: center; }
    .img-perfil { max-width: 200px; box-shadow: none; margin-bottom: 20px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-icons-footer { justify-content: center; }
    .form-row { grid-template-columns: 1fr; }
    .contact-card { max-width: 90%; }
}

/* =========================================
   10. EFEITO DE ESMAECER
   ========================================= */
.reveal-js {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.reveal-js.active {
    opacity: 1;
    transform: translateY(0);
}

@supports (view-timeline: --section-reveal) {
    .section {
        view-timeline-name: --section-reveal;
        view-timeline-axis: block;
        animation: reveal linear both;
        animation-timeline: --section-reveal;
        animation-range: entry 10% cover 30%;
    }

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

/* Botões das Redes Sociais */
.social-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.social-brand:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
    filter: brightness(1.1);
}

/* Botão Hotmart / Material Exclusivo */
.btn-hotmart {
    display: block;
    background: var(--hotmart-orange) !important;
    color: white !important;
    padding: 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 20px;
    text-align: center;
    transition: var(--transition);
}

.btn-hotmart:hover {
    background: #e44d13 !important;
    transform: scale(1.02);
    box-shadow: 0 15px 25px rgba(255, 90, 22, 0.3);
}

/* Botões da Sessão Conecte-se (Brancos com ícones coloridos) */
.social-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 12px;
    background: var(--white); /* Fundo branco */
    color: var(--text-dark);   /* Texto escuro para contraste */
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Sombra leve para destacar do fundo */
    transition: var(--transition);
    border: 1px solid #e2e8f0; /* Borda fina para definição */
}

/* Cores específicas apenas para os ícones (supondo o uso de <i> ou <span> para o ícone) */
.social-brand i, .social-brand span.icon {
    font-size: 1.2rem;
}

/* Aplica a cor original apenas ao ícone dentro do botão */
.instagram i {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.youtube i {
    color: #ff0000;
}

/* Efeito Hover atualizado para os botões brancos */
.social-brand:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    background-color: #ffffff;
    border-color: var(--accent); /* Destaque na borda ao passar o mouse */
}

/* Redes Sociais Footer - Apenas Ícones */
.social-icons-footer {
    display: flex;
    gap: 25px;
    margin-top: 15px;
}

.social-icons-footer a {
    background: transparent !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* O estilo base e a cor inicial ficam no ícone */
.social-icons-footer a i {
    font-size: 1.8rem;
    color: #94a3b8; /* Cor neutra inicial */
    transition: color 0.3s ease, background 0.3s ease;
}

/* Efeito de Zoom no link ao passar o mouse */
.social-icons-footer a:hover {
    transform: scale(1.4);
}

/* Instagram - Aplicando o gradiente corretamente no ícone */
.footer-insta:hover i {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Garante que a cor sólida não cubra o gradiente */
}

/* YouTube - Cor sólida no ícone */
.footer-yt:hover i {
    color: #FF0000 !important;
    -webkit-text-fill-color: #FF0000 !important; /* Reseta o transparente do Instagram */
    background: none; /* Remove o gradiente caso o CSS tente herdar */
}

/* =========================================
   7. FOOTER - ATALHOS DE NAVEGAÇÃO
   ========================================= */
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s ease; /* Transição suave para todos os estados */
    position: relative;
}

.footer-links a:hover {
    color: var(--accent);       /* Muda para a cor de destaque (azul) */
    transform: translateX(8px); /* Desloca o texto levemente para a direita */
}

/* Opcional: Adiciona um pequeno traço antes do link no hover */
.footer-links a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
    left: -20px; /* Surge suavemente à esquerda */
}

/* Efeito no Botão Hambúrguer (as 3 linhas) */
.menu-toggle:hover span {
    background: var(--accent); /* Muda a cor das linhas */
    transform: scaleX(1.1);    /* Estica levemente as linhas */
    transition: var(--transition);
}

/* Efeito nas Opções do Menu Mobile */
.mobile-nav a {
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
    z-index: 1;
}

.mobile-nav a:hover {
    color: var(--accent);
    padding-left: 25px; /* Desloca o texto para a direita */
    background: rgba(49, 130, 206, 0.05); /* Fundo azul bem sutil */
}

/* Pequena barra lateral que aparece no hover do menu mobile */
.mobile-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--accent);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav a:hover::before {
    transform: translateX(0);
}