/* huemi — newsletter + pied de page (toutes les pages). Chargé EN DERNIER : il a le dernier mot sur style.css / *-fix.css / pages.css. */

/* Bouton blanc : une fois le lien visité, `.btn:visited` le passait en blanc sur blanc (bouton « Claim my offer » invisible sur iPhone) */
.btn-light, .btn-light:visited, .btn-light-outline, .btn-light-outline:visited { color: var(--ink); }

/* ---------- Newsletter ---------- */
/* carte : image produit à gauche (2 lignes), texte en haut, formulaire dessous ; mobile : vignette + titre côte à côte, formulaire pleine largeur */
.newsletter.nl2 { padding: clamp(32px, 5vw, 56px) 0 clamp(28px, 4vw, 48px) !important; }
.newsletter.nl2 .box { display: grid; grid-template-columns: 220px 1fr; grid-template-rows: auto 1fr; column-gap: clamp(20px, 3vw, 36px); row-gap: 0; padding: 0 clamp(22px, 3vw, 36px) 0 0; overflow: hidden; background: var(--tint); border-radius: 28px; text-align: left; align-items: start; }
.nl2 .nl-visual { grid-row: 1 / span 2; align-self: stretch; background: var(--prod-bg, #e2e1df); min-height: 230px; }
.nl2 .nl-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nl2 .nl-copy { padding-top: clamp(24px, 3vw, 34px); min-width: 0; }
.nl2 .nl-act { padding-bottom: clamp(22px, 3vw, 32px); min-width: 0; }
.nl2 .nl-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.nl2 .nl-kicker svg { width: 16px; height: 16px; }
.nl2 h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; margin: 0 0 6px; }
.nl2 .nl-copy p { color: var(--muted); font-weight: 700; font-size: 15px; margin: 0 0 16px; }
.nl2 .nl-form { max-width: 480px; box-shadow: 0 6px 18px rgba(26,20,17,.06); }
.nl2 .nl-form input { height: 50px; }
.nl2 .nl-form .btn { height: 50px; padding: 0 24px; flex: none; }
.nl2 .nl-perks { list-style: none; margin: 12px 0 0; padding: 0 0 0 6px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; font-weight: 800; color: var(--muted); }
.nl2 .nl-perks li { display: inline-flex; align-items: center; gap: 6px; }
.nl2 .nl-perks svg { width: 15px; height: 15px; color: var(--ok); flex: none; }
.newsletter.nl2 .hm-nl-msg { grid-column: auto; margin: 10px 0 0 6px; min-height: 0; font-size: 14px; font-weight: 800; color: var(--muted); text-align: left; }
.newsletter.nl2 .hm-nl-msg:empty { display: none; }
.newsletter.nl2 .box.is-done .hm-nl-msg { color: var(--ok); }
.newsletter.nl2 .box.is-err .hm-nl-msg { color: var(--accent); }
@media (max-width: 700px) {
  .newsletter.nl2 .box { grid-template-columns: 92px 1fr; grid-template-rows: auto auto; column-gap: 14px; padding: 16px; border-radius: 22px; align-items: center; }
  .nl2 .nl-visual { grid-row: 1; min-height: 0; height: 92px; border-radius: 16px; overflow: hidden; }
  .nl2 .nl-copy { padding-top: 0; }
  .nl2 .nl-act { grid-column: 1 / -1; padding: 14px 0 0; }
  .nl2 .nl-kicker { font-size: 11px; margin-bottom: 2px; }
  .nl2 h2 { font-size: 21px; margin-bottom: 2px; }
  .nl2 .nl-copy p { font-size: 13px; margin: 0; line-height: 1.35; }
  .nl2 .nl-form { max-width: none; padding: 5px; }
  .nl2 .nl-form input { height: 46px; padding: 0 14px; font-size: 16px; }
  .nl2 .nl-form .btn { height: 46px; padding: 0 20px; font-size: 15px; }
  .nl2 .nl-perks { justify-content: center; padding: 0; font-size: 12px; gap: 4px 14px; margin-top: 10px; }
  .newsletter.nl2 .hm-nl-msg { text-align: center; margin: 8px 0 0; }
}

/* ---------- Pied de page ---------- */
body .footer.hm-footer { background: var(--ink); color: #f4ece6; border-top: 0; padding: 0 0 32px; margin-top: 8px; border-radius: 32px 32px 0 0; font-weight: 700; }
body .footer.hm-footer .wrap { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px 40px; padding-top: 44px; }
.footer.hm-footer .logo img { filter: brightness(0) invert(1); height: 32px; width: auto; }
.footer.hm-footer .about p { color: rgba(244,236,230,.72); font-size: 15px; max-width: 320px; }
.footer.hm-footer h4 { color: #fff; font-size: 15px; font-weight: 900; letter-spacing: .02em; margin: 6px 0 6px; }
body .footer.hm-footer a, body .footer.hm-footer li a { color: rgba(244,236,230,.72); transition: color .15s; }
body .footer.hm-footer a:hover, body .footer.hm-footer li a:hover, body .footer.hm-footer li a[aria-current] { color: #fff; }
body .footer.hm-footer .socials { gap: 10px; margin-top: 14px; }
body .footer.hm-footer .socials a { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.12); transition: background .2s, transform .2s; }
body .footer.hm-footer .socials a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

/* bandeau de confiance en tête du pied de page (inséré par app.js) */
body .footer.hm-footer ul.ft-trust { grid-column: 1 / -1; list-style: none; margin: 0 0 8px; padding: 0 0 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ft-trust li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ft-trust .ft-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; background: rgba(180,68,28,.22); color: #f3b48f; display: grid; place-content: center; }
.ft-trust svg { width: 24px; height: 24px; }
.ft-trust b { display: block; color: #fff; font-size: 15px; font-weight: 900; line-height: 1.2; }
.ft-trust small { display: block; color: rgba(244,236,230,.6); font-size: 13px; font-weight: 700; line-height: 1.3; }

body .footer.hm-footer .pay-footer { max-width: 330px; margin-top: 4px; }
body .footer.hm-footer .legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 4px; padding-top: 18px; color: rgba(244,236,230,.5); font-size: 12px; font-weight: 700; line-height: 1.5; }
body .footer.hm-footer .legal-links { color: rgba(244,236,230,.8); font-weight: 900; margin-bottom: 6px; }

@media (max-width: 900px) {
  body .footer.hm-footer { border-radius: 26px 26px 0 0; padding-bottom: 28px; }
  body:has(.sticky-bar) .footer.hm-footer { padding-bottom: 104px; }   /* place pour la barre d'achat fixe */
  body .footer.hm-footer .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 12px; padding-top: 28px; }
  .footer.hm-footer .about { grid-column: 1 / -1; margin-bottom: 14px; }
  .footer.hm-footer .about p { font-size: 14px; }
  .footer.hm-footer h4 { font-size: 14px; }
  body .footer.hm-footer ul li a { font-size: 13.5px; }
  body .footer.hm-footer ul.ft-trust { grid-template-columns: 1fr 1fr; gap: 16px 10px; padding-bottom: 22px; margin-bottom: 14px; }
  .ft-trust li { gap: 10px; }
  .ft-trust .ft-ic { width: 40px; height: 40px; border-radius: 12px; }
  .ft-trust svg { width: 21px; height: 21px; }
  .ft-trust b { font-size: 13.5px; }
  .ft-trust small { font-size: 11.5px; }
  body .footer.hm-footer .pay-footer { max-width: 300px; margin-top: 14px; }
  body .footer.hm-footer .legal { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { body .footer.hm-footer .socials a { transition: none; } }
