/* Basique */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    text-transform: uppercase;
    color: var(--default);
}

p,
li {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Adresse */
@media (max-width: 1200px) {
    .adresse {
        font-size: 0.7rem !important;
    }
}

/* Popup */
.mfp-figure {
    background-color: white;
}

/* Header */
@media (min-width: 992px) {
    #header .header-nav.header-nav-links:not(.header-nav-light-text) nav>ul>li>a {
        font-size: 14px;
    }

    #header .header-nav.header-nav-links:not(.header-nav-light-text) nav>ul>li>a.active {
        color: var(--primary) !important;
    }
}

@media (min-width: 1200px) {
    #header .header-nav.header-nav-links:not(.header-nav-light-text) nav>ul>li>a {
        font-size: 20px;
    }
}

@media (min-width: 1400px) {
    .col-xxl-6-header {
        flex: 0 0 auto;
        width: 60%;
    }
}

@media (min-width: 1400px) {
    .col-xxl-3-header {
        flex: 0 0 auto;
        width: 20%;
    }
}

@media (min-width: 992px) {
    .col-lg-8-header {
        flex: 0 0 auto;
        width: 90%;
    }
}

@media (min-width: 992px) {
    .col-lg-2-header {
        flex: 0 0 auto;
        width: 5%;
    }
}

/* Footer */
#footer h1,
#footer h2,
#footer h3,
#footer h4,
#footer h5,
#footer h6 {
    color: var(--default);
}

/* Bouton */
.btn-primary {
    color: var(--light);
}

.btn-secondary {
    color: var(--primary);
}

/* Vidéo */
.bg-play {
    background-color: #f6eaf3;
}

.btn-play {
    background-color: var(--primary);
    border: none;
    color: #fff;
}

.video-responsive-square {
    width: 280px;
}

@media (min-width: 768px) {
    .video-responsive-square {
        width: 450px;
    }
}

@media (min-width: 992px) {
    .video-responsive-square {
        width: 700px;
        max-width: 100%;
    }
}

/* Scroll To Top */
html body .scroll-to-top {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 55px !important;
    min-width: 55px !important;
    height: 55px !important;
    padding: 0 !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12) !important;
    bottom: 30px !important;
    right: 30px !important;
    color: transparent !important;
    opacity: 0;
}

html body .scroll-to-top.visible,
html body .scroll-to-top.show {
    opacity: 1 !important;
}

html body .scroll-to-top i {
    display: none !important;
}

html body .scroll-to-top::before {
    content: '';
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    border-top: 1.5px solid #a0a0a0 !important;
    border-left: 1.5px solid #a0a0a0 !important;
    transform: rotate(45deg) !important;
    margin-top: 8px !important;
    transition: border-color 0.3s ease !important;
}

html body .scroll-to-top:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-3px) !important;
}

html body .scroll-to-top:hover::before {
    border-color: #707070 !important;
}

/* Cookies */
html.gdpr-preferences-popup-opened .custom-gdpr-card,
body:has(.gdpr-preferences-popup.show) .custom-gdpr-card {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.custom-gdpr-card {
    background-color: var(--light);
    border: 3px solid var(--secondary);
    border-radius: 20px;
    padding: 15px 12px;
    max-width: 900px;
    margin: 0 auto 20px auto;

    /* Positionnement pour le garder en bas de l'écran */
    position: fixed;
    bottom: 0;
    left: 10px;
    right: 10px;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gdpr-mascot {
    max-height: 45px;
    width: auto;
}

.gdpr-logo {
    max-height: 40px;
    width: auto;
}

.gdpr-text {
    line-height: 1.5;
    font-size: 0.9rem !important;
}

/* Mobile (< 576px) */
@media (max-width: 575px) {
    .custom-gdpr-card {
        padding: 12px 10px;
        bottom: 5px;
        left: 5px;
        right: 5px;
    }

    .gdpr-mascot {
        max-height: 35px;
    }

    .gdpr-logo {
        max-height: 35px;
    }

    .gdpr-text {
        font-size: 0.75rem !important;
    }

    .d-flex.flex-column.flex-md-row.justify-content-between.gap-3 {
        flex-direction: column;
        gap: 8px !important;
    }

    .d-flex.flex-column.flex-md-row.justify-content-between.gap-3 .btn {
        width: 100%;
        font-size: 0.85rem;
        padding: 0.5rem !important;
    }
}

/* Tablette (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .custom-gdpr-card {
        padding: 15px 15px;
    }

    .gdpr-mascot {
        max-height: 50px;
    }

    .gdpr-logo {
        max-height: 50px;
    }

    .gdpr-text {
        font-size: 0.85rem !important;
    }

    .d-flex.flex-column.flex-md-row.justify-content-between.gap-3 {
        gap: 10px !important;
    }

    .d-flex.flex-column.flex-md-row.justify-content-between.gap-3 .btn {
        font-size: 0.9rem;
    }
}

/* Tablette (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .custom-gdpr-card {
        padding: 20px 20px;
    }

    .gdpr-mascot {
        max-height: 55px;
    }

    .gdpr-logo {
        max-height: 55px;
    }

    .gdpr-text {
        font-size: 0.95rem !important;
    }
}

/* Desktop (992px+) */
@media (min-width: 992px) {
    .custom-gdpr-card {
        padding: 25px 30px;
    }

    .gdpr-mascot {
        max-height: 60px;
    }

    .gdpr-logo {
        max-height: 60px;
    }

    .gdpr-text {
        font-size: 1rem !important;
    }
}