/* Appliquer la police Poppins à tout le contenu */
html {
    scroll-behavior: smooth; /* Active le défilement fluide pour les ancres */
    height: 100%; /* S'assurer que l'HTML prend toute la hauteur disponible */
    background-image: url('../images/home/votre-image-de-fond.webp'); /* Déplacé du body */
    background-size: cover; /* Déplacé du body */
    background-position: center center; /* Déplacé du body */
    background-repeat: no-repeat; /* Déplacé du body */
    background-attachment: fixed; /* Déplacé du body */
    position: relative; /* Nécessaire pour le pseudo-élément ::before si on le place ici */
    background-color: transparent !important; /* Ajouté pour forcer la transparence du body */
    color: #FFFFFF; /* Texte du body en blanc par défaut */
    cursor: none !important; /* On s'assure de masquer le curseur ici */
}

html::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 60, 67, 0.8); /* Opacité augmentée à 80% pour un fond plus sombre */
    z-index: -1;
}

/* Loader Styles */
#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(26,60,67);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top-color: #F56217;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100%; /* S'assurer que le body prend au moins 100% de la hauteur de l'HTML */
    margin: 0;
    display: flex;
    flex-direction: column;
    padding-top: 0; /* Supprimer le padding-top du body */
    padding-left: 200px; /* Espace pour la barre latérale dépliée par défaut */
    transition: padding-left 0.3s ease; /* Conserver la transition pour le cas où elle serait utile ailleurs */
    position: relative;
    background-color: transparent !important; /* Ajouté pour forcer la transparence du body */
    color: #FFFFFF; /* Texte du body en blanc par défaut */
    cursor: none !important; /* Et ici aussi pour être sûr */
    letter-spacing: .05rem;
    cursor: pointer !important;
}

.container {
    background-color: transparent !important;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    transition: transform 0.2s, background-image 0.2s;
}

/* Nouvelle barre de navigation latérale */
.sidebar-nav {
    width: 200px; /* Largeur de la barre latérale par défaut */
    background-color: rgb(26,60,67); /* Nouvelle couleur de fond basée sur le RGB fourni */
    height: 100vh; /* Prend toute la hauteur de l'écran */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1030;
    padding-top: 20px; /* Espace en haut */
    display: flex;
    flex-direction: column;
    align-items: center; 
    transition: width 0.3s ease; /* Transition pour la largeur de la sidebar */
}

.sidebar-nav .sidebar-brand {
    margin-bottom: 30px;
    transition: opacity 0.3s ease;
    background-color: rgb(26,60,67); /* Assurer que le fond du conteneur du logo correspond à la navbar */
    padding: 0; /* S'assurer qu'il n'y a pas de padding qui expose un autre fond */
    border: none; /* S'assurer qu'il n'y a pas de bordure */
    box-shadow: none; /* S'assurer qu'il n'y a pas d'ombre */
}

.sidebar-nav .sidebar-brand img {
    width: 150px; /* Augmenter la taille du logo en mode déplié */
    height: auto;
    transition: width 0.3s ease;
    opacity: 1; /* Assurer une opacité pleine pour le logo */
    filter: brightness(1.1); /* Augmenter légèrement la luminosité pour le rendre plus visible */
    display: block; /* S'assurer que l'image est un élément de bloc */
    border: none; /* Supprimer toute bordure potentielle */
}

.sidebar-nav .nav-link {
    color: white;
    font-size: 1.1rem;
    padding: 10px 20px;
    margin: 5px 0;
    width: 100%;
    text-align: left; /* Alignement du texte à gauche */
    transition: background-color 0.3s ease, color 0.3s ease; /* Transition pour les couleurs */
    display: flex;
    align-items: center;
}

.sidebar-nav .nav-link i {
    font-size: 1.3rem;
    width: 24px; /* Largeur fixe pour l'icône */
    text-align: center;
    transition: margin-right 0.3s ease; /* Transition pour la marge de l'icône */
}

.sidebar-nav .nav-link span {
    opacity: 1; /* Texte visible par défaut */
    transition: opacity 0.3s ease;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
    background-color: #F56217; /* Couleur au survol et pour l'actif */
    color: white;
}

/* Styles pour le bouton de basculement */
.sidebar-toggle-button {
    position: absolute;
    bottom: 20px; /* Position en bas de la sidebar */
    right: 10px;
    font-size: 1.5rem;
    z-index: 1040; /* Au-dessus des autres éléments */
    transition: transform 0.3s ease; /* Pour l'animation de rotation */
}

.sidebar-toggle-button i {
    transition: transform 0.3s ease; /* Pour l'animation de l'icône */
}

/* Styles lorsque la sidebar est repliée */
body.sidebar-collapsed {
    padding-left: 60px; /* Réduire l'espace pour le contenu principal */
}

body.sidebar-collapsed .sidebar-nav {
    width: 60px; /* Réduire la largeur de la sidebar */
}

body.sidebar-collapsed .sidebar-nav .sidebar-brand img {
    width: 50px; /* Augmenter légèrement la taille du logo en mode replié */
    opacity: 1; /* Assurer une opacité pleine pour le logo */
    filter: brightness(1.1); /* Augmenter légèrement la luminosité pour le rendre plus visible */
    display: block; /* S'assurer que l'image est un élément de bloc */
    border: none; /* Supprimer toute bordure potentielle */
}

body.sidebar-collapsed .sidebar-nav .nav-link span {
    opacity: 0; /* Masquer le texte des liens */
    width: 0; /* Supprimer la largeur du span pour éviter l'espace */
    overflow: hidden; /* Cacher le débordement du texte */
}

body.sidebar-collapsed .sidebar-nav .nav-link i {
    margin-right: 0; /* Supprimer la marge de l'icône */
}

body.sidebar-collapsed .sidebar-toggle-button i {
    transform: rotate(180deg); /* Faire pivoter l'icône */
}

/* Ajustement des styles pour la bannière et la section Hero avec la sidebar repliée */
body.sidebar-collapsed .announcement-banner {
    /* Vide car le centrage est géré par margin:auto */
}

body.sidebar-collapsed .hero-section {
    width: calc(100% - 60px); /* Ajuster la largeur de la section Hero */
}

@keyframes subtle-blink {
    50% {
        background-color: #25525c;
        box-shadow: 0 2px 12px #0002, 0 0 10px rgba(245, 98, 23, 0.5);
    }
}

/* Styles pour la bannière d'annonce */
.announcement-banner {
    width: fit-content; /* Largeur ajustée au contenu */
    max-width: 95%; /* Sécurité pour ne pas déborder sur mobile */
    margin: 1rem auto; /* Centrée horizontalement avec une marge verticale */
    background: #1a3c43;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 2px 12px #0002;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    text-align: center;
    animation: subtle-blink 2.5s infinite ease-in-out;
}

@media (max-width: 991px) {
    body {
        padding-left: 0 !important; /* Forcer la suppression du padding sur mobile */
    }
    .announcement-banner {
        max-width: 90%;
        padding: 0.4rem 1rem;
        font-size: 0.95rem;
    }
    .content-area {
        margin-top: 0; /* Plus de marge car la bannière est dans le flux */
    }
}

body.sidebar-collapsed .announcement-banner {
    /* Vide car le centrage est géré par margin:auto */
}

.content-area {
    margin-top: 0; /* Plus de marge car la bannière est dans le flux */
}

@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2rem; /* Taille de police réduite pour les tablettes et mobiles */
        line-height: 1.3;
    }
    .hero-subtitle-handwritten {
        font-size: 1.8rem;
    }
    .section-subtitle-handwritten {
        font-size: 1.5rem;
    }
    h2.gradient-title {
        font-size: 2.0rem;
    }
    h3.gradient-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.6rem; /* Taille encore plus réduite pour les petits mobiles */
    }
    .hero-subtitle-handwritten {
        font-size: 1.5rem;
    }
    .section-subtitle-handwritten {
        font-size: 1.3rem;
    }
}

.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: white;
    margin-top: 0;
    padding-top: 2rem; /* Réduit pour s'adapter à la bannière dans le flux */
    width: 100%;
    box-sizing: border-box;
}

.hero-section .container-fluid {
    padding-top: 3rem;
    padding-bottom: 3rem;
    max-width: 1200px; /* Limite la largeur du contenu pour une meilleure lisibilité */
}

.hero-section h1 {
    font-size: 2.8rem; /* Taille de police légèrement ajustée pour le titre principal */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle-handwritten {
    font-family: 'Poppins', Arial, sans-serif !important;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: #f0f0f0;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-section p {
    font-size: 1.3rem; /* Légère augmentation pour le sous-titre */
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #FFFFFF; /* S'assurer que le texte du hero est blanc */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Ajout de l'ombre statique ici */
}

.hero-section .btn {
    margin: 0 10px;
    padding: 12px 30px;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: white;
}

.hero-section .btn-primary {
    background-color: #F56217; /* Orange pour l'action principale */
    border-color: #F56217;
}

.hero-section .btn-primary:hover {
    background-color: #e05210; /* Orange plus foncé au survol */
    border-color: #e05210;
}

.hero-section .btn-secondary {
    background-color: rgb(26, 60, 67); /* Bleu navbar pour l'action secondaire */
    border-color: rgb(26, 60, 67);
}

.hero-section .btn-secondary:hover {
    background-color: #2a6a78;
    border-color: #2a6a78;
}

/* Style pour les titres avec dégradé animé bleu et orange */
.gradient-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: -webkit-linear-gradient(45deg, #F56217, #f89d2e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.text-gradient {
    background: -webkit-linear-gradient(45deg, #F56217, #f89d2e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-weight: 700;
}

h1.gradient-title {
    font-size: 3.5rem;
}
h2.gradient-title {
    font-size: 3rem;
    margin-top: 4rem;
}
h3.gradient-title {
    font-size: 2.5rem;
}

@media (max-width: 991px) {
    h1.gradient-title {
        font-size: 2.8rem;
    }
    h2.gradient-title {
        font-size: 2.4rem;
    }
    h3.gradient-title {
        font-size: 2.2rem;
    }
}

/* Styles pour les cartes de service modernes */
.service-card-modern {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card-modern .card-img-top {
    border-bottom: 1px solid #eee;
    padding: 20px;
}

.service-card-modern .card-body {
    padding: 25px;
}

.service-card-modern .service-title-modern {
    font-size: 1.6rem;
    font-weight: 600;
    color: #FFFFFF; /* Texte de titre de carte moderne en blanc */
    margin-bottom: 1rem;
}

/* Styles pour les cartes de service */
.service-card {
    background-color: transparent !important;
    border: none !important; /* Retiré la bordure orange */
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card .service-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFFFFF; /* Texte de titre de carte en blanc */
}

/* Style pour les titres de projets */
.project-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #FFFFFF; /* Force le texte en blanc */
    background-size: 200%;
    animation: none; /* Désactiver l'animation de dégradé */
}

/* Style pour les images du portfolio */
.project-image {
    border: 2px solid #F56217;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Bordures et mise en valeur des sections */
.section-border {
    border: none !important; /* Retiré la bordure de la section */
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: none; /* S'assurer qu'il n'y a pas d'ombre */
}

/* S'assurer que la classe .card de Bootstrap est transparente par défaut */
.card {
    background-color: transparent !important;
    border: none !important; /* Supprimer la bordure par défaut de la carte si elle interfère */
}

/* Style pour les boutons */
.btn-primary, .btn-lg {
    color: #FFFFFF;
    background-color: #F56217; /* Orange pour les boutons primaires */
    border: 2px solid #F56217; /* Bordure assortie */
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
}

.btn-primary:hover, .btn-lg:hover {
    color: #FFFFFF;
    background-color: #e05210; /* Version assombrie pour le survol */
    border-color: #e05210; /* Bordure assortie au survol */
    transform: translateY(-3px);
}

.hero-section .btn-primary {
    background-color: #F56217; /* Orange pour l'action principale */
    border-color: #F56217;
}
.hero-section .btn-primary:hover {
    background-color: #e05210; /* Orange plus foncé au survol */
    border-color: #e05210;
}

/* Carrousel pour mobile (sera masqué par les nouveaux styles) */
.carousel-item {
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .project-title {
        font-size: 1.5rem;
    }

    .btn-lg {
        width: 100%;
        margin-top: 10px;
    }

    .hero-section h1 {
        font-size: 2.2rem; /* Taille de police réduite pour les tablettes et mobiles */
        line-height: 1.3;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .hero-section .btn {
        width: 90%;
        margin-bottom: 15px;
    }

    .section-title, .service-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.8rem; /* Taille encore plus réduite pour les petits mobiles */
    }
    .hero-subtitle-handwritten {
        font-size: 1.7rem;
    }
    .section-subtitle-handwritten {
        font-size: 1.4rem;
    }
}

/* Style des boutons avec survol */
.btn-outline {
    background-color: transparent;
    border: 2px solid #F56217;
    color: #F56217;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 30px;
    padding: 10px 20px;
}

.btn-outline:hover {
    background-color: #F56217;
    color: white;
}

/* Styles pour les titres H1 et H2 */
h1, h2 {
    font-family: 'Poppins', sans-serif;
    color: #FFFFFF; /* Blanc par défaut pour une meilleure lisibilité */
    font-weight: 600; /* Poids de la police pour les titres */
}

/* Styles pour les paragraphes */
p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #EAEAEA; /* Gris clair pour le texte courant, pour un contraste doux */
    margin-bottom: 1rem;
}

/* Styles pour les images fluides */
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Titres et sections */
.main-title, .section-title, .service-title {
    font-weight: bold;
    color: white; /* Assurer que les titres sont bien blancs */
}

.main-title {
    font-size: 3rem;
    margin-bottom: 30px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Styles d'icônes */
.icon {
    font-size: 3rem;
    color: #F56217;
    transition: color 0.3s ease, transform 0.2s ease; /* Ajout de transform pour l'animation */
}

.icon:hover {
    color: #0B486B;
    transform: translateY(-5px); /* Léger mouvement vers le haut au survol */
}

/* Animation de changement de couleur pour les icônes */
@keyframes colorChange {
    0% { color: #F56217; }
    50% { color: #0B486B; }
    100% { color: #F56217; }
}

/* Styles pour les boutons Bootstrap */
.btn-primary, .btn-secondary, .btn-lg {
    border-radius: .5rem; /* Bords légèrement arrondis */
    padding: .75rem 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05rem;
    cursor: pointer !important;
}

.btn-primary {
    background-color: #F56217; /* Couleur de base orange */
    border-color: #F56217;
}

.btn-secondary {
    background-color: rgb(26, 60, 67); /* Couleur de base bleu navbar */
    border-color: rgb(26, 60, 67);
}

.btn-primary:hover, .btn-secondary:hover, .btn-lg:hover {
    opacity: 0.9;
}

/* Images de service */
.service-image {
    border-radius: 10px; /* Bords arrondis pour les images de service */
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
}

.service-image:hover {
    transform: scale(1.02);
    transition: transform .3s ease;
}

/* Dispositions des lignes et colonnes */
.row {
    margin-left: -15px;
    margin-right: -15px;
}

.col-lg-4, .col-md-6 {
    padding-left: 15px;
    padding-right: 15px;
}

/* Media Queries */
@media (max-width: 991px) {
    .col-lg-4, .col-md-6 {
        margin-bottom: 20px;
    }

    .icon {
        font-size: 2.5rem;
    }

    .section-title, .service-title {
        font-size: 1.8rem;
    }

    .btn-lg {
        width: auto; /* Supprimer la largeur 100% pour les boutons en mobile */
        display: inline-block; /* Revenir à l'affichage en ligne */
    }
}

/* Styles pour les statistiques de service */
.service-stats {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-stats:hover {
    transform: translateY(-5px);
}

/* Assurer que toutes les sections ont un fond transparent */
section {
    background-color: transparent !important;
}

/* Assurer que les colonnes du footer ont un fond transparent */
footer .col-lg-4,
footer .col-md-6 {
    background-color: transparent !important;
}

/* Media query pour ajustements des boutons sur mobile */
@media (max-width: 991px) {
    .text-center .btn-lg {
        display: block; /* Rendre les boutons en bloc pour mieux s'adapter */
        margin-bottom: 10px; /* Ajouter un espacement entre les boutons */
    }

    .btn-lg {
        margin: 0 auto; /* Centrer les boutons en mode bloc */
    }
}

/* Footer styles */
footer {
    /* Le footer devient un simple conteneur d'espacement */
    margin-top: 3rem;
    padding-bottom: 1.5rem;
}
.footer-content-wrapper {
    max-width: 1200px;
    margin: 0 auto; /* Centrage horizontal */
    background: rgba(26,60,67,0.92); /* Couleur de fond */
    backdrop-filter: blur(4px); /* Effet de flou */
    border-radius: 22px; /* 4 coins arrondis */
    box-shadow: 0 8px 32px #1a3c4340, 0 2px 8px #0002; /* Ombre moderne */
    padding: 2.5rem; /* Espacement interne */
}
footer h2.gradient-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}
footer ul {
    padding-left: 0;
    list-style: none;
}
.footer-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s, text-shadow 0.2s;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}
.footer-link:hover, .footer-link:focus {
    color: #F56217;
    text-shadow: 0 2px 8px #F5621740;
}
.footer-icon i {
    color: #F56217;
    font-size: 1.1em;
    margin-right: 0.3em;
    transition: color 0.2s;
}
.footer-link:hover .footer-icon i, .footer-link:focus .footer-icon i {
    color: #fff;
}
footer .row > div {
    margin-bottom: 2rem;
}
@media (max-width: 991px) {
    footer {
        border-radius: 0;
        padding-top: 1.5rem;
        padding-bottom: 0.5rem;
    }
    .footer-content-wrapper {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    footer h2.gradient-title {
        font-size: 1rem;
        margin-bottom: 0.7rem;
    }
    footer .row > div {
        margin-bottom: 1.2rem;
    }
}

/* Bouton flottant WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px; /* Positionné en bas */
    left: 20px; /* Positionné à gauche */
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.3);
    z-index: 1000;
  display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1); /* Retrait du translateY */
    box-shadow: 4px 4px 10px rgba(0,0,0,0.4);
    color: #FFF;
}

/* Bouton WhatsApp dans la sidebar */
.sidebar-footer {
    padding: 0 10px;
    width: 100%;
}

.whatsapp-sidebar-btn {
    padding: 0 10px;
    width: 100%;
}

/* Lien WhatsApp dans la nav */
.nav-link.whatsapp-nav-link {
    background-color: #25D366;
    border-radius: 8px; /* Conserver les coins arrondis pour le démarquer */
}

.nav-link.whatsapp-nav-link:hover {
    background-color: #1EAE56; /* Assombrir au survol */
    color: white; /* Garder le texte blanc */
}

/* --- NAVIGATION MOBILE --- */
.mobile-hamburger {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1201;
    width: 44px;
    height: 44px;
    background: #1a3c43;
    border: none;
    border-radius: 8px;
  display: flex;
  flex-direction: column;
    justify-content: center;
  align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px #0002;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
    opacity: 0.7;
}
.mobile-hamburger:hover,
.mobile-hamburger:focus {
    opacity: 1;
}
.mobile-hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: #F56217;
    border-radius: 2px;
    transition: all 0.3s;
}
@media (min-width: 992px) {
    .mobile-hamburger { display: none !important; }
}

.sidebar-nav {
    transition: transform 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s;
}
@media (max-width: 991px) {
    .sidebar-nav {
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100vh;
        z-index: 2000;
        transition: left 0.3s;
        pointer-events: auto;
    }
    .sidebar-nav.open {
        left: 0;
        z-index: 2000;
        pointer-events: auto;
    }
    .sidebar-close {
        position: absolute;
        top: 18px;
        right: 18px;
        background: none;
        border: none;
        color: #fff;
        font-size: 2rem;
        z-index: 1202;
    }
    .sidebar-nav::after {
        content: '';
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.3);
        z-index: 1199;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s;
    }
    .sidebar-nav.open::after {
        pointer-events: none !important;
        opacity: 1;
    }
}
/* --- FIN NAVIGATION MOBILE --- */

/* --- Animations d'apparition au scroll --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(.4,2,.6,1), transform 0.7s cubic-bezier(.4,2,.6,1);
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: none;
}

.fade-in {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(.4,2,.6,1);
}
.fade-in.is-visible {
    opacity: 1;
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(.4,2,.6,1), transform 0.7s cubic-bezier(.4,2,.6,1);
}
.slide-up.is-visible {
    opacity: 1;
    transform: none;
}

.zoom-in {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.7s cubic-bezier(.4,2,.6,1), transform 0.7s cubic-bezier(.4,2,.6,1);
}
.zoom-in.is-visible {
    opacity: 1;
    transform: scale(1);
}
/* --- FIN Animations d'apparition --- */

/* --- CTA flottant mobile --- */
.cta-float-mobile {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 2100;
    background: #F56217;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 14px 22px 14px 18px;
    border-radius: 32px;
    box-shadow: 0 4px 16px #0003;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.cta-float-mobile:hover {
    background: #d94e0c;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 8px 24px #0004;
}
@media (min-width: 992px) {
    .cta-float-mobile { display: none !important; }
}
/* --- FIN CTA flottant mobile --- */

@media (max-width: 991px) {
    .whatsapp-float {
        left: 10px !important;
        right: auto !important;
        top: auto;
        bottom: 30px;
        width: 68px;
        height: 68px;
        font-size: 36px;
        box-shadow: 0 4px 16px #0004;
        border-radius: 50%;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2100;
        transition: left 0.2s, box-shadow 0.2s;
    }
}

.pricing-card {
    background: rgba(42, 74, 83, 0.4);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 32px rgba(26, 60, 67, 0.3);
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .pricing-card {
        max-width: 350px; /* Limite la largeur sur les tablettes */
        margin-left: auto;
        margin-right: auto;
    }
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: #F56217;
}

.pricing-card .feature-list,
.pricing-card p,
.pricing-card .card-header p {
    font-size: 0.85rem;
    line-height: 1.4;
}
@media (max-width: 991px) {
    .pricing-card .feature-list,
    .pricing-card p,
    .pricing-card .card-header p {
        font-size: 0.95rem;
    }
}

@media (hover: hover) and (pointer: fine) {
    .pricing-card {
        transition: box-shadow 0.35s cubic-bezier(.4,2,.6,1), transform 0.35s cubic-bezier(.4,2,.6,1), border-radius 0.35s, outline 0.35s;
        border-radius: 18px;
        outline: none;
    }
    .pricing-card:hover {
        box-shadow: 0 12px 40px #1a3c4344, 0 2px 8px #F5621722;
        transform: scale(1.045) translateY(-10px);
        border-radius: 28px;
        outline: 2.5px solid #F56217;
        z-index: 3;
    }
    .pricing-card:hover .card-header,
    .pricing-card:hover .card-price {
        transform: translateY(-4px) scale(1.03);
        transition: transform 0.35s cubic-bezier(.4,2,.6,1);
        filter: brightness(1.08);
    }
    .pricing-card .card-header,
    .pricing-card .card-price {
        transition: transform 0.35s cubic-bezier(.4,2,.6,1), filter 0.35s;
    }
}

/* --- Formulaire de contact premium --- */
.contact-card {
    background: rgba(26,60,67,0.92);
    border-radius: 22px;
    box-shadow: 0 8px 32px #1a3c4340, 0 2px 8px #0002;
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 640px;
    margin: 0 auto 2.5rem auto;
}
.contact-form .form-floating > .form-control,
.contact-form .form-floating > textarea.form-control {
    background: #18313a;
    color: #fff;
    border: 1.5px solid #2e4d56;
    border-radius: 12px;
    box-shadow: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    padding-left: 2.5rem;
}
.contact-form .form-floating > .form-control:focus,
.contact-form .form-floating > textarea.form-control:focus {
    border-color: #F56217;
    box-shadow: 0 0 0 2px #F5621740;
    background: #1a3c43;
    color: #fff;
}
.contact-form .form-floating > label {
    color: #b8c7ce;
    font-size: 1rem;
    left: 0.75rem;
    padding-left: 2.5rem;
    transition: color 0.2s, left 0.2s, padding-left 0.2s;
}
.contact-form .form-floating > .form-control:focus ~ label,
.contact-form .form-floating > textarea.form-control:focus ~ label,
.contact-form .form-floating > .form-control:not(:placeholder-shown) ~ label,
.contact-form .form-floating > textarea.form-control:not(:placeholder-shown) ~ label {
    left: 0.75rem;
    padding-left: 2.5rem;
}
.input-icon label i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #F56217;
    pointer-events: none;
    z-index: 2;
    width: 1.5rem;
    text-align: center;
}
.input-icon textarea + label i {
    top: 1.1rem;
    transform: none;
}
.input-icon {
    position: relative;
}
.contact-form .form-control::placeholder {
    color: #b8c7ce99;
    opacity: 1;
}

.contact-card h1.gradient-title {
    font-size: 2.7rem;
    white-space: nowrap;
}

@media (max-width: 420px) {
    .contact-card h1.gradient-title {
        font-size: 2.2rem;
    }
}

/* --- FIN Formulaire de contact premium --- */

@media (hover: hover) and (pointer: fine) {
    .accordion-item {
        transition: box-shadow 0.35s cubic-bezier(.4,2,.6,1), transform 0.35s cubic-bezier(.4,2,.6,1), border-radius 0.35s, outline 0.35s;
        border-radius: 16px;
        outline: none;
    }
    .accordion-item:hover {
        box-shadow: 0 8px 32px #1a3c4340, 0 2px 8px #F5621722;
        transform: scale(1.025) translateY(-4px);
        border-radius: 22px;
        outline: 2px solid #F56217;
        z-index: 2;
    }
}

#faq-section .gradient-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    letter-spacing: 0.5px;
    line-height: 1.1;
}
#faq-section .accordion-item {
    background: rgba(255,255,255,0.07);
    border: 1.5px solid rgba(255,255,255,0.18);
    border-radius: 18px;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 18px #1a3c4340, 0 2px 8px #0002;
    transition: box-shadow 0.35s cubic-bezier(.4,2,.6,1), transform 0.35s cubic-bezier(.4,2,.6,1), border-radius 0.35s, outline 0.35s, border-color 0.3s;
    overflow: hidden;
}
@media (hover: hover) and (pointer: fine) {
    #faq-section .accordion-item:hover {
        box-shadow: 0 8px 32px #1a3c4340, 0 2px 8px #F5621722;
        transform: scale(1.025) translateY(-4px);
        border-radius: 22px;
        border-color: #F56217;
        outline: 2px solid #F56217;
        z-index: 2;
    }
}
#faq-section .accordion-header .accordion-button {
    background: transparent;
    color: #f0f0f0;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 18px !important;
    box-shadow: none;
    transition: color 0.3s, background 0.3s;
}
#faq-section .accordion-button:not(.collapsed) {
    color: #F56217;
    background: transparent;
}
#faq-section .accordion-body {
    color: #fff;
    font-size: 1rem;
    padding: 1.2rem 2rem;
    line-height: 1.6;
}

/* --- Bouton Retour en Haut --- */
.back-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #F56217;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background-color: #e05210;
    color: white;
}

.section-subtitle-handwritten {
    font-family: 'Poppins', Arial, sans-serif !important;
    font-size: 1.3rem;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: #f0f0f0;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Nouvelle animation Marquee */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 15s linear infinite;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 991px) {
  /* Sur mobile/tablette, le contenu principal occupe toute la largeur */
  .content-area, .container, .hero-section, .footer-content-wrapper {
    width: 100% !important; /* Prend toute la largeur de l'écran */
    max-width: 100vw !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    box-sizing: border-box;
  }
  /* Réduire les marges verticales pour éviter les espaces inutiles */
  .container, .content-area {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  /* Adapter la section hero pour mobile */
  .hero-section {
    padding-top: 1.2rem !important;
    padding-bottom: 1.2rem !important;
  }
  /* Les boutons prennent toute la largeur sur mobile */
  .btn-lg, .hero-section .btn {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 12px !important;
  }
  /* Les titres sont centrés et adaptés */
  h1, h2, h3, .gradient-title {
    text-align: center !important;
    word-break: break-word;
  }
  /* Les images et carrousels sont fluides */
  img, .carousel-inner, .carousel-item {
    max-width: 100% !important;
    height: auto !important;
  }
}

.main-title-home {
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  font-size: 4.2rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  word-break: break-word;
}
.floating-letter {
  display: inline-block;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 900;
  font-size: 1em;
  color: #fff;
  transition: color 0.2s;
  animation-duration: 2.2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.floating-letter.up {
  animation-name: floating-up;
}
.floating-letter.down {
  animation-name: floating-down;
}
@keyframes floating-up {
  0% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
  100% { transform: translateY(0); }
}
@keyframes floating-down {
  0% { transform: translateY(0); }
  50% { transform: translateY(18px); }
  100% { transform: translateY(0); }
}
@media (max-width: 600px) {
  .main-title-home { font-size: 2.1rem; }
  .floating-letter { font-size: 0.95em; }
}

.pricing-card .feature-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
  text-align: left !important;
}
