/* Fond de base sur le body */
body {
    margin: 0;
    width: 100%;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    
    /* Dégradé en diagonale -45deg */
    background: linear-gradient(
        -45deg, 
        #000002 0%, 
        #000000 25%, 
        #020622 50%, 
        #000000 75%, 
        #000000 100%
    );
    background-size: 200% 200%;
    
    /* L'animation tourne par défaut */
    animation: vagueDiagonale 10s linear infinite;
}

/* Pause l'animation dès que le body a la classe .bg-fixed */
body.bg-fixed {
    animation-play-state: paused;
}

@keyframes vagueDiagonale {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 200%;
    }
}
/* Désactive l'animation et remet le fond à sa position de départ (0% 0%) */
body.bg-fixed {
    animation: none !important;
    background-position: 0% 0% !important;
    transition: background-position 0.5s ease;
    background: linear-gradient(-45deg,  
        #000002 0%, 
        #000000 25%, 
        #020622 50%, 
        #000000 75%, 
        #000000 100%);
}

/* defilement fluide  */
html{
    scroll-behavior:smooth;
    scroll-padding-top: 70px;
}
/* nave navigation */
.nav-link-custom{
    padding-bottom: 5px;
    color: #ffffff;
    transition: all 0.3s ease;
    
}
.text-jaune{
    color: #ffee00;
}
.btn-warning{
    background-color: #e5ff00;
}
.btn-warning:hover{
    background-color: #e5ff00;
}
.nav-link-custom:hover,.nav-link-custom.active{
    color: #eeff00;
    padding: 0 5px;
}
.glow-logo {
  box-shadow: 0 0 10px rgba(204, 255, 0, 0.5);
}

/* card service */
/* Style moderne des cartes de service */

.service-card {
    position: relative;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Bordure animée infinie (gradient tournant) */
.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent 0deg,
        transparent 120deg,
        #ffee00 180deg,
        #d0ff00 240deg,
        transparent 360deg
    );
    animation: bordureInfinie 4s linear infinite;
    z-index: -2;
}

/* Fond interne pour ne laisser apparaître que la bordure */
.service-card::after {
    content: '';
    position: absolute;
    inset: 2px; /* Épaisseur de la bordure lumineuse */
    background: rgba(10, 15, 28, 0.95);
    border-radius: 18px;
    z-index: -1;
}

/* Animation de rotation continue de la bordure */
@keyframes bordureInfinie {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* service */
.container-service{
    margin-top: -150px;
    padding:0 100px 0 100px;
}
.container-apropos{
    margin-top: -50px;
    margin-left: 15%;
}
/* Survol de la carte */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(255, 238, 0, 0.25);
}

/* Recadrage propre des icônes */
.service-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}
/* Style des flèches de navigation latérales */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffee00;
    font-size: 2.5rem;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #d0ff00e1;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.nav-arrow-left {
    left: 20px;
}

.nav-arrow-right {
    right: 20px;
}

.nav-arrow:hover {
    color: #000000;
    background-color: #ffee00;
    transform: translateY(-50%) scale(1.1);
}

/* animation entrer  */
section{
    animation:apparitiondouce 0.5s ease-out ;
}

@keyframes apparitiondouce {
    from {
        opacity: 0;
         transform: translateY(20px); /*arrive vers le bas */
    }
    to {
        opacity: 1;
        transform: translateY(0); /*se fiche à sa position normale*/
    }
}

/* Accueil */
#accueil{
    padding:10% 0 12% 0;
}
/* apropos */
/* Animation Carte Histoire (Entrée de Gauche) */
.anim-histoire {
    opacity: 0;
    transform: translateX(-80px);
    animation: glisserGauche 0.9s cubic-bezier(0.3, 1, 0.5, 1) forwards;
}

/* Animation Cartes Valeurs (Entrée de Droite) */
.anim-valeur {
    opacity: 0;
    transform: translateX(80px);
    animation: glisserDroite 0.9s cubic-bezier(0.3, 1, 0.5, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Keyframes */
@keyframes glisserGauche {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glisserDroite {
    from {
        opacity: 0;
        transform: translateX(80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* Cadre en verre transparent (Glassmorphism) */
.glass-box {
    max-width: 900px;
    background: rgba(15, 23, 42, 0.7); 
    backdrop-filter: blur(16px); /* Effet de flou de l'arrière-plan */
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(15, 23, 42, 0.7);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
                radial-gradient(circle at top left, rgba(255, 238, 0, 0.15), transparent 50%),
                radial-gradient(circle at bottom right, rgba(255, 238, 0, 0.15), transparent 50%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-box:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 238, 0, 0.3);
    /* box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5) */
}
/* Animation machine à écrire */
.typing-text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #e6ff07;
    animation: 
        ecriture 6s steps(30, end) infinite,
        clignotement 0.75s step-end infinite;
}

/* Révèle le texte de gauche à droite */
@keyframes ecriture {
    0% {
        width: 0;
    }
    50% {
        width: 100%; 
    }
    100% {
        width: 100%; 
    }
}

/* Fait clignoter le curseur */
@keyframes clignotement {
    from, to { border-color: transparent; }
    50% { border-color: #eeff07; }
}

/* Section procedure */
/* Cartes Élégantes Glassmorphism */
.procedure-card {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(239, 243, 8, 0.63);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4),
                inset 0 0 15px rgba(255, 238, 0, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.procedure-card:hover {
    transform: translateY(-5px);
    border-color: #ffee00;
    box-shadow: 0 15px 35px rgba(255, 238, 0, 0.2),
                0 0 15px rgba(255, 238, 0, 0.3);
}

/* Badge Numéroté */
.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #ffee00, #b3b300);
    color: #000000;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 12px;
    flex-shrink: 0;
}
/* Animation d'entrée depuis le bas pour les étapes de Procédure  */
.procedure-step {
    opacity: 0;
    transform: translateY(30px);
    animation: apparitiondouce 0.8s ease-out forwards;
}

/* Décalage temporel progressif pour les 7 étapes */
.step-1 { animation-delay: 0.1s; }
.step-2 { animation-delay: 0.25s; }
.step-3 { animation-delay: 0.4s; }
.step-4 { animation-delay: 0.55s; }
.step-5 { animation-delay: 0.7s; }
.step-6 { animation-delay: 0.85s; }
.step-7 { animation-delay: 1s; }

/* Zone du logo */
.tech-logo-box {
    min-width: 65px;
    height: 65px;
    /* background: rgba(0, 0, 0, 0.2); */
}

/* Limite la largeur max sur grand écran pour un rendu élégant */
.max-w-750 {
    max-width: 750px;
}

/* section tarif */
/* Optionnel : si le bouton change de fond au survol pour rester joli */
#tarif .btn:hover {
  color: #000000 !important;
}
/* Animation d'entrée en cascade pour les cartes de tarifs */
.tarif-card {
    opacity: 0;
    transform: translateY(30px);
    animation: apparitiondouce 0.8s ease-out forwards;
}

/* Décalage temporel pour chaque carte */
.tarif-delay-1 { animation-delay: 0.1s; }
.tarif-delay-2 { animation-delay: 0.3s; }
.tarif-delay-3 { animation-delay: 0.5s; }
.tarif-delay-4 { animation-delay: 0.7s; }

/* section technologie */
/* Animation des technologies (Alternance Gauche / Droite) */
.tech-card-left {
    opacity: 0;
    transform: translateX(-80px);
    animation: glisserGauche 0.8s cubic-bezier(0.3, 1, 0.5, 1) forwards;
}

.tech-card-right {
    opacity: 0;
    transform: translateX(80px);
    animation: glisserDroite 0.8s cubic-bezier(0.3, 1, 0.5, 1) forwards;
}

/* Décalages par ligne pour un effet fluide */
.tech-delay-1 { animation-delay: 0.1s; }
.tech-delay-2 { animation-delay: 0.2s; }
.tech-delay-3 { animation-delay: 0.3s; }
.tech-delay-4 { animation-delay: 0.4s; }
.tech-delay-5 { animation-delay: 0.5s; }
.tech-delay-6 { animation-delay: 0.6s; }

/* Copyright fixe en bas à droite */
/* Copyright fixe sur PC */
.copyright-fixed {
    position: absolute !important;
    bottom: 20px !important;
    right: 20px !important;
    margin: 0 !important;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 238, 0, 0.3);
    border-radius: 12px;
    padding: 8px 16px;
    color: #ffffff;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.copyright-fixed strong {
    color: #ffee00;
}
/* Style personnalisé pour les inputs de la section Contact */
.custom-input {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 238, 0, 0.3) !important;
  color: #ffffff !important;
  border-radius: 12px;
  padding: 12px 16px;
}

/* Style des placeholders (texte indicatif) */
.custom-input::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

/* Style lors du clic/focus sur un champ */
.custom-input:focus {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: #ffee00 !important;
  box-shadow: 0 0 10px rgba(255, 238, 0, 0.582) !important;
  outline: none;
}

/* Style des options du menu déroulant (Select) */
.custom-input option {
  background-color: #020622;
  color: #ffffff;
}

/* ==========================================
   HEADER : RENDU ORDINATEUR (PAR DÉFAUT)
   ========================================== */
.header-container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}

.brand-logo {
    flex-shrink: 0;
}

.main-nav {
    font-size: small;
}

/* ==========================================
   HEADER : RENDU MOBILE UNIQUMENT (< 768px)
   ========================================== */
@media (max-width: 767.98px) {
    .header-container {
        padding-left: 8px;
        padding-right: 8px;
        gap: 10px;
    }

    .brand-logo img {
        width: 32px !important;
        height: 32px !important;
    }

    .brand-logo span {
        font-size: 0.7rem !important;
    }

    /* Rend le menu scrollable uniquement sur mobile */
    .main-nav {
        display: flex !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        gap: 6px !important;
        font-size: 0.72rem !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Masque scrollbar Firefox */
    }

    .main-nav::-webkit-scrollbar {
        display: none; /* Masque scrollbar Chrome/Safari */
    }

    .main-nav a {
        white-space: nowrap !important;
    }
}

/* S'applique UNIQUEMENT sur mobile (< 768px) */
@media (max-width: 767.98px) {

    /* Force la section d'accueil à occuper toute la hauteur de l'écran du téléphone */
    #accueil {
        position: relative !important;
        min-height: calc(100vh - 60px) !important; /* Prend toute la hauteur disponible */
        padding-bottom: 60px !important;            /* Laisse de la place en bas pour le badge */
    }

    /* Calé exactement en bas à droite sur téléphone */
    .copyright-fixed {
        position: absolute !important;
        bottom: 15px !important;
        right: 15px !important;
        margin: 0 !important;
        font-size: 0.7rem !important;
    }

}

@media (max-width: 767.98px) {

    #apropos {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        padding-top: 30px !important;
        padding-bottom: 80px !important;
    }

    /* 1. La carte prend une largeur fixe centrée (80% de l'écran) */
    #apropos .glass-box,
    #apropos .anim-histoire,
    #apropos .anim-valeur,
    #apropos .card {
        width: 82% !important;
        max-width: 82% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* 2. Le bloc "Notre Histoire" devient le repère direct pour les flèches */
    #apropos .anim-histoire {
        position: relative !important;
    }

    /* 3. Style unique des flèches */
    #apropos .nav-arrow {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 34px !important;
        height: 34px !important;
        font-size: 1rem !important;
        z-index: 99 !important;
        background: rgba(15, 23, 42, 0.95) !important;
        border: 1px solid #ffee00 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* 4. Flèche gauche collée sur le bord gauche de la carte */
    #apropos .nav-arrow-left {
        left: 5px !important;
        right: auto !important;
    }

    /* 5. Flèche droite collée sur le bord droit de la carte */
    #apropos .nav-arrow-right {
        right: 5px !important;
        left: auto !important;
    }

    /* 6. Copyright en bas à droite */
    #apropos .copyright-fixed {
        position: absolute !important;
        bottom: 15px !important;
        right: 15px !important;
        left: auto !important;
        margin: 0 !important;
        z-index: 20 !important;
        font-size: 0.7rem !important;
    }
}

/* ==========================================
   SERVICES MOBILE : 2 COLONNES (2x2)
   ========================================== */
@media (max-width: 767.98px) {

    #services {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        padding-top: 150px !important;
        padding-bottom: 70px !important;
    }

    /* Conteneur principal avec espace élargi pour libérer les flèches */
    #services .container-service {
        position: relative !important;
        padding-left: 50px !important;
        padding-right: 50px !important;
    }

    /* Force l'affichage en 2 COLONNES (2 cartes par ligne) */
    #services .row > div {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    /* Ajustement du design des cartes pour tenir à 2 par ligne */
    #services .service-card  {
        padding: 15px 4px ;
        min-height: 100% !important;
        text-align: center !important;
    }

    #services .service-card h3 {
        font-size: 0.85rem !important;
    }

    #services .service-card p {
        font-size: 0.7rem !important;
        line-height: 1.2 !important;
    }

    #services .service-icon {
        width: 32px !important;
        height: 32px !important;
    }

    /* Positionnement des flèches au milieu de la hauteur totale */
    #services .nav-arrow {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 0.9rem !important;
        z-index: 99 !important;
        background: rgba(15, 23, 42, 0.95) !important;
        border: 1px solid #ffee00 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Flèches décalées pour ne plus toucher les cartes */
    #services .nav-arrow-left {
        left: 4px !important;
    }

    #services .nav-arrow-right {
        right: 4px !important;
    }

    #services .copyright-fixed {
        position: absolute !important;
        bottom: px !important;
        right: 15px !important;
        left: auto !important;
        margin: 0 !important;
        z-index: 20 !important;
        font-size: 0.7rem !important;
    }
}

/* ==========================================
   ADAPTATION MOBILE : SECTION PROCÉDURE
   ========================================== */
@media (max-width: 767.98px) {

    #procedure {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        padding-top: 30px !important;
        padding-bottom: 80px !important;
    }

    /* 1. Ajustement du titre */
    #procedure h2 {
        font-size: 1.6rem !important;
    }

    #procedure h2 img {
        width: 45px !important;
        height: 45px !important;
    }

    /* 2. Conteneur réduit pour laisser l'espace latéral aux flèches */
    #procedure .container {
        position: relative !important;
        padding-left: 45px !important; /* Marge pour la flèche gauche */
        padding-right: 45px !important; /* Marge pour la flèche droite */
    }

    /* 3. Ajustement des cartes de procédure sur une seule colonne */
    #procedure .procedure-card {
        padding: 15px !important;
        width: 100% !important;
    }

    #procedure .procedure-card h3 {
        font-size: 0.95rem !important;
    }

    #procedure .procedure-card p {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
    }

    #procedure .step-badge {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.85rem !important;
    }

    /* 4. Ancrage des flèches au niveau de la première étape (Étape 01) */
    #procedure .procedure-container > div:first-child {
        position: relative !important;
    }

    #procedure .nav-arrow {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 34px !important;
        height: 34px !important;
        font-size: 1rem !important;
        z-index: 99 !important;
        background: rgba(15, 23, 42, 0.95) !important;
        border: 1px solid #ffee00 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Placement exact dans les espaces dégagés */
    #procedure .nav-arrow-left {
        left: 4px !important;
        right: auto !important;
    }

    #procedure .nav-arrow-right {
        right: 4px !important;
        left: auto !important;
    }

    /* 5. Copyright en bas */
    #procedure .copyright-fixed {
        position: absolute !important;
        bottom: 15px !important;
        right: 15px !important;
        left: auto !important;
        margin: 0 !important;
        z-index: 20 !important;
        font-size: 0.7rem !important;
    }
}

/* ==========================================
   ADAPTATION MOBILE : SECTION TARIFS
   ========================================== */
@media (max-width: 767.98px) {

    #tarif {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        padding-top: 30px !important;
        padding-bottom: 80px !important;
    }

    /* 1. Ajustement du titre */
    #tarif h2 {
        font-size: 1.6rem !important;
    }

    #tarif h2 img {
        width: 45px !important;
        height: 45px !important;
    }

    /* 2. Marge interne pour libérer l'espace des flèches */
    #tarif .container {
        position: relative !important;
        padding-left: 45px !important;
        padding-right: 45px !important;
    }

    /* 3. Grille 2 colonnes (2 cartes par ligne) */
    #tarif .row > div {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    /* 4. Ajustement du contenu des cartes */
    #tarif .glass-box {
        padding: 10px 8px !important;
        text-align: center !important;
    }

    #tarif .glass-box h3 {
        font-size: 0.85rem !important;
        min-height: 2.2em; /* Aligne la hauteur des titres */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #tarif .glass-box .text-jaune {
        font-size: 0.95rem !important;
    }

    #tarif .glass-box ul {
        font-size: 0.65rem !important;
        padding-left: 0 !important;
        margin-bottom: 10px !important;
    }

    #tarif .glass-box ul li {
        margin-bottom: 3px !important;
        text-align: left !important;
    }

    #tarif .glass-box .btn {
        font-size: 0.65rem !important;
        padding: 6px 2px !important;
    }

    /* 5. Configuration et positionnement des flèches */
    #tarif .nav-arrow {
        position: absolute !important;
        top: 52% !important;
        transform: translateY(-50%) !important;
        width: 34px !important;
        height: 34px !important;
        font-size: 1rem !important;
        z-index: 99 !important;
        background: rgba(15, 23, 42, 0.95) !important;
        border: 1px solid #ffee00 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #tarif .nav-arrow-left {
        left: 4px !important;
    }

    #tarif .nav-arrow-right {
        right: 4px !important;
    }

    /* 6. Copyright en bas */
    #tarif .copyright-fixed {
        position: absolute !important;
        bottom: 15px !important;
        right: 15px !important;
        left: auto !important;
        margin: 0 !important;
        z-index: 20 !important;
        font-size: 0.7rem !important;
    }
}

/* ==========================================
   ADAPTATION MOBILE : SECTION RÉALISATIONS
   ========================================== */
@media (max-width: 767.98px) {

    #realisation {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        padding-top: 30px !important;
        padding-bottom: 80px !important;
    }

    /* 1. Ajustement du titre */
    #realisation h2 {
        font-size: 1.6rem !important;
    }

    #realisation h2 img {
        width: 45px !important;
        height: 45px !important;
    }

    /* 2. Marge interne pour libérer l'espace des flèches */
    #realisation .container {
        position: relative !important;
        padding-left: 45px !important;
        padding-right: 45px !important;
    }

    /* 3. Une seule colonne pour une meilleure visibilité des projets */
    #realisation .row > div {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 15px !important;
    }

    /* 4. Ajustement de la carte et des images */
    #realisation .glass-box {
        padding: 12px !important;
    }

    #realisation .glass-box img {
        height: 130px !important; /* Hauteur d'image ajustée pour mobile */
        margin-bottom: 10px !important;
    }

    #realisation .glass-box h3 {
        font-size: 0.95rem !important;
        text-align: center !important;
    }

    #realisation .glass-box p {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }

    #realisation .glass-box .btn {
        font-size: 0.75rem !important;
        padding: 6px 10px !important;
    }

    /* 5. Configuration et positionnement des flèches */
    #realisation .nav-arrow {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 34px !important;
        height: 34px !important;
        font-size: 1rem !important;
        z-index: 99 !important;
        background: rgba(15, 23, 42, 0.95) !important;
        border: 1px solid #ffee00 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #realisation .nav-arrow-left {
        left: 4px !important;
    }

    #realisation .nav-arrow-right {
        right: 4px !important;
    }

    /* 6. Copyright en bas */
    #realisation .copyright-fixed {
        position: absolute !important;
        bottom: 15px !important;
        right: 15px !important;
        left: auto !important;
        margin: 0 !important;
        z-index: 20 !important;
        font-size: 0.7rem !important;
    }
}

/* ==========================================
   ADAPTATION MOBILE : SECTION ÉQUIPE
   ========================================== */
@media (max-width: 767.98px) {

    #equipe {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        padding-top: 30px !important;
        padding-bottom: 80px !important;
    }

    /* 1. Titre de section */
    #equipe h2 {
        font-size: 1.6rem !important;
    }

    #equipe h2 img {
        width: 45px !important;
        height: 45px !important;
    }

    /* 2. Marge interne pour dégager les flèches */
    #equipe .container {
        position: relative !important;
        padding-left: 38px !important;
        padding-right: 38px !important;
    }

    /* 3. Carte du Leader (Dirigeant) */
    #equipe .row:first-of-type .col-lg-10 {
        padding: 0 !important;
    }

    #equipe .row:first-of-type .glass-box {
        padding: 12px !important;
    }

    #equipe .row:first-of-type .row {
        flex-direction: column !important;
        text-align: center !important;
    }

    #equipe .row:first-of-type .col-md-7 {
        flex-direction: column !important;
        justify-content: center !important;
        gap: 8px !important;
    }

    #equipe .row:first-of-type .col-md-7 img {
        width: 70px !important;
        height: 70px !important;
    }

    #equipe .row:first-of-type h3 {
        font-size: 1rem !important;
    }

    #equipe .row:first-of-type .col-md-5 {
        justify-content: center !important;
        margin-top: 8px !important;
    }

    #equipe .row:first-of-type .btn {
        font-size: 0.65rem !important;
        padding: 3px 8px !important;
    }

    /* 4. Cartes des Membres */
    #equipe .row.g-3 > div {
        width: 100% !important;
        max-width: 100% !important;
    }

    #equipe .row.g-3 .glass-box {
        padding: 10px !important;
    }

    #equipe .row.g-3 img {
        width: 48px !important;
        height: 48px !important;
    }

    #equipe .row.g-3 h4 {
        font-size: 0.8rem !important;
    }

    #equipe .row.g-3 span {
        font-size: 0.65rem !important;
    }

    #equipe .row.g-3 .text-end {
        font-size: 0.65rem !important;
    }

    /* 5. Configuration et placement des flèches */
    #equipe .nav-arrow {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 34px !important;
        height: 34px !important;
        font-size: 1rem !important;
        z-index: 99 !important;
        background: rgba(15, 23, 42, 0.95) !important;
        border: 1px solid #ffee00 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #equipe .nav-arrow-left {
        left: 4px !important;
    }

    #equipe .nav-arrow-right {
        right: 4px !important;
    }

    /* 6. Copyright */
    #equipe .copyright-fixed {
        position: absolute !important;
        bottom: 15px !important;
        right: 15px !important;
        left: auto !important;
        margin: 0 !important;
        z-index: 20 !important;
        font-size: 0.7rem !important;
    }
}

/* ==========================================
   MOBILE ADAPTATIOUN: SECTION TECHNOLOGIES
   ========================================== */
@media (max-width: 767.98px) {

    #technologie {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        padding-top: 30px !important;
        padding-bottom: 80px !important;
    }

    /* 1. Section Title */
    #technologie h2 {
        font-size: 1.6rem !important;
    }

    #technologie h2 img {
        width: 45px !important;
        height: 45px !important;
    }

    /* 2. Container Padding fir d'Pfeiler */
    #technologie .container {
        position: relative !important;
        padding-left: 45px !important;
        padding-right: 45px !important;
    }

    /* 3. Cards & Glass-box Layout */
    #technologie .glass-box {
        padding: 10px !important;
        gap: 10px !important;
    }

    /* 4. Logo Box an Technologielogoen */
    #technologie .tech-logo-box {
        width: 45px !important;
        height: 45px !important;
        min-width: 45px !important;
        padding: 4px !important;
    }

    #technologie .tech-logo-box img {
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
    }

    /* 5. Typographie a Marge-Upassung */
    #technologie .tech-text-box h5 {
        font-size: 0.85rem !important;
        margin-bottom: 2px !important;
    }

    #technologie .tech-text-box p {
        font-size: 0.65rem !important;
        line-height: 1.2 !important;
    }

    /* 6. Navigatiounspfeiler */
    #technologie .nav-arrow {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 34px !important;
        height: 34px !important;
        font-size: 1rem !important;
        z-index: 99 !important;
        background: rgba(15, 23, 42, 0.95) !important;
        border: 1px solid #ffee00 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #technologie .nav-arrow-left {
        left: 4px !important;
    }

    #technologie .nav-arrow-right {
        right: 4px !important;
    }
}
/* ==========================================
   ADAPTATION MOBILE : SECTION CONTACT
   ========================================== */
@media (max-width: 767.98px) {

    #contact {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        padding-top: 30px !important;
        padding-bottom: 80px !important;
    }

    /* 1. Titre de section */
    #contact h2 {
        font-size: 1.6rem !important;
    }

    #contact h2 img {
        width: 45px !important;
        height: 45px !important;
    }

    /* 2. Dégagement pour les flèches latérales */
    #contact .container {
        position: relative !important;
        padding-left: 45px !important;
        padding-right: 45px !important;
    }

    /* 3. Boîte de formulaire (Glass Box) */
    #contact .glass-box {
        padding: 18px 15px !important;
        border-radius: 16px !important;
    }

    /* 4. Labels et Champs de saisie */
    #contact .form-label {
        font-size: 0.8rem !important;
        margin-bottom: 4px !important;
    }

    #contact .custom-input {
        font-size: 0.85rem !important;
        padding: 8px 12px !important;
        border-radius: 8px !important;
    }

    #contact textarea.custom-input {
        rows: 3 !important;
        height: 100px !important;
    }

    /* 5. Bouton d'envoi */
    #contact button[type="submit"] {
        font-size: 0.9rem !important;
        padding: 10px 16px !important;
        margin-top: 5px !important;
    }

    /* 6. Flèche de navigation */
    #contact .nav-arrow {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 34px !important;
        height: 34px !important;
        font-size: 1rem !important;
        z-index: 99 !important;
        background: rgba(15, 23, 42, 0.95) !important;
        border: 1px solid #ffee00 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #contact .nav-arrow-left {
        left: 4px !important;
    }
}

/* Adaptation Mobile uniquement */
@media (max-width: 767.98px) {
    .brand-logo img {
        margin-left: 0 !important;
    }
}   

/* ==========================================
   MENU DRAWER / OFF-CANVAS MOBILE (< 768px)
   ========================================== */
@media (max-width: 767.98px) {
    #main-nav {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        width: 250px !important;
        height: 100vh !important;
        background-color: rgba(15, 23, 42, 0.98) !important;
        backdrop-filter: blur(10px) !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 60px 20px 20px 20px !important;
        gap: 20px !important;
        z-index: 1050 !important;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out !important;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5) !important;
    }

    #main-nav.show-nav {
        transform: translateX(0) !important;
    }

    #main-nav .nav-link-custom {
        font-size: 1.1rem !important;
        width: 100%;
        display: block;
    }
}