/* =========================
   PAGE ASSOCIATION
========================= */

:root {
    --rose: #d63384;
    --rose-clair: #f062a8;
    --rose-fonce: #a9155d;
    --noir: #141414;
    --noir-doux: #202020;
    --gris-fond: #f6f6f8;
    --gris-texte: #475467;
    --blanc: #ffffff;
    --bordure: #e5e7eb;
    --ombre: 0 14px 35px rgba(0, 0, 0, 0.08);
    --ombre-forte: 0 24px 55px rgba(0, 0, 0, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--gris-fond);
    color: var(--noir);
    overflow-wrap: break-word;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--rose);
    outline-offset: 4px;
}

.association-page {
    background:
        radial-gradient(circle at top right, rgba(214, 51, 132, 0.10), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #fafafa 42%, #f6f6f8 100%);
    padding-bottom: 80px;
    overflow: hidden;
}

/* =========================
   HERO
========================= */

.association-hero {
    min-height: 630px;
    padding: 90px 8%;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 70px;
    align-items: center;
    background-color: var(--blanc);
    position: relative;
    overflow: hidden;
}

.association-hero::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -160px;
    width: 560px;
    height: 560px;
    background-color: rgba(214, 51, 132, 0.08);
    border-radius: 50%;
}

.association-hero-content,
.association-hero-card {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.logo-zone {
    margin-bottom: 24px;
}

.logo-zone p {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
    color: var(--rose);
}

.association-hero h1 {
    margin: 0;
    font-size: 82px;
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -2px;
    color: var(--noir);
}

.association-hero h1 span {
    color: var(--rose);
}

.hero-text {
    max-width: 720px;
    margin: 32px 0 0;
    font-size: 23px;
    line-height: 1.5;
    color: var(--gris-texte);
    font-weight: 600;
}

.association-hero-card {
    background: linear-gradient(135deg, var(--noir), var(--noir-doux));
    color: var(--blanc);
    border-radius: 32px;
    padding: 45px;
    box-shadow: var(--ombre-forte);
    border: 2px solid rgba(214, 51, 132, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.association-hero-card img {
    width: 100%;
    max-width: 360px;
    height: auto;
    object-fit: contain;
}

/* =========================
   SECTIONS GÉNÉRALES
========================= */

.association-section,
.association-contact {
    width: 88%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.association-section {
    margin-bottom: 42px;
    background-color: var(--blanc);
    border-radius: 30px;
    padding: 52px 60px;
    box-shadow: var(--ombre);
    border: 1px solid rgba(17, 24, 39, 0.06);
}

.section-heading {
    margin-bottom: 30px;
}

.section-tag {
    display: inline-block;
    margin: 0 0 18px;
    color: var(--rose);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2.5px;
}

.association-section h2,
.association-contact h2 {
    margin: 0;
    font-size: 40px;
    font-weight: 900;
    line-height: 1.15;
    color: var(--noir);
}

.association-section h2::after,
.association-contact h2::after {
    content: "";
    display: block;
    width: 78px;
    height: 5px;
    background-color: var(--rose);
    border-radius: 50px;
    margin-top: 18px;
}

.association-section p,
.association-contact p {
    font-size: 18px;
    line-height: 1.85;
    color: var(--gris-texte);
    margin: 0 0 18px;
}

/* =========================
   SECTIONS NOIRES
========================= */

.dark-highlight {
    background: linear-gradient(135deg, var(--noir), var(--noir-doux));
    color: white;
    border: 1px solid rgba(214, 51, 132, 0.35);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
}

.dark-highlight .section-tag {
    color: var(--rose-clair);
}

.dark-highlight h2 {
    color: white;
}

.dark-highlight p {
    color: #f2f2f2;
}

/* =========================
   PRÉSENTATION
========================= */

.presentation-section {
    margin-top: 55px;
}

.presentation-image {
    width: 100%;
    height: 420px;
    margin-bottom: 34px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--ombre-forte);
    border: 1px solid rgba(214, 51, 132, 0.28);
}

.presentation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

/* =========================
   SECTION PROJET
========================= */

.project-section {
    overflow: hidden;
}

.project-section .section-heading {
    margin-bottom: 36px;
}

.project-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 42px;
    align-items: center;
}

.project-image-wrap {
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    background-color: #050505;
    box-shadow: var(--ombre-forte);
    border: 1px solid rgba(214, 51, 132, 0.28);
}

.project-image-wrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.project-text p {
    color: #f2f2f2;
    font-size: 18px;
    line-height: 1.85;
    margin: 0 0 20px;
}

.project-quote {
    margin-top: 28px;
    min-height: auto;
    padding: 34px;
    border-radius: 24px;
}

.project-quote p {
    color: white;
    font-size: 24px;
    line-height: 1.45;
    font-weight: 900;
    margin: 0;
}

/* =========================
   VALEURS MODERNES
========================= */

.values-section {
    background: linear-gradient(135deg, #ffffff 0%, #fff7fb 100%);
    border: 1px solid rgba(214, 51, 132, 0.16);
    position: relative;
    overflow: hidden;
}

.values-section::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background-color: rgba(214, 51, 132, 0.08);
}

.values-heading {
    max-width: 850px;
    position: relative;
    z-index: 1;
}

.values-heading p:last-child {
    max-width: 820px;
}

.values-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    position: relative;
    z-index: 1;
}

.value-modern-card {
    background-color: white;
    border-radius: 26px;
    padding: 34px;
    border: 1px solid rgba(214, 51, 132, 0.16);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.07);
    display: block;
    transition: 0.25s ease;
}

.value-modern-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(214, 51, 132, 0.16);
}

.value-modern-card h3 {
    margin: 0 0 14px;
    color: var(--noir);
    font-size: 25px;
    font-weight: 900;
}

.value-modern-card p {
    margin: 0;
    color: var(--gris-texte);
    font-size: 16px;
    line-height: 1.7;
}

/* =========================
   MOT DU PRÉSIDENT
========================= */

.president-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 34px;
    align-items: center;
}

.president-text h3 {
    margin: 28px 0 8px;
    font-size: 28px;
    font-weight: 900;
    color: var(--rose-clair);
}

.president-signature {
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--ombre-forte);
}

.president-signature img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* =========================
   DEUX COLONNES
========================= */

.two-columns {
    display: grid;
    grid-template-columns: 1.35fr 0.75fr;
    gap: 36px;
    align-items: center;
}

.quote-card {
    background: linear-gradient(135deg, var(--rose), var(--rose-clair));
    color: white;
    padding: 34px;
    border-radius: 24px;
    box-shadow: var(--ombre-forte);
    min-height: 240px;
    display: flex;
    align-items: center;
}

.quote-card p {
    color: white;
    font-size: 25px;
    line-height: 1.45;
    font-weight: 900;
    margin: 0;
}

/* =========================
   ÉVÉNEMENTS
========================= */

.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.event-card {
    border-radius: 28px;
    padding: 42px;
    color: var(--blanc);
    min-height: 250px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--ombre);
}

.event-card::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.10);
}

.event-pink {
    background: linear-gradient(135deg, var(--rose), var(--rose-clair));
}

.event-black {
    background: linear-gradient(135deg, #050505, #1f2937);
}

.event-card h3 {
    margin: 0 0 18px;
    font-size: 32px;
    font-weight: 900;
    color: white;
    position: relative;
    z-index: 1;
}

.event-card p {
    color: white;
    font-size: 17px;
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

.event-card a {
    display: inline-block;
    position: relative;
    z-index: 1;
    background-color: white;
    color: var(--rose);
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 900;
    margin-top: 18px;
    transition: 0.25s ease;
}

.event-card a:hover {
    background-color: var(--noir);
    color: white;
    transform: translateY(-3px);
}

/* =========================
   ÉQUIPE
========================= */

.team-intro {
    max-width: 850px;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin: 32px 0 0;
}

.member-card {
    border-radius: 24px;
    overflow: hidden;
    text-align: center;
    background: white;
    border: 1px solid rgba(214, 51, 132, 0.15);
    box-shadow: var(--ombre);
    transition: 0.25s ease;
}

.member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(214, 51, 132, 0.14);
}

.member-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: 0.25s ease;
}

.member-card:hover img {
    filter: grayscale(0%);
}

.member-card h3 {
    font-size: 20px;
    font-weight: 900;
    margin: 18px 14px 6px;
}

.member-card p {
    font-size: 15px;
    color: var(--rose);
    font-weight: 800;
    margin: 0 14px 22px;
}

/* =========================
   PHOTO DU LIEU
========================= */

.place-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.place-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 26px;
    box-shadow: var(--ombre-forte);
}

/* =========================
   ARTICLES DE PRESSE EN BLANC
========================= */

.press-section {
    background: linear-gradient(135deg, #ffffff 0%, #fff7fb 100%);
    color: var(--noir);
    border: 1px solid rgba(214, 51, 132, 0.16);
    box-shadow: var(--ombre);
    position: relative;
    overflow: hidden;
}

.press-section::before {
    content: "PRESSE";
    position: absolute;
    right: -20px;
    bottom: -18px;
    color: rgba(214, 51, 132, 0.07);
    font-size: 120px;
    font-weight: 900;
    letter-spacing: 6px;
}

.press-section .section-tag {
    color: var(--rose);
}

.press-section h2 {
    color: var(--noir);
}

.press-section .section-heading {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.press-section .section-heading p:last-child {
    color: var(--gris-texte);
}

.press-slider {
    width: 100%;
    max-width: 920px;
    height: 650px;
    margin: 35px auto 0;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    background-color: white;
    box-shadow: var(--ombre-forte);
    border: 1px solid rgba(214, 51, 132, 0.16);
    z-index: 1;
}

.press-slider-images,
.press-slide {
    width: 100%;
    height: 100%;
}

.press-slide {
    display: none;
}

.press-slide.active {
    display: block;
}

.press-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: white;
    cursor: zoom-in;
    padding: 18px;
    transition: 0.25s ease;
}

.press-slide img:hover {
    transform: scale(1.015);
}

.press-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background-color: rgba(20, 20, 20, 0.65);
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 5;
    transition: 0.25s ease;
}

.press-slider-btn:hover {
    background-color: var(--rose);
}

.press-slider-btn.prev {
    left: 20px;
}

.press-slider-btn.next {
    right: 20px;
}

.press-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 9px;
    background-color: rgba(20, 20, 20, 0.45);
    padding: 9px 13px;
    border-radius: 50px;
    z-index: 5;
}

.press-dot {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background-color: #d0d5dd;
    cursor: pointer;
    transition: 0.25s ease;
}

.press-dot.active,
.press-dot:hover {
    background-color: var(--rose);
    transform: scale(1.2);
}

.press-empty {
    position: relative;
    z-index: 1;
    background-color: white;
    border: 1px dashed rgba(214, 51, 132, 0.35);
    border-radius: 24px;
    padding: 30px;
    margin-top: 28px;
}

.press-empty p {
    margin: 0;
    color: var(--gris-texte);
}

/* 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,
.modal-close,
.press-slider-btn,
.press-dot {
    touch-action: manipulation;
}

.image-modal img {
    max-width: 95%;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 18px;
    background-color: white;
    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);
}

/* =========================
   PARTENAIRE / EROTICBEER
========================= */

.beer-section {
    background: linear-gradient(135deg, #050505, #111111);
    border-left: 8px solid var(--rose);
}

.beer-section .section-tag {
    color: var(--rose-clair);
}

.beer-section h2 {
    color: white;
}

.beer-section p {
    color: white;
}

.beer-section .two-columns img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--ombre-forte);
}

/* =========================
   CONTACT
========================= */

.association-contact {
    width: 88%;
    max-width: 1180px;
    margin: 55px auto 0;
    background: linear-gradient(135deg, #ffffff 0%, #fff7fb 100%);
    color: var(--noir);
    border-radius: 32px;
    padding: 60px;
    box-shadow: var(--ombre);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(214, 51, 132, 0.16);
}

.association-contact::before {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background-color: rgba(214, 51, 132, 0.10);
}

.contact-content {
    position: relative;
    z-index: 1;
}

.contact-text {
    max-width: 850px;
    margin-bottom: 35px;
}

.association-contact .section-tag {
    color: var(--rose);
}

.association-contact h2 {
    margin: 0;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.15;
    color: var(--noir);
}

.association-contact h2::after {
    content: "";
    display: block;
    width: 95px;
    height: 5px;
    background-color: var(--rose);
    border-radius: 50px;
    margin-top: 18px;
}

.contact-text p {
    margin-top: 22px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--gris-texte);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.contact-card {
    background-color: white;
    border-radius: 26px;
    padding: 34px;
    border: 1px solid rgba(214, 51, 132, 0.14);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.07);
    transition: 0.25s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(214, 51, 132, 0.14);
}

.contact-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background-color: var(--rose);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 22px;
}

.contact-card h3 {
    margin: 0 0 14px;
    font-size: 24px;
    font-weight: 900;
    color: var(--noir);
}

.contact-card p {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--gris-texte);
}

.contact-card a {
    display: inline-block;
    background-color: var(--rose);
    color: white;
    padding: 14px 26px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 900;
    transition: 0.25s ease;
}

.contact-card a:hover {
    background-color: var(--rose-fonce);
    transform: translateY(-3px);
}

.support-card {
    background: linear-gradient(135deg, var(--noir), var(--noir-doux));
    border: 1px solid rgba(214, 51, 132, 0.35);
}

.support-card h3,
.support-card p {
    color: white;
}

.support-card .contact-icon {
    background-color: white;
    color: var(--rose);
}

.support-card a {
    background-color: white;
    color: var(--rose);
}

.support-card a:hover {
    background-color: var(--rose);
    color: white;
}

/* =========================
   RESPONSIVE TABLETTE
========================= */

@media screen and (max-width: 1050px) {
    .association-hero,
    .place-section,
    .two-columns,
    .president-content,
    .project-layout {
        grid-template-columns: 1fr;
    }

    .association-hero {
        padding: 75px 6%;
    }

    .association-hero h1 {
        font-size: 68px;
    }

    .values-modern,
    .events-grid,
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .association-hero-card {
        max-width: 520px;
    }

    .press-slider {
        height: 560px;
    }
}

/* =========================
   RESPONSIVE MOBILE
========================= */

@media screen and (max-width: 700px) {
    .association-page {
        padding-bottom: 50px;
    }

    .association-hero {
        min-height: auto;
        padding: 50px 22px 60px;
        gap: 34px;
    }

    .association-hero h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .hero-text {
        font-size: 18px;
    }

    .association-hero-card {
        padding: 30px 24px;
        border-radius: 24px;
    }

    .association-section,
    .association-contact {
        width: calc(100% - 36px);
        padding: 32px 24px;
        border-radius: 24px;
    }

    .association-section h2,
    .association-contact h2 {
        font-size: 28px;
    }

    .association-section p,
    .association-contact p {
        font-size: 16px;
        line-height: 1.75;
    }

    .presentation-section {
        margin-top: 35px;
    }

    .presentation-image {
        height: 300px;
        border-radius: 22px;
    }

    .presentation-image img {
        object-position: center center;
    }

    .values-modern,
    .events-grid,
    .members-grid,
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .value-modern-card {
        padding: 26px 22px;
    }

    .value-modern-card h3 {
        font-size: 22px;
    }

    .project-image-wrap {
        border-radius: 22px;
    }

    .project-text p {
        font-size: 16px;
        line-height: 1.75;
    }

    .project-quote {
        padding: 24px 22px;
    }

    .project-quote p {
        font-size: 21px;
    }

    .place-image img,
    .president-signature img {
        height: 280px;
    }

    .quote-card {
        min-height: auto;
        padding: 26px 22px;
    }

    .quote-card p {
        font-size: 21px;
    }

    .press-slider {
        height: 430px;
        max-height: 70vh;
        border-radius: 22px;
    }

    .press-slide img {
        padding: 10px;
    }

    .press-slider-btn {
        width: 42px;
        height: 42px;
        font-size: 23px;
    }

    .press-slider-btn.prev {
        left: 10px;
    }

    .press-slider-btn.next {
        right: 10px;
    }

    .press-slider-dots {
        bottom: 12px;
        gap: 8px;
        padding: 8px 10px;
    }

    .press-dot {
        width: 10px;
        height: 10px;
    }

    .press-section::before {
        font-size: 70px;
        right: -12px;
    }

    .beer-section .two-columns img {
        height: 260px;
    }

    .contact-card {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .contact-card a {
        width: 100%;
        text-align: center;
    }

    .modal-close {
        top: 16px;
        right: 16px;
    }
}

/* =========================
   PETITS MOBILES
========================= */

@media screen and (max-width: 400px) {
    .association-hero h1 {
        font-size: 37px;
    }

    .association-section h2,
    .association-contact h2 {
        font-size: 25px;
    }

    .member-card img {
        height: 230px;
    }

    .press-slider {
        height: 360px;
        max-height: 68vh;
    }
}

/* =========================
   ACCESSIBILITÉ
========================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
