/* Footer de index.html, partagé par les articles de blog/ (footer-blog).
   Règles reprises de index.html ; variables et resets limités au footer. */

footer {
  --green-dark: #1B5E20;
  --green-mid: #4CAF50;
  --orange: #FE9100;
  padding: 0;
  color: inherit;
  line-height: normal;
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
/* Spécificité nulle : ne prime que sur Bootstrap / style.css (chargés avant), jamais sur les règles du footer. */
:where(footer) * { box-sizing: border-box; margin: 0; padding: 0; }
:where(footer) a { text-decoration: none; color: inherit; }
:where(footer) ul { padding-left: 0; margin-bottom: 0; }
:where(footer) h3 { font-family: inherit; font-weight: bold; line-height: normal; }
/* Reprend le reset global svg de index.html (svg { vertical-align: middle; flex-shrink: 0 }), absent des articles. */
:where(footer) svg { vertical-align: middle; flex-shrink: 0; }

/* ── FOOTER (index.html) ── */
footer { background: var(--green-dark); border-top: 3px solid var(--green-mid); }
.foot-in { max-width: 1160px; margin: 0 auto; padding: 52px 24px 36px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.foot-logo { color: #fff; font-weight: 800; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.foot-desc { color: rgba(255,255,255,.45); font-size: .85rem; line-height: 1.7; margin-bottom: 18px; }
.socials { display: flex; gap: 7px; }
.soc { width: 34px; height: 34px; background: rgba(255,255,255,.07); border-radius: 7px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.45); transition: all .2s; }
.soc:hover { background: var(--orange); color: #fff; }
.eco-bdg { display: inline-flex; align-items: center; gap: 5px; background: rgba(76,175,80,.18); border: 1px solid rgba(76,175,80,.3); color: #A5D6A7; padding: 4px 10px; border-radius: 99px; font-size: .7rem; margin-top: 12px; }
.foot-col h3 { color: rgba(255,255,255,.38); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.foot-col a { color: rgba(255,255,255,.55); font-size: .85rem; transition: color .15s; }
.foot-col a:hover { color: var(--orange); }
.foot-btm { border-top: 1px solid rgba(255,255,255,.07); padding: 18px 24px; text-align: center; color: rgba(255,255,255,.2); font-size: .79rem; }

/* ── RESPONSIVE (index.html, lignes .foot-in) ── */
@media (max-width: 900px) { .foot-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .foot-in { grid-template-columns: 1fr; } }
