/*For computer view*/

html {
    scroll-behavior: smooth;
}

a {
    outline: none;
    color: inherit;
    text-decoration: none;
}

button {
    outline: none
}

p {
    font-size: 16px;
}

@keyframes move {
    100% {
        transform: translate3d(0, 0, 1px) rotate(360deg);
    }
}

.background {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: #3E1E68;
    overflow: hidden;
}

.background span {
    width: 6vmin;
    height: 6vmin;
    border-radius: 6vmin;
    backface-visibility: hidden;
    position: absolute;
    animation: move;
    animation-duration: 27;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}


.background span:nth-child(0) {
    color: #E45A84;
    top: 52%;
    left: 65%;
    animation-duration: 19s;
    animation-delay: -66s;
    transform-origin: 15vw -12vh;
    box-shadow: 12vmin 0 2.1591150191764497vmin currentColor;
}

.background span:nth-child(1) {
    color: #FFACAC;
    top: 21%;
    left: 86%;
    animation-duration: 227s;
    animation-delay: -118s;
    transform-origin: 11vw -11vh;
    box-shadow: -12vmin 0 1.7233710473583868vmin currentColor;
}

.background span:nth-child(2) {
    color: #FFACAC;
    top: 47%;
    left: 86%;
    animation-duration: 18s;
    animation-delay: -151s;
    transform-origin: 15vw -13vh;
    box-shadow: 12vmin 0 2.2769430414320633vmin currentColor;
}

.background span:nth-child(3) {
    color: #E45A84;
    top: 48%;
    left: 39%;
    animation-duration: 199s;
    animation-delay: -220s;
    transform-origin: -7vw -7vh;
    box-shadow: 12vmin 0 2.3079248785966167vmin currentColor;
}

.background span:nth-child(4) {
    color: #FFACAC;
    top: 25%;
    left: 93%;
    animation-duration: 184s;
    animation-delay: -222s;
    transform-origin: 0vw 11vh;
    box-shadow: -12vmin 0 1.6847595093363072vmin currentColor;
}

.background span:nth-child(5) {
    color: #FFACAC;
    top: 52%;
    left: 43%;
    animation-duration: 87s;
    animation-delay: -197s;
    transform-origin: 25vw -6vh;
    box-shadow: 12vmin 0 2.2512495981789282vmin currentColor;
}

.background span:nth-child(6) {
    color: #E45A84;
    top: 54%;
    left: 12%;
    animation-duration: 127s;
    animation-delay: -18s;
    transform-origin: -8vw -4vh;
    box-shadow: 12vmin 0 2.067861456343345vmin currentColor;
}

.background span:nth-child(7) {
    color: #583C87;
    top: 54%;
    left: 55%;
    animation-duration: 100s;
    animation-delay: -68s;
    transform-origin: 11vw -8vh;
    box-shadow: -12vmin 0 2.3402073644466914vmin currentColor;
}

.background span:nth-child(8) {
    color: #FFACAC;
    top: 32%;
    left: 95%;
    animation-duration: 19s;
    animation-delay: -66s;
    transform-origin: 18vw -12vh;
    box-shadow: -12vmin 0 2.267954730074156vmin currentColor;
}

.background span:nth-child(9) {
    color: #FFACAC;
    top: 61%;
    left: 8%;
    animation-duration: 77s;
    animation-delay: -31s;
    transform-origin: -13vw -18vh;
    box-shadow: 12vmin 0 2.2158209716618726vmin currentColor;
}

.background span:nth-child(10) {
    color: #E45A84;
    top: 25%;
    left: 67%;
    animation-duration: 233s;
    animation-delay: -16s;
    transform-origin: -5vw 0vh;
    box-shadow: 12vmin 0 1.6217460842379932vmin currentColor;
}

.background span:nth-child(11) {
    color: #E45A84;
    top: 64%;
    left: 95%;
    animation-duration: 217s;
    animation-delay: -119s;
    transform-origin: 1vw 22vh;
    box-shadow: 12vmin 0 2.1459226515241596vmin currentColor;
}

.background span:nth-child(12) {
    color: #583C87;
    top: 3%;
    left: 13%;
    animation-duration: 112s;
    animation-delay: -153s;
    transform-origin: 16vw 6vh;
    box-shadow: -12vmin 0 1.5251905124015144vmin currentColor;
}

.background span:nth-child(13) {
    color: #E45A84;
    top: 15%;
    left: 93%;
    animation-duration: 70s;
    animation-delay: -129s;
    transform-origin: 18vw 13vh;
    box-shadow: 12vmin 0 2.1261217252484084vmin currentColor;
}

.background span:nth-child(14) {
    color: #FFACAC;
    top: 11%;
    left: 18%;
    animation-duration: 42s;
    animation-delay: -54s;
    transform-origin: 2vw 6vh;
    box-shadow: 12vmin 0 1.830408861187653vmin currentColor;
}

.background span:nth-child(15) {
    color: #583C87;
    top: 19%;
    left: 96%;
    animation-duration: 110s;
    animation-delay: -5s;
    transform-origin: 6vw -11vh;
    box-shadow: 12vmin 0 1.962628317795224vmin currentColor;
}

.background span:nth-child(16) {
    color: #E45A84;
    top: 40%;
    left: 95%;
    animation-duration: 41s;
    animation-delay: -22s;
    transform-origin: 1vw 14vh;
    box-shadow: -12vmin 0 2.0637836799501716vmin currentColor;
}

.background span:nth-child(17) {
    color: #583C87;
    top: 96%;
    left: 77%;
    animation-duration: 203s;
    animation-delay: -177s;
    transform-origin: -7vw 0vh;
    box-shadow: 12vmin 0 1.872410348269427vmin currentColor;
}

.background span:nth-child(18) {
    color: #FFACAC;
    top: 76%;
    left: 70%;
    animation-duration: 214s;
    animation-delay: -44s;
    transform-origin: 22vw -12vh;
    box-shadow: -12vmin 0 2.3095050881337893vmin currentColor;
}

.background span:nth-child(19) {
    color: #E45A84;
    top: 58%;
    left: 51%;
    animation-duration: 96s;
    animation-delay: -8s;
    transform-origin: -13vw 9vh;
    box-shadow: 12vmin 0 1.8053289450287604vmin currentColor;
}

.background span:nth-child(20) {
    color: #E45A84;
    top: 6%;
    left: 24%;
    animation-duration: 47s;
    animation-delay: -139s;
    transform-origin: -22vw 9vh;
    box-shadow: 12vmin 0 1.7926744258464895vmin currentColor;
}

.background span:nth-child(21) {
    color: #E45A84;
    top: 77%;
    left: 74%;
    animation-duration: 21s;
    animation-delay: -169s;
    transform-origin: -12vw -18vh;
    box-shadow: -12vmin 0 2.0635298284619794vmin currentColor;
}

.background span:nth-child(22) {
    color: #E45A84;
    top: 24%;
    left: 99%;
    animation-duration: 58s;
    animation-delay: -88s;
    transform-origin: 24vw -18vh;
    box-shadow: -12vmin 0 1.570946821529832vmin currentColor;
}

.background span:nth-child(23) {
    color: #E45A84;
    top: 77%;
    left: 40%;
    animation-duration: 102s;
    animation-delay: -79s;
    transform-origin: -18vw -19vh;
    box-shadow: 12vmin 0 1.891455296974664vmin currentColor;
}


.navbar {
    position: fixed;
    width: 100%;
    background: rgba(112, 51, 160, .3);
    z-index: 999;
    border-radius: 0%;
    border: none;
    padding-top: 5px;
    padding-bottom: 5px;
    transition: background .3s ease-out;
}

.affix {
    background: rgba(112, 51, 160, 1) !important;
}

#menu {
    margin-top: 4.5px;
}

#menu li {
    color: #fff;
    margin-left: 5px;
    margin-right: 5px;
}

#menu li a {
    padding: 0;
    margin: 0;
    padding: 10px;
    transition: color .2s;
}

#menu li a:hover {
    background: none !important;
    color: #5CEAD6;
}

.active {
    background: #fff;
    border-radius: 3px;
    color: #7033A0 !important;
    font-weight: 600;
}

.active a {
    color: inherit !important;
}

.btn-hover {
    font-size: 14px;
    font-weight: 500;
    color: #222 !important;
    cursor: pointer;
    margin-top: 5px;
    height: 40px;
    text-align: center;
    border: none;
    background-size: 300% 100%;

    border-radius: 3px;
    moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.btn-hover:hover {
    background-position: 100% 0;
    moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.btn-hover:focus {
    outline: none;
}

.btn-hover.color-1 {
    background-image: linear-gradient(to right, #25aae1, #40e495, #30dd8a, #25aae1);
    box-shadow: 0 4px 15px 0 rgba(49, 196, 190, 0.75);
}

.btn-hover.color-2 {
    color: #fff !important;
    font-weight: 400;
    background-image: linear-gradient(to right, #7033A0, #7E3778, #7E3778, #7033A0);
    box-shadow: 0 4px 15px 0 rgba(112, 51, 160, 0.75);
}

#badgeType1 {
    height: 40px;
    width: 40px;
    border: none;
    border-radius: 100%;
    background: #5CEAD6;
    font-size: 20px;
    padding-top: 10px;
    box-shadow: 3px 5px 20px rgba(0, 0, 0, .5);
}

#badgeType1 i {
    color: #002253 !important;
}

#badgeType2 {
    height: 80px;
    width: 80px;
    border: none;
    border-radius: 100%;
    background: rgba(126, 55, 120, .2);
    font-size: 35px;
    padding-top: 22.5px;
}

.badgeType3 {
    width: 150px;
    height: 150px;
    border: solid 1px rgba(112, 51, 160, 1);
    background: none;
    border-radius: 100%;
    color: rgba(112, 51, 160, 1);
    font-size: 60px;
    padding-top: 45px;
}

.badgeNull {
    background: none;
    border: none;
    border-radius: 0%;
    font-weight: normal;
}

.badgeType4 {
    width: 30px;
    height: 30px;
    border: solid 2px #fff;
    border-radius: 100%;
    background: none;
    font-size: 15px;
    padding: 0;
    padding-top: 6px;
}

#halfbox1:hover .fi-rr-angle-circle-left {
    display: none !important;
}

#halfbox1:hover #minhalfbox1 {
    width: 100% !important;
    opacity: 1 !important;
    transition: all .3s ease-out 0s !important
}

#halfbox1:hover #minhalfbox1 .halfcont {
    opacity: 1 !important;
    transition-delay: .3s !important
}

#halfbox1:hover #minhalfbox1 .halfcont .halfcontelem {
    display: block !important;
}


.btn-theme {
    background: var(--theme-color1);
    color: #212121;
}

.c-container {
    margin: auto;
    width: 93%;
    position: relative;
    z-index: 1;
}

.btn-outline-white {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    background-image: none;
    border-width: 2px;
    border-color: #fff;
    font-weight: 500;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.btn-outline-white:hover {
    background-color: #fff;
    color: var(--text-dark);
}

.testimonial p {
    font-size: 28px;
    letter-spacing: 0.02em;
    line-height: 35px;
}

.testimonial .name {
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 0.04em;
    line-height: 35px;
    text-align: left;
}

.testimonial .designation {
    font-size: 14px;
    letter-spacing: 0.04em;
    text-align: left;
    color: #fff;
    opacity: 0.65;
}

.unt {
    margin-bottom: 20px;
    margin-top: 60px;
}

.hero-text {
    font-size: 30px;
    letter-spacing: 0.02em;
    color: #fff;
}

.gallery-thumbs {
    height: 100%;
}

.gallery-thumbs .swiper-wrapper {
    align-items: center;
}

.gallery-thumbs .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 250px !important;
    height: 330px;
    position: relative;
}

.gallery-thumbs .swiper-slide img {
    filter: contrast(0.5) blur(2px);
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-thumbs .swiper-slide-active img {
    filter: contrast(1) blur(0px) !important;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, .2) !important;
    cursor: inherit !important;
}

.flex-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.flex-row .flex-col {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.gallery-thumbs .swiper-wrapper {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}


.testimonial-section .quote {
    width: 75%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 100px;
    padding-right: 100px;
}

.swiper-container.testimonial {
    height: 70vh;
}

.testimonial-section .user-saying {
    background: #7033A0;
    width: 60%;
    color: #fff;
}

.testi-user-img {
    width: 40%;
}

.testimonial-section {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.testimonial-section .quote p {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.8;
    font-style: italic;
    margin: 0;
}

.quote-icon {
    width: 38px;
    display: block;
    margin-bottom: 30px;
}

.form-contact input {
    border: solid 2px #666;
    border-radius: 3px;
    background: none;
    height: 50px;
    box-shadow: none !important;
    font-size: 16px;
    font-weight: 500;
    color: #7033A0;
}

.form-contact input:active {
    border: solid 2px #7033A0;
}


.form-contact input:focus {
    border: solid 2px #7033A0;
}

.form-contact textarea {
    border: solid 2px #666;
    border-radius: 3px;
    background: none;
    min-height: 200px;
    box-shadow: none;
    box-shadow: none !important;
    font-size: 16px;
    font-weight: 500;
    color: #7033A0;
}

.form-contact textarea:active {
    border: solid 2px #7033A0;
}

.form-contact textarea:focus {
    border: solid 2px #7033A0;
}





/* ]100px ; 1500px], +100% */

@media only screen and (min-width : 100px) and (max-width : 1500px) {}

/* ] -- ; 1200px], 133% | +133% */

@media only screen and (max-width : 1200px) {}



/* ]1700px ; 3000px], -100% */

@media only screen and (min-width : 1700px) and (max-width : 3000px) {}

/*=============================================
  MOBILE-FIRST RESPONSIVE STYLES
=============================================*/

/* ========= HAMBURGER MENU BUTTON ========= */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ========= NAVBAR CONTAINER ========= */
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar-header {
    display: flex;
    align-items: center;
    position: relative;
}

.navbar-brand-text {
    display: inline-block;
}

/* ========= TABLETTE - 991px ========= */
@media only screen and (max-width: 991px) {

    /* Navigation */
    .mobile-menu-toggle {
        display: block;
    }

    .navbar-container {
        flex-wrap: wrap;
        padding: 10px 15px;
    }

    .navbar-header {
        padding-right: 60px;
        /* Espace pour le hamburger */
    }

    .navbar-menu {
        display: none;
        width: 100%;
        background: rgba(112, 51, 160, 0.98);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    }

    .navbar-menu.active {
        display: block;
    }

    .navbar-menu #menu {
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 0;
    }

    .navbar-menu #menu li {
        margin: 5px 0;
        text-align: center;
    }

    .navbar-menu #menu li a {
        display: block;
        padding: 12px 15px;
        font-size: 16px;
    }

    /* Section Hero */
    #apropos .container {
        padding: 0 20px;
    }

    #apropos h2 {
        font-size: 24px !important;
        line-height: 1.3;
    }

    #apropos h5 {
        font-size: 14px !important;
    }

    /* Masquer les SVG décoratifs complexes */
    #apropos svg {
        display: none;
    }

    /* Section descriptive */
    .badgeType3 {
        width: 100px;
        height: 100px;
        font-size: 40px;
        padding-top: 30px;
    }

    /* Section témoignages */
    .testimonial-section {
        flex-direction: column;
    }

    .testi-user-img {
        width: 100%;
        margin-bottom: 20px;
    }

    .testimonial-section .user-saying {
        width: 100%;
        border-radius: 10px;
    }

    .testimonial-section .quote {
        width: 100%;
        padding: 30px 20px;
    }

    .gallery-thumbs .swiper-slide {
        width: 150px !important;
        height: 200px;
    }

    .swiper-container.testimonial {
        height: auto;
        min-height: 350px;
    }

    /* Formulaire de contact */
    .form-contact .form-group {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Footer */
    .container [class*="col-lg-4"] {
        margin-bottom: 20px;
    }
}

/* ========= MOBILE - 768px ========= */
@media only screen and (max-width: 768px) {

    /* ===== CORRECTIONS CRITIQUES SUPERPOSITION ===== */

    /* Convertir les sections absolues en relatives */
    section[style*="position: absolute"],
    div[style*="position: absolute"] {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }

    /* Masquer tous les SVG décoratifs */
    svg:not(.essential-svg) {
        display: none !important;
    }

    /* Typography */
    h1 {
        font-size: 28px !important;
    }

    h2 {
        font-size: 20px !important;
    }

    p {
        font-size: 14px;
    }

    /* ===== NAVBAR ===== */
    .navbar {
        padding: 8px 0;
        position: fixed !important;
        z-index: 9999;
    }

    .navbar-logo {
        max-height: 35px !important;
    }

    .navbar-brand-text {
        font-size: 16px !important;
        margin-left: 8px !important;
    }

    /* ===== SECTION HERO (APROPOS) ===== */
    section#apropos {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        padding-top: 80px !important;
        padding-bottom: 100px !important;
    }

    /* Forcer le background à être derrière */
    section#apropos .background {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    /* Contenu hero */
    section#apropos>.col-lg-12 {
        position: relative !important;
        margin-top: 0 !important;
        height: auto !important;
        z-index: 1;
    }

    section#apropos .container {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        padding: 20px;
    }

    #apropos .col-lg-7,
    #apropos .col-lg-7.col-lg-offset-1 {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 20px 15px !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
    }

    #apropos h2 {
        font-size: 18px !important;
        text-align: center;
        line-height: 1.4;
    }

    #apropos h5 {
        font-size: 12px !important;
        text-align: center;
    }

    #apropos .btn,
    #apropos button {
        display: block;
        width: 100%;
        margin-top: 20px;
    }

    /* Masquer le slider/mockup de la section hero */
    #revolution-slider {
        display: none !important;
    }

    /* ===== SECTION APRES HERO ===== */
    section#apropos+section,
    section.container-fluid[style*="top: 90%"] {
        position: relative !important;
        top: auto !important;
        margin-top: 0 !important;
    }

    /* ===== GRILLES BOOTSTRAP ===== */
    .col-lg-1,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12 {
        width: 100% !important;
        float: none !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .col-lg-offset-1,
    .col-lg-offset-2,
    .col-lg-offset-3,
    .col-lg-offset-4,
    .col-lg-offset-5,
    .col-lg-offset-6 {
        margin-left: 0 !important;
    }

    /* ===== SECTIONS PRINCIPALES ===== */
    section.container-fluid {
        position: relative !important;
        padding: 40px 15px !important;
        min-height: auto !important;
        height: auto !important;
    }

    .container {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        padding: 0 15px;
    }

    /* ===== SECTION OUTIL OPTIMISE ===== */
    .container>.col-lg-4,
    .container>.col-lg-8 {
        text-align: center;
    }

    /* Masquer les éléments décoratifs de la section logo */
    .col-lg-4>.col-lg-12[style*="margin-left: 160px"] {
        display: none !important;
    }

    /* ===== CARDS DE PRESENTATION ===== */
    .col-lg-4>.col-lg-12[style*="border-radius: 10px"] {
        margin-bottom: 20px;
        min-height: auto !important;
        padding: 25px 20px !important;
    }

    #badgeType2 {
        height: 60px;
        width: 60px;
        font-size: 25px;
        padding-top: 17.5px;
    }

    /* ===== SECTION VUE D'ENSEMBLE (MILIEU) ===== */
    /* Cette section est trop complexe pour mobile, on la masque */
    section.col-lg-12[style*="padding: 0"] {
        display: none !important;
    }

    /* Masquer l'image mockup centrale */
    .col-lg-4[style*="position: absolute"][style*="left: 50%"] {
        display: none !important;
    }

    section .col-lg-5,
    section .col-lg-2 {
        width: 100% !important;
        margin: 0 !important;
        height: auto !important;
        position: relative !important;
        left: auto !important;
    }

    section .col-lg-5 .col-lg-12 {
        position: relative !important;
        top: auto !important;
        transform: none !important;
        text-align: left;
        padding: 15px !important;
    }

    section .col-lg-5 h5 {
        font-size: 14px !important;
    }

    section .col-lg-5 .badge,
    #badgeType1 {
        margin-bottom: 10px;
    }

    /* ===== SECTION FONCTIONNALITES ===== */
    #fonctionnalites~section img.img-responsive {
        position: relative !important;
        left: auto !important;
        transform: none !important;
        max-width: 100% !important;
        max-height: 200px !important;
        margin: 20px auto;
        display: block;
    }

    .badgeType3 {
        width: 70px;
        height: 70px;
        font-size: 28px;
        padding-top: 22px;
        margin: 0 auto 15px;
    }

    /* ===== CARTES INTERACTIVES ===== */
    #halfbox1 {
        margin-bottom: 20px;
    }

    /* ===== SECTIONS ELLIPTIQUES ===== */
    section[style*="border-radius: 50%"],
    section[style*="border-radius: 0 0 50% 50%"],
    div[style*="border-radius: 50%"],
    div[style*="border-radius: 0 0 50% 50%"] {
        border-radius: 0 !important;
        width: 100% !important;
        left: 0 !important;
    }

    /* ===== SECTION TARIFS ===== */
    #tarifs~section .col-lg-3 {
        margin-bottom: 30px;
    }

    #tarifs~section .col-lg-3 svg {
        max-height: 250px;
        width: 100% !important;
    }

    #tarifs~section .col-lg-3 .col-lg-12[style*="position: absolute"] {
        position: relative !important;
        margin-left: 0 !important;
    }

    #tarifs~section .col-lg-3 h1 {
        font-size: 24px !important;
    }

    #tarifs~section .col-lg-3 h4 {
        font-size: 14px !important;
    }

    /* ===== SECTION TEMOIGNAGES - SIMPLIFIÉ ===== */

    /* Conteneur principal - vertical */
    .testimonial-section {
        flex-direction: column !important;
        display: flex !important;
    }

    /* Masquer complètement les images/slider */
    .testi-user-img,
    .gallery-thumbs {
        display: none !important;
    }

    /* Zone témoignages pleine largeur */
    .testimonial-section .user-saying {
        width: 100% !important;
        border-radius: 10px !important;
        min-height: auto !important;
        height: auto !important;
    }

    /* Masquer le swiper complexe, utiliser un défilement simple */
    .swiper-container.testimonial {
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
    }

    .swiper-container.testimonial .swiper-wrapper {
        flex-direction: column !important;
        transform: none !important;
    }

    .swiper-container.testimonial .swiper-slide {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin-bottom: 20px;
    }

    /* Style des citations */
    .testimonial-section .quote {
        width: 100% !important;
        padding: 20px !important;
        height: auto !important;
        display: block !important;
    }

    .testimonial-section .quote p {
        font-size: 14px !important;
        width: 100% !important;
        line-height: 1.6 !important;
    }

    .testimonial-section .quote .name {
        font-size: 14px !important;
        margin-top: 15px !important;
    }

    .testimonial-section .quote .designation {
        font-size: 12px !important;
    }

    .testimonial-section .quote i {
        font-size: 22px !important;
    }

    /* Pagination bullets */
    .swiper-pagination {
        position: relative !important;
        margin-top: 10px !important;
    }

    /* ===== FORMULAIRE CONTACT ===== */
    .form-contact input,
    .form-contact textarea {
        font-size: 14px;
    }

    .form-contact .col-lg-6 {
        margin-bottom: 15px;
    }

    .form-contact .form-group {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* ===== FOOTER ===== */
    section[style*="background: #7033A0"] .col-lg-4 {
        margin-bottom: 25px;
    }

    section[style*="background: #7033A0"] h5 {
        font-size: 14px !important;
    }

    /* ===== BOUTONS ===== */
    .btn-hover {
        width: 100%;
        padding: 12px 20px;
        font-size: 13px;
    }
}

/* ========= TRÈS PETIT MOBILE - 480px ========= */
@media only screen and (max-width: 480px) {

    h1 {
        font-size: 26px !important;
    }

    h2 {
        font-size: 18px !important;
    }

    #apropos h2 {
        font-size: 18px !important;
    }

    .navbar-brand-text {
        font-size: 16px !important;
    }

    /* Menu encore plus compact */
    .navbar-menu #menu li a {
        padding: 10px 12px;
        font-size: 14px;
    }

    /* Tarifs */
    #tarifs~section h1 {
        font-size: 22px !important;
    }

    /* Témoignages - masquer la galerie d'images */
    .testi-user-img {
        display: none;
    }

    .testimonial-section .user-saying {
        width: 100%;
        border-radius: 10px;
    }

    .swiper-container.testimonial {
        min-height: 300px;
    }

    /* Contact section ellipse fix */
    div[style*="border-radius: 50%"][style*="width: 200%"] {
        width: 100% !important;
        left: 0 !important;
        border-radius: 0 !important;
    }
}

/* ========= FIX OVERFLOW ========= */
@media only screen and (max-width: 991px) {
    body {
        overflow-x: hidden !important;
    }

    .container-fluid {
        overflow-x: hidden;
    }

    section[style*="width: 150%"],
    section[style*="width: 200%"],
    section[style*="width: 130%"] {
        width: 100% !important;
        left: 0 !important;
    }

    div[style*="width: 150%"],
    div[style*="width: 200%"] {
        width: 100% !important;
        left: 0 !important;
    }
}