/* Estilos Globais */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #2e4057;
    --accent-color: #7fc6a4;
    --light-color: #f5f5f5;
    --dark-color: #333;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

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

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

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 2rem;
}

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

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

section {
    padding: 5rem 0;
}

button {
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

/* Header */
.header {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/header-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header-content {
    max-width: 800px;
    padding: 0 2rem;
}

.header h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
}

.header h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 400;
    animation: fadeInUp 1s ease 0.5s;
    animation-fill-mode: both;
}

.header h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.header-cta {
    margin-top: 2rem;
    animation: fadeIn 1s ease 1s;
    animation-fill-mode: both;
}

#explore-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: var(--transition);
}

#explore-btn:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Intro Section */
.intro {
    background-color: white;
    text-align: center;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    transition: var(--transition);
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Trends Section */
.trends {
    background-color: var(--light-color);
}

.trends h2 {
    text-align: center;
}

.trends h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.trends-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.trend-tab {
    background: none;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition);
}

.trend-tab:hover, .trend-tab.active {
    background-color: var(--secondary-color);
    color: white;
}

.trend-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.trend-content.active {
    display: block;
}

.trend-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.trend-info h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.trend-features {
    margin: 2rem 0;
}

.trend-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.trend-features i {
    color: var(--primary-color);
    margin-right: 1rem;
}

.trend-quote {
    background-color: var(--secondary-color);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    position: relative;
    margin-top: 2rem;
}

.trend-quote:before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.2);
    font-family: 'Playfair Display', serif;
}

.trend-quote p {
    font-style: italic;
    margin-bottom: 0.5rem;
}

.trend-quote cite {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Interactive Section */
.interactive-section {
    background-color: white;
    text-align: center;
}

.quiz-container {
    max-width: 800px;
    margin: 3rem auto 0;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.quiz-question {
    display: none;
    animation: fadeIn 0.5s ease;
}

.quiz-question.active {
    display: block;
}

.quiz-question h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.quiz-option {
    background-color: white;
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: left;
    transition: var(--transition);
}

.quiz-option:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.quiz-result {
    display: none;
    animation: fadeIn 0.5s ease;
}

.result-content {
    margin: 2rem 0;
}

#restart-quiz {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition);
}

#restart-quiz:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Challenges Section */
.challenges {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
}

.challenges h2:after {
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.challenge-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    height: 300px;
    perspective: 1000px;
}

.challenge-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.challenge-card h3 {
    margin-bottom: 1rem;
}

.card-flip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    transform: rotateY(180deg);
    backface-visibility: hidden;
}

.challenge-card:hover .card-flip {
    opacity: 1;
    transform: rotateY(0);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.cta-section h2:after {
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.cta-buttons button {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: var(--transition);
}

#download-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

#download-btn:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

#share-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

#share-btn:hover {
    background-color: white;
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    margin-bottom: 1rem;
}

.footer-sources ul {
    margin-top: 1rem;
}

.footer-sources li {
    margin-bottom: 0.5rem;
}

.footer-sources a {
    color: var(--accent-color);
}

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

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.share-options {
    margin-top: 1.5rem;
}

.share-options input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.copy-link {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    width: 100%;
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.modal-author {
    text-align: center;
    margin-top: 15px;
    font-style: italic;
    color: var(--dark-color);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--dark-color);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Animations */
@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: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .trend-grid {
        grid-template-columns: 1fr;
    }
    
    .trend-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .header {
        height: 80vh;
    }
    
    .trends-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .trend-tab {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
