/* Reset de base */
@media (min-width: 1024px) {
    .blocks .container, .footer-top .container, .footer-bottom .container {
        max-width: 1290px;
    }
}
@media (min-width: 1025px) {
    header .container {
        max-width: 1400px;
    }
}

@media (min-width: 1920px) {
    .slider h1 {
        font-size: 70px !important;
        text-align: left;
    }
    .slider .container {
        width: 93% !important;

    }
    .slider.en .container {
        width: 84% !important;
    }
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
}
 .container {
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 30px);
}
.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
/* Header */
header{
    background-color: #ffffff;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
header .hd-top-content{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo h1 {
    margin: 0;
}
.logo strong {
    display: none;
}
.logo img {
    height: 50px;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.phone-free p {
    margin: 0;
    font-weight: bold;
}
.phone-free a {
    color: #FF5A1A;
    text-decoration: none;
    font-weight: bold;
    margin-left: 5px;
}
.block-title strong {
    display: inline-block;
    text-transform: uppercase;
    font-size: 30px;
    background-color: #333;
    color: #fff;
    position: relative;
    padding: 3px 20px;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}
.block-title strong:before, .block-title strong:after {
    content: "";
    display: block;
    height: 4px;
    width: 533px;
    background-color: #eee;
    position: absolute;
    top: 50%;
    margin-top: -2px;
}
.block-title strong:before {
    right: 100%;
    margin-right: 15px;
}
 .block-title strong:after {
    left: 100%;
    margin-left: 15px;
}
.block-title {
    margin: 0 75px 30px;
}
.lang a {
    margin-left: 2px;
    text-decoration: none;
    color: #333;
    font-weight: 400;
    font-size: 14px;
}
.lang a.active {
    font-weight: bold;
}

/* Slider section */


/* 2 blocs section */
.blocks {
    padding: 50px 20px;
}
.service-tool {
    align-items: center;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 30px;
    background-color: #ffffff;
}
.block {
    max-width: 47%;
    background-color: #fdfdfd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.block span {
    text-transform: uppercase;
    color: #676f7e;
    font-weight: 500;
}
.block:hover {
    transform: translateY(-5px);
}
.block img {
    padding-bottom: 12px;
    width: 10%;
    object-fit: cover;
}
.block svg {
    padding: 13px;
    color: #1c2f5a;
    border-radius: 10px;
    border: 1px solid #FFB400;
    background: #f26722;
    margin-bottom: 12px;
}
.block h2 {
    margin: 15px 0 10px;
    font-size: 22px;
    line-height: 26px;
    color: #141d2e;
}
.block p {
    color: #555;
}
.block a {
    display: inline-block;
    margin-bottom: 20px;
    padding: 9px 25px;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 0.3s;
    background-color: #1a305b;
    text-align: center;
    font-weight: 400;
}
.block a:hover {
    background-color: #e04e16;
}
.phone-free {
    display: inline-block;
    vertical-align: top;
    padding-top: 2px;
    padding-left: 47px;
    position: relative;
}
.phone-free:before {
    content: "";
    display: block;
    width: 36px;
    height: 36px;
    background: url('../img/icon-image.png') no-repeat -240px -577px;
    position: absolute;
    top: 10px;
    left: 0;
}
[data-content-type='html'] {
    word-wrap: break-word;
}
.phone-free p {
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #333;
    margin-bottom: 0;
}
.phone-free a {
    display: table;
    line-height: 1;
    padding-top: 2px;
    font-size: 22px;
    font-weight: 700;
    color: #333333;
}
.section-title {
    text-align: center;
    padding: 40px 20px 20px 20px;
    background-color: #ffffff;
}
.section-title h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #333;
}
.section-title p {
    font-size: 1.1em;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

/* FOOTER GLOBAL */
footer.footer {
    /* Couleur de fond du footer */
    /* Texte en blanc */
    line-height: 1.6;
    background-color: #333;
    color: #aaa;
    font-size: 107.69%;
}

/* FOOTER TOP */
.footer-top {
    padding: 60px 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

/* COLONNES */
.footer-col {
    max-width: 33.333%;
    flex: 1 1 300px; /* Pour la responsivité, minimum 300px */
    padding: 0 20px;
    text-align: left;
}
.footer-col.map {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* LOGO */
.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

/* NUMÉRO DE TÉLÉPHONE ET ADRESSE */
.footer-phone a {
    margin-bottom: 10px;
    color: #FFB400;
    font-size: 30px;
    font-weight: 700;
    text-decoration:none;
}
.hover-type-zoomin {
    overflow: hidden;
}
.hover-type-zoomin:hover img {
    opacity: 0.9;
    -webkit-transform: scale3d(1.1, 1.1, 1);
    transform: scale3d(1.1, 1.1, 1);
}
.hover-type-zoomin img {
    opacity: 1;
    -webkit-transition: all 0.4s !important;
    -moz-transition: all 0.4s !important;
    -ms-transition: all 0.4s !important;
    -o-transition: all 0.4s !important;
}
.footer-address {
    font-size: 15px;
    line-height: 32px;
    font-weight: 400;
    color: #aaa;
}

/* SOCIAL ICONS */
.social-icons {
    display: flex;
    gap: 15px;
    justify-content: left;
    margin: 10px 0 20px;
}

.social-icons a {
    font-size: 16px;
    transition: color 0.3s;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.1);
}

.social-icons a:hover { background-color: #FFB400; }

.social-icons a:hover svg {
    fill: black;
}
.social-icons a:hover {
    color: #FFB400; /* Couleur au hover */
}

/* PAYMENT IMAGE */
.footer-block-content img {
    height: auto;
    max-width: 173px;
}

/* FOOTER BOTTOM */
.footer-bottom {
    background-color: #2c2c2c;
    padding: 20px;
}

.footer-bottom .container {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links li a, .copyright {
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
    color: #aaa;
    font-weight: 400;
}

.footer-links li a:hover {
    color: #FFB400;
}


/* RESPONSIVE */
@media (max-width: 992px) {

    .footer-col {
        max-width: 50%;
        margin-bottom: 5px;
    }
    .container, .container-sm, .container-md, .container-lg {
        max-width: 960px;
    }
}

@media (max-width: 600px) {
    .footer-links {
        justify-content: center;
        gap: 6px;
    }
    .footer-col {
        max-width: 100%;
        text-align: center;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}


img.mgz-hover-main {
    max-width: 373px;
    width: 396px;
    height: auto;
    margin-bottom: 20px;
    margin-top: 3px;
    border: 0;
}

footer.footer h4 {
    font-size: 18px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 15px;
}

@media (min-width: 1200px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl {
        max-width: 1140px;
    }
}


@media (max-width: 1024px) {
    .footer-col {
        padding: 0;

    }
    body .container, body .page-main {
        max-width: 1290px;
    }
    .block-title strong {
        text-transform: uppercase;
        font-size: 26px;
        padding: 6px 27px;
    }
    .slider {
        margin: 20px 20px 0 20px;
        height: 299px;
        background-repeat: no-repeat;
    }
    .page-header .header-container .phone-free {
        margin-right: 15px;
        margin-left: 15px;
        white-space: nowrap;
    }
    .block-title strong:before, .block-title strong:after {

       content: none;
    }
    .service-tool {
        flex-direction: column;
    }
    .block {
        max-width: 100%;
        width: 100%;
    }
    .block p {
        min-height: 66px;
    }
}
@media (min-width: 768px) {
    .container, .container-sm, .container-md {
        max-width: 720px;
    }
}
/* Responsive */
@media (max-width: 768px) {
        html[lang="fr"] .banner-inner h2 {
        font-size: 37px;
        line-height: 38px;
    }
    .slider {
        margin: 10px 10px 0 10px;
        height: 260px;
    }
    .logo img {
        height: 31px;
    }
    .block-title {
        margin: 0 0 30px;
    }

    .phone-free {
        display: none;
    }
    .block-title strong {
        font-size: 18px;
        padding: 10px 20px;
        margin-bottom: 14px;
    }
    .block-title strong:before, .block-title strong:after {
        content: none;
    }
    .slider .container {
        width: 100%;
        padding: 0;
        flex-direction: column;
        text-align: center;
    }

    .slider .left,
    .slider .right {
        max-width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
    .blocks {
        flex-direction: column;
        align-items: center;
    }
    .slider h1 {
        text-align: center;
        font-size: 2em;
    }
    .slider p {
        text-align: center;
    }
    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .footer-links {
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .container, .container-sm {
        max-width: 540px;
    }
    .social-icons {
        justify-content: center;
    }
    .slider {
        margin: 0 0;
        height: 66vh;
        background-image: url(../img/banner-mobile.jpg);
    }
}
@media (max-width: 375px) {
    .slider {
        height: 46vh;

    }
}

/* BANNIÈRES FULL WIDTH */
.banners-wrapper {
  
    border-radius: 20px;
    overflow: hidden;
}

.banner-full {
    display: block;
    width: 100%;
    position: relative;
    text-decoration: none;
    overflow: hidden;
}

/* Banner Image - natural size with zoom animation */
.banner-img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.banner-full:hover .banner-img {
    transform: scale(1.02);
}

/* Dark overlay for text visibility */
/* .banner-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}*/

/* Banner Inner Content */
.banner-inner {
    position: absolute;
    z-index: 2;
    padding: 40px 60px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

/* Title */
.banner-inner h2 {
    margin: 0 0 20px;
    font-size: 77px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    color: white;
    font-family: 'Work Sans', sans-serif;
    text-shadow: 2px 2px 8px rgb(0 0 0 / 33%), 0 0 20px rgba(0, 0, 0, 0.5);
}

/* French version specific styles */
html[lang="fr"] .banner-inner h2 {
    font-size: 95px;
    line-height: 89px;
}

/* Button */
.banner-full .banner-btn {
    display: inline-block;
    background: #dd621b;
    color: white;
    padding: 15px 60px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    text-transform: uppercase;
    font-family: 'Work Sans', sans-serif;
}


/* Image reflection effect */
.banner-full::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: 0;
    right: 0;
    height: 50%;
    background: inherit;
    transform: scaleY(-1);
    opacity: 0.15;
    -webkit-mask-image: linear-gradient(transparent, black);
    mask-image: linear-gradient(transparent, black);
    pointer-events: none;
}

/* Responsive Bannières Full Width */
@media (min-width: 1920px) {
    .banner-inner h2 {
        font-size: 142px;
        line-height: 133px;
    }
}

@media (max-width: 1440px) {
    html[lang="fr"] .banner-inner h2 {
        font-size: 85px;
        line-height: 79px;
    }
    .banner-inner h2 {
        font-size: 80px;
    }
}

@media (max-width: 1024px) {
    .banner-inner {
        padding: 30px 40px;
    }
    html[lang="fr"] .banner-inner h2 {
        font-size: 42px;
        line-height: 1;
    }
    .banner-inner h2 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    html[lang="fr"] .banner-inner h2 {
        font-size: 37px;
        line-height: 38px;
    }
    .banner-inner h2 {
        font-size: 35px;
    }
}

@media (max-width: 600px) {
    .banners-wrapper {
        margin: 10px;
    }
    .banner-full {
        min-height: 280px;
    }
    .banner-img {
        width: 100%;
        height: 260px;
        object-fit: cover;
        object-position: center;
    }
    .banner-inner {
        padding: 0;
        width: 100%;
    }
    .banner-inner h2 {
        font-size: 28px;
    }
    .banner-full .banner-btn {
        padding: 10px 30px;
        font-size: 14px;
    }
}