/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variáveis de cores */
:root {
    --primary-color: #00a3a3;
    --secondary-color: #a7f1ea;
    --white-color: #ffffff;
}

/* Estilos gerais */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--white-color);
}

/* Cabeçalho */
.header {
    background-color: var(--primary-color);
    padding: 0;
    text-align: center;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.header-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

/* Conteúdo principal */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.content-block {
    background-color: var(--white-color);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 163, 163, 0.1);
    border-left: 4px solid var(--primary-color);
}

.content-block h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.content-block p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Rodapé */
.footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

/* Responsividade */
@media (max-width: 768px) {
    .header-image {
        max-height: 300px;
    }
    
    .main-content {
        padding: 20px 15px;
    }
    
    .content-block {
        padding: 20px;
    }
    
    .content-block h2 {
        font-size: 1.5rem;
    }
}

/* Animações suaves */
.content-block {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 163, 163, 0.15);
}



/* Seção de boas-vindas */
.welcome-section {
    background: linear-gradient(135deg, var(--white-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 15px;
    text-align: center;
    padding: 50px 30px;
    margin-bottom: 40px;
}

.welcome-section h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary-color), #006666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .welcome-section {
        padding: 30px 20px;
    }
    
    .welcome-section h2 {
        font-size: 2rem;
    }
    
    .welcome-section p {
        font-size: 1.1rem;
    }
}



/* Seção do Quiz */
.quiz-section {
    background-color: var(--white-color);
    padding: 20px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 163, 163, 0.1);
}

.quiz-container {
    max-width: 600px;
    margin: 0 auto;
}

.quiz-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 163, 163, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quiz-image:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 25px rgba(0, 163, 163, 0.3);
}

@media (max-width: 768px) {
    .quiz-section {
        padding: 15px;
    }
    
    .quiz-image {
        border-radius: 10px;
    }
}


/* Seção de Artigos */
.articles-section {
    background: linear-gradient(135deg, var(--white-color) 0%, #f8fdfd 100%);
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 163, 163, 0.08);
    margin-bottom: 40px;
}

.articles-container {
    max-width: 900px;
    margin: 0 auto;
}

.articles-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 163, 163, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.articles-image:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 163, 163, 0.25);
}

@media (max-width: 768px) {
    .articles-section {
        padding: 20px 15px;
    }
    
    .articles-image {
        border-radius: 8px;
    }
}


/* Seção Legal - Política de Privacidade e Termos de Uso */
.legal-section {
    background-color: var(--white-color);
    padding: 40px;
    text-align: left;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 163, 163, 0.08);
    margin-bottom: 40px;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary-color);
}

.legal-section h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-section p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.legal-section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-section li {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.legal-section strong {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .legal-section {
        padding: 25px 20px;
    }
    
    .legal-section h2 {
        font-size: 1.8rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
    
    .legal-section p,
    .legal-section li {
        font-size: 0.95rem;
    }
}


/* Balão de Aviso Sobreposto */
.aviso-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.aviso-content {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

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

.aviso-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--white-color);
    transition: color 0.3s ease;
}

.aviso-close:hover {
    color: var(--secondary-color);
}

.aviso-content h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--white-color);
}

.aviso-content p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--white-color);
}

.aviso-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.aviso-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

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

.aviso-btn.aceitar:hover {
    background-color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.aviso-btn.rejeitar {
    background-color: transparent;
    color: var(--white-color);
    border: 2px solid var(--white-color);
}

.aviso-btn.rejeitar:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .aviso-content {
        padding: 25px 20px;
        margin: 20px;
    }
    
    .aviso-content h3 {
        font-size: 1.3rem;
    }
    
    .aviso-content p {
        font-size: 1rem;
    }
    
    .aviso-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .aviso-btn {
        width: 100%;
        max-width: 200px;
    }
}

