@import "print_raisons.css";
@import "bulles.css";

/* ============================================================
   We-Solidaire — welcome15.css  (refonte moderne 2025)
   Palette : #1A1A2E navy | #0D6E8A teal | #2ECC8C vert émeraude
             #0D6E8A corail | #F0F4F8 gris perle | #FFF blanc
   ============================================================ */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: #1A1A2E;
    background: #FFFFFF;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover { color: #0D6E8A; }

h2 {
    font-size: 28px;
    text-align: center;
    color: #1A1A2E;
    margin: 0 0 24px 0;
}

/* ============================================================
   HERO
   ============================================================ */
#cadre_tof {
    height: 480px;
    margin: -30px 0 0 0;
    background-image:
            linear-gradient(135deg, rgba(13,110,138,0.15) 0%, rgba(26,26,46,0.15) 100%),
            url("/asso/images/welcome.jpg");
    background-size: cover;
    background-position: center;
}

/* Cercle décoratif ambiant */
#cadre_tof::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46,204,140,0.18) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    pointer-events: none;
}

.texto {
    position: relative;
    z-index: 10;
    margin-top: -160px;
    font-size: 36px;
    font-weight: 700;
    width: 60%;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    color: #FFFFFF;
    text-align: center;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 0 30px rgba(0,0,0,0.7);
    margin-bottom: 40px;
}

/* ============================================================
   BARRE DE RECHERCHE / CTA
   ============================================================ */
#search {
    margin: 30px auto 0 auto;
    position: relative;
    z-index: 20;
    width: fit-content;
    background: #0D6E8A;
    border: none;
    border-radius: 50px;
    padding: 0;
    transition: transform 0.2s, box-shadow 0.2s;
}

#search:hover {
    transform: translateY(-2px);
}

#search a {
    display: block;
    padding: 14px 36px;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.4px;
}

#search a:hover { color: #FFFFFF; }

/* ============================================================
   BLOC "POURQUOI WE SOLIDAIRE" (#bla)
   ============================================================ */
#bla {
    background: #F0F4F8;
    text-align: center;
    padding: 72px 24px;
    font-size: 16px;
    line-height: 1.7;
}

#pquoi {
    font-size: 30px;
    font-weight: 700;
    color: #1A1A2E;
    margin: 0 0 36px 0;
}

#bla_content {
    width: min(760px, 92%);
    background: #FFFFFF;
    color: #374151;
    padding: 40px 44px;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(26,26,46,0.08);
    text-align: left;
}

#bla_content h2 {
    font-size: 22px;
    text-align: left;
    margin-bottom: 20px;
    color: #0D6E8A;
}

#bla_content p {
    margin: 0 0 14px 0;
    font-size: 15px;
}

#bla_content a { color: #0D6E8A; font-weight: 500; }
#bla_content a:hover { color: #0D6E8A; }

/* ============================================================
   BLOC "ÉTHIQUE" (#ethic)
   ============================================================ */
#ethic {
    background: #1A1A2E;
    color: #E2E8F0;
    padding: 64px 60px;
    text-align: justify;
    line-height: 1.75;
    font-size: 15px;
}

#ethic h2 {
    color: #2ECC8C;
    margin-bottom: 28px;
}

#ethic p {
    margin: 0 0 14px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#ethic p::before {
    content: '✓';
    margin-right: 0.75rem;
    color: #2ECC8C;
    font-weight: 700;
}

/* ============================================================
   BLOCS INTRO (pratique / facile / sécurisé)
   ============================================================ */
#intro {
    text-align: center;
    padding: 64px 24px 56px;
    background: #FFFFFF;
}

#try {
    font-size: 28px;
    font-weight: 700;
    color: #1A1A2E;
    margin-bottom: 36px;
}

.contenu {
    display: inline-block;
    padding: 28px 20px;
    vertical-align: top;
    width: 28%;
    min-height: 180px;
    font-size: 14px;
    margin: 0 1.5%;
    border-radius: 14px;
    transition: transform 0.25s, box-shadow 0.25s;
    color: #1A1A2E;
}

.contenu:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

#contenu1 { background: linear-gradient(145deg, #d4f5e9, #a8e6cf); }
#contenu2 { background: linear-gradient(145deg, #c8e8f5, #9ecfea); }
#contenu3 { background: linear-gradient(145deg, #d0c8f0, #b0a4e3); }

.adjectif {
    font-weight: 700;
    font-size: 20px;
    margin: 0 0 14px 0;
}

/* ============================================================
   CAGNOTTES PUBLIQUES (#public)
   ============================================================ */
#public {
    text-align: center;
    background: #F0F4F8;
    padding-bottom: 48px;
}

#titre_public {
    font-size: 26px;
    font-weight: 700;
    color: #1A1A2E;
    padding: 48px 0 28px;
}

.boite {
    width: 260px;
    border: none;
    border-radius: 14px;
    display: inline-block;
    vertical-align: top;
    margin: 0 16px 36px;
    background: #FFFFFF;
    box-shadow: 0 2px 16px rgba(26,26,46,0.09);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

.boite:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(26,26,46,0.15);
}

.image {
    width: 260px;
    height: 170px;
    background-size: cover;
    background-position: center;
    border-bottom: none;
}

.boite .name {
    height: auto;
    text-align: center;
    margin: 14px 10px 8px;
    font-weight: 600;
    font-size: 14px;
    color: #1A1A2E;
}

.boite .combo {
    text-align: center;
    font-size: 12px;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #6B7280;
}

.boite .amount {
    margin: 0 16px;
    display: inline-block;
    font-weight: 700;
    font-size: 16px;
    color: #0D6E8A;
}

.boite .amount > div { font-size: 10px; font-weight: 400; color: #9CA3AF; }

.boite .days {
    display: inline-block;
    margin: 0 16px;
    font-size: 12px;
    color: #6B7280;
}

.boite .barre {
    border-right: 1px solid #E5E7EB;
    display: inline-block;
    height: 28px;
    vertical-align: middle;
}

#public > div > a {
    display: inline-block;
    margin-top: 8px;
    padding: 12px 32px;
    background: #0D6E8A;
    color: #FFFFFF;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s, transform 0.2s;
}

#public > div > a:hover {
    background: #0a5870;
    transform: translateY(-1px);
}

/* ============================================================
   CADENAS / LIEN PAPAYOUX
   ============================================================ */
#bloc_cadenas {
    text-align: center;
    padding: 40px 0;
    background: #FFFFFF;
    border-top: 1px solid #E5E7EB;
}

#cadenas {
    width: 40px;
    vertical-align: middle;
    margin-right: 8px;
}

#asso {
    font-weight: 700;
    color: #0D6E8A;
    margin-top: 10px;
    font-size: 18px;
}

#bloc_cadenas a { color: #4B5563; font-size: 15px; }
#bloc_cadenas a:hover { color: #0D6E8A; }

/* ============================================================
   FAQ (#faq_cadre) — accordion moderne
   ============================================================ */
#faq_cadre {
    background: #F0F4F8;
    text-align: center;
    padding: 72px 24px 80px;
}

#faq_titre {
    font-size: 28px;
    color: #1A1A2E;
    margin-bottom: 8px;
}

#faq_sous_titre {
    font-size: 15px;
    color: #6B7280;
    margin-bottom: 48px;
}

.faq_item {
    background: #FFFFFF;
    text-align: left;
    width: min(700px, 92%);
    margin: 0 auto 10px;
    border-radius: 14px;
    border: 1.5px solid transparent;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(26,26,46,0.06);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}

.faq_item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(13,110,138,0.1);
    border-color: rgba(13,110,138,0.2);
}

.faq_item[open] {
    border-color: #0D6E8A;
    box-shadow: 0 6px 28px rgba(13,110,138,0.12);
}

.faq_item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #1A1A2E;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    user-select: none;
    transition: color 0.2s;
}

.faq_item summary::-webkit-details-marker { display: none; }
.faq_item summary:focus { outline: none; }

.faq_icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #F0F4F8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
    font-size: 18px;
    font-weight: 300;
    color: #0D6E8A;
    line-height: 1;
}

.faq_item[open] .faq_icon {
    background: #0D6E8A;
    color: #FFFFFF;
    transform: rotate(45deg);
}

.faq_item[open] summary {
    color: #0D6E8A;
}

.faq_body {
    padding: 0 28px 22px 28px;
    border-top: 1px solid #F0F4F8;
    animation: faq_slide 0.28s cubic-bezier(0.16,1,0.3,1);
}

.faq_item p {
    font-size: 14px;
    line-height: 1.75;
    margin: 16px 0 0 0;
    color: #4B5563;
}

@keyframes faq_slide {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media screen and (max-width: 767px) {
    .faq_item summary { padding: 18px 20px; font-size: 14px; }
    .faq_body { padding: 0 20px 18px; }
}

/* ============================================================
   AVIS (#avis_cadre)
   ============================================================ */
#avis_cadre {
    background: #1A1A2E;
    text-align: center;
    padding: 64px 24px;
}

#avis_confiance {
    font-size: 26px;
    color: #FFFFFF;
    margin-bottom: 36px;
}

.avis {
    border: 1px solid rgba(255,255,255,0.12);
    text-align: left;
    width: 240px;
    display: inline-block;
    vertical-align: top;
    margin: 8px 10px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(6px);
    font-size: 13px;
    padding: 20px;
    border-radius: 14px;
    color: #E2E8F0;
    transition: background 0.25s, transform 0.25s;
}

.avis:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.avis_titre {
    font-size: 14px;
    font-weight: 600;
    color: #2ECC8C;
    margin-bottom: 10px;
}

.avis_main {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #CBD5E0;
}

.avis_sign {
    font-size: 12px;
    color: #9CA3AF;
    font-style: italic;
}

/* ============================================================
   CONTACT (#contact)
   ============================================================ */
#contact {
    margin: 0;
    border: none;
    border-radius: 0;
    width: 100%;
    text-align: center;
    padding: 36px 24px;
    color: #FFFFFF;
    background: linear-gradient(135deg, #0D6E8A 0%, #0a5870 100%);
    line-height: 1.8;
}

#contact a {
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 600;
    border-bottom: 2px solid rgba(255,255,255,0.4);
    padding-bottom: 2px;
    transition: border-color 0.2s;
}

#contact a:hover { border-color: #FFFFFF; color: #FFFFFF; }

/* ============================================================
   LOGOS BANQUE / CONFIANCE (#logo_bank)
   ============================================================ */
#logo_bank {
    padding: 44px 24px;
    text-align: center;
    vertical-align: middle;
    background: #F8FAFC;
    border-top: 1px solid #E5E7EB;
}

#logo_bank img {
    vertical-align: middle;
    margin: 0 14px;
    width: 110px;
    opacity: 0.82;
    transition: opacity 0.2s;
}

#logo_bank img:hover {
    opacity: 1;
}

#bnp, #made, #ifp {
    width: 90px;
}

#logo_bank .logo_inline {
    display: block;
    width: auto;
    height: 24px;
    margin: 0 auto 8px;
}

/* Bloc Lemonway / IFP */
.lemonway {
    display: inline-block;
    vertical-align: top;
    width: 180px;
    margin: 0 14px;
    text-align: justify;
    font-size: 11px;
    line-height: 1.5;
    color: #6B7280;
}

#logo_bank .lemonway img {
    display: block;
    width: 130px;
    margin: 0 auto 8px;
    opacity: 1;
}

/* ============================================================
   HELPERS (cachés sur mobile vieux)
   ============================================================ */
.intro_mob_item { display: none; }
#raisons_mob { display: none; }

.grecaptcha-badge { visibility: hidden; }

/* ============================================================
   RESPONSIVE — mobile < 768px
   ============================================================ */

@media screen and (max-width: 767px) {

    #cadre_tof {
        height: 300px;
        margin: 0;
        overflow: hidden;
    }

    #cadre_tof::after {
        display: none;
    }

    .texto {
        font-size: 24px;
        width: 88%;
        max-width: 100%;
        margin-top: -100px;
        margin-bottom: 30px;
    }

    #search { margin-top: 24px; }

    #pquoi { font-size: 24px; }

    h2 { font-size: 22px; }

    #bla { padding: 48px 16px; }

    #bla_content {
        width: 95%;
        padding: 28px 20px;
    }

    #bla_content h2 { font-size: 19px; }

    .contenu {
        display: block;
        width: 90%;
        margin: 0 auto 16px;
    }

    #ethic { padding: 48px 20px; }

    #faq_cadre { padding: 48px 16px; }

    #faq_titre,
    #faq_sous_titre {
        text-align: center;
        width: 100%;
    }

    .faq_item {
        width: 95%;
        padding: 18px 16px;
    }

    .avis {
        width: 85%;
        display: block;
        margin: 10px auto;
    }

    #contact {
        font-size: 15px;
        padding: 32px 20px;
    }

    /* ============================================================
 LOGOS BANQUE / CONFIANCE — MOBILE
 ============================================================ */

    #logo_bank {
        padding: 32px 16px;
    }

    #logo_bank img {
        width: 80px;
        margin: 0 10px 16px;
    }

    #bnp, #made, #ifp {
        width: 65px;
    }

    #logo_bank .logo_inline {
        display: block;
        height: 32px;
        margin: 0 auto 14px;
    }

    .lemonway {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 12px auto 0;
        text-align: center;
        font-size: 13px;
    }

    #logo_bank .lemonway img {
        display: block;
        width: 130px;
        margin: 0 auto 10px;
    }

    #raisons_mob {
        background: #0D6E8A;
        display: block;
        text-align: center;
        padding: 28px 0;
    }

    #raisons_mob a {
        color: white;
        font-size: 18px;
    }

    .boite {
        width: 90%;
        margin: 0 auto 20px;
    }

    .image { width: 100%; }

    #brut {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
}



/* ============================================================
   RESPONSIVE — moyen 980–1199px
   ============================================================ */
@media screen and (min-width: 980px) and (max-width: 1199px) {

    .texto {
        font-size: 30px;
        width: 65%;
    }
}

/* ============================================================
   RESPONSIVE — grand 1600px+
   ============================================================ */
@media screen and (min-width: 1600px) {

    #cadre_tof { height: 560px; }

    .texto {
        font-size: 42px;
        width: 50%;
        margin-top: -200px;
    }
}