/* ═══════════════════════════════════════════════════════════
   CORRECTION LOGO FOOTER (supprime le crop en haut)
═══════════════════════════════════════════════════════════ */
.hm-footer__brand {
    padding-top: 0.25rem; /* évite que l'image soit coupée par overflow:hidden */
    overflow: visible;    /* annule tout clip éventuel hérité */
}

.hm-footer__logo {
    display: block;
    overflow: visible;
    /* Assurez-vous qu'aucune hauteur max forcée ne tronque le logo */
    max-height: none;
}

/* ═══════════════════════════════════════════════════════════
   SECTION NOS PARTENAIRES
═══════════════════════════════════════════════════════════ */
.hm-footer__partners {
    padding: 2.5rem 2rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 0; /* colle directement au .hm-footer__grid */
}

.hm-footer__partners-title {
    font-size: 0.6875rem;        /* même style que les titres de colonnes */
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #b8962e;              /* dorée — à adapter à votre variable CSS */
    margin: 0 0 1.5rem;
}

/* Grille 4 colonnes × 2 rangées */
.hm-footer__partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 1rem 1.5rem;
    align-items: center;
}

/* Chaque emplacement : bordure discrète, fond léger, hauteur fixe */
.hm-footer__partner-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(184, 150, 46, 0.2);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    min-height: 72px;
    background: rgba(255, 255, 255, 0.6);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hm-footer__partner-slot:hover {
    border-color: rgba(184, 150, 46, 0.5);
    box-shadow: 0 2px 8px rgba(184, 150, 46, 0.1);
}

/* Logo partenaire : gris par défaut, couleur au survol */
.hm-footer__partner-logo {
    max-height: 44px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.55);
    transition: filter 0.25s ease;
}

.hm-footer__partner-slot:hover .hm-footer__partner-logo {
    filter: grayscale(0%) opacity(1);
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
    .hm-footer__partners-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, auto);
    }
}

@media (max-width: 480px) {
    .hm-footer__partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .hm-footer__partner-slot {
        min-height: 56px;
        padding: 0.5rem 0.75rem;
    }

    .hm-footer__partner-logo {
        max-height: 34px;
    }
}
/* ── Correction logo footer tronqué ── */
.hm-footer__logo {
    display: block;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    line-height: 0;
}

.hm-footer__logo img {
    display: block;
    width: auto;
    height: auto !important;
    max-height: none !important;
    max-width: 200px; /* ajustez selon la taille souhaitée */
    overflow: visible !important;
}
/* ── Correction clip logo footer ── */
.hm-footer,
.hm-footer__grid,
.hm-footer__brand {
    overflow: visible !important;
}

.hm-footer__brand {
    padding-top: 1.5rem !important;
}
/* ── Correction clip natif navigateur sur logo footer ── */
.hm-footer__logo img {
    overflow: visible !important;
    overflow-clip-margin: unset !important;
}

.hm-footer__brand {
    padding-top: 1rem !important;
}