/* Estilos Globais */
:root {
    --primary-color: #8e44ad;
    --secondary-color: #2c3e50;
    --accent-color: #f1c40f;
    --text-color: #333;
    --text-light: #f5f5f5;
    --bg-color: #f9f9f9;
    --card-bg: #ffffff;
    --border-radius: 8px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #7d32a1;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(142, 68, 173, 0.1);
}

.btn-large {
    padding: 14px 28px;
    font-size: 18px;
}

.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    font-weight: 700;
    color: var(--secondary-color);
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Cabeçalho */
header {
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    gap: 20px;
}

nav a {
    padding: 8px 12px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

nav a:hover, nav a.active {
    background-color: rgba(142, 68, 173, 0.1);
    color: var(--primary-color);
}

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

/* Newsletter */
.newsletter {
    padding: 80px 0;
    background-color: #f0f0f0;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.newsletter-content p {
    margin-bottom: 30px;
    font-size: 18px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: 'Poppins', sans-serif;
}

.newsletter-form .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

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

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
}

.footer-logo p {
    margin-top: 15px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column h4 {
    margin-bottom: 20px;
    color: var(--accent-color);
    position: relative;
}

.footer-column h4:after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
    margin-top: 10px;
}

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

.footer-column a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-column a:hover {
    opacity: 1;
    color: var(--accent-color);
}

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

.footer-bottom p {
    opacity: 0.6;
    margin-bottom: 10px;
}

/* Responsividade */
@media (max-width: 991px) {
    header .container {
        flex-wrap: wrap;
    }
    
    .logo {
        margin-bottom: 10px;
    }
    
    nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }
    
    nav ul {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cta-buttons {
        margin-top: 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .newsletter-form .btn {
        border-radius: var(--border-radius);
    }
}
