/* ============================================================
   referencement-annexes.css — Section "Fonctionnalités annexes"
   (page 0-referencement.html)
   Architecture commune des sections (padding, titre) :
   voir referencement-commun.css
   ============================================================ */

.section-annexes .section-titre-pro {
    color: var(--vert-3);
}

.section-annexes {
    background: var(--gris-1);
    border-bottom: 1px solid var(--gris-2);
}

.annexe-intro {
    max-width: 40%;
    margin: 0 0 var(--section-pro-intro-margin) auto;
    --intro-guillemet-couleur: var(--vert-2);
}

.annexes-colonnes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 60%;
    margin: 0 auto;
}

.annexe-carte {
    background: white;
    border: 1px solid var(--gris-2);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.annexe-carte-contenu {
    padding: 1.25rem 1.25rem 1.88rem 1.25rem;
    box-sizing: border-box;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.annexe-titre {
    font-weight: 700;
    font-size: var(--font-size-3);
    color: var(--vert-3);
    margin: 0;
}

.annexe-explication {
    font-size: var(--font-size-2);
    line-height: 1.6;
    color: var(--gris-5);
    margin: 0 0 1rem 0;
    text-align: justify;
}

.annexe-argument {
    display: flex;
    align-items: center;
    min-height: calc(2.8em + 2rem);
    background: var(--vert-3);
    padding: 1rem 1.25rem;
    box-sizing: border-box;
}

.annexe-argument-contenu {
    display: flex;
    align-items: flex-start;
    gap: 0.63rem;
    font-size: var(--font-size-2);
    font-weight: 700;
    line-height: 1.4;
    color: white;
}

.annexe-argument-contenu svg {
    flex-shrink: 0;
    margin-top: 0.2em;
}

.annexe-argument-texte {
    text-align: justify;
}

/* ---- Mockup : mini carrousel de logos ---- */

.annexe-entete {
    padding: 1.88rem 1.25rem 0 1.25rem;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    gap: 1.25rem;
}

.annexe-visuel {
    flex: 0 1 14rem;
    min-width: 0;
}

.annexe-carrousel {
    width: 100%;
    max-width: 14rem;
    height: 5rem;
    background: var(--gris-1);
    border-top: 1px solid var(--gris-3);
    border-bottom: 1px solid var(--gris-3);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.annexe-carrousel-rangee {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.annexe-carrousel-logo {
    width: 3rem;
    height: 3rem;
    border-radius: 8px;
    background: var(--gris-2);
    border: 1px solid var(--gris-3);
    box-sizing: border-box;
    flex-shrink: 0;
}

/* ---- Mockup : mini barre de recherche ---- */

.annexe-recherche {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 14rem;
    height: 5rem;
    border-radius: 8px 8px 0 0;
    background: white;
    border: 1px solid var(--gris-3);
    box-sizing: border-box;
    padding: 0 1.13rem;
}

.annexe-recherche svg {
    color: var(--gris-4);
    flex-shrink: 0;
}

/* ---- Colonne d'intro (Commun aux deux fonctionnalités) ---- */

.annexe-intro p {
    font-size: var(--font-size-2);
    line-height: 1.6;
    color: var(--gris-5);
    text-align: justify;
    margin: 0 0 1rem 0;
}

.annexe-intro p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1023px) {
    .annexe-intro {
        max-width: 100%;
    }

    .annexes-colonnes {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 1.88rem;
    }
}
