/**
 * Fichier  : /pages/homepage/section-3/assets/css/disciplines.css
 * Fonction : présentation des disciplines et catégories de poids
 */


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

#concept .disciplines > header {
    margin-bottom: 3em;
}

#concept .disciplines > header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr);
    align-items: end;
    gap: 8em;
}

#concept .disciplines > header > div {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

#concept .disciplines > header small {
    font-family: 'content-font';
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--color-primary-light);
}

#concept .disciplines > header h3 {
    font-family: 'title-font';
    font-size: clamp(3em, 5vw, 5.5em);
    text-transform: uppercase;
    line-height: .92;
    color: var(--color-white);
}

#concept .disciplines > header h3 em {
    color: var(--color-primary-light);
}

#concept .disciplines > header > p {
    max-width: 480px;
}

#concept .disciplines > header > p {
    font-family: 'content-font';
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255, 255, 255, .62);
}


/* ==================================================
   CONTENT
================================================== */

#concept .disciplines .content {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
}

#concept .disciplines .content {
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
}


/* ==================================================
   STYLES
================================================== */

#concept .styles {
    display: grid;
    grid-template-columns: 1fr;
}

#concept .styles {
    border-right: 1px solid rgba(255, 255, 255, .1);
}

#concept .style {
    min-height: 150px;
}

#concept .style {
    padding: 2em 2.5em;
}

#concept .style {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    align-items: center;
    gap: 2em;
}

#concept .style:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

#concept .style > span {
    font-family: 'title-font';
    font-size: 3.5em;
    line-height: 1;
    color: var(--color-primary-light);
}

#concept .style > div {
    display: flex;
    flex-direction: column;
    gap: .65em;
}

#concept .style small {
    font-family: 'content-font';
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, .4);
}

#concept .style h4 {
    font-family: 'bold-font';
    font-size: 16px;
    text-transform: uppercase;
    color: var(--color-white);
}


/* ==================================================
   WEIGHTS
================================================== */

#concept .weights {
    padding: 3em;
}

#concept .weights {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2em;
}

#concept .weights {
    background:
        linear-gradient(145deg, rgba(212, 173, 86, .1), transparent 60%),
        rgba(0, 0, 0, .18);
}

#concept .weights > small {
    font-family: 'content-font';
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--color-primary-light);
}

#concept .weights > h4 {
    font-family: 'title-font';
    font-size: clamp(2.5em, 4vw, 4.5em);
    text-transform: uppercase;
    line-height: .92;
    color: var(--color-white);
}

#concept .weights > h4 em {
    color: var(--color-primary-light);
}

#concept .weights dl {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

#concept .weights dl > div {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 1em;
}

#concept .weights dt {
    font-family: 'bold-font';
    font-size: 12px;
    text-transform: uppercase;
    color: var(--color-white);
}

#concept .weights dd {
    margin: 0;
}

#concept .weights dd {
    font-family: 'content-font';
    font-size: 13px;
    color: rgba(255, 255, 255, .62);
}


/* ==================================================
   MIXED
================================================== */

#concept .mixed {
    padding: 1.5em;
}

#concept .mixed {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 1em;
}

#concept .mixed {
    background: var(--glass-background);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
}

#concept .mixed > span {
    width: 34px;
    height: 34px;
}

#concept .mixed > span {
    display: grid;
    place-items: center;
}

#concept .mixed svg {
    width: 22px;
    height: 22px;
}

#concept .mixed svg {
    color: var(--color-primary-mid);
}

#concept .mixed p {
    font-family: 'content-font';
    font-size: 11px;
    line-height: 1.6;
    color: var(--color-white);
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 1100px) {

    #concept .disciplines > header {
        gap: 4em;
    }

    #concept .disciplines .content {
        grid-template-columns: 1fr;
    }

    #concept .styles {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

}


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

@media (max-width: 800px) {

    #concept .disciplines > header {
        grid-template-columns: 1fr;
        gap: 2em;
    }

    #concept .disciplines > header h3 {
        font-size: clamp(36px, 11vw, 58px);
    }

    #concept .style {
        padding: 1.75em;
    }

    #concept .style {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 1em;
    }

    #concept .style > span {
        font-size: 2.75em;
    }

    #concept .weights {
        padding: 2em;
    }

    #concept .weights dl > div {
        grid-template-columns: 1fr;
        gap: .5em;
    }

}
