/* ============================================================
   referencement-criteres.css — Section "Critères"
   (page 0-referencement.html)
   Architecture commune des sections (padding, titre) :
   voir referencement-commun.css
   ============================================================ */

.section-criteres {
    background: var(--vert-2);
}

.section-criteres .section-titre-pro {
    color: var(--gris-6);
}

.criteres-intro {
    font-size: var(--font-size-2);
    color: var(--gris-6);
    line-height: 1.6;
    text-align: justify;
    max-width: 40%;
    margin: 0 0 var(--section-pro-intro-margin) auto;
    --intro-guillemet-couleur: var(--vert-1);
}

.criteres-note {
    font-size: var(--font-size-2);
    color: var(--gris-6);
    text-align: justify;
    max-width: 40%;
    margin: var(--section-pro-intro-margin) 0 0 auto;
}

.criteres-colonnes {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 60%;
    margin: 0 auto;
}

.criteres-colonnes::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--vert-1);
}

.critere-sujet {
    font-size: var(--font-size-2);
    color: white;
    margin: 0 0 0.75rem 0;
}

.critere-groupe-titre {
    font-weight: 700;
    font-size: var(--font-size-3);
    color: var(--vert-4);
    margin: 0 0 1.5rem 0;
}

.critere-liste {
    font-size: var(--font-size-2);
    line-height: 1.6;
    color: white;
    text-align: justify;
}

.critere-liste div {
    margin-bottom: 0.5rem;
}

.critere-liste div:last-child {
    margin-bottom: 0;
}

.critere-puce {
    color: white;
    font-size: 2em;
    line-height: 0;
    vertical-align: -0.2em;
    margin-right: 0.5rem;
    display: inline-block;
}

.critere-liaison {
    color: white;
}

@media (max-width: 1023px) {
    .criteres-intro,
    .criteres-note {
        max-width: 100%;
    }

    .criteres-colonnes {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 3.75rem;
    }

    .criteres-colonnes::before {
        display: none;
    }

    .criteres-colonnes .critere-groupe:nth-child(2) {
        border-top: 1px solid var(--vert-1);
        padding-top: 1.88rem;
    }
}
