/* =====================================================================
 * PAGE « DEVENIR PRESTATAIRE » — Les Bonnes Adresses 229
 * Classes préfixées « dp- » pour ne rien toucher aux autres pages.
 * ===================================================================== */
body[data-page="devenir-prestataire"] {
    --dp-g900: #11301F;
    --dp-g700: #1F4A38;
    --dp-g500: #2F6B50;
    --dp-g100: #E4EFE8;
    --dp-g50:  #F2F7F3;
    --dp-sand: #FBF7F0;
    --dp-or:   #D97706;
    --dp-or-d: #B45F04;
    --dp-or-s: #FDF0DA;
    --dp-ink:  #16231B;
    --dp-mut:  #5C6A61;
    --dp-line: #E2E8E3;
    --dp-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    background: #fff;
    color: var(--dp-ink);
}
body[data-page="devenir-prestataire"] footer { margin-top: 0; }
/* style.css impose Inter sur « * » : les enfants des titres serif héritent */
.dp-h1 *, .dp-h2 * { font-family: inherit; }
.dp-wrap .ic, .dp-hero .ic { width: 1em; height: 1em; flex-shrink: 0; vertical-align: -0.15em; }

.dp-wrap {
    max-width: 1180px; margin-inline: auto;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.dp-section { padding-block: 5rem; }
.dp-section--mint { background: var(--dp-g50); }
.dp-section--sand { background: var(--dp-sand); }

/* Titres */
.dp-kicker { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 600; color: var(--dp-or-d); margin-bottom: .9rem; }
.dp-kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--dp-or); }
.dp-h1 { font-family: var(--dp-serif); font-weight: 600; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.06; letter-spacing: -.02em; color: var(--dp-g900); text-wrap: balance; }
.dp-h1 em { font-style: italic; font-weight: 400; color: var(--dp-or); }
.dp-h2 { font-family: var(--dp-serif); font-weight: 600; font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.14; color: var(--dp-g900); text-wrap: balance; max-width: 24ch; }
.dp-h2 em { font-style: italic; font-weight: 400; color: var(--dp-g500); }
.dp-lead { color: var(--dp-mut); font-size: 1.05rem; line-height: 1.7; max-width: 54ch; margin-top: 1rem; }
.dp-head { margin-bottom: 2.6rem; }

/* Boutons */
.dp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .95rem 1.4rem; border-radius: 12px; border: 1.5px solid transparent;
    font-weight: 600; font-size: .95rem; line-height: 1; text-decoration: none; cursor: pointer;
    transition: background .15s, border-color .15s;
}
.dp-btn--or { background: var(--dp-or); color: #fff; }
.dp-btn--or:hover { background: var(--dp-or-d); }
.dp-btn--vert { background: var(--dp-g700); color: #fff; }
.dp-btn--vert:hover { background: var(--dp-g900); }
.dp-btn--ligne { color: var(--dp-g700); border-color: var(--dp-line); background: #fff; }
.dp-btn--ligne:hover { border-color: var(--dp-g700); }

/* ---------- Hero ---------- */
.dp-hero {
    background:
        radial-gradient(800px 480px at 90% 0%, rgba(47,107,80,.10), transparent 60%),
        radial-gradient(500px 360px at 0% 100%, rgba(217,119,6,.07), transparent 60%),
        var(--dp-sand);
}
.dp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3.5rem; align-items: center; padding-block: 4.2rem 4.8rem; }
.dp-hero-text { min-width: 0; }
.dp-badge {
    display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1.4rem;
    background: #fff; border: 1px solid var(--dp-line); border-radius: 999px;
    padding: .5rem .9rem; font-size: .8rem; font-weight: 600; color: var(--dp-g700);
}
.dp-badge .ic { color: var(--dp-g500); }
.dp-hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.dp-checks { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.8rem; }
.dp-checks li { display: flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 500; color: var(--dp-g900); }
.dp-checks .ic { color: var(--dp-g500); }

.dp-visual { position: relative; min-width: 0; padding: 1.2rem 0 2rem 1.5rem; }
.dp-photo { border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3.4; max-width: 100%; background: var(--dp-g100); box-shadow: 0 30px 60px -30px rgba(17,48,31,.55); }
.dp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 55%; display: block; }
.dp-float {
    position: absolute; background: #fff; border-radius: 16px; padding: .8rem 1rem;
    box-shadow: 0 18px 40px -16px rgba(17,48,31,.45); font-size: .84rem;
}
.dp-float--req { left: 0; bottom: 0; display: flex; align-items: center; gap: .7rem; }
.dp-float--rate { right: -.5rem; top: 0; display: flex; flex-direction: column; gap: .15rem; max-width: 220px; }
.dp-float-ico { width: 38px; height: 38px; border-radius: 11px; background: var(--dp-g100); color: var(--dp-g700); display: grid; place-items: center; font-size: 1.1rem; }
.dp-float strong { display: block; color: var(--dp-g900); font-size: .9rem; }
.dp-float small { color: var(--dp-mut); font-size: .78rem; }
.dp-stars { color: var(--dp-or); letter-spacing: 1px; }

/* ---------- Avantages ---------- */
.dp-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.dp-benefit { padding: 1.6rem 1.4rem; border: 1px solid var(--dp-line); border-radius: 20px; background: #fff; min-width: 0; }
.dp-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--dp-or-s); color: var(--dp-or-d); display: grid; place-items: center; font-size: 1.3rem; }
.dp-benefit h3 { font-family: var(--dp-serif); font-weight: 600; font-size: 1.15rem; line-height: 1.3; color: var(--dp-g900); margin: 1.1rem 0 .45rem; }
.dp-benefit p { color: var(--dp-mut); font-size: .9rem; line-height: 1.6; }

/* ---------- Étapes ---------- */
.dp-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; counter-reset: none; }
.dp-step { position: relative; min-width: 0; }
.dp-step b {
    width: 40px; height: 40px; border-radius: 50%; background: var(--dp-g700); color: #fff;
    display: grid; place-items: center; font-weight: 700; position: relative; z-index: 1;
}
.dp-step:not(:last-child)::before { content: ""; position: absolute; top: 20px; left: 52px; right: -.6rem; height: 1px; background: #C9D6CD; }
.dp-step h3 { font-family: var(--dp-serif); font-weight: 600; font-size: 1.15rem; line-height: 1.3; color: var(--dp-g900); margin: 1.1rem 0 .45rem; }
.dp-step p { color: var(--dp-mut); font-size: .9rem; line-height: 1.6; }

/* ---------- Appel à l'inscription ---------- */
.dp-cta {
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 3rem; align-items: center;
    background: var(--dp-g900); border-radius: 28px; padding: 3.2rem;
    position: relative; overflow: hidden;
}
.dp-cta::after { content: ""; position: absolute; right: -110px; bottom: -150px; width: 380px; height: 380px; border-radius: 50%; border: 64px solid rgba(255,255,255,.04); pointer-events: none; }
.dp-cta-text { min-width: 0; position: relative; z-index: 1; }
.dp-cta .dp-kicker { color: #F6B556; }
.dp-cta .dp-kicker::before { background: #F6B556; }
.dp-cta .dp-h2 { color: #fff; }
.dp-cta .dp-h2 em { color: #F6B556; }
.dp-cta .dp-lead { color: rgba(255,255,255,.75); }
.dp-btn--clair { color: #fff; border-color: rgba(255,255,255,.35); }
.dp-btn--clair:hover { border-color: #fff; }
.dp-docs { padding: 1.4rem 1.5rem; border-radius: 18px; background: #fff; position: relative; z-index: 1; min-width: 0; }
.dp-docs strong { display: block; color: var(--dp-g900); font-size: .95rem; margin-bottom: .9rem; }
.dp-docs ul { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.dp-docs li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--dp-ink); }
.dp-docs .ic { color: var(--dp-g500); font-size: 1.05rem; }
.dp-docs p { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--dp-line); font-size: .85rem; color: var(--dp-mut); line-height: 1.55; }
.dp-docs a { color: var(--dp-g700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; margin: 0; }

/* ---------- FAQ ---------- */
.dp-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3.5rem; }
.dp-faq details { border-bottom: 1px solid var(--dp-line); }
.dp-faq details:first-child { border-top: 1px solid var(--dp-line); }
.dp-faq summary { list-style: none; cursor: pointer; padding: 1.2rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 600; color: var(--dp-g900); }
.dp-faq summary::-webkit-details-marker { display: none; }
.dp-faq summary .ic { color: var(--dp-g500); transition: transform .2s; }
.dp-faq details[open] summary .ic { transform: rotate(45deg); }
.dp-faq details p { color: var(--dp-mut); line-height: 1.7; padding: 0 2.5rem 1.2rem 0; font-size: .94rem; }

body[data-page="devenir-prestataire"] a:focus-visible,
body[data-page="devenir-prestataire"] button:focus-visible,
body[data-page="devenir-prestataire"] summary:focus-visible { outline: 2px solid var(--dp-or); outline-offset: 3px; border-radius: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .dp-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.2rem; }
    .dp-step:nth-child(2)::before { display: none; }
}
@media (max-width: 880px) {
    .dp-section { padding-block: 3.8rem; }
    .dp-hero-grid, .dp-faq-grid, .dp-cta { grid-template-columns: 1fr; gap: 2.2rem; }
    .dp-cta { padding: 2.2rem 1.6rem; border-radius: 22px; }
    .dp-hero-grid { padding-block: 2.8rem 3.4rem; }
    .dp-visual { max-width: 560px; }
}
@media (max-width: 600px) {
    .dp-benefits, .dp-steps { grid-template-columns: 1fr; }
    .dp-step::before { display: none; }
    .dp-hero-actions .dp-btn { width: 100%; }
    .dp-float--rate { display: none; }
    .dp-visual { padding: 0 0 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
    body[data-page="devenir-prestataire"] * { transition: none !important; }
}
