.site-primary-footer-wrap,
.site-below-footer-wrap {
  background-color: var(--tk-ink) !important;
}
.site-footer, .site-footer p, .site-footer span, .site-footer div {
  color: #c8d0cc;
}
.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4, .site-footer h5 {
  color: #fff !important; font-family: var(--tk-display) !important;
}
.site-footer a {
  color: #c8d0cc !important; font-family: var(--tk-body) !important;
}
.site-footer a:hover {
  color: #fff !important;
}
.site-footer input[type="email"], .site-footer input[type="text"] {
  border: 1px solid rgba(255,255,255,.2) !important; font-family: var(--tk-body) !important;
}
.site-footer .wpforms-submit {
  background: var(--tk-cta) !important; border: 0 !important; border-radius: 999px !important;
  font-family: var(--tk-body) !important; font-weight: 700 !important;
}
.site-footer .wpforms-required-label {
  color: rgba(255,255,255,.55) !important;
}
.site-below-footer-wrap, .site-below-footer-wrap * {
  color: #90998f !important; border-color: rgba(255,255,255,.12) !important;
}

/* Verrou de marque dans le footer — 22/08 (v2) : MEME logo que le header (SVG couleur,
   degrade sur "koo"), MEME pastille (.tk-lockup, deja stylee .site-header .tk-lockup
   dans header-style.r8.css). On rejoue ici la regle equivalente pour .site-footer,
   pour que le verrou soit visuellement IDENTIQUE partout, quel que soit le fond de page.
   (v1 utilisait le SVG blanc a plat sans pastille -> incoherent avec le header, corrige.) */
.site-footer .tk-lockup {
  display: inline-block !important; text-decoration: none !important;
  background: var(--tk-tint) !important; border-radius: 12px !important;
  padding: 10px 16px 9px !important; line-height: 1; margin-bottom: 8px;
}
.site-footer .tk-lockup img.tk-footer-logo {
  height: 40px; width: auto; display: block;
}

/* Moyens de paiement — 22/08 (v2) : vrais logos officiels (SVG fournis par les plugins
   des providers eux-memes : Stripe, PayPal, Alma) au lieu du texte de la v1.
   Regles marques respectees : logos NON modifies, couleur d'origine, PARITE de taille
   (meme hauteur pour toutes les marques, exigee par Visa/Mastercard).
   Pastille blanche derriere chaque logo : les SVG officiels sont concus pour fond clair,
   illisibles sur --tk-ink. La pastille n'altere PAS le logo (aucune recolorisation). */
.tk-pay {
  display: flex; flex-direction: column; gap: 10px;
}
.tk-pay-label {
  font-family: var(--tk-body) !important;
  font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
  color: #90998f !important;
}
.tk-pay-list {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin: 0; padding: 0; list-style: none;
}
.tk-pay-list li {
  background: #fff; border-radius: 6px;
  padding: 5px 8px; line-height: 0;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; height: 30px; box-sizing: border-box;
}
.tk-pay-list img {
  height: 20px; width: auto; display: block;   /* parite : meme hauteur pour toutes */
}
@media (max-width: 600px) {
  .tk-pay-list li { min-width: 42px; height: 27px; padding: 4px 7px; }
  .tk-pay-list img { height: 18px; }
}

/* Badge "Virement bancaire" — 22/08 v2 : badge TEXTE explicite (une icone dessinee
   n'etait pas lisible a 18px de haut). Ce n'est pas une marque deposee, donc pas de
   contrainte de parite : on l'autorise plus large que les logos de cartes, meme hauteur. */
.tk-pay-list li.tk-pay-wide { min-width: 0; }

/* ─── Newsletter footer — refonte 22/08 ───────────────────────────────
   Constat live : champ 348x41 a radius 2px (rectangle plat) sous un bouton
   pilule radius 999px = deux langages visuels contradictoires ; champ plus
   large que le bouton, fond blanc casse #fafafa au lieu de blanc franc.
   Correction : champ + bouton sur UNE ligne, memes hauteurs, memes rayons.
   Le formulaire WPForms est conserve tel quel (aucun markup touche), on ne
   fait que le styler — coherent avec le reste du footer code. */

.site-footer .wpforms-widget .wpforms-container { margin: 0; }
.site-footer .wpforms-widget .wpforms-form {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.site-footer .wpforms-widget .wpforms-field-container {
  flex: 1 1 190px; min-width: 0; margin: 0;
}
.site-footer .wpforms-widget .wpforms-field { padding: 0 !important; }

.site-footer .wpforms-widget input[type="email"] {
  width: 100% !important; box-sizing: border-box;
  height: 42px; padding: 0 16px !important;
  background: #fff !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  font-family: var(--tk-body) !important; font-size: 14px !important;
  color: var(--tk-ink) !important;
}
.site-footer .wpforms-widget input[type="email"]::placeholder {
  color: #8a8f8c !important; opacity: 1;
}
.site-footer .wpforms-widget input[type="email"]:focus {
  border-color: var(--tk-cta) !important;
  box-shadow: 0 0 0 3px rgba(30,158,94,.25) !important; outline: none !important;
}

.site-footer .wpforms-widget .wpforms-submit-container { flex: 0 0 auto; margin: 0; padding: 0; }
.site-footer .wpforms-widget .wpforms-submit {
  height: 42px; padding: 0 22px !important;
  border-radius: 999px !important; border: 0 !important;
  background: var(--tk-cta) !important; color: #fff !important;
  font-family: var(--tk-body) !important; font-size: 14px !important; font-weight: 700 !important;
  cursor: pointer; white-space: nowrap; transition: background .15s ease;
}
.site-footer .wpforms-widget .wpforms-submit:hover { background: var(--tk-cta-h) !important; }

/* hCaptcha : passe sous la ligne champ+bouton au lieu de s'intercaler */
.site-footer .wpforms-widget .wpforms-recaptcha-container {
  flex: 1 0 100%; margin: 2px 0 0 !important; padding: 0 !important;
  transform: scale(.85); transform-origin: left top;
}

/* Accroche sous le titre (ce qu'on recoit + frequence) */
.site-footer .tk-news-lead {
  margin: -2px 0 12px; font-family: var(--tk-body) !important;
  font-size: 14px; line-height: 1.5; color: #c8d0cc !important;
}

.site-footer .wpforms-confirmation-container-full {
  background: rgba(255,255,255,.06) !important; border: 0 !important;
  border-radius: 10px !important; color: #c8d0cc !important;
  font-family: var(--tk-body) !important; padding: 12px 16px !important;
}

@media (max-width: 480px) {
  .site-footer .wpforms-widget .wpforms-field-container { flex: 1 0 100%; }
  .site-footer .wpforms-widget .wpforms-submit-container { flex: 1 0 100%; }
  .site-footer .wpforms-widget .wpforms-submit { width: 100%; }
}

/* Fix 22/08 : le conteneur hCaptcha s'intercale entre le champ et le bouton dans
   l'ordre DOM et casse la ligne (flex-wrap). On le repousse en fin de ligne via
   order, pour que champ + bouton restent cote a cote. */
.site-footer .wpforms-widget .wpforms-field-container { order: 1; flex: 1 1 170px; }
.site-footer .wpforms-widget .wpforms-submit-container { order: 2; }
.site-footer .wpforms-widget .wpforms-recaptcha-container { order: 3; }

/* Fix 22/08 (2) : test 5 breakpoints -> la ligne ne tenait qu'en 1440. Des 1024 la
   colonne tombe a ~314px et le champ (base 170px) + bouton (150px) + gap ne passent
   plus. Corrections : base flex reduite a 90px, bouton resserre, et bascule empilee
   assumee sous 620px (colonne trop etroite pour deux champs cote a cote). */
.site-footer .wpforms-widget .wpforms-field-container { flex: 1 1 90px; }
.site-footer .wpforms-widget .wpforms-submit { padding: 0 16px !important; font-size: 13px !important; }
.site-footer .wpforms-widget .wpforms-form { gap: 6px; }

@media (max-width: 620px) {
  .site-footer .wpforms-widget .wpforms-field-container,
  .site-footer .wpforms-widget .wpforms-submit-container { flex: 1 0 100%; }
  .site-footer .wpforms-widget .wpforms-submit { width: 100%; font-size: 14px !important; }
}
