/* =========================================================
   WORKSHOPS FEATURED STRIP
   CSS autonome — sans dépendance Tailwind
   ========================================================= */

/* Section principale */
.workshops-strip {
    max-width: 72rem; /* équivalent max-w-6xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

/* Conteneur général */
.workshops-container {
    background-color: #fafbfc;
    border: 1px solid #dbeafe;
    border-radius: 0.125rem;
    padding: 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* En-tête */
.workshops-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Partie gauche de l'en-tête */
.workshops-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Petit point terracotta */
.workshops-heading-dot {
    display: inline-block;
    flex-shrink: 0;
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background-color: #c94a44;
}

/* Titre de la section */
.workshops-heading-title {
    margin: 0;
    color: #1e3a5f;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Badge "Groupes thérapeutiques..." */
.workshops-heading-badge {
    display: inline-block;
    padding: 0.125rem 0.625rem;
    border: 1px solid #fde68a;
    border-radius: 0.25rem;
    background-color: rgba(ff, 251, 235, 0.5);
    color: #92400e;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 500;
}

/* Grille des ateliers */
.workshops-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Carte atelier */
.workshop-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s ease;
}

.workshop-card:hover {
    border-color: #d1d5db;
}

/* Contenu supérieur de la carte */
.workshop-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Ligne catégorie / type */
.workshop-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

/* Catégorie */
.workshop-card-category {
    display: inline-block;
    color: #0284c7;
    font-size: 0.625rem;
    line-height: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Variante terracotta de la catégorie */
.workshop-card-category--terracotta {
    color: #c94a44;
}

/* Type de cycle */
.workshop-card-type {
    color: #9ca3af;
    font-size: 0.6875rem;
    line-height: 1rem;
}

/* Titre de l'atelier */
.workshop-card-title {
    margin: 0;
    color: #1f2937;
    font-size: 0.75rem;
    line-height: 1.375;
    font-weight: 600;
}

/* Description */
.workshop-card-description {
    margin: 0;
    color: #6b7280;
    font-size: 0.75rem;
    line-height: 1.625;
}

/* Pied de carte */
.workshop-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.25rem;
    border-top: 1px solid #f3f4f6;
}

/* Texte "Démarrage prochain" */
.workshop-card-start {
    color: #6b7280;
    font-size: 0.6875rem;
    line-height: 1rem;
    font-weight: 500;
}

/* Bouton */
.workshop-card-button {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 1rem;
    border-radius: 0.25rem;
    color: #ffffff;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

/* Bouton bleu */
.workshop-card-button--blue {
    background-color: #1e3a5f;
}

.workshop-card-button--blue:hover {
    background-color: #334155;
}

a.workshop-card-button--blue:hover {
	color: #ddd;
}

/* Bouton terracotta */
.workshop-card-button--terracotta {
    background-color: #c94a44;
}

.workshop-card-button--terracotta:hover {
    background-color: #d2322d;
	border-color: #ac2925;
}

a.workshop-card-button--terracotta:hover {
    color: #fff;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

/* À partir de 640px — équivalent sm: */
@media (min-width: 640px) {

    .workshops-container {
        padding: 1.25rem;
    }

    .workshops-header {
        flex-direction: row;
        align-items: center;
    }

    .workshops-heading-title {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }

    .workshop-card-title {
        font-size: 0.875rem;
    }
}


/* À partir de 768px — équivalent md: */
@media (min-width: 768px) {

    .workshops-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}