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

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    
}

body {
    margin: 0;
    padding: 0;
}

/* Fix mobile/tablet extra scroll caused by 100vh (URL bar) */
body .hero {
    min-height: calc(100vh - 6rem)!important ; 
    min-height: calc(100svh - 6rem)!important ;
}
 
.icon{
    cursor: pointer;
}

.logo-footer{
    background-image: none;
}

/* ======================== ANCRES ========================== */

#services,
#contact,
#valeur{
    scroll-margin-top: 100px;
}

#devisSection{
    scroll-margin-top: 70px;
}

/* ======================== EFFECTS ========================== */

.btn-form:hover{
    background-color: hsl(200, 93%, 30%);
    transition: all 0.3s ease-in-out;
}

.icons {
    animation: float 5s ease-in-out infinite;
    transition: transform 0.6s ease-in-out; }

.icons.icons-hover {
    animation: none;
    transform: scale(1.07);
    box-shadow: 0 10px 20px hsla(212, 91%, 40%, 0.2); 
}

.cards{
    transition: box-shadow 0.4s  ease-in-out, border 0.5s ease-in-out;
     border: 1.1px solid rgb(39, 62, 142); 
    border-radius: 10px;
    box-shadow: 0 0 10px rgb(39, 78, 152)!important;
}

#library-card{
    border: 1.1px solid transparent; 
}

.cards-contact{
    transform: scale(1.01);
    transition: all 0.6s ease-in-out;
    border: 1.1px solid rgb(39, 62, 142);
    border-radius: 10px;
    box-sizing: border-box;
    box-shadow: 0 0 10px rgb(29, 78, 152);
    
}


/* ================KEYFRAMES D'ANIMATIONS ================ */


@keyframes float {
    0% {transform: translateX(0);}
    50% {transform: translateY(-5px);}
    100% {transform: translateX(0);
    }
    
}

/* ===================================== SCROLL REVEAL ======================== */


        .reveal {
            opacity: 0;
            transition: all 0.8s ease-in-out;
        }

        .reveal.active {
            opacity: 1;
        }

        
        .reveal-bottom {
            transform: translateY(60px);
        }
        .reveal-bottom.active {
            transform: translateY(0);
        }

        /* Animation depuis la gauche */
        .reveal-left {
            transform: translateX(-60px);
        }
        .reveal-left.active {
            transform: translateX(0);
        }

        /* Animation depuis la droite */
        .reveal-right {
            transform: translateX(60px);
        }
        .reveal-right.active {
            transform: translateX(0);
        }

        /* Animation zoom */
        .reveal-zoom {
            transform: scale(0.85);
        }
        .reveal-zoom.active {
            transform: scale(1);
        }

        /* Animation rotation */
        .reveal-rotate {
            transform: rotate(-5deg) scale(0.9);
        }
        .reveal-rotate.active {
            transform: rotate(0) scale(1);
        }

        /* Animation fade simple */
        .reveal-fade {
            opacity: 0;
        }
        .reveal-fade.active {
            opacity: 1;
        }

        /*  DÉLAIS PROGRESSIFS */
        .delay-100 { transition-delay: 100ms; }
        .delay-200 { transition-delay: 200ms; }
        .delay-300 { transition-delay: 300ms; }
        .delay-400 { transition-delay: 400ms; }
        .delay-500 { transition-delay: 500ms; }



.contactButton {
  background-color:  rgba(14, 35, 128, 0.632);
  color: white;
  font-family: inherit;
  padding: 19px 10px;
  padding-left: 0.8em;
  font-size: 13px;
  font-weight: 500;
  border-radius: 0.6em;
  border: none;
  cursor: pointer;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  box-shadow: inset 0 0 1.2em -0.5em #3B4A5A;
  overflow: hidden;
  position: relative;
  height: 2.2em;
  padding-right: 2.4em;
  margin-left: auto;
  margin-right: 1rem;
  margin-top: 1rem;
  transition: all 0.3s ease-in-out;
}

.first-card .contactButton {
  background-color:  rgba(14, 35, 128, 0.632);
  color: white;
  font-family: inherit;
  padding: 19px 10px;
  padding-left: 0.8em;
  font-size: 13px;
  font-weight: 500;
  border-radius: 0.6em;
  border: none;
  cursor: pointer;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  box-shadow: inset 0 0 1.2em -0.5em #3B4A5A;
  overflow: hidden;
  position: relative;
  height: 2.2em;
  padding-right: 2.4em;
  margin-left: auto;
  margin-right: 1rem;
  margin-top: 0.5rem;
  transition: all 0.3s ease-in-out;
}

.iconButton {
  margin-left: 0.8em;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.7em;
  width: 1.7em;
  border-radius: 0.4em;
  background: rgba(14, 34, 128, 0.158);
  box-shadow: 0.1em 0.1em 0.5em 0.1em rgba(70, 90, 120, 0.4);
  right: 0.25em;
  transition: all 0.3s;
}

.contactButton:hover {
  background: linear-gradient(135deg, #1E3A5F 0%, #273469 50%, #1E2749 100%);
  transform: translate(-0.05em, -0.05em);
  box-shadow: 0.15em 0.15em #1E2749;
}

.contactButton:hover .iconButton {
  background: rgba(255, 255, 255, 0.25);
}

.contactButton:active {
  transform: translate(0.05em, 0.05em);
  box-shadow: 0.05em 0.05em #1E2749;
}


