/* ================================================================
   style-soutient.css — Science L@b22 — Page "Nous soutenir"
   
   Sections :
     1. Réglages globaux
     2. Barre de navigation
     3. Hero
     4. Soutien financier (cartes Tipeee)
     5. Footer
     6. @media — Responsive
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;700&display=swap');


/* ── 1. RÉGLAGES GLOBAUX ─────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #444444;
}


/* ── 2. BARRE DE NAVIGATION ──────────────────────────────────── */
.barre-navigation {
    background-color: rgba(68, 68, 68, 0.4);
    position: fixed;
    padding: 25px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transition: background 0.5s;
    z-index: 100;
}

.barre-navigation.scrolled {
    background: white;
    box-shadow: 0 1px 10px -5px rgba(68,68,68,0.3);
}

.barre-navigation .identitee {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.barre-navigation.scrolled .identitee { color: #444444; }

.barre-navigation .identitee .logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.barre-navigation .identitee .Science-lab22 {
    font-size: 22px;
    font-weight: 700;
}

.barre-navigation .navigation {
    display: flex;
    align-items: center;
    gap: 55px;
}

.barre-navigation .navigation a {
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.barre-navigation.scrolled .navigation:not(.mobile-menu) a { color: #444444; }
.barre-navigation .navigation a:hover { opacity: 0.5; }

.barre-navigation .btn-contact {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    background: #444444;
    color: white;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.barre-navigation .btn-contact:hover { background: #333333; }

.barre-navigation .menu-ham,
.barre-navigation .menu-ham-2 {
    width: 35px;
    position: absolute;
    right: 35px;
    display: none;
}


/* ── 3. HERO ─────────────────────────────────────────────────── */
.hero-soutien {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-soutien .hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.38);
    z-index: 0;
}

/* Si l'image n'existe pas encore*/
.hero-soutien::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #444444; 
    z-index: -1;
}

.hero-texte {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 0 40px;
}

.hero-surtitre {
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 16px;
}

.hero-titre {
    font-size: clamp(46px, 7vw, 80px);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 20px;
}

.hero-sous-titre {
    font-size: clamp(17px, 2.5vw, 24px);
    opacity: 0.85;
}



/* ── 4. SOUTIEN FINANCIER ────────────────────────────────────── */
.soutien-financier {
    background: #f5f2eb;
    padding: 90px 60px;
}

.soutien-texte {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.soutien-texte h2 {
    font-size: 36px;
    margin-bottom: 18px;
}

.soutien-texte p {
    font-size: 17px;
    line-height: 1.7;
    color: #666666;
}


.don-carte {
    justify-self: center;
    background: white;
    border-radius: 16px;
    padding: 45px 40px;
    max-width: 360px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.don-icone {
    font-size: 40px;
}

.don-carte h3 {
    font-size: 22px;
    font-weight: 700;
}

.don-carte p {
    font-size: 15px;
    color: #777777;
    line-height: 1.6;
}

.btn-don {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    background: #059DDC;
    color: white;
    font-weight: 700;
    font-size: 15px;
    border-radius: 8px;
    margin-top: 10px;
    transition: background 0.2s, transform 0.2s;
}

.btn-don:hover {
    background: #0481b8;
    transform: translateY(-2px);
}



/* ── 5. FOOTER ───────────────────────────────────────────────── */
.footer {
    background-color: #444444;
    height: 200px;
    display: flex;
    padding: 80px;
    gap: 60px;
    color: white;
    justify-content: space-around;
    align-items: center;
}

.footer .identitee {
    display: flex;
    align-items: center;
    color: white;
    gap: 20px;
}

.footer .identitee .logo { height: 60px; }

.footer .identitee .Science-lab22 {
    font-size: 25px;
    width: 60px;
}

.footer .adresses { color: white; }
.footer .reseaux img { width: 28px; height: 28px; }


/* ══════════════════════════════════════════════════════════════
   6. RESPONSIVE — @media
══════════════════════════════════════════════════════════════ */

/* ── < 1100px : Menu hamburger ───────────────────────────────── */
@media screen and (max-width: 1100px) {

    .barre-navigation .identitee { z-index: 10; }
    .barre-navigation .btn-contact { display: none; }
    .barre-navigation .menu-ham { display: block; z-index: 10; }

    .barre-navigation .navigation {
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        flex-direction: column;
        position: absolute;
        align-items: flex-start;
        top: 0;
        right: 0;
        width: 100vw;
        background: rgba(17, 17, 17, 0.88);
        padding: 120px 0 100vh 35px;
        gap: 35px;
        z-index: 5;
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .barre-navigation .navigation.mobile-menu {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .barre-navigation .navigation.mobile-menu a { color: white; font-size: 20px; }
    .barre-navigation.scrolled .menu-ham { display: none; }
    .barre-navigation.scrolled .menu-ham-2 { display: block; z-index: 10; }
    .barre-navigation.scrolled.menu-ouvert .identitee { color: white; }
    .barre-navigation.scrolled.menu-ouvert .menu-ham { display: block; }
    .barre-navigation.scrolled.menu-ouvert .menu-ham-2 { display: none; }

    .barre-navigation .navigation.mobile-menu .btn-contact {
        display: inline-flex;
        position: absolute;
        top: 400px;
        left: 35px;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        color: #444444;
        background-color: white;
        z-index: 6;
    }
}


/* ── < 900px : Tablette ──────────────────────────────────────── */
@media screen and (max-width: 900px) {

    .hero-soutien { height: 400px; }

    .pourquoi {
        padding: 70px 35px;
        gap: 50px;
    }

    /* Galerie : 2 colonnes */
    .galerie {
        grid-template-columns: repeat(2, 1fr);
    }

    .soutien-financier {
        padding: 70px 35px;
    }

    .partenariats {
        padding: 70px 35px;
    }

    .contact {
        padding: 60px 30px;
    }

    .contact-grille {
        gap: 40px;
    }
}


/* ── < 600px : Mobile ────────────────────────────────────────── */
@media screen and (max-width: 600px) {

    .hero-soutien { height: 360px; }

    .hero-titre { font-size: 40px; }

    .pourquoi {
        padding: 50px 20px;
        gap: 40px;
    }

    /* Galerie : 1 colonne */
    .galerie {
        grid-template-columns: 1fr;
    }

    .soutien-financier {
        padding: 50px 20px;
    }

    .don-carte {
        padding: 35px 25px;
    }

    .partenariats {
        padding: 50px 20px;
    }

    .contact {
        padding: 50px 20px;
    }

    .contact-grille {
        flex-direction: column;
        gap: 35px;
    }

    .footer {
        flex-direction: column;
        height: auto;
        padding: 40px 20px;
        gap: 20px;
        text-align: center;
    }
}
