/* Style général */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

h1, h2, h3 {
    margin-bottom: 10px;
}

a {
    text-decoration: none;
    color: #fff;
}

button {
    padding: 10px 20px;
    border: none;
    background-color: #007BFF;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #0056b3;
}

/* En-tête */
header {
    background-color: #808b96;
    padding: 10px 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #fff;
    margin: 0;
}

.menu {
    list-style: none;
    display: flex;
}

.menu li {
    margin-left: 20px;
}

.menu li a {
    color: #fff;
    font-weight: bold;
}

/* Section Hero avec le même fond gris que le logo */
.hero {
    background-color: #ccd1d1;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    text-align: center;
    padding: 20px;

}

/* Texte adapté pour le fond clair */
.hero-content h1 {
    color: #2c3e50;
    text-shadow: none;
    text-transform: uppercase;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    color: #34495e;
    text-shadow: none;
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 30px;
}

.hero-content {
    max-width: 700px;
}

/* Boutons améliorés pour la page d'accueil */
.btn-primary, .btn-secondary {
    background-color: #000000;
    color: #ffffff;
    padding: 18px 35px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    margin: 10px 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover, .btn-secondary:hover {
    background-color: #333333;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: #ffffff;
}

.btn-primary:active, .btn-secondary:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* Version mobile des boutons */
@media (max-width: 768px) {
    .btn-primary, .btn-secondary {
        padding: 15px 25px;
        font-size: 16px;
        margin: 8px 10px;
        border-radius: 20px;
    }
}


/* Services */
.services {
    background-color: #edefef;
    padding: 50px 20px;
    text-align: center;
}

.services h2 {
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.icon {
    font-size: 40px;
    margin-bottom: 10px;
}

/* Contact */
.contact {
    background-color: #e9ecef;
    padding: 50px 20px;
    text-align: center;
}

.contact h2 {
    margin-bottom: 20px;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.contact input, .contact textarea {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 10px 20px;
}
/* Contact - Suite */
.contact ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.contact ul li {
    background-color: #fff;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border-left: 4px solid #007BFF;
}

.contact textarea {
    min-height: 100px;
    resize: vertical;
}

.contact button {
    background-color: #007BFF;
    font-size: 16px;
    padding: 15px;
    margin-top: 10px;
}

.contact button:hover {
    background-color: #0056b3;
}

/* Container général */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive - Pour les téléphones */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        text-align: center;
    }
    
    .menu {
        margin-top: 10px;
        flex-direction: column;
    }
    
    .menu li {
        margin: 5px 0;
    }
    
    .hero {
        height: 60vh;
        padding: 10px;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-card {
        padding: 15px;
    }
    
    .contact form {
        padding: 0 10px;
    }
}

/* Responsive - Pour les tablettes */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animations */
.service-card {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Style des listes dans les services */
.service-card ul {
    text-align: left;
    padding-left: 20px;
}

.service-card ul li {
    margin-bottom: 5px;
    position: relative;
}

.service-card ul li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: -20px;
}

/* Navigation smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Boutons hover effects */
.btn-primary:hover {
    background-color: #218838;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Header fixe lors du scroll */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

footer p {
    margin: 0;
}

/* Améliorations visuelles - Suite */
.logo p {
    color: #ccc;
    font-size: 14px;
    margin: 0;
    font-style: italic;
}

/* Style pour les icônes de services */
.icon {
    font-size: 50px;
    margin-bottom: 15px;
    display: block;
}

/* Couleurs spécifiques pour chaque service */
.service-card:nth-child(1) .icon {
    color: #ff6b35; /* Orange pour électricité forte */
}

.service-card:nth-child(2) .icon {
    color: #007BFF; /* Bleu pour courant faible */
}

.service-card:nth-child(3) .icon {
    color: #28a745; /* Vert pour automatismes */
}

.service-card:nth-child(4) .icon {
    color: #dc3545; /* Rouge pour TV TNT */
}

.service-card:nth-child(5) .icon {
    color: #6f42c1; /* Violet pour télésurveillance */
}

.service-card:nth-child(6) .icon {
    color: #20c997; /* Turquoise pour informatique */
}

/* Texte des services */
.service-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 20px;
}

.service-card ul li {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

/* Formulaire de contact amélioré */
.contact input:focus,
.contact textarea:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0,123,255,0.3);
}

/* Menu mobile hamburger (optionnel) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

/* Responsive amélioré */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .menu {
        display: none;
        width: 100%;
        background-color: #333;
        position: absolute;
        top: 100%;
        left: 0;
        flex-direction: column;
        padding: 20px 0;
    }
    
    .menu.active {
        display: flex;
    }
    
    .menu li {
        margin: 10px 0;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 16px;
        margin: 20px 0;
    }
}

/* Styles pour impression */
@media print {
    header, footer, .contact form {
        display: none;
    }
    
    body {
        background-color: #fff;
        color: #000;
    }
    
    .service-card {
        break-inside: avoid;
        margin-bottom: 20px;
    }
}

/* Accessibilité */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Animation de chargement */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
    /* Animation de chargement - Suite */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation au scroll */
.service-card {
    animation: fadeIn 0.6s ease-in-out;
}

/* Effet de survol sur les liens de navigation */
.menu li a:hover {
    color: #007BFF;
    transition: color 0.3s ease;
}

/* Style pour les liens actifs */
.menu li a.active {
    color: #007BFF;
    border-bottom: 2px solid #007BFF;
    padding-bottom: 5px;
}

/* Amélioration des boutons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    margin: 10px 5px;
    border-radius: 25px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Styles pour les différentes tailles d'écran */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .btn-primary, .btn-secondary {
        display: block;
        width: 90%;
        margin: 10px auto;
        text-align: center;
    }
    
    .service-card {
        margin-bottom: 20px;
    }
    
    .contact ul {
        padding: 0 10px;
    }
}

/* Amélioration du footer */
footer {
    background: linear-gradient(135deg, #222 0%, #333 100%);
    border-top: 3px solid #007BFF;
}

/* Styles pour les navigateurs plus anciens */
.services-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

/* Styles complémentaires pour le contact */
.contact-info ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.contact-info ul li {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-
    /* Styles complémentaires pour le contact - Suite */
.contact-info ul li {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-left: 4px solid #007BFF;
    font-weight: 500;
}

.contact-form {
    max-width: 600px;
    margin: 30px auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.contact-form button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

/* Footer styles */

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 0;
    border-bottom: 1px solid #444;
}

.footer-section h3,
.footer-section h4 {
    color: #fff;
    margin-bottom: 15px;
}

.footer-section p,
.footer-section ul li {
    color: #ccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-section ul li:hover {
    color: #007BFF;
    cursor: pointer;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* Responsive pour le formulaire */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        margin: 20px 10px;
        padding: 20px;
    }
    
    .contact-info ul {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
}

/* Animations d'entrée */
/* Animations d'entrée - Suite */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Application des animations */
.service-card:nth-child(odd) {
    animation: slideInLeft 0.6s ease-out;
}

.service-card:nth-child(even) {
    animation: slideInRight 0.6s ease-out;
}

.contact-form {
    animation: slideInUp 0.8s ease-out;
}

/* Effet de pulse sur les icônes */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.service-card:hover .icon {
    animation: pulse 0.6s ease-in-out;
}

/* Styles pour les alertes/messages */
.alert {
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Loader/Spinner */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007BFF;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Styles pour les tooltips */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Styles pour les badges */
.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    background-color: #007BFF;
    border-radius: 10px;
    margin-left: 5px;
}

.badge-success {
    background-color: #28a745;
}

.badge-warning {
    background-color: #ffc107;
    color: #212529;
}

.badge-danger {
    background-color: #dc3545;
}

/* Amélioration du header sticky */
.header-scrolled {
    background-color: rgba(34, 34, 34, 0.95) !important;
    /* Amélioration du header sticky - Suite */
.header-scrolled {
    background-color: rgba(34, 34, 34, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Styles pour les boutons flottants */
.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #007BFF;
    color: white;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,123,255,0.4);
}

/* Styles pour les accordéons */
.accordion {
    background-color: #f8f9fa;
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-header {
    background-color: #007BFF;
    color: white;
    padding: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #0056b3;
}

.accordion-content {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 200px;
    padding: 15px;
}

/* Styles pour les cartes avec effet 3D */
.card-3d {
    perspective: 1000px;
}

.card-3d-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.card-3d:hover .card-3d-inner {
    transform: rotateY(180deg);
}

.card-3d-front, .card-3d-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.card-3d-back {
    transform: rotateY(180deg);
}

/* Styles pour les progress bars */
.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007BFF, #0056b3);
    border-radius: 10px;
    transition: width 0.5s ease;
}

/* Styles pour les modales */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
    from {
        transform: translateY(-50px);
        opacity: 0;
        @keyframes modalSlide {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-close:hover {
    color: #000;
}

/* Styles pour les tabs */
.tabs {
    display: flex;
    background-color: #f8f9fa;
    border-radius: 5px 5px 0 0;
}

.tab {
    flex: 1;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    border: none;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.tab.active {
    background-color: #007BFF;
    color: white;
}

.tab:hover:not(.active) {
    background-color: #e9ecef;
}

.tab-content {
    display: none;
    padding: 20px;
    background-color: white;
    border-radius: 0 0 5px 5px;
}

.tab-content.active {
    display: block;
}

/* Styles pour les testimonials */
.testimonial {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin: 20px 0;
    position: relative;
    border-left: 5px solid #007BFF;
}

.testimonial::before {
    content: '"';
    font-size: 60px;
    color: #007BFF;
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
}

.testimonial-author {
    margin-top: 15px;
    font-weight: bold;
    color: #666;
}

/* Styles pour les tags */
.tag {
    display: inline-block;
    background-color: #e9ecef;
    color: #495057;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 12px;
    margin: 2px;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: #007BFF;
    color: white;
    transform: scale(1.05);
}

/* Styles pour les breadcrumbs */
.breadcrumb {
    display: flex;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.breadcrumb li {
    color: #6c757d;
}

.breadcrumb li + li::before {
    content: "/";
    margin: 0 10px;
}

.breadcrumb li.active {
    color: #007BFF;
    font-weight: bold;
}

/* Styles pour les alertes dismissibles */
.alert-dismissible {
    position: relative;
    padding-right: 50px;
}

.alert-dismiss {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
}

.alert-dismiss:hover {
    opacity: 1;
}

/* Styles pour les skeleton loaders */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4
    /* Styles pour les skeleton loaders - Suite */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 24px;
    margin-bottom: 16px;
    width: 60%;
}

.skeleton-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

/* Styles pour les dark mode */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #1a1a1a;
        --text-color: #ffffff;
        --card-bg: #2d2d2d;
        --border-color: #404040;
    }
    
    body {
        background-color: var(--bg-color);
        color: var(--text-color);
    }
    
    .service-card {
        background-color: var(--card-bg);
        color: var(--text-color);
    }
    
    .contact-form {
        background-color: var(--card-bg);
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        background-color: var(--card-bg);
        color: var(--text-color);
        border-color: var(--border-color);
    }
}

/* Utilitaires */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.w-25 { width: 25%; }
.w-50 { width: 50%; }
.w-75 { width: 75%; }
.w-100 { width: 100%; }

.h-25 { height: 25%; }
.h-50 { height: 50%; }
.h-75 { height: 75%; }
.h-100 { height: 100%; }

.shadow-sm { box-shadow: 0 1px 3px rgba(0,0,0,0.12); }
.
.shadow-sm { box-shadow: 0 1px 3px rgba(0,0,0,0.12); }
.shadow { box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 25px rgba(0,0,0,0.15); }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-circle { border-radius: 50%; }

.border { border: 1px solid #dee2e6; }
.border-0 { border: 0; }
.border-primary { border-color: #007BFF; }
.border-success { border-color: #28a745; }
.border-danger { border-color: #dc3545; }

.bg-primary { background-color: #007BFF; }
.bg-secondary { background-color: #6c757d; }
.bg-success { background-color: #28a745; }
.bg-danger { background-color: #dc3545; }
.bg-warning { background-color: #ffc107; }
.bg-info { background-color: #17a2b8; }
.bg-light { background-color: #f8f9fa; }
.bg-dark { background-color: #343a40; }
.bg-white { background-color: #ffffff; }

.text-primary { color: #007BFF; }
.text-secondary { color: #6c757d; }
.text-success { color: #28a745; }
.text-danger { color: #dc3545; }
.text-warning { color: #ffc107; }
.text-info { color: #17a2b8; }
.text-light { color: #f8f9fa; }
.text-dark { color: #343a40; }
.text-white { color: #ffffff; }
.text-muted { color: #6c757d; }

/* Media queries pour différentes tailles d'écran */
@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .hero-content h1 {
        font-size: 22px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .btn-primary, .btn-secondary {
        font-size: 14px;
        padding: 10px 20px;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1201px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .container {
        max-width: 1200px;
    }
}

/* Optimisations pour l'impression */
@media print {
    * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    header, footer, .contact-form, .floating-btn {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .service-card {
        break
        /* Optimisations pour l'impression - Suite */
    .service-card {
        break-inside: avoid;
        page-break-inside: avoid;
        margin-bottom: 15pt;
        padding: 10pt;
        border: 1pt solid #ccc;
    }
    
    h1, h2, h3 {
        break-after: avoid;
        page-break-after: avoid;
    }
    
    .services {
        padding: 20pt 0;
    }
    
    .hero {
        display: none;
    }
}

/* Animations pour les éléments au scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Styles pour les notifications toast */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #333;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    background-color: #28a745;
}

.toast.error {
    background-color: #dc3545;
}

.toast.warning {
    background-color: #ffc107;
    color: #212529;
}

/* Styles pour les boutons de retour en haut */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

/* Styles pour les barres de progression de chargement */
.loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #007BFF, #0056b3);
    z-index: 1002;
    transition: width 0.3s ease;
}

/* Styles pour les overlays */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Styles pour les curseurs personnalisés */
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.cursor-wait { cursor: wait; }
.cursor-help { cursor: help; }

/* Variables CSS pour la personnalisation facile */
:root {
    --primary-color: #007BFF;
    --primary-dark: #0056b3;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light
    /* Variables CSS pour la personnalisation facile - Suite */
:root {
    --primary-color: #007BFF;
    --primary-dark: #0056b3;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white-color: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --font-family-base: 'Arial', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    --border-radius: 0.25rem;
    --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --transition: all 0.3s ease;
}

/* Styles pour les états de chargement */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Styles pour les éléments désactivés */
.disabled,
[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Styles pour les focus visibles (accessibilité) */
.focus-visible,
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip links pour l'accessibilité */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--dark-color);
    color: var(--white-color);
    padding: 8px;
    text-decoration: none;
    z-index: 1003;
    border-radius: 0 0 4px 4px;
}

.skip-link:focus {
    top: 0;
}

/* Styles pour les lecteurs d'écran */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Clearfix utility */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Styles pour les listes sans puces */
.list-unstyled {
    padding-left: 0;
    list-style: none;
}

/* Styles pour les images responsives */
.img-responsive {
    max-width: 100%;
    height: auto;
}

/* Styles pour les vidéos responsives */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow
    /* Styles pour les vidéos responsives - Suite */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.video-responsive iframe,
.video-responsive object,
.video-responsive embed,
.video-responsive video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Styles pour les tableaux responsives */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: var(--gray-900);
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid var(--gray-300);
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid var(--gray-300);
    background-color: var(--gray-100);
}

/* Styles pour les codes et pre */
code {
    font-size: 87.5%;
    color: var(--danger-color);
    background-color: var(--gray-100);
    padding: 0.125rem 0.25rem;
    border-radius: var(--border-radius);
}

pre {
    display: block;
    font-size: 87.5%;
    color: var(--gray-900);
    background-color: var(--gray-100);
    padding: 1rem;
    border-radius: var(--border-radius);
    overflow-x: auto;
}

pre code {
    font-size: inherit;
    color: inherit;
    background-color: transparent;
    padding: 0;
}

/* Styles pour les blockquotes */
blockquote {
    margin: 0 0 1rem;
    padding: 0.5rem 1rem;
    border-left: 0.25rem solid var(--gray-300);
    background-color: var(--gray-100);
}

blockquote p:last-child {
    margin-bottom: 0;
}

/* Styles pour les listes de définitions */
dl {
    margin-bottom: 1rem;
}

dt {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

dd {
    margin-bottom: 0.5rem;
    margin-left: 1rem;
}

/* Styles pour les éléments de formulaire personnalisés */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--gray-700);
    background-color: var(--white-color);
    background-clip: padding-box;
    border: 1px solid var(--gray-400);
    border-radius: var(--border-radius);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: var(--gray-700);
    background-color: var(--white-color);
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control:disabled,
.form-control[readonly] {
    background-color: var(--gray-200);
    opacity: 
    .form-control:disabled,
.form-control[readonly] {
    background-color: var(--gray-200);
    opacity: 1;
}

/* Styles pour les checkboxes et radios personnalisés */
.form-check {
    position: relative;
    display: block;
    padding-left: 1.25rem;
    margin-bottom: 0.125rem;
}

.form-check-input {
    position: absolute;
    margin-top: 0.3rem;
    margin-left: -1.25rem;
}

.form-check-label {
    margin-bottom: 0;
}

/* Styles pour les switches */
.form-switch {
    padding-left: 2.5rem;
}

.form-switch .form-check-input {
    width: 2rem;
    margin-left: -2.5rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 2rem;
}

/* Styles pour les carousels/sliders */
.carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
}

.carousel-item.active {
    display: block;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15%;
    color: var(--white-color);
    text-align: center;
    opacity: 0.5;
    transition: opacity 0.15s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    color: var(--white-color);
    text-decoration: none;
    outline: 0;
    opacity: 0.9;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

/* Styles pour les offcanvas */
.offcanvas {
    position: fixed;
    bottom: 0;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    visibility: hidden;
    background-color: var(--white-color);
    background-clip: padding-box;
    outline: 0;
    transition: transform 0.3s ease-in-out;
}

.offcanvas-start {
    top: 0;
    left: 0;
    width: 400px;
    border-right: 1px solid var(--gray-300);
    transform: translateX(-100%);
}

.offcanvas-end {
    top: 0;
    right: 0;
    width: 400px;
    border-left: 1px solid var(--gray-300);
    transform: translateX(100%);
}

.offcanvas.show {
    transform: none;
    visibility: visible;
}

/* Styles pour les popovers */
.popover {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1070;
    display: block;
    max-width:
    /* Styles pour les popovers - Suite */
.popover {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1070;
    display: block;
    max-width: 276px;
    font-family: var(--font-family-base);
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    word-break: normal;
    word-spacing: normal;
    white-space: normal;
    line-break: auto;
    font-size: 0.875rem;
    word-wrap: break-word;
    background-color: var(--white-color);
    background-clip: padding-box;
    border: 1px solid var(--gray-300);
    border-radius: 0.3rem;
}

.popover .popover-arrow {
    position: absolute;
    display: block;
    width: 1rem;
    height: 0.5rem;
    margin: 0 0.3rem;
}

.popover-header {
    padding: 0.5rem 0.75rem;
    margin-bottom: 0;
    font-size: 1rem;
    background-color: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
}

.popover-body {
    padding: 0.5rem 0.75rem;
    color: var(--gray-900);
}

/* Styles pour les dropdowns */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    white-space: nowrap;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: var(--gray-900);
    text-align: left;
    list-style: none;
    background-color: var(--white-color);
    background-clip: padding-box;
    border: 1px solid var(--gray-300);
    border-radius: 0.25rem;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: var(--gray-900);
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--gray-800);
    background-color: var(--gray-100);
}

/* Styles pour les tooltips avancés */
.tooltip-advanced {
    position: absolute;
    z-index: 1080;
    display: block;
    margin: 0;
    font-family: var(--font-family-base);
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    word-break: normal;
    word-spacing: normal;
    white-space: normal;
    line-break: auto;
    font-size: 0.875rem;
    word-wrap: break-word;
    opacity: 0;
}

.
.tooltip-advanced.show {
    opacity: 0.9;
}

.tooltip-advanced .tooltip-arrow {
    position: absolute;
    display: block;
    width: 0.8rem;
    height: 0.4rem;
}

.tooltip-advanced .tooltip-inner {
    max-width: 200px;
    padding: 0.25rem 0.5rem;
    color: var(--white-color);
    text-align: center;
    background-color: var(--dark-color);
    border-radius: 0.25rem;
}

/* Styles pour les cartes avancées */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: var(--white-color);
    background-clip: border-box;
    border: 1px solid var(--gray-300);
    border-radius: 0.25rem;
}

.card-body {
    flex: 1 1 auto;
    padding: 1rem;
}

.card-title {
    margin-bottom: 0.5rem;
}

.card-subtitle {
    margin-top: -0.25rem;
    margin-bottom: 0;
}

.card-text:last-child {
    margin-bottom: 0;
}

.card-link:hover {
    text-decoration: none;
}

.card-header {
    padding: 0.5rem 1rem;
    margin-bottom: 0;
    background-color: var(--gray-100);
    border-bottom: 1px solid var(--gray-300);
}

.card-footer {
    padding: 0.5rem 1rem;
    background-color: var(--gray-100);
    border-top: 1px solid var(--gray-300);
}

/* Styles pour les listes de groupes */
.list-group {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    border-radius: 0.25rem;
}

.list-group-item {
    position: relative;
    display: block;
    padding: 0.5rem 1rem;
    color: var(--gray-900);
    text-decoration: none;
    background-color: var(--white-color);
    border: 1px solid var(--gray-300);
}

.list-group-item:first-child {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.list-group-item:last-child {
    border-bottom-right-radius: inherit;
    border-bottom-left-radius: inherit;
}

.list-group-item.active {
    z-index: 2;
    color: var(--white-color);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Styles pour les pagination */
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
}

.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: var(--primary-color);
    text-decoration: none;
    background-color: var(--white-color);
    border: 1px solid var(--gray-300);
}

.page-link:hover {
    z-index: 2;
    color: var(--primary-dark);
    text-decoration: none;
    background-color: var(--gray-200);
    border-color: var(--gray-300);
}

.page-item.active .page-link {
    z-index: 3;
    color: var(--white-color);
    background-color: var(--primary-color);
    border-
    .page-item.active .page-link {
    z-index: 3;
    color: var(--white-color);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-item.disabled .page-link {
    color: var(--gray-600);
    pointer-events: none;
    background-color: var(--white-color);
    border-color: var(--gray-300);
}

.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

/* Styles pour les breadcrumbs améliorés */
.breadcrumb-enhanced {
    display: flex;
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    list-style: none;
    background-color: var(--gray-200);
    border-radius: 0.25rem;
}

.breadcrumb-enhanced .breadcrumb-item + .breadcrumb-item {
    padding-left: 0.5rem;
}

.breadcrumb-enhanced .breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding-right: 0.5rem;
    color: var(--gray-600);
    content: "/";
}

.breadcrumb-enhanced .breadcrumb-item.active {
    color: var(--gray-600);
}

/* Styles pour les navbars améliorées */
.navbar-brand {
    display: inline-block;
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.navbar-nav .nav-link {
    padding-right: 0;
    padding-left: 0;
}

.navbar-nav .dropdown-menu {
    position: static;
    float: none;
}

.navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
    text-decoration: none;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    content: "";
    background: no-repeat center center;
    background-size: 100% 100%;
}

/* Styles pour les collapse */
.collapse:not(.show) {
    display: none;
}

.collapsing {
    position: relative;
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

/* Styles pour les spinners de chargement */
.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

.spinner-border-sm {
    width
    .spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

.spinner-grow {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    background-color: currentColor;
    border-radius: 50%;
    opacity: 0;
    animation: spinner-grow 0.75s linear infinite;
}

@keyframes spinner-grow {
    0% {
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: none;
    }
}

.spinner-grow-sm {
    width: 1rem;
    height: 1rem;
}

/* Styles pour les placeholders */
.placeholder {
    display: inline-block;
    min-height: 1em;
    vertical-align: middle;
    cursor: wait;
    background-color: currentColor;
    opacity: 0.5;
}

.placeholder.btn::before {
    display: inline-block;
    content: "";
}

.placeholder-xs {
    min-height: 0.6em;
}

.placeholder-sm {
    min-height: 0.8em;
}

.placeholder-lg {
    min-height: 1.2em;
}

.placeholder-glow .placeholder {
    animation: placeholder-glow 2s ease-in-out infinite alternate;
}

@keyframes placeholder-glow {
    50% {
        opacity: 0.2;
    }
}

.placeholder-wave {
    mask-image: linear-gradient(130deg, #000 40%, rgba(0, 0, 0, 0.5) 50%, #000 60%);
    mask-size: 200% 100%;
    animation: placeholder-wave 2s linear infinite;
}

@keyframes placeholder-wave {
    100% {
        mask-position: -200% 0%;
    }
}

/* Styles pour les close buttons */
.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='m.235.757 7.308 7.308-7.308 7.309a.5.5 0 0 0 .708.708L8.25 8.774l7.308 7.308a.5.5 0 0 0 .708-.708L8.958 8.066l7.308-7.308a.5.5 0 0 0-.708-.708L8.25 7.358.942.05a.5.5 0 1 0-.708.708z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.25rem;
    opacity: 0.5;
}

.btn-close:hover {
    color: #000;
    text-decoration: none;
    opacity: 0.75;
}

.btn-close:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    opacity: 1;
}

.btn-close:disabled,
.btn-close.disabled {
    pointer-events: none;
    user-select: none;
    opacity: 0.25;
}

/* Styles pour les ratios d'aspect */
.ratio {
    position: relative;
    width: 100%;
}

.ratio
.ratio {
    position: relative;
    width: 100%;
}

.ratio::before {
    display: block;
    padding-top: var(--bs-aspect-ratio);
    content: "";
}

.ratio > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ratio-1x1 {
    --bs-aspect-ratio: 100%;
}

.ratio-4x3 {
    --bs-aspect-ratio: calc(3 / 4 * 100%);
}

.ratio-16x9 {
    --bs-aspect-ratio: calc(9 / 16 * 100%);
}

.ratio-21x9 {
    --bs-aspect-ratio: calc(9 / 21 * 100%);
}

/* Styles pour les stacks */
.vstack {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-self: stretch;
}

.hstack {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: stretch;
}

/* Styles pour la visibilité */
.visible {
    visibility: visible !important;
}

.invisible {
    visibility: hidden !important;
}

/* Styles pour les positionnements */
.position-static {
    position: static !important;
}

.position-relative {
    position: relative !important;
}

.position-absolute {
    position: absolute !important;
}

.position-fixed {
    position: fixed !important;
}

.position-sticky {
    position: sticky !important;
}

.top-0 {
    top: 0 !important;
}

.top-50 {
    top: 50% !important;
}

.top-100 {
    top: 100% !important;
}

.bottom-0 {
    bottom: 0 !important;
}

.bottom-50 {
    bottom: 50% !important;
}

.bottom-100 {
    bottom: 100% !important;
}

.start-0 {
    left: 0 !important;
}

.start-50 {
    left: 50% !important;
}

.start-100 {
    left: 100% !important;
}

.end-0 {
    right: 0 !important;
}

.end-50 {
    right: 50% !important;
}

.end-100 {
    right: 100% !important;
}

/* Styles pour les transformations */
.translate-middle {
    transform: translate(-50%, -50%) !important;
}

.translate-middle-x {
    transform: translateX(-50%) !important;
}

.translate-middle-y {
    transform: translateY(-50%) !important;
}

/* Styles pour les overflow */
.overflow-auto {
    overflow: auto !important;
}

.overflow-hidden {
    overflow: hidden !important;
}

.overflow-visible {
    overflow: visible !important;
}

.overflow-scroll {
    overflow: scroll !important;
}

/* Styles pour les flexbox utilities */
.d-flex {
    display: flex !important;
}

.d-inline-flex {
    display: inline-flex !important;
}

.flex-row {
    flex-direction: row !important;
}

.flex-column {
    flex-direction: column !important;
}

.flex-row-reverse {
    flex-direction: row-reverse !important;
}

.flex-column-reverse {
    flex-direction: column-reverse !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.flex-nowrap {
    flex-wrap: nowrap !important;
}

.flex-wrap-reverse {
    flex-wrap: wrap-reverse !important;
}

.flex-fill {
    flex: 1 1 auto !important;
}

.flex-grow-0 {
.flex-grow-0 {
    flex-grow: 0 !important;
}

.flex-grow-1 {
    flex-grow: 1 !important;
}

.flex-shrink-0 {
    flex-shrink: 0 !important;
}

.flex-shrink-1 {
    flex-shrink: 1 !important;
}

.justify-content-start {
    justify-content: flex-start !important;
}

.justify-content-end {
    justify-content: flex-end !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.justify-content-around {
    justify-content: space-around !important;
}

.justify-content-evenly {
    justify-content: space-evenly !important;
}

.align-items-start {
    align-items: flex-start !important;
}

.align-items-end {
    align-items: flex-end !important;
}

.align-items-center {
    align-items: center !important;
}

.align-items-baseline {
    align-items: baseline !important;
}

.align-items-stretch {
    align-items: stretch !important;
}

.align-content-start {
    align-content: flex-start !important;
}

.align-content-end {
    align-content: flex-end !important;
}

.align-content-center {
    align-content: center !important;
}

.align-content-between {
    align-content: space-between !important;
}

.align-content-around {
    align-content: space-around !important;
}

.align-content-stretch {
    align-content: stretch !important;
}

.align-self-auto {
    align-self: auto !important;
}

.align-self-start {
    align-self: flex-start !important;
}

.align-self-end {
    align-self: flex-end !important;
}

.align-self-center {
    align-self: center !important;
}

.align-self-baseline {
    align-self: baseline !important;
}

.align-self-stretch {
    align-self: stretch !important;
}

/* Section Partenaires */
.partenaires {
    background: #f8f9fa;
    padding: 40px 0;
    text-align: center;
}

.logos-partenaires {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.logos-partenaires img {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.logos-partenaires img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Images autour de la section d'accueil */
.hero-images-top {
    text-align: center;
    margin-bottom: 20px;
}

.hero-images-top img.image-dessus {
    max-width: 100%;
    height: auto;
}

.hero-content-with-images {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-content-with-images img.image-gauche,
.hero-content-with-images img.image-droite {
    width: 150px;
    max-width: 100%;
    height: auto;
}

.hero-content {
    text-align: center;
    max-width: 600px;
}