/* Estilos Globais */
:root {
    --primary-color: #d32f2f;
    --secondary-color: #f9a825;
    --dark-color: #212121;
    --light-color: #ffffff;
    --gray-color: #f5f5f5;
    --text-color: #333333;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, #b71c1c 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, #f57f17 100%);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #f8f8f8;
}

.page-wrapper {
    position: relative;
    overflow: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
    position: relative;
}

/* Header */
header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    transition: var(--transition);
}

header.scrolled .logo {
    height: 40px;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-button {
    background-color: var(--primary-color);
    color: var(--light-color);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
}

.header-button:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(211, 47, 47, 0.4);
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    color: var(--light-color);
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

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

.hero-content h1 {
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
}

/* Categories Section */
.categories {
    background-color: var(--light-color);
    padding: 0;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 80px;
    z-index: 900;
    transition: var(--transition);
}

.categories.sticky {
    top: 60px;
}

.category-tabs {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.category-tab {
    background: none;
    border: none;
    padding: 25px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.category-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.category-tab:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.category-tab:hover::after {
    width: 40px;
}

.category-tab.active {
    color: var(--primary-color);
}

.category-tab.active::after {
    width: 60px;
}

.tab-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
    transition: var(--transition);
}

.category-tab:hover .tab-icon,
.category-tab.active .tab-icon {
    transform: translateY(-5px);
}

.tab-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Videos Section */
.videos-section {
    background-color: #f8f8f8;
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.videos-section.active {
    display: block;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.section-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    width: 70px;
    height: 70px;
    background-color: rgba(211, 47, 47, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-header h2 {
    margin-bottom: 0;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 40px;
}

.video-card {
    background-color: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    transform: translateY(0);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-embed {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

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

.video-info {
    padding: 25px;
}

.video-info h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--dark-color);
    transition: var(--transition);
}

.video-card:hover .video-info h3 {
    color: var(--primary-color);
}

.video-info p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-secondary);
    color: var(--dark-color);
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

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

.cta-content h2 {
    color: var(--dark-color);
    margin-bottom: 20px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    background-color: var(--dark-color);
    color: var(--light-color);
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    font-size: 1.1rem;
}

.cta-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 80px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-logo, .footer-links, .footer-contact, .footer-social {
    flex: 1;
    min-width: 250px;
    margin-bottom: 40px;
    padding-right: 30px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: #bdbdbd;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links h4, .footer-contact h4, .footer-social h4 {
    color: var(--light-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.footer-links h4::after, .footer-contact h4::after, .footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

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

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

.footer-links ul li a {
    color: #bdbdbd;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--light-color);
    transform: translateX(5px);
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #bdbdbd;
    font-size: 0.95rem;
}

.footer-contact p i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #bdbdbd;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* Responsividade */
@media (max-width: 1200px) {
    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    }
    
    .category-tab {
        padding: 20px 10px;
    }
    
    .tab-icon {
        font-size: 1.5rem;
    }
    
    .tab-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .category-tabs {
        flex-wrap: wrap;
    }
    
    .category-tab {
        flex: 1 0 50%;
        border-bottom: 1px solid #eee;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .section-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .section-header h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .cta-content {
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.7rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 100px 0 50px;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .category-tab {
        flex: 1 0 100%;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .video-info h3 {
        font-size: 1.2rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo, .footer-links, .footer-contact, .footer-social {
        width: 100%;
        padding-right: 0;
    }
}
