/* Styles pour la bannière publicitaire sur la page résultats */
.results-page .ad-container {
    margin: 2rem auto;
    text-align: center;
    background-color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 1200px;
}

.results-page .ad-banner {
    border: 1px dashed #ccc;
    border-radius: var(--border-radius);
    padding: 1rem;
    margin: 1rem auto;
    background-color: #f9f9f9;
    text-align: center;
    position: relative;
}

.results-page .ad-label {
    position: absolute;
    top: 0;
    right: 10px;
    background-color: #e0e0e0;
    color: #666;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 0 0 4px 4px;
}

.results-page .ad-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
}

.results-page .ad-demo {
    padding: 1rem;
}

.results-page .ad-demo p {
    margin-bottom: 0.5rem;
}

.results-page .ad-demo-text {
    font-size: 0.8rem;
    color: #666;
}

.results-page .ad-notice {
    font-size: 0.7rem;
    color: #888;
    margin-top: 0.5rem;
}

/* Améliorations responsive pour mobile */
@media (max-width: 768px) {
    /* Réduction de la taille des textes pour mobile */
    .header-hero h1 {
        font-size: 1.8rem !important;
        line-height: 1.3;
    }
    
    .header-hero .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .results-page h1 {
        font-size: 1.8rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .score-card {
        padding: 1.5rem !important;
    }
    
    .score-result h2 {
        font-size: 1.5rem !important;
    }
    
    .score-result p {
        font-size: 1rem !important;
    }
    
    .score-circle {
        width: 120px !important;
        height: 120px !important;
    }
    
    .score-circle::before {
        width: 95px !important;
        height: 95px !important;
    }
    
    .score-number {
        font-size: 2.2rem !important;
    }
    
    .score-total {
        font-size: 1.2rem !important;
    }
    
    .score-percentage {
        font-size: 1.4rem !important;
    }
    
    .results-details,
    .recommendations {
        padding: 1.5rem !important;
    }
    
    .results-details h3,
    .recommendations h3 {
        font-size: 1.3rem !important;
    }
    
    .question-text p,
    .explanation p,
    .recommendation p,
    .resources h4 {
        font-size: 1rem !important;
    }
    
    .answer-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }
    
    .answer-status {
        align-self: flex-start !important;
    }
    
    .action-button {
        padding: 0.8rem 1.5rem !important;
        font-size: 1rem !important;
        width: 100% !important;
        max-width: 300px;
    }
    
    .resources ul {
        padding-left: 1rem !important;
    }
}

@media (max-width: 480px) {
    .header-hero h1 {
        font-size: 1.6rem !important;
    }
    
    .header-hero .hero-subtitle {
        font-size: 0.9rem !important;
    }
    
    .results-page h1 {
        font-size: 1.6rem !important;
    }
    
    .score-card {
        padding: 1rem !important;
    }
    
    .score-circle {
        width: 100px !important;
        height: 100px !important;
    }
    
    .score-circle::before {
        width: 80px !important;
        height: 80px !important;
    }
    
    .score-number {
        font-size: 1.8rem !important;
    }
    
    .score-total {
        font-size: 1rem !important;
    }
    
    .answer-item {
        padding: 1rem !important;
    }
    
    .label {
        min-width: 100px !important;
        font-size: 0.9rem !important;
    }
}