/* Estilos para o site Novembro Azul */

/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

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

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Cabeçalho */
header {
    background-color: #0066cc;
    color: white;
    padding: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0) 70%);
    animation: rotate 20s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    animation: pulse 3s infinite ease-in-out;
}

header .subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-out;
}

/* Navegação */
nav {
    background-color: #004c99;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #0059b3;
}

/* Seção Hero */
.hero {
    background: linear-gradient(135deg, #104e8b, #1874CD);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
    padding-right: 20px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ribbon-image {
    max-width: 200px;
    height: auto;
    animation: pulse 3s infinite;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: pulse 2s infinite;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeIn 1.5s;
}

/* Botões */
.btn {
    display: inline-block;
    background-color: #0066cc;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #004c99;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Seções */
.section {
    padding: 4rem 0;
}

.section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #0066cc;
    position: relative;
    padding-bottom: 0.5rem;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #0066cc;
}

.section-header {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.section-icon {
    width: 100px;
    height: 100px;
    transition: transform 0.3s ease;
}

.section-icon:hover {
    transform: scale(1.1);
}

.blue-bg {
    background-color: #e6f2ff;
}

/* Colunas de conteúdo */
.content-columns {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.content-columns > div {
    flex: 1;
    min-width: 300px;
}

.content-columns p {
    margin-bottom: 1rem;
}

/* Ícones e imagens */
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-large {
    width: 200px;
    height: 200px;
}

/* Cards */
.cards {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: #0066cc;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    transition: transform 0.3s ease;
}

.card:hover .card-icon {
    transform: rotate(10deg);
}

/* Alertas */
.alert {
    background-color: #ffe6e6;
    border-left: 4px solid #ff3333;
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 0 4px 4px 0;
}

/* Lista de sintomas */
.symptoms-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.symptom-item {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.symptom-icon {
    width: 20px;
    height: 20px;
    background-color: #0066cc;
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Estatísticas */
.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}

.stat-box {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 0.5rem;
}

/* Estilos para a seção de telefones e sites de ajuda */
.help-resources {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 30px;
}

.help-category {
    flex: 1;
    min-width: 300px;
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.help-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.help-category h3 {
    color: #1e88e5;
    margin-bottom: 15px;
    border-bottom: 2px solid #1e88e5;
    padding-bottom: 8px;
}

.help-list {
    list-style: none;
}

.help-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.help-list li:before {
    content: "•";
    color: #1e88e5;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

.help-link {
    color: #1e88e5;
    text-decoration: none;
    transition: color 0.3s;
}

.help-link:hover {
    color: #0d47a1;
    text-decoration: underline;
}

/* Quiz */
.quiz-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.quiz-intro {
    text-align: center;
    margin-bottom: 1.5rem;
}

.quiz-progress {
    margin-bottom: 2rem;
}

.progress-bar {
    height: 10px;
    background-color: #e6e6e6;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #0066cc;
    width: 20%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: right;
    font-size: 0.9rem;
    color: #666;
}

.quiz-question {
    margin-bottom: 1.5rem;
}

.quiz-question h3 {
    margin-bottom: 1rem;
    color: #0066cc;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.quiz-option {
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quiz-option:hover {
    border-color: #0066cc;
    background-color: #f0f7ff;
    transform: translateY(-2px);
}

.quiz-option.selected {
    border-color: #0066cc;
    background-color: #e6f2ff;
}

.quiz-controls {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

#quiz-results {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.result-score {
    font-size: 3rem;
    font-weight: bold;
    color: #0066cc;
    margin: 1.5rem 0;
}

/* Contador regressivo */
.countdown-container {
    margin: 2rem 0;
    animation: fadeIn 1s ease-out;
}

.countdown-container h3 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1.2rem;
}

#countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.8rem;
    min-width: 80px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
}

.countdown-item span:first-child {
    font-size: 2rem;
    font-weight: bold;
    color: white;
}

.countdown-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsividade */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .content-columns {
        flex-direction: column;
    }
    
    .stats-container {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-box {
        width: 100%;
    }
}

@media (max-width: 576px) {
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        width: 100%;
        text-align: center;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .section {
        padding: 2rem 0;
    }
}