/*
Theme Name: VMA
Author: Ton Nom
Description: Thème WordPress minimaliste et optimisé
Version: 1.0
Text Domain: vma
*/


@font-face {
    font-family: 'Poppins';
    src: url('../vma-theme/fonts/poppins.woff2') format('woff2');
}

html,
body {
    font-family: 'Poppins';
    color: #6C687B;
}

h2,
h3,
h4,
.h5,
.h2 {
    color: #353241;
}

.bandeau-content h1,
.bandeau-content h2,
.bandeau-content p.titre-bandeau {
    color: var(--bs-white);
    font-size: 2.5rem;
    font-weight: 500;
}

.bandeau-content h3,
.bandeau-content p.description {
    color: var(--bs-white);
    font-size: 1rem;
    font-weight: 400;
    margin-top: 15px;
}

a {
    color: #14345E;
}

a:hover {
    color: #ff3131;
}

.font-64 {
    font-size: 64px;
}

.bandeau-container {
    width: 100%;
    overflow: hidden;
}

.page-template-services .bandeau-container .carousel-item img,
.home .bandeau-container .carousel-item img,
.page-template-services .bandeau-container .carousel-item video{
    max-height: 570px;
    object-fit: cover;
}

.page-id-132.page-template-services .bandeau-container .carousel-item img,
.home .bandeau-container .carousel-item img {
    object-position: 50% 40%;
}

.bandeau-image {
    position: relative;
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-caption {
    z-index: 2
}

.bandeau-content {
    color: #fff;
    padding: 20px;
    z-index: 2;
    width: 60%;
    margin-left: 0;
}

.overlay_slider,
.mySwiperProduits .overlay-produit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.overlay-produit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
    border-radius: 15px;
}


.btn-slider {
    color: #14345E;
    padding: 12px 25px;
    border-radius: 4px;
    background: #FFF;
    border: 1px solid #FFF;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-slider:hover {
    color: #FFF;
    background: #14345E;
}

.page-template-services.page-id-100 .bandeau-container .carousel-item img {
    object-position: 50% 65%;
}

.contact-menu a,
#gform_submit_button_1 {
    background: #14345E !important;
    color: #FFF !important;
    border-radius: 4px !important;
    border: 1px solid #14345E !important;
}

#gform_submit_button_1 {
    width: 100%;
}

.contact-menu a:hover,
#gform_submit_button_1:hover {
    background: #FFF !important;
    color: #14345E !important;
}

.btn-vma {
    border-radius: 4px;
    background: #14345E;
    padding: 12px 25px;
    color: #FFF;
    border: 1px solid #14345E;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease, color 0.3s ease;
    /* Animation fluide */
}

.btn-vma:hover {
    background: #FFF;
    color: #14345E;
}

.page-id-100 .produit-link img,
.page-id-142 .produit-link img {
    height: 356px;
    object-fit: cover;
}

.img-border-15 {
    border-radius: 15px;
}

.bg-blue-vma {
    background: #14345E;
}

.border-25 {
    border-radius: 25px;
}

.chiffres-cles .bg-blue-vma {
    position: relative;
}

.chiffres-cles .bg-blue-vma:before {
    position: absolute;
    content: "";
    background: url('/wp-content/uploads/2025/03/before-chiffre-cle.png');
    width: 175px;
    height: 175px;
    bottom: 0;
    right: 0;
    border-bottom-right-radius: 25px;
}

.container-swiper {
    max-width: calc(50% + 660px);
    width: 100%;
    margin-left: auto;
}

.section-swiper-produits .swiper-button-prev:after,
.swiper-arrow-produit .swiper-button-prev:after,
.mySwiperActu .swiper-button-prev:after {
    content: url('/wp-content/uploads/2025/03/Arrow-left.svg')
}

.section-swiper-produits .swiper-button-next:after,
.swiper-arrow-produit .swiper-button-next:after,
.mySwiperActu .swiper-button-next:after  {
    content: url('/wp-content/uploads/2025/03/Arrow-right.svg')
}

.swiper-arrow {
    width: 150px;
    position: absolute;
    right: 0;
    top: 0;
}

.swiper-arrow-produit {
    width: 100px;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

/*.mySwiperActu {
    padding-top: 50px !important;
}*/

.text-light-avis h2,
.text-light-avis p {
    color: #FFF
}

.link-footer,
.menu-glossaire-container #menu-glossaire li a,
#menu-nos-services li a {
    color: #6C687B;
    text-decoration: none
}

.link-footer:hover,
.menu-glossaire-container #menu-glossaire li a:hover,
#menu-nos-services li a:hover {
    color: #ff3131;
}

.page-template-services h3 {
    font-size: 1.25rem;
    margin-bottom: 0px;
}

.pb-6 {
    padding-bottom: 4.5rem !important;
}

.pt-6 {
    padding-top: 4.5rem !important;
}


.contenu-ref {
    height: 250px;
    overflow: auto;
}

.menu-glossaire-container #menu-glossaire,
#menu-nos-services {
    list-style: none;
    padding-left: 0px;
}

#gform_fields_1 {
    row-gap: 10px;
}

.gform-theme--framework input,
.gform-theme--framework textarea,
.gform-theme--framework select {
    border-radius: 6px !important;
    background: #F4F7FA !important;
    border: none !important
}

.mySwiperReal img {
    height: 400px;
    object-fit: cover;
    width: 100%;
}


button.ubermenu-responsive-toggle-align-full {
    text-align: right !important;
}

.ubermenu-responsive-toggle-icon-only .fas {
    content: url('/wp-content/uploads/2025/03/menu-toggle.svg');
    font-size: 22px;
}

.main-navigation .ubermenu .ubermenu-target {
    padding: 15px 19px;
}

.page-template-contact .chiffres-cles {
    display: none;
}

@media screen and (max-width: 768px) {

    .page-template-services .bandeau-container img,
    #bandeau-carousel img {
        height: 510px;
    }

    .page-template-services .bandeau-content,
    #bandeau-carousel .bandeau-content {
        width: 100%;
        padding: 0px 20px;
    }

    .page-template-services .carousel-caption {
        left: inherit;
        right: inherit;
        padding: inherit;
    }

    .swiper-arrow {
        position: relative;
        margin: auto;
    }

     .mySwiperActu {
        padding-top:0 !important;
        padding-bottom : 50px !important;
     }

    .mySwiperActu .swiper-arrow {
        position: absolute;
        margin: auto;
        top: inherit;
        bottom: 5%;
        left: 50%;
        transform: translateX(-50%);
        width: inherit;
    }

    .page-id-100 .produit-link img {
        height: 256px;
        object-fit: cover;
    }

}

@media (min-width: 992px) {
    .mb-lg-7 {
        margin-bottom: 6rem !important;
    }

    .pb-lg-7 {
        margin-bottom: 6rem !important;
    }

    .pb-lg-6 {
        padding-bottom: 4.5rem !important;
    }

    .pt-lg-6 {
        padding-top: 4.5rem !important;
    }
}

@media screen and (max-width: 575px) {

    .bandeau-content h1,
    .bandeau-content h2,
    .bandeau-content p.titre-bandeau {
        font-size: 1.8rem;
    }

    .bandeau-content h3,
    .bandeau-content p.description {
        font-size: 0.9rem;
    }
}

.produit-link {
    overflow: hidden;
    border-radius: 15px;
}

.produit-link h3 {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.produit-link:hover h3 {
    transform: translateY(-6px);
}

/* Animation zoom/dezoom */
@keyframes zoomPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

/* Classe pour appliquer l’animation */
.btn-zoom {
    display: inline-block;
    transition: transform 0.3s ease;
    animation: zoomPulse 2s ease-in-out infinite;
    padding: 20px 70px !important;
        font-size: 20px;
}

/* (Optionnel) effet au survol pour plus de réactivité */
.btn-zoom:hover {
    transform: scale(1.1);
}

@media screen and (max-width: 640px) {
.btn-zoom {

    padding: 20px 20px !important;
    font-size: 16px;
}
}

.accordion-button {
  background-color: transparent !important;
  color: #383648 !important;
  font-size: 18px;
  font-weight: 500;
  box-shadow: none !important;
  padding: 10px 0;
}

.accordion-item {
  background-color: transparent !important;
  border: none !important;
  border-bottom: 1px solid #dfdfdf !important;
}

.accordion-button:not(.collapsed) {
  font-weight: 700;
  color: #14345E !important;
}

.accordion-item:last-of-type .accordion-button.collapsed,
.accordion-item:last-of-type .accordion-collapse,
.accordion-item:last-of-type {
  border-radius: 0px !important;
}

.page-template-contact .bandeau-container .carousel-item img {
    max-height: 300px;
       object-fit: cover;
}

@media (max-width: 767.98px) { 
    .page-template-contact .bandeau-container .carousel-item img {
    max-height: 185px;
}

.img-logo-vma {
    width:100px;
}
 }