/* ================= PAGE E-COMMERCE RESPONSIVE ================= */

.yp-payments-page {
  font-family: inherit;
  color: #17112b;
  background: #ffffff;
  overflow-x: hidden;
  width: 100%;
}

.yp-payments-page *,
.yp-payments-page *::before,
.yp-payments-page *::after {
  box-sizing: border-box;
}

.yp-payments-page img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

.yp-pay-container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* ================= HERO ================= */

.yp-pay-hero {
  padding: 60px 0 40px;
}

.yp-pay-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.yp-pay-hero-grid > div {
  min-width: 0;
}

.yp-pay-hero-grid > div:last-child img {
  display: block;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
}

/* ================= TEXTES ================= */

.yp-pay-badge,
.yp-pay-mini-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fab31b;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.yp-pay-mini-title img {
  max-height: 34px;
  width: auto;
}

.yp-pay-hero h1,
.yp-pay-hero h2,
.yp-pay-section h2,
.yp-pay-cta h2 {
  margin: 0 0 22px;
  line-height: 1.08;
  letter-spacing: -0.04em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.yp-pay-hero h1,
.yp-pay-hero h2 {
  max-width: 780px;
  font-size: clamp(34px, 5vw, 72px);
}

.yp-pay-section h2,
.yp-pay-cta h2 {
  font-size: clamp(30px, 4vw, 54px);
}

.yp-pay-hero p,
.yp-pay-section p,
.yp-pay-cta p {
  margin-top: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #5f5870;
}

.yp-pay-hero p {
  max-width: 720px;
}

/* Logos dans les paragraphes et titres */
.yp-pay-hero p img,
.yp-pay-cta p img {
  width: auto;
  max-width: 103px;
  max-height: 34px;
}

.yp-pay-center h2 img {
  display: inline-block;
  width: auto;
  max-width: 170px;
  max-height: 56px;
  margin: 0 6px;
}

/* ================= BOUTONS ================= */

.yp-pay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.yp-pay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.yp-pay-btn-primary {
  background: #fab31b;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(77, 12, 182, 0.24);
}

.yp-pay-btn-primary:hover {
  transform: translateY(3px);
  box-shadow: 0 3px 8px rgba(77, 12, 182, 0.20);
  color: #ffffff;
}

.yp-pay-btn-secondary {
  background: #ffffff;
  color: #4d0cb6;
  border: 1px solid rgba(77, 12, 182, 0.18);
}

.yp-pay-btn-secondary:hover {
  transform: translateY(3px);
  color: #4d0cb6;
}

/* ================= CHECK NOM DE DOMAINE ================= */

.yp-domain-checker {
  padding: 30px 0 70px;
}

.yp-domain-wrap {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px;
  border-radius: 28px;
 /* background: #faf7ff;*/
  box-shadow: 0 18px 50px rgba(31, 19, 61, 0.07);
  text-align: center;
}

.yp-domain-wrap h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}

.yp-domain-wrap p {
  margin: 0 0 24px;
  color: #5f5870;
  font-size: 17px;
  line-height: 1.6;
}

.yp-domain-form {
  display: flex;
  gap: 12px;
  width: 100%;
}

.yp-domain-form input {
  flex: 1;
  min-width: 0;
  height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(77, 12, 182, 0.18);
  border-radius: 999px;
  font-size: 16px;
  outline: none;
}

.yp-domain-form button {
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: #fab31b;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.yp-domain-message {
  margin-top: 16px;
  color: #5f5870;
}

.yp-domain-result {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 22px;
  border-radius: 22px;
  background: #ffffff;
  text-align: left;
}

.yp-domain-result h3 {
  margin: 0 0 6px;
}

.yp-domain-result p {
  margin: 0;
}

/* ================= SECTIONS ================= */

.yp-pay-section {
  padding: 90px 0;
}

.yp-pay-soft {
  background: #faf7ff;
}

.yp-pay-center {
  max-width: 850px;
  margin: 0 auto 45px;
  text-align: center;
}

.yp-pay-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.yp-pay-feature {
  padding: 34px;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(31, 19, 61, 0.07);
}

.yp-pay-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #fab31b;
  color: #ffffff;
  font-weight: 800;
}

.yp-pay-feature h3,
.yp-pay-step h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
}

.yp-pay-two-cols {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: center;
}

.yp-pay-two-cols > div {
  min-width: 0;
}

.yp-pay-steps {
  display: grid;
  gap: 18px;
}

.yp-pay-step {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 22px;
  padding: 26px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(77, 12, 182, 0.10);
  box-shadow: 0 14px 40px rgba(31, 19, 61, 0.06);
}

.yp-pay-step span {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: #fab31b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.yp-pay-dark {
  background: #17112b;
  color: #ffffff;
}

.yp-pay-dark p {
  color: #ddd5ef;
}

.yp-pay-dark .yp-pay-mini-title {
  background: rgba(255, 255, 255, 0.12);
  color: #ddd5ef;
}

.yp-pay-list {
  display: grid;
  gap: 14px;
}

.yp-pay-list p {
  margin: 0;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.yp-pay-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 45px;
}

.yp-pay-box {
  padding: 24px 26px;
  border-radius: 22px;
  background: #faf7ff;
  font-size: 18px;
  font-weight: 700;
  color: #17112b;
  line-height: 1.35;
}

.yp-pay-cta {
  padding: 90px 0;
  background:
    radial-gradient(circle at top left, rgba(125, 66, 255, 0.18), transparent 35%),
    #f7f2ff;
}

/* ================= TABLETTE ================= */

@media (max-width: 900px) {
  .yp-pay-container {
    width: min(100% - 32px, 1200px);
  }

  .yp-pay-hero {
    padding: 45px 0 25px;
  }

  .yp-pay-hero-grid,
  .yp-pay-two-cols,
  .yp-pay-grid-3,
  .yp-pay-grid-2 {
    grid-template-columns: 1fr;
  }

  .yp-pay-hero-grid {
    gap: 34px;
    text-align: center;
  }

  .yp-pay-hero h1,
  .yp-pay-hero h2,
  .yp-pay-hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .yp-pay-actions {
    justify-content: center;
  }

  .yp-pay-hero-grid > div:last-child img {
    margin: 0 auto;
    max-width: 520px;
  }

  .yp-pay-two-cols {
    gap: 35px;
  }

  .yp-pay-section {
    padding: 60px 0;
  }
}

/* ================= SMARTPHONE ================= */

@media (max-width: 560px) {
  .yp-pay-container,
  .yp-domain-wrap {
    width: calc(100% - 24px);
  }

  .yp-pay-hero {
    padding: 28px 0 10px;
  }

  .yp-pay-hero-grid {
    gap: 24px;
  }

  .yp-pay-badge,
  .yp-pay-mini-title {
    font-size: 12px;
    padding: 7px 12px;
    white-space: normal;
    border-radius: 18px;
  }

  .yp-pay-mini-title img {
    max-width: 110px;
    max-height: 26px;
  }

  .yp-pay-hero h1,
  .yp-pay-hero h2 {
    font-size: 32px;
    line-height: 1.12;
    letter-spacing: -0.025em;
  }

  .yp-pay-section h2,
  .yp-pay-cta h2,
  .yp-domain-wrap h2 {
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -0.025em;
  }

  .yp-pay-hero p,
  .yp-pay-section p,
  .yp-pay-cta p,
  .yp-domain-wrap p {
    font-size: 15.5px;
    line-height: 1.6;
  }

  .yp-pay-hero p img,
  .yp-pay-cta p img {
    max-width: 84px;
    max-height: 28px;
  }

  .yp-pay-center h2 img {
    display: block;
    max-width: 140px;
    max-height: 46px;
    margin: 8px auto;
  }

  .yp-pay-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 26px;
  }

  .yp-pay-btn {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
  }

  .yp-pay-hero-grid > div:last-child img {
    max-width: 100%;
  }

  .yp-domain-checker {
    padding: 20px 0 45px;
  }

  .yp-domain-wrap {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .yp-domain-form {
    flex-direction: column;
  }

  .yp-domain-form input,
  .yp-domain-form button {
    width: 100%;
  }

  .yp-domain-result {
    flex-direction: column;
    padding: 18px;
  }

  .yp-pay-section,
  .yp-pay-cta {
    padding: 45px 0;
  }

  .yp-pay-center {
    margin-bottom: 28px;
  }

  .yp-pay-feature,
  .yp-pay-step,
  .yp-pay-box {
    padding: 22px;
    border-radius: 22px;
  }

  .yp-pay-step {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .yp-pay-step span,
  .yp-pay-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .yp-pay-feature h3,
  .yp-pay-step h3 {
    font-size: 20px;
  }

  .yp-pay-grid-2 {
    margin-top: 28px;
  }

  .yp-pay-box {
    font-size: 16px;
  }

  .yp-pay-list p {
    padding: 16px 18px;
  }
}
/*============= Bloc CB===================*/
/* ================= PRICING ================= */

.yp-pricing {
  padding: 60px 0;
  background: #ffffff;
}

.yp-pricing-title {
  text-align: center;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 50px;
  color: #17112b;
}

/* GRID FLUIDE */
.yp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

/* CARD */
.yp-price-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px 20px;
  border: 1px solid rgba(77, 12, 182, 0.10);
  box-shadow: 0 14px 40px rgba(31, 19, 61, 0.07);
  transition: 0.3s ease;
}

.yp-price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(31, 19, 61, 0.12);
}

/* 🔥 FIX ASTROID (clé du problème) */
.astroid-framework .yp-pricing .yp-price-card h3 {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;

  margin: 0 0 18px !important;
  min-height: 58px !important;

  font-size: 20px !important; /* ← CHANGE ICI */
  line-height: 1.25 !important;
  color: #4d0cb6 !important;

  font-weight: 700 !important;
  text-transform: none !important;
}

/* LOGOS */
.yp-price-card h3 img {
  width: auto !important;
  height: 30px !important;
  max-width: 70px !important;
  object-fit: contain;
}

/* LIGNES */
.yp-price-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #eeeeee;
}

.yp-price-line:last-child {
  border-bottom: none;
}

.yp-price-line span {
  font-size: 14px;
  color: #6d647d;
}

.yp-price-line strong {
  font-size: 14px;
  color: #17112b;
  white-space: nowrap;
}

.yp-price-line.single {
  align-items: center;
}

.yp-pricing-note {
  margin-top: 35px;
  text-align: center;
  font-size: 14px;
  color: #6d647d;
}

/* ================= RESPONSIVE ================= */

/* TABLETTE */
@media (max-width: 900px) {
  .yp-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 560px) {
  .yp-pricing {
    padding: 45px 0;
  }

  .yp-pricing-grid {
    grid-template-columns: 1fr;
  }

  .yp-price-card {
    padding: 22px 18px;
  }

  /* 🔥 FIX MOBILE H3 */
  .astroid-framework .yp-pricing .yp-price-card h3 {
    font-size: 22px !important;
    min-height: auto !important;
  }

  .yp-price-line {
    flex-direction: column;
    gap: 4px;
  }

  .yp-price-line strong {
    white-space: normal;
  }
}