/* ==========================================================================
   Newsletter - Foresportia (CTA très lisible + design cohérent)
   ========================================================================== */

.nl-page{
  padding-bottom: 10px;
}

.nl-hero{
  /* on conserve le skin tp-hero, on ajuste juste quelques détails */
}

.nl-badge{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 9999px;
  font-weight: 900;
  color: #fff;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  margin-bottom: 12px;
}

/* Lead centré (tp-hero card est souvent aligné à gauche par défaut) */
.nl-lead{
  text-align: center;
  margin: 0 auto 16px;
  max-width: 72ch;
}

/* CTA zone */
.nl-signup{
  margin-top: 10px;
}

.nl-form{
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.nl-label{
  display: block;
  font-weight: 900;
  margin-bottom: 8px;
  color: #fff;
  text-align: left;
}

/* Input + button (CTA ultra lisible) */
.nl-input-row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: stretch;
}

#newsletter-email{
  width: 100%;
  padding: 14px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.10);
  color: #fff;
  font-weight: 750;
  outline: none;
  box-sizing: border-box;
}

#newsletter-email::placeholder{
  color: rgba(255,255,255,0.75);
}

#newsletter-email:focus{
  border-color: rgba(255,255,255,0.42);
  background: rgba(255,255,255,0.14);
}

.nl-submit{
  padding: 14px 18px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.22);
  background: #ffffff;
  color: var(--primary-dark);
  font-weight: 1000;
  cursor: pointer;
  box-sizing: border-box;
  min-width: 140px;
}

.nl-submit:hover{
  filter: brightness(0.98);
}

.nl-submit:disabled{
  opacity: 0.65;
  cursor: not-allowed;
}

.nl-consent{
  margin-top: 12px;
  text-align: left;
}

.nl-consent-line{
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(255,255,255,0.92);
  font-weight: 650;
  line-height: 1.35;
}

.nl-consent-line a{
  color: #fff;
  text-decoration: underline;
  font-weight: 900;
}

.nl-consent-line a:hover{
  text-decoration: none;
}

.nl-mini{
  margin: 10px 0 0;
  text-align: left;
  color: rgba(255,255,255,0.86);
  font-size: 0.95rem;
}

.nl-message{
  margin: 12px 0 0;
  text-align: left;
  font-weight: 900;
}

/* liens sous CTA */
.nl-links{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.nl-link{
  color: #fff;
  font-weight: 850;
  text-decoration: underline;
  opacity: 0.95;
}

.nl-link:hover{
  opacity: 1;
  text-decoration: none;
}

/* Section container */
.nl-container{
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.nl-section h2{
  text-align: center;
  margin-bottom: 14px;
}

/* Benefits grid */
.nl-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.nl-card{
  border-radius: 16px;
  padding: 18px 18px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  background: #fff;
}

[data-theme="dark"] .nl-card{
  background: #1f2937;
  border-color: #374151;
  box-shadow: 0 1px 4px rgba(255,255,255,0.05);
}

.nl-icon{
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 10px;
}

.nl-card h3{
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.nl-card p{
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

/* Callout */
.nl-callout{
  margin: 16px auto 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(30,64,175,0.06);
  border: 1px solid rgba(30,64,175,0.14);
  max-width: 980px;
}

.nl-callout strong{
  color: var(--primary-color);
}

/* FAQ */
.nl-faq{
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.nl-faq-item{
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #fff;
  padding: 12px 14px;
}

[data-theme="dark"] .nl-faq-item{
  background: #1f2937;
  border-color: #374151;
}

.nl-faq-item summary{
  cursor: pointer;
  font-weight: 950;
  color: var(--primary-color);
}

.nl-faq-item p{
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 650;
}

/* bottom */
.nl-bottom-cta{
  text-align: center;
  margin-top: 12px;
}

.nl-bottom-link{
  font-weight: 900;
  color: var(--primary-color);
  text-decoration: underline;
}

.nl-bottom-link:hover{
  text-decoration: none;
}

/* Responsive */
@media (max-width: 640px){
  .nl-input-row{
    grid-template-columns: 1fr;
  }
  .nl-submit{
    width: 100%;
  }
  .nl-label, .nl-mini, .nl-message{
    text-align: left;
  }
}
