/* =====================================================================================
   Accord-credit.fr - refonte 2026 : section /parrainage
   Charge apres accord-2026.css et accord-2026-pages.css. Prefixe : acp-
   ===================================================================================== */

body.acp-body { margin: 0; background: #fff; font-family: var(--ac-police); color: var(--ac-texte); -webkit-font-smoothing: antialiased; }
.acp-body main { display: block; }
.acp, .acp * { box-sizing: border-box; }
.acp { font-family: var(--ac-police); color: var(--ac-texte); line-height: 1.55; }
.acp h2, .acp h3, .acp p, .acp ol, .acp ul { margin: 0; }
.acp a { text-decoration: none; }
.acp svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.acp .ac-page-actions { flex-wrap: wrap; }

/* ---------- sections ---------- */
.acp-section { padding: 48px 0; }
.acp-section-serree { padding: 0 0 48px; }
.acp-fond { background: var(--ac-fond); }
.acp-fond + .acp-section-serree { padding-top: 48px; }
.acp-titre-section { margin: 0 0 20px !important; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: var(--ac-encre); }
.ac-page-titre em { white-space: nowrap; }
.acp-titre-section span { color: var(--ac-ardoise); font-weight: 700; }

.acp-carte { padding: 26px 28px; border-radius: var(--ac-r); background: #fff; box-shadow: var(--ac-ombre-1); min-width: 0; }
.acp-section:not(.acp-fond) .acp-carte { border: 1px solid var(--ac-ligne); box-shadow: none; }
.acp-titre { margin: 0 0 18px !important; font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -.015em; color: var(--ac-encre); }
.acp h3 { font-size: 16.5px; line-height: 1.35; font-weight: 700; color: var(--ac-encre); }
.acp p { font-size: 15px; line-height: 1.6; }
.acp p + p { margin-top: 10px; }

.acp-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.acp-duo-recette { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.acp-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.acp-trio .acp-carte { padding: 22px 24px; }
.acp-trio h3 { margin-bottom: 8px; }

/* pastilles numerotees */
.acp-num { flex: none; width: 36px; height: 36px; border-radius: var(--ac-r-max, 7px); display: grid; place-items: center; background: var(--ac-nuit); color: var(--ac-ambre); font-weight: 800; font-size: 16px; }

/* ---------- la recette ---------- */
.acp-recette { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 26px; }
.acp-recette li { display: flex; gap: 14px; align-items: flex-start; }
.acp-recette h3 { margin-bottom: 6px; }
.acp-recette p { font-size: 14.5px; }
.acp-cote { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.acp-video { border-radius: var(--ac-r); overflow: hidden; background: var(--ac-nuit); box-shadow: var(--ac-ombre-1); aspect-ratio: 16 / 9; flex: 1 1 auto; min-height: 200px; }
.acp-video video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--ac-nuit); }
.acp-cote .ac-raccourci { font-family: var(--ac-police); }

/* ---------- filleul / parrain ---------- */
.acp-avantages { list-style: none; padding: 0; display: grid; gap: 18px; }
.acp-avantages li { display: flex; gap: 14px; align-items: flex-start; }
.acp-avantages h3 { margin-bottom: 4px; }
.acp-ico { flex: none; width: 44px; height: 44px; border-radius: var(--ac-r-max, 7px); display: grid; place-items: center; background: var(--ac-ambre-clair); color: var(--ac-ambre-fonce); }
.acp-ico svg { width: 22px; height: 22px; }

.acp-parrain { background: var(--ac-nuit) !important; border-color: var(--ac-nuit) !important; color: rgba(255, 255, 255, .82); }
.acp-parrain .acp-titre { color: #fff; }
.acp-parrain strong { color: #fff; }
.acp-parrain-intro strong { color: var(--ac-ambre); }
.acp-parrain-base { margin-top: 10px !important; }
.acp-paliers { list-style: none; padding: 0; margin: 16px 0 0 !important; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.acp-paliers li { padding: 12px 12px 10px; border-radius: var(--ac-r-max, 7px); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); display: flex; flex-direction: column; gap: 2px; }
.acp-paliers span { font-size: 13px; color: rgba(255, 255, 255, .72); }
.acp-paliers strong { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--ac-ambre) !important; line-height: 1.2; }
.acp-paliers small { font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.acp-total { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.acp-total strong { color: var(--ac-ambre) !important; font-size: 18px; }
.acp-total .ac-btn { flex: none; }

/* ---------- comment gagner ---------- */
.acp-texte p { font-size: 15px; }
.acp-texte a { color: var(--ac-ardoise); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.acp-etapes { list-style: none; padding: 0; display: grid; gap: 18px; }
.acp-etapes > li { display: flex; gap: 14px; align-items: flex-start; }
.acp-etapes h3 { margin-bottom: 6px; }
.acp-etapes p { font-size: 14.5px; }
.acp-etapes p + p, .acp-etapes ul + p { margin-top: 6px; }
.acp-etapes ul, .acp-modalites ul { list-style: none; padding: 0; margin: 6px 0 0 !important; }
.acp-etapes ul li, .acp-modalites ul li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.55; }
.acp-etapes ul li:before, .acp-modalites ul li:before { content: ""; position: absolute; left: 3px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--ac-ambre); }
.acp-note { color: var(--ac-gris); font-size: 13.5px !important; }

/* ---------- bande devenez parrain ---------- */
.acp-bande { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 28px 32px; border-radius: var(--ac-r); background: var(--ac-ambre-clair); border: 1px solid #F6DDB5; }
.acp-bande h2 { font-size: 24px; font-weight: 800; letter-spacing: -.015em; color: var(--ac-encre); margin-bottom: 8px; }
.acp-bande-texte { max-width: 900px; }
.acp-bande-intro { color: var(--ac-encre); font-weight: 600; }
.acp-signature { font-weight: 700; color: var(--ac-ambre-fonce); }
.acp-bande .ac-btn { flex: none; min-height: 50px; padding: 0 26px; }

/* ---------- reglement ---------- */
.acp-modalites h3 { margin-bottom: 12px; }
.acp-modalites > ol { padding-left: 22px; column-count: 2; column-gap: 40px; }
.acp-modalites > ol > li { break-inside: avoid; font-size: 14.5px; line-height: 1.6; margin-bottom: 10px; padding-left: 4px; }
.acp-modalites > ol > li::marker { color: var(--ac-ambre-fonce); font-weight: 800; }

/* ---------- FAQ ---------- */
.acp-faq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.acp-q { padding: 18px 20px; border-radius: var(--ac-r-max, 7px); border: 1px solid var(--ac-ligne); background: #fff; }
.acp-q h3 { font-size: 15.5px; margin-bottom: 6px; }
.acp-q p { font-size: 14.5px; }

/* ---------- adaptatif ---------- */
@media (max-width: 1140px) {
	.acp-duo, .acp-duo-recette { grid-template-columns: 1fr; }
	.acp-cote { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.acp-video { grid-column: 1 / -1; }
	.acp-faq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.acp-trio { grid-template-columns: 1fr; }
	.acp-modalites > ol { column-count: 1; }
	.acp-bande { flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media (max-width: 767px) {
	.acp-section { padding: 36px 0; }
	.acp-section-serree { padding-bottom: 36px; }
	.acp-fond + .acp-section-serree { padding-top: 36px; }
	.acp .ac-wrap { width: calc(100% - 32px); }
	.acp-carte { padding: 20px; }
	.acp-recette { grid-template-columns: 1fr; }
	.acp-cote { grid-template-columns: 1fr; }
	.acp-paliers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.acp-total { flex-direction: column; align-items: stretch; }
	.acp-faq { grid-template-columns: 1fr; }
	.acp-bande { padding: 22px 20px; }
	.acp-bande .ac-btn, .acp .ac-page-actions .ac-btn { width: 100%; }
}

/* ---------- equilibrage des colonnes (controle visuel du 28/09) ---------- */
.acp-filleul { display: flex; flex-direction: column; }
.acp-filleul .acp-avantages { flex: 1 1 auto; align-content: space-evenly; }
.acp-paliers span { font-size: 12.5px; white-space: nowrap; }
.acp-gagner { display: grid; gap: 16px; }
.acp-gagner .acp-texte { column-count: 2; column-gap: 40px; }
.acp-gagner .acp-texte p { break-inside: avoid; }
.acp-gagner .acp-etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; }
@media (max-width: 900px) {
	.acp-gagner .acp-texte { column-count: 1; }
	.acp-gagner .acp-etapes { grid-template-columns: 1fr; }
}
