/*
==========================================================
AS DREAM TEAM
Page specific styles
----------------------------------------------------------
Les composants (navbar, footer, boutons, cartes, etc.)
sont définis dans components.css.

Ce fichier ne contient que les styles propres aux pages.

Accueil
Présentation
Formation
Compétitions
Actualités
Galerie
Contact
...
==========================================================
*/


/*=========================================================
    HOME
=========================================================*/

body {
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 30rem),
        var(--bs-body-bg);
}

.asdt-title,
.fw-black {
    letter-spacing: -0.03em;
}

/*=========================================================
    HOME
=========================================================*/
.home-hero {
    position: relative;
    padding-top: 0;
    margin-top: -5.5rem;
}

.home-hero__inner {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
}

.home-hero__image{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    animation:heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom{
    from{
        transform:scale(1);
    }

    to{
        transform:scale(1.12);
    }
}

.home-hero__overlay{
    position:absolute;
    inset:0;
    background:
    linear-gradient(
        90deg,
        rgba(3,40,66,.88) 0%,
        rgba(3,40,66,.72) 35%,
        rgba(3,40,66,.30) 60%,
        rgba(3,40,66,.05) 100%
    );
}

.home-hero__content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    max-width: 760px;
    padding: 8rem 0 5rem;
    color: #fff;
}

.home-hero__title{
    font-size:clamp(3rem,8vw,6.3rem);
    font-weight:950;
    line-height:.92;
    letter-spacing:-.05em;
    margin:.75rem 0 1.5rem;
}

.home-hero__text{
    max-width:620px;
    font-size:clamp(1.1rem,2vw,1.35rem);
    line-height:1.8;
    color:rgba(255,255,255,.92);
    padding: 10px;
}

.home-hero .btn{
    min-width:210px;
}

@media(max-width:991px){
    .home-hero__inner{
        min-height:760px;
    }

    .home-hero__content{
        min-height:760px;
        padding:3rem 0;
    }
}

@media(max-width:768px){
    .home-hero__content{
        width:100%;
        padding:2rem;
    }

    .home-hero__title{
        font-size:3rem;
    }

    .home-hero .btn{
        width:100%;
    }
}

.home-category-card{
    position:relative;
    min-height:380px;
    border-radius:var(--asdt-radius);
    overflow:hidden;
    box-shadow:var(--asdt-shadow);
}

.home-category-card img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .6s ease;
}

.home-category-card:hover img{
    transform:scale(1.08);
}

.home-category-card::after{
    content:"";
    position:absolute;
    inset:0;
    background:
    linear-gradient(
        transparent,
        rgba(3,40,66,.94)
    );
}

.home-category-card div{
    position:absolute;
    left:2rem;
    right:2rem;
    bottom:2rem;
    z-index:2;
    color:white;
}

.home-category-card span{
    display:inline-block;
    text-transform:uppercase;
    font-weight:800;
    color:var(--asdt-secondary);
    letter-spacing:.14em;
}

.home-category-card h3{
    margin-top:.4rem;
    font-size:3rem;
    font-weight:950;
}

.home-timeline{
    display:grid;
    gap:1.25rem;
}

.home-timeline>div{
    padding:1.5rem;
    border-left:5px solid var(--asdt-secondary);
    background:var(--bs-body-bg);
    border-radius:var(--asdt-radius-sm);
    box-shadow:var(--asdt-shadow-sm);
    transition:.25s;
}

.home-timeline>div:hover{
    transform:translateX(8px);
}

.home-stat{
    padding:2.5rem 1rem;
    border-radius:var(--asdt-radius);
    background:var(--bs-body-bg);
    box-shadow:var(--asdt-shadow);
    transition:.3s;
}

.home-stat:hover{
    transform:translateY(-8px);
}

.home-stat strong{
    display:block;
    font-size:clamp(2.3rem,5vw,4.5rem);
    font-weight:950;
    color:var(--asdt-secondary);
    line-height:1;
}

.home-stat span{
    display:block;
    margin-top:1rem;
    font-weight:700;
    color:var(--asdt-muted-color);
}

.home-gallery-grid{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr;
    grid-template-rows:240px 240px;
    gap:1rem;
}

.home-gallery-grid img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:var(--asdt-radius);
    box-shadow:var(--asdt-shadow);
    transition:.45s;
}

.home-gallery-grid img:hover{
    transform:scale(1.04);
}

.home-gallery-grid img:first-child{
    grid-row:span 2;
}

@media(max-width:768px){

    .home-gallery-grid{
        grid-template-columns:1fr;
        grid-template-rows:auto;
    }

    .home-gallery-grid img{
        height:260px;
    }

    .home-gallery-grid img:first-child{
        grid-row:auto;
    }

}


/*=========================================================
    TEAM
=========================================================*/

.team-hero {
    min-height: 420px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(3, 40, 66, 0.94), rgba(3, 40, 66, 0.55)),
        url("../images/heroes/team-banner.jpg") center/cover no-repeat;
    color: #fff;
}

.team-hero__content {
    max-width: 760px;
    padding: 4rem 0;
}

.team-hero h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 950;
    line-height: 0.95;
    letter-spacing: -0.06em;
    margin-top: 1rem;
}

.team-hero p {
    max-width: 650px;
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.82);
    margin-top: 1.25rem;
}

.team-member-card__image {
    width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.team-hero--members {
    background:
        linear-gradient(90deg, rgba(3, 40, 66, 0.94), rgba(3, 40, 66, 0.55)),
        url("../images/heroes/team1.jpg") center/cover no-repeat;
}


.team-hero--activities {
    background:
        linear-gradient(90deg, rgba(3, 40, 66, 0.94), rgba(3, 40, 66, 0.55)),
        url("../images/heroes/training-banner.jpg") center/cover no-repeat;
}

.team-hero--sponsors{

    background:
    linear-gradient(
        90deg,
        rgba(3,40,66,.92),
        rgba(3,40,66,.55)
    ),
    url("../images/heroes/team-banner.jpg")
    center/cover no-repeat;

}



.sponsor-card{

    transition:.35s;

}

.sponsor-card:hover{

    transform:translateY(-8px);

}



.sponsor-logo{

    height:180px;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:2rem;

}



.sponsor-logo img{

    max-width:140px;

    max-height:90px;

    object-fit:contain;

}


.team-hero--partners {
    background:
        linear-gradient(90deg, rgba(3, 40, 66, 0.92), rgba(3, 40, 66, 0.55)),
        url("../images/heroes/team-banner.jpg") center/cover no-repeat;
}

.partner-card {
    transition: transform var(--asdt-transition), box-shadow var(--asdt-transition);
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--asdt-shadow-lg);
}

.partner-logo {
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 160px;
    max-height: 95px;
    object-fit: contain;
}


/*=========================================================
    ACADEMY
=========================================================*/

.academy-card-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.academy-hero {
    background:
        linear-gradient(90deg, rgba(3, 40, 66, 0.94), rgba(3, 40, 66, 0.55)),
        url("../images/heroes/training-banner.jpg") center/cover no-repeat;
}

.academy-schedule-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(108, 117, 125, 0.18);
}

.academy-schedule-row:last-child {
    border-bottom: 0;
}

.academy-schedule-row strong {
    color: var(--asdt-heading-color);
}

.academy-schedule-row span {
    color: var(--asdt-muted-color);
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .academy-schedule-row {
        flex-direction: column;
        gap: 0.25rem;
    }
}

.academy-landing-hero {
    min-height: 620px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(3, 40, 66, 0.95), rgba(3, 40, 66, 0.55), rgba(3, 40, 66, 0.2)),
        url("../images/heroes/training-banner.jpg") center/cover no-repeat;
    color: #fff;
}

.academy-landing-hero__content {
    max-width: 820px;
    padding: 5rem 0;
}

.academy-landing-hero h1 {
    font-size: clamp(3rem, 7vw, 6.2rem);
    font-weight: 950;
    line-height: 0.95;
    letter-spacing: -0.06em;
    margin-top: 1rem;
}

.academy-landing-hero p {
    max-width: 680px;
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.84);
    margin-top: 1.25rem;
}

.academy-value-mini {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: var(--asdt-radius-sm);
    background: var(--bs-body-bg);
    box-shadow: var(--asdt-shadow-sm);
    font-weight: 800;
}

.academy-value-mini i {
    color: var(--asdt-secondary);
    font-size: 1.35rem;
}

.academy-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.academy-process__item {
    border-radius: var(--asdt-radius);
    padding: 2rem;
    background: var(--bs-body-bg);
    box-shadow: var(--asdt-shadow);
}

.academy-process__item strong {
    color: var(--asdt-secondary);
    font-size: 2.2rem;
    font-weight: 950;
}

.academy-process__item h5 {
    margin-top: 1rem;
    font-weight: 900;
}

.academy-process__item p {
    color: var(--asdt-muted-color);
    margin-bottom: 0;
}

.academy-card-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.academy-schedule-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(108, 117, 125, 0.18);
}

.academy-schedule-row:last-child {
    border-bottom: 0;
}

.academy-schedule-row strong {
    color: var(--asdt-heading-color);
}

.academy-schedule-row span {
    color: var(--asdt-muted-color);
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .academy-process {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .academy-process {
        grid-template-columns: 1fr;
    }

    .academy-schedule-row {
        flex-direction: column;
        gap: 0.25rem;
    }
}




/*=========================================================
    COMPETITIONS
=========================================================*/

.competitions-hero {
    min-height: 520px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(3, 40, 66, 0.95), rgba(3, 40, 66, 0.55), rgba(3, 40, 66, 0.2)),
        url("../images/heroes/asdt-competition.jpg") center/cover no-repeat;
    color: #fff;
}

.competitions-hero--list,
.competitions-hero--matches {
    min-height: 420px;
}

.competition-logo {
    width: 76px;
    height: 76px;
    object-fit: contain;
}

.competition-match-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.competition-score {
    min-width: 92px;
    text-align: center;
    color: var(--asdt-secondary);
    font-size: 2rem;
    font-weight: 950;
}

.competitions-table th {
    color: var(--asdt-heading-color);
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
}

@media (max-width: 767.98px) {
    .competition-match-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .competition-score {
        text-align: left;
    }
}


/*=========================================================
    NEWS
=========================================================*/

.news-hero {
    min-height: 520px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(3, 40, 66, 0.95), rgba(3, 40, 66, 0.55), rgba(3, 40, 66, 0.2)),
        url("../images/heroes/news-banner.jpg") center/cover no-repeat;
    color: #fff;
}

.news-hero--list {
    min-height: 420px;
}

/* News card */
.news-card {
    display: block;
    color: var(--bs-body-color);
    overflow: hidden;
}

.news-card:hover {
    color: var(--bs-body-color);
}

.news-card__image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--asdt-transition);
}

.news-card:hover .news-card__image {
    transform: scale(1.06);
}

.news-card__body {
    padding: 1.5rem;
}

/* Featured card */
.featured-news-card {
    position: relative;
    display: block;
    min-height: 520px;
    border-radius: var(--asdt-radius-lg);
    overflow: hidden;
    box-shadow: var(--asdt-shadow-lg);
    color: #fff;
}

.featured-news-card:hover {
    color: #fff;
}

.featured-news-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.featured-news-card:hover .featured-news-card__image {
    transform: scale(1.05);
}

.featured-news-card__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 40, 66, 0.95), rgba(3, 40, 66, 0.55), rgba(3, 40, 66, 0.12));
}

.featured-news-card__content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 6vw, 5rem);
}

.featured-news-card__content h2 {
    font-size: clamp(2rem, 4vw, 4.5rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.featured-news-card__content p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.15rem;
}

/* Article detail */
.news-detail-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.news-detail-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-detail-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 40, 66, 0.96), rgba(3, 40, 66, 0.62), rgba(3, 40, 66, 0.22));
}

.news-detail-hero__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 5rem 0;
}

.news-detail-hero__content h1 {
    font-size: clamp(2.7rem, 6vw, 6rem);
    font-weight: 950;
    line-height: 0.95;
    letter-spacing: -0.06em;
    margin-top: 1rem;
}

.news-detail-hero__content p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1rem, 2vw, 1.35rem);
    margin-top: 1.25rem;
}

.news-article-content {
    font-size: 1.08rem;
    line-height: 1.9;
}

.news-article-content p {
    margin-bottom: 1.4rem;
}

@media (max-width: 575.98px) {
    .featured-news-card,
    .featured-news-card__content {
        min-height: 460px;
    }

    .news-detail-hero {
        min-height: 520px;
    }
}



/*=========================================================
    GALLERY
=========================================================*/

.gallery-hero{
    min-height:520px;
    display:flex;
    align-items:center;
    background:
    linear-gradient(90deg,
    rgba(3,40,66,.95),
    rgba(3,40,66,.55),
    rgba(3,40,66,.25)),
    url("../images/heroes/gallery-banner.jpg")
    center/cover no-repeat;
    color:white;
}

.gallery-hero-small{
    min-height:360px;
}

.album-cover{
    width:100%;
    height:280px;
    object-fit:cover;
    transition:.4s;
}

.asdt-card-hover:hover .album-cover{
    transform:scale(1.05);
}

.photo-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
    gap:1.25rem;
}

.photo-card{
    position:relative;
    overflow:hidden;
    border-radius:var(--asdt-radius);
}

.photo-card img{
    width:100%;
    height:320px;
    object-fit:cover;
    transition:.4s;
}

.photo-card:hover img{
    transform:scale(1.08);
}

.photo-card-overlay{
    position:absolute;
    inset:auto 0 0 0;
    padding:1rem;
    color:white;
    background: linear-gradient(transparent,rgba(0,0,0,.82));
    opacity:0;
    transition:.3s;
}

.photo-card:hover .photo-card-overlay{
    opacity:1;
}

.photo-card h6{
    font-weight:900;
}

.photo-card p{
    font-size:.9rem;
    margin-bottom:0;
}

@media(max-width:768px){

    .photo-card img{
        height:260px;
    }

}


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


.contact-hero {
    min-height: 520px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(3, 40, 66, 0.95), rgba(3, 40, 66, 0.55), rgba(3, 40, 66, 0.2)),
        url("../images/heroes/team-banner.jpg") center/cover no-repeat;
    color: #fff;
}

.asdt-contact-icon {
    color: var(--asdt-secondary);
    font-size: 2rem;
}

.contact-map-placeholder {
    padding: clamp(3rem, 6vw, 5rem);
    background:
        linear-gradient(135deg, rgba(8, 119, 183, 0.08), rgba(25, 198, 217, 0.12));
}

.contact-map-placeholder i {
    color: var(--asdt-secondary);
    font-size: 4rem;
}


/*=========================================================
    DONATION
=========================================================*/
/*=========================================================
    DONATION
=========================================================*/

.donation-hero {
    min-height: 560px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(3, 40, 66, 0.96) 0%,
            rgba(3, 40, 66, 0.66) 52%,
            rgba(3, 40, 66, 0.18) 100%
        ),
        url("../images/heroes/donation-banner.jpg")
        center / cover no-repeat;
    color: #fff;
}

.donation-section-intro {
    max-width: 760px;
}

.donation-impact-icon {
    color: var(--asdt-secondary);
    font-size: 3rem;
}

.donation-method-card {
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--asdt-secondary);
}

.donation-method-icon {
    width: 88px;
    height: 88px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    border-radius: 50%;
    font-size: 2.6rem;
}

.donation-method-icon--paypal {
    color: #003087;
    background: rgba(0, 112, 186, 0.12);
}

.donation-method-icon--orange {
    color: #ff7900;
    background: rgba(255, 121, 0, 0.13);
}

.donation-method-icon--cash {
    color: var(--asdt-primary);
    background: rgba(8, 119, 183, 0.12);
}

.paypal-donate-container {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paypal-donate-container img {
    max-width: 100%;
    height: auto;
}

.btn-orange-money {
    --bs-btn-color: #fff;
    --bs-btn-bg: #ff7900;
    --bs-btn-border-color: #ff7900;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #dc6800;
    --bs-btn-hover-border-color: #dc6800;
    --bs-btn-focus-shadow-rgb: 255, 121, 0;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #c85f00;
    --bs-btn-active-border-color: #c85f00;
}

.donation-thanks {
    padding: clamp(3rem, 7vw, 6rem) 1.5rem;
    border-radius: var(--asdt-radius-lg);
    background:
        linear-gradient(
            135deg,
            rgba(3, 40, 66, 0.98),
            rgba(8, 119, 183, 0.94)
        );
    color: #fff;
    box-shadow: var(--asdt-shadow-lg);
}

.donation-thanks i {
    color: var(--asdt-secondary);
    font-size: 4rem;
}

.donation-thanks p {
    max-width: 720px;
    margin-inline: auto;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.1rem;
}


/*=========================================================
    JOIN
=========================================================*/


/*=========================================================
    ABOUT
=========================================================*/