/* 
 * Proxima Nova Font Setup
 * Proxima Nova est une police commerciale. Pour l'utiliser :
 * 1. Si vous avez Adobe Fonts, ajoutez dans index.html : 
 *    <link rel="stylesheet" href="https://use.typekit.net/votre-identifiant.css">
 * 2. Sinon, utilisez une alternative gratuite similaire
 */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #F45557;
    --text-red: #E24D51;
    --white: #FFFFFF;
    --purple: #751B53;
    --white-80: rgba(255, 255, 255, 0.80);
    --black: #000000;
    --black-70: rgba(0, 0, 0, 0.70);
    --background-pink15: rgba(117, 27, 83, 0.15);
    --background-pink20: rgba(223, 81, 83, 0.20);
    --font-family: 'proxima-nova', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    overflow-x: hidden;
}

/* Header Section */
.header {
    background: linear-gradient(to bottom, var(--white) 0%, var(--white) 70%, var(--primary-red) 70%);
    padding: 40px 60px 0;
    min-height: 600px;
}

.header-content {
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
    font-family: var(--font-family);
    position: relative;
}

.language-switcher {
    position: absolute;
    top: 50px;
    right: 0;
    transform: translateY(-50%);
    color: var(--purple);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font-family);
    padding: 8px 16px;
    border-radius: 100px;
    background-color: var(--background-pink15);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    height: fit-content;
}

.language-switcher:hover {
    background-color: var(--purple);
    color: var(--white);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 120px;
}

.logo-container a {
    display: inline-block;
    line-height: 0;
}

.logo {
    height: 100px;
    width: auto;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-gray);
    font-family: var(--font-family);
}

.title-text {
    color: var(--primary-red);
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    font-family: var(--font-family);
}

.main-title {
    color: var(--black);
    font-size: 56px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    margin-bottom: 16px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 16px;
    font-family: var(--font-family);
}

.subtitle {
    color: var(--black-70);
text-align: center;
font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    margin-bottom: 56px;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-family);
}

.phone-button {
    display: flex !important;
    align-items: center;
    gap: 16px;
    display: inline-block;
    background-color: var(--background-pink15);
    color: var(--text-red);
    padding: 8px 16px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 56px;
    transition: transform 0.3s ease;
    width: fit-content;
    margin: 0 auto;
    line-height: 56%;
    font-family: var(--font-family);
}

.phone-button:hover {
    background-color: var(--purple);
}

.phone-text {
font-weight: 400 !important;
}

.phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 100px;
    background: var(--background-pink20);
}

.phone-icon svg {
    height: 18px;
    width: 18px;
}

.image-gallery {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding-block: 56px 200px;
    margin: 0 auto;
    position: relative;
}

/* Styles desktop pour la galerie */
@media (min-width: 769px) {
    .gallery-swiper {
        width: 100%;
        overflow: visible;
    }

    .gallery-swiper .swiper-wrapper {
        display: flex;
        justify-content: center;
        gap: 24px;
        transform: none !important;
    }

    .gallery-swiper .swiper-slide {
        width: auto !important;
        flex-shrink: 0;
        transform: none !important;
    }
}

.gallery-image {
    border-radius: 32px;
    overflow: hidden;
    flex-shrink: 0;
    padding: 0;
}

@media (min-width: 769px) {
    .gallery-image {
        padding: 0;
    }
}

.gallery-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 32px;
}

    .carousel-btn {
        display: none;
    }
    
    /* Masquer les boutons Swiper par défaut */
    .gallery-swiper .swiper-button-next,
    .gallery-swiper .swiper-button-prev {
        display: none !important;
    }

    /* Masquer le pseudo-élément ::after de Swiper pour utiliser nos SVG personnalisés */
    .carousel-btn.swiper-button-next::after,
    .carousel-btn.swiper-button-prev::after {
        display: none !important;
        content: none !important;
    }

/* Mission Section */
.mission-section {
    background-color: var(--primary-red);
    text-align: center;
    color: var(--white);
}

.heart-icon {
    margin-bottom: 24px;
}

.mission-statement-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-bottom:200px;
}

.service-statement {
    color: var(--white);
    text-align: center;
    font-size: 40px;
    font-style: normal;
    padding-inline: 15px;
    font-weight: 400 !important;
    line-height: 100%;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-family);
    max-width: 1200px;
}

.mission-statement {
    color: var(--white);
    text-align: center;
    font-size: 40px;
    font-style: normal;
    padding-inline: 15px;
    font-weight: 400 !important;
    line-height: 100%;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-family);
    max-width: 675px;
}

.mission-statement-container span {
    font-weight: 700 !important;
}

/* Services Section */
.services-section {
    background-color: var(--primary-red);
    padding: 0 80px 200px 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--background-pink15);
    border-radius: 25px;
    padding: 40px;
}

.service-title-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.service-title-container p {
    color: var(--purple);
    font-size: 24px;
    font-weight: 400;
    line-height: 100%;
    font-family: var(--font-family);
}

.service-title {
    color: var(--white);
    font-family: var(--font-family);
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    margin-bottom: 32px;
}

.service-description {
    color: var(--white-80);
    text-align: center;
    font-family: var(--font-family);
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 116.67%;
    margin-bottom: 56px;
}

.service-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.service-btn {
    border: none;
    padding: 8px 16px;
    border-radius: 100px;
    color: var(--purple);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    transition: all 0.3s ease;
    font-family: var(--font-family);
    display: flex;
    gap: 16px;
    text-align: left;
    align-items: center;
}

.svg-service {
    border-radius: 100px;
    background-color: var(--background-pink20);
    width: 42px;
    min-width: 42px;
    max-width: 42px;
    align-items: center;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.service-btn .svg-service svg {
    width: 20px;
    height: 20px;
}

.informations-ref {
    max-width: 500px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(to bottom, var(--primary-red) 0%, var(--primary-red) 30%, var(--white) 30%);
    padding: 0px 100px 230px 100px;
    display: flex;
    justify-content: center;
}

.contact-container {
    display: flex;
    gap: 24px;
    width: 100%;
    align-items: flex-start;
}

.contact-panel {
    flex: 1.2;
    background-color: var(--purple);
    border-radius: 25px;
    padding: 80px;
    color: var(--white);
    height: 730px;
}

.contact-image {
    flex: 0.7;
    align-self: stretch;
    height: 730px;
}

.contact-title {
    font-family: var(--font-family);
    font-size: 56px;
    font-style: normal;
    font-weight: 400;
    line-height: 0.7;
    margin-bottom: 56px;
    color: var(--white);

}

.contact-phone {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 56px;
}

.contact-phone p {
    color: var(--white-80);
font-family: var(--font-family);
font-size: 24px;
font-style: normal;
font-weight: 400;
line-height: 100%;
}

.contact-panel .phone-button {
    background-color: var(--white);
    color: var(--text-red);
    margin: 0;
    width: fit-content;
}

.contact-panel .phone-button:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

.contact-panel .phone-button:hover .phone-icon {
    background-color: rgba(255, 255, 255, 0.20);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-name-row {
    display: flex;
    gap: 18px;
}

.form-name-row .form-input {
    flex: 1;
}

.form-input {
    background-color: rgba(255, 255, 255, 0.30);
    border: none;
    border-radius: 100px;
    padding: 13px 16px;
    color: var(--white);
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    font-family: var(--font-family);
    width: 100%;
}

.form-textarea {
    background-color: rgba(255, 255, 255, 0.30);
    border: none;
    border-radius: 32px;
    padding: 13px 16px;
    color: var(--white);
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    font-family: var(--font-family);
    width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--white-80);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border: none;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background-color: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 18px 40px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-family: var(--font-family);
    align-self: flex-start;
    width:100%;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.submit-button:hover {
    background-color: var(--background-pink20);
}

.contact-image {
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Footer */
.footer {
    background-color: var(--white);
    padding: 40px 80px;
    border-top: 1px solid var(--purple);
}

.footer-content {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.footer-logo {
    height: 60px;
    width: auto;
}

.footer-text {
    font-size: 14px;
    color: var(--purple);
}

.footer-link {
    color: var(--purple);
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.cookie-settings-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    padding: 0;
    background-color: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: fixed;
    bottom: 15px;
    left: 15px;
    z-index: 999999;
}

.cookie-settings-btn:hover {
    background-color: var(--text-red);
}

.cookie-settings-icon {
    width: 30px;
    height: 30px;
    display: block;
}

/* ============================================
   MEDIA QUERIES
   ============================================ */

/* Design for screens between 1600px and 1024px */
@media screen and (max-width: 1600px) {
    .header {
        padding: 30px 40px 0;
    }

    .language-switcher {
        font-size: 16px;
        padding: 6px 14px;
        top: 50px;
    }

    .title-text {
        font-size: 22px;
    }

    .main-title {
        font-size: 48px;
    }

    .subtitle {
        font-size: 18px;
    }

    .logo-text {
        font-size: 24px;
    }

    .services-grid {
        gap: 30px;
    }

    .service-card {
        padding: 35px;
    }

    .service-title {
        font-size: 22px;
    }

    .contact-panel {
        padding: 60px;
    }

    .contact-title {
        font-size: 40px;
    }
}

/* Design for screens between 1024px and 768px */
@media screen and (max-width: 1024px) {
    .header {
        padding: 30px 30px 0;
        min-height: 500px;
    }

    .language-switcher {
        font-size: 14px;
        padding: 6px 12px;
        top: 25px;
    }

    .logo-container {
        flex-direction: column;
        gap: 10px;
    }

    .logo {
        height: 50px;
    }

    .logo-text {
        font-size: 22px;
    }

    .title-text {
        font-size: 20px;
    }

    .main-title {
        font-size: 40px;
    }

    .subtitle {
        font-size: 16px;
    }

    .phone-button {
        font-size: 16px;
    }

    .phone-icon {
        padding: 8px;
    }

    .phone-icon svg {
        width: 15px;
        height: 15px;
    }

    .image-gallery {
        gap: 20px;
        padding: 30px 0;
    }

    .mission-section {
        padding: 50px 15px 0 15px;
    }

    .service-statement {
        font-size: 20px;
    }

    .mission-statement {
        font-size: 22px;
    }

    .mission-statement-container {
        padding-bottom: 100px;
    }

    .services-section {
        padding: 0px 30px;
    }

    .service-card {
        padding: 20px;
    }

    .service-title {
        font-size: 20px;
    }

    .service-description {
        margin-bottom: 30px;
    }

    .svg-service {
        min-width: 30px;
        max-width: 30px;
        min-height: 30px;
        max-height: 30px;
    }

    .service-btn .svg-service svg {
        width: 15px;
        height: 15px;
    }

    .service-description {
        font-size: 15px;
    }

    .service-btn {
        font-size: 13px;
    }

    .contact-section {
        padding: 80px 30px;
    }

    .contact-container {
        gap: 30px;
    }

    .contact-panel {
        padding: 40px;
        height: 600px;
    }

    .contact-image {
        height: 600px;
    }

    .contact-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .contact-phone p {
        font-size: 20px;
    }

    .form-input,
    .form-textarea {
        padding: 12px 18px;
        font-size: 15px;
    }

    .submit-button {
        padding: 15px 35px;
        font-size: 16px;
    }
}

/* Design for mobile screens below 768px */
@media screen and (max-width: 768px) {
    .header {
        padding: 20px 20px 0;
        background: linear-gradient(to bottom, var(--white) 0%, var(--white) 60%, var(--primary-red) 60%);
        min-height: auto;
    }

    .language-switcher {
        font-size: 14px;
        padding: 6px 12px;
        top: 20px;
    }

    .logo-container {
        margin-bottom: 20px;
    }

    .logo {
        height: 40px;
    }

    .logo-text {
        font-size: 18px;
    }

    .title-text {
        font-size: 18px;
    }

    .main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .phone-button {
        padding: 12px 25px;
        font-size: 14px;
    }

    .image-gallery {
        flex-direction: row;
        align-items: center;
        gap: 0;
        padding: 20px 0;
        overflow: hidden;
        position: relative;
        width: 100%;
    }

    /* Styles mobile pour la galerie - override desktop */
    .gallery-swiper {
        width: 100%;
        overflow: hidden;
    }

    .gallery-swiper .swiper-wrapper {
        display: flex;
        justify-content: flex-start;
        gap: 0;
    }

    .gallery-swiper .swiper-slide {
        width: 100%;
        flex-shrink: 0;
        display: block;
        visibility: visible;
        opacity: 1;
    }

    .gallery-image {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
        position: relative;
        border-radius: 32px;
        overflow: hidden;
    }

    .gallery-image img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 32px;
    }

    .carousel-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        border-radius: 50%;
        background-color: var(--white);
        border: none;
        color: var(--primary-red);
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
        padding: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        box-sizing: border-box;
    }

    .carousel-btn:hover {
        background-color: var(--white);
        color: var(--primary-red);
    }

    .carousel-btn:active {
        transform: translateY(-50%) scale(0.95);
    }

    /* Flèches désactivées : fond transparent, flèche primary-red */
    .carousel-btn[style*="opacity: 0.5"],
    .carousel-btn[style*="opacity:0.5"],
    .carousel-btn[style*="pointer-events: none"],
    .carousel-btn[aria-disabled="true"],
    .carousel-btn.disabled {
        background-color: var(--white-80) !important;
        color: var(--primary-red) !important;
    }

    .carousel-btn-prev {
        left: 10px;
    }

    .carousel-btn-prev svg {
        transform: rotate(180deg);
        margin-right: 4px;
    }

    .carousel-btn-next {
        right: 10px;
    }

    .carousel-btn svg {
        width: 9px !important;
        height: 16px !important;
        flex-shrink: 0;
    }

    /* Assurer que les SVG utilisent la couleur primary-red */
    .carousel-btn svg path {
        stroke: var(--primary-red);
    }

    /* Flèches désactivées : garder la couleur primary-red */
    .carousel-btn[style*="opacity: 0.5"] svg path,
    .carousel-btn[style*="opacity:0.5"] svg path,
    .carousel-btn[aria-disabled="true"] svg path {
        stroke: var(--primary-red) !important;
    }

    /* Masquer le pseudo-élément ::after de Swiper pour utiliser nos SVG personnalisés sur mobile */
    .carousel-btn.swiper-button-next::after,
    .carousel-btn.swiper-button-prev::after {
        display: none !important;
        content: none !important;
        font-size: 0 !important;
    }

    /* Forcer les dimensions du cercle pour éviter que Swiper ne les modifie */
    .carousel-btn.swiper-button-next,
    .carousel-btn.swiper-button-prev {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        aspect-ratio: 1 / 1 !important;
    }

    .mission-section {
        padding: 40px 20px;
    }

    .heart-icon {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .mission-statement-container {
        gap: 20px;
        padding-bottom: 0px;
    }

    .service-statement {
        font-size: 16px;
    }

    .mission-statement {
        font-size: 16px;
    }

    .services-section {
        padding: 40px 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 25px;
        border-radius: 20px;
    }

    .service-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .service-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .service-buttons {
        gap: 10px;
    }

    .service-btn {
        padding: 10px 18px;
        font-size: 12px;
        flex: 1 1 calc(50% - 5px);
        min-width: 140px;
    }

    .contact-section {
        padding: 80px 20px;
    }

    .contact-container {
        flex-direction: column;
        gap: 30px;
    }

    .contact-panel {
        padding: 20px;
        order: 1;
        width: 100%;
    }

    .contact-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .contact-phone {
        margin-bottom: 30px;
    }

    .contact-phone p {
        font-size: 16px;
    }

    .contact-form {
        gap: 15px;
    }

    .form-name-row {
        flex-direction: column;
        gap: 15px;
    }

    .form-input,
    .form-textarea {
        padding: 12px 15px;
        font-size: 14px;
    }

    .form-textarea {
        min-height: 100px;
    }

    .submit-button {
        padding: 14px 30px;
        font-size: 15px;
        width: 100%;
    }

    .contact-image {
        order: 2;
        border-radius: 20px;
    }

    .contact-image img {
        height: 400px;
    }

    .footer {
        padding: 30px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-text {
        font-size: 12px;
    }

    .footer-logo {
        height: 40px;
        width: auto;
    }

    .cookie-settings-btn {
        width: 45px;
        height: 45px;
        bottom: 15px;
        left: 15px;
    }
}

/* Extra small mobile devices */
@media screen and (max-width: 480px) {
    .title-text {
        font-size: 16px;
    }

    .main-title {
        font-size: 28px;
    }

    .subtitle {
        font-size: 13px;
    }

    .service-btn {
        flex: 1 1 100%;
    }

    .contact-image img {
        height: 300px;
    }
}

/* CookieYes Revisit Button - Bouton de réouverture de la bannière de cookies */
.cky-btn-revisit-wrapper.cky-revisit-bottom-left {
    bottom: 15px;
    left: 15px;
    background-color: #f45557 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.cky-btn-revisit-wrapper {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.cky-btn-revisit-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0056a7;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    position: fixed;
    z-index: 999999;
    cursor: pointer;
}

.cky-btn-revisit-wrapper .cky-btn-revisit {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    margin: 0;
    padding: 0;
}

.cky-btn-revisit-wrapper .cky-btn-revisit img {
    max-width: fit-content;
    margin: 0;
    height: 30px;
    width: 30px;
}

/* CookieYes Overlay */
.cky-overlay {
    background: #000000;
    opacity: 0.4;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999999;
}

.cky-hide {
    display: none;
}

/* CookieYes Banner Bottom */
.cky-banner-bottom {
    bottom: 0;
    left: 0;
}

.cky-consent-container {
    position: fixed;
    width: 100%;
    box-sizing: border-box;
    z-index: 9999999;
}

/* CookieYes Modal */
.cky-modal {
    box-shadow: 0 32px 68px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    position: fixed;
    max-width: 100%;
    background: #ffffff;
    top: 50%;
    box-sizing: border-box;
    border-radius: 6px;
    z-index: 999999999;
    color: #212121;
    -webkit-transform: translate(-50%, 100%);
    -moz-transform: translate(-50%, 100%);
    -ms-transform: translate(-50%, 100%);
    -o-transform: translate(-50%, 100%);
    transform: translate(-50%, 100%);
    visibility: hidden;
    transition: all 0s ease;
}

/* Fallback Cookie Modal - Modale de secours si CookieYes ne fonctionne pas */
.fallback-cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999999;
}

.fallback-cookie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.fallback-cookie-content {
    position: relative;
    background: #FFFFFF;
    border-radius: 6px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 32px 68px rgba(0, 0, 0, 0.3);
    z-index: 2;
    font-family: var(--font-family);
}

/* Bannière simple */
.fallback-cookie-banner {
    padding: 30px;
    border: 1px solid #D4D8DF;
}

.fallback-cookie-notice {
    display: flex;
    flex-direction: column;
}

.fallback-cookie-title {
    font-size: 18px;
    font-weight: 600;
}

.fallback-cookie-description {
    font-size: 14px;
    line-height: 1.5;
}

/* Vue détaillée */
.fallback-cookie-details {
    padding: 0;
    max-width: 800px;
}

.fallback-cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #F4F4F4;
}

.fallback-cookie-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.fallback-cookie-close {
    background: none;
    border: none;
    color: #751B53;
    cursor: pointer;
    padding: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.fallback-cookie-close:hover {
    opacity: 0.7;
}

.fallback-cookie-close img {
    width: 16px;
    height: 16px;
}

.fallback-cookie-body {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.fallback-cookie-description {
    margin-bottom: 20px;
}

.fallback-cookie-description p {
    margin-bottom: 12px;
    line-height: 1.5;
    font-size: 14px;
}

.fallback-cookie-description p:last-child {
    margin-bottom: 0;
}

/* Accordion */
.fallback-cookie-accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.fallback-cookie-accordion {
    border-bottom: 1px solid #EBEBEB;
}

.fallback-cookie-accordion-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0;
}

.fallback-cookie-accordion-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.fallback-cookie-accordion-chevron:hover {
    opacity: 0.7;
}

.fallback-chevron-right {
    color: #751B53;
    font-size: 16px;
    font-weight: bold;
    font-style: normal;
    transition: transform 0.3s ease;
    display: inline-block;
}

.fallback-cookie-accordion-header-wrapper {
    flex: 1;
}

.fallback-cookie-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.fallback-cookie-accordion-btn {
    font-size: 16px;
}

.fallback-cookie-accordion-header-des {
    margin-top: 8px;
    font-size: 14px;
}

.fallback-cookie-accordion-header-des p {
    margin: 0;
    line-height: 1.5;
    font-size: 14px;
}

.fallback-cookie-horizontal-separator {
    height: 1px;
    background: #EBEBEB;
    margin: 20px 0;
}

/* Accordion Body */
.fallback-cookie-accordion-body {
    padding: 0;
    margin-top: 12px;
}

/* Audit Table - Tableaux de cookies */
.fallback-cookie-audit-table {
    background-color: #F4F4F4;
    border: 1px solid #EBEBEB;
    border-radius: 4px;
    padding: 16px;
    margin-top: 12px;
}

.fallback-cookie-des-table {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 8px 16px;
    font-size: 14px;
    line-height: 1.5;
}

.fallback-cookie-des-table:last-child {
    margin-bottom: 0;
}

.fallback-cookie-des-table li {
    display: contents;
}

.fallback-cookie-des-table li > div:first-child {
    font-weight: 600;
    color: #212121;
}

.fallback-cookie-des-table li > div:last-child {
    color: #212121;
}

.fallback-cookie-always-active {
    background: #EDEDED;
    color: #212121;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    white-space: nowrap;
}

/* Switch toggle */
.fallback-cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.fallback-cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.fallback-cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.fallback-cookie-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.fallback-cookie-switch input:checked + .fallback-cookie-slider {
    background-color: #008000;
}

.fallback-cookie-switch input:checked + .fallback-cookie-slider:before {
    transform: translateX(24px);
}

.fallback-cookie-switch input:focus + .fallback-cookie-slider {
    box-shadow: 0 0 1px #008000;
}

/* Footer */
.fallback-cookie-footer {
    position: relative;
    border-top: 1px solid #F4F4F4;
    border-radius: 0 0 6px 6px;
}

.fallback-cookie-footer-shadow {
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
    pointer-events: none;
}

.fallback-cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: stretch;
    flex-wrap: wrap;
    padding: 16px 24px;
    background: #FFFFFF;
}

.fallback-cookie-btn {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #751b53;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 0;
}

.fallback-cookie-btn.fallback-cookie-reject,
.fallback-cookie-btn.fallback-cookie-save,
.fallback-cookie-btn.fallback-cookie-customize {
    color: #751b53;
    background: #FFFFFF;
}

.fallback-cookie-btn.fallback-cookie-accept-all {
    color: #FFFFFF;
    background: #751b53;
}

.fallback-cookie-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.fallback-cookie-btn.fallback-cookie-accept-all:hover {
    background-color: #5a1440;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .fallback-cookie-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .fallback-cookie-header {
        padding: 20px;
    }
    
    .fallback-cookie-body {
        padding: 20px;
    }
    
    .fallback-cookie-category-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .fallback-cookie-buttons {
        flex-direction: column;
    }
    
    .fallback-cookie-btn {
        width: 100%;
    }
    
    .fallback-cookie-des-table {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    
    .fallback-cookie-des-table li > div:first-child {
        margin-bottom: 4px;
    }
}

