    /**
 * Styles personnalisés pour le thème Atmos Arena
 * 
 * Ce fichier contient les styles spécifiques au thème enfant.
 * Les styles Bootstrap sont chargés via le thème parent Understrap.
 */

/* Variables de couleurs (à adapter selon votre charte graphique) */
:root {
    --atmos-primary: #001433;
    --atmos-secondary: #7D3594;
    --atmos-accent: #EB511C;
    --atmos-light: #f2f2f3;
}

/* Fond de page - correspond au site statique (violet #001330) */
html,
body {
    background-color: #001330 !important;
}

#page,
.wrapper,
.site,
body .wrapper {
    background-color: #001330 !important;
}

/* Pages avec fond blanc */
.page-white-background #page,
.page-white-background .wrapper,
.page-white-background .site,
.page-white-background body .wrapper,
.page-with-toc-background #page,
.page-with-toc-background .wrapper,
.page-with-toc-background .site,
.page-with-toc-background body .wrapper {
    background-color: #fff !important;
}

/* Pages avec table des matières - fond blanc complet */
.page-with-toc-background .site-main {
    background-color: #fff;
    padding: 2rem 0;
}

.page-with-toc-background .entry-content {
    background-color: #fff;
    color: #333;
}

.page-with-toc-background .entry-title {
    color: #333;
}

.page-with-toc-background .entry-header {
    color: #333;
}

.page-with-toc-background #main,
.page-with-toc-background article {
    background-color: #fff;
    color: #333;
}

/* Ajuster les couleurs des liens dans les pages avec TOC */
.page-with-toc-background a {
    color: var(--atmos-secondary);
}

.page-with-toc-background a:hover {
    color: var(--atmos-accent);
}

/* Sections dans les pages avec TOC ne doivent pas avoir de fond violet */
.page-with-toc-background section:not(.hero-section):not(.hours-section) {
    background-color: transparent;
}

.page-white-background .site-main {
    background-color: #fff;
    padding: 2rem 0;
}

.page-white-background .entry-content {
    background-color: #fff;
    color: #333;
}

.page-white-background .entry-title {
    color: #333;
}

.page-white-background .entry-header {
    color: #333;
}

/* Assurer que le contenu principal a un fond blanc */
.page-white-background #main,
.page-white-background article {
    background-color: #fff;
    color: #333;
}

/* Ajuster les couleurs des liens dans les pages blanches */
.page-white-background a {
    color: var(--atmos-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-white-background a:hover {
    color: var(--atmos-accent);
    text-decoration: underline;
}

/* Styles pour les archives de blog */
.page-white-background .page-title,
.page-white-background .entry-title {
    color: #333;
    font-weight: 600;
}

.page-white-background .entry-title a {
    color: var(--atmos-primary);
    text-decoration: none;
}

.page-white-background .entry-title a:hover {
    color: var(--atmos-accent);
    text-decoration: underline;
}

.page-white-background .entry-meta {
    color: #666;
}

.page-white-background .entry-content {
    color: #333;
}

.page-white-background .entry-content p {
    color: #333;
    line-height: 1.6;
}

/* Assurer que les images sont visibles */
.page-white-background img,
.page-white-background .post-thumbnail,
.page-white-background .post-thumbnail img,
.page-white-background .entry-content img,
.page-white-background article img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 100%;
    height: auto;
}

.page-white-background .post-thumbnail {
    margin-bottom: 1.5rem;
}

.page-white-background .post-thumbnail img {
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Améliorer les boutons dans les archives */
.page-white-background .btn,
.page-white-background .read-more {
    background-color: var(--atmos-secondary);
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.page-white-background .btn:hover,
.page-white-background .read-more:hover {
    background-color: var(--atmos-accent);
    color: #fff;
    text-decoration: none;
}

/* Sections dans les pages blanches ne doivent pas avoir de fond violet */
.page-white-background section:not(.hero-section):not(.hours-section) {
    background-color: transparent;
}

/* Sections avec fond violet par défaut */
section:not(.hero-section):not(.hours-section) {
    background-color: #001330;
}

/* Section features (Bar/Boutique/Salle) - fond violet */
.features-section {
    background-color: #001330 !important;
}

/* Header / Navbar */
.site-header {
    background-color: #fff;
}

.navbar-brand.logo img {
    max-height: 40px;
    width: auto;
}

/* Formulaire de recherche */
.atmos-search-form {
    width: 100%;
}

.search-form-wrapper {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 1;
    pointer-events: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.search-input-wrapper:focus-within .search-icon {
    color: var(--atmos-secondary);
}

.search-input {
    padding-left: 3.5rem !important;
    padding-right: 1.25rem !important;
    height: 3.5rem;
    font-size: 1.1rem;
    border: 2px solid #e0e0e0;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    background-color: #fff;
    color: #333;
}

.search-input::placeholder {
    color: #999;
    font-style: italic;
}

.search-input:focus {
    border-color: var(--atmos-secondary);
    box-shadow: 0 0 0 0.25rem rgba(125, 53, 148, 0.15);
    outline: none;
    background-color: #fff;
}

.search-submit {
    height: 3.5rem;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--atmos-secondary) 0%, #9d4fb8 100%);
    border: none;
    color: #fff;
    cursor: pointer;
}

.search-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(125, 53, 148, 0.4);
    background: linear-gradient(135deg, #9d4fb8 0%, var(--atmos-secondary) 100%);
    color: #fff;
}

.search-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(125, 53, 148, 0.3);
}

.search-submit:focus {
    box-shadow: 0 0 0 0.25rem rgba(125, 53, 148, 0.5);
    outline: none;
}

.search-submit-text {
    font-weight: 600;
}

.search-submit-icon {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.search-submit:hover .search-submit-icon {
    transform: translateX(4px);
}

/* Modal de recherche */
.modal-content {
    border-radius: 1rem;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.modal-header {
    border-bottom: 2px solid #f0f0f0;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--atmos-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-title::before {
    content: "\f002";
    font-family: "FontAwesome";
    color: var(--atmos-secondary);
    font-size: 1.25rem;
}

.modal-body {
    padding: 2rem;
    background-color: #fff;
}

/* Animation d'apparition du modal */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -50px);
}

.modal.show .modal-dialog {
    transform: translate(0, 0);
}

/* Responsive */
@media (max-width: 768px) {
    .search-form-wrapper {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .search-submit {
        width: 100%;
        justify-content: center;
    }
    
    .search-input,
    .search-submit {
        height: 3rem;
        font-size: 1rem;
    }
    
    .search-input {
        padding-left: 3rem !important;
    }
    
    .search-icon {
        left: 1rem;
        font-size: 1rem;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.25rem;
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
}

/* Boutons */
.btn-primary {
    background-color: var(--atmos-accent);
    border-color: var(--atmos-accent);
}

.btn-primary:hover {
    background-color: #d04515;
    border-color: #d04515;
}

/* Cards avec ombre violette (comme dans le site statique) */
.card.shadow {
    box-shadow: rgb(156, 0, 255) 0px 8px 16px 0px !important;
}

/* Footer */
.site-footer {
    background-color: var(--atmos-primary);
    color: #fff;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--atmos-accent);
    text-decoration: underline;
}

.site-footer .social-media a {
    display: inline-block;
    margin-right: 0.5rem;
}

.site-footer .social-media i {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s;
    color: #fff;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    min-height: 2.5rem;
}

/* Améliorer la visibilité de l'icône TikTok */
.site-footer .social-media .fa-tiktok,
.site-footer .social-media .fab.fa-tiktok,
.site-footer .social-media i[class*="tiktok"] {
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free", sans-serif !important;
}

/* S'assurer que l'icône TikTok utilise bien Font Awesome 6 (code Unicode: \e07b) */
.site-footer .social-media .fab.fa-tiktok:before {
    content: "\e07b" !important;
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

.site-footer .social-media a:hover i {
    background-color: var(--atmos-accent);
    color: #fff;
}

.site-footer .social-media a:hover .fa-tiktok {
    background-color: var(--atmos-accent) !important;
    color: #fff !important;
}

.footer-copyright {
    background-color: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sections */
.hero-section {
    background: linear-gradient(135deg, var(--atmos-primary) 0%, var(--atmos-secondary) 100%);
    color: #fff;
}

.hours-section {
    background-color: #001330 !important;
}

/* Responsive */
@media (max-width: 991.98px) {
    .navbar-brand.logo img {
        max-height: 35px;
    }
}

/* Nettoyage des classes Odoo (si elles restent dans le HTML) */
.o_colored_level,
.o_cc,
.o_cc3,
.o_cc4 {
    /* Ces classes peuvent être supprimées ou remplacées par des classes Bootstrap */
}

/* ============================================
   Table des matières (TOC)
   ============================================ */
.page-with-toc {
    padding-top: 2rem;
}

.toc-sidebar {
    padding-right: 2rem;
}

.toc-wrapper {
    background-color: #fff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    top: 100px;
}

.toc-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
}

.toc-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--atmos-primary);
    margin: 0;
}

.toc-nav {
    margin: 0;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    margin-bottom: 0.5rem;
}

.toc-link {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #555;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    line-height: 1.4;
    border-left: 3px solid transparent;
}

.toc-link:hover {
    background-color: #f8f9fa;
    color: var(--atmos-secondary);
    border-left-color: var(--atmos-secondary);
    text-decoration: none;
}

.toc-link.active {
    background-color: rgba(125, 53, 148, 0.1);
    color: var(--atmos-secondary);
    font-weight: 600;
    border-left-color: var(--atmos-secondary);
}

/* Indentation selon le niveau */
.toc-level-2 .toc-link {
    padding-left: 0.75rem;
}

.toc-level-3 .toc-link {
    padding-left: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.toc-level-4 .toc-link {
    padding-left: 2.25rem;
    font-size: 0.85rem;
    color: #777;
}

.toc-level-5 .toc-link {
    padding-left: 3rem;
    font-size: 0.8rem;
    color: #888;
}

.toc-level-6 .toc-link {
    padding-left: 3.75rem;
    font-size: 0.75rem;
    color: #999;
}

/* Scrollbar personnalisée pour la TOC */
.toc-wrapper::-webkit-scrollbar {
    width: 6px;
}

.toc-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.toc-wrapper::-webkit-scrollbar-thumb {
    background: var(--atmos-secondary);
    border-radius: 3px;
}

.toc-wrapper::-webkit-scrollbar-thumb:hover {
    background: #9d4fb8;
}

/* Contenu principal avec TOC - fond blanc */
.page-with-toc-background .page-with-toc {
    background-color: #fff !important;
}

.page-with-toc-background .page-with-toc .container-fluid {
    background-color: #fff;
}

/* Assurer que single.php utilise le fond blanc */
#single-wrapper.page-with-toc-background,
#single-wrapper.page-with-toc {
    background-color: #fff !important;
}

#single-wrapper.page-with-toc-background .wrapper,
#single-wrapper.page-with-toc .wrapper {
    background-color: #fff !important;
}

.page-with-toc .site-main {
    background-color: #fff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-height: 500px;
}

.page-with-toc .entry-content {
    color: #333;
    background-color: #fff;
}

.page-with-toc .entry-content h2,
.page-with-toc .entry-content h3,
.page-with-toc .entry-content h4,
.page-with-toc .entry-content h5,
.page-with-toc .entry-content h6 {
    scroll-margin-top: 100px; /* Espace pour le header fixe */
    padding-top: 1rem;
    margin-top: 1rem;
}

.page-with-toc .entry-content h2 {
    color: var(--atmos-primary);
    border-bottom: 2px solid var(--atmos-secondary);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.page-with-toc .entry-content h3 {
    color: var(--atmos-secondary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-with-toc .entry-content h4 {
    color: #555;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Responsive pour la table des matières */
@media (max-width: 991.98px) {
    .toc-sidebar {
        padding-right: 1rem;
        padding-left: 1rem;
        margin-bottom: 2rem;
    }
    
    .toc-wrapper {
        position: relative;
        top: 0;
        max-height: 400px;
    }
    
    .page-with-toc .site-main {
        padding: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .toc-wrapper {
        padding: 1rem;
    }
    
    .toc-title {
        font-size: 1.1rem;
    }
    
    .toc-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }
    
    .page-with-toc .site-main {
        padding: 1rem;
    }
}

/* ============================================
   Résultats de recherche
   ============================================ */
/* Fond blanc UNIQUEMENT pour les pages de recherche */
body.search-results-page #page,
body.search-results-page .wrapper,
body.search-results-page .site,
body.search-results-page body .wrapper {
    background-color: #fff !important;
}

body.search-results-page .search-results-wrapper {
    background-color: #fff !important;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

body.search-results-page .search-results-wrapper #page,
body.search-results-page .search-results-wrapper .wrapper,
body.search-results-page .search-results-wrapper .site {
    background-color: #fff !important;
}

body.search-results-page .search-results-wrapper .site-main {
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* En-tête des résultats de recherche */
body.search-results-page .search-results-wrapper .page-header {
    background-color: #fff;
    padding: 1.5rem 0;
    border-bottom: 2px solid var(--atmos-secondary);
    margin-bottom: 2rem;
}

body.search-results-page .search-results-wrapper .page-title {
    color: var(--atmos-primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

body.search-results-page .search-results-wrapper .search-query {
    color: var(--atmos-secondary);
    font-weight: 600;
}

body.search-results-page .search-results-wrapper .search-results-count {
    font-size: 1rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Cartes de résultats */
body.search-results-page .search-results-wrapper .search-result-item {
    margin-bottom: 1.5rem;
}

body.search-results-page .search-results-wrapper .card {
    border: none;
    border-radius: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: #fff;
}

body.search-results-page .search-results-wrapper .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

body.search-results-page .search-results-wrapper .card-body {
    padding: 1.5rem;
}

/* Titre des résultats */
body.search-results-page .search-results-wrapper .entry-title {
    margin-bottom: 0.75rem;
}

body.search-results-page .search-results-wrapper .entry-title a {
    color: var(--atmos-primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

body.search-results-page .search-results-wrapper .entry-title a:hover {
    color: var(--atmos-secondary);
    text-decoration: underline;
}

/* Métadonnées */
body.search-results-page .search-results-wrapper .entry-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

body.search-results-page .search-results-wrapper .post-type-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--atmos-secondary);
    color: #fff;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

body.search-results-page .search-results-wrapper .post-date {
    color: #666;
    font-size: 0.9rem;
}

/* Extrait de contenu */
body.search-results-page .search-results-wrapper .entry-summary {
    color: #333;
    line-height: 1.7;
    margin-bottom: 1rem;
}

body.search-results-page .search-results-wrapper .entry-summary p {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Bouton "Lire la suite" */
body.search-results-page .search-results-wrapper .entry-footer .btn {
    background-color: var(--atmos-accent);
    border-color: var(--atmos-accent);
    color: #fff;
    border-radius: 0.5rem;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

body.search-results-page .search-results-wrapper .entry-footer .btn:hover {
    background-color: #d04515;
    border-color: #d04515;
    transform: translateX(4px);
    color: #fff;
}

body.search-results-page .search-results-wrapper .entry-footer .btn i {
    transition: transform 0.2s ease;
}

body.search-results-page .search-results-wrapper .entry-footer .btn:hover i {
    transform: translateX(4px);
}

/* Message "Aucun résultat" */
body.search-results-page .search-results-wrapper .no-results {
    background-color: #fff;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 0.75rem;
}

body.search-results-page .search-results-wrapper .no-results .page-title {
    color: var(--atmos-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

body.search-results-page .search-results-wrapper .no-results .text-muted {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

body.search-results-page .search-results-wrapper .search-form-container {
    max-width: 600px;
    margin: 0 auto;
}

/* Pagination */
body.search-results-page .search-results-wrapper .pagination {
    margin-top: 3rem;
    justify-content: center;
}

body.search-results-page .search-results-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

body.search-results-page .search-results-wrapper .page-numbers a,
body.search-results-page .search-results-wrapper .page-numbers span {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--atmos-primary);
    background-color: #f8f9fa;
    transition: all 0.2s ease;
}

body.search-results-page .search-results-wrapper .page-numbers a:hover {
    background-color: var(--atmos-secondary);
    color: #fff;
}

body.search-results-page .search-results-wrapper .page-numbers .current {
    background-color: var(--atmos-secondary);
    color: #fff;
    font-weight: 600;
}

/* Responsive pour les résultats de recherche */
@media (max-width: 767.98px) {
    body.search-results-page .search-results-wrapper .site-main {
        padding: 1rem;
    }
    
    body.search-results-page .search-results-wrapper .page-title {
        font-size: 1.5rem;
    }
    
    body.search-results-page .search-results-wrapper .entry-title a {
        font-size: 1.25rem;
    }
    
    body.search-results-page .search-results-wrapper .card-body {
        padding: 1rem;
    }
    
    body.search-results-page .search-results-wrapper .entry-meta {
        font-size: 0.85rem;
    }
}

/* ============================================
   Formulaire de contact
   ============================================ */
.atmos-contact-form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.atmos-contact-form .form-label {
    font-weight: 600;
    color: var(--atmos-primary);
    margin-bottom: 0.5rem;
}

.atmos-contact-form .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.atmos-contact-form .form-control:focus {
    border-color: var(--atmos-secondary);
    box-shadow: 0 0 0 0.25rem rgba(125, 53, 148, 0.15);
    outline: none;
}

.atmos-contact-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.atmos-contact-form .text-danger {
    color: var(--atmos-accent);
}

.atmos-contact-form .btn-primary {
    background-color: var(--atmos-accent);
    border-color: var(--atmos-accent);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.atmos-contact-form .btn-primary:hover {
    background-color: #d04515;
    border-color: #d04515;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(235, 81, 28, 0.4);
}

.atmos-contact-form .btn-primary:active {
    transform: translateY(0);
}

/* Messages d'alerte */
.alert {
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border: none;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert .btn-close {
    padding: 0.5rem;
}

/* Informations de contact */
.contact-info {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 0.75rem;
}

.contact-info h3 {
    color: var(--atmos-primary);
    font-weight: 700;
}

.contact-info h5 {
    color: var(--atmos-secondary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #555;
}

.contact-info a {
    color: var(--atmos-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: var(--atmos-accent);
    text-decoration: underline;
}

/* Validation du formulaire */
.atmos-contact-form .form-control:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

.atmos-contact-form .form-control:valid:not(:placeholder-shown) {
    border-color: #28a745;
}

/* Responsive */
@media (max-width: 767.98px) {
    .atmos-contact-form {
        padding: 1.5rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
}


/* Exception : Pages 404 avec fond blanc - RÈGLES ULTRA-SPÉCIFIQUES */
html body.error404,
body.error404,
html body.error404 html,
html body.error404 body,
body.error404 html,
body.error404 body {
    background-color: #ffffff !important;
    background: #ffffff !important;
}
html body.error404 #page,
body.error404 #page,
html body.error404 .site,
body.error404 .site,
html body.error404 .wrapper,
body.error404 .wrapper,
html body.error404 body .wrapper,
body.error404 body .wrapper {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

/* Navbar Mobile - Assurer la visibilité du bouton toggle */
@media (max-width: 991.98px) {
    .navbar.d-block.d-lg-none .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .navbar.d-block.d-lg-none .navbar-toggler {
        border: 1px solid rgba(0, 0, 0, 0.1);
        padding: 0.5rem 0.75rem;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1050;
    }
    
    .navbar.d-block.d-lg-none .navbar-toggler-icon {
        width: 1.5em;
        height: 1.5em;
        background-image: url("data:image/svg+xml,%3csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 30 30\"%3e%3cpath stroke=\"rgba%280, 0, 0, 0.55%29\" stroke-linecap=\"round\" stroke-miterlimit=\"10\" stroke-width=\"2\" d=\"M4 7h22M4 15h22M4 23h22\"/%3e%3c/svg%3e");
    }
    
    .navbar.d-block.d-lg-none .navbar-brand {
        flex-shrink: 0;
    }
}

/* Fix menu mobile - Styles très spécifiques pour forcer la visibilité */
.navbar.d-block.d-lg-none {
    position: relative !important;
    z-index: 1000 !important;
}

.navbar.d-block.d-lg-none .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.navbar.d-block.d-lg-none .navbar-toggler {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    border: 2px solid rgba(0, 0, 0, 0.3) !important;
    border-radius: 0.25rem !important;
    padding: 0.5rem 0.75rem !important;
    background-color: transparent !important;
    cursor: pointer !important;
    z-index: 1050 !important;
    position: relative !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
}

.navbar.d-block.d-lg-none .navbar-toggler:focus {
    outline: 2px solid var(--atmos-secondary) !important;
    outline-offset: 2px !important;
}

.navbar.d-block.d-lg-none .navbar-toggler-icon {
    display: inline-block !important;
    width: 1.5em !important;
    height: 1.5em !important;
    vertical-align: middle !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 30 30\"%3e%3cpath stroke=\"rgba%280, 0, 0, 0.75%29\" stroke-linecap=\"round\" stroke-miterlimit=\"10\" stroke-width=\"2.5\" d=\"M4 7h22M4 15h22M4 23h22\"/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 100% 100% !important;
}

.navbar.d-block.d-lg-none .navbar-brand {
    flex-shrink: 0 !important;
    margin-right: auto !important;
}

@media (max-width: 991.98px) {
    .navbar.d-block.d-lg-none .navbar-toggler {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}
