/* Extracted from views/includes/head.php — uses --theme-color from #soft7-brand-theme-vars */

.text-pink {
    color: var(--theme-color) !important;
}
.bg-pink {
    background-color: var(--theme-color) !important;
    color: #ffffff !important;
}

/* Texte clair sur bandeaux accent (pas les boutons à fond blanc) */
.glossary-term {
    position: relative;
    cursor: help;
    color: var(--theme-color);
    font-weight: 600;
    border-bottom: 1px dashed var(--theme-color);
    transition: all 0.2s ease;
}
.glossary-term:hover {
    color: #000;
    border-bottom-color: #000;
}
.glossary-term::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: max-content;
    max-width: 280px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #333;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
    pointer-events: none;
    text-align: left;
    line-height: 1.4;
}
.glossary-term::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.95) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    pointer-events: none;
}
.glossary-term:hover::after,
.glossary-term:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.bg-pink,
.bg-theme,
.bg-accent,
.bg-pink-cta,
[data-bg="accent"],
[data-bg="theme"] {
    color: #ffffff;
}
.bg-pink :where(h1, h2, h3, h4, h5, h6, p, li, small, strong, em, label, figcaption, blockquote, span:not(.btn):not(.btn *)),
.bg-theme :where(h1, h2, h3, h4, h5, h6, p, li, small, strong, em, label, figcaption, blockquote, span:not(.btn):not(.btn *)),
.bg-accent :where(h1, h2, h3, h4, h5, h6, p, li, small, strong, em, label, figcaption, blockquote, span:not(.btn):not(.btn *)),
.bg-pink-cta :where(h1, h2, h3, h4, h5, h6, p, li, small, strong, em, label, figcaption, blockquote, span:not(.btn):not(.btn *)),
[data-bg="accent"] :where(h1, h2, h3, h4, h5, h6, p, li, small, strong, em, label, figcaption, blockquote, span:not(.btn):not(.btn *)),
[data-bg="theme"] :where(h1, h2, h3, h4, h5, h6, p, li, small, strong, em, label, figcaption, blockquote, span:not(.btn):not(.btn *)) {
    color: #ffffff !important;
}
.bg-pink a:not(.btn):not(.btn-white):not(.btn-white-style):not(.btn-outline-white),
.bg-theme a:not(.btn):not(.btn-white):not(.btn-white-style):not(.btn-outline-white),
.bg-accent a:not(.btn):not(.btn-white):not(.btn-white-style):not(.btn-outline-white),
.bg-pink-cta a:not(.btn):not(.btn-white):not(.btn-white-style):not(.btn-outline-white) {
    color: #ffffff !important;
}

/* Boutons fond blanc → texte accent (Contact / Devis sur blocs, CTA latéraux) */
.btn.btn-white,
a.btn.btn-white,
.btn-white-style,
a.btn-white-style,
.bg-pink .btn.btn-white,
.bg-pink a.btn.btn-white,
.bg-pink .btn-white-style,
.bg-pink a.btn-white-style,
.bg-theme .btn.btn-white,
.bg-theme a.btn.btn-white,
.bg-theme .btn-white-style,
.bg-theme a.btn-white-style,
.bg-accent .btn.btn-white,
.bg-accent a.btn-white-style,
.bg-pink-cta .btn-white-style,
.bg-pink-cta a.btn-white-style,
[data-bg="accent"] .btn.btn-white,
[data-bg="accent"] .btn-white-style,
[data-bg="theme"] .btn.btn-white,
[data-bg="theme"] .btn-white-style {
    background-color: #ffffff !important;
    color: var(--theme-color) !important;
}
.btn.btn-white *,
a.btn.btn-white *,
.btn-white-style *,
a.btn-white-style *,
.bg-pink .btn.btn-white *,
.bg-pink .btn-white-style *,
.bg-theme .btn.btn-white *,
.bg-theme .btn-white-style *,
.bg-accent .btn.btn-white *,
.bg-accent .btn-white-style *,
.bg-pink-cta .btn-white-style * {
    color: var(--theme-color) !important;
}
.btn.btn-white:hover,
a.btn.btn-white:hover,
.btn-white-style:hover,
a.btn-white-style:hover,
.bg-pink .btn.btn-white:hover,
.bg-pink .btn-white-style:hover,
.bg-theme .btn.btn-white:hover,
.bg-theme .btn-white-style:hover,
.bg-pink-cta .btn-white-style:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
}
.btn.btn-white:hover *,
a.btn.btn-white:hover *,
.btn-white-style:hover *,
.bg-pink .btn.btn-white:hover *,
.bg-theme .btn.btn-white:hover *,
.bg-pink-cta .btn-white-style:hover * {
    color: #ffffff !important;
}

/* Boutons accent pleins (header, formulaires) : fond thème + texte blanc */
.btn.btn-pink,
a.btn.btn-pink,
.btn-pink {
    background-color: var(--theme-color) !important;
    color: #ffffff !important;
    border-color: var(--theme-color) !important;
}
.btn.btn-pink .link-effect,
.btn.btn-pink .effect-1,
a.btn.btn-pink .link-effect,
a.btn.btn-pink .effect-1,
.btn-pink .link-effect,
.btn-pink .effect-1 {
    color: #ffffff !important;
}
.btn.btn-pink:hover,
a.btn.btn-pink:hover,
.btn-pink:hover {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}
.btn.btn-pink:hover .link-effect,
.btn.btn-pink:hover .effect-1,
a.btn.btn-pink:hover .link-effect,
a.btn.btn-pink:hover .effect-1 {
    color: #ffffff !important;
}

/* Anti-rounding + layout overrides */
/* Force sharp corners on layout elements while preserving rounds for cursor and markers */
    *:not(.custom-cursor):not(.custom-cursor::before):not(.map-point) {
        border-radius: 0 !important;
    }
    /* Témoignages : Mettre les points/flèches du carrousel en blanc */
    .testimonial-area-1 .slick-dots li button,
    .testimonial-area-1 .slick-dots li button:before {
        color: #ffffff !important;
        background-color: transparent !important;
        border-color: #ffffff !important;
    }
    .testimonial-area-1 .slick-dots li.slick-active button,
    .testimonial-area-1 .slick-dots li.slick-active button:before {
        background-color: #ffffff !important;
        opacity: 1 !important;
    }
    .testimonial-area-1 .slider-arrow,
    .testimonial-area-1 .slick-arrow,
    .testimonial-area-1 .slick-arrow:before {
        color: #ffffff !important;
        border-color: #ffffff !important;
    }
    .testimonial-area-1 .slider-arrow:hover,
    .testimonial-area-1 .slick-arrow:hover {
        background-color: #ffffff !important;
        color: #000000 !important;
    }
    /* Hero Slider Arrows */
    .hero-slider .slick-prev,
    .hero-slider .slick-next {
        z-index: 20;
        background-color: rgba(255, 255, 255, 0.45) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        width: 56px !important;
        height: 56px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }
    .hero-slider .slick-prev { left: 24px !important; }
    .hero-slider .slick-next { right: 24px !important; }
    .hero-slider .slick-prev i,
    .hero-slider .slick-next i {
        color: #111111 !important;
        opacity: 0.85 !important;
        font-size: 16px !important;
        transition: all 0.3s ease !important;
    }
    .hero-slider .slick-prev:hover,
    .hero-slider .slick-next:hover {
        background-color: var(--theme-color) !important;
        border-color: var(--theme-color) !important;
        box-shadow: 0 10px 25px rgba(255, 51, 102, 0.35) !important;
        transform: scale(1.08) translateY(-50%) !important;
    }
    .hero-slider .slick-prev:hover i,
    .hero-slider .slick-next:hover i {
        color: #ffffff !important;
        opacity: 1 !important;
        transform: scale(1.1) !important;
    }

    /* Hover rotation for Hero Year Tag */
    .hero-year-tag {
        transition: all 0.3s ease !important;
    }
    .hero-year-tag:hover {
        background-color: rgba(255, 255, 255, 0.8) !important;
        transform: translateY(-2px) !important;
    }
    .hero-year-tag img {
        transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    }
    .hero-year-tag:hover img {
        transform: rotate(360deg) !important;
    }
    .hero-slider, .hero-slider .slick-list, .hero-slider .slick-track {
        height: 100vh !important;
        min-height: 800px !important;
    }
    
    /* Responsive About Image */
    @media (min-width: 992px) {
        .about-img-1-1 img {
            max-width: 45vw !important; /* Empêche l'image de déborder sur le texte */
        }
    }
    @media (max-width: 991px) {
        .about-img-1-1 {
            position: relative !important;
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
            text-align: center !important;
            margin-bottom: 40px !important;
        }
        .about-img-1-1 img {
            max-height: 350px !important;
            width: auto !important;
            max-width: 100% !important;
        }
    }
