/*=====================================================
  Variables de thème
=====================================================*/
:root {
    --primary: #b9004b;
    --color-primary: #b9004b;
    --color-primary-light: #f8e8f2;
    --color-secondary: #333;
    --color-bg: #ffffff;
    --color-white: #fff;
    --color-muted: rgba(185, 0, 75, 0.5);
    --radius: 0.5rem;
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.05);
    --pink: #b30059;
    --pink-dark: #9e004f;
    --white: #fff;
      --clc-rose:        #d76b92;
  --clc-rose-600:    #c25b84;
  --clc-rose-700:    #a94c75;
  --clc-rose-50:     #fff5f9;
  --clc-ink-900:     #231f22;
  --clc-ink-700:     #3a3438;
  --clc-white:       #ffffff;
  --clc-shadow:      0 10px 30px rgba(215,107,146,.25);
  --clc-radius-xl:   20px;
  --clc-radius-lg:   14px;
}
.montserrat-font-family {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}
/*=====================================================
  Reset & global
=====================================================*/
body {
    background: var(--color-bg);
    color: var(--color-secondary);
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-secondary);
    font-weight: 500;
}

a:hover {
    color: darken(var(--color-primary), 10%);
    text-decoration: none;
}

/*=====================================================
  Header / Navbar
=====================================================*/
.navbar {
    background-color: var(--color-white);
    box-shadow: var(--shadow-soft);
}
.navbar .nav-link {
    color: var(--color-secondary);
    font-weight: 500;
    position: relative;
}
.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--color-primary);
}
.navbar .nav-link.active::after,
.navbar .nav-link:hover::after {
    content: "";
    position: absolute;
    bottom: -0.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 2px;
    background: var(--color-primary);
    border-radius: 1px;
}

.navbar-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1050;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar-mobile-overlay.open {
    display: flex;
    opacity: 1;
    animation: fadeIn 0.3s ease-in-out;
}

.navbar-mobile-overlay.closing {
    opacity: 0;
    pointer-events: none;
}

@media (min-width: 992px) {
    .navbar-mobile-overlay {
        display: none !important; /* désactivé sur desktop */
    }
}
@media (max-width: 991.98px) {
    nav.navbar.mobile-transparent {
        background-color: transparent !important;
        box-shadow: none !important;
        position: fixed;
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .navbar.navbar-light .navbar-toggler {
        filter: invert(
            1
        ); /* rendre le burger visible sur fond sombre (optionnel) */
    }
    nav.navbar.mobile-transparent .nav-link,
    nav.navbar.mobile-transparent .navbar-brand,
    nav.navbar.mobile-transparent .btn {
        color: white !important;
    }
}

@media (max-width: 991.98px) {
    nav.mobile-transparent {
        transition: top 0.3s ease, background-color 0.3s ease;
    }

    nav.mobile-transparent.transparent {
        background-color: transparent !important;
    }

    nav.mobile-transparent.bg-white {
        background-color: white !important;
    }

    nav.mobile-transparent.scroll-up {
        top: 0;
    }

    nav.mobile-transparent.scroll-down {
        top: -100px;
    }
}

.navbar-mobile-overlay .overlay-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    color: #fff;
}

.navbar-mobile-overlay .overlay-content .nav-link {
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
}

.navbar-mobile-overlay .nav-link:hover {
    text-decoration: underline;
    opacity: 0.9;
}

.btn-close-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.btn-close-overlay:hover {
    opacity: 0.6;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/*=====================================================
  Hero
=====================================================*/
.hero {
    padding: 2rem 0rem;
    text-align: center;
}
.hero img.logo {
    max-width: 200px;
    margin-bottom: 1rem;
}
.hero .lead {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--pink);
}

.back-to-top {
    display: none; /* Caché par défaut */
    position: fixed;
    bottom: 60px;
    right: 50px;
    z-index: 9999; /* Assurez-vous que ce z-index est plus élevé que tous les autres éléments */
    font-size: 18px;
    background-color: rgba(179, 0, 75, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    padding: 15px;
    cursor: pointer;
}

.back-to-top:hover {
    background-color: var(--pink);
}

/*=====================================================
  Event Cards grid
=====================================================*/
/* container et overflow */
.event-carousel-container {
    position: relative;
    overflow: visible;
    padding: 0 3rem; /* espace pour les flèches */
}

/* zone scrollable */
.event-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    height: 800px;
    display: flex;
    align-items: center;
    padding-top: 1rem; /* ajuste selon la taille de ta thumb */
}
.event-carousel::-webkit-scrollbar {
    display: none;
}

/* wrapper cartes : 1 / 2 / 3 visibles */
.event-card-wrapper {
    flex: 0 0 auto;
    scroll-snap-align: center;
}
.card-title {
    font-weight: 600;
}

.event-card .card-title {
    min-height: 3.5em; /* assure alignement des titres */
}
.event-card .card-text {
    flex-grow: 1; /* la description prend le reste */
}
@media (max-width: 767px) {
    .event-card-wrapper {
        flex: 0 0 80%;
    }
    .event-carousel {
        height: 780px; /* hauteur réduite pour mobile */
    }
    .event-carousel-container {
        position: relative;
        overflow: visible;
        padding: 0 0rem; /* espace pour les flèches */
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .event-card-wrapper {
        flex: 0 0 calc((100% - 1rem) / 2);
    }
    .event-carousel {
        height: 800px; /* hauteur réduite pour mobile */
    }
}
@media (min-width: 992px) {
    .event-card-wrapper {
        flex: 0 0 calc((100% - 2rem) / 3);
    }
    .event-carousel {
        height: 820px; /* hauteur réduite pour mobile */
    }
}
@media (min-width: 1250px) {
    .event-card-wrapper {
        flex: 0 0 calc((100% - 2rem) / 3);
    }
    .event-carousel {
        height: 710px; /* hauteur réduite pour mobile */
    }
}
@media (min-width: 1400px) {
    .event-card-wrapper {
        flex: 0 0 calc((100% - 2rem) / 3);
    }
    .event-carousel {
        height: 680px; /* hauteur réduite pour mobile */
        margin-top: 1rem;
    }
}

/* flèches prev/next */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    background: var(--white);
    border: none;
    font-size: 1.5rem;
    padding: 0.5rem;
    cursor: pointer;
}
.carousel-arrow--prev {
    left: 0.5rem;
}
.carousel-arrow--next {
    right: 0.5rem;
}

/* — Card style — */
.event-card {
    position: relative; /* pour la thumb absolute */
    overflow: visible; /* déverrouille le débordement */
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    height: 100%;
    min-height: 500px; /* à ajuster selon ton besoin visuel */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* répartit haut + bas */
}

.event-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-text {
    flex-grow: 1; /* pousse le bouton vers le bas */
}

.event-card-thumb {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-size: 400%; /* zoom */
    background-position: 30% center; /* décalage droite */
    background-repeat: no-repeat;
    background-color: #fff; /* sécurité si image absente */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: visible;
}
.event-card-thumb::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    width: 150px;
    height: 150px;
    border-radius: 110px;
    top: -25px;
    left: -25px;
    border: 14px solid var(--pink);
}
.event-card-thumb::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    width: 120px;
    height: 120px;
    border-radius: 110px;
    top: -10px;
    left: -10px;
    border: 10px solid var(--pink);
}

/* Position par défaut : bottom (comme maintenant) */
.event-card-thumb.pos-bottom::before {
    clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
}
.event-card-thumb.pos-bottom::after {
    clip-path: polygon(0 50%, 100% 50%, 100% 0, 0 0);
}

/* Gauche */
.event-card-thumb.pos-left::before {
    clip-path: polygon(50% 0, 50% 100%, 100% 100%, 100% 0);
}
.event-card-thumb.pos-left::after {
    clip-path: polygon(50% 0, 50% 100%, 0 100%, 0 0);
}

/* Droite / haut */
.event-card-thumb.pos-right::before {
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
}
.event-card-thumb.pos-right::after {
    clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
}
.event-card-thumb img {
    width: 100px;
    height: 100px;
    outline: none;
    object-fit: cover;
    overflow: hidden;
    border-radius: 50%;
}
.event-card .card-body {
    padding: 6rem 1.5rem 1.5rem;
}

/* badge */
.bg-pink {
    background-color: var(--pink) !important;
}
.bg-pink.text-uppercase {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

/* boutons « pilule » */
.btn-pill {
    position: relative;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: #fff;
    background-color: var(--pink);
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 1;
    text-decoration: none;
}
.btn-pill::before {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-left: 1px solid var(--white);
    border-right: 1px solid var(--white);
    border-radius: 50px;
    z-index: -1;
}
.btn-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #fff;
}

/* variante demo (violet) */
.btn-demo {
    background-color: var(--pink);
    color: #fff;
}

/* responsive thumb */
@media (max-width: 576px) {
    .event-card .card-body {
        padding-top: 6rem;
    }
}
.carousel-arrow {
    transition: opacity 0.3s ease;
}
.carousel-arrow.d-none {
    opacity: 0;
    pointer-events: none;
}

/*=====================================================
  FAQ Accordion
=====================================================*/
.faq-item summary {
    cursor: pointer;
    list-style: none;
    font-weight: 500;
    position: relative;
    padding-right: 1.5rem;
}
.faq-item summary::marker {
    display: none;
}
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    font-size: 1.2rem;
}
.faq-item[open] summary::after {
    content: "−";
}
.faq-item div {
    padding: 0.75rem 0;
    color: var(--color-muted);
    border-top: 1px solid #eee;
}

/*=====================================================
  Statistics / Highlights
=====================================================*/
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin: 3rem 0;
}
.stat-card {
    background: var(--color-primary-light);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
}
.stat-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}
.stat-card p {
    margin: 0;
    color: var(--color-secondary);
    font-size: 0.9rem;
}

/*=====================================================
  Footer
=====================================================*/
.footer {
    background: var(--color-white);
    padding: 2rem 1rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: black;
}

.link-footer {
    color: black !important;
}

.footer .footer-links a {
    margin-right: 1rem;
}

/*=====================================================
  Utility
=====================================================*/
.text-primary {
    color: var(--color-primary) !important;
}
.text-muted {
    color: var(--color-muted) !important;
}
.bg-primary {
    background: var(--color-primary) !important;
}
.rounded {
    border-radius: var(--radius) !important;
}
.shadow-soft {
    box-shadow: var(--shadow-soft) !important;
}

/* ————————————————
   Styles généraux pour tous les boutons “pilule”
   ———————————————— */
.btn-pill {
    position: relative;
    display: inline-block;
    padding: 0.25rem 1.5rem;
    border-radius: 50px;
    color: #fff;
    background-color: var(--pink); /* ou #4be3d9 pour l’autre variante */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    z-index: 1;
}

.btn-pill::before {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    /* on ne dessine QUE la gauche et la droite */
    border-left: 1px solid var(--btn-bg);
    border-right: 1px solid var(--btn-bg);
    border-top: none;
    border-bottom: none;
    border-radius: 50px;
    z-index: -1;
}

.btn-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ————————————————
   Variantes de couleurs
   ———————————————— */
.btn-demo {
    /* violet */
    --btn-bg: var(--pink);
    --btn-text: #fff;
    background-color: var(--btn-bg);
    color: var(--btn-text);
}

.btn-free {
    /* turquoise */
    --btn-bg: #4be3d9;
    --btn-text: #fff;
    background-color: var(--btn-bg);
    color: var(--btn-text);
}

/* léger effet au survol */
.btn-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* pour mobile, on réduit un peu */
@media (max-width: 576px) {
    .btn-pill {
        padding: 0.6rem 1.5rem;
    }
}
.why-section {
    display: flex;
    flex-direction: column;
}
.why-container {
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 1000px;
    align-self: center;
    width: 100%;
    margin-top: 2rem;
}

.why-block {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    margin-bottom: 2rem;
}

@media (min-width: 992px) {
    .why-block {
        z-index: 90;
    }
}

.why-block.start {
    align-self: flex-start;
}

.why-block.end {
    align-self: flex-end;
}

.connector {
    position: absolute;
    width: 350px; /* ou ce que tu veux */
    height: auto;
    z-index: 0;
}

.connector:nth-of-type(2) {
    top: 105px; /* à ajuster selon ta maquette */
    left: 480px;
}

.connector:nth-of-type(4) {
    top: 360px;
    left: 16.7%;
}

.stat-block {
    background-color: rgba(
        185,
        0,
        75,
        0.1
    ); /* ou ton rose exact si tu as le code couleur */
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-value {
    color: #b9004b; /* ton rouge / rose foncé selon la maquette */
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 600;
    margin: 0;
}

.stat-desc {
    font-size: 0.85rem;
    color: #6c757d; /* gris Bootstrap ou adapté */
    margin: 0;
}

.separator {
    width: 200px; /* ajuste la longueur de la ligne selon ton design */
    height: 3px; /* épaisseur */
    background-color: rgba(
        185,
        0,
        75,
        0.7
    ); /* adapte au rose exact de ta maquette */
    border: none;
    margin: 0 auto 4rem; /* centrée et espacement dessous */
}

.accordion-button {
    color: #b9004b; /* texte rose foncé */
}

.accordion-button:not(.collapsed) {
    background-color: transparent; /* rose plus marqué quand ouvert */
    color: #b9004b;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(185, 0, 75, 0.25); /* focus rose */
}

.accordion-body {
    color: #333; /* texte réponse standard, lisible */
}

/* Bloc formulaire encadré */
form {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
}

/* Input et textarea style rose */
form .form-control {
    border: 1px solid #b9004a50; /* ton rose */
    border-radius: 8px;
    padding: 0.75rem;
    color: #333;
}

form .form-control:focus {
    border-color: #b9004b; /* rose foncé au focus */
    box-shadow: 0 0 0 0.1rem rgba(185, 0, 75, 0.25);
}

/* Bouton rose arrondi */
form .btn-primary {
    background: #fff;
    border: 1px solid #b9004b;
    color: #b9004b;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

form .btn-primary:hover {
    background: #b9004b;
    border: 1px solid #b9004b;
    color: #fff;
}

/* Titre du formulaire */
form h5 {
    font-weight: 500;
    margin-bottom: 1rem;
}

form .form-select {
    border: 1px solid #b9004a50; /* même rose que les inputs */
    border-radius: 8px;
    padding: 0.75rem;
    color: #333;
    background-color: #fff;
    background-image: none; /* enlève la flèche Bootstrap si tu veux */
    appearance: none; /* neutralise le rendu natif (Chrome, Safari, etc.) */
    -moz-appearance: none;
    -webkit-appearance: none;
    line-height: 1.5;
}

.select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.select-wrapper::after {
    content: "\f078"; /* chevron-down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
}

form .form-select:focus {
    border-color: #b9004b; /* rose foncé */
    box-shadow: 0 0 0 0.1rem rgba(185, 0, 75, 0.25);
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 0.2rem; /* espace entre lignes */
    font-size: 1rem; /* taille lisible */
    font-weight: 500;
    color: #333; /* couleur du texte */
}

.contact-info a {
    color: #333; /* couleur du texte */
    text-decoration: none;
}

.social-icons a {
    display: inline-block;
    margin-right: 0.5rem;
}

.social-logo {
    width: 25px;
    height: 25px;
}

.footer-clcom {
    font-size: 0.95rem;
    padding: 0.2rem 0;
}

.footer-clcom a {
    text-decoration: none;
    color: #333; /* couleur du texte */
}

.footer-clcom a:hover {
    text-decoration: underline;
}

.footer-clcom .footer-logo {
    height: 200px !important;
}

.footer-links {
    font-size: 0.9rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1rem;
}

@media (max-width: 576px) {
    .footer-clcom .footer-logo {
        max-height: 200px;
    }

    .footer-links {
        display: block;
    }

    .footer-links a {
        display: inline-block;
        margin: 0 0.5rem 0.5rem 0;
    }
}

.btn-outline-clcom {
    color: #b9004b;
    border: 1px solid #b9004b;
}

.btn-outline-clcom:hover {
    background-color: #b9004b;
    color: #fff;
}

.under {
    background: linear-gradient(0deg, #b9004a8c 20%, transparent 20%);
    line-height: 1em;
    display: inline-block;
}

.certfiqualiopi {
    font-size: 10px !important;
    max-width: 70%;
    line-height: 14px;
}

.certfiqualiopi p {
    font-size: 10px !important;
    max-width: 70% !important;
    line-height: 14px;
    display: block;
}
.certfiqualiopi span {
    color: #f24556;
    font-weight: bold;
}

.text-justify {
    text-align: justify;
}

.btn-pill-auth {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem; /* espace entre texte et icône */

    background-color: #e88cad; /* le rose */
    color: #fff;
    font-weight: 500;

    border: none;
    border-radius: 50px; /* arrondi pill */
    padding: 0.5rem 1.2rem;

    font-size: 0.95rem;
    text-decoration: none;

    transition: background-color 0.2s ease-in-out, transform 0.1s;
}

.btn-pill-auth:hover {
    background-color: #d76b92; /* un rose un peu plus foncé au hover */
    color: #fff;
    text-decoration: none;
}

.btn-pill-auth:active {
    transform: scale(0.97); /* petit effet clic */
}

.text-auth {
    color: #d76b92 !important;
}

.twofa-box {
    width: 48px;
    height: 48px;
    text-align: center;
    font-size: 1.125rem;
    border: 1px solid #b9004a50;
    border-radius: 12px;
}

.twofa-box:focus {
    border-color: #b9004b;
    box-shadow: 0 0 0 0.1rem rgba(185, 0, 75, 0.25);
    outline: none;
}

:root {
    --clcom-rose: #b9004b;
    --clcom-rose-25: rgba(185, 0, 75, 0.25);
}

/* Cartes */
.vod-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #eee;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.vod-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}
.vod-thumb {
    width: 100%;
    height: 250px; /* plus haut */
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.25s ease, filter 0.25s ease;
}

@media (max-width: 992px) {
    .vod-thumb {
        height: 320px;
    }
}
@media (max-width: 576px) {
    .vod-thumb {
        height: 240px;
    }
}

.vod-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.35) 40%,
        rgba(0, 0, 0, 0.15) 70%,
        rgba(0, 0, 0, 0) 100%
    );
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.vod-loader {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(0,0,0,.55), rgba(0,0,0,.85)),
    var(--vod-loader-bg, #111);
  backdrop-filter: blur(4px);
  transition: opacity .35s ease, visibility .35s ease;
}

.vod-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.player-wrapper { position:relative; }
.player-wrapper video { opacity:0; transition:opacity .2s ease; }
.player-wrapper.ready video { opacity:1; }
.vod-spinner {
  width: 54px; height: 54px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.25);
  border-top-color: #fff;
  animation: spin 1s linear infinite;
  margin-bottom: 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.vod-loader-text {
  color: #fff; opacity: .85; font-weight: 600;
  font-size: .95rem; letter-spacing: .2px;
}

/* Empêche l’affichage brut du <video> non prêt */
.vod-player video {
  width: 100%; height: auto; background: transparent;
  opacity: 0; transition: opacity .35s ease;
}
.vod-player.ready video { opacity: 1; }
.vod-card:hover .vod-overlay {
    opacity: 0.95;
}

.vod-title-overlay {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 14px;
    margin: 0;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.25;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
    display: -webkit-box; /* clamp 2 lignes */
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Featured (gauche) */
@media (max-width: 992px){ .vod-card.featured{ height: 360px !important; } }
@media (max-width: 576px){ .vod-card.featured{ height: 260px !important; } }
.vod-title-featured { font-size: 1.1rem; }

.vod-card.featured .vod-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(20px) brightness(0.8);
  transform: scale(1.15); /* pour éviter de voir les bords du blur */
}

.vod-card.featured{
   height: 420px;
}
/* Image par-dessus */
.vod-card.featured .vod-thumb-featured {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
  object-fit: cover;         /* valeur par défaut → JS peut passer en contain */
  object-position: center 40%;
}

.vod-card.featured .vod-overlay,
.vod-card.featured .vod-title-overlay,
.vod-card.featured .play-badge,
.vod-card.featured .badge-category {
  z-index: 2;
}


/* Card infos (droite) */
.recommend-card{
  background: #f3f4f6;            /* gris doux */
  border: none;
}
.text-rose{ color: var(--clcom-rose); }
.badge-soft-rose{
  display:inline-block;
  background: var(--clcom-rose);
  color:#fff;
  border-radius: 999px;
  padding: .35rem .7rem;
  font-weight: 700;
  font-size: .8rem;
}
/* Badge catégorie */
.badge-category {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    background: #b9004b;
    color: #fff;
    padding: 0.32rem 0.45rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    text-wrap: nowrap;
}

.play-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.play-badge i.fa-play {
    color: #b9004b;
    font-size: 1rem;
    margin-left: 2px;
}
.play-badge .lock {
    position: absolute;
    right: -6px;
    bottom: -8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #b9004b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    line-height: 0; /* 🔑 corrige l’alignement vertical */
}
.play-badge .lock i {
    display: block;   /* évite que FA ajoute son propre line-height */
    line-height: 0;
}


/* Pagination */
.pagination .page-link {
    color: var(--clcom-rose);
}
.pagination .page-item.active .page-link {
    background: var(--clcom-rose);
    border-color: var(--clcom-rose);
    color: #fff;
}

.replay-toolbar{
  background: #f8f9fb;
  border: 1px solid #eee;
}

/* Boutons rose CLCOM */
.btn-rose{
  background:#d76b92;
  border-color:#d76b92;
  color:#fff;
}
.btn-rose:hover{ background:#980040; border-color:#980040; color:#fff; }

.btn-outline-rose{
  border-color:#d76b92;
  color:#d76b92;
  background:#fff;
}
.btn-outline-rose:hover{ background:#d76b92; color:#fff; }

/* Optionnel : harmoniser le champ recherche avec tes inputs */
.input-group .form-control{
  border:1px solid #b9004a50;
}
.input-group .form-control:focus{
  border-color:#d76b92;
  box-shadow:0 0 0 .1rem rgba(185,0,75,.25);
}

/* Wrapper : hauteur responsive */
.hero-vod{
  min-height: clamp(320px, 30vw, 380px);
}

/* Image de fond */
.hero-vod .hero-vod-bg{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* Overlay sombre (un peu plus fort côté gauche) */
.hero-vod-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(0,0,0,.55) 0%,
    rgba(0,0,0,.35) 35%,
    rgba(0,0,0,.15) 65%,
    rgba(0,0,0,0) 100%);
  pointer-events: none;
}

/* Contenu */
.hero-vod-content{
  position: absolute; inset: 0;
}

/* Titre */
.hero-vod-title{
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
  font-size: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

/* HERO vidéo */
.vod-hero{ position: relative; background:#111; }
.vod-hero-img{
  width: 100%; height: auto; display:block;
  aspect-ratio: 16/9; object-fit: cover;
}
.play-badge-lg{
  width: 84px; height: 84px;
}
.price-pill{
  background: #e88cad; color:#fff; font-weight:700;
  border-radius: 999px; display:inline-flex; align-items:center; gap:.25rem;
  padding: .4rem 1rem;
}
.price-pill small{ font-weight:700; opacity:.9; }

/* Overlay déjà défini ; au cas où : */
.vod-overlay{ position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.45)); }

.vod-hero video {
  background: #000;
  outline: none;
  border: 0;
}

/* Bannière succès type "toast" */
.banner-success{
  background: #6faa57;          /* vert principal */
  color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.banner-success a{ color: #fff; text-decoration: underline; }

/* Icône à gauche */
.banner-success__icon{
  width: 50px; height: 50px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
.banner-success__body{ line-height: 1.35; }

.bg-gris{
  background: #E5E5E5 !important;
}

.participation-header {
  background: #fff0f5; /* rose clair */
}

/* Nav compte */
.account-nav .list-group-item {
  border: 0;
  border-radius: 0px 12px 12px 0px;
  padding: .8rem 1rem;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

/* Effet hover léger */
.account-nav .list-group-item:hover {
  background: #faf5f8;
}

/* État actif façon "pastille + barre" */
.account-nav .list-group-item.active {
  background: #fcf3f7;                /* rose très clair */
  color: #000;                         /* texte noir comme sur le visuel */
  font-weight: 600;
  position: relative;
  box-shadow: 0 1px 0 rgba(0,0,0,.02) inset;
  border-left: solid 3px #b9004b;

}

/* Icône : garder la couleur par défaut en actif */
.account-nav .list-group-item.active i {
  color: inherit;
}

/* Coins arrondis du conteneur list-group flush (pour éviter les angles durs) */
.account-nav {
  gap: .35rem;
  display: flex;
  flex-direction: column;
}


/* =========================
   Alertes
   ========================= */
.clc-banner{
  position: relative;
  border-radius: var(--clc-radius-xl);
  overflow: hidden;
  box-shadow: var(--clc-shadow);
  border: 1px solid rgba(215,107,146,.18);
  isolation: isolate;
}

/* Dégradé + motif */
.clc-banner--rose{
  background:
    radial-gradient(1200px 400px at 110% -10%, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 60%) no-repeat,
    radial-gradient(800px 300px at -10% 110%, rgba(255,255,255,.25) 0%, rgba(255,255,255,0) 60%) no-repeat,
    linear-gradient(135deg, var(--clc-rose) 0%, var(--clc-rose-600) 60%, var(--clc-rose-700) 100%);
  color: var(--clc-white);
}

/* Contenu */
.clc-banner__inner{
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 1rem 1.25rem;
  align-items: center;
  padding: 1.25rem 1.25rem;
}
@media (min-width: 768px){
  .clc-banner__inner{
    grid-template-columns: 110px 1fr auto;
    padding: 1.5rem 1.75rem;
    gap: 1.25rem 1.5rem;
  }
}

.clc-banner__media{
  display: grid;
  place-items: center;
}
.clc-banner__badge{
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background:
    linear-gradient(var(--clc-white), var(--clc-white)) padding-box,
    conic-gradient(from 180deg, rgba(255,255,255,.7), rgba(255,255,255,0)) border-box;
  border: 2px solid transparent;
  display: grid;
  place-items: center;
  color: var(--clc-rose);
  box-shadow: 0 6px 20px rgba(0,0,0,.08), inset 0 0 0 1px rgba(255,255,255,.35);
}
.clc-banner__badge i{
  font-size: 26px;
}

.clc-banner__body{
  min-width: 0;
}
.clc-banner__title{
  margin: 0 0 .25rem;
  font-weight: 800;
  letter-spacing: .2px;
  line-height: 1.2;
  font-size: 1.125rem;
}
@media (min-width: 768px){
  .clc-banner__title{ font-size: 1.25rem; }
}

.clc-banner__text{
  margin: 0;
  opacity: .95;
  line-height: 1.45;
}

/* Liste de bénéfices */
.clc-banner__list{
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin: .75rem 0 0;
  padding: 0;
  list-style: none;
}
.clc-banner__list li{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--clc-white);
  padding: .35rem .65rem;
  border-radius: 999px;
  font-size: .875rem;
  backdrop-filter: saturate(120%) blur(2px);
}
.clc-banner__list li::before{
  content: "✓";
  font-weight: 900;
  opacity: .9;
}

/* Actions */
.clc-banner__actions{
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 767.98px){
  .clc-banner__actions{
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

/* Boutons */
.clc-btn{
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .06s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  will-change: transform;
}
.clc-btn:active{ transform: translateY(1px); }

.clc-btn--light{
  background: var(--clc-white);
  color: var(--clc-rose);
  border: 1px solid rgba(0,0,0,.04);
  padding: .55rem 1rem;
  box-shadow: 0 6px 18px rgba(255,255,255,.25), inset 0 0 0 1px rgba(0,0,0,.04);
}
.clc-btn--light:hover{
  background: #fff;
  color: var(--clc-rose-600);
  box-shadow: 0 8px 24px rgba(255,255,255,.35), inset 0 0 0 1px rgba(0,0,0,.06);
}

.clc-btn--ghost{
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  padding: .55rem 1rem;
}
.clc-btn--ghost:hover{
  background: rgba(255,255,255,.22);
}

/* Lien discret */
.clc-link{
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: .9;
}
.clc-link:hover{ opacity: 1; }

/* Close */
.clc-banner__close{
  position: absolute;
  top: 10px; right: 10px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  backdrop-filter: blur(2px);
  cursor: pointer;
}
.clc-banner__close:hover{ background: rgba(255,255,255,.22); }

/* Variante compacte (si tu veux un bandeau + fin) */
.clc-banner--compact .clc-banner__inner{
  grid-template-columns: 70px 1fr auto;
  padding: .9rem 1rem;
}
.clc-banner--compact .clc-banner__badge{ width: 56px; height: 56px; }
.clc-banner--compact .clc-banner__title{ font-size: 1.05rem; }
.clc-banner--compact .clc-banner__list{ margin-top: .5rem; }

/* Accessibilité focus */
.clc-btn:focus-visible,
.clc-banner__close:focus-visible{
  outline: 3px solid rgba(255,255,255,.9);
  outline-offset: 2px;
}

.logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* centre parfaitement */
    max-width: 400px; /* ajuste selon la taille que tu veux */
    height: auto;
    opacity: 0.9; /* optionnel, pour fondre un peu */
}

.magic-toast {
    position: fixed;
    top: 100px;
    right: 20px;
    background: #dc3545; /* rouge bootstrap */
    color: #fff;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-10px);
    transition: all .25s ease;
    z-index: 9999;
}

.magic-toast.visible {
    opacity: 1;
    transform: translateY(0);
}