/* Styles pour la structure principale */
.full-width-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Styles pour les filtres des domaines */
.domaines-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 15px 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.filter-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
    color: #333;
    background-color: #fff;
}

#reset-filters {
    padding: 10px 15px;
    background-color: #4a6741;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95rem;
    margin-top: 24px;
    transition: background-color 0.3s ease;
}

#reset-filters:hover {
    background-color: #3a5233;
}

/* Styles pour la grille des domaines */
.domaines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.domaine-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.domaine-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.domaine-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.domaine-content {
    padding: 15px;
}

.domaine-content h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.domaine-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.domaine-content h3 a:hover {
    color: #4a6741;
}

.domaine-meta {
    font-size: 0.9rem;
    color: #666;
}

.domaine-meta div {
    margin-bottom: 5px;
}

/* Styles pour la section des domaines populaires */
.domaines-populaires-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    margin-top: 40px;
}

.domaines-populaires-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 2.2rem;
}

.domaines-populaires-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.domaine-populaire-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.domaine-populaire-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.domaine-populaire-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.domaine-populaire-item h4 {
    padding: 15px 15px 5px;
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.domaine-populaire-item p {
    padding: 0 15px 15px;
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.domaine-populaire-item .btn-small {
    display: inline-block;
    margin: 0 15px 15px;
    padding: 8px 15px;
    background-color: #4a6741;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.domaine-populaire-item .btn-small:hover {
    background-color: #3a5233;
}

/* Styles pour la section de publicité */
.ad-section {
    padding: 40px 0;
    background-color: #f0f0f0;
    margin-top: 20px;
}

.ad-block {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ad-block h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 1.8rem;
}

.ad-space {
    display: flex;
    justify-content: center;
}

.ad-item {
    text-align: center;
    max-width: 600px;
}

.ad-item img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 6px;
}

.ad-item p {
    margin: 15px 0;
    font-size: 1.1rem;
    color: #333;
}

.ad-item .btn-small {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4a6741;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.ad-item .btn-small:hover {
    background-color: #3a5233;
}

/* Styles pour la section "Besoin d'aide ?" */
.help-section {
    padding: 60px 0;
    margin-bottom: 40px;
}

.help-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.help-block h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.help-block p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.help-block .btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #4a6741;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.help-block .btn:hover {
    background-color: #3a5233;
    transform: translateY(-2px);
}

/* Responsive design */
@media (max-width: 992px) {
    .domaines-populaires-grid,
    .domaines-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .domaines-populaires-grid,
    .domaines-grid {
        grid-template-columns: 1fr;
    }
    
    .domaines-populaires-section {
        padding: 40px 0;
    }
    
    .ad-section {
        padding: 30px 0;
    }
    
    .help-section {
        padding: 40px 15px;
    }
    
    .help-block {
        padding: 30px 20px;
    }
    
    .help-block h3 {
        font-size: 1.8rem;
    }
    
    .domaines-filters {
        flex-direction: column;
    }
    
    .filter-group {
        width: 100%;
        margin-bottom: 15px;
    }
}
