@charset "utf-8";

/* ===============================
 *  LISTING AGENCES - Spécifique (base = .listing-card dans components.css)
 * =============================== */

/* Ville + Code postal */
.agence-card__ville {
    font-weight: var(--fw-bold);
    color: var(--focus-dark);
    text-transform: uppercase;
}

.agence-card__cp {
    display: inline-block;
    font-size: .7rem;
    padding: .1rem .5rem;
    margin-left: .3rem;
    background: var(--neutral-light);
    color: var(--neutral-dark);
    border-radius: var(--radius-lg);
    vertical-align: middle;
}

/* Contact */
.agence-card__contact {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-bottom: .75rem;
}

a.agence-card__contact-item,
.agence-card__contact-item {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    color: var(--neutral-dark);
    text-decoration: none;
}

a.agence-card__contact-item:hover {
    color: var(--neutral-black);
}

.agence-card__contact-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Footer */
.agence-card__footer {
    margin-top: auto;
}

.agence-card__footer .btn {
    position: relative;
    z-index: 3;
    width: 100%;
}

/*
===================================================================
    AGENCE - VUE DÉTAIL (structure de l'ancien site)
    X-Small devices (portrait phones, less than 576px)   // 320px
===================================================================
*/

/* Petite carte à côté de l'adresse (.carteAgence iframe de l'ancien site) */
.carteAgence .agence-map {
    width: 100%;
    height: 28vmax;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

/* Formulaire « Vous souhaitez être rappelé » collant (desktop) */
.block-contact-form .sticky-lg-top {
    top: 20vmin;
    z-index: var(--block-contact-form);
}

#etreRappele {
    scroll-margin-top: 3rem;
}


/*
===================================================================
    Medium devices (tablets, 768px and up)             // 768px
===================================================================
*/
@media screen and (min-width: 768px) {

.carteAgence .agence-map {
    height: 100%;
}

}/*/mediaquery*/
