/* =========================
   PAGE W.A.P
========================= */

:root {
    --rose: #d63384;
    --rose-clair: #f062a8;
    --rose-fonce: #a9155d;
    --noir: #111111;
    --noir-doux: #1f1f1f;
    --blanc: #ffffff;
    --gris: #555555;
    --gris-fond: #f6f6f8;
    --ombre: 0 18px 40px rgba(0, 0, 0, 0.10);
    --ombre-forte: 0 25px 60px rgba(0, 0, 0, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--noir);
    background-color: var(--gris-fond);
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.wap-page {
    background:
        radial-gradient(circle at top right, rgba(214, 51, 132, 0.09), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #fafafa 45%, #f6f6f8 100%);
    overflow: hidden;
    padding-bottom: 80px;
}

/* =========================
   COMMUN
========================= */

.section-label {
    display: inline-block;
    margin: 0 0 18px;
    color: var(--rose);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.wap-hero,
.wap-about,
.programme-section,
.infos-section,
.wap-contact {
    width: 88%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   HERO
========================= */

.wap-hero {
    margin-top: 60px;
    margin-bottom: 45px;
    background-color: white;
    border-radius: 36px;
    padding: 46px;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 45px;
    align-items: center;
    box-shadow: var(--ombre);
    border: 1px solid rgba(214, 51, 132, 0.14);
    position: relative;
    overflow: hidden;
}

.wap-hero::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background-color: rgba(214, 51, 132, 0.10);
    right: -120px;
    bottom: -120px;
}

.wap-hero-image,
.wap-hero-text {
    position: relative;
    z-index: 1;
}

.wap-hero-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: var(--ombre-forte);
}

.wap-hero-text h1 {
    margin: 0;
    font-size: 74px;
    line-height: 1;
    font-weight: 900;
    color: var(--noir);
}

.wap-hero-text h1 span {
    color: var(--rose);
    font-size: 96px;
    letter-spacing: 4px;
}

.hero-date {
    display: inline-block;
    margin: 28px 0;
    padding: 14px 30px;
    background-color: var(--rose);
    color: white;
    border-radius: 14px;
    font-size: 19px;
    font-weight: 900;
    transform: rotate(-2deg);
    box-shadow: 0 14px 30px rgba(214, 51, 132, 0.25);
}

.wap-hero-text h2 {
    margin: 0;
    max-width: 650px;
    font-size: 36px;
    line-height: 1.18;
    font-weight: 900;
    color: var(--noir);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* =========================
   GRANDE PHRASE
========================= */

.wap-statement {
    background-color: var(--noir);
    color: white;
    padding: 85px 8%;
    margin-bottom: 45px;
}

.wap-statement p {
    max-width: 1180px;
    margin: 0 auto;
    color: white;
    font-size: 52px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -1px;
}

.wap-statement p::before {
    content: "“";
    color: var(--rose);
}

.wap-statement p::after {
    content: "”";
    color: var(--rose);
}

/* =========================
   PRÉSENTATION / CONCEPT / PARCOURS
========================= */

.wap-about {
    margin-bottom: 45px;
    background-color: white;
    padding: 58px 64px;
    border-radius: 34px;
    box-shadow: var(--ombre);
    border: 1px solid rgba(214, 51, 132, 0.12);
    position: relative;
    overflow: hidden;
}

.wap-about::after {
    content: "1000";
    position: absolute;
    right: -35px;
    bottom: -45px;
    color: rgba(214, 51, 132, 0.07);
    font-size: 170px;
    font-weight: 900;
    line-height: 1;
}

.wap-about-image {
    width: 100%;
    margin-bottom: 42px;
    position: relative;
    z-index: 1;
}

.wap-about-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: var(--ombre-forte);
}

.wap-about-content {
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.wap-about-content h2 {
    margin: 0 0 25px;
    color: var(--noir);
    font-size: 42px;
    line-height: 1.1;
    font-weight: 900;
}

.wap-about-content h2::after {
    content: "";
    display: block;
    width: 95px;
    height: 5px;
    background-color: var(--rose);
    border-radius: 50px;
    margin-top: 20px;
}

.wap-about-content p {
    margin: 0 0 18px;
    color: var(--gris);
    font-size: 18px;
    line-height: 1.8;
}

.wap-about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.wap-about-actions a {
    display: inline-block;
    background-color: var(--rose);
    color: white;
    padding: 14px 30px;
    border-radius: 14px;
    font-weight: 900;
    transition: 0.25s ease;
}

.wap-about-actions a:hover {
    background-color: var(--rose-fonce);
    transform: translateY(-3px);
}

/* =========================
   PROGRAMME AVEC DIAPORAMA - FOND NOIR
========================= */

.programme-section {
    margin-bottom: 45px;
    background: linear-gradient(135deg, #111111, #1f1f1f);
    color: white;
    padding: 58px 64px;
    border-radius: 34px;
    box-shadow: var(--ombre-forte);
    border: 1px solid rgba(214, 51, 132, 0.35);
}

.programme-section .section-label {
    color: var(--rose-clair);
}

.section-center {
    text-align: center;
    margin-bottom: 42px;
}

.programme-section .section-center h2 {
    margin: 0;
    color: white;
    font-size: 44px;
    line-height: 1.15;
    font-weight: 900;
}

.programme-section .section-center h2::after {
    content: "";
    display: block;
    width: 90px;
    height: 5px;
    background-color: var(--rose);
    border-radius: 50px;
    margin: 20px auto 0;
}

.programme-intro {
    max-width: 850px;
    margin: 24px auto 0;
    color: #f2f2f2;
    font-size: 18px;
    line-height: 1.75;
}

.programme-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.programme-item {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(214, 51, 132, 0.35);
    border-radius: 28px;
    padding: 38px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
    transition: 0.25s ease;
    position: relative;
    overflow: hidden;
}

.programme-item::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 200px;
    height: 200px;
    background-color: rgba(214, 51, 132, 0.16);
    border-radius: 50%;
}

.programme-item:hover {
    transform: translateY(-5px);
    background-color: rgba(214, 51, 132, 0.13);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.35);
}

.programme-text {
    max-width: 850px;
    margin: 0 auto 32px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.programme-text h3 {
    margin: 0 0 14px;
    color: white;
    font-size: 34px;
    font-weight: 900;
}

.programme-text p {
    margin: 0 auto 22px;
    color: #f2f2f2;
    font-size: 18px;
    line-height: 1.75;
    max-width: 780px;
}

.programme-text a {
    display: inline-block;
    background-color: var(--rose);
    color: white;
    padding: 13px 26px;
    border-radius: 13px;
    font-size: 15px;
    font-weight: 900;
    transition: 0.25s ease;
}

.programme-text a:hover {
    background-color: white;
    color: var(--rose);
    transform: translateY(-3px);
}

.programme-slider {
    width: min(100%, 1040px);
    aspect-ratio: 16 / 9;
    min-height: 360px;
    max-height: 560px;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(135deg, rgba(214, 51, 132, 0.28), rgba(0, 0, 0, 0.85)),
        #111;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
    z-index: 1;
    isolation: isolate;
}

.programme-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.45), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.45)),
        linear-gradient(180deg, transparent 65%, rgba(0, 0, 0, 0.48));
}

.programme-slider-images,
.programme-slide {
    width: 100%;
    height: 100%;
}

.programme-slider-images {
    position: relative;
}

.programme-slide {
    position: absolute;
    inset: 0;
    display: block;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.015);
    transition: opacity 0.45s ease, visibility 0.45s ease, transform 0.65s ease;
}

.programme-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.programme-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    cursor: zoom-in;
    transition: transform 0.45s ease, filter 0.45s ease;
    filter: saturate(1.03) contrast(1.02);
}

.programme-slide img:hover {
    transform: scale(1.035);
}

.programme-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background-color: rgba(17, 17, 17, 0.58);
    color: white;
    font-size: 28px;
    font-weight: 900;
    cursor: pointer;
    z-index: 6;
    display: grid;
    place-items: center;
    backdrop-filter: blur(8px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
    transition: background-color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.programme-slider-btn:hover {
    background-color: var(--rose);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-50%) scale(1.08);
}

.programme-slider-btn.prev {
    left: 22px;
}

.programme-slider-btn.next {
    right: 22px;
}

.programme-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(17, 17, 17, 0.52);
    padding: 10px 15px;
    border-radius: 999px;
    z-index: 6;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.programme-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    transition: width 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.programme-dot.active,
.programme-dot:hover {
    width: 30px;
    background-color: var(--rose);
    transform: scale(1.02);
}

/* IMAGE AGRANDIE */

.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.image-modal.active {
    display: flex;
}

.image-modal img {
    max-width: 95%;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.modal-close {
    position: fixed;
    top: 24px;
    right: 32px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background-color: var(--rose);
    color: white;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    z-index: 10000;
    transition: 0.25s ease;
}

.modal-close:hover {
    background-color: white;
    color: var(--rose);
}

/* =========================
   INFOS PRATIQUES - FOND BLANC
========================= */

.infos-section {
    margin-bottom: 45px;
    background: linear-gradient(135deg, #ffffff 0%, #fff7fb 100%);
    color: var(--noir);
    padding: 58px 64px;
    border-radius: 34px;
    box-shadow: var(--ombre);
    border: 1px solid rgba(214, 51, 132, 0.14);
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 45px;
    align-items: start;
}

.infos-section .section-label {
    color: var(--rose);
}

.infos-title h2 {
    margin: 0;
    color: var(--noir);
    font-size: 42px;
    line-height: 1.15;
    font-weight: 900;
}

.infos-title h2::after {
    content: "";
    display: block;
    width: 85px;
    height: 5px;
    background-color: var(--rose);
    border-radius: 50px;
    margin-top: 20px;
}

.infos-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.infos-list div {
    background-color: white;
    border: 1px solid rgba(214, 51, 132, 0.16);
    padding: 24px;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.infos-list span {
    display: block;
    margin-bottom: 10px;
    color: var(--rose);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.infos-list strong {
    color: var(--noir);
    font-size: 18px;
    line-height: 1.4;
}

/* =========================
   CONTACT
========================= */

.wap-contact {
    background: linear-gradient(135deg, var(--rose), var(--rose-clair));
    color: white;
    padding: 60px 64px;
    border-radius: 34px;
    box-shadow: var(--ombre-forte);
    display: grid;
    grid-template-columns: 1fr 0.6fr;
    gap: 40px;
    align-items: center;
}

.wap-contact .section-label {
    color: white;
}

.wap-contact h2 {
    margin: 0 0 22px;
    color: white;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 900;
}

.wap-contact p {
    max-width: 780px;
    margin: 0;
    color: white;
    font-size: 18px;
    line-height: 1.8;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-actions a {
    display: block;
    text-align: center;
    background-color: white;
    color: var(--rose);
    padding: 16px 28px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 900;
    transition: 0.25s ease;
}

.contact-actions a:hover {
    background-color: var(--noir);
    color: white;
    transform: translateY(-3px);
}

.contact-actions .btn-light {
    background-color: var(--noir);
    color: white;
}

.contact-actions .btn-light:hover {
    background-color: white;
    color: var(--rose);
}

/* =========================
   RESPONSIVE TABLETTE
========================= */

@media screen and (max-width: 1050px) {
    .wap-hero,
    .infos-section,
    .wap-contact {
        grid-template-columns: 1fr;
    }

    .programme-slider {
        max-width: 100%;
    }
}

/* =========================
   RESPONSIVE MOBILE
========================= */

@media screen and (max-width: 700px) {
    .wap-page {
        padding-bottom: 50px;
    }

    .wap-hero,
    .wap-about,
    .programme-section,
    .infos-section,
    .wap-contact {
        width: calc(100% - 36px);
        padding: 34px 24px;
        border-radius: 24px;
    }

    .wap-hero {
        margin-top: 35px;
    }

    .wap-hero-image img,
    .wap-about-image img {
        height: 270px;
        border-radius: 22px;
    }

    .wap-hero-text h1 {
        font-size: 46px;
    }

    .wap-hero-text h1 span {
        font-size: 58px;
        letter-spacing: 2px;
    }

    .hero-date {
        font-size: 15px;
        padding: 12px 22px;
    }

    .wap-hero-text h2,
    .wap-about-content h2,
    .programme-section .section-center h2,
    .infos-title h2,
    .wap-contact h2 {
        font-size: 28px;
    }

    .wap-statement {
        padding: 55px 24px;
    }

    .wap-statement p {
        font-size: 31px;
    }

    .wap-about-content p,
    .programme-text p,
    .wap-contact p {
        font-size: 16px;
        line-height: 1.75;
    }

    .wap-about-actions a {
        width: 100%;
        text-align: center;
    }

    .programme-item {
        padding: 28px 22px;
        border-radius: 24px;
    }

    .programme-text h3 {
        font-size: 26px;
    }

    .programme-text a {
        width: 100%;
        text-align: center;
    }

    .programme-slider {
        width: 100%;
        aspect-ratio: 4 / 3;
        min-height: 260px;
        max-height: 330px;
        border-radius: 22px;
    }

    .programme-slider-btn {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .programme-slider-dots {
        bottom: 14px;
        gap: 7px;
        padding: 8px 11px;
    }

    .programme-dot {
        width: 9px;
        height: 9px;
    }

    .programme-dot.active,
    .programme-dot:hover {
        width: 24px;
    }

    .programme-slider-btn.prev {
        left: 10px;
    }

    .programme-slider-btn.next {
        right: 10px;
    }

    .infos-list {
        grid-template-columns: 1fr;
    }

    .contact-actions a {
        width: 100%;
    }

    .modal-close {
        top: 16px;
        right: 16px;
    }
}

/* =========================
   PETITS MOBILES
========================= */

@media screen and (max-width: 400px) {
    .wap-hero-text h1 {
        font-size: 40px;
    }

    .wap-hero-text h1 span {
        font-size: 50px;
    }

    .wap-statement p {
        font-size: 27px;
    }
}


/* =========================
   ACCESSIBILITÉ
========================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--rose);
    outline-offset: 3px;
}

/* =========================
   RÉDUCTION DES ANIMATIONS
========================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}