/*
====================================================================================================
LOGIGAMES - FEUILLE DE STYLE UNIFIÉE
====================================================================================================
Theme Name: Logigames
Author: Terminadoors, Termin-à-tort
Version: 2.1 - Fusion Complète
Description: CSS unique unifié pour tout le site Logigames
====================================================================================================
*/

/* ====================================================================================================
   1. VARIABLES CSS GLOBALES
   ==================================================================================================== */
:root {
    /* Polices personnalisées */
    --font-titres: 'titre', 'Segoe UI', Tahoma, sans-serif;
    --font-texte: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    /* Couleurs principales */
    --primary-color: #008ac8;
    --primary-blue: #4a69ff;
    --secondary-color: #133a61;
    
    /* Couleurs de fond */
    --dark-bg: #0b0f1a;
    --light-bg: #ffffff;
    --yellow-bg: #fde7ab;
    
    /* Couleurs de texte */
    --light-text: #ffffff;
    --dark-text: #0b0b0b;
    --primary-text: #133a61;
    --muted-text: #aaaaaa;
}

/* ====================================================================================================
   2. RESET ET STYLES DE BASE
   ==================================================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--yellow-bg);
    color: var(--light-text);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    padding-top: 0;
}

/* Scroll fluide pour toute la page */
html {
    scroll-behavior: smooth;
}

/* ====================================================================================================
   3. NAVBAR / HEADER
   ==================================================================================================== */

/* Style principal de la navbar */
.logi-navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(11, 15, 26, 0.95) !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Logo de la navbar */
.logi-navbar .navbar-brand {
    color: var(--primary-color) !important;
    letter-spacing: 2px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

/* Effet hover sur le logo */
.logi-navbar .navbar-brand:hover {
    transform: scale(1.05);
}

/* Image du logo - Version unifiée (prend en compte les deux tailles) */
.logo-navbar {
    height: 55px;
    width: auto;
    max-width: 230px;
    display: block;
}

/* Liens de navigation */
.logi-navbar .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem !important;
    font-weight: 500;
    margin-right: 10px;
}

/* Soulignement animé des liens */
.logi-navbar .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

/* Effet hover et active sur les liens */
.logi-navbar .nav-link:hover::after,
.logi-navbar .nav-link.active::after {
    width: 80%;
}

.logi-navbar .nav-link:hover,
.logi-navbar .nav-link.active {
    color: var(--primary-color) !important;
}

/* Icônes des réseaux sociaux dans la navbar */
.nav-social {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.nav-social:hover {
    color: #00ff88;
    transform: translateY(-3px);
}

/* ====================================================================================================
   CAROUSEL HERO - FIX AFFICHAGE
   ==================================================================================================== */

/* Section principale du carousel */
.hero-carousel-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    width: 100%;
}

/* Carousel Bootstrap - doit couvrir toute la section */
#heroCarousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Container des slides */
.carousel-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Chaque slide du carousel */
.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

/* Slide actif visible */
.carousel-item.active {
    opacity: 1;
}

/* Image de fond de chaque slide */
.carousel-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;           /* Couvre tout l'espace */
    background-position: center;      /* Centrée */
    background-repeat: no-repeat;     /* Ne se répète JAMAIS */
    background-attachment: scroll;    /* Scroll avec la page */
}

/* Alternative : Si vous voulez que l'image soit entièrement visible sans coupure */
.carousel-bg-image.contain-mode {
    background-size: contain;         /* Image complète visible */
    background-color: #0b3c8f;        /* Couleur de fond pour les espaces vides */
}

/* Overlay semi-transparent par-dessus le carousel */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4); /* Voile blanc transparent */
    z-index: 1;
}

/* Contenu Hero (texte) - au-dessus de tout */
.hero-content {
    position: relative;
    z-index: 2;
}

/* Boîte de texte du hero */
.hero-text-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(74, 105, 255, 0.2);
}

.hero-text-box h1 {
    color: #0b0f1a;
}

.hero-text-box .lead {
    color: #333;
}

/* Gradient du titre */
.text-gradient-blue {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

/* Liste des caractéristiques */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #0b0f1a;
    font-size: 1.1rem;
    font-weight: 500;
}

.hero-feature-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

/* Bouton principal */
.hero-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-color));
    border: none;
    box-shadow: 0 5px 20px rgba(74, 105, 255, 0.4);
    transition: all 0.3s ease;
    font-weight: 600;
    padding: 1rem 2rem;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 105, 255, 0.6);
}

/* ====================================================================================================
   INDICATEURS ET FLÈCHES DU CAROUSEL
   ==================================================================================================== */

/* Indicateurs (petits points en bas) */
.carousel-indicators {
    z-index: 2;
    bottom: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Flèches de navigation */
.carousel-control-prev,
.carousel-control-next {
    z-index: 2;
    width: 50px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 10px;
}

/* ====================================================================================================
   RESPONSIVE CAROUSEL
   ==================================================================================================== */

@media (max-width: 768px) {
    .hero-carousel-section {
        min-height: 80vh;
    }

    .hero-text-box {
        padding: 2rem;
        margin: 1rem;
    }

    .hero-text-box h1 {
        font-size: 1.75rem !important;
    }

    .hero-features {
        gap: 0.75rem;
    }

    .hero-feature-item {
        font-size: 0.95rem;
    }

    .hero-feature-item i {
        font-size: 1.2rem;
    }

    .hero-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
    }

    /* Cache les flèches sur mobile */
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    /* Réduit la taille des indicateurs sur mobile */
    .carousel-indicators button {
        width: 8px;
        height: 8px;
    }
}

/* ====================================================================================================
   FALLBACK - Si les images ne se chargent pas
   ==================================================================================================== */

.carousel-bg-image {
    background-color: #0b3c8f; /* Couleur de fond de secours */
}

/* Si une image spécifique ne charge pas, on peut mettre un dégradé */
.carousel-item:nth-child(1) .carousel-bg-image {
    background: linear-gradient(135deg, #050b1e, #0b3c8f);
}

.carousel-item:nth-child(2) .carousel-bg-image {
    background: linear-gradient(135deg, #0b3c8f, #1ec8ff);
}

.carousel-item:nth-child(3) .carousel-bg-image {
    background: linear-gradient(135deg, #1ec8ff, #4a69ff);
}
/* ====================================================================================================
   5. HERO SECTION ALTERNATIVE (Avec particules)
   ==================================================================================================== */

.hero-section {
    background: linear-gradient(135deg, #050b1e, #0b3c8f);
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

/* Fond de particules */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Texte avec gradient vert */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-text));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Bouton lumineux */
.glow-btn {
    background: linear-gradient(135deg, var(--primary-color), #0099cc);
    border: none;
    box-shadow: 0 0 20px rgba(30, 200, 255, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Effet de balayage lumineux */
.glow-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.glow-btn:hover::before {
    left: 100%;
}

.glow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px rgba(30, 200, 255, 0.8);
}

/* Cartes flottantes animées */
.hero-cards-container {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: rgba(30, 200, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(30, 200, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    color: var(--primary-color);
    animation: float 6s ease-in-out infinite;
}

/* Positionnement des cartes flottantes */
.floating-card.card-1 {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 50%;
    right: 0;
    animation-delay: 2s;
}

.floating-card.card-3 {
    bottom: 0;
    left: 30%;
    animation-delay: 4s;
}

/* Animation de flottement */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Vague décorative en bas du hero */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.hero-wave path {
    fill: #1c1c1c;
}

/* ====================================================================================================
   6. CARTES DE SERVICES
   ==================================================================================================== */

/* Carte de service basique */
.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(30, 200, 255, 0.3);
}

.service-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
}

.service-card h4 {
    color: var(--light-text);
    margin-top: 1rem;
}

.service-card p {
    color: var(--primary-text);
}

/* Carte de service moderne (avec effet de balayage) */
.service-card-modern {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Effet de balayage lumineux */
.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 200, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card-modern:hover::before {
    left: 100%;
}

.service-card-modern:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 15px 50px rgba(30, 200, 255, 0.4);
}

.service-icon-modern {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card-modern:hover .service-icon-modern {
    transform: scale(1.1) translateY(-5px);
}

.service-card-modern h4 {
    color: var(--light-text);
    font-weight: 600;
}

.service-card-modern .btn-primary {
    background: linear-gradient(135deg, #4a69ff, #1ec8ff);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-card-modern .btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(30, 200, 255, 0.5);
}

/* ====================================================================================================
   7. LISTE DE SERVICES - MISE À JOUR (Icônes rouges + Rotation losange)
   ==================================================================================================== */

/* Item de service (partie cliquable) */
.service-list-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.service-list-item:hover {
    background: rgba(30, 200, 255, 0.1);
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(30, 200, 255, 0.2);
}

/* Icône du service - COULEUR + ROTATION EN LOSANGE */
.service-list-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #008ac8, #00aac8);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #133a61;
    flex-shrink: 0;
    transition: transform 0.4s ease; /* ← Transition fluide pour la rotation */
}

/* ROTATION EN LOSANGE (45 degrés) au survol */
.service-list-item:hover .service-list-icon {
    transform: rotate(45deg); /* ← Tourne le carré en losange */
}

/* CONTRE-ROTATION de l'icône pour qu'elle reste droite */
.service-list-icon i {
    transition: transform 0.4s ease; /* ← Transition fluide */
}

.service-list-item:hover .service-list-icon i {
    transform: rotate(-45deg); /* ← Annule la rotation pour garder l'icône droite */
}

/* Titre du service */
.service-list-item h5 {
    color: var(--primary-text);
    margin: 0;
    flex-grow: 1;
    font-weight: 600;
}

/* Flèche indicatrice */
.service-list-arrow {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* Rotation de la flèche quand ouvert */
.service-list-arrow.active {
    transform: rotate(180deg);
}

/* Animation pour la flèche au hover (seulement si pas active) */
.service-list-item:hover .service-list-arrow:not(.active) {
    transform: translateY(3px);
}

/* Description déroulante (cachée par défaut) */
.service-list-description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin 0.4s ease, padding 0.4s ease;
    background: rgba(30, 200, 255, 0.05);
    border-radius: 8px;
    margin: 0 1rem 0 1rem;
    padding: 0 1.5rem;
    display: none;
}

/* Description ouverte */
.service-list-description[style*="max-height"] {
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* Texte de la description */
.service-list-description p {
    color: #555;
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ====================================================================================================
   RESPONSIVE - LISTE DE SERVICES
   ==================================================================================================== */

@media (max-width: 768px) {
    .service-list-item {
        padding: 1rem;
        gap: 1rem;
    }

    .service-list-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .service-list-item h5 {
        font-size: 0.95rem;
    }

    .service-list-description {
        margin: 0 0.5rem 0.5rem 0.5rem;
    }

    .service-list-description p {
        font-size: 0.9rem;
    }
}

/* ====================================================================================================
   8. MODALES BOOTSTRAP
   ==================================================================================================== */

.modal-content {
    color: var(--light-text);
    border-radius: 15px;
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid rgba(30, 200, 255, 0.2) !important;
}

.modal-footer {
    border-top: 1px solid rgba(30, 200, 255, 0.2) !important;
}

.modal-title {
    font-weight: 600;
}

.btn-close-white {
    filter: invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.btn-close-white:hover {
    opacity: 1;
}

/* ====================================================================================================
   9. PAGE ACTUALITÉ (Spécifique)
   ==================================================================================================== */

.actualite-page {
    margin-top: 120px;
    color: var(--primary-text);
}

.actualite-page .acti-main-card {
    border-radius: 25px;
    border: none;
    background: #ffffff;
    padding: 40px;
}

.actualite-page .acti-main-card h2 {
    color: var(--primary-text);
    font-weight: 700;
}

.actualite-page .acti-main-card p {
    color: #555;
}

/* Boutons réseaux sociaux */
.btn-facebook {
    background: #1877f2;
    color: #fff;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-facebook:hover {
    background: #0f5fd7;
    transform: translateY(-2px);
    color: #fff;
}

.btn-instagram {
    background: linear-gradient(135deg, #fd1d1d, #f56040);
    color: #fff;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-instagram:hover {
    background: linear-gradient(135deg, #e60000, #f04b2a);
    transform: translateY(-2px);
    color: #fff;
}

/* ====================================================================================================
   10. BANDEAU SITE MARCHAND
   ==================================================================================================== */

.merchant-banner {
    background: linear-gradient(135deg, #0b3c8f, #1ec8ff);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px 0;
}

.merchant-banner h4 {
    font-weight: 600;
    color: #fff;
}

.btn-merchant {
    background: #ffffff;
    color: #0b3c8f;
    border-radius: 30px;
    padding: 0.75rem 2rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-merchant:hover {
    background: #1ec8ff;
    color: #000;
    transform: translateY(-2px);
}

/* ====================================================================================================
   11. PAGE TARIFS INTERNET
   ==================================================================================================== */

.internet-page {
    background: linear-gradient(135deg, #050b1e, #0b3c8f);
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 80px;
}

/* En-tête des tarifs */
.tarifs-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(74, 105, 255, 0.2);
    text-align: center;
}

.tarifs-header .director-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 4px solid var(--primary-blue);
    box-shadow: 0 5px 20px rgba(74, 105, 255, 0.4);
}

.tarifs-header h1 {
    color: #0b0f1a;
    font-weight: 800;
    margin-bottom: 1rem;
}

.tarifs-header h3 {
    color: #0b0f1a;
}

.tarifs-header p {
    color: #555;
    font-size: 1.1rem;
}

/* Section de tarifs */
.tarif-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
}

.tarif-section:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 15px 50px rgba(30, 200, 255, 0.4);
}

.tarif-section h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tarif-section h2 i {
    font-size: 2rem;
}

/* Ligne de tarif individuelle */
.tarif-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.tarif-item:hover {
    background: rgba(30, 200, 255, 0.1);
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(30, 200, 255, 0.2);
}

.tarif-item-label {
    color: var(--light-text);
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tarif-item-label i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.tarif-item-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

/* Style alternatif pour les tarifs (avec points de suspension) */
.tarifs-section-title {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.tarifs-section-title h2 {
    color: var(--secondary-color);
    font-weight: 700;
}

.tarif-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.tarif-label,
.tarif-dots,
.tarif-price,
.tarif-subtitle {
    color: var(--primary-blue);
    font-size: 22px;
}

.tarif-subtitle {
    font-size: 16px;
    color: var(--primary-text);
    font-style: italic;
    margin-left: 1rem;
}

/* Carte de formule */
.formule-card {
    background: linear-gradient(135deg, rgba(74, 105, 255, 0.1), rgba(30, 200, 255, 0.1));
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.formule-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(30, 200, 255, 0.5);
    background: linear-gradient(135deg, rgba(74, 105, 255, 0.15), rgba(30, 200, 255, 0.15));
}

.formule-card h4 {
    color: var(--light-text);
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.formule-card .price {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.formule-card p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
}

/* Badge promotion */
.badge-promo {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 1rem;
}

/* ====================================================================================================
   12. FOOTER
   ==================================================================================================== */

.footer-main {
    background-color: #1c1c1c;
    color: #ccc;
    padding: 40px 0;
}

.footer-main h5,
.footer-logo {
    color: var(--primary-color);
}

.footer-main a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-main a:hover {
    color: var(--primary-color);
}

/* Bas du footer */
.footer-bottom {
    background-color: #111;
    color: #888;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.footer-bottom a {
    color: #888;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

/* Icônes des réseaux sociaux */
.social-icons a {
    display: inline-block;
    font-size: 22px;
    margin-right: 15px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #00ff88;
    transform: translateY(-3px);
}

/* ====================================================================================================
   13. ANIMATIONS AOS (Animate On Scroll)
   ==================================================================================================== */

[data-aos] {
    pointer-events: auto;
}

/* ====================================================================================================
   14. PAGES LÉGALES (Mentions légales, CGV, RGPD, etc.)
   ==================================================================================================== */

.legal-page {
    padding: 100px 0 50px;
    background: var(--yellow-bg);
    color: var(--primary-text);
}

.legal-page .container {
    max-width: 900px;
}

.legal-page h1 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-weight: 700;
}

.legal-page h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.legal-page section {
    margin-bottom: 2rem;
}

.legal-page ul {
    list-style-position: inside;
    padding-left: 1rem;
}

.legal-page a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.legal-page a:hover {
    color: var(--primary-color);
}

/* Formulaire de contact RGPD */
.legal-page .form-group {
    margin-bottom: 1.5rem;
}

.legal-page .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.legal-page .form-group input,
.legal-page .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

/* ====================================================================================================
   15. RESPONSIVE DESIGN
   ==================================================================================================== */

@media (max-width: 768px) {
    /* Hero section responsive */
    .hero-text-box {
        padding: 2rem;
    }

    .hero-text-box h1 {
        font-size: 2rem;
    }

    .hero-feature-item {
        font-size: 0.95rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    /* Cartes flottantes responsive */
    .hero-cards-container {
        height: 250px;
    }

    .floating-card {
        padding: 1rem;
    }

    .floating-card i {
        font-size: 2rem !important;
    }

    /* Liste de services responsive */
    .service-list-item {
        padding: 1rem;
        gap: 1rem;
    }

    .service-list-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .service-list-item h5 {
        font-size: 0.95rem;
    }

    .service-list-description {
        margin: 0 0.5rem 0.5rem 0.5rem;
    }

    .service-list-description p {
        font-size: 0.9rem;
    }

    /* Page internet responsive */
    .internet-page {
        padding-top: 80px;
    }

    .tarifs-header {
        padding: 2rem;
    }

    .tarifs-header h1 {
        font-size: 1.75rem;
    }

    .tarif-section {
        padding: 1.5rem;
    }

    .tarif-section h2 {
        font-size: 1.5rem;
    }

    .tarif-item {
        padding: 1rem;
    }

    .tarif-item-label {
        font-size: 1rem;
    }

    .tarif-item-price {
        font-size: 1.3rem;
    }

    .formule-card .price {
        font-size: 1.75rem;
    }

    /* Logo navbar responsive */
    .logo-navbar {
        height: auto;
        width: 200px;
        max-width: 200px;
    }
}
/* ====================================================================================================
   PAGE CGV — Styles spécifiques
   ==================================================================================================== */

body.page-cgv {
    background: #ffffff;
    color: #000;
}

/* Contenu principal */
body.page-cgv .container {
    color: #000;
}

/* Titres */
body.page-cgv h1,
body.page-cgv h2,
body.page-cgv h3,
body.page-cgv h4,
body.page-cgv h5,
body.page-cgv h6 {
    color: #000;
}

/* Texte */
body.page-cgv p,
body.page-cgv li,
body.page-cgv span {
    color: #000;
}

/* Articles */
body.page-cgv .article {
    margin-bottom: 2rem;
}

body.page-cgv .article-title {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Encadrés info */
body.page-cgv .info-box {
    background: #f8f9fa;
    border-left: 4px solid var(--primary-blue);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

/* Sections légales */
body.page-cgv .legal-section {
    background: #f8f9fa;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

/* Annexes */
body.page-cgv .annexe {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #ddd;
}

/* Footer CGV */
body.page-cgv footer {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 2px solid #ddd;
    text-align: center;
}

body.page-cgv footer p {
    color: #000;
}
body.page-cgv .footer-main h5.footer-infos {
    color: #ffffff !important;
}

body.page-cgv .footer-main p.footer-infos {
    color: #ffffff !important;
}

/**
 * Contact Page Styles - contact.css
 * À ajouter dans assets/css/contact.css
 */

/* ===============================================
   HERO SECTION CONTACT
   =============================================== */
.contact-hero {
    background: linear-gradient(135deg, #050b1e, #0b3c8f);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%231ec8ff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom center no-repeat;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(30, 200, 255, 0.1), transparent);
}

.contact-hero .container {
    position: relative;
    z-index: 1;
}

/* ===============================================
   CARDS INFORMATIONS DE CONTACT
   =============================================== */
.contact-info-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(30, 200, 255, 0.2);
}

/* Wrapper de l'icône */
.contact-icon-wrapper {
    margin-bottom: 1.5rem;
}

/* Icône avec dégradé */
.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-color), #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(30, 200, 255, 0.3);
    transition: all 0.4s ease;
}

.contact-info-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(30, 200, 255, 0.5);
}

/* Titre de la card */
.contact-info-card h4 {
    color: var(--primary-text);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Détails de contact */
.contact-detail {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Lien de contact */
.contact-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.contact-link:hover {
    background: rgba(30, 200, 255, 0.1);
    color: #0099cc;
    transform: translateX(5px);
}

/* ===============================================
   FORMULAIRE DE CONTACT
   =============================================== */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Groupe de formulaire personnalisé */
.form-group-custom {
    position: relative;
}

/* Label personnalisé */
.form-label-custom {
    color: var(--light-text);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.95rem;
}

/* Input personnalisé */
.form-control-custom {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--light-text);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

/* Placeholder */
.form-control-custom::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Focus sur input */
.form-control-custom:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 200, 255, 0.2);
}

/* Textarea personnalisé */
.textarea-custom {
    resize: vertical;
    min-height: 150px;
}

/* Message d'erreur personnalisé */
.invalid-feedback-custom {
    display: none;
    color: #ff6b6b;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Affiche l'erreur quand invalide */
.form-control-custom.is-invalid {
    border-color: #ff6b6b;
}

.form-control-custom.is-invalid ~ .invalid-feedback-custom {
    display: block;
}

/* ===============================================
   BOUTON DE SOUMISSION
   =============================================== */
.btn-submit-custom {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), #0099cc);
    color: #ffffff;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(30, 200, 255, 0.4);
}

/* Effet de brillance */
.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-submit-custom:hover .btn-glow {
    left: 100%;
}

.btn-submit-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(30, 200, 255, 0.6);
}

.btn-submit-custom:active {
    transform: translateY(0);
}

/* ===============================================
   MESSAGE DE CONFIRMATION
   =============================================== */
.form-message {
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    animation: slideIn 0.5s ease;
}

.form-message.success {
    background: rgba(0, 255, 136, 0.1);
    border: 2px solid #00ff88;
    color: #00ff88;
}

.form-message.error {
    background: rgba(255, 107, 107, 0.1);
    border: 2px solid #ff6b6b;
    color: #ff6b6b;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================================
   CARTE GOOGLE MAPS
   =============================================== */
.map-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(30, 200, 255, 0.3);
}

.google-map {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: none;
    filter: grayscale(0.3);
    transition: filter 0.3s ease;
}

.map-container:hover .google-map {
    filter: grayscale(0);
}

/* ===============================================
   HORAIRES COMPACTS
   =============================================== */
.horaires-card-compact {
    background: rgba(30, 200, 255, 0.05);
    border: 2px solid rgba(30, 200, 255, 0.3);
    border-radius: 20px;
    padding: 1.5rem;
    height: 100%;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.horaires-card-compact h4 {
    color: #0b0f1a;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.horaires-list-compact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

/* Item d'horaire compact */
.horaire-item-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.horaire-item-compact:hover {
    background: rgba(30, 200, 255, 0.15);
    transform: translateX(3px);
}

/* Jour de la semaine compact */
.horaire-item-compact .jour-compact {
    color: #0b0f1a;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Heures compact */
.horaire-item-compact .heure-compact {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
}

/* Jour fermé compact */
.horaire-item-compact.ferme {
    border-left-color: #ff6b6b;
    opacity: 0.8;
}

.horaire-item-compact.ferme .heure-compact {
    color: #ff6b6b;
}

/* ===============================================
   RESPONSIVE
   =============================================== */
@media (max-width: 768px) {
    /* Hero */
    .contact-hero {
        padding: 100px 0 60px;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    /* Cards info */
    .contact-info-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* Formulaire */
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .btn-submit-custom {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    /* Carte et Horaires en colonne sur mobile */
    .map-container {
        height: 350px;
        min-height: 350px;
        margin-bottom: 1.5rem;
    }

    .google-map {
        min-height: 350px;
    }

    .horaires-card-compact {
        min-height: auto;
        padding: 1.5rem;
    }

    .horaires-card-compact h4 {
        font-size: 1.1rem;
    }

    .horaire-item-compact {
        padding: 0.6rem 0.875rem;
    }

    .horaire-item-compact .jour-compact,
    .horaire-item-compact .heure-compact {
        font-size: 0.875rem;
    }

}
/* =====================================================
   PAGE 404
   ===================================================== */

body.page-404 {
    background: #ffffff;
    color: #000;
}

body.page-404 h1 {
    font-weight: 900;
    color: var(--primary-blue);
}

body.page-404 h2 {
    margin-top: 1rem;
}

body.page-404 a.btn {
    margin-top: 2rem;
}
/*
====================================================================================================
LOGIGAMES - MODULE RESPONSIVE (ADD-ON)
====================================================================================================
Fichier : responsive.css
À ajouter APRÈS style.css dans vos fichiers HTML
Version : 1.0
Description : Module responsive qui complète le CSS existant sans le modifier
====================================================================================================
*/

/* ====================================================================================================
   RESPONSIVE - MOBILE (< 576px)
   ==================================================================================================== */
@media (max-width: 575px) {
    
    /* ========== NAVBAR ========== */
    .logi-navbar {
        padding: 0.5rem 0;
    }

    .logo-navbar {
        height: 40px;
        max-width: 150px;
    }

    .navbar-nav {
        padding-top: 1rem;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-social {
        font-size: 1.1rem;
        margin-left: 0.5rem;
    }

    /* ========== HERO CAROUSEL ========== */
    .hero-carousel-section {
        min-height: 70vh;
    }

    .hero-text-box {
        padding: 1.5rem;
        margin: 1rem;
    }

    .hero-text-box h1 {
        font-size: 1.75rem !important;
    }

    .text-gradient-blue {
        font-size: 1.75rem;
    }

    .hero-text-box .lead {
        font-size: 0.95rem;
    }

    .hero-features {
        gap: 0.75rem;
    }

    .hero-feature-item {
        font-size: 0.9rem;
    }

    .hero-feature-item i {
        font-size: 1.2rem;
    }

    .hero-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
    }

    /* ========== SECTIONS ========== */
    .py-5 {
        padding: 2rem 0 !important;
    }

    section {
        padding: 2rem 0 !important;
    }

    /* ========== TITRES ========== */
    h1, .display-3, .display-4, .display-5, .display-6 {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.25rem !important;
    }

    h4 {
        font-size: 1.1rem !important;
    }

    /* ========== CARTES DE SERVICE ========== */
    .service-card,
    .service-card-modern {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .service-icon-modern i {
        font-size: 2rem !important;
    }

    .service-card-modern h4 {
        font-size: 1.1rem;
    }

    .service-card-modern .btn-primary {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
    }

    /* ========== LISTE DE SERVICES ========== */
    .service-list-item {
        padding: 0.875rem;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .service-list-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }

    .service-list-item h5 {
        font-size: 0.9rem;
        flex: 1 1 100%;
    }

    .service-list-description {
        margin: 0 0.5rem 0.75rem 0.5rem;
        padding: 1rem !important;
    }

    .service-list-description p {
        font-size: 0.85rem;
    }

    /* ========== PAGE ACTUALITÉ ========== */
    .actualite-page {
        margin-top: 80px;
        padding: 1rem;
    }

    .actualite-page .acti-main-card {
        padding: 1.5rem;
    }

    .actualite-page .acti-main-card h2 {
        font-size: 1.25rem;
    }

    #face {
        width: 100% !important;
        height: 400px !important;
        max-width: 100% !important;
    }

    .btn-facebook,
    .btn-instagram {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* ========== BANDEAU MARCHAND ========== */
    .merchant-banner h4 {
        font-size: 1rem;
    }

    .btn-merchant {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    /* ========== PAGE TARIFS INTERNET ========== */
    .tarifs-internet-page {
        padding-top: 80px;
    }

    .tarifs-section-title h2 {
        font-size: 1.25rem !important;
    }

    .tarif-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        padding: 0.75rem 0;
    }

    .tarif-label,
    .tarif-price {
        font-size: 0.9rem !important;
    }

    .tarif-subtitle {
        font-size: 0.8rem !important;
    }

    /* ========== PAGE CONTACT ========== */
    .contact-hero {
        padding: 80px 0 40px;
    }

    .contact-hero h1 {
        font-size: 1.75rem !important;
    }

    .contact-info-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .form-control-custom {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }

    .btn-submit-custom {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
        width: 100%;
    }

    .map-container,
    .google-map {
        height: 300px !important;
        min-height: 300px !important;
        margin-bottom: 1.5rem;
    }

    .horaires-card-compact {
        min-height: auto !important;
        padding: 1.25rem;
    }

    .horaire-item-compact {
        padding: 0.6rem 0.875rem;
    }

    .horaire-item-compact .jour-compact,
    .horaire-item-compact .heure-compact {
        font-size: 0.85rem;
    }

    /* ========== FOOTER ========== */
    .footer-main {
        padding: 30px 0;
        text-align: center;
    }

    .footer-main .col-md-3 {
        margin-bottom: 2rem;
    }

    .footer-main h5 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .social-icons {
        justify-content: center;
        margin-top: 1rem;
    }

    .social-icons a {
        font-size: 1.5rem;
        margin: 0 0.75rem;
    }

    .footer-bottom {
        padding: 1rem 0;
        font-size: 0.85rem;
    }

    /* ========== PAGES LÉGALES ========== */
    .legal-page {
        padding: 80px 15px 40px;
    }

    .legal-page h1 {
        font-size: 1.5rem !important;
    }

    .legal-page h2 {
        font-size: 1.25rem !important;
    }

    .legal-page table {
        font-size: 0.85rem;
    }

    /* ========== PAGE CGV ========== */
    body.page-cgv .container {
        padding: 0 1rem;
    }

    body.page-cgv .article-title {
        font-size: 1.1rem;
    }

    body.page-cgv .info-box {
        padding: 1rem;
        font-size: 0.9rem;
    }

    /* ========== UTILITAIRES ========== */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

    [class*="col-"] {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    /* ========== DÉSACTIVATION ANIMATIONS MOBILES ========== */
    .floating-card {
        animation: none !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        margin-bottom: 1rem;
    }

    .particles-bg,
    #particles {
        display: none !important;
    }
}

/* ====================================================================================================
   RESPONSIVE - TABLETTE PORTRAIT (576px - 767px)
   ==================================================================================================== */
@media (min-width: 576px) and (max-width: 767px) {
    
    .logo-navbar {
        height: 45px;
        max-width: 180px;
    }

    .hero-text-box {
        padding: 2rem;
    }

    .hero-text-box h1 {
        font-size: 2rem !important;
    }

    .hero-btn {
        padding: 0.875rem 2rem;
    }

    .service-card-modern {
        padding: 2rem;
    }

    .contact-info-card {
        padding: 2rem;
    }

    .contact-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }

    .map-container,
    .google-map {
        height: 400px !important;
        min-height: 400px !important;
    }

    .footer-main .col-md-3 {
        width: 50%;
        float: left;
        margin-bottom: 2rem;
    }
}

/* ====================================================================================================
   RESPONSIVE - TABLETTE PAYSAGE (768px - 991px)
   ==================================================================================================== */
@media (min-width: 768px) and (max-width: 991px) {
    
    .hero-text-box {
        padding: 2.5rem;
    }

    .hero-text-box h1 {
        font-size: 2.25rem !important;
    }

    .service-card-modern {
        min-height: 320px;
    }

    .contact-info-card {
        margin-bottom: 2rem;
    }

    .map-container,
    .google-map {
        height: 450px !important;
        margin-bottom: 2rem;
    }

    .horaires-card-compact {
        min-height: auto !important;
    }
}

/* ====================================================================================================
   RESPONSIVE - PETIT DESKTOP (992px - 1199px)
   ==================================================================================================== */
@media (min-width: 992px) and (max-width: 1199px) {
    
    .hero-text-box {
        padding: 2.75rem;
    }

    .service-card-modern {
        min-height: 350px;
    }

    .map-container,
    .google-map {
        min-height: 500px !important;
    }

    .horaires-card-compact {
        min-height: 500px !important;
    }
}

/* ====================================================================================================
   RESPONSIVE - ORIENTATION PAYSAGE MOBILE
   ==================================================================================================== */
@media (max-height: 500px) and (orientation: landscape) {
    
    .hero-carousel-section {
        min-height: 100vh;
    }

    .hero-text-box {
        padding: 1.5rem;
        margin: 1rem;
    }

    .hero-text-box h1 {
        font-size: 1.5rem !important;
    }

    .hero-features {
        display: none;
    }

    .navbar {
        padding: 0.25rem 0;
    }

    .logo-navbar {
        height: 35px;
    }

    section {
        padding: 1.5rem 0 !important;
    }
}

/* ====================================================================================================
   OPTIMISATIONS TACTILES
   ==================================================================================================== */
@media (hover: none) and (pointer: coarse) {
    
    /* Zones de clic agrandies pour tactile */
    .nav-link,
    .btn,
    .contact-link,
    .service-list-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Désactive certains effets hover sur tactile */
    .service-card:hover,
    .service-card-modern:hover,
    .contact-info-card:hover {
        transform: none;
    }

    /* Améliore le scroll sur mobile */
    * {
        -webkit-overflow-scrolling: touch;
    }
}

/* ====================================================================================================
   OPTIMISATIONS PERFORMANCES MOBILES
   ==================================================================================================== */
@media (max-width: 767px) {
    
    /* Simplifie les dégradés */
    .text-gradient,
    .text-gradient-blue {
        background: var(--primary-color);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* Réduit le blur pour performances */
    .hero-text-box,
    .contact-form-wrapper {
        backdrop-filter: blur(5px);
    }

    /* Améliore la lisibilité */
    body {
        font-size: 16px;
    }

    p, li {
        line-height: 1.6;
    }

    /* Boutons plus accessibles */
    .btn {
        min-height: 44px;
        font-size: 1rem;
    }

    /* Empêche le zoom sur iOS */
    input, textarea, select {
        font-size: 16px;
    }
}

/* ====================================================================================================
   PRINT STYLES
   ==================================================================================================== */
@media print {
    
    .navbar,
    .footer-main,
    .btn,
    .hero-carousel-section,
    .particles-bg {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .container {
        max-width: 100%;
    }

    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }

    p, li {
        orphans: 3;
        widows: 3;
    }
}

/* ====================================================================================================
   CORRECTIONS SPÉCIFIQUES BOOTSTRAP RESPONSIVE
   ==================================================================================================== */
@media (max-width: 991px) {
    
    /* Navbar collapse mobile */
    .navbar-collapse {
        background: rgba(11, 15, 26, 0.98);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 10px;
    }

    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }
}

/* ====================================================================================================
   FIXES POUR IMAGES ET IFRAMES RESPONSIVE
   ==================================================================================================== */
@media (max-width: 767px) {
    
    img {
        max-width: 100%;
        height: auto;
    }

    iframe {
        max-width: 100%;
    }

    /* Fix pour les tableaux sur mobile */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ====================================================================================================
   FIN DU MODULE RESPONSIVE
   ==================================================================================================== */

/**
 * Styles pour les éléments de sécurité
 * À ajouter dans : assets/css/style.css
 */

/* =====================================================
   MESSAGES DE FEEDBACK DU FORMULAIRE
   ===================================================== */

.form-message {
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    display: none;
}

.form-message.success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(40, 167, 69, 0.1));
    border: 2px solid #28a745;
    color: #28a745;
}

.form-message.error {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(220, 53, 69, 0.1));
    border: 2px solid #dc3545;
    color: #dc3545;
}

.form-message i {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

/* =====================================================
   VALIDATION DES CHAMPS
   ===================================================== */

.form-control-custom.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control-custom.is-valid {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.invalid-feedback-custom {
    display: none;
    width: 100%;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    padding: 0.5rem 0.75rem;
    border-radius: 5px;
    border-left: 3px solid #dc3545;
}

.form-control-custom.is-invalid ~ .invalid-feedback-custom {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   BOUTON DE SOUMISSION
   ===================================================== */

.btn-submit-custom {
    position: relative;
    background: linear-gradient(135deg, #1ec8ff, #0b7ec7);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 1;
}

.btn-submit-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 200, 255, 0.4);
}

.btn-submit-custom:active {
    transform: translateY(0);
}

.btn-submit-custom:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-submit-custom .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: left 0.5s ease;
}

.btn-submit-custom:hover .btn-glow {
    left: 100%;
}

/* =====================================================
   INDICATEURS DE CHARGEMENT
   ===================================================== */

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* =====================================================
   CHAMPS DE FORMULAIRE PERSONNALISÉS
   ===================================================== */

.form-group-custom {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-label-custom {
    display: block;
    color: #fff;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-control-custom {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(30, 200, 255, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: #1ec8ff;
    box-shadow: 0 0 0 0.2rem rgba(30, 200, 255, 0.25);
}

.form-control-custom::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.textarea-custom {
    resize: vertical;
    min-height: 150px;
}

/* =====================================================
   COMPTEUR DE CARACTÈRES (optionnel)
   ===================================================== */

.char-counter {
    position: absolute;
    bottom: -20px;
    right: 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.char-counter.warning {
    color: #ffc107;
}

.char-counter.danger {
    color: #dc3545;
}

/* =====================================================
   ALERTS DE SÉCURITÉ
   ===================================================== */

.security-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    padding: 1rem 1.5rem;
    background: rgba(220, 53, 69, 0.95);
    color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.security-alert.success {
    background: rgba(40, 167, 69, 0.95);
}

.security-alert .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.security-alert .close-btn:hover {
    opacity: 1;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 768px) {
    .form-message {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .btn-submit-custom {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .form-control-custom {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    .security-alert {
        max-width: calc(100% - 40px);
        left: 20px;
        right: 20px;
    }
}

/* =====================================================
   IFRAME GOOGLE MAPS SÉCURISÉ
   ===================================================== */

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.google-map {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* =====================================================
   INDICATEUR DE FORCE DU MOT DE PASSE (si besoin futur)
   ===================================================== */

.password-strength {
    height: 4px;
    margin-top: 0.5rem;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
}

.password-strength-bar.weak {
    width: 33%;
    background: #dc3545;
}

.password-strength-bar.medium {
    width: 66%;
    background: #ffc107;
}

.password-strength-bar.strong {
    width: 100%;
    background: #28a745;
}

/* =====================================================
   BADGE DE SÉCURITÉ
   ===================================================== */

.security-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(40, 167, 69, 0.1));
    border: 1px solid #28a745;
    border-radius: 20px;
    color: #28a745;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 1rem;
}

.security-badge i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* =====================================================
   TOOLTIP DE SÉCURITÉ
   ===================================================== */

.security-tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.security-tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 0.5rem;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.8rem;
}

.security-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
/* =====================================================
   CSS fonts police personalisé
   ===================================================== */
 @font-face {
  font-family: 'CARIBBEAN';
  src: url('../fonts/CARIBBEAN.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'CARIBBEAN', Arial, sans-serif;
}

/* ===============================================
   SECTION AVEC IMAGE DE FOND BORDURES
   =============================================== */
.section-with-border-bg {
    background-image: url('../image/Copie\ de\ A4\ horizontal.png');
    background-size: cover;          /* L'image couvre toute la section */
    background-position: center;     /* Centrée */
    background-repeat: no-repeat;    /* Pas de répétition */
    position: relative;
    min-height: 600px;               /* Hauteur minimum */
}

/* Overlay léger pour améliorer la lisibilité du texte */
.section-with-border-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0);  /* Voile blanc transparent */
    z-index: 1;
}

/* S'assure que le contenu est au-dessus de l'overlay */
.section-with-border-bg .container {
    position: relative;
    z-index: 2;
}
/* À ajouter à la fin de votre style.css */
.hero-carousel-section .carousel-bg-image {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    min-height: 100vh !important;
}