/* ══════════════════════════════════════════════════════
   TURFAI FOOTER — Vert PMU 5 colonnes
   ══════════════════════════════════════════════════════ */

.taf-footer {
  background: #1a6b2f;
  color: #e8f5e9;
  font-family: 'Segoe UI', system-ui, sans-serif;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  box-sizing: border-box;
}

/* ── Grille 5 colonnes ── */
.taf-footer__inner {
  display: grid;
  grid-template-columns: 170px repeat(4, 1fr);
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 40px 36px;
  box-sizing: border-box;
  align-items: start;
}

/* Responsive */
@media (max-width: 1100px) {
  .taf-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 36px 28px 28px;
  }
  .taf-col--logo { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; gap: 20px; }
  .taf-logo-img  { max-width: 120px; }
}
@media (max-width: 700px) {
  .taf-footer__inner { grid-template-columns: 1fr; gap: 20px; padding: 28px 20px; }
  .taf-col--logo { flex-direction: column; align-items: center; }
}

/* ── Col Logo ── */
.taf-col--logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding-top: 4px;
}
.taf-logo-img {
  max-width: 150px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.35));
  transition: transform .22s;
  display: block;
}
.taf-logo-img:hover { transform: scale(1.04); }
.taf-tagline {
  font-size: 11.5px;
  color: rgba(232,245,233,.55);
  text-align: center;
  margin: 0;
  line-height: 1.5;
}

/* ── Colonnes ── */
.taf-col { display: flex; flex-direction: column; gap: 10px; }

.taf-col__title {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: #a5d6a7;
  margin: 0 0 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(165,214,167,.2);
}
.taf-col__desc {
  font-size: 12.5px;
  color: rgba(232,245,233,.7);
  line-height: 1.65;
  margin: 0;
}

/* ── Liens ── */
.taf-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.taf-links li a {
  font-size: 13px;
  color: #c8e6c9;
  text-decoration: none;
  transition: color .15s, padding-left .15s;
  display: block;
}
.taf-links li a:hover { color: #ffffff; padding-left: 3px; }

/* ── Verrouillé ── */
.taf-locked {
  font-size: 12px;
  color: rgba(232,245,233,.65);
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(165,214,167,.15);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 0;
  line-height: 1.65;
}
.taf-locked a { color: #81c784; font-weight: 700; text-decoration: none; }
.taf-locked a:hover { color: #fff; text-decoration: underline; }

/* ── Newsletter ── */
.taf-col--newsletter { gap: 12px; }
.taf-nl-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.taf-nl-row input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1.5px solid rgba(165,214,167,.3);
  background: rgba(0,0,0,.2);
  color: #e8f5e9;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}
.taf-nl-row input:focus { border-color: #81c784; background: rgba(0,0,0,.3); }
.taf-nl-row input::placeholder { color: rgba(232,245,233,.35); }
.taf-nl-row button {
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  background: #2e7d32;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, transform .15s;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.taf-nl-row button:hover:not(:disabled) { background: #1b5e20; transform: translateY(-1px); }
.taf-nl-row button:disabled { opacity: .6; cursor: not-allowed; }
.taf-nl-ok {
  background: rgba(129,199,132,.15);
  border: 1px solid rgba(129,199,132,.35);
  border-radius: 8px;
  padding: 10px 12px;
  color: #a5d6a7;
  font-size: 13px;
  font-weight: 700;
  animation: taf-fadein .35s;
}
.taf-nl-err {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.2);
  border-radius: 6px;
  padding: 8px 10px;
  color: #fca5a5;
  font-size: 12px;
}
@keyframes taf-fadein { from{opacity:0;transform:translateY(-4px)} to{opacity:1;transform:none} }

/* ── Réseaux sociaux ── */
.taf-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 6px;
}
.taf-social__link {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,.15);  /* fond blanc semi-transparent pour visibilité sur vert */
  border: 1.5px solid rgba(255,255,255,.3);
  transition: transform .2s, background .2s, border-color .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.taf-social__link:hover {
  transform: scale(1.12) translateY(-2px);
  background: rgba(255,255,255,.28);
  border-color: rgba(255,255,255,.5);
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.taf-social__link img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);  /* forcer blanc pour visibilité sur fond vert */
}
/* Pour les logos qui ont leur propre couleur, ne pas inverter si on utilise les nouvelles images */
.taf-social__link img[src*="turfai-"] {
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.3));
  width: 32px;
  height: 32px;
  filter: none;  /* garder les couleurs originales des nouvelles icônes */
}

/* ── Bas de page ── */
.taf-footer__bottom {
  background: rgba(0,0,0,.22);
  border-top: 1px solid rgba(165,214,167,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  font-size: 12px;
  color: rgba(232,245,233,.5);
  text-align: center;
}
