/* =========================================================
   RÈG JENERAL
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #101010;
    background: #fffdf8;
    line-height: 1.6;
}

.container {
    width: min(1120px, 92%);
    margin: auto;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: relative;
    z-index: 1000;
    background: #080808;
    color: #fff;
    border-bottom: 2px solid #cda34d;
}

.nav {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.15;
}

.brand img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 50%;
}

.brand strong {
    color: #d5ab55;
}

.header nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex: 1;
    flex-wrap: wrap;
}

.header nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}

.header nav a:hover {
    color: #d5ab55;
}


/* =========================================================
   LANGUES
========================================================= */

.language-dropdown {
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 9999;
}

.language-button {
    border: none;
    background: #d4af37;
    color: #fff;
    padding: 7px 11px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.language-button:hover {
    background: #b9962f;
}

.language-menu {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    width: 130px;
    background: #fff;
    border-radius: 6px;
    padding: 5px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
    display: none;
}

.language-dropdown:hover .language-menu {
    display: block;
}

.language-menu a {
    display: block;
    padding: 8px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    border-radius: 5px;
}

.language-menu a:hover {
    background: #f1f1f1;
}

.language-menu a.active {
    background: #d4af37;
    color: #fff;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    background: linear-gradient(
        120deg,
        #050505 0%,
        #151515 65%,
        #33240b 100%
    );
    color: #fff;
    padding: 90px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.eyebrow {
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 700;
    color: #bd8e35;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.02;
    margin: 12px 0;
}

.lead {
    font-size: 21px;
    color: #ddd;
    max-width: 650px;
}

.hero-logo {
    width: min(360px, 75vw);
    border-radius: 50%;
    border: 7px solid #cda34d;
    box-shadow: 0 0 0 8px #111;
}


/* =========================================================
   BOUTONS
========================================================= */

.buttons {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
}

.gold {
    background: #cda34d;
    color: #080808;
}

.outline {
    border: 1px solid #cda34d;
    color: #fff;
}

.btn-publier {
    background: #198754;
    color: #fff;
}

.btn-publication {
    background: #dc3545;
    color: #fff;
}

.btn-statistiques {
    display: inline-block;
    padding: 12px 18px;
    background: #0b5ed7;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

.btn-statistiques:hover {
    background: #084298;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
    padding: 80px 0;
}

.section h2 {
    font-size: 40px;
    line-height: 1.1;
    margin: 8px 0 20px;
}

.section-intro {
    max-width: 760px;
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

.two-col {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 60px;
    align-items: center;
}

.card {
    background: #fff;
    border: 1px solid #e7d7b4;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
}

.quote {
    font-size: 23px;
    font-weight: 700;
    color: #806021;
}

.dark {
    background: #090909;
    color: #fff;
}

.light {
    background: #f2ead9;
}


/* =========================================================
   CARTES
========================================================= */

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 30px;
}

.dark .card {
    background: #141414;
    border-color: #3a2c14;
}


/* =========================================================
   TRANSFORMATIONS
========================================================= */

.transformations {
    background: #fffdf8;
}

.transformation-cards {
    grid-template-columns: repeat(4, 1fr);
}

.transformation-card {
    text-align: center;
    border-top: 4px solid #cda34d;
}

.transformation-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    color: #d5ab55;
    font-size: 25px;
}

.transformation-card h3 {
    color: #806021;
}


/* =========================================================
   EVENEMENTS
========================================================= */

.event {
    display: flex;
    gap: 25px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid #e2d3b3;
}

.date {
    min-width: 120px;
    text-align: center;
    background: #0a0a0a;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
}

.date strong,
.date span {
    display: block;
}

.date span {
    color: #d3a64f;
    font-size: 12px;
    letter-spacing: 1px;
}


/* =========================================================
   PHOTOS EVENEMENTS
========================================================= */

.photo-foire,
.actualite img,
.event img {
    width: 220px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.photo-foire:hover,
.actualite img:hover,
.event img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .25);
}


/* =========================================================
   GESTION DES MEMBRES
========================================================= */

.member-management {
    background: #f6f0e3;
}

.member-grid {
    display: grid;
    grid-template-columns:
        minmax(320px, .85fr)
        minmax(500px, 1.5fr);
    gap: 24px;
    align-items: start;
}

.member-form-card h3,
.member-list-card h3 {
    margin-top: 0;
}

.member-form-card label {
    display: block;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 13px;
}

.member-form-card input,
.member-form-card select,
.search-input {
    width: 100%;
    padding: 11px 12px;
    margin-top: 5px;
    border: 1px solid #d8c8a7;
    border-radius: 6px;
    background: #fff;
    font: inherit;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.secondary {
    background: #eee6d7;
    color: #222;
    border: 0;
}

.privacy-note {
    font-size: 12px;
    color: #6d6250;
    margin-top: 18px;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 15px;
    margin-bottom: 15px;
}

.list-header h3 {
    margin-bottom: 2px;
}

.member-count {
    font-size: 12px;
    color: #806021;
}

.search-input {
    max-width: 240px;
    margin-top: 0;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

th,
td {
    text-align: left;
    padding: 11px 8px;
    border-bottom: 1px solid #e3d7bf;
    white-space: nowrap;
}

th {
    background: #0a0a0a;
    color: #d5ab55;
}

.action-btn {
    border: 0;
    background: none;
    cursor: pointer;
    font-weight: 700;
    margin-right: 8px;
}

.edit-btn {
    color: #806021;
}

.delete-btn {
    color: #9a2e2e;
}

.empty-state {
    text-align: center;
    padding: 30px;
    color: #777;
}


/* =========================================================
   POPUP FOTO AGRANDI
========================================================= */

.image-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    inset: 0;

    background: rgba(0, 0, 0, .92);

    justify-content: center;
    align-items: center;

    padding: 30px;

    cursor: zoom-out;
}

.image-modal.active {
    display: flex;
}

.image-modal img {
    display: block;

    max-width: 90vw;
    max-height: 85vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 10px;

    box-shadow:
        0 10px 50px
        rgba(0, 0, 0, .6);

    cursor: default;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 25px;

    width: 50px;
    height: 50px;

    border: none;
    background: transparent;

    color: #fff;

    font-size: 45px;
    line-height: 1;

    font-weight: bold;

    cursor: pointer;

    z-index: 1000000;
}

.close-modal:hover {
    color: #d5ab55;
}


/* =========================================================
   FORMULAIRE CONTACT
========================================================= */

.contact {
    background: #fffdf8;
    padding: 90px 0;
}

/* FORM PRINCIPAL */

.contact-form {
    width: min(850px, 92%);
    margin: 0 auto 60px;

    background: #ffffff;

    padding: 40px;

    border-radius: 16px;
    border: 1px solid #e7d7b4;

    box-shadow:
        0 8px 30px
        rgba(0, 0, 0, .08);
}

/* CHAQUE CHAMP */

.contact-form .form-group {
    width: 100%;
    margin-bottom: 22px;
}

/* LABEL */

.contact-form .form-group label {
    display: block;
    margin-bottom: 8px;

    font-size: 16px;
    font-weight: 700;

    color: #333;
}

/* INPUT + TEXTAREA */

.contact-form input,
.contact-form textarea {
    width: 100%;

    display: block;

    padding: 15px 16px;

    border: 1px solid #d8c8a7;
    border-radius: 8px;

    background: #fff;
    color: #222;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;

    line-height: 1.5;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

/* INPUT */

.contact-form input {
    height: 52px;
}

/* ZONE MESSAGE */

.contact-form textarea {
    min-height: 190px;
    resize: vertical;
}

/* FOCUS */

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #cda34d;

    box-shadow:
        0 0 0 3px
        rgba(205, 163, 77, .15);
}

/* PLACEHOLDER */

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

/* BOUTON ENVOYER */

.contact-form button {
    border: none;

    cursor: pointer;

    font-size: 16px;
    font-weight: 700;

    padding: 15px 28px;

    margin-top: 5px;

    border-radius: 8px;

    transition:
        transform .2s ease,
        opacity .2s ease;
}

.contact-form button:hover {
    opacity: .9;
    transform: translateY(-2px);
}


/* =========================================================
   INFORMATIONS CONTACT
========================================================= */

.contact > .container {
    width: min(850px, 92%);
    margin: 0 auto;
}

.contact > .container h2 {
    margin-top: 10px;
}

.contact > .container p {
    font-size: 16px;
    margin: 10px 0;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #050505;
    color: #ddd;
    padding: 28px 0;
    border-top: 3px solid #cda34d;
}

.footer-inner {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-logo {
    width: 55px;
    height: 55px;
    border-radius: 50%;
}


/* =========================================================
   RESPONSIVE TABLETTE
========================================================= */

@media (max-width: 1000px) {

    .member-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 900px) {

    .language-dropdown {
        top: 8px;
        right: 10px;
    }

    .header .nav {
        padding-top: 45px;
        flex-direction: column;
    }

    .header nav {
        width: 100%;
        flex-wrap: wrap;
    }

    .hero-content,
    .two-col {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-logo {
        justify-self: center;
    }

    .cards {
        grid-template-columns: 1fr 1fr;
    }

    .transformation-cards {
        grid-template-columns: 1fr 1fr;
    }

}


/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (max-width: 700px) {

    .event {
        flex-direction: column;
        align-items: flex-start;
    }

    .photo-foire,
    .actualite img,
    .event img {
        width: 100%;
        max-width: 350px;
        height: 220px;
    }

    .contact {
        padding: 60px 0;
    }

    .contact-form {
        width: 94%;

        padding: 25px 20px;

        margin-bottom: 45px;

        border-radius: 14px;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        font-size: 16px;
        padding: 14px;
    }

    .contact-form input {
        height: 50px;
    }

    .contact-form textarea {
        min-height: 160px;
    }

    .contact-form button {
        width: 100%;
        text-align: center;
    }

}


@media (max-width: 560px) {

    .cards {
        grid-template-columns: 1fr;
    }

    .transformation-cards {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 55px 0;
    }

    .hero {
        padding: 55px 0;
    }

    .hero h1 {
        font-size: 42px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .list-header {
        align-items: stretch;
        flex-direction: column;
    }

    .search-input {
        max-width: none;
    }

}


/* =========================================================
   BOUTON MONTE / DESANN
========================================================= */

.scroll-toggle-btn {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: #d4af37;
    color: #ffffff;

    font-size: 30px;
    font-weight: bold;

    cursor: pointer;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);

    z-index: 9999;

    transition: all 0.3s ease;
}

.scroll-toggle-btn:hover {
    transform: scale(1.1);
    background: #b8941f;
}


/* MOBILE */

@media (max-width: 700px) {

    .scroll-toggle-btn {
        width: 48px;
        height: 48px;

        right: 15px;
        bottom: 15px;

        font-size: 26px;
    }

}





/* =========================================================
   SECTION FAIRE UN DON
========================================================= */

.donation-highlight {
    width: 100%;
    background: linear-gradient(135deg, #061b45, #0b3b78);
    color: #ffffff;
    padding: 35px 20px;
    border-top: 4px solid #d4af37;
    border-bottom: 4px solid #d4af37;
}


/* =========================================================
   CONTENU PRINCIPAL
========================================================= */

.donation-highlight-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}


/* =========================================================
   ICÔNE DON
========================================================= */

.donation-symbol {
    width: 75px;
    height: 75px;
    min-width: 75px;

    background: #d4af37;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 38px;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.30);
}


/* =========================================================
   TEXTE DON
========================================================= */

.donation-info {
    flex: 1;
}


.donation-info h2 {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 26px;
    line-height: 1.2;
}


.donation-info p {
    margin: 0 0 15px;

    color: #ffffff;

    font-size: 16px;
    line-height: 1.5;
}


/* =========================================================
   MONCASH / NATCASH
========================================================= */

.donation-numbers {
    display: flex;
    flex-wrap: wrap;

    gap: 15px;
}


.donation-numbers div {
    color: #ffffff;

    font-size: 16px;
}


.donation-numbers strong {
    color: #ffd95a;

    font-size: 18px;

    letter-spacing: 0.5px;
}


/* =========================================================
   BOUTON FAIRE UN DON
========================================================= */

.donation-main-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-width: 190px;

    padding: 17px 28px;

    background: #d4af37;

    color: #061b45 !important;

    border-radius: 12px;

    text-decoration: none;

    font-size: 19px;

    font-weight: 800;

    box-shadow:
        0 7px 20px rgba(0, 0, 0, 0.30);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}


.donation-main-button:hover {
    background: #f4d35e;

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   BLOC BANQUE
========================================================= */

.bank-donation-box {
    width: 100%;
    max-width: 1100px;

    margin: 30px auto 0;

    padding: 30px;

    background: rgba(0, 0, 0, 0.22);

    border: 2px solid #d4af37;

    border-radius: 16px;

    text-align: center;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.20);
}


/* =========================================================
   TITRE BANQUE
========================================================= */

.bank-donation-title {
    margin-bottom: 15px;

    color: #ffd95a;

    font-size: 25px;

    font-weight: 800;
}


/* =========================================================
   NOM DE LA BANQUE
========================================================= */

.bank-donation-name {
    margin-bottom: 5px;
}


.bank-donation-name strong {
    display: block;

    color: #ffffff;

    font-size: 22px;

    line-height: 1.4;
}


.bank-donation-name span {
    display: block;

    margin-top: 5px;

    color: #ffffff;

    font-size: 17px;
}


/* =========================================================
   BLOCS DES COMPTES
========================================================= */

.bank-donation-accounts {
    display: flex;

    justify-content: center;
    align-items: stretch;

    gap: 25px;

    flex-wrap: wrap;

    margin-top: 25px;
}


/* =========================================================
   CARTE COMPTE
========================================================= */

.bank-account-card {
    width: 330px;

    background: #ffffff;

    border-radius: 12px;

    padding: 20px;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.25);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.bank-account-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.30);
}


/* =========================================================
   TITRE DU COMPTE
========================================================= */

.bank-account-label {
    color: #061b45;

    font-size: 16px;

    font-weight: 800;

    margin-bottom: 12px;
}


/* =========================================================
   NUMÉRO DE COMPTE
========================================================= */

.bank-account-number {
    width: 100%;

    background: #061b45;

    color: #ffffff;

    border-radius: 8px;

    padding: 14px 8px;

    font-size: 27px;

    font-weight: 900;

    letter-spacing: 2px;

    text-align: center;

    white-space: nowrap;
}


/* =========================================================
   MESSAGE DE REMERCIEMENT
========================================================= */

.donation-thank-you {
    width: 100%;
    max-width: 850px;

    margin: 25px auto 0;

    text-align: center;

    color: rgba(255, 255, 255, 0.95);

    font-size: 15px;

    line-height: 1.6;

    font-style: italic;
}


/* =========================================================
   BOUTON DON DANS LE MENU
========================================================= */

.nav-donation-link {
    background: #d4af37 !important;

    color: #061b45 !important;

    padding: 9px 15px !important;

    border-radius: 8px;

    font-weight: 800 !important;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.nav-donation-link:hover {
    background: #f4d35e !important;

    color: #061b45 !important;

    transform: translateY(-2px);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .donation-highlight {
        padding: 30px 15px;
    }


    .donation-highlight-content {
        flex-direction: column;

        text-align: center;
    }


    .donation-symbol {
        margin: 0 auto;
    }


    .donation-info {
        width: 100%;
    }


    .donation-info h2 {
        font-size: 22px;
    }


    .donation-info p {
        font-size: 15px;
    }


    .donation-numbers {
        flex-direction: column;

        align-items: center;

        gap: 8px;
    }


    .donation-numbers div {
        font-size: 15px;
    }


    .donation-numbers strong {
        font-size: 17px;
    }


    .donation-main-button {
        width: 100%;

        max-width: 320px;
    }


    /* BANQUE */

    .bank-donation-box {
        padding: 25px 15px;

        margin-top: 25px;
    }


    .bank-donation-title {
        font-size: 22px;
    }


    .bank-donation-name strong {
        font-size: 19px;
    }


    .bank-donation-name span {
        font-size: 15px;
    }


    .bank-donation-accounts {
        flex-direction: column;

        align-items: center;

        gap: 15px;
    }


    .bank-account-card {
        width: 100%;

        max-width: 350px;
    }


    .bank-account-number {
        font-size: 23px;

        letter-spacing: 1px;
    }


    /* MENU DON */

    .nav-donation-link {
        display: inline-block;

        margin-top: 5px;
    }

}


/* =========================================================
   LETTRE DE RECOMMANDATION
========================================================= */

.module-recommandation {
    border-top: 4px solid #b8860b;
}

.module-recommandation .module-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff8dc;

    border-radius: 12px;

    font-size: 30px;

    margin-bottom: 12px;
}

.module-recommandation h3 {
    color: #b8860b;
}


/* =========================================================
   MENU GESTION
========================================================= */

.gestion-dropdown {
    position: relative;
    display: inline-block;
}

.gestion-onglet {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
}

.gestion-onglet:hover {
    color: #d5ab55;
}

.gestion-menu {
    display: none;

    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);

    min-width: 190px;

    background: #080808;
    border: 1px solid #cda34d;
    border-radius: 8px;

    padding: 8px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .35);

    z-index: 99999;
}

.gestion-dropdown.active .gestion-menu {
    display: block;
}

.gestion-menu a {
    display: block;

    color: #fff !important;
    text-decoration: none;

    font-size: 14px;
    white-space: nowrap;

    padding: 11px 14px;

    border-radius: 5px;
}

.gestion-menu a:hover {
    background: #cda34d;
    color: #080808 !important;
}