/* ══════════════════════════════════════════════════════
   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;
}


/* ══════════════════════════════════════════════════
   BOUTON NEWSLETTER FOOTER (v2)
   ══════════════════════════════════════════════════ */
.taf-nl-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px 11px 10px;
    background: linear-gradient(135deg, #1565c0, #1976d2, #42a5f5);
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    box-shadow: 0 4px 18px rgba(21,101,192,.5), 0 0 0 0 rgba(66,165,245,.4);
    transition: transform .22s, box-shadow .22s;
    position: relative;
    overflow: hidden;
    width: fit-content;
    animation: taf-nl-pulse 3s ease-in-out infinite;
}
@keyframes taf-nl-pulse {
    0%,100% { box-shadow: 0 4px 18px rgba(21,101,192,.5), 0 0 0 0 rgba(66,165,245,.4); }
    50%      { box-shadow: 0 6px 24px rgba(21,101,192,.7), 0 0 0 8px rgba(66,165,245,0); }
}
.taf-nl-cta-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 28px rgba(21,101,192,.65);
    color: #fff;
}

.taf-nl-cta-iris {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,.5);
    background: rgba(255,255,255,.15);
}
.taf-nl-cta-iris img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.taf-nl-cta-text { flex: 1; letter-spacing: .3px; }
.taf-nl-cta-arrow { font-size: 16px; opacity: .8; transition: transform .2s; }
.taf-nl-cta-btn:hover .taf-nl-cta-arrow { transform: translateX(3px); }


/* ══════════════════════════════════════════════════
   PAGE NEWSLETTER — HERO
   ══════════════════════════════════════════════════ */
.taf-nl-hero {
    position: relative;
    background: linear-gradient(135deg, #0d3b1a 0%, #1a6b2f 50%, #0d3b1a 100%);
    overflow: hidden;
    padding: 80px 24px 90px;
    text-align: center;
}
.taf-nl-hero__glow {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(ellipse, rgba(66,160,75,.25) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    pointer-events: none;
    animation: taf-nl-breathe 6s ease-in-out infinite;
}
@keyframes taf-nl-breathe {
    0%,100%{transform:translate(-50%,-50%) scale(1);}
    50%{transform:translate(-50%,-50%) scale(1.1);}
}
.taf-nl-hero__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }

.taf-nl-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px 7px 8px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 100px;
    backdrop-filter: blur(8px);
    font-size: 13px;
    font-weight: 600;
    color: #e8f5e9;
    letter-spacing: .3px;
    margin-bottom: 2rem;
}
.taf-nl-hero__badge-iris {
    width: 32px; height: 32px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 2px solid rgba(255,255,255,.4);
}

.taf-nl-hero__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 1.25rem;
    letter-spacing: -.5px;
    font-family: 'Segoe UI', system-ui, sans-serif;
}
.taf-nl-hero__title span {
    background: linear-gradient(90deg, #FFD600, #FFEA00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.taf-nl-hero__sub {
    font-size: 1.05rem;
    color: rgba(232,245,233,.8);
    line-height: 1.75;
    max-width: 540px;
    margin: 0 auto 1.5rem;
}
.taf-nl-hero__scroll-hint {
    font-size: 13px;
    color: rgba(232,245,233,.5);
    letter-spacing: 1px;
    animation: taf-bounce 2s ease-in-out infinite;
}
@keyframes taf-bounce { 0%,100%{transform:translateY(0);} 50%{transform:translateY(5px);} }


/* ══════════════════════════════════════════════════
   PAGE NEWSLETTER — FORMULAIRE
   ══════════════════════════════════════════════════ */
.taf-nl-form-wrap {
    background: #f0fdf4;
    padding: 60px 24px;
}
.taf-nl-form-card {
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 40px rgba(26,107,47,.12), 0 2px 8px rgba(0,0,0,.06);
    border: 1px solid #c8e6c9;
    position: relative;
}

/* Avatar preview */
.taf-nl-avatar-wrap {
    position: relative;
    width: 90px; height: 90px;
    margin: 0 auto 1.5rem;
}
.taf-nl-avatar-ring {
    position: absolute; inset: -4px;
    border-radius: 50%;
    border: 2px solid #a5d6a7;
    animation: taf-nl-ring 3s linear infinite;
}
@keyframes taf-nl-ring { from{transform:rotate(0deg);}to{transform:rotate(360deg);} }
.taf-nl-avatar-img {
    width: 90px; height: 90px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    display: block;
    border: 3px solid #fff;
    box-shadow: 0 4px 16px rgba(26,107,47,.2);
    transition: opacity .3s;
    background: transparent;
}
/* Photo homme : fond transparent */
.taf-nl-avatar-img--default { background: transparent; }
/* Image homme avec fond transparent */
.taf-transparent-bg { background: transparent !important; }
.taf-nl-avatar-label {
    text-align: center;
    font-size: 11px;
    color: #9ca3af;
    margin-top: 6px;
    font-family: 'Segoe UI', system-ui, sans-serif;
    letter-spacing: .5px;
    text-transform: uppercase;
    white-space: nowrap;
}
/* Message info photo */
.taf-nl-avatar-info {
    text-align: center;
    font-size: 12px;
    color: #64748b;
    background: #f0fdf4;
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    padding: 9px 14px;
    margin: 0 0 1.5rem;
    line-height: 1.5;
    font-family: 'Segoe UI', system-ui, sans-serif;
}
/* Centrage bouton submit */
.taf-nl-btn-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    width: 100%;
}
.taf-nl-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 100%;
    padding: 0;
    background: none;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: none;
    transition: all .25s;
    margin-bottom: 0;
    overflow: hidden;
    position: relative;
}

.taf-nl-form-title {
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-weight: 900;
    font-size: 1.6rem;
    color: #0f172a;
    text-align: center;
    margin: 0 0 .3rem;
    letter-spacing: -.4px;
}
.taf-nl-form-sub {
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    margin: 0 0 1.75rem;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.taf-nl-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 500px) { .taf-nl-grid2 { grid-template-columns: 1fr; } }

.taf-nl-field { margin-bottom: 1.1rem; }
.taf-nl-label {
    display: block;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 6px;
}
.taf-nl-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 9px;
    font-size: 14px;
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: #0f172a;
    background: #f8fafc;
    outline: none;
    transition: border-color .2s, background .2s, box-shadow .2s;
    box-sizing: border-box;
}
.taf-nl-input:focus {
    border-color: #1a6b2f;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26,107,47,.1);
}
.taf-nl-input::placeholder { color: #cbd5e1; }
.taf-nl-input--spam { max-width: 160px; }

.taf-nl-antispam .taf-nl-label { color: #1a6b2f; }

.taf-nl-page-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 10px 14px;
    color: #dc2626;
    font-size: 13px;
    margin-bottom: 14px;
    font-family: 'Segoe UI', system-ui, sans-serif;
}
.taf-nl-page-ok {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 8px;
    padding: 10px 14px;
    color: #166534;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

/* style submit déplacé plus haut */
.taf-nl-btn-iris {
    width: 34px; height: 34px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 2px solid rgba(255,255,255,.5);
    flex-shrink: 0;
}

.taf-nl-rgpd {
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
    line-height: 1.6;
    margin: 0;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* ── Confirmation succès ── */
.taf-nl-success {
    text-align: center;
    padding: 1rem 0;
    animation: taf-fadein .4s ease;
}
.taf-nl-success__img {
    width: 100px; height: 100px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    margin: 0 auto 1rem;
    display: block;
    border: 4px solid #a5d6a7;
    box-shadow: 0 4px 20px rgba(26,107,47,.2);
}
.taf-nl-success__icon { font-size: 2.5rem; margin-bottom: .5rem; }
.taf-nl-success__title {
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-weight: 900;
    font-size: 1.6rem;
    color: #1a6b2f;
    margin: 0 0 .75rem;
}
.taf-nl-success__text {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 1.5rem;
    font-family: 'Segoe UI', system-ui, sans-serif;
}
.taf-nl-success__btn {
    display: inline-block;
    padding: 12px 28px;
    background: #1a6b2f;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 14px;
    box-shadow: 0 4px 14px rgba(26,107,47,.3);
    transition: background .2s;
}
.taf-nl-success__btn:hover { background: #145224; }

/* Responsive formulaire page */
@media (max-width: 600px) {
    .taf-nl-form-card { padding: 1.75rem 1.25rem; }
    .taf-nl-form-title { font-size: 1.35rem; }
    .taf-nl-hero { padding: 60px 20px 70px; }
}
.taf-nl-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(21,101,192,.55);
}
.taf-nl-submit-btn:disabled { opacity: .65; cursor: not-allowed; }

/* ══════════════════════════════════════════════════
   SÉLECTEUR GENRE
   ══════════════════════════════════════════════════ */
.taf-nl-genre-field { margin-bottom: 1.25rem; }

.taf-nl-genre-row {
    display: flex;
    gap: 12px;
}

.taf-nl-genre-opt {
    flex: 1;
    cursor: pointer;
}
.taf-nl-genre-opt input[type="radio"] { display: none; }

.taf-genre-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    transition: all .2s;
    cursor: pointer;
}
.taf-nl-genre-opt input:checked + .taf-genre-box {
    border-color: #1a6b2f;
    background: #f0fdf4;
    color: #1a6b2f;
    box-shadow: 0 0 0 3px rgba(26,107,47,.1);
}
.taf-nl-genre-opt:hover .taf-genre-box {
    border-color: #a5d6a7;
    background: #f0fdf4;
}
.taf-genre-icon {
    font-size: 18px;
    line-height: 1;
}
.taf-genre-txt { letter-spacing: .2px; }

/* Avatar info — bien espacé */
.taf-nl-avatar-info {
    text-align: center;
    font-size: 12px;
    color: #64748b;
    background: #f0fdf4;
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    padding: 9px 14px;
    margin: 0 0 1.5rem;
    line-height: 1.5;
    font-family: 'Segoe UI', system-ui, sans-serif;
    clear: both;
}

/* Bouton submit premium — pleine largeur, texte blanc, hover jaune */
.taf-nl-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px 28px;
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 40%, #1976d2 70%, #1e88e5 100%);
    border: none;
    border-radius: 14px;
    color: #fff !important;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: .4px;
    box-shadow:
        0 6px 24px rgba(13,71,161,.45),
        0 2px 6px rgba(0,0,0,.15),
        inset 0 1px 0 rgba(255,255,255,.15);
    transition: all .25s cubic-bezier(.4,0,.2,1);
    position: relative;
    overflow: hidden;
}
.taf-nl-submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.12) 0%, transparent 60%);
    pointer-events: none;
    border-radius: 14px;
}
.taf-nl-submit-btn:hover:not(:disabled) {
    color: #FFD600 !important;
    transform: translateY(-2px);
    box-shadow:
        0 12px 36px rgba(13,71,161,.55),
        0 4px 10px rgba(0,0,0,.2),
        inset 0 1px 0 rgba(255,255,255,.18);
    background: linear-gradient(135deg, #0a3880 0%, #1251a8 40%, #1565c0 70%, #1976d2 100%);
}
.taf-nl-submit-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 4px 14px rgba(13,71,161,.35);
}
.taf-nl-submit-btn:disabled { opacity: .6; cursor: not-allowed; }
.taf-nl-submit-btn #taf-nl-page-btn-label {
    color: inherit;
    transition: color .2s;
    position: relative;
    z-index: 1;
}

/* Hero badge iris — taille correcte pour le vrai logo */
.taf-nl-hero__badge-iris {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 2px solid rgba(255,255,255,.5);
    background: rgba(255,255,255,.15);
}
