/* ============================================================
   Page de confirmation newsletter (double opt-in)
   Utilise les tokens globaux du site (root.css) : --rouge, --bleu,
   --bleu-leger, --gris, --round, --shadow.
   ============================================================ */

.newsletter-confirm {
  padding-top: var(--margin);
  padding-bottom: var(--margin);
}

.newsletter-confirm__card {
  max-width: 640px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--round);
  box-shadow: var(--shadow);
  padding: 56px 48px;
  text-align: center;
}

.newsletter-confirm__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-confirm__icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* États sémantiques */
.newsletter-confirm__card.is-success .newsletter-confirm__icon {
  background: #E7F7EE;
}
.newsletter-confirm__card.is-success .newsletter-confirm__icon svg {
  stroke: #1E9E57;
}

.newsletter-confirm__card.is-info .newsletter-confirm__icon {
  background: var(--bleu-leger);
}
.newsletter-confirm__card.is-info .newsletter-confirm__icon svg {
  stroke: #2F7B85;
}

.newsletter-confirm__card.is-warning .newsletter-confirm__icon {
  background: var(--rouge-milieu);
}
.newsletter-confirm__card.is-warning .newsletter-confirm__icon svg {
  stroke: var(--rouge);
}

.newsletter-confirm__title {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
  color: #111111;
  margin: 0 0 16px;
}

.newsletter-confirm__text {
  font-size: 16px;
  line-height: 1.65;
  color: #4a4a4a;
  max-width: 460px;
  margin: 0 auto 12px;
}

.newsletter-confirm__actions {
  margin-top: 32px;
}

.newsletter-confirm__btn {
  display: inline-block;
  background: var(--rouge);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 16px 32px;
  border-radius: 320px;
  transition: background .2s ease, transform .2s ease;
}

.newsletter-confirm__btn:hover {
  background: #C8121A;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .newsletter-confirm__card {
    padding: 40px 24px;
  }
  .newsletter-confirm__title {
    font-size: 22px;
  }
}
