/* ============================================================
   EVENEMENTS-ENTREPRISE-SOCIAUX — EDITORIAL REDESIGN (2026-05)
   Matches /events / /restaurants / /courses system:
   - Section padding clamp(2.5rem, 4vw, 4rem) 0
   - No .section-base / .section-soft double-padding
   - Alternating white / #F1F1F1 / dark editorial split
   ============================================================ */

.ent-page {
    font-family: var(--font-body);
    color: #0A0A0A;
}

/* Neutralize any inherited section-base / section-soft padding
   from pg-rd-editorial.css on direct child sections. */
.ent-page > section.section-base,
.ent-page > section.section-soft {
    padding-top: 0;
    padding-bottom: 0;
}

/* ---------- HERO ---------- */
.ent-page .evenements-hero.page-header {
    min-height: 56vh;
    padding: 0 0 clamp(2rem, 4vw, 3.5rem);
}
.ent-page .evenements-hero .container {
    max-width: 1280px;
    padding-left: clamp(20px, 4vw, 64px);
    padding-right: clamp(20px, 4vw, 64px);
    padding-top: clamp(4rem, 8vw, 6rem);
}
.ent-page .evenements-hero .eyebrow {
    color: #F1F1F1;
    opacity: 0.92;
    margin-bottom: 1rem;
}
.ent-page .evenements-hero h1 {
    font-family: var(--font-display, inherit);
    font-weight: 500;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.015em;
    color: #FFFFFF;
    margin: 0;
    max-width: 22ch;
    text-wrap: balance;
}

/* ---------- INTRO ---------- */
.ent-intro {
    padding: clamp(2.5rem, 4vw, 4rem) 0 clamp(2rem, 3vw, 3rem) !important;
    background: #FFFFFF;
}
.ent-intro__head {
    max-width: 1080px;
    margin: 0 auto clamp(1.25rem, 2.5vw, 2rem);
}
.ent-intro__eyebrow {
    color: var(--c-brand, #E50914);
    display: block;
    margin-bottom: 0.75rem;
    font-family: var(--font-display, inherit);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
}
.ent-intro__title {
    font-family: var(--font-display, inherit);
    font-size: clamp(1.6rem, 2.6vw, 2.25rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #0A0A0A;
    margin: 0;
    line-height: 1.15;
}
.ent-intro__lead {
    max-width: 920px;
    margin: 0 auto;
    font-size: clamp(1.2rem, 1.85vw, 1.5rem);
    line-height: 1.4;
    color: #111;
    font-weight: 500;
    letter-spacing: -0.005em;
    text-wrap: pretty;
    border-left: 3px solid var(--c-brand, #E50914);
    padding-left: clamp(1rem, 2vw, 1.4rem);
}

/* ---------- SHARED SECTION HEAD ---------- */
.ent-section-head {
    max-width: 1180px;
    margin: 0 auto clamp(1.75rem, 3vw, 2.5rem);
    text-align: left;
}
.ent-section-head .pg-eyebrow,
.ent-section-head__eyebrow {
    color: var(--c-brand, #E50914);
    display: block;
    margin-bottom: 0.75rem;
    font-family: var(--font-display, inherit);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
}
.ent-section-title {
    font-family: var(--font-display, inherit);
    font-size: clamp(1.6rem, 2.6vw, 2.25rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #0A0A0A;
    margin: 0;
    line-height: 1.15;
}

/* ---------- PACKAGES (4-card grid on soft bg) ---------- */
.ent-packages {
    padding: clamp(2.5rem, 4vw, 4rem) 0 !important;
    background: #F1F1F1;
}
.ent-packages__grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    list-style: none;
    padding: 0;
}
.ent-pkg {
    background: #FFFFFF;
    border: 1px solid rgba(10,10,10,0.06);
    border-radius: 4px;
    padding: 1.6rem 1.4rem 1.55rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    position: relative;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.ent-pkg::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.6rem;
    bottom: 1.55rem;
    width: 2px;
    background: var(--c-brand, #E50914);
    opacity: 0.85;
    border-radius: 2px;
}
.ent-pkg:hover {
    transform: translateY(-3px);
    border-color: rgba(229,9,20,0.18);
    box-shadow: 0 12px 28px -16px rgba(10,10,10,0.22);
}
.ent-pkg__eyebrow {
    font-family: var(--font-display, inherit);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-brand, #E50914);
    font-weight: 600;
    padding-left: 0.85rem;
}
.ent-pkg__price {
    font-family: var(--font-display, inherit);
    font-size: 1.25rem;
    font-weight: 600;
    color: #0A0A0A;
    margin: 0;
    line-height: 1.2;
    padding-left: 0.85rem;
}
.ent-pkg__desc {
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(10,10,10,0.66);
    margin: 0;
    padding-left: 0.85rem;
}

/* ---------- INCLUDED (white bg, 4-col grid of mini-cards) ---------- */
.ent-included {
    padding: clamp(2.5rem, 4vw, 4rem) 0 !important;
    background: #FFFFFF;
}
.ent-included__grid {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 1180px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
}
.ent-included__item {
    background: #F8F8F8;
    border: 1px solid rgba(10,10,10,0.06);
    border-radius: 4px;
    padding: 1.25rem 1.2rem 1.2rem;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.ent-included__item:hover {
    transform: translateY(-2px);
    border-color: rgba(229,9,20,0.18);
    box-shadow: 0 8px 24px -12px rgba(10,10,10,0.18);
}
.ent-included__num {
    display: inline-block;
    font-family: var(--font-display, inherit);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--c-brand, #E50914);
    margin-bottom: 0.6rem;
}
.ent-included__text {
    font-size: 0.98rem;
    line-height: 1.45;
    color: #0A0A0A;
    margin: 0;
    font-weight: 500;
}
.ent-included__text a { color: inherit; }
.ent-included__minimum {
    max-width: 1180px;
    margin: clamp(1.25rem, 2.5vw, 1.75rem) auto 0;
    padding: 0.9rem 1.1rem;
    background: rgba(229,9,20,0.06);
    border-left: 2px solid var(--c-brand, #E50914);
    font-size: 0.95rem;
    line-height: 1.5;
    color: #0A0A0A;
}
.ent-included__minimum strong { font-weight: 600; }

/* ---------- OPTIONS — DARK EDITORIAL SPLIT ---------- */
.ent-options {
    background: #0A0A0A;
    padding: 0 !important;
    position: relative;
    overflow: hidden;
}
.ent-options::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 100% 50%, rgba(229,9,20,0.10), transparent 55%);
    pointer-events: none;
}
.ent-options__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: stretch;
    min-height: 460px;
}
.ent-options__media {
    margin: 0;
    position: relative;
    overflow: hidden;
}
.ent-options__media picture,
.ent-options__media img,
.ent-options__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ent-options__body {
    padding: clamp(2.5rem, 4vw, 4rem) clamp(1.75rem, 3vw, 3.25rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #F1F1F1;
    position: relative;
}
.ent-options__body::before {
    content: "";
    position: absolute;
    left: 0;
    top: clamp(2.5rem, 4vw, 4rem);
    bottom: clamp(2.5rem, 4vw, 4rem);
    width: 2px;
    background: var(--c-brand, #E50914);
    opacity: 0.85;
}
.ent-options__eyebrow {
    color: var(--c-brand, #E50914) !important;
    margin-bottom: 1rem;
    display: block;
    font-family: var(--font-display, inherit);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
}
.ent-options__title {
    font-family: var(--font-display, inherit);
    font-weight: 500;
    font-size: clamp(1.75rem, 2.6vw, 2.4rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 1.5rem;
    color: #FFFFFF;
    max-width: 22ch;
}
.ent-options__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.5rem;
}
.ent-options__item {
    border-top: 1px solid rgba(241,241,241,0.14);
    padding-top: 1.25rem;
}
.ent-options__item-title {
    font-family: var(--font-display, inherit);
    font-size: 1.15rem;
    font-weight: 500;
    color: #FFFFFF;
    margin: 0 0 0.35rem;
    letter-spacing: -0.005em;
}
.ent-options__item-title a { color: inherit; }
.ent-options__item-price {
    display: inline-block;
    font-family: var(--font-display, inherit);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    color: var(--c-brand, #E50914);
    font-weight: 600;
    margin: 0 0 0.4rem;
}
.ent-options__item-desc {
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(241,241,241,0.78);
    margin: 0 0 0.4rem;
}
.ent-options__item-note {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(241,241,241,0.58);
    margin: 0;
    font-style: italic;
}
@media (max-width: 900px) {
    .ent-options__inner {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .ent-options__media {
        aspect-ratio: 16 / 10;
        min-height: 240px;
        order: -1;
    }
    .ent-options__body::before {
        left: clamp(1.5rem, 4vw, 2rem);
        top: clamp(2rem, 4vw, 2.5rem);
        bottom: auto;
        width: 32px;
        height: 2px;
    }
    .ent-options__body {
        padding-top: calc(clamp(2rem, 4vw, 2.5rem) + 1rem);
    }
}

/* ---------- FORM (white card on soft bg) ---------- */
.ent-form-section {
    padding: clamp(2.5rem, 4vw, 4rem) 0 clamp(3rem, 5vw, 4.5rem) !important;
    background: #F1F1F1;
}
.ent-form-section .container { max-width: 880px; }
.ent-form-card {
    background: #FFFFFF;
    border: 1px solid #ececec;
    border-radius: 6px;
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.5rem);
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(10,10,10,0.04), 0 18px 40px -22px rgba(10,10,10,0.15);
}

/* ---------- OTHER OFFERS (white bg, 3-card grid) ---------- */
.ent-other {
    padding: clamp(2.5rem, 4vw, 4rem) 0 !important;
    background: #FFFFFF;
}
.ent-other__grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}
.ent-other__card {
    background: #FFFFFF;
    border: 1px solid rgba(10,10,10,0.08);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.ent-other__card:hover {
    transform: translateY(-3px);
    border-color: rgba(229,9,20,0.18);
    box-shadow: 0 12px 28px -16px rgba(10,10,10,0.22);
}
.ent-other__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #F1F1F1;
}
.ent-other__media picture,
.ent-other__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 600ms ease;
}
.ent-other__card:hover .ent-other__media img { transform: scale(1.04); }
.ent-other__body {
    padding: 1.4rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
}
.ent-other__title {
    font-family: var(--font-display, inherit);
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.2;
    color: #0A0A0A;
    margin: 0;
    letter-spacing: -0.005em;
}
.ent-other__lead {
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(10,10,10,0.66);
    margin: 0;
    flex: 1;
}
.ent-other__cta {
    margin-top: 0.4rem;
    align-self: flex-start;
    color: var(--c-brand, #E50914);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
    transition: border-color 150ms ease;
}
.ent-other__cta:hover { border-bottom-color: var(--c-brand, #E50914); }
.ent-other__cta span {
    display: inline-block;
    margin-left: 0.25rem;
    transition: transform 200ms ease;
}
.ent-other__cta:hover span { transform: translateX(3px); }

/* "Featured" variant — bigger card pointing at the venue-wide grands-evenements page */
.ent-other__card--featured {
    background: #0A0A0A;
    color: #F1F1F1;
    border-color: rgba(229,9,20,0.25);
}
.ent-other__card--featured .ent-other__title { color: #FFFFFF; }
.ent-other__card--featured .ent-other__lead { color: rgba(241,241,241,0.78); }
.ent-other__card--featured .ent-other__cta { color: var(--c-brand, #E50914); }

@media (prefers-reduced-motion: reduce) {
    .ent-pkg,
    .ent-included__item,
    .ent-other__card,
    .ent-other__media img {
        transition: none;
    }
}
