:root {
    --gomes-bleu: #5c72b2;
    --gomes-jaune: #f9f2de;
    --nav-horizontal: #3d4c75;
    --section-text: #4e5a6c; 

    --slideshowscreen-bg: #121622 ;

    --home-motto: #09111a;

    --text-primary: #0f172a;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@font-face {
    font-family: 'Helvetica';
    src: url("fonts/HelveticaWorld-Regular--HesxHV.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Futura';
    src: url("fonts/futura-bt-book-fC1cEwY.otf");
    font-weight: normal;
    font-style: normal;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    background: var(--bg-primary);
    font-family: 'Helvetica';
    color: var(--text-primary);
    scroll-behavior: smooth;
    z-index: 1;
}





/**********/
/* LOADER */
/**********/

.loaderWrapper {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    z-index: 5000;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .loader {
    display: flex;
    flex-direction: row;
    align-items: center;
    z-index: 5001;
    .bar {
        width: 10px;
        height: 5px;
        background: var(--gomes-bleu);
        margin: 2px;
        animation: bar 1s infinite linear;
      }
  }

  .loader .bar:nth-child(1) {
    animation-delay: 0s;
  }
  .loader .bar:nth-child(2) {
    animation-delay: 0.25s;
  }
  .loader .bar:nth-child(3) {
    animation-delay: 0.5s;
  }
  
  @keyframes bar {
    0% {
      transform: scaleY(1) scaleX(0.5);
    }
    50% {
      transform: scaleY(10) scaleX(1);
    }
    100% {
      transform: scaleY(1) scaleX(0.5);
    }
  }








/**************/
/* Navigation */
/**************/

nav {

    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 10;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    .nav-container { 
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
      

    }



    .logo, .logo a {        
        font-family: 'Futura';
        font-size: 1.75rem;
        font-weight: 700;
        color: var(--gomes-bleu);
    }


}

nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem 0;
}




.nav-links {
    font-family: 'Futura';
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

    .nav-links a {
        text-decoration: none;
        color: var(--nav-horizontal);
        font-weight: 500;
        font-size: 0.95rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        padding: 0.5rem 0;
    }

    .nav-links a:hover {
        color: var(--gomes-bleu);
        transform: translateY(-1px);
    }
    
    .nav-links a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        background: var(--gomes-bleu);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateX(-50%);
        border-radius: 1px;
    }
    
    .nav-links a:hover::after {
        width: 100%;
    }    



        /* Mobile Menu */
        .mobile-menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 0.5rem;
            z-index: 1001;

            .hamburger {
                width: 25px;
                height: 3px;
                background: var(--text-primary);
                margin: 3px 0;
                transition: all 0.3s ease;
                border-radius: 1px;
            }

        }



        .mobile-menu-toggle.active .hamburger:nth-child(1) {
            transform: rotate(-45deg) translate(-5px, 6px);
        }
        
        .mobile-menu-toggle.active .hamburger:nth-child(2) {
            opacity: 0;
        }
        
        .mobile-menu-toggle.active .hamburger:nth-child(3) {
            transform: rotate(45deg) translate(-5px, -6px);
        }
        
        
        
        .mobile-menu.active .mobile-nav-links li {
            opacity: 1;
            transform: translateY(0);
        }
        
        .mobile-menu.active .mobile-nav-links li:nth-child(1) {
            transition-delay: 0.1s;
        }
        
        .mobile-menu.active .mobile-nav-links li:nth-child(2) {
            transition-delay: 0.2s;
        }
        
        .mobile-menu.active .mobile-nav-links li:nth-child(3) {
            transition-delay: 0.3s;
        }
        
        .mobile-menu.active .mobile-nav-links li:nth-child(4) {
            transition-delay: 0.4s;
        }
        
        .mobile-menu.active .mobile-nav-links li:nth-child(5) {
            transition-delay: 0.5s;
        }
        
        .mobile-menu.active .mobile-nav-links li:nth-child(6) {
            transition-delay: 0.6s;
        }

        .mobile-nav-links a {
            font-family: 'Futura';
            font-size: 2.5rem;
            font-weight: 500;
            color: #5c72b2;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .mobile-nav-links a:hover {
            transform: scale(1.05);
            color: #FFFFFF;
        }



.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-links {

    list-style: none;
    text-align: center;

    li {
        margin: 2rem 0;
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

}


/******************/
/* Section Styles */
/******************/

section {

    padding: 7rem 0;

    .container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 2rem;
    }

    .section-title {
        text-align: center;
        font-family: 'Futura';
        font-size: 3.5rem;
        font-weight: 600;
        color: var(--gomes-bleu);
        margin-bottom: 4rem;
        position: relative;
    }
    
    .section-title::after {
        content: '';
        position: absolute;
        width: 60px;
        height: 4px;
        background: var(--gomes-bleu);
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 2px;
    }    
    
    h4 {
        font-size: 1.5em;
        font-weight: 600;
        color: #475a82;        
        padding: 0.5em;
    }

    p {
        font-size: 1.1rem;
        color: var(--section-text);
        margin-bottom: 2rem;
        line-height: 1.7;
    }

    a {
        color: var(--section-text);
    }

    div {
        color: var(--section-text); 
    }

    strong {
        color: var(--section-text);
    }
    
    ul {
        font-size: 1.1rem;    
        line-height: 1.5;
        margin-left: 2rem;
        color: var(--section-text);
        list-style: square;
    }

}





/* Accueil Section */
#home {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-image: url("../img/home-JOFW7vw.jpg");
    background-position: center;
    background-repeat: no-repeat;    
    background-size: cover;
    position: relative;
    overflow: hidden;    

    h1 {
        font-family: 'Helvetica';
        font-size: 5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 1s ease 0.4s forwards;
        line-height: 1.1;
        letter-spacing: -1px;
    }

    h2 {
        margin: 0 !important;
        padding: 0 !important;
        background: rgba(255,255,255,0.7);
        color: var(--gomes-bleu);
        font-family: 'Helvetica';
        font-size: 3em;
        font-weight: 700;
        font-style: italic;
        animation: fadeInUp 1s ease 0.4s forwards;
        line-height: 2em;
        text-shadow: 1px 0 #FFFFFF, 0 -1px #FFFFFF, -1px 0 #FFFFFF, 0 1px #FFFFFF;
    }

    .intro {
        color: var(--gomes-bleu);
        text-shadow: 1px 0 #FFFFFF, 0 -1px #FFFFFF, -1px 0 #FFFFFF, 0 1px #FFFFFF;
        font-family: 'Helvetica';
        font-size: 2.3em;
        font-weight: 900;    
        font-style: italic;    
        background: rgba(255,255,255,0.7);
        border-radius: 1em 1em 0 0;
        border-width: 1px 1px 0 1px;
        border-color: var(--gomes-bleu);
        border-style: solid;
        width: fit-content;
        padding: 0.5em;
        margin: 0 auto;
    }

    img {
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;        
    }

    

    .subtitle {
        font-size: 1.3rem;
        margin-bottom: 3rem;
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 1s ease 0.6s forwards;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 400;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }    

}

        /* Scroll Indicator */
        .scroll-indicator {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            width: 30px;
            height: 50px;
            border: 2px solid rgba(55, 55, 55, 0.6);
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .scroll-indicator:hover {
            border-color: rgba(55, 55, 55, 0.9);
        }

        .scroll-indicator::before {
            content: '';
            position: absolute;
            top: 10px;
            left: 50%;
            width: 6px;
            height: 6px;
            background: rgba(55, 55, 55, 0.8);
            border-radius: 50%;
            transform: translateX(-50%);
            animation: scroll 2s infinite;
        }

        @keyframes scroll {
            0% { transform: translateX(-50%) translateY(0); opacity: 1; }
            100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
        }





/* About Section */
.about {
    background: var(--bg-secondary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: center;
    position: relative;
}


.about-image {
    background: url("../img/about-3C--FBy.jpg") center/cover;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    transform: rotate(-2deg);
    transition: transform 0.4s ease;
}

.about-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(94, 132, 212, 0.3) 0%, rgba(46, 65, 103, 0.2) 100%);
    transition: opacity 0.3s ease;
}

.about-image:hover::before {
    opacity: 0.7;
}



.about-text h3 {
    font-family: 'Helvetica';
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.3;
}



/*********************/
/* Illustration fixe */
/*********************/
#illustration-fixed {
    background-image: url("../img/illustration-YsLI0Pi.jpg");
    min-height: 100%;
    height: 30rem;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}




/****************/
/* RÃ©alisations */
/****************/

#realisations {
    background: var(--gomes-jaune);
    .swiper {
        width: 800px;
        max-height: 700px;
    }
}




/***********/
/* Contact */
/***********/

#contact {

    background: var(--bg-secondary);

    i {
        line-height: 100%;
        vertical-align: middle;
        color:#83a4ff;
    }

    .identite {
        border: 2px solid #e1e3e5;
        border-radius: 10px;
    }    


}





/****************************************************************************************/

/* Animation Classes */

 .fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}









.swiper {
    width: 100%;
    border: 3px solid #5a6fae;
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    ZZZheight: 100%;
    max-height: 80vh;
    object-fit: contain;
  }














/**********/
/* Footer */
/**********/

  footer {
    background: #161e37 !important;
    color: #616e82;
    padding: 2rem 0 2rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;    

    a {
        color: #616e82;
        text-decoration: none;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        position: relative;
    }

    a:hover {
        color: #FFFFFF;
        transform: translateY(-1px);
    }    

  }


/********************/
/* Mentions lÃ©gales */
/********************/

#legal {
    padding: 2rem;
    background: #333333;
    color: #FFFFFF;
}


#fullover {
    position: fixed;
    top: 0; left: 0; z-index: 1999;
    width: 100vw; height: 100vh;
  
    background: rgb(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
  
    display: flex;
    justify-content: center;
    align-items: center;
  
    opacity: 0; visibility: hidden;
    transition: opacity 0.5s;
  }
  
  #fullover.show {
    opacity: 1; visibility: visible;
  }





/****************************************************************
  RESPONSIVE
****************************************************************/

@media (max-width: 1098px) {
    .logo a {
        font-size: 0.7em !important;
    }
}


@media (max-width: 1024px) {

    #home h2 {
        font-size: 2em;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }


    .about-image, .maconnerie-image, .couverture-image {
        max-height: 400px;
    }   

    section p, ul {
        font-size: 1.3em !important;
    }

    section h4 {
        font-size: 1.8em !important;
    }

    section input[type="text"], input[type="email"], button[type="submit"], .textarea {
        font-size: 1.3rem;
    }

    .footer, .footer a, #legal {
        font-size: 1.2rem;
    }

}


@media (max-width: 660px) {
    nav .logo {
        font-size: 1.25rem !important;        
    }



}





/* The container must be positioned relative: */
.custom-select {
    position: relative;
  }
  
  .custom-select select {
    display: none; /*hide original SELECT element: */
  }
  
  .select-selected {
    background-color: #FFFFFF;
    border: 2px solid #DDDDDD !important;
  }
  
  /* Style the arrow inside the select element: */
  .select-selected:after {
    content: '\f107';
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    float: right;
    text-decoration:none;    
  }
  
  /* Point the arrow upwards when the select box is open (active): */
  .select-selected.select-arrow-active:after {
    content: '\f106';
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    text-decoration:none;    
  }

  
  /* style the items (options), including the selected item: */
  .select-items div,.select-selected {
    padding: 8px 16px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
  }
  
  /* Style items (options): */
  .select-items {
    position: absolute;
    background-color: #EEEEEE;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
  }
  
  /* Hide the items when the select box is closed: */
  .select-hide {
    display: none;
  }
  
  .select-items div:hover, .same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
  }



  .play-thumbnail {
    position: absolute;
    left: 0; 
    right: 0;
    bottom: 2em;
    margin-inline: auto;
    width: fit-content;
    font-size: 4em;
    color: #EEEEEE;
    opacity: 0.8;
    text-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
    z-index: 2;
  }
  .play-thumbnail:hover {
    color: #FFFFFF;
  }


 

  #fulloverslideshow {
    /* (A1) COVER ENTIRE WINDOW */
    position: fixed;
    top: 0; left: 0; z-index: 999;
    width: 100vw; 
    height: 100vh;

    margin: 0 !important;
  
    /* (A2) BACKGROUND */
    background: var(--slideshowscreen-bg);
  
    /* (A3) CENTER CONTENT */
    Zdisplay: flex;
    Zflex-direction: column;
    Zjustify-content: center;
    Zalign-items: center;
  
    /* (A4) HIDE OVERLAY BY DEFAULT */
    opacity: 0; visibility: hidden;
    transition: opacity 0.5s;
  }

  #fulloverslideshow h2 {
    color: white;
    font-size: 2em;
    padding: 4px;
    text-align: center;
  }

  /* (B) SHOW OVERLAY */
#fulloverslideshow.show {
    opacity: 1; visibility: visible;
  }

#slideDesc {
    width: 100%;
    text-align: center;
    background: #2d3755;
    padding: 0.3em;
    margin: 0 auto;
    color: white;
}




#swiper {

}
