.cta {
    width: 100%;
    height: 90vh;
    display: grid;
}

.cta__image {
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 100%;

    grid-area: 1/1;
    z-index: 1;
}

.cta__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 90% 50%;
}

.cta__overlay {
    background-color: var(--secondaire-80);

    grid-area: 1/1;
    z-index: 2;
}

.cta__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-inline: 1rem;

    grid-area: 1/1;
    z-index: 3;
    align-self: center;
    justify-self: center;
}

.cta__content p,.cta__content a {
    color: var(--gris-fonce);
}

.cta__contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta__content .contact-barre-verticale {
    display: none;
}

/* ======================== media queries */
@media (min-width:450px){
    .cta__contact-info {
        flex-direction: row;
        align-items: center;
    }

    .cta__contact-info .contact-barre-verticale {
        display: block;
    }
}

@media (min-width : 1024px){
    .cta__contact-info a {
        transition: color 0.3s ease;
    }

    .cta__contact-info a:hover {
        color: var(--focale);
    }
}

