/*
 * Footer — bande Kiwanis International, colonnes, bas de page.
 *
 * Reprise de la maquette Kiwanis, classes conservées (.member-band,
 * .kiwanis-mark, .member-since, .footer-grid, .footer-col, .footer-bottom).
 *
 * Écarts de contraste, tous sur fond --primary :
 *
 *   élément                              maquette            corrigé
 *   intitulés de colonne, sur-titre,     or 4.13:1           --accent-soft 6.92:1
 *   « International » (10 à 11 px)
 *   texte de la bande, libellé de        blanc à 55 % 4.38:1 blanc à 60 % 4.89:1
 *   l'année (10 à 13 px)
 *   bas de page (12 px)                  blanc à 50 % 3.86:1 blanc à 60 % 4.89:1
 *
 * L'or reste en or là où le texte est grand : l'année « 1915 » (38 px, 4.13:1,
 * seuil de 3:1 des grands textes) et « Cathédrale » du nom du club (28 px).
 *
 * Focus en --accent-soft, comme dans la bande bleue du header.
 */

.footer {
  --focus: var(--accent-soft);
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: var(--on-primary);
  padding: clamp(56px, 6vw, 88px) 0 32px;
}

/* ==========================================================================
   Bande Kiwanis International
   ========================================================================== */

.member-band {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 36px 0 48px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.member-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 600;
  margin-bottom: 14px;
}

.member-quote .editorial-italic {
  display: block;
  margin-bottom: 10px;
  font-family: var(--ff-editorial);
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.3;
  color: var(--on-primary);
}

.member-line {
  max-width: 50ch;
  font-size: 13px;
  line-height: 1.5;
  color: var(--on-primary-muted);
}

.member-band-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

/* Lien vers kiwanis.fr (25 novembre 2026). Au survol, l'emblème se soulève
   et « Kiwanis » prend un soulignement or ; au clavier, le focus global. */
.kiwanis-mark {
  display: flex;
  align-items: center;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}

.kiwanis-mark-seal {
  width: 70px;
  height: 70px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 14px rgba(180, 151, 89, 0.25));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.kiwanis-mark:hover .kiwanis-mark-seal {
  transform: translateY(-2px);
  filter: drop-shadow(0 8px 18px rgba(180, 151, 89, 0.4));
}

.kiwanis-mark:hover .km-top {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

@media (prefers-reduced-motion: reduce) {
  .kiwanis-mark-seal { transition: none; }
  .kiwanis-mark:hover .kiwanis-mark-seal { transform: none; }
}

.kiwanis-mark-text {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
}

.kiwanis-mark-text .km-top {
  font-family: var(--ff-heading);
  font-size: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-primary);
}

.kiwanis-mark-text .km-bot {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.member-since {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  line-height: 1;
}

.member-since .label {
  margin-bottom: 8px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-primary-muted);
}

.member-since .year {
  font-family: var(--ff-heading);
  font-size: 38px;
  color: var(--accent);
}

/* ==========================================================================
   Colonnes
   ========================================================================== */

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand-name {
  margin-bottom: 14px;
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--on-primary);
}

.footer-brand-name .accent { color: var(--accent); }

.footer-brand-text {
  max-width: 36ch;
  font-size: 15px;
  color: rgba(250, 248, 243, 0.65);
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer-social {
  background: rgba(255, 255, 255, 0.08);
  color: var(--on-primary);
}

.footer-social .icon { width: 15px; height: 15px; }

.footer-social:hover {
  background: var(--accent);
  color: var(--text);
}

/* <h2> à l'apparence du <h5> de la maquette. */
.footer-col h2 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.footer-col h2 .icon { width: 13px; height: 13px; }

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 14px;
  color: var(--on-primary-2);
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--accent-soft); }

/* ==========================================================================
   Bas de page
   ========================================================================== */

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--on-primary-muted);
}

.footer-bottom .center { text-align: center; }
.footer-bottom .right { text-align: right; }

/* Commande, pas navigation : un <button> habillé comme le texte voisin, avec une
   cible de 44 px de haut. */
.footer-bottom .cookies-link {
  min-height: var(--touch);
  padding: 0 4px;
  margin-left: 12px;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom .cookies-link:hover { color: var(--on-primary); }

/* ==========================================================================
   Sous 800 px
   ========================================================================== */

@media (max-width: 800px) {
  .member-band {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .member-line { margin: 0 auto; }
  .member-band-right { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .footer-bottom { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom .right { text-align: center; }
}
