/* =========================
   Palette CLCOM (rose)
   ========================= */
:root{
  --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;
}

body {
    font-family: "Hind";
}
.fw-bold {
    font-weight: 600 !important;
}
h1 {
    font-size: 50px;
}
h2 {
    font-size: 40px;
    letter-spacing: 10px !important;
}
h3 {
    letter-spacing: 1px;
    font-size: 18px;
}
a{
    text-decoration: none;
    color: #333333;
}
a:hover{
    text-decoration: none;
    color: #b9004b;
}
.text-primary{
    color: #b9004b !important;
}
.bg-primary{
    background-color: #b9004b !important;
}
.header-background {
    margin: 3vh;
    margin-bottom: 6vh;
    background: url("../images/heroes-bb3226e09dfee7a08310cadfc9191628.jpg") no-repeat center center;
    background-size: cover;
    height: 91vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}

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

.header-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.header-background .logo {
    margin-bottom: 30px;
}

.bg-red {
    background-color: #b9004b;
}
.separator {
    width: 20%;
    height: 6px;
    background-color: #b9004b;
    margin: 20px auto;
    margin-bottom: 40px;
}

.edito {
    padding: 40px 0;
}

.edito-content {
    padding-left: 20px;
}

.edito-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    position: relative;
    text-align: center;
    max-width: 800px;
}

.edito-title .line {
    flex: 1;
    height: 5px;
    background-color: #b9004b;
    margin: 0 10px;
}

.custom-separator {
    width: 100%;
    height: 2px;
    background-color: #b9004b;
    margin: 10px 0;
    position: relative;
}

.custom-separator:before,
.custom-separator:after {
    content: "";
    position: absolute;
    top: 0;
    width: 25px;
    height: 100%;
    background-color: #b9004b;
}

.custom-separator:before {
    left: 0;
}

.custom-separator:after {
    right: 0;
}

.read-more {
    display: block;
    margin-top: 20px;
    color: #b9004b;
    font-weight: bold;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

.programme-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    position: relative;
    text-align: center;
}

.programme-title .line {
    flex: 1;
    height: 3px;
    background-color: #b9004b;
    margin: 0 10px;
}

.nav-link:not(.active) {
    color: #000 !important;
}

.timeline {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0px 0;
}

.timeline::after {
    content: "";
    position: absolute;
    width: 4px;
    background-color: #ddd;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.timeline-event {
    padding: 0px 40px;
    position: relative;
    width: 50%;
}

.timeline-event.left {
    left: 0;
}

.timeline-event.right {
    position: relative;
    left: 50%;
}

.timeline-event::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 5px solid #ddd;
    transform: translateY(-50%);
    top: 50%;
    border-radius: 50%;
    z-index: 1;
}

.timeline-event.left::after {
    right: -11px;
}

.timeline-event.right::after {
    left: -9.5px;
}

.timeline-event.right .timeline-content::before {
    content: " ";
    border-bottom: 11px solid transparent;
    border-right: 12px solid #ddd;
    border-left: none;
    border-top: 11px solid transparent;
    left: -12px;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
}

.timeline-event.left .timeline-content::before {
    content: " ";
    border-bottom: 11px solid transparent;
    border-left: 12px solid #ddd;
    border-right: none;
    border-top: 11px solid transparent;
    right: -12px;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
}

.timeline-content {
    padding: 1.25rem;
    background-color: white;
    position: relative;
    border-radius: 6px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content h4 {
    color: #b9004b;
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: bold;
    font-family: 'Roboto';
}

.timeline-content h5 {
    font-size: 17px;
    font-weight: bold;
    font-family: 'Roboto';
    font-style: normal;
    margin-bottom: 0;
    color: #333333;
}

.timeline-content p {
    margin-bottom: 0;
    color: #666;
}

@media screen and (max-width: 600px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-event {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        margin-top: 20px;
    }

    .timeline-event.left::after,
    .timeline-event.right::after {
        left: 5.5%;
    }

    .timeline-event.right {
        left: 0%;
    }

    .timeline-event.left {
        text-align: left;
    }
    .timeline-event.right .timeline-content::before,
    .timeline-event.left .timeline-content::before {
        content: " " !important;
        border-bottom: 11px solid transparent !important;
        border-right: 12px solid #ddd !important;
        border-left: none !important;
        border-top: 11px solid transparent !important;
        left: -12px !important;
        position: absolute !important;
        transform: translateY(-50%) !important;
        top: 50% !important;
        right: unset;
    }
}

.nav-tabs {
    border-bottom: none;
}

.nav-tabs .nav-link {
    color: #007bff;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-bottom: 3px solid transparent;
}

.nav-tabs .nav-link.active {
    color: #b9004b;
    border-color: #b9004b;
}

.nav-tabs .nav-link:hover {
    border-color: #ddd;
}
.soirees, #inscription{
    background-color: #f5f5f5;
    padding: 50px;
}
.soirees-title {
    text-align: center;
    font-weight: bold;
    position: relative;
    font-size: 2rem;
}

.soirees-title .line {
    display: inline-block;
    width: 50px;
    height: 3px;
    background-color: #b9004b;
    margin: 0 10px;
}

.soiree {
    text-align: center;
    margin-bottom: 30px;
}

.soiree-img {
    transition: transform 0.3s ease;
    height: 215px;
}

.soiree-img:hover {
    transform: scale(0.9);
}

.soiree h3 {
    margin-top: 15px;
    font-weight: bold;
}

.soiree p {
    color: #b9004b;
    font-weight: bold;
}

.activite-detente-title {
    text-align: center;
    font-weight: bold;
    position: relative;
    font-size: 2rem;
}

.activite-detente-title .line {
    display: inline-block;
    width: 50px;
    height: 3px;
    background-color: #b9004b;
    margin: 0 10px;
}

.activite-detente-subtitle {
    text-align: center;
    font-weight: bold;
    margin-top: 20px;
}

.activite-detente-date {
    text-align: center;
    color: #b9004b;
    font-weight: bold;
}

.activite {
    text-align: center;
    margin-bottom: 30px;
}

.activite-img {
    transition: transform 0.3s ease;
}

.activite-img:hover {
    transform: scale(0.9);
}

.activite h4 {
    margin-top: 15px;
    font-weight: bold;
}

.details-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
}

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

.btn-inscription {
    background-color: #c40034;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
}

.btn-inscription:hover {
    background-color: #a3002d;
}

.pricing-card {
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card .card-header {
    padding: 20px;
    flex: 0 1 auto;
}

.pricing-card .card-body {
    padding: 20px;
    flex: 1 1 auto;
}

.pricing-card .card-footer {
    padding: 20px;
    flex: 0 1 auto;
}

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

.pricing-card h2 {
    margin: 0;
    font-size: 2.5em;
    letter-spacing: 0px !important;
}

.pricing-card p {
    margin: 10px 0;
}

.pricing-card .bg-primary {
    background-color: #b9004b !important;
}

.pricing-card .bg-secondary {
    background-color: #004b96 !important; /* Secondary color to complement the primary */
}

.pricing-card .bg-success {
    background-color: #4CAF50 !important; /* Green */
}

.pricing-card .bg-warning {
    background-color: #FF9800 !important; /* Orange */
}

.pricing-card .btn-primary {
    background-color: #b9004b !important;
    border-color: #b9004b !important;
}

.pricing-card .btn-secondary {
    background-color: #004b96 !important;
    border-color: #004b96 !important;
}

.pricing-card .btn-success {
    background-color: #4CAF50 !important;
    border-color: #4CAF50 !important;
}

.pricing-card .btn-warning {
    background-color: #FF9800 !important;
    border-color: #FF9800 !important;
    color: white !important;
}





/* Style pour le volet latéral */
#sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999; /* Assurez-vous que ce z-index est plus élevé que tous les autres éléments */
    top: 0;
    right: 0;
    background-color: #a40059;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

#sidebar a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #fff;
    display: block;
    transition: 0.3s;
}

#sidebar a:hover {
    color: #f1f1f1;
}

#sidebar .closebtn {
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 36px;
}

#openSidebar {
    font-size: 30px;
    cursor: pointer;
    color: #a40059;
    position: fixed;
    top: 50px;
    right: 80px;
    z-index: 9998; /* Juste en dessous de la sidebar */
}

@media screen and (max-width: 768px) {
    #sidebar a {
        font-size: 20px;
        padding: 8px 8px 8px 20px;
    }

    #sidebar .closebtn {
        font-size: 30px;
    }
}

/* Style pour le bouton flottant */
.back-to-top {
    display: none; /* Caché par défaut */
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 9999; /* Assurez-vous que ce z-index est plus élevé que tous les autres éléments */
    font-size: 18px;
    background-color: #a40059;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 15px;
    cursor: pointer;
}

.back-to-top:hover {
    background-color: #e02b76;
}

.payment-success-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 70vh;
    text-align: center;
    background-color: #f8f9fa;
}

.payment-success-container h1 {
    font-size: 2.5rem;
    color: #28a745;
    margin-bottom: 20px;
}

.payment-success-container p {
    font-size: 1.2rem;
    color: #6c757d;
}

.payment-success-icon {
    font-size: 5rem;
    color: #28a745;
    margin-bottom: 20px;
}

.payment-cancelled-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 70vh;
    text-align: center;
    background-color: #f8f9fa;
}

.payment-cancelled-container h1 {
    font-size: 2.5rem;
    color: #dc3545;
    margin-bottom: 20px;
}

.payment-cancelled-container p {
    font-size: 1.2rem;
    color: #6c757d;
}

.payment-cancelled-icon {
    font-size: 5rem;
    color: #dc3545;
    margin-bottom: 20px;
}

.btn-primary {
    background-color: #b9004b !important;
    border-color: #b9004b !important;
}

.btn-outline-primary {
    background-color: #b9004b !important;
    border-color: #b9004b !important;
    color: white;
}

.btn-outline-primary:hover {
    background-color: white !important;
    border-color: #b9004b !important;
    color: #b9004b;
}

.vertical-rectangle {
    position: absolute;
    top: 10px; /* Aligné en haut de l'image */
    right: 4px; /* Positionné sur le bord gauche de la photo */
    width: 20px;
    height: 80px;
    background-color: #b9004b; /* Rose vif */
}

/* --- Structure générale --- */
.ateliers-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* --- Vignettes --- */
/* Colonne des vignettes */
.thumbnails {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem; /* espace sous les cards */
    scrollbar-width: thin;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

/* Chaque vignette */
.thumbnail-card {
    scroll-snap-align: center;
    flex: 0 0 200px; /* largeur fixe */
    background: #fff;
    border-radius: 0.5rem;
    color: #fff !important;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

/* Au clic / hover */
.thumbnail-card.active,
.thumbnail-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: #b9004b;
    color: #fff !important;
    transition: 0.5s;
}

.thumbnail-card.active {
    color: #fff !important;
}

/* Wrapper de l’image */
.thumb-img-square {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background-size: cover;
    background-position: top 20% center;
    overflow: hidden;
}

/* 2) Picto losange #1 */
.thumb-img-square::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%; /* ajustez la taille du losange */
    height: 80%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    transform: translate(-50%, -50%) rotate(70deg);
    pointer-events: none;
}

.thumb-img-square::before,
.thumb-img-square::after {
    transition: transform 0.3s ease, border-color 0.3s ease;
    transform-origin: center center;
}

/* 2) On scale un peu les losanges au hover de la carte */
.thumbnail-card:hover .thumb-img-square::before {
    transform: translate(-50%, -50%) rotate(45deg) scale(1.1);
    border-color: rgba(255, 255, 255, 1);
}

.thumbnail-card:hover .thumb-img-square::after {
    transform: translate(-50%, -50%) rotate(45deg) scale(1.2);
    border-color: rgba(255, 255, 255, 0.7);
}

.thumb-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0; /* prend en compte le border */
    padding: 0.5rem 0.25rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.speaker-block:last-child {
    margin-bottom: 0;
}

.first-name {
    display: block;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
}

.last-name {
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background-color: #b9004b;
    padding: 0 6px; /* remplace les padding droite/gauche */
    color: white;
}

/* --- Panneau détails --- */
.details-panel {
    flex: 1;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    transition: opacity 0.2s ease;
    height: fit-content;
}

.details-panel.hidden {
    opacity: 0;
}
.details-panel.fading-out {
    opacity: 0;
}
.details-panel.fading-in {
    opacity: 1;
}

/* Contenu interne */
.detail-inner {
    display: flex;
    flex-direction: row;
    min-height: 300px;
}

/* Image (pas de crop) */
.detail-img-wrapper {
    flex: 0 0 20%; /* prend 40% de la largeur du panneau */
    min-width: 200px; /* largeur minimale */
    background-size: cover; /* plein cadre, cropping si besoin */
    background-position: center center;
    background-repeat: no-repeat;
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    /* on garde la même hauteur que le contenu : */
    aspect-ratio: 1/1;
}

/* Texte */
.detail-content {
    padding: 1rem 1.5rem;
    overflow-y: auto;
}
.detail-content h3 {
    margin-top: 0;
    font-size: 1.25rem;
    color: #222;
}
.detail-content h4 {
    margin: 0.25rem 0 1rem;
    font-size: 1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.detail-content .detail-pitch {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .ateliers-container {
        flex-direction: column;
    }
    .thumbnails {
        flex-direction: row;
        overflow-x: auto;
        flex: none;
        width: 100%;
    }
    .thumbnail-card {
        flex: 0 0 140px;
    }
    .details-panel {
        margin-top: 1rem;
    }
    .detail-inner {
        flex-direction: column;
    }
    .detail-img-wrapper {
        display: none;
    }
}

.footer-clcom {
  font-size: 0.95rem;
  color: #b9004b;
  padding: 2rem 0;
}

.footer-clcom a {
  color: #b9004b;
  text-decoration: none;
}

.footer-clcom a:hover {
  text-decoration: underline;
}

.footer-clcom .footer-logo {
  max-height: 200px;
  height: auto;
}

.footer-links {
  font-size: 0.9rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem;
}

@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;
  }
}



/* =========================
   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;
}