body{
    font-family: "Inter", Sans-serif;
}

h1, h2, h3, h4, h5{
    line-height: 1.1em;
    font-weight: 700;
}

.btn{
    border-radius: 40px;
    font-size: 17px;
    border-width: 2px 2px 2px 2px;
    padding: 15px 25px 15px 25px;
    font-weight: 500!important;
}

.btn-outline-primary:hover{
    color: white;
}

.btn-outline-primary{
    background-color: white;
}

.survol:hover{
    margin-top: -10px;
    margin-bottom: 10px;
}

.survol{
    transition: margin 0.3s ease-in-out;
}

.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}
  
.animate__fadeInUp {
    animation-name: fadeInUp;
}

.animate__fadeIn {
    animation-name: fadeIn;
}
  
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero{
    margin-top: 15% !important;
    height: 70vh;
}


.scroll-div{
    width: 35px;
    height: 55px;
    position: relative;
}

.scroll-button a {
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    color: #6689c3;
    transition: opacity .3s;
}

.scroll-button a:hover {
    opacity: .5;
}

.scroll-button a span {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 18px;
    height: 18px;
    margin-left: -8px;
    border-left: 4px solid #6689c3;
    border-bottom: 4px solid #6689c3;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: sdb04 2s infinite;
    animation: sdb04 2s infinite;
    border-radius: 2px;
  }
  @-webkit-keyframes sdb04 {
    0% {
      -webkit-transform: rotate(-45deg) translate(0, 0);
    }
    20% {
      -webkit-transform: rotate(-45deg) translate(-10px, 10px);
    }
    40% {
      -webkit-transform: rotate(-45deg) translate(0, 0);
    }
  }
  @keyframes sdb04 {
    0% {
      transform: rotate(-45deg) translate(0, 0);
    }
    20% {
      transform: rotate(-45deg) translate(-10px, 10px);
    }
    40% {
      transform: rotate(-45deg) translate(0, 0);
    }
  }

/* SECTION SERVICES */
.logo-services {
    transition: 0.6s;
	transform-style: preserve-3d;
}

.services li:hover .logo-services{
    transform: rotateY(180deg);
}

.sticky-top {
    position: sticky;
    top: 150px;
}


/* SECTION REALISATIONS */
.realisations .card, .services li{
    cursor: pointer;
    border: none;
}

.realisations .card:hover .overlay {
    opacity: 1;
    background-color: rgba(240, 240, 240, 0.9);
    transition: opacity 0.5s;
}

.realisations .card h5 {
  background-image: linear-gradient(#000000, #000000);
  background-size: 0% 0.1em;
  background-position-y: 100%;
  background-position-x: 0%;
  background-repeat: no-repeat;
  transition: background-size 0.3s ease-in-out;
  text-decoration: none;
  width: fit-content;
}
  
.realisations .card:hover h5 {
    background-size: 100% 0.1em;
}

.overlay {
    opacity: 0;
}
  
.overlay p {
    font-size: 24px;
}

/* SECTION PROCESSUS */
.numero-etape{
    font-size: 150px;
    font-weight: 800;
    line-height: 0;
    opacity: 0.7;
    z-index: 0;
}

/* SECTION FAQ */
.faq .accordion-item .accordion-button{
    border-radius: 5px!important;
}

.faq .accordion-item:hover .accordion-button{
    color: #6689c3;
}

.accordion-item {
    border: 2px solid #ecba19;
    box-shadow: 0px 3px 16px 0px rgba(0, 0, 0, 0.06);
    border-top: 0;
    border-right: 0;
    border-left: 0;
    margin-bottom: 10px;
}

/*SECTION CONTACT */
.grecaptcha-badge {
    display:none;
}

#check-group {
    animation: 0.32s ease-in-out 1.03s check-group;
    transform-origin: center;
}

#check-group #check, #cross-group #cross-line-1, #cross-group #cross-line-2{
    animation: 0.34s cubic-bezier(0.65, 0, 1, 1) 0.8s forwards check;
    stroke-dasharray: 0, 75px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#check-group #outline {
    animation: 0.38s ease-in outline;
    transform: rotate(0deg);
    transform-origin: center;
}

#check-group #white-circle {
    animation: 0.35s ease-in 0.35s forwards circle;
    transform: none;
    transform-origin: center;
}

@keyframes outline {
  from {
    stroke-dasharray: 0, 345.576px;
  }
  to {
    stroke-dasharray: 345.576px, 345.576px;
  }
}
@keyframes circle {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(0);
  }
}
@keyframes check {
  from {
    stroke-dasharray: 0, 75px;
  }
  to {
    stroke-dasharray: 75px, 75px;
  }
}
@keyframes check-group {
  from {
    transform: scale(1);
  }
  50% {
    transform: scale(1.09);
  }
  to {
    transform: scale(1);
  }
}

/* FOOTER */
.footer svg {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: #ecba19;
    fill: #ecba19;
    margin-top: auto;
    margin-bottom: auto;
}

.footer a:hover{
    text-decoration: underline;
}

/* RESPONSIVE */

@media only screen and (max-width: 768px) {
    .btn{
        border-radius: 25px;
        font-size: 14px;
        border-width: 2px 2px 2px 2px;
        padding: 10px 15px 10px 15px;
    }

    .numero-etape{
        font-size: 100px!important;
    }

    .processus .card-body {
        text-align: center;
    }

    .overlay p{
        font-size: 15px !important;
        margin-bottom: 10px!important;
    }

    .hero{
        margin-top: 150px !important;
        height: 80vh;
    }

    .navbar-collapse {
        display: flex;
        flex-direction: column;
    }

    .typewriter {
        margin-left: auto;
        margin-right: auto;
    }

    .typewriter .text-secondary{
        animation: 
        blink-caret .75s step-end infinite;      
    }

    .realisations .card{
        border: 1px solid #ebebeb;
    }
}

@media (max-width: 768px) and (max-height: 795px) {
    .hero{
        margin-top: 150px !important;
        height: 100vh;
    }
}

@media (max-width: 768px) and (max-height: 627px) {
    .hero{
        margin-top: 120px !important;
        height: 110vh;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .syntexs-mobile-bottom-bar { display: flex !important; }
    #syntexsMainHeader { display: none !important; }
    body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

@media (min-width: 992px) {
    .hero{
        margin-top: 20% !important;
        height: 80vh;
    }
}

@media (min-width: 1300px) {
    .hero{
        margin-top: 10% !important;
        height: 70vh;
    }
}

@media (min-width: 1300px) and (max-height: 750px) {
    .hero{
        margin-top: 10% !important;
        height: 95vh;
    }
}

/* Fix H1 visibility on legal pages for screens between 1300px and 1900px */
@media (min-width: 1300px) and (max-width: 1900px) {
    #mentions-legales h1,
    #politique-confidentialite h1,
    #cgv h1 {
        margin-top: 120px !important;
    }

    #mentions-legales,
    #politique-confidentialite,
    #cgv {
        padding-top: 40px;
    }
}