/* Reset e Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f7f6;
    scroll-behavior: smooth;
}

/* Navegação */
header {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo span {
    color: #3498db;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0 15px;
    font-weight: bold;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #3498db;
}

/* Hero Section */
.hero {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('hero-bg.png');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 60px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.btn-main {
    background: #3498db;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
}

.btn-main:hover {
    background: #2980b9;
}

/* Estrutura de Conteúdo */
.container {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    background: #3498db;
    height: 3px;
    width: 50px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.bg-light {
    background: #e9f0f5;
    padding: 40px 0; /* Aumentado levemente para respiro */
}

/* Cards de Estratégias */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border-top: 5px solid #3498db;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Abas (Tabs) - Estilo Geral Unificado */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-btn, .tab-btn-video {
    padding: 12px 25px;
    cursor: pointer;
    border: none;
    background: #ddd;
    margin: 5px;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.tab-btn.active, .tab-btn-video.active {
    background: #3498db;
    color: white;
}

/* Conteúdo das Abas */
.tab-content, .tab-content-video {
    display: none;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.5s;
}

.tab-content.active, .tab-content-video.active {
    display: block;
}

/* Vídeos */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.video-card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.video-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    border-radius: 5px;
    margin-bottom: 15px;
}

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

/* Downloads */
.download-item {
    background: #fff;
    display: flex;
    align-items: center;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.download-item .icon {
    font-size: 2rem;
    margin-right: 20px;
}

.download-item .info {
    flex-grow: 1;
}

.btn-download {
    background: #27ae60;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 40px;
    background: #2c3e50;
    color: white;
    margin-top: 50px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- AJUSTES DE RESPONSIVIDADE (MODIFICADO) --- */

#menu-check, .menu-icon {
    display: none;
}

@media (max-width: 768px) {
    nav { 
        padding: 0 20px; 
    }

    .menu-icon {
        display: block;
        cursor: pointer;
        padding: 10px;
        z-index: 1001;
    }

    /* Criando as 3 linhas do hambúrguer */
    .menu-icon span, 
    .menu-icon span::before, 
    .menu-icon span::after {
        content: "";
        display: block;
        width: 25px;
        height: 3px;
        background: white;
        position: relative;
        transition: 0.3s;
    }
    .menu-icon span::before { top: 8px; }
    .menu-icon span::after { bottom: 11px; }

    /* Menu em formato de gaveta lateral */
    nav ul {
        display: block; 
        position: fixed;
        top: 60px;
        right: -100%; /* Escondido */
        background: #2c3e50;
        width: 70%;
        height: 100vh;
        transition: 0.4s;
        padding-top: 50px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }

    nav ul li {
        margin: 25px 0;
        text-align: center;
    }

    nav ul li a {
        font-size: 1.1rem;
        display: block;
    }

    /* Abrir menu quando clicar */
    #menu-check:checked ~ ul {
        right: 0;
    }

    /* Transformar hambúrguer em X */
    #menu-check:checked ~ .menu-icon span {
        background: transparent;
    }
    #menu-check:checked ~ .menu-icon span::before {
        transform: rotate(45deg);
        top: 0;
    }
    #menu-check:checked ~ .menu-icon span::after {
        transform: rotate(-45deg);
        bottom: 3px;
    }
}