/* ========================================================
   PAGE ÉVÉNEMENTS — Template standalone
   ======================================================== */
.pg-evt {
    font-family: 'Poppins', sans-serif;
    color: #2D2D2D;
    overflow-x: hidden;
}

/* ===== HERO ===== */
.pg-evt__hero {
    background: linear-gradient(135deg, #2D53CB 0%, #694DDA 50%, #EF1286 100%);
    padding: 90px 40px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pg-evt__hero::before {
    content: '';
    position: absolute;
    top: -80px; left: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
}
.pg-evt__hero::after {
    content: '';
    position: absolute;
    bottom: -60px; right: -40px;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}
.pg-evt__hero-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 14px;
    position: relative;
}
.pg-evt__hero-title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 16px;
    position: relative;
}
.pg-evt__hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
    position: relative;
}

/* ===== SECTION PRINCIPALE ===== */
.pg-evt__main {
    background: #F5F6FB;
    padding: 80px 40px;
    min-height: 60vh;
}
.pg-evt__inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== EN-TÊTE SECTION ===== */
.pg-evt__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 44px;
    gap: 20px;
    flex-wrap: wrap;
}
.pg-evt__heading-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #2D53CB;
    margin: 0;
}
.pg-evt__heading-count {
    font-size: 0.85rem;
    color: #888;
    font-weight: 600;
}

/* ===== GRILLE CARDS ===== */
.pg-evt__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ===== CARTE ÉVÉNEMENT ===== */
.pg-evt__card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.pg-evt__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(0,0,0,0.13);
    text-decoration: none;
    color: inherit;
}

/* Thumbnail */
.pg-evt__card-thumb {
    height: 200px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pg-evt__card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.pg-evt__card:hover .pg-evt__card-thumb img {
    transform: scale(1.06);
}
.pg-evt__card-thumb--color {
    flex-direction: column;
    gap: 8px;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}
.pg-evt__card-thumb-icon {
    font-size: 3rem;
    display: block;
}

/* Badge date */
.pg-evt__card-date-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    line-height: 1.2;
    min-width: 48px;
}
.pg-evt__card-date-badge .day {
    display: block;
    font-size: 1.3rem;
    font-weight: 900;
    color: #EF1286;
}
.pg-evt__card-date-badge .month {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.5px;
}

/* Badge catégorie */
.pg-evt__card-cat {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* Corps de la carte */
.pg-evt__card-body {
    padding: 22px 24px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.pg-evt__card-title {
    font-size: 1rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 10px;
    line-height: 1.35;
}
.pg-evt__card-excerpt {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.7;
    margin: 0 0 18px;
    flex: 1;
}
.pg-evt__card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.78rem;
    color: #aaa;
}
.pg-evt__card-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}
.pg-evt__card-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #EF1286;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
    text-decoration: none;
    transition: gap 0.2s ease;
}
.pg-evt__card:hover .pg-evt__card-read-more {
    gap: 10px;
}

/* ===== ÉTAT VIDE ===== */
.pg-evt__empty {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.pg-evt__empty-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
}
.pg-evt__empty-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2D53CB;
    margin-bottom: 12px;
}
.pg-evt__empty-text {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 400px;
    margin: 0 auto 28px;
}

/* Featured (1er article large) */
.pg-evt__card--featured {
    grid-column: span 3;
    flex-direction: row;
    min-height: 320px;
}
.pg-evt__card--featured .pg-evt__card-thumb {
    width: 480px;
    height: 320px;
    flex-shrink: 0;
}
.pg-evt__card--featured .pg-evt__card-body {
    padding: 36px 40px;
    justify-content: center;
}
.pg-evt__card--featured .pg-evt__card-title {
    font-size: 1.4rem;
}
.pg-evt__card--featured .pg-evt__card-excerpt {
    font-size: 0.95rem;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== PAGINATION ===== */
.pg-evt__pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 56px;
    flex-wrap: wrap;
}
.pg-evt__pagination a,
.pg-evt__pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}
.pg-evt__pagination a {
    background: #fff;
    color: #2D53CB;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.pg-evt__pagination a:hover {
    background: #EF1286;
    color: #fff;
    box-shadow: 0 4px 18px rgba(239,18,134,0.3);
}
.pg-evt__pagination span.current {
    background: #2D53CB;
    color: #fff;
    box-shadow: 0 4px 18px rgba(45,83,203,0.35);
}

/* ===== NEWSLETTER STRIP ===== */
.pg-evt__newsletter {
    background: #1a1a2e;
    padding: 60px 40px;
    text-align: center;
}
.pg-evt__nl-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
}
.pg-evt__nl-sub {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    margin: 0 0 28px;
}
.pg-evt__nl-form {
    display: inline-flex;
    gap: 0;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(0,0,0,0.3);
    max-width: 480px;
    width: 100%;
}
.pg-evt__nl-input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
    color: #1a1a2e;
    background: #fff;
    min-width: 0;
}
.pg-evt__nl-btn {
    padding: 16px 28px;
    background: #EF1286;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: background 0.25s ease;
}
.pg-evt__nl-btn:hover { background: #c0006e; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .pg-evt__grid { grid-template-columns: 1fr 1fr; }
    .pg-evt__card--featured { grid-column: span 2; flex-direction: column; }
    .pg-evt__card--featured .pg-evt__card-thumb { width: 100%; height: 220px; }
}
@media (max-width: 600px) {
    .pg-evt__grid { grid-template-columns: 1fr; }
    .pg-evt__card--featured { grid-column: span 1; }
    .pg-evt__hero, .pg-evt__main, .pg-evt__newsletter { padding-left: 20px; padding-right: 20px; }
    .pg-evt__nl-form { flex-direction: column; border-radius: 16px; }
    .pg-evt__nl-input { border-radius: 16px 16px 0 0; }
    .pg-evt__nl-btn { border-radius: 0 0 16px 16px; }
}
