/* Reset et variables */
:root {
    --primary-color: #b95ee4;
    --secondary-color: #8d2de2;
    --background-dark: #0c0414;
}

body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    background-color: var(--background-dark);
    color: #fff;
    font-family: 'Inter', sans-serif;
}

/* Header et Hero Section */
.header-wrapper {
    position: relative;
    background-color: var(--background-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.navbar {
    padding: 1.5rem 0;
}

.navbar-brand .logo {
    width: 75%;
}

.navbar-nav {
    gap: 2rem;
    align-items: center;
}

.nav-item a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-item a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 4rem 0;
    position: relative;
}

.hero-content {
    max-width: 800px;
    text-align: left;
    position: relative;
    z-index: 2;
}

/* Galerie d'images */
.hero-gallery {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1.5rem;
    padding: 3rem;
    height: 100%;
    animation: fadeIn 1s ease-in-out;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    cursor: pointer;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            rgba(185, 94, 228, 0.2),
            rgba(141, 45, 226, 0.2));
    z-index: 1;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::before {
    opacity: 0;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(141, 45, 226, 0.3);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.95);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
    filter: brightness(1);
}

/* Animation de l'apparition des images */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Style du contenu */
.quality-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: pulse 2s infinite;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Overlay dégradé sur la galerie */
.hero-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            var(--background-dark) 0%,
            rgba(12, 4, 20, 0.9) 20%,
            rgba(12, 4, 20, 0.6) 40%,
            rgba(12, 4, 20, 0.2) 70%,
            rgba(12, 4, 20, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Buttons */
.cta-btn {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(141, 45, 226, 0.4);
}

.hero-cta {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .gallery-grid {
        padding: 2rem;
        grid-gap: 1rem;
    }
}

@media (max-width: 1200px) {
    .hero-gallery {
        width: 45%;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .gallery-grid {
        padding: 1.5rem;
    }
}

.mobile-fixed {
    display: none!important;
    display: block;
    position: fixed;
    bottom: 10px;
    z-index: 1000;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 992px) {
    .hero-gallery {
        width: 100%;
        display: block;
        height: auto;
        margin-top: 60px;
    }

    .mobile-fixed {
        display: flex!important;;
    }

    .gallery-grid {
        grid-gap: 0.75rem;
        padding: 1rem;
    }

    .header-wrapper {
        min-height: 80vh !important;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-content button {
        margin-left: 30px;
    }

    .cta-btn {
        padding: 15px 20px !important;
        width: 78%;
    }

    .tabpanel-tabs {
        flex-direction: column;
    }

    .tabpanel-wrapper {
        padding: 0 !important;
    }

    .footer-section .cta-btn {
        margin: 35px auto;
    }

    .mobile-center {
        display: flex;
        align-items: center;
    }

    .footer-section {
        padding: 0px !important;
    }
}


/* Navbar Toggle Button */
.navbar-toggler {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Mise à jour du style des images latérales */
.side-image {
    position: fixed;
    top: 50px;
    width: 350px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
    opacity: 0.7;
}

.side-image img {
    filter: hue-rotate(280deg) saturate(1.5) brightness(0.8);
    transition: all 0.3s ease;
}

.side-image img:hover {
    filter: hue-rotate(280deg) saturate(2) brightness(1);
}

/* Ajustement du style des sections */
.pricing-section {
    background: linear-gradient(-45deg, var(--secondary-color), var(--primary-color), var(--tertiary-color), var(--quinary-color));
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

.pricing-content {
    background: rgba(12, 4, 20, 0.4);
    backdrop-filter: blur(10px);
}

/* Style des accordéons */
.accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%) !important;
    color: #fff;
}

.collapsed {
    background: rgba(12, 4, 20, 0.8);
    color: #fff;
}

/* Style du footer */
footer {
    background: rgba(12, 4, 20, 0.95) !important;
}

/* Style des liens du menu */
#navbarNavAltMarkup a {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

#navbarNavAltMarkup a:hover {
    color: var(--primary-color);
}

/* Animation du gradient */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Effet de survol sur les boutons */
.cta-btn:hover {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Style de la popup d'âge */
.age-popup-overlay {
    background: rgba(12, 4, 20, 0.98);
}

.age-popup-content {
    background: rgba(141, 45, 226, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(141, 45, 226, 0.2);
}

#age-yes {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

#age-no {
    background: rgba(12, 4, 20, 0.8);
}

/* Style du bouton de retour en haut */
#scrollTopBtn {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

/* Ajustement pour le mode mobile */
@media (max-width: 768px) {
    nav {
        background: rgba(12, 4, 20, 0.95) !important;
    }

    .navbar-toggler {
        background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%) !important;
    }
}

.side-image:first-child img {
    transform: scaleX(-1);
}

.side-image.left {
    left: 143px;
    transform: translateX(0);
}

.side-image.right {
    right: 143px;
    transform: translateX(0);
}


.center-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.center-content h1 {
    color: #ffffff;
    font-size: 5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.main-link {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #fff;
    color: #181845;
    font-weight: bold;
    border-radius: 18px;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    transition: background 0.2s, color 0.2s;
}

.main-link:hover {
    background: var(--secondary-color);
    color: #fff;
}

/* Animation classes */
.side-image.left.out {
    transform: translateX(-120%);
}

.side-image.right.out {
    transform: translateX(120%);
}


.super {

    font-size: 2.5rem;
    letter-spacing: 2px;
    font-size: 60px;
}

.cta-btn {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: 16px;
    padding: 1rem 2.5rem;
    box-shadow: 0 4px rgba(141, 45, 226, 0.3);
    margin-top: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px rgba(141, 45, 226, 0.4);
}

.navbar-nav {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.navbar-nav li .cta-btn {
    margin-top: 0;
}


#navbarNavAltMarkup {
    width: 100% !important;
    color: white;
}

#navbarNavAltMarkup ul {
    padding: 0;
    margin: 0 auto;
    display: flex;
    width: 40%;
}

#navbarNavAltMarkup ul li {
    display: flex;
    width: 100%;
    display: flex;
    justify-content: center;
}

#navbarNavAltMarkup a {
    color: white;
    text-decoration: none;
}

.navbar {
    position: absolute;
    z-index: 1000 !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
    text-align: center;
    color: #fff;
    background: rgba(12, 4, 20, 0.8);
    backdrop-filter: blur(10px);
}


/* .cta-grid-btn .cta-btn {
    transform: scale(1.8);
} */

.grid-section .accordion-button::after {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1em;
    width: 1em;
    height: 1em;
    display: inline-block;
    margin-left: auto;
    transform: scale(1.5);
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(90deg) scale(1.5);
}


.accordion {
    --bs-accordion-btn-active-icon: unset;
    --bs-accordion-btn-icon: unset;
}

/* .collapsed, */
.navbar-toggler {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--secondary-color) 50%, var(--tertiary-color) 100%) !important;
    width: 60px;
    height: 60px;
    display: flex;
    align-content: center;
    justify-content: center;
    padding: 0 !important;
    align-items: center;
}

.nav-bar ul {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    list-style-type: none;
}

.nav-bar a {
    color: #fff;
    text-decoration: none;
    margin: 0 1rem;
    font-family: sans-serif;
}

.section-height {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

#pourquoi-mym ul {
    margin: 24px 0 24px 24px;
    padding: 0;
    color: #444;
    font-size: 1.08rem;
}

#pourquoi-mym li {
    margin-bottom: 14px;
    line-height: 1.6;
}


#pourquoi-mym .tip {
    background: #e8f5e9;
    border-left: 5px solid var(--primary-color);
    padding: 16px 20px;
    border-radius: 8px;
    margin-top: 32px;
    color: var(--secondary-color);
    font-size: 1.08rem;
}


.pricing-text p,
.tip,
ul li,
p {
    color: #dddddd !important;
}

.hero-content h1 {
    color: #fff !important;
}

#pourquoi-mym {
    max-width: 700px;
    margin: 60px auto;
    background: rgba(12, 4, 20, 0.8);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(141, 45, 226, 0.15);
    padding: 40px 32px;
    color: #fff;
}

#pourquoi-mym h2 {
    color: var(--primary-color);
}

#pourquoi-mym ul {
    margin: 24px 0 24px 24px;
    padding: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
}

#pourquoi-mym .tip {
    background: rgba(141, 45, 226, 0.1);
    border-left: 5px solid var(--primary-color);
    color: rgba(255, 255, 255, 0.9);
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    padding: 10px 5vw;
    /* background: #fff; */
    box-sizing: border-box;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 32px;
    line-height: 1.1;
}

.hero-content .highlight {
    color: #39d300;
    font-weight: 900;
}

.tips-list {
    margin: 0 0 24px 0;
    font-size: 1.15rem;
    font-weight: 400;
}

.tips-list li {
    margin-bottom: 12px;
}

.tips-bottom {
    font-size: 1.1rem;
    margin-top: 16px;
}

#taxes-pieds img {
    width: 100%;
    border-radius: 20px;
}



.hero-illustration {
    flex: 1;
    width: 65%;
    margin: 25px auto 0px auto;
    overflow: hidden;
    height: 400px;
    margin-top: 40px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%), url('./images/BG-PIED-.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.hero-illustration h2 {
    color: rgb(255, 251, 251) !important;
}

#trouver-acheteurs h2 {
    color: var(--primary-color);
}

.hero-illustration img {
    width: 76%
}


@media (max-width: 900px) {

    .footer-accordion {
        width: unset !important;
    }

    .navbar-nav {
        padding: 30px 0;
    }

    .navbar-nav li {
        margin: 10px 0;
        width: 50%;
    }

    .cta-btn {
        transform: scale(1.2);
    }

    .hero-section {
        flex-direction: column;
        padding: 32px 2vw;
    }

    #navbarNavAltMarkup ul {
        width: 100%;
        display: unset;
    }

    .side-image {
        width: 120px;
        height: 100vh !important;
    }

    .hero-content,
    .hero-illustration {
        max-width: 100%;
        width: 100%;
    }

    .hero-illustration {
        margin-top: 32px;
    }
}

ul li {
    list-style-type: none;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 12px;
    margin: 0
}

ul {
    padding: 0;
    margin: 0;
}

#trouver-acheteurs {
    background: rgba(12, 4, 20, 0.95);
    padding: 45px 0;
}

/* Section de défilement horizontal */
.horizontal-scroll-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
    /* overflow: hidden; */
}

.scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.scroll-content {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    will-change: transform;
}

.tip-card {
    flex: 0 0 50% !important;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
}

.tip-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.tip-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tip-card ul {
    list-style-type: none;
    padding: 0;
}

.tip-card ul li {
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.tip-card ul li:before {
    content: "•";
    color: #007bff;
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .tip-card {
        flex: 0 0 300px;
    }

    #navbarNavAltMarkup ul {
        width: 100%;
        display: unset;
    }

}

main {
    position: relative;
    z-index: 200;
}

.pricing-section {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, var(--secondary-color), var(--tertiary-color));
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    position: relative;
    padding: 80px 0;
    color: #fff;
}

/* Animation du fond dégradé */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.pricing-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: linear-gradient(to bottom, rgb(36, 8, 64) 5%, #0c0414);
    backdrop-filter: blur(10px);
    border-radius: 20px;
}

.pricing-content h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.pricing-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #fff;
}

@media (max-width: 768px) {
    .pricing-content {
        padding: 20px;
        margin: 0 15px;
    }

    .pricing-content h2 {
        font-size: 2rem;
    }

    #navbarNavAltMarkup ul {
        width: 100%;
        display: unset;
    }
}

#scrollTopBtn {
    z-index: 2100;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar {
    position: fixed;
}

.nav-item a {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-item a:hover {
    color: var(--primary-color);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (min-width: 1025px) and (max-width: 1160px) {
    .navbar {
        padding: 0 15px;
    }

    .center-content {
        width: 75%;
    }
}

/* Tablettes (768px - 1024px) */
@media (max-width: 1024px) {
    .center-content {
        width: 75%;
    }

    .side-image {
        width: 250px;
    }

    .navbar {
        padding: 0 15px;
    }

    .side-image.left {
        left: 50px;
    }

    .side-image.right {
        right: 50px;
    }


    .super {
        font-size: 50px;
    }

    #cta-btn-fixed {
        transform: scale(1);
    }

    .cta-btn {
        font-size: 1rem;
        padding: 0.8rem 2rem;
        transform: scale(1.2);
    }

    .nav-bar ul {
        height: 50px;
    }

    .nav-bar a {
        margin: 0 0.8rem;
        font-size: 0.9rem;
    }

    #pourquoi-mym {
        max-width: 600px;
        margin: 40px auto;
        padding: 0 20px;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .tip-card {
        min-width: 280px;
        margin: 0 15px;
    }

    .pricing-content {
        padding: 40px 20px;
    }
}

/* Tablettes petites (768px - 900px) */
@media (max-width: 900px) {

    /*A opier pour mobile*/
    .card-grid {
        padding: 5px !important;
    }

    .hero-illustration {
        height: auto;
        margin: 0;
    }

    .hero-content>div,
    .card-grid>div,
    .grid-section>.container {
        padding: 0px !important;
        width: 100% !important;
    }

    #cta-btn-fixed {
        bottom: 610px !important;
        top: 86vh;
        right: 0px !important;
        left: 0px !important;
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
        height: 40px;
        width: 85%;
        margin: 0 auto;
    }

    .side-image {
        width: 120px;
        height: 50vh;
    }

    #pourquoi-mym {
        padding: 15px !important;
    }

    /*A opier pour mobile*/
    .side-image {
        width: 200px;
    }

    .side-image.left {
        left: 20px;
    }

    .side-image.right {
        right: 20px;
    }

    .center-content {
        width: 90%;
    }

    .center-content h1 {
        font-size: 4rem;
        margin-bottom: 1.5rem;
    }

    .super {
        font-size: 40px;
        letter-spacing: 1px;
    }

    .cta-btn {
        font-size: 0.9rem;
        padding: 0.7rem 1.8rem;
    }

    .nav-bar {
        padding: 0.5rem 0;
    }

    .nav-bar ul {
        height: 45px;
    }

    .nav-bar a {
        margin: 0 0.6rem;
        font-size: 0.85rem;
    }

    .section-height {
        height: 50vh;
        gap: 1.5rem;
    }

    #pourquoi-mym {
        max-width: 500px;
        margin: 30px auto;
        padding: 0 15px;
    }


    h2 {
        font-size: 2.5rem;
    }

    #pourquoi-mym ul {
        margin: 20px 0 20px 20px;
        font-size: 1rem;
    }

    .hero-content h2 {
        font-size: 1.6rem;
    }

    .tips-list li {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .tip-card {
        min-width: 250px;
        margin: 0 10px;
        padding: 20px;
    }

    .tip-card h3 {
        font-size: 1.2rem;
    }

    .tip-card p {
        font-size: 0.9rem;
    }

    .pricing-content {
        padding: 30px 15px;
    }

    .pricing-content h2 {
        font-size: 1.8rem;
    }
}

/* Mobiles (480px - 768px) */
@media (max-width: 768px) {


    .cta-btn {
        transform: scale(1.4);
    }

    .cta-grid-btn {
        padding: 30px 0;
    }

    .container,
    .container-sm {
        max-width: unset;
    }

    .navbar-nav {
        margin-top: 20px;
    }

    .navbar-nav li {
        margin: 10px 0;
    }

    .navbar {
        padding: 10px 0;
    }

    .navbar .logo {
        width: 155px !important;
    }

    #cta-btn-fixed {
        display: none !important;
    }


    /*A opier pour mobile*/
    #navbarNavAltMarkup ul {
        width: 100%;
        display: unset;
    }

    .card-grid {
        padding: 5px !important;
    }

    .hero-illustration {
        height: auto;
        margin: 0;
    }

    .hero-content>div,
    .card-grid>div,
    .grid-section>.container {
        padding: 0px !important;
        width: 100% !important;
    }

    #cta-btn-fixed {
        bottom: 610px !important;
        top: 86vh;
        right: 0px !important;
        left: 0px !important;
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
        height: 40px;
        width: 85%;
        margin: 0 auto;
    }

    .side-image {
        width: 120px;
        height: 50vh;
    }

    #pourquoi-mym {
        padding: 15px !important;
    }

    /*A opier pour mobile*/
    .side-image {
        width: 150px;
    }

    .side-image.left {
        left: 10px;
    }

    .side-image.right {
        right: 10px;
    }

    .center-content {
        width: 90%;
    }

    .center-content h1 {
        font-size: 4rem;
        margin-bottom: 1rem;
        line-height: 1;
    }

    .super {
        font-size: 32px;
        letter-spacing: 0.5px;
    }

    .cta-btn {
        font-size: 0.85rem;
        padding: 0.6rem 1.5rem;
        margin-top: 1rem;
    }

    .nav-bar {
        padding: 0.3rem 0;
    }

    .nav-bar ul {
        height: 40px;
        flex-direction: column;
        gap: 5px;
    }

    .nav-bar a {
        margin: 0 0.4rem;
        font-size: 0.8rem;
    }

    .section-height {
        height: 40vh;
        gap: 1rem;
        padding: 20px 0;
    }

    #pourquoi-mym {
        max-width: 100%;
        margin: 20px auto;
        padding: 0 10px;
    }

    h2 {
        font-size: 2.8rem !important;
        text-align: center;
    }

    .hero-illustration {
        height: 300px;
        padding: 10px;
    }

    #cta-btn-fixed {
        display: block !important;
    }

    .navbar.scrolled {
        padding-bottom: 20px;
    }

    .navbar-nav li {
        width: 45%;
    }

    #fixed_mobile {
        display: none;
    }

    #taxes-pieds {
        flex-direction: column;
    }

    #taxes-pieds img {
        width: 100%;
        border-radius: 20px;
    }

    #pourquoi-mym p {
        font-size: 0.95rem;
        text-align: justify;
    }

    #pourquoi-mym ul {
        margin: 15px 0 15px 15px;
        font-size: 0.9rem;
    }

    .navbar-nav li {
        width: 100%;
    }

    #fixed_mobile {
        display: unset !important;
        position: fixed;
        bottom: 0 !important;
        z-index: 3000;
        width: 100vw;
        padding: 20px;
    }


    #pourquoi-mym li {
        margin-bottom: 10px;
    }

    #pourquoi-mym .tip {
        padding: 12px 15px;
        margin-top: 20px;
        font-size: 0.9rem;
    }

    .hero-content h2 {
        font-size: 1.4rem;
        text-align: center;
    }

    .tips-list {
        padding: 0 10px;
    }

    .tips-list li {
        font-size: 0.9rem;
        margin-bottom: 10px;
        text-align: justify;
    }

    .tips-bottom {
        font-size: 0.9rem;
        text-align: justify;
        padding: 0 10px;
    }

    .tip-card {
        min-width: 220px;
        margin: 0 8px;
        padding: 15px;
    }

    .tip-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .tip-card p {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .tip-card ul {
        margin: 10px 0;
    }

    .tip-card ul li {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }

    .pricing-content {
        padding: 20px 10px;
    }

    .pricing-content h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .pricing-text p {
        font-size: 0.9rem;
    }

    #cta-btn-fixed {
        bottom: 20px;
        right: 20px;
        font-size: 0.8rem;
        padding: 0.5rem 1.2rem;
    }
}

/* Mobiles petits (320px - 480px) */
@media (max-width: 480px) {


    /*A opier pour mobile*/
    .text-side .cta-btn {
        transform: scale(1.5) !important;
    }

    #cta-btn-fixed {
        display: block !important;
        width: 100% !important;
        border-radius: none !important;
        transform: scale(1.5) !important;
    }

    .list-li-strong {
        display: flex;
        flex-direction: column;
    }

    .list-li-strong li,
    .list-li-strong ul li {
        /* display: unset !important; */
        margin-bottom: 20px !important;
        flex-direction: column;
    }


    .list-li-strong strong {
        display: unset !important;
        margin: 0 !important;
        background: var(--secondary-color) !important;
    }

    .navbar-brand {
        position: unset !important;
        left: unset !important;
    }

    .card-grid .row {
        padding: 20px !important;
    }

    .cta-grid-btn .cta-btn {
        transform: scale(1.8) !important;
    }

    #navbarNavAltMarkup ul {
        width: 100%;
        display: unset;
    }

    .footer-accordion {
        width: 100% !important;
    }

    .card-grid {
        padding: 5px !important;
    }

    .hero-illustration {
        height: auto;
        margin: 0;
    }

    .hero-content>div,
    .card-grid>div,
    .grid-section>.container {
        padding: 10px !important;
        width: 100% !important;
    }

    .navbar-nav {
        margin-top: 20px;
    }

    .navbar-nav li {
        margin: 10px 0;
    }

    .navbar {
        padding: 10px 0;
    }

    .navbar .logo {
        width: 155px !important;
    }

    #cta-btn-fixed {
        display: none !important;
    }

    #fixed_mobile {
        position: fixed;
        bottom: 0 !important;
        z-index: 3000;
        width: 100vw;
        padding: 20px;
    }

    .side-image {
        width: 120px;
        height: 50vh;
    }

    #pourquoi-mym {
        padding: 15px !important;
    }

    /*A opier pour mobile*/




    .side-image.left {
        left: 5px;
    }

    .side-image.right {
        right: 5px;
    }

    .center-content {
        width: 95%;
    }

    .center-content h1 {
        margin-bottom: 0.8rem;
    }

    .super {
        font-size: 28px;
        letter-spacing: 0.3px;
    }

    .cta-btn {
        font-size: 0.8rem;
        padding: 0.5rem 1.2rem;
        margin-top: 0.8rem;
    }

    .nav-bar ul {
        height: 35px;
        gap: 3px;
    }

    .nav-bar a {
        margin: 0 0.3rem;
        font-size: 0.75rem;
    }

    .section-height {
        height: 35vh;
        gap: 0.8rem;
        padding: 15px 0;
    }

    #pourquoi-mym {
        margin: 15px auto;
        padding: 0 8px;
    }

    #pourquoi-mym h2 {
        font-size: 1.2rem;
    }

    #pourquoi-mym p {
        font-size: 0.9rem;
    }

    #pourquoi-mym ul {
        margin: 12px 0 12px 12px;
        font-size: 0.85rem;
    }

    #pourquoi-mym li {
        margin-bottom: 8px;
    }

    #pourquoi-mym .tip {
        padding: 10px 12px;
        margin-top: 15px;
        font-size: 0.85rem;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .tips-list {
        padding: 0 8px;
    }

    .tips-list li {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    .tips-bottom {
        font-size: 0.85rem;
        padding: 0 8px;
    }

    .tip-card {
        min-width: 200px;
        margin: 0 6px;
        padding: 12px;
    }

    .tip-card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .tip-card p {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }

    .tip-card ul li {
        font-size: 0.75rem;
        margin-bottom: 5px;
    }

    .pricing-content {
        padding: 15px 8px;
    }

    .pricing-content h2 {
        font-size: 1.3rem;
    }

    .pricing-text p {
        font-size: 0.85rem;
    }

    #cta-btn-fixed {
        bottom: 15px;
        right: 15px;
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    #scrollTopBtn {
        bottom: 76px !important;
    }
}

/* Très petits écrans (moins de 320px) */
@media (max-width: 320px) {


    .navbar-nav {
        margin-top: 20px;
    }

    .navbar-nav li {
        margin: 10px 0;
    }

    .navbar {
        padding: 10px 0;
    }

    .navbar .logo {
        width: 155px !important;
    }

    #cta-btn-fixed {
        display: none !important;
    }

    #fixed_mobile {
        position: fixed;
        bottom: 0 !important;
        z-index: 3000;
        width: 100vw;
        padding: 20px;
    }

    /*A opier pour mobile*/
    #scrollTopBtn {
        bottom: 76px !important;
    }

    #cta-btn-fixed {
        display: block !important;
        width: 100% !important;
        border-radius: none !important;
        transform: scale(1.5) !important;
    }

    .text-side .cta-btn {
        transform: scale(1.5) !important;
    }

    .list-li-strong {
        display: flex;
        flex-direction: column;
    }

    .list-li-strong li,
    .list-li-strong ul li {
        /* display: unset !important; */
        margin-bottom: 20px !important;
        flex-direction: column;
    }


    .list-li-strong strong {
        display: unset !important;
        margin: 0 !important;
        background: var(--secondary-color) !important;
    }

    .navbar-brand {
        position: unset !important;
        left: unset !important;
    }

    .card-grid .row {
        padding: 20px !important;
    }

    .navbar-brand {
        position: unset !important;
        left: unset !important;
    }

    #navbarNavAltMarkup ul {
        width: 100%;
        display: unset;
    }

    .cta-grid-btn .cta-btn {
        transform: scale(1.5);
    }

    .footer-accordion {
        width: 100% !important;
    }

    .card-grid {
        padding: 5px !important;
    }

    .hero-illustration {
        height: auto;
        margin: 0;
    }

    .hero-content>div,
    .card-grid>div,
    .grid-section>.container {
        padding: 0px !important;
        width: 100% !important;
    }

    #cta-btn-fixed {
        bottom: 610px !important;
        top: 86vh;
        right: 0px !important;
        left: 0px !important;
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
        height: 40px;
        width: 85%;
        margin: 0 auto;
    }

    .side-image {
        width: 120px;
        height: 50vh;
    }

    #pourquoi-mym {
        padding: 15px !important;
    }

    /*A opier pour mobile*/

    .side-image {
        width: 100px;
    }

    .side-image.left {
        left: 2px;
    }

    .side-image.right {
        right: 2px;
    }

    .center-content h1 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .super {
        font-size: 24px;
    }

    .cta-btn {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .nav-bar ul {
        height: 30px;
    }

    .nav-bar a {
        font-size: 0.7rem;
        margin: 0 0.2rem;
    }

    .section-height {
        height: 30vh;
        padding: 10px 0;
    }

    #pourquoi-mym h2 {
        font-size: 1.1rem;
    }

    #pourquoi-mym p {
        font-size: 0.8rem;
    }

    #pourquoi-mym ul {
        font-size: 0.8rem;
    }

    .hero-content h2 {
        font-size: 1.1rem;
    }

    .tips-list li {
        font-size: 0.8rem;
    }

    .tips-bottom {
        font-size: 0.8rem;
    }

    .tip-card {
        min-width: 180px;
        padding: 10px;
    }

    .tip-card h3 {
        font-size: 0.9rem;
    }

    .tip-card p {
        font-size: 0.75rem;
    }

    .tip-card ul li {
        font-size: 0.7rem;
    }

    .pricing-content h2 {
        font-size: 1.1rem;
    }

    .pricing-text p {
        font-size: 0.8rem;
    }
}

/* Orientation paysage sur mobile */
@media (max-width: 768px) and (orientation: landscape) {


    .navbar-nav {
        margin-top: 20px;
    }

    .navbar-nav li {
        margin: 10px 0;
    }

    .navbar {
        padding: 10px 0;
    }

    .navbar .logo {
        width: 155px !important;
    }

    #cta-btn-fixed {
        display: none !important;
    }

    #fixed_mobile {
        position: fixed;
        bottom: 0 !important;
        z-index: 3000;
        width: 100vw;
        padding: 20px;
    }


    .side-image {
        width: 180px;
    }

    .center-content h1 {
        font-size: 1.4rem;
    }

    .super {
        font-size: 30px;
    }

    .section-height {
        height: 50vh;
    }

    .nav-bar ul {
        flex-direction: row;
        height: 35px;
    }
}

/* Écrans haute résolution (Retina) */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .side-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

#fixed_mobile {
    display: none;
}

.grid-section>.container {
    padding: 40px;
    width: 75%;
}

.cta-grid-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}



/* .grid-container .card-grid:nth-child(4),
.grid-container .card-grid:nth-child(5),
.grid-container .card-grid:nth-child(3) {
    grid-column: span 4;
} */

.accordion-item {
    background: none;
}

.card-grid {
    margin: 15px 0;
}

.card-grid .accordion-item {
    background: none !important;
}

.grid-image-container {
    height: 200px;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    margin: 20px 0;
}

.grid-image-container>img {
    width: 100%;
}

.card-grid>div {
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 20px;
    border-radius: 10px;
}

.tiktok {
    background: url('./images/tiktok.png');
}

.instagram {
    background: url('./images/Istgram.jpg');
}

.facebook {
    background: url('./images/facebook.png');
}

.snap {
    background: url('./images/snap.jpg');
}

.twitter {
    background: url('./images/Twitter.jpg');
}

.twitter~.row>div ul li span svg,
.tiktok~.row>div ul li span svg {
    fill: rgb(4, 4, 4);
}

.snap~ul li span svg {
    fill: yellow;
}

.snap,
.twitter,
.instagram,
.facebook,
.tiktok {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.card-grid {
    transition: all .5s;
    border-radius: 10px;
    border: 1px solid rgba(240, 239, 239, 0);
}

.card-grid>div {
    padding: 20px !important;
}


.list-li-strong li {
    display: flex;
}

.list-li-strong strong {
    background: linear-gradient(90deg, #2af598 0%, #009efd 50%, #9b5de5 100%);
    color: white;
    display: flex;
    width: 150px;
    margin-right: 10px;
    border-radius: 5px;
    padding: 0px 6px;
    margin: 0px 5px;
}

.list-li-strong strong:nth-child(2) {
    text-align: center;
    justify-content: center;
    background: var(--secondary-color);
}

.icon-rs>svg {
    fill: #f7f7f7;
    width: 25px;
}

.icon-rs {
    display: flex;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.title-astuce {
    display: flex;
    align-items: center;
    grid-gap: 10px;
}

.grid-container .accordion-button {
    background: var(--secondary-color);
    margin: 5px 0;
    border-radius: 20px !important;
    color: white;
}

.grid-container ul li svg {
    fill: var(--quaternary-color);
    transform: scale(1.2);
    margin-right: 5px;
}

.grid-container ul li {
    margin: 5px 0;

}

/* header {
    position: relative;
    z-index: 500px!important;
} */

footer {
    background: rgb(8, 4, 4) !important;
    color: white;
    padding: 20px;
    text-align: center;
    height: 90px;
    position: relative;
    z-index: 79500px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.collapsed {
    background: var(--secondary-color);
    margin: 5px 0;
    padding: 20px;
    border-radius: 15px !important;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--secondary-color) 50%, var(--tertiary-color) 100%) !important;
    color: #fff;
    color: white;
    margin: 5px 0;
    padding: 20px;
    border-radius: 15px !important;
    font-weight: bolder;
}

.accordion-item {
    border: none;
}

.accordion-body {
    position: relative;
    /* padding: 25px; */
    border-radius: 15px;
    padding: 0;
    z-index: 1;
}

.accordion-body>div {
    color: #fff !important;
    /* fond blanc ou autre couleur interne */
    margin: 0 !important;
    margin: 3px;
    border-radius: 15px;
    padding: 20px;
}


footer ul li {
    float: left;
    margin: 0 4px;
    color: wheat;
}

footer ul li a {
    color: white;
    text-decoration: none;
}

.age-popup-overlay {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-popup-content {
    background: none;
    color: #fff;
    text-align: center;
    max-width: 700px;
    padding: 40px 30px;
    border-radius: 12px;
}

.age-popup-content h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: bold;
}

.age-popup-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
}

.age-popup-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

#age-yes {
    background: var(--secondary-color);
    color: #ffffff;
    font-size: 1.3em;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    padding: 18px 32px;
    cursor: pointer;
    transition: background 0.2s;
}

#age-no {
    background: #222;
    color: #fff;
    font-size: 1.3em;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    padding: 18px 32px;
    cursor: pointer;
    transition: background 0.2s;
}

#age-yes:hover {
    background: var(--quinary-color);
}

#age-no:hover {
    background: #444;
}

.tabpanel-wrapper {
    background: rgba(12, 4, 20, 0.8);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.tabpanel-tabs {
    display: flex;
    gap: .3rem;
    margin-bottom: 1.5rem;
    list-style: none;
    padding: 0;
    justify-content: center;
}

.tabpanel-tab {
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.tabpanel-tab.active {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: #fff;
}

.tabpanel-content {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0 0 16px 16px;
}

.tabpanel-panel {
    display: none;
}

.tabpanel-panel.active {
    display: block;
}

.bg-hover .col-md-6>div {
    padding: 25px;
    border-radius: 10px;
}

.bg-hover .col-md-6 div h2 {
    margin-bottom: 40px;
}

/* Par défaut, background sur le premier */
.bg-hover .col-md-6:first-child>div {
    background: linear-gradient(to bottom, rgb(36, 8, 64) 5%, #0c0414);
}

.grid-image-container+div {
    background: linear-gradient(to bottom, rgb(36, 8, 64) 5%, #0c0414);
    padding: 10px;
    border-radius: 10px;
}

.bg-img-texte img {
    width: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.footer-section {
    background: rgb(21, 6, 53);
    margin: 60px 0;
    padding: 30px;
    border-radius: 15px;
}