/* ==========================================================
   ASSOCIATION.CSS
   2B ÉVÉNEMENT
   Version Premium 2026
========================================================== */

/* ==========================================================
   VARIABLES
========================================================== */

:root{

    --bleu:#0B3C5D;
    --bleu-clair:#16567d;

    --orange:#F39C12;
    --orange-hover:#e28d08;

    --blanc:#ffffff;
    --gris:#f5f7fa;
    --gris-fonce:#666666;

    --texte:#555555;

    --rayon:22px;

    --transition:.35s ease;

    --ombre:
        0 10px 30px rgba(0,0,0,.08);

    --ombre-hover:
        0 20px 45px rgba(0,0,0,.15);

}

/* ==========================================================
   RESET
========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:"Poppins",sans-serif;

    color:var(--texte);

    background:var(--blanc);

    overflow-x:hidden;

}

/* ==========================================================
   TYPOGRAPHIE
========================================================== */

section{

    padding:100px 0;

}

h1,
h2,
h3,
h4{

    color:var(--bleu);

    font-weight:700;

    line-height:1.25;

}

h2{

    margin-bottom:30px;

}

p{

    font-size:1.05rem;

    line-height:1.9;

    margin-bottom:1.2rem;

}

.section-mini{

    display:inline-block;

    margin-bottom:15px;

    color:var(--orange);

    font-size:.90rem;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:2px;

}

/* ==========================================================
   LIENS
========================================================== */

a{

    text-decoration:none;

    transition:var(--transition);

}

a:hover{

    text-decoration:none;

}/* ==========================================================
   HERO PREMIUM
========================================================== */

.association-hero{

    position:relative;

    display:flex;

    align-items:center;

    justify-content:center;

    min-height:75vh;

    overflow:hidden;

    background:
        linear-gradient(
            rgba(8,30,47,.78),
            rgba(8,30,47,.58)
        ),
        url("../images/banniere-association.jpg")
        center center / cover no-repeat;

}

.association-hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        135deg,
        rgba(11,60,93,.20),
        transparent 55%
    );

    pointer-events:none;

}

.hero-content{

    position:relative;

    z-index:2;

    max-width:900px;

    padding:40px 20px;

    animation:heroFade 1.2s ease;

}

.hero-subtitle{

    display:inline-block;

    margin-bottom:18px;

    color:var(--orange);

    font-size:.95rem;

    font-weight:700;

    letter-spacing:3px;

    text-transform:uppercase;

}

.hero-title{

    color:var(--blanc);

    font-size:clamp(2.6rem,6vw,4.4rem);

    font-weight:700;

    line-height:1.15;

    margin-bottom:30px;

}

.hero-text{

    max-width:760px;

    margin:auto;

    color:rgba(255,255,255,.95);

    font-size:1.18rem;

    line-height:2;

}

.presentation{

    margin-top:35px;

}

/* ==========================================================
   ANIMATION HERO
========================================================== */

@keyframes heroFade{

    from{

        opacity:0;

        transform:translateY(35px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}/* ==========================================================
   SECTION PRÉSENTATION
========================================================== */

.presentation{

    position:relative;

    background:var(--blanc);

}

.presentation .container{

    position:relative;

    z-index:2;

}

.presentation h2{

    max-width:650px;

}

.presentation p{

    color:var(--texte);

}

/* ==========================================================
   IMAGES PREMIUM
========================================================== */

.presentation img,
.birth-section img,
.website-history img,
.mission-section img{

    width:100%;

    height:380px;

    display:block;

    object-fit:cover;

    border-radius:var(--rayon);

    box-shadow:var(--ombre);

    transition:
        transform .45s ease,
        box-shadow .45s ease;

}

.presentation img:hover,
.birth-section img:hover,
.website-history img:hover,
.mission-section img:hover{

    transform:scale(1.02);

    box-shadow:var(--ombre-hover);

}

/* ==========================================================
   GALERIE PHOTOS
========================================================== */

.row img{

    transition:
        transform .35s ease,
        box-shadow .35s ease;

}

.row img:hover{

    transform:translateY(-8px);

    box-shadow:var(--ombre-hover);

}

/* ==========================================================
   LÉGENDES
========================================================== */

.photo-caption{

    margin-top:14px;

    text-align:center;

    font-size:.90rem;

    color:#777;

    font-style:italic;

    line-height:1.6;

}

/* ==========================================================
   DOCUMENTS OFFICIELS
========================================================== */

.official-document{

    margin-top:50px;

    padding:35px;

    background:var(--gris);

    border-radius:var(--rayon);

    text-align:center;

}

.official-document h5{

    color:var(--bleu);

    margin-bottom:20px;

}

.official-document img{

    border-radius:18px;

    box-shadow:var(--ombre);

}

/* ==========================================================
   BADGES
========================================================== */

.badge{

    padding:10px 18px;

    border-radius:30px;

    font-size:.90rem;

    font-weight:600;

    letter-spacing:.5px;

}/* ==========================================================
   TIMELINE PREMIUM
========================================================== */

.timeline{

    position:relative;

    max-width:1100px;

    margin:auto;

}

.timeline::before{

    content:"";

    position:absolute;

    top:0;

    bottom:0;

    left:35px;

    width:4px;

    background:linear-gradient(
        var(--orange),
        var(--bleu)
    );

    border-radius:20px;

}

.timeline-item{

    position:relative;

    display:flex;

    align-items:flex-start;

    gap:30px;

    margin-bottom:50px;

}

.timeline-icon{

    width:70px;

    height:70px;

    flex-shrink:0;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:var(--bleu);

    color:#fff;

    font-size:1.6rem;

    box-shadow:var(--ombre);

    transition:var(--transition);

    position:relative;

    z-index:2;

}

.timeline-item:hover .timeline-icon{

    background:var(--orange);

    transform:rotate(8deg) scale(1.08);

}

.timeline-content{

    flex:1;

    background:#fff;

    padding:30px;

    border-radius:var(--rayon);

    box-shadow:var(--ombre);

    transition:var(--transition);

}

.timeline-content:hover{

    transform:translateY(-6px);

    box-shadow:var(--ombre-hover);

}

.timeline-date{

    display:inline-block;

    margin-bottom:12px;

    color:var(--orange);

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:1px;

}

/* ==========================================================
   VALEURS
========================================================== */

.value-card{

    height:100%;

    background:#fff;

    padding:40px 30px;

    text-align:center;

    border-radius:var(--rayon);

    box-shadow:var(--ombre);

    transition:var(--transition);

}

.value-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--ombre-hover);

}

.value-card i{

    font-size:3rem;

    color:var(--orange);

    margin-bottom:25px;

    transition:var(--transition);

}

.value-card:hover i{

    transform:scale(1.15);

}

.value-card h4{

    margin-bottom:18px;

}

.value-card p{

    margin-bottom:0;

}

/* ==========================================================
   MISSION
========================================================== */

.mission-item{

    display:flex;

    align-items:flex-start;

    gap:25px;

    margin-bottom:35px;

    padding:25px;

    background:#fff;

    border-radius:18px;

    box-shadow:var(--ombre);

    transition:var(--transition);

}

.mission-item:hover{

    transform:translateX(8px);

    box-shadow:var(--ombre-hover);

}

.mission-item i{

    width:70px;

    height:70px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:var(--bleu);

    color:#fff;

    font-size:1.7rem;

    flex-shrink:0;

    transition:var(--transition);

}

.mission-item:hover i{

    background:var(--orange);

    transform:rotate(10deg);

}

.mission-item h4{

    margin-bottom:12px;

}

.mission-item p{

    margin-bottom:0;

}/* ==========================================================
   CTA PREMIUM
========================================================== */

.cta-section{

    position:relative;

    overflow:hidden;

    background:
        linear-gradient(
            rgba(11,60,93,.92),
            rgba(11,60,93,.82)
        ),
        url("../images/mission.jpg")
        center center/cover no-repeat;

    padding:120px 0;

}

.cta-overlay{
    display:none;
}

.cta-section h2{

    color:#fff;

}

.cta-section p{

    color:rgba(255,255,255,.92);

}

.cta-section .btn{

    min-width:240px;

}

/* ==========================================================
   BOUTONS PREMIUM
========================================================== */

.btn-warning{

    background:var(--orange);

    color:#fff;

    border:none;

    border-radius:50px;

    padding:15px 36px;

    font-weight:600;

    letter-spacing:.3px;

    transition:var(--transition);

}

.btn-warning:hover{

    background:var(--orange-hover);

    transform:translateY(-4px);

    box-shadow:0 15px 35px rgba(243,156,18,.35);

}

.btn-outline-light{

    border:2px solid rgba(255,255,255,.9);

    border-radius:50px;

    padding:15px 36px;

    transition:var(--transition);

}

.btn-outline-light:hover{

    background:#fff;

    color:var(--bleu);

}

/* ==========================================================
   APPARITION DES SECTIONS
========================================================== */

.presentation,
.birth-section,
.website-history,
.timeline-section,
.values-section,
.mission-section,
.cta-section{

    animation:fadeUp .9s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:991px){

    section{

        padding:70px 0;

    }

    .hero-title{

        font-size:3rem;

    }

    .hero-text{

        font-size:1.05rem;

    }

    .timeline::before{

        left:28px;

    }

    .timeline-icon{

        width:60px;
        height:60px;

        font-size:1.4rem;

    }

    .mission-item{

        flex-direction:column;

        text-align:center;

    }

    .mission-item i{

        margin:auto;

    }

}

@media (max-width:768px){

    .association-hero{

        min-height:60vh;

    }

    .hero-title{

        font-size:2.3rem;

    }

    .hero-text{

        font-size:1rem;

    }

    .presentation img,
    .birth-section img,
    .website-history img,
    .mission-section img{

        height:260px;

    }

    .timeline-item{

        gap:18px;

    }

    .timeline-content{

        padding:22px;

    }

    .value-card{

        padding:30px 22px;

    }

    .cta-section{

        padding:90px 0;

    }

}

@media (max-width:576px){

    section{

        padding:60px 0;

    }

    .hero-title{

        font-size:2rem;

    }

    .hero-subtitle{

        font-size:.85rem;

    }

    .hero-text{

        line-height:1.8;

    }

    .btn{

        width:100%;

    }

    .timeline::before{

        display:none;

    }

    .timeline-item{

        flex-direction:column;

    }

    .timeline-icon{

        margin:auto;

    }

    .timeline-content{

        text-align:center;

    }

}