:root { 
    --background-color: #ffffff; 
    --default-color: #111111; 
    --heading-color: #3e5055; 
    --accent-color: #388da8; 
    --surface-color: #ffffff; 
    --contrast-color: #ffffff; 
    --first-color: #d2242a;
    --second-color: #ffcc00;
    
}

body{
    color: var(--default-color);
}

a {
    text-decoration: none;
    transition: 0.3s;
}
  
a:hover {
    text-decoration: none;
}
section{
    padding: 60px 5%;
    overflow: clip;
}

/* Landing-page */

.carousel-container {
  display: flex;
  justify-content: center;
}

.slide {
  height: 100%;
  min-height: 700px;
  min-width: 100%;
  position: absolute;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1s ease-in-out, transform 20s ease-in-out; 
}

.slide img{
  height: 100%;
  min-height: 700px;
}

.slide.active {
  opacity: 1;
  transform: scale(1.1);
}

@keyframes fadeOutZoom {
  0% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0; transform: scale(1.2); }
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 640px) {
  .carousel {
    height: 700px;
  }
}

.landing-page {
    padding-top: 3.5rem;
    width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    height: 700px;
}
@media screen and (min-width: 1118px){
    .landing-page{
        padding-top: 5.5rem;
    }
}
.landing-page .landing-page-box {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;    
    text-align: center; 
    padding: 2rem;
}

.landing-page .landing-page-box .landing-page-box-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
  
.landing-page h1 {
    margin: 0;
    font-size: 48px; /* 48 */
    font-weight: 700;
    line-height: 56px;
    text-align: center;
    color: var(--contrast-color);
}

@media (min-width: 1180px) {
    .landing-page h1{
        font-size: 58px;
    }
}
  
.landing-page h1 span {
    color: var(--second-color);
}
  
  
.landing-page p {
    color: var(--contrast-color);
    margin: 5px 0 30px 0;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
}

.landing-page .landing-page-box .landing-page-box-links{
    display: flex;
    align-items: center;
    justify-content: center;
}
  
.landing-page .btn-get-started {
    position: relative;
    overflow: hidden;
    color: var(--default-color);
    background: var(--second-color);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 28px;
    border-radius: 50px;
    transition: 0.5s;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}
.landing-page .btn-get-started::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-25deg);
    transition: all 0.6s ease;
    z-index: -1;
}
.landing-page .btn-get-started:hover {
    color: var(--default-color);
    background: color-mix(in srgb, var(--second-color), transparent 15%);
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
  
.landing-page .btn-get-started:hover::before {
    left: 100%;
} 
  
.landing-page .btn-watch-video {
    display: flex;
    align-items: center;
    font-size: 16px;
    transition: 0.5s;
    margin-left: 25px;
    color: var(--contrast-color);
    font-weight: 600;
}
  
.landing-page .btn-watch-video i {
    color: var(--second-color);
    font-size: 32px;
    transition: 0.3s;
    line-height: 0;
    margin-right: 8px;
}
  
.landing-page .btn-watch-video:hover {
    transform: translateY(-5px);
    color: var(--second-color);
}
  
.landing-page .btn-watch-video:hover i {
    color: color-mix(in srgb, var(--second-color), transparent 15%);
}

@media screen and (min-width: 1600px){
    .landing-page{
        min-height: 0;
    }
}
  
@media (max-width: 640px) {
    .landing-page h1 {
      font-size: 2rem;
      line-height: 36px;
    }
  
    .landing-page p {
      font-size: 14px;
      line-height: 24px;
      margin-bottom: 30px;
    }
  
    .landing-page .btn-get-started,
    .landing-page .btn-watch-video {
      font-size: 12px;
    }

    .landing-page .btn-get-started{
        padding: 10px 20px;
    }
}

@media (max-width: 417px){
    .landing-page .landing-page-box .landing-page-box-links{
        flex-direction: column;
    } 
    .landing-page .btn-watch-video{
        margin-left: 0;
        margin-top: 25px;
    }
}

/* Partners */

.services {
    color: var(--default-color);
    background-color: var(--background-color);
    overflow: clip;
    padding-top: 80px;
}
  
.services .services-title {
    text-align: center;
    position: relative;
}
  
.services .services-title h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}
  
.services .services-title h2:after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--second-color);
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}
  
.services .services-title p {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .services{
        padding-bottom: 40px;
    }
}

/* featured */

.featured{
    padding: 10px 5%;
    background-color: color-mix(in srgb, var(--second-color), transparent 95%);
    display: flex;
    justify-content: center;
    align-items: center;
}
.featured-box{
    max-width: 1800px;
    width: 100%;
    display: grid;
    gap: 25px;
    justify-content: space-between;
    grid-template-columns: 1fr 1fr 1fr;
}
  
.featured-box .featured-item {
    position: relative;
    padding: 20px 0;
    display: flex;
    align-items: center;
    cursor: pointer;
}
  
.featured-box .featured-item .featured-item-icon {
    background-color: color-mix(in srgb, var(--second-color), transparent 80%);
    min-width: 72px;
    min-height: 72px;
    max-width: 72px;
    max-height: 72px;
    position: relative;
    margin-right: 15px;
    line-height: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: ease-in-out 0.3s;
}
  
.featured-box .featured-item .featured-item-icon i {
    color: var(--second-color);
    font-size: 35px;
    z-index: 2;
    position: relative;
    transition: ease-in-out 0.3s;
}
  
.featured-box .featured-item .featured-item-title {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1.1rem;
}
  
.featured-box .featured-item .featured-item-description a {
    color: var(--default-color);
}
  
.featured-box .featured-item .featured-item-description a:hover {
    color: var(--second-color);
}
  
.featured-box .featured-item .featured-item-description {
    font-size: 15px;
}
  
.featured-box .featured-item:hover .featured-item-icon {
    background-color: var(--second-color);
}
  
.featured-box .featured-item:hover .featured-item-icon i {
    color: var(--contrast-color);
}

@media (max-width: 1243px) {
    .featured-box{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
}

@media (max-width: 800px){
    .featured-box{
        justify-content: space-around;
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

}
@media (max-width: 640px){
    .featured-box{
        gap: 15px;
    }
    .featured-box .featured-item .featured-item-title {
        font-size: 15px;
    }
    .featured-box .featured-item .featured-item-description {
        font-size: 14px;
    }
}

/* About */
.about-main{
    display: flex;
    align-items: center;
    justify-content: center;
}
.about {
    max-width: 1800px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-column-gap: 30px;
}

.about .about-header .about-header-title h3{
    font-size: 2rem;
    position: relative;
    padding-bottom: 30px;
}

.about .about-header .about-header-title h3:after{
    content: '';
    position: absolute;
    height: 1px;
    width: 70%;
    background-color: var(--second-color);
    bottom: 0;
    left: 0;
}

.about .about-header .about-header-title p{
    padding-top: 15px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    font-size: 14px;
}

.about .about-header .map{
    width: 100%;
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.about .about-header .map img{
    max-width: 300px;
}

.about-footer-text p{
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.about-footer-text p:last-child{
    margin-top: 20px;
}

.about-footer-dropdown{
    padding-top: 10px;
    width: 100%;
}

.about-footer-dropdown .about-footer-dropdown-content{
    margin: 20px 0;
    border-radius: 4px;
    background: var(--background-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.about-footer-dropdown-content.open{
    padding-bottom: 20px;
}
.about-footer-dropdown-content header{
    display: flex;
    padding: 20px;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s linear;
}
.about-footer-dropdown-content.open header{
    min-height: 35px;
}
.about-footer-dropdown-content header .title,
.about-footer-dropdown-content header i{
    font-size: 1rem;
    font-weight: bold;
    color: var(--default-color);
    transition: all 0.3s;
}
.about-footer-dropdown-content header:hover .title{
    color: var(--second-color);
}
.about-footer-dropdown-content .description{
    height: 0;
    font-size: 15px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    padding: 0 20px;
    transition: all 0.2s linear;
}

.about-footer-dropdown-content ul.description{
    padding-left: 40px;
    list-style: inside;
}

.about-footer-dropdown-content ul.description li a{
    color: var(--second-color);
}

.about-footer-dropdown-content ul.description li a:hover{
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

@media (max-width: 1000px){
    .about{
        display: block;
    }
    .about .about-header .about-header-title h3{
        font-size: 2.5rem;
    }.about .about-header .map{
        padding: 20px 0 50px 0;
    }
    .about .about-header .map img{
        max-width: none;
        width: 100%;
    }
}

@media (max-width: 990px){
    .about .about-header .about-header-title h3{
        font-size: 2rem;
    }
}

@media (max-width: 640px){
    .about-footer{
        padding-top: 30px;
    }
    .about .about-header .about-header-title h3{
        font-size: 1.5rem;
    }
    .about .about-header .about-header-title p{
        font-size: 13px;
    }
    .about .about-header .map{
        padding: 20px 0;
    }
    .about-footer-text p,
    .about-footer-dropdown-content header .title,
    .about-footer-dropdown-content header i{
        font-size: 14px;
    }
    .about-footer-dropdown-content .description{
        font-size: 13px;
    }
}

/* Partenaire */

.partners {
    display: flex;
    align-items: center;
    justify-content: center;
}
.partners-main{
    color: var(--default-color);
    background-color: var(--background-color);
    padding-top: 10px;
    max-width: 1800px;
    width: 100%;
}
  
.partners .partners-title {
    text-align: center;
    padding-bottom: 20px;
    position: relative;
}
  
.partners .partners-title h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}
  
.partners .partners-title h2:after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--second-color);
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}
  
.partners .partners-title p {
    margin-bottom: 0;
}
  
.partners-links-carousel-main {
    --logo-count: 16;
    --loop-duration: calc(var(--logo-count) * 2s);
    overflow: hidden;
    width: 100%;
    height: 100px;
    position: relative;
    margin-inline: auto;
    mask-image: linear-gradient(
        to right,
        rgba(0,0,0,0),
        rgba(0,0,0,1) 20%,
        rgba(0,0,0,1) 80%,
        rgba(0,0,0,0)
    );
}
  
.partners-link-item {
    position: absolute;
    flex: 0 0 auto;
    left: calc(var(--logo-count) * (max(900px, 100%) + 200px) / 10 - 200px);
    top: 50%;
    transform: translateY(-50%);
    width: 100px; 
    cursor: pointer;
    animation: scrollLoop var(--loop-duration) infinite linear;
}
.partners-link-item img{
    width: 100%;
    transition: .3s ease-in-out;
    filter: grayscale(1);
    opacity: .75;
}
.partners-link-item:hover img{
    filter: none;
    opacity: 1;
}
@media (hover: none) {
    .partners-link-item img{
        filter: none;
        opacity: 1;
    }
}
.partners-link-item:nth-child(1){
    animation-delay: calc(var(--loop-duration) / var(--logo-count) * (var(--logo-count) - 1) * -1);
}
.partners-link-item:nth-child(2){
    animation-delay: calc(var(--loop-duration) / var(--logo-count) * (var(--logo-count) - 2) * -1);
}
.partners-link-item:nth-child(3){
    animation-delay: calc(var(--loop-duration) / var(--logo-count) * (var(--logo-count) - 3) * -1);
}
.partners-link-item:nth-child(4){
    animation-delay: calc(var(--loop-duration) / var(--logo-count) * (var(--logo-count) - 4) * -1);
}
.partners-link-item:nth-child(5){
    animation-delay: calc(var(--loop-duration) / var(--logo-count) * (var(--logo-count) - 5) * -1);
}
.partners-link-item:nth-child(6){
    animation-delay: calc(var(--loop-duration) / var(--logo-count) * (var(--logo-count) - 6) * -1);
}
.partners-link-item:nth-child(7){
    animation-delay: calc(var(--loop-duration) / var(--logo-count) * (var(--logo-count) - 7) * -1);
}
.partners-link-item:nth-child(8){
    animation-delay: calc(var(--loop-duration) / var(--logo-count) * (var(--logo-count) - 8) * -1);
}
.partners-link-item:nth-child(9){
    animation-delay: calc(var(--loop-duration) / var(--logo-count) * (var(--logo-count) - 9) * -1);
}
.partners-link-item:nth-child(10){
    animation-delay: calc(var(--loop-duration) / var(--logo-count) * (var(--logo-count) - 10) * -1);
}
.partners-link-item:nth-child(11){
    animation-delay: calc(var(--loop-duration) / var(--logo-count) * (var(--logo-count) - 11) * -1);
}
.partners-link-item:nth-child(12){
    animation-delay: calc(var(--loop-duration) / var(--logo-count) * (var(--logo-count) - 12) * -1);
}
.partners-link-item:nth-child(13){
    animation-delay: calc(var(--loop-duration) / var(--logo-count) * (var(--logo-count) - 13) * -1);
}
.partners-link-item:nth-child(14){
    animation-delay: calc(var(--loop-duration) / var(--logo-count) * (var(--logo-count) - 14) * -1);
}
.partners-link-item:nth-child(15){
    animation-delay: calc(var(--loop-duration) / var(--logo-count) * (var(--logo-count) - 15) * -1);
}
.partners-link-item:nth-child(16){
    animation-delay: calc(var(--loop-duration) / var(--logo-count) * (var(--logo-count) - 16) * -1);
}

@keyframes scrollLoop {
    to {
        left: -200px; 
    }
}
  
@media (max-width: 640px) {
    .partners-main{
        padding-bottom: 0;
    }
    .partners .partners-title h2{
        font-size: 1.5rem;
    }
    .partners .partners-title p{
        font-size: 14px;
    }
    .partners-links-carousel-main {
        height: 90px;
    }
}
  
@media (max-width: 480px) {
    .partners-links-carousel-main {
        height: 80px;
    }
    .partners-link-item {
      width: 70px;
    }
}

/* Actualities */

.actualities{
    padding: 60px 5%;
    overflow: clip;
    background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}

.actualities .actualities-title {
    text-align: center;
    position: relative;
}
  
.actualities .actualities-title h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}
  
.actualities .actualities-title h2:after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--second-color);
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}
  
.actualities .actualities-title p {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .actualities{
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .actualities .actualities-title h2{
        font-size: 1.5rem;
    }
    .actualities .actualities-title p{
        font-size: 14px;
    }
}

.swiper-pagination-bullet{
    background-color: var(--second-color);
}