html,body{
    width:100%;
    overflow-x:hidden;
}

body{
    font-family: "Montserrat Classic", sans-serif;
    overflow-x: hidden;
}

a, a:hover{
    text-decoration: none;
    color: white;
}

/* SCROLLBAR */

::-webkit-scrollbar {
    width: 5px;
    height: 10px;
}

::-webkit-scrollbar-track-piece {
    background-color: #000000;
}

::-webkit-scrollbar-thumb {
    height: 10px;
    background-color: #4d4d4d;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #5a5a5a;
}

/* COOKIES */

#cookie-banner{
    max-width: 320px;
    padding: 1rem;
    background-color: rgb(255, 255, 255);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    border: solid 0.5px rgba(5, 37, 87, 0.25);
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    position: fixed;
    bottom: 20px;
    right: -500px;
    z-index: 100;
    transform: translateX(1000px);
    transition: transform 0.3s ease-in-out;
}

#cookie-banner.show-cookie{
    right: 20px;
    transform: translateX(0);
    transition: transform 0.3s ease-in-out;
}

#cookie-banner button:not(#cookie-cross){
    padding: 0.5rem;
    border-radius: 5px;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-family: "Montserrat Medium", sans-serif;
}

#cookie-banner button:not(#cookie-cross):hover{
    color: rgba(255, 255, 255, 0.85);
}

#cookie-accept{
    background: linear-gradient(90deg, rgba(5, 37, 87, 0.9) 0%, rgba(4, 51, 122, 0.9) 100%);
}

#cookie-deny{
    background: linear-gradient(90deg, rgba(13, 40, 82, 0.9) 0%, rgba(5, 34, 84, 0.9) 100%);
}

#cookie-accept:hover{
    background: linear-gradient(90deg, rgba(5, 37, 87, 1) 0%, rgba(4, 51, 122, 1) 100%);
}

#cookie-deny:hover{
    background: linear-gradient(90deg, rgba(11, 82, 114, 1) 0%, rgba(11, 109, 154, 1) 100%);
}

#cookie-cross{
    border-radius: 10px;
    right: 2px;
    top: 2px;
    background: none;
    border: none;
    position: absolute;
    z-index: 200;
}

#cookie-cross svg{
    fill: #881010;
    transition: all 0.3s;
}

#cookie-cross:hover svg{
    fill: #b71414;
    transition: all 0.3s;
}

.cookie-content-container svg{
    width: 65px;
    height: 65px;
}

.cookie-content-container .d-flex p{
    font-family: "Montserrat Bold", sans-serif;
    color: #052557;
    font-size: 20px;
    margin-left: 0.7vw;
    margin-top: 20px;
}

.cookie-content-container p{
    font-family: "Montserrat Medium", sans-serif;
    color: black;
    font-size: 14px;
}

.cookie-content-container p a{
    font-family: "Montserrat SemiBold", sans-serif;
    color: #083a85;
}

.cookie-content-container p a:hover{
    font-family: "Montserrat SemiBold", sans-serif;
    color: #0c52b2;
}

@media (max-width: 767px) {
    #cookie-banner{
        max-width: calc(100vw - 47px);
        padding-block: 0.5rem;
    }

    .cookie-content-container svg{
        width: 40px;
        height: 40px;
    }

    .cookie-content-container .d-flex p{
        font-size: 18px;
        margin-left: 3vw;
        margin-top: 15px;
        letter-spacing: 2px;
    }

    .cookie-content-container p{
        font-size: 12px;
    }

    #cookie-banner button:not(#cookie-cross){
        font-size: 14px;
    }
}

/************************************************************/

/* ============================
   POSTS CAROUSEL STYLES
   ============================ */

.posts-carousel-container {
    margin-top: 2rem;
}

.posts-swiper .swiper-slide {
    height: auto;
    transition: all 0.4s ease;
}

.posts-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

.post-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(5, 37, 87, 0.15);
}

.post-image-container {
    position: relative;
    overflow: hidden;
    height: 275px;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .post-image {
    transform: scale(1.05);
}

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(5, 37, 87, 0.7) 0%, 
        rgba(26, 76, 140, 0.5) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 20px;
}

.post-card:hover .post-overlay {
    opacity: 1;
}

.post-category-tag {
    background: rgba(255, 255, 255, 0.9);
    color: #052557;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Montserrat SemiBold', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-content {
    padding: 15px 25px 30px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-title {
    font-family: 'Montserrat Bold', sans-serif;
    font-size: 1.4rem;
    height: calc(6rem * 2%);
    color: #052557;
    line-height: 1.3;
    margin-bottom: 15px;
    display: block;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.post-excerpt {
    font-family: 'Montserrat', sans-serif;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: block;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.post-read-more {
    color: #052557;
    font-weight: 600;
    font-family: 'Montserrat SemiBold', sans-serif;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    align-self: flex-start;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.post-read-more:hover {
    color: #1a4c8c;
    border-bottom-color: #1a4c8c;
    text-decoration: none;
}

.post-read-more i {
    transition: transform 0.3s ease;
}

.post-read-more:hover i {
    transform: translateX(5px);
}

/* Navigation personnalisée */
.posts-navigation .swiper-button-prev,
.posts-navigation .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #052557;
    transition: all 0.3s ease;
    z-index: 10;
}

.posts-navigation .swiper-button-prev {
    left: var(--swiper-navigation-sides-offset, -6vw) !important;
}

.posts-navigation .swiper-button-next {
    right: var(--swiper-navigation-sides-offset, -6vw) !important;
}

.posts-navigation .swiper-button-prev:hover,
.posts-navigation .swiper-button-next:hover {
    background: #052557;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.posts-navigation .swiper-button-prev::after,
.posts-navigation .swiper-button-next::after {
    display: none;
}

.posts-navigation i {
    font-size: 1.2rem;
}

/* Pagination personnalisée */
.posts-pagination {
    position: relative !important;
    margin-top: 40px !important;
}

.posts-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #d1d5db;
    opacity: 1;
    transition: all 0.3s ease;
}

.posts-pagination .swiper-pagination-bullet-active {
    background: #052557;
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 991px) {
    .posts-navigation .swiper-button-prev,
    .posts-navigation .swiper-button-next {
        display: none;
    }
    
    .post-title {
        font-size: 1.2rem;
    }
    
    .post-content {
        padding: 25px 20px;
    }
    
    .post-image-container {
        height: 17.5rem;
    }
}

@media (max-width: 576px) {
    .post-card {
        margin: 0 10px;
    }
    
    .post-title {
        font-size: 1.1rem;
    }
    
    .post-content {
        padding: 20px 15px;
    }
    
    .post-image-container {
        height: 15rem;
    }
    
    .posts-swiper {
        padding: 10px 0 50px 0;
    }
}


/* SUGGEST POST */
#suggest-post-prestation{
    margin-block: 75px;
}

#suggest-post-prestation h2{
    margin-block: 30px;
}

#suggest-post-prestation #myCarousel{
    background: rgb(241, 241, 241);
    padding-block: 20px;
}

#suggest-post-prestation #myCarousel button{
    background-color: black;
}

#suggest-post-prestation .card-post{
    margin-inline: 2vw;
    max-width: 70%;
}

#suggest-post-prestation .carousel-item{
    margin-left: 35px;
}

#suggest-post-prestation .card-post img{
    max-height: 195px;
}

#post h2, #suggest-post h2, #suggest-post-prestation h2, .titre-section{
    font-family: "Montserrat Bold", sans-serif;
    letter-spacing: 5px;
    background: linear-gradient(280deg, rgb(0, 0, 0) 0%, rgb(0, 73, 169) 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-post .card-title {
    margin-bottom: 0;
}

.card-post .card-body {
    margin-bottom: 0;
    align-items: center;
    padding: 0 1rem;
}

.card-post h5{
    letter-spacing: 0.5px;
    margin-top: 5px;
    height: 100px;
    overflow: hidden;
}

.card-post p{
    font-size: 1rem;
    text-justify: auto;
    padding-block: 10px;
    line-height: 1.4;
}

.card-post{
    cursor: pointer;
    transform: scale(1);
    transition: 0.3s;
    overflow: hidden;
    border: 1px solid rgba(128, 128, 128, 0.2);
}

.card-post:hover{
    transform: scale(1.05);
    transition: 0.3s;
}

.card-post:hover img{
    transform: scale(1.075);
    transition: 30s;
}

.card-post a{
    color: black;
}

#suggest-post .card-post{
    min-height: 100%;
}

#suggest-post .card-post h5{
    letter-spacing: 0.5px;
    margin-top: 5px;
    height: 100px;
    overflow: hidden;
}

#post .first-card{
    margin-right: 3vw;

}

#post .second-card{
    margin-left: 3vw;
}

#post .first-card, #post .second-card{
    height: 450px;
}

.card-post img{
    max-height: 250px;
}

#suggest-post{
    margin-top: 150px;
    margin-bottom: 100px;
}

#suggest-post h2{
    margin-block: 30px;
}

#suggest-post #myCarousel{
    background: rgb(241, 241, 241);
    padding-block: 20px;
}

#suggest-post #myCarousel button{
    background-color: black;
}

.carousel-indicators .indicator-button-1, .carousel-indicators .indicator-button-2, .carousel-indicators .indicator-button-4, .carousel-indicators .indicator-button-5{
    display: none;
}

#suggest-post .card-post{
    margin-inline: 3vw;
}

@media (max-width: 991px) {
    #suggest-post .carousel-item{
        margin-left: unset;
    }
}

@media (max-width: 767px) {
    .carousel-indicators .indicator-button-1, .carousel-indicators .indicator-button-2, .carousel-indicators .indicator-button-4, .carousel-indicators .indicator-button-5{
        display: block;
    }

    #suggest-post h2{
        letter-spacing: 5px;
    }

    #suggest-post .card-post{
        max-width: 100%;
    }
}

/* COMPONENTS */

.type-people button {
    border: none;
    position: relative;
    width: 75%;
    height: 200px;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: background-zoom 0.3s forwards;
}

.type-people button:hover {
    animation: background-zoom-out 0.3s forwards;
}

.type-people button:active {
    animation: background-zoom 0.3s forwards;
}

@keyframes background-zoom {
    from {
        background-size: 100%;
    }
    to {
        background-size: 120%;
    }
}

@keyframes background-zoom-out {
    from {
        background-size: 120%;
    }
    to {
        background-size: 100%;
    }
}

.btn-particulier {
    background-image: url("../assets/img/btn-un-particulier.jpg");
}

.btn-salarie {
    background-image: url("../assets/img/btn-un-salarie.jpg");
}

.btn-manager {
    background-image: url("../assets/img/btn-un-manager.jpg");
}

.btn-dirigeant {
    background-image: url("../assets/img/btn-un-dirigeant.jpg");
}

.btn-sportif {
    background-image: url("../assets/img/btn-un-sportif.jpg");
}

.btn-artiste {
    background-image: url("../assets/img/btn-un-artiste.jpg");
}

.type-people button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
}

.type-people button span{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 60px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 50;
    color: #ffffff;
    line-height: 20px;
    font-family: "Montserrat SemiBold", sans-serif;
    text-shadow: 0 0 25px #17578c;
    font-size: 1.1vw;
}

.type-people button .name-type-people{
    max-height: 175px;
}

.type-people button .btn-subtitle-type-people{
    position: relative;
    background: none;
    font-size: 0.8rem;
}

@media (max-width: 1500px) {
    .type-people button span{
        font-size: 1rem;
    }

    .type-people button .btn-subtitle-type-people{
        font-size: 0.7rem;
    }
}

@media (max-width: 991px) {
    #suggest-post-prestation .carousel-item{
        margin-left: unset;
    }
}

@media (max-width: 767px) {
    #suggest-post-prestation h2{
        letter-spacing: 5px;
    }

    #suggest-post-prestation .card-post{
        max-width: 100%;
    }

    .type-people button span{
        font-size: 0.75rem;
    }

    .type-people button .btn-subtitle-type-people{
        font-size: 0.6rem;
    }
}

/* SNACKBAR */

.consulting{
    font-size: 20px;
}

.end-position{
    position: absolute;
    right: 20px;
}

#snackbar{
    display: none;
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    padding: 15px;
    background-color: #333;
    color: #fff;
    border-radius: 4px;
    z-index: 9999;
}

#snackbar.show{
    display: block;
    z-index: 9999;
}

/* BTN */

.btn-cta {
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    font-size: 1rem;
    letter-spacing: 1px;
}

.btn-cta:hover {
    background-color: #052557;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.btn-cta:hover span {
    color: white !important;
}

.btn-cta:hover i {
    color: white !important;
}

.btn-cta i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn-cta span {
    color: #052557;
    font-weight: 600;
    transition: all 0.3s ease;
}

.buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-primary, .btn-primary-dark {
    padding: 12px 30px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    min-width: 200px;
    justify-content: center;
}

.btn-primary {
    background-color: #ffffff;
    color: #052557;
    border: 2px solid #ffffff;
}

.btn-primary-dark {
    fill: #ffffff;
    background-color: #052557;
    color: #ffffff;
    border: 2px solid #052557;
}

.btn-primary-dark svg g{
    fill: #ffffff;
    transition: fill .2s ease;
}

.btn-primary:hover, .btn-primary-dark:hover {
    text-decoration: none;
}

.btn-primary:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-primary-dark:hover {
    background-color: #e9eaeb;
    color: #052557;
    border-color: #052557;
}

.btn-primary-dark:hover svg g{
    fill: #052557;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    min-width: 200px;
    justify-content: center;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #052557;
    text-decoration: none;
}

@media (max-width: 991px) {
    .buttons {
        justify-content: space-evenly;
    }
}


@media (max-width: 768px) {
    .buttons {
        flex-direction: column;
        align-items: center;
    }
}

.top-margin {
    margin-top: 12.5rem;
}

@media (max-width: 1200px) {
    .top-margin {
        margin-top: 10rem;
    }
}

@media (max-width: 991px) {
    .top-margin {
        margin-top: 7.5rem;
    }
}

.page-title, .page-sub-title {
    font-family: "Montserrat SemiBold", sans-serif;
    font-variant-caps: all-small-caps;
    line-height: 0.75;
    color: #052557;
}

.page-title {
    font-size: calc(2.5rem + 1.5vw);
}

.page-sub-title {
    font-size: calc(1.75rem + 1.25vw);
}

.bg-primary-gradient {
    background: linear-gradient(137deg, #052557 40%, #0848a7 100%);
}

a.bg-primary-gradient:hover {
    background: #ffffff !important;
}

a.bg-primary-gradient:active {
    color: #052557 !important;
    scale: 0.95;
    transition: scale 0.2s ease 0s;
}

/* LETTER SPACING */
.lspace-6 {
    letter-spacing: 6px;
}

.lspace-4 {
    letter-spacing: 4px;
}

.lspace-2 {
    letter-spacing: 2px;
}

/* CAROUSEL CLIENTS */

#clients{
    background: linear-gradient(135deg, #052557 0%, #1a4c8c 100%);
}

#clients h2{
    font-family: "Montserrat SemiBold", sans-serif;
    letter-spacing: 2px;
    background: -webkit-linear-gradient(4deg, rgb(212, 212, 212) 0%, rgb(255, 255, 255) 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.clients-swiper {
    padding: 20px 0;
    overflow: hidden;
}

.clients-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.client-card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: 2rem 1rem;
}

.client-card:hover {
    transform: translateY(-10px);
}

.client-logo {
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.client-card:hover .client-logo {
    transform: scale(1.05);
}

.card-carousel{
    border: none !important;
    background: rgba(8, 62, 138, 0);
    perspective: 500px;
}

.card-carousel .experience{
    width: 85%;
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(90deg);
    transform-origin: 50%;
    background: linear-gradient(4deg, rgb(212, 212, 212) 0%, rgb(255, 255, 255) 100%);
    border-radius: 5px;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    margin-left: 1px;
    overflow: hidden;
    padding: 1.5rem;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.card-carousel .experience *, .card-carousel .experience *::before, *::after {
    box-sizing: border-box;
}

.card-carousel .experience h6{
    font-family: "Montserrat SemiBold", sans-serif;
    font-size: calc(1.275rem + 0.3vw)
}

.card-carousel .experience p{
    font-family: "Montserrat Classic", sans-serif;
    letter-spacing: 0.5px;
    color: black;
}

.card-carousel:hover .experience,
.card-carousel:active .experience,
.card-carousel.active .experience {
    transform: translate(-50%, -50%) rotateY(0deg);
    opacity: 1;
}

.card-carousel img{
    width: 80%;
}

.carousel-inner{
    width: 80%;
}

.client-card:hover .experience {
    opacity: 1;
    max-height: 100%;
}

.client-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.client-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.expand-icon {
    margin: 0.5rem 0;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-card:hover .expand-icon {
    transform: rotate(180deg);
    opacity: 1;
}

.logo-card-experience {
    width: 30%;
    max-width: 60px;
    opacity: 0.8;
}

@media (max-width: 991px){
    .card-carousel .experience h6{
        font-size: calc(0.7rem + 0.3vw)
    }

    .card-carousel .experience p{
        text-align: center;
        font-size: 11px;
    }

    .card-carousel .experience hr{
        margin-block: 15px;
    }
}

@media (max-width: 767px){
    .card-carousel .experience h6{
        font-size: calc(1.075rem + 0.3vw)
    }

    .card-carousel .experience p{
        text-align: center;
        font-size: 14px;
    }

    .carousel-inner .carousel-item > div{
        display: none;
    }

    .carousel-inner .carousel-item > div:first-child{
        display: block;
    }

    .carousel-inner .carousel-item-right.active, .carousel-inner .carousel-item-next, .carousel-item-next:not(.carousel-item-start){
        transform: translateX(100%) !important;
    }

    .carousel-inner .carousel-item-left.active, .carousel-item-prev:not(.carousel-item-end), .active.carousel-item-start, .carousel-item-prev:not(.carousel-item-end){
        transform: translateX(-100%) !important;
    }

    .carousel-item-next.carousel-item-start, .active.carousel-item-end{
        transform: translateX(0) !important;
    }

    .carousel-inner .carousel-item-prev, .carousel-item-prev:not(.carousel-item-end){
        transform: translateX(-100%) !important;
    }
}

.carousel-inner .carousel-item.active, .carousel-inner .carousel-item-start, .carousel-inner .carousel-item-next, .carousel-inner .carousel-item-prev{
    display: flex;
}

@media (min-width: 600px){
    .carousel-inner .carousel-item-right.active, .carousel-inner .carousel-item-next, .carousel-item-next:not(.carousel-item-start){
        transform: translateX(33.33333%) !important;
    }

    .carousel-inner .carousel-item-left.active, .carousel-item-prev:not(.carousel-item-end), .active.carousel-item-start, .carousel-item-prev:not(.carousel-item-end){
        transform: translateX(-33.33333%) !important;
    }

    .carousel-item-next.carousel-item-start, .active.carousel-item-end{
        transform: translateX(0) !important;
    }

    .carousel-inner .carousel-item-prev, .carousel-item-prev:not(.carousel-item-end){
        transform: translateX(-33.33333%) !important;
    }
}

.carousel-inner .carousel-item-end, .carousel-inner .carousel-item-start{
    transform: translateX(0);
}

/* ------------- */

/* Slogan */
#duo-t2pm {
    font-family: "Montserrat ExtraLight", sans-serif;
    padding-block: 2rem;
}