/* Academia Digital Avançada - Estilos Globais */

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

:root {
    --primary-color: #28a745;
    --primary-hover: #218838;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --border-radius: 12px;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
}

/* Disclaimer Banner */
.disclaimer-banner {
    background: #dc3545;
    color: white;
    padding: 12px 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    position: relative;
    z-index: 1000;
}

.disclaimer-banner p {
    margin: 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header e Navegação */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

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

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.9), rgba(25, 135, 84, 0.9)), 
                url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?w=1600') center/cover;
    color: white;
    padding: 120px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background: var(--primary-hover);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: #f8f9fa;
}

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

/* Seções Gerais */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
}

section p {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
    color: var(--text-light);
}

/* Grid de Serviços e Cards */
.services-grid, .courses-grid, .blog-grid, .team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.service-card, .course-card, .blog-card, .team-member {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover, .course-card:hover, .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3, .course-card h3, .blog-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-card p, .course-card p {
    color: var(--text-light);
}

/* Estatísticas */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 48px;
    font-weight: 600;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 18px;
    color: var(--text-light);
    margin-top: 10px;
}

/* Imagens */
.course-card img, .blog-card img, .team-member img, .article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.article-image {
    height: 400px;
}

/* Blog Articles */
.blog-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.blog-article h1 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 20px;
}

.article-meta {
    color: var(--text-light);
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.blog-article p {
    text-align: left;
    margin-bottom: 20px;
}

.blog-article h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.blog-article ul, .blog-article ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.blog-article li {
    margin-bottom: 10px;
}

/* Formulário de Contato */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.contact-item {
    text-align: center;
    padding: 20px;
}

.contact-item i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.map-container {
    margin-top: 40px;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.faq-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.faq-item p {
    text-align: left;
    color: var(--text-light);
}

/* Páginas de Política e Termos */
.policy-content, .terms-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.policy-content h1, .terms-content h1 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 30px;
}

.policy-content h2, .terms-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.policy-content p, .terms-content p {
    text-align: left;
    margin-bottom: 20px;
}

.policy-content ul, .terms-content ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.policy-content li, .terms-content li {
    margin-bottom: 10px;
    text-align: left;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

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

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons .btn {
    padding: 10px 24px;
}

/* Responsive - Tablet */
@media (min-width: 768px) {
    .services-grid, .courses-grid, .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive - Desktop */
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .contact-info {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .hero h1 {
        font-size: 56px;
    }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    nav ul.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    section h2 {
        font-size: 28px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}
