/* ══════════════════════════════════════════════════════════════════════
   metiers-style.css — Styles partagés des fiches métier ArtisanSmart
   ----------------------------------------------------------------------
   Miroir sémantique de blog-style.css (bloc footer), calé sur le thème
   sombre des fiches métier.
   Tokens repris de tailwind.config des fiches :
     dark-950  #020617   dark-900 #0f172a   dark-800 #1e293b
     brand-500 #0ea5e9   brand-400 #38bdf8
     slate-400 #94a3b8   slate-800 #1e293b
   Fonts : Lexend (titres), DM Sans (corps).
   ══════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════ FOOTER ═══════════════════════════ */

.metier-footer {
    background: #020617;
    color: #94a3b8;
    padding: 4rem 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
}

.metier-footer a {
    text-decoration: none;
}

/* Grille principale : marque + 4 colonnes */
.metier-footer .footer-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .metier-footer .footer-inner {
        /* marque + 3 colonnes = 4 cellules. Passer à repeat(4, 1fr) si tu réactives Outils gratuits */
        grid-template-columns: 1.4fr repeat(3, 1fr);
    }
}

/* Espacement plus généreux entre colonnes sur grand écran */
@media (min-width: 1024px) {
    .metier-footer .footer-inner {
        gap: 2.5rem 3rem;
    }
}

/* Bloc marque */
.metier-footer .footer-brand .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.metier-footer .footer-brand .footer-logo img {
    height: 1.75rem;
    width: auto;
    border-radius: 0.375rem;
}

@media (min-width: 768px) {
    .metier-footer .footer-brand .footer-logo img {
        height: 2rem;
    }
}

.metier-footer .footer-brand .brand-text {
    font-weight: 700;
}

.metier-footer .brand-artisan {
    color: #ffffff;
}

.metier-footer .brand-smart {
    color: #0ea5e9;
}

.metier-footer .footer-brand p {
    line-height: 1.6;
    margin: 0.75rem 0 0;
}

/* Colonnes de liens */
.metier-footer .footer-col h4 {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    color: #ffffff;
    font-size: 0.875rem;
    margin: 0 0 1rem;
}

.metier-footer .footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metier-footer .footer-col a {
    color: #94a3b8;
    transition: color 0.2s ease;
}

.metier-footer .footer-col a:hover {
    color: #ffffff;
}

.metier-footer .footer-col a.footer-all {
    color: #0ea5e9;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 0.25rem;
}

.metier-footer .footer-col a.footer-all:hover {
    color: #38bdf8;
}

/* Barre du bas : copyright + réseaux */
.metier-footer .footer-bottom {
    max-width: 80rem;
    margin: 3.5rem auto 0;
    padding: 2.25rem 1rem 0;
    border-top: 1px solid #1e293b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.75rem;
    text-align: center;
}

@media (min-width: 640px) {
    .metier-footer .footer-bottom {
        flex-direction: row;
        text-align: left;
    }
}

.metier-footer .footer-bottom p {
    margin: 0;
}

/* Réseaux sociaux — 5 imposés, ordre : LinkedIn, Instagram, Facebook, X, YouTube */
.metier-footer .footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
}

.metier-footer .footer-social a {
    color: #94a3b8;
    transition: color 0.2s ease;
}

.metier-footer .footer-social a:hover {
    color: #ffffff;
}

/* Accessibilité : focus clavier visible */
.metier-footer a:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 3px;
    border-radius: 2px;
}

/* Breadcrumb (fiches métier) */
.breadcrumb { font-size: 0.75rem; color: #64748b; }

/* Badge Activateur France Num (bandeau E-E-A-T, fond clair) */
.footer-francenum {
    display: inline-block;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    line-height: 0;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.footer-francenum:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    border-color: #0ea5e9;
}
.footer-francenum img { height: 44px; width: auto; display: block; }
