/**
* FORMATIONS
*/

/* Container principal (toutes les formations) */
.wp-forma-formations-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 40px 0;
}

/* Conteneur global de chaque formation */
.wp-forma-formation-item {
    display: grid;
    grid-template-columns: 300px 1fr; /* 300px pour l'image, le reste pour le contenu */
    gap: 20px;
    align-items: center;             /* centre verticalement les éléments */
    padding: 20px;
    border-bottom: solid 1px #d7d7d7;
}

/* Conteneur de l'image */
.wp-forma-formation-image {
    position: relative;
    width: 100%;         /* correspond à la taille de la colonne */
    height: 200px;       /* hauteur fixe pour forcer le ratio */
    overflow: hidden;    /* coupe l'image qui dépasse */
    border-radius: 8px;  /* coins arrondis */
}

/* Image */
.wp-forma-formation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* remplit la zone en recadrant si nécessaire */
    object-position: center;
    display: block;
}

/* Contenu */
.wp-forma-formation-content {
    border-radius: 8px;
    padding: 20px;
}

/* Titre formation */
.wp-forma-formation-title {
    margin-top: 0;
    font-size: 1.5em;
    color: #1E3040; /* couleur de texte */
}

/* Extrait */
.wp-forma-formation-excerpt {
    margin: 1em 0;
    font-size: 1em;
    line-height: 1.4;
    color: #1E3040;
}

/* Lien / bouton */
.wp-forma-formation-link {
    display: inline-block;
    padding: 10px 16px;
    background: var(--wp-forma-primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}
.wp-forma-formation-link:hover {
    background: var(--wp-forma-primary-color);
}

/* Adaptation responsive (image au-dessus, texte en dessous) */
@media screen and (max-width: 768px) {
    .wp-forma-formation-item {
        /* On repasse à une seule colonne */
        grid-template-columns: 1fr; 
    }
    
    /* L’image prend toute la largeur au-dessus du texte */
    .wp-forma-formation-image {
        width: 100%;
        height: 200px;  /* on peut conserver la même hauteur fixe */
    }
}

/**
* SESSIONS
*/

/* Liste de sessions (layout en flex) */
.wp-forma-sessions-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Carte session */
.wp-forma-session-card {
    border-radius: 15px;
    padding: 15px;
    color: #1E3040;
    background-color: white;
}

/* Zone date */
.wp-forma-session-card .session-date {
    background: white;
    padding: 8px;
    margin-bottom: 10px;
    position: relative;
    top: -190px;
    left: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
    border-radius: 6px;
}
.wp-forma-session-card .session-day {
    color: var(--wp-forma-primary-color);
    font-size: 1.5em;
    font-weight: bold;
}

/* Image */
.session-thumbnail {
    width: 100%;
    height: 200px; /* Hauteur fixe pour toutes les images */
    border-radius: 8px;
    overflow: hidden;     /* Pour masquer le dépassement */
    position: relative;   /* Optionnel, mais souvent pratique */
    margin-bottom: 20px;
}

.session-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Remplit le conteneur en rognant */
    object-position: center; /* Centrage vertical/horizontal */
    display: block;
}

/* Titre */
.wp-forma-session-card .session-title {
    margin-bottom: 10px;
    font-size: 1.2em;
    font-weight: bold;
}

/* Intervenants */
.wp-forma-session-card .session-intervenants {
    margin-bottom: 10px;
}

.wp-forma-session-card svg, .wp-forma-session-info svg{
    fill: var(--wp-forma-primary-color);
    width: 16px;
}

/* Extrait */
.wp-forma-session-card .session-excerpt {
    margin-bottom: 10px;
}

/* Bouton */
.wp-forma-session-card .session-button {
    display: inline-block;
    padding: 8px 12px;
    background: var(--wp-forma-primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}
.wp-forma-session-card .session-button:hover {
    background: var(--wp-forma-primary-color);
}

/* Recherche et filtres */

.search-container{
    display: flex;
    height: 50px;
    margin-bottom: 20px;
}
.search-container input{
    width: 80%;
    border-radius: 5px;
    padding: 10px!important;
}

.search-container button{
    display: inline-block;
    padding: 8px 12px;
    background: var(--wp-forma-primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    margin-left: 1%;
    width: 19%;
}

.search-filter{
    margin-bottom: 20px;
}

.search-filter button{
    background: var(--wp-forma-primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    padding: 4px 10px;
}



@media screen and (max-width: 950px) {
    /* Carte session */
    .wp-forma-sessions-list {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}

/**
* INTERVENANTS
*/

/* Grille principale */
.wp-forma-intervenants-grid {
    display: grid; /* ou flex, selon ta préférence */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* Élément individuel */
.wp-forma-intervenant-item {
    padding: 20px;
    border-radius: 12px;
}

/* Image */
.wp-forma-intervenant-image {
    width: 100%;
    height: 200px; /* Hauteur fixe pour toutes les images */
    border-radius: 8px;
    overflow: hidden;     /* Pour masquer le dépassement */
    position: relative;   /* Optionnel, mais souvent pratique */
    margin-bottom: 20px;
}

.wp-forma-intervenant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Remplit le conteneur en rognant */
    object-position: center; /* Centrage vertical/horizontal */
    display: block;
}

/* Titre (nom de l’intervenant) */
.wp-forma-intervenant-name {
    margin: 0 0 10px;
    font-size: 1.5em;
    font-weight: bold;
    color: #1E3040;
}

/* Extrait */
.wp-forma-intervenant-excerpt {
    font-size: 0.9em;
    line-height: 1.4;
    color: #1E3040;
    margin-bottom: 10px;
}

/* Lien "voir plus" */
.wp-forma-intervenant-link {
    color: var(--wp-forma-primary-color);
    text-decoration: none;
    font-weight: bold;
}
.wp-forma-intervenant-link:hover {
    text-decoration: underline;
}

/**
* ONGLETS FORMATION INFO
*/

/* Container principal des onglets */
.wp-forma-formation-info-tabs {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 30px 0;
}

/* Navigation des onglets */
.wp-forma-tabs-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    border-bottom: 2px solid #e0e0e0;
    flex-wrap: wrap;
}

/* Item de navigation (onglet) */
.wp-forma-tab-item {
    flex: 1;
    min-width: 120px;
    padding: 18px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    color: #666;
}

.wp-forma-tab-item:hover {
    background: #ebebeb;
    color: #333;
}

.wp-forma-tab-item.active {
    background: #ffffff;
    color: var(--wp-forma-primary-color);
    border-bottom-color: var(--wp-forma-primary-color);
    font-weight: 600;
}

/* Icône de l'onglet */
.wp-forma-tab-item .tab-icon {
    display: inline-block;
}

.wp-forma-tab-item .tab-icon svg {
    width: 24px;
    height: 24px;
    fill: #666;
    transition: fill 0.3s ease;
}

.wp-forma-tab-item.active .tab-icon svg {
    fill: var(--wp-forma-primary-color);
}

.wp-forma-tab-item:hover .tab-icon svg {
    fill: #333;
}

/* Label de l'onglet */
.wp-forma-tab-item .tab-label {
    font-size: 14px;
    font-weight: 500;
}

/* Container du contenu */
.wp-forma-tabs-content {
    position: relative;
    min-height: 200px;
}

/* Panneau de contenu */
.wp-forma-tab-pane {
    display: none;
    padding: 0;
    animation: fadeIn 0.4s ease-in-out;
}

.wp-forma-tab-pane.active {
    display: block;
}

/* Contenu interne */
.tab-content-inner {
    padding: 30px;
}

.tab-content-inner h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--wp-forma-primary-color);
    font-size: 1.5em;
}

.tab-content-inner p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
    margin: 10px 0;
}

/* Liste des intervenants */
.intervenants-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.intervenants-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.intervenants-list li:last-child {
    border-bottom: none;
}

.intervenants-list a {
    color: var(--wp-forma-primary-color);
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
    transition: color 0.3s ease;
}

.intervenants-list a:hover {
    color: #333;
    text-decoration: underline;
}

/* Prix en évidence */
.prix-value {
    font-size: 2em;
    font-weight: bold;
    color: var(--wp-forma-primary-color);
}

/* Animation d'apparition */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media screen and (max-width: 768px) {
    .wp-forma-tabs-nav {
        flex-direction: column;
    }

    .wp-forma-tab-item {
        border-bottom: 1px solid #e0e0e0;
        border-right: none;
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        padding: 15px 20px;
    }

    .wp-forma-tab-item.active {
        border-left: 4px solid var(--wp-forma-primary-color);
        border-bottom-color: #e0e0e0;
    }

    .tab-content-inner {
        padding: 20px;
    }

    .tab-content-inner h3 {
        font-size: 1.3em;
    }

    .prix-value {
        font-size: 1.5em;
    }
}

/**
* ACCORDION PROGRAMME
*/

/* Container principal */
.wp-forma-accordion {
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Item de l'accordion */
.wp-forma-accordion-item {
    border-bottom: 1px solid #e0e0e0;
    background: #ffffff;
}

.wp-forma-accordion-item:last-child {
    border-bottom: none;
}

/* Header (titre cliquable) */
.wp-forma-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    background: #f8f8f8;
}

.wp-forma-accordion-header:hover {
    background: #eeeeee;
}

.wp-forma-accordion-item.active .wp-forma-accordion-header {
    background: var(--wp-forma-primary-color);
}

.wp-forma-accordion-item.active .wp-forma-accordion-header h3 {
    color: #ffffff;
}

.wp-forma-accordion-header h3 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
    transition: color 0.3s ease;
}

/* Icône +/- */
.accordion-icon {
    font-size: 1.5em;
    font-weight: bold;
    color: #666;
    min-width: 30px;
    text-align: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

.wp-forma-accordion-item.active .accordion-icon {
    color: #ffffff;
}

/* Contenu (description) */
.wp-forma-accordion-content {
    display: none;
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
}

.accordion-content-inner {
    padding: 25px;
    line-height: 1.6;
    color: #333;
}

.accordion-content-inner p {
    margin: 0 0 15px 0;
}

.accordion-content-inner p:last-child {
    margin-bottom: 0;
}

.accordion-content-inner ul,
.accordion-content-inner ol {
    margin: 10px 0;
    padding-left: 25px;
}

.accordion-content-inner li {
    margin-bottom: 8px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .wp-forma-accordion-header {
        padding: 15px 20px;
    }

    .wp-forma-accordion-header h3 {
        font-size: 1em;
    }

    .accordion-content-inner {
        padding: 20px;
    }

    .accordion-icon {
        font-size: 1.3em;
    }
}

/* ============================================================
   WP FORMA - PAGE FORMATION COMPLETE
   ============================================================ */

/* Container principal */
.wpf-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.wpf-hero {
    margin-bottom: 3rem;
}

.wpf-hero-image {
    position: relative;
    height: 400px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.wpf-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wpf-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3), transparent);
}

.wpf-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: white;
}

.wpf-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--wp-forma-primary-color);
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.wpf-hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: white;
    line-height: 1.2;
}

.wpf-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
}

.wpf-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wpf-hero-meta-item svg {
    width: 1rem;
    height: 1rem;
    fill: white;
}

.wpf-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.wpf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.wpf-btn-primary {
    background-color: var(--wp-forma-primary-color);
    color: white;
}

.wpf-btn-primary:hover {
    filter: brightness(1.1);
    color: white;
}

.wpf-btn-outline {
    background-color: transparent;
    border-color: currentColor;
    color: #374151;
}

.wpf-btn-outline:hover {
    background-color: #f3f4f6;
}

.wpf-btn-secondary {
    background-color: white;
    color: #1f2937;
}

.wpf-btn-secondary:hover {
    background-color: #f3f4f6;
}

.wpf-btn-full {
    width: 100%;
}

.wpf-btn-sidebar {
    margin-top: 1rem;
}

/* ============================================================
   LAYOUT - CONTENT WRAPPER
   ============================================================ */
.wpf-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Sur mobile : afficher la sidebar en premier */
.wpf-sidebar {
    order: -1;
}

/* Sur desktop : ordre normal */
@media (min-width: 1024px) {
    .wpf-content-wrapper {
        grid-template-columns: 2fr 1fr;
    }

    .wpf-sidebar {
        order: 0;
    }
}

.wpf-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ============================================================
   CARDS
   ============================================================ */
.wpf-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.wpf-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.wpf-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.wpf-card-content {
    padding: 1.5rem;
}

.wpf-card-highlight {
    border: 2px solid rgba(59, 130, 246, 0.3);
    background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.05), white);
}

.wpf-card-dark {
    background: linear-gradient(to bottom right, #1e293b, #0f172a);
    color: white;
    border: none;
}

/* ============================================================
   OBJECTIFS
   ============================================================ */
.wpf-objectifs-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wpf-objectifs-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #374151;
    line-height: 1.5;
}

.wpf-objectifs-list li::before {
    content: "";
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    min-width: 1.25rem;
    background-color: #10b981;
    border-radius: 50%;
    margin-top: 0.125rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

/* ============================================================
   DESCRIPTION
   ============================================================ */
.wpf-description {
    color: #4b5563;
    line-height: 1.75;
}

.wpf-description p {
    margin: 0 0 1rem 0;
}

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

/* ============================================================
   PROGRAMME
   ============================================================ */
.wpf-programme-module {
    padding: 0.5rem 0;
}

.wpf-programme-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.75rem 0;
}

.wpf-programme-content {
    color: #4b5563;
    line-height: 1.6;
}

.wpf-programme-content ul {
    margin: 0;
    padding-left: 1.25rem;
}

.wpf-programme-content li {
    margin-bottom: 0.25rem;
}

.wpf-separator {
    height: 1px;
    background-color: #e5e7eb;
    margin: 1.5rem 0;
}

/* ============================================================
   GALERIE
   ============================================================ */
.wpf-galerie {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .wpf-galerie {
        grid-template-columns: repeat(3, 1fr);
    }
}

.wpf-galerie-item {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.wpf-galerie-item:hover {
    transform: scale(1.05);
}

.wpf-galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wpf-galerie-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.wpf-galerie-item:hover .wpf-galerie-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.wpf-galerie-overlay p {
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.875rem;
    margin: 0;
}

.wpf-galerie-item:hover .wpf-galerie-overlay p {
    opacity: 1;
}

/* ============================================================
   SESSIONS
   ============================================================ */
.wpf-sessions-section {
    margin-top: 1rem;
}

.wpf-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1.5rem 0;
}

.wpf-sessions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wpf-session-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease;
}

.wpf-session-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.wpf-session-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .wpf-session-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.wpf-session-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wpf-session-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
}

.wpf-session-info-item svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: var(--wp-forma-primary-color);
}

.wpf-session-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background-color: #10b981;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 9999px;
}

.wpf-session-separator {
    height: 1px;
    background-color: #e5e7eb;
    margin: 1rem 0;
}

.wpf-session-intervenants {
    margin-bottom: 1rem;
}

.wpf-session-intervenants-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 0.5rem 0;
}

.wpf-session-intervenants-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.wpf-intervenant-chip {
    background-color: #f1f5f9;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
}

.wpf-intervenant-name {
    font-weight: 500;
    color: #1f2937;
    margin: 0;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.wpf-sidebar {
    display: flex;
    flex-direction: column;
}

.wpf-sidebar-sticky {
    position: sticky;
    top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Modalités */
.wpf-modalites {
    display: flex;
    flex-direction: column;
}

.wpf-modalite-item {
    padding: 0.25rem 0;
}

.wpf-modalite-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 0.25rem 0;
}

.wpf-modalite-value {
    font-weight: 500;
    color: #1f2937;
    margin: 0;
}

.wpf-modalite-prix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wp-forma-primary-color);
}

.wpf-modalite-separator {
    height: 1px;
    background-color: #e5e7eb;
    margin: 0.75rem 0;
}

/* CTA Card */
.wpf-cta-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    color: white;
}

.wpf-cta-text {
    color: #cbd5e1;
    margin: 0 0 1rem 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Intervenants sidebar */
.wpf-intervenants-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wpf-intervenant-sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #1f2937;
    transition: background-color 0.2s ease;
}

.wpf-intervenant-sidebar-item:hover {
    background-color: #f3f4f6;
}

.wpf-intervenant-sidebar-item img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.wpf-intervenant-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpf-intervenant-avatar svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: #9ca3af;
}

/* ============================================================
   FORMULES D'INSCRIPTION
   ============================================================ */
.wpf-formules-section {
    margin-top: 1rem;
}

.wpf-formules-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wpf-formule-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.wpf-formule-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    border-color: var(--wp-forma-primary-color);
}

.wpf-formule-header {
    margin-bottom: 1rem;
}

.wpf-formule-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.wpf-formule-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.wpf-formule-prix-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.wpf-formule-prix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wp-forma-primary-color);
    background: linear-gradient(135deg, rgba(126, 87, 194, 0.1), rgba(126, 87, 194, 0.05));
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.wpf-formule-acompte-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #059669;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.wpf-formule-paiement-desactive-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0369a1;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(3, 105, 161, 0.05));
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    border: 1px solid rgba(3, 105, 161, 0.2);
}

.wpf-formule-description {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.wpf-formule-description p {
    margin: 0;
}

.wpf-formule-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.wpf-formule-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.9rem;
    background: #f9fafb;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
}

.wpf-formule-detail-item svg {
    width: 1rem;
    height: 1rem;
    fill: var(--wp-forma-primary-color);
}

.wpf-formule-btn {
    margin-top: auto;
}

/* Responsive formules */
@media screen and (max-width: 640px) {
    .wpf-formule-title-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .wpf-formule-prix {
        font-size: 1.25rem;
    }

    .wpf-formule-details {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media screen and (max-width: 768px) {
    .wpf-page {
        padding: 1rem;
    }

    .wpf-hero-image {
        height: 300px;
    }

    .wpf-hero-title {
        font-size: 1.5rem;
    }

    .wpf-hero-content {
        padding: 1.5rem;
    }

    .wpf-hero-buttons {
        flex-direction: column;
    }

    .wpf-btn {
        width: 100%;
    }

    .wpf-content-wrapper {
        grid-template-columns: 1fr;
    }

    .wpf-sidebar-sticky {
        position: static;
    }

    .wpf-card-content {
        padding: 1rem;
    }

    .wpf-galerie {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   PAGE DE CHECKOUT
   ============================================================ */
.wpf-checkout-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.wpf-checkout-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.wpf-checkout-error {
    text-align: center;
    padding: 3rem;
    background: #fff5f5;
    border-radius: 0.75rem;
    border: 1px solid #fed7d7;
}

.wpf-checkout-error p {
    color: #c53030;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Récapitulatif */
.wpf-checkout-summary {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    position: sticky;
    top: 2rem;
}

.wpf-checkout-summary h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.wpf-checkout-formation {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.wpf-checkout-image {
    flex-shrink: 0;
    width: 100px;
    height: 75px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.wpf-checkout-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wpf-checkout-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.wpf-checkout-formule-name {
    display: inline-block;
    background: linear-gradient(135deg, rgba(126, 87, 194, 0.1), rgba(126, 87, 194, 0.05));
    color: var(--wp-forma-primary-color, #7e57c2);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.wpf-checkout-details {
    background: #f7fafc;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.wpf-checkout-detail {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.wpf-checkout-detail:last-child {
    border-bottom: none;
}

.wpf-checkout-label {
    color: #718096;
    font-size: 0.875rem;
}

.wpf-checkout-value {
    color: #2d3748;
    font-weight: 500;
    font-size: 0.875rem;
    text-align: right;
}

.wpf-checkout-description {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.875rem;
    color: #4a5568;
    line-height: 1.6;
}

.wpf-checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, var(--wp-forma-primary-color, #7e57c2), #9f7aea);
    border-radius: 0.5rem;
    color: white;
}

.wpf-checkout-total-label {
    font-size: 0.9rem;
}

.wpf-checkout-total-price {
    font-size: 1.5rem;
    font-weight: 700;
}

.wpf-checkout-acompte-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    margin-top: 0.75rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(5, 150, 105, 0.05));
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #065f46;
}

.wpf-checkout-acompte-note svg {
    flex-shrink: 0;
    stroke: #059669;
}

.wpf-checkout-acompte-note strong {
    color: #047857;
}

.wpf-checkout-prix-reference {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f3f4f6;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.wpf-checkout-prix-label {
    font-weight: 500;
    color: #4b5563;
}

.wpf-checkout-prix-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.wpf-checkout-no-payment-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    margin-top: 0.75rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(3, 105, 161, 0.05));
    border: 2px solid rgba(3, 105, 161, 0.2);
    border-radius: 0.5rem;
    font-size: 0.9rem;
    color: #0c4a6e;
    font-weight: 600;
}

.wpf-checkout-no-payment-note svg {
    flex-shrink: 0;
    stroke: #0284c7;
}

/* Formulaire */
.wpf-checkout-form-wrapper {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
}

.wpf-checkout-form-wrapper h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.wpf-form-row {
    margin-bottom: 1.25rem;
}

.wpf-form-row label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2d3748;
    font-size: 0.875rem;
}

.wpf-form-row label .required {
    color: #e53e3e;
}

.wpf-form-row input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #f7fafc;
}

.wpf-form-row input:focus {
    outline: none;
    border-color: var(--wp-forma-primary-color, #7e57c2);
    background: white;
    box-shadow: 0 0 0 3px rgba(126, 87, 194, 0.1);
}

.wpf-form-row input::placeholder {
    color: #a0aec0;
}

.wpf-form-error {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    color: #c53030;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.wpf-form-submit {
    margin-top: 1.5rem;
}

.wpf-btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.wpf-btn-large .btn-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wpf-spinner {
    animation: wpf-spin 1s linear infinite;
}

@keyframes wpf-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.wpf-payment-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: #718096;
    font-size: 0.875rem;
}

.wpf-payment-secure svg {
    color: #48bb78;
}

/* Responsive checkout */
@media screen and (max-width: 768px) {
    .wpf-checkout-container {
        grid-template-columns: 1fr;
    }

    .wpf-checkout-summary {
        position: static;
        order: 1;
    }

    .wpf-checkout-form-wrapper {
        order: 2;
    }

    .wpf-checkout-formation {
        flex-direction: column;
        text-align: center;
    }

    .wpf-checkout-image {
        width: 100%;
        height: 150px;
    }

    .wpf-checkout-detail {
        flex-direction: column;
        gap: 0.25rem;
    }

    .wpf-checkout-value {
        text-align: left;
    }
}

/* ============================================================
   LIGHTBOX GALERIE
   ============================================================ */

/* Icône de zoom sur les images */
.wpf-galerie-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.wpf-galerie-zoom svg {
    width: 2rem;
    height: 2rem;
    color: white;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.wpf-galerie-item:hover .wpf-galerie-zoom {
    background: rgba(0, 0, 0, 0.5);
}

.wpf-galerie-item:hover .wpf-galerie-zoom svg {
    opacity: 1;
    transform: scale(1);
}

/* Container Lightbox */
.wpf-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wpf-lightbox.active {
    display: flex;
    opacity: 1;
}

/* Contenu de la lightbox */
.wpf-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wpf-lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: wpf-lightbox-zoom 0.3s ease;
}

@keyframes wpf-lightbox-zoom {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Légende */
.wpf-lightbox-caption {
    color: white;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
    max-width: 600px;
}

/* Compteur */
.wpf-lightbox-counter {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    padding: 0.5rem;
}

/* Bouton fermer */
.wpf-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.wpf-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Boutons navigation */
.wpf-lightbox-prev,
.wpf-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.wpf-lightbox-prev {
    left: 1rem;
}

.wpf-lightbox-next {
    right: 1rem;
}

.wpf-lightbox-prev:hover,
.wpf-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

/* Responsive lightbox */
@media screen and (max-width: 768px) {
    .wpf-lightbox-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }

    .wpf-lightbox-prev,
    .wpf-lightbox-next {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }

    .wpf-lightbox-prev {
        left: 0.5rem;
    }

    .wpf-lightbox-next {
        right: 0.5rem;
    }

    .wpf-lightbox-caption {
        font-size: 0.875rem;
        padding: 0.75rem;
    }
}

/* ============================================================
   PAGE RECHERCHE FORMATIONS
   ============================================================ */

.wpf-recherche-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Formulaire de recherche */
.wpf-recherche-form {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.wpf-recherche-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.wpf-recherche-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    background: #f9fafb;
}

.wpf-recherche-input:focus {
    outline: none;
    border-color: var(--wp-forma-primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(126, 87, 194, 0.1);
}

.wpf-recherche-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--wp-forma-primary-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.wpf-recherche-btn:hover {
    filter: brightness(1.1);
}

.wpf-recherche-btn svg {
    flex-shrink: 0;
}

/* Filtres */
.wpf-recherche-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    padding-top: 1.25rem;
    border-top: 1px solid #e5e7eb;
}

.wpf-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    min-width: 180px;
}

.wpf-filter-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
}

.wpf-filter-group select {
    padding: 0.625rem 2rem 0.625rem 0.875rem;
    font-size: 0.9375rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.375rem;
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 0.75rem center;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wpf-filter-group select:focus {
    outline: none;
    border-color: var(--wp-forma-primary-color);
}

.wpf-filter-reset {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1rem;
    color: #6b7280;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    margin-left: auto;
}

.wpf-filter-reset:hover {
    background: #f3f4f6;
    color: #374151;
}

/* Résultats */
.wpf-recherche-results {
    margin-top: 1.5rem;
}

.wpf-recherche-count {
    color: #6b7280;
    font-size: 0.9375rem;
    margin: 0 0 1.5rem 0;
}

/* Grille des formations - 3 colonnes */
.wpf-recherche-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Card formation */
.wpf-recherche-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.wpf-recherche-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* Image de la card */
.wpf-recherche-card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.wpf-recherche-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wpf-recherche-card:hover .wpf-recherche-card-image img {
    transform: scale(1.08);
}

.wpf-recherche-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.wpf-recherche-badge {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    padding: 0.375rem 0.75rem;
    background: var(--wp-forma-primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Contenu de la card */
.wpf-recherche-card-content {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    flex: 1;
}

.wpf-recherche-card-header {
    margin-bottom: 0.875rem;
}

.wpf-recherche-card-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 0.625rem;
}

.wpf-recherche-cat {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: rgba(126, 87, 194, 0.1);
    color: var(--wp-forma-primary-color);
    font-size: 0.6875rem;
    font-weight: 500;
    border-radius: 1rem;
}

.wpf-recherche-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.wpf-recherche-card-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wpf-recherche-card-title a:hover {
    color: var(--wp-forma-primary-color);
}

/* Extrait de la card */
.wpf-recherche-card-excerpt {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

/* Meta informations de la card */
.wpf-recherche-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.wpf-recherche-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #6b7280;
}

.wpf-recherche-meta-item svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--wp-forma-primary-color);
}

.wpf-recherche-meta-item span {
    line-height: 1.3;
}

/* Footer de la card */
.wpf-recherche-card-footer {
    margin-top: auto;
}

.wpf-recherche-card-footer .wpf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.wpf-recherche-card-footer .wpf-btn svg {
    transition: transform 0.2s ease;
}

.wpf-recherche-card-footer .wpf-btn:hover svg {
    transform: translateX(4px);
}

/* État vide */
.wpf-recherche-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.wpf-recherche-empty svg {
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.wpf-recherche-empty h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 0.5rem 0;
}

.wpf-recherche-empty p {
    color: #6b7280;
    margin: 0 0 1.5rem 0;
}

/* Responsive */
@media screen and (max-width: 1100px) {
    /* 2 colonnes sur tablette */
    .wpf-recherche-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    /* 1 colonne sur mobile */
    .wpf-recherche-grid {
        grid-template-columns: 1fr;
    }

    .wpf-recherche-card-image {
        height: 200px;
    }
}

@media screen and (max-width: 640px) {
    .wpf-recherche-page {
        padding: 1rem;
    }

    .wpf-recherche-form {
        padding: 1rem;
    }

    .wpf-recherche-bar {
        flex-direction: column;
    }

    .wpf-recherche-btn {
        width: 100%;
        justify-content: center;
    }

    .wpf-recherche-filters {
        flex-direction: column;
    }

    .wpf-filter-group {
        width: 100%;
        min-width: auto;
    }

    .wpf-filter-group select {
        width: 100%;
    }

    .wpf-filter-reset {
        margin-left: 0;
        justify-content: center;
    }

    .wpf-recherche-card-footer .wpf-btn {
        width: 100%;
        justify-content: center;
    }
}
