/* =====================================================
   FOOTER — MEDVIR
   Personnalisable depuis Apparence > Personnaliser > Pied de page
   ===================================================== */

.medvir-footer {
    margin-top: 3rem;
    padding: 3rem 1.5rem 1.5rem;
}

.medvir-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.medvir-footer a {
    color: var(--medvir-footer-link-color, #4dabf7);
    text-decoration: none;
}

.medvir-footer a:hover,
.medvir-footer a:focus {
    text-decoration: underline;
}

/* Bloc logo / description */
.medvir-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.medvir-footer__logo img {
    max-height: 48px;
    width: auto;
}

.medvir-footer__sitename {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.medvir-footer__description {
    margin: 0;
    max-width: 480px;
    opacity: 0.85;
    line-height: 1.6;
}

/* Colonnes */
.medvir-footer__columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.medvir-footer__column-title {
    margin: 0 0 0.9rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.medvir-footer__column-content {
    line-height: 1.7;
    opacity: 0.9;
}

.medvir-footer__column-content p {
    margin: 0 0 0.6rem;
}

/* Menu bas de page + réseaux sociaux */
.medvir-footer__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.medvir-footer__nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.medvir-footer__social {
    display: flex;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.medvir-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.medvir-footer__social a:hover,
.medvir-footer__social a:focus {
    background: var(--medvir-footer-link-color, #4dabf7);
    color: #fff;
    text-decoration: none;
}

/* Copyright */
.medvir-footer__bottom {
    padding-top: 1rem;
    text-align: center;
}

.medvir-footer__copyright {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.75;
}

@media (max-width: 600px) {
    .medvir-footer__meta {
        flex-direction: column;
        align-items: flex-start;
    }
}
