/* ============================================
   PAGE ACCOMPAGNEMENT & FORMATION (accompagnement.html) — complete styles.css
   (etapes .acc-steps et choix .acc-delivery partages avec l'accueil et le devis)
   ============================================ */

.acp-page { --acp-top:56px; }

/* En-tete comme la page Fonctionnalites : toujours opaque, retour juste dessous. */
.acp-page .topbar {
    background:var(--nav-bg);
    backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
    border-bottom:1px solid var(--border);
}
.acp-page .back-link { position:absolute;top:calc(var(--acp-top) + 16px);z-index:1; }
.acp-skip {
    position:absolute;left:12px;top:-60px;z-index:300;
    padding:10px 16px;border-radius:10px;background:var(--blue);color:#fff;font-weight:600;font-size:.88rem;
}
.acp-skip:focus { top:12px; }

/* ---- Hero ---- */
.acp-hero { position:relative;overflow:hidden;padding:128px 0 64px;text-align:center; }
.acp-hero-glow {
    position:absolute;left:-10%;right:-10%;top:-30%;height:560px;pointer-events:none;
    background:
        radial-gradient(ellipse 45% 55% at 50% 40%, rgba(79,195,247,.16), transparent 70%),
        radial-gradient(ellipse 30% 40% at 82% 25%, rgba(128,222,234,.14), transparent 70%),
        radial-gradient(ellipse 30% 40% at 15% 30%, rgba(30,136,229,.08), transparent 70%);
}
[data-theme="dark"] .acp-hero-glow { opacity:.6; }
.acp-hero .container { position:relative; }
.acp-hero h1 {
    font-family:var(--font-d);font-size:clamp(2.1rem,5.6vw,4rem);font-weight:900;
    line-height:1.06;letter-spacing:-.035em;max-width:860px;margin:0 auto 18px;
}
.acp-intro { max-width:640px;margin:0 auto 28px;color:var(--text-2);font-size:clamp(.98rem,1.9vw,1.12rem);line-height:1.7; }
.acp-price {
    display:inline-flex;align-items:baseline;gap:10px;flex-wrap:wrap;justify-content:center;
    margin:0 auto 28px;padding:10px 20px;border-radius:50px;border:1px solid var(--border);background:var(--bg-card);box-shadow:var(--shadow-sm);
}
.acp-price-amount { font-family:var(--font-d);font-size:1.6rem;font-weight:900;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--text); }
.acp-price-note { font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--blue); }
[data-theme="dark"] .acp-price-note { color:var(--blue-light); }
.acp-hero .hero-actions { justify-content:center; }

/* ---- Sections ---- */
.acp-section { padding:72px 0; }
.acp-section-alt { background:var(--bg-2);border-top:1px solid var(--border);border-bottom:1px solid var(--border); }
/* Arrivee par « Comparer les deux formules » (devis, creation, gestion) : sur
   telephone, la marge haute (56px) egale la barre fixe, le titre s'y collait. */
#comparer { scroll-margin-top:16px; }
.acp-head { text-align:center;margin-bottom:40px; }
.acp-head h2 { font-family:var(--font-d);font-size:clamp(1.6rem,3.6vw,2.4rem);font-weight:900;line-height:1.15;letter-spacing:-.03em;margin-bottom:12px; }
.acp-head p { max-width:560px;margin:0 auto;color:var(--text-2);line-height:1.7; }

/* ---- Deux deroulements ---- */
.acp-modes { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:920px;margin:0 auto; }
.acp-mode {
    display:flex;flex-direction:column;padding:28px;border-radius:var(--radius-lg);
    background:var(--bg-card);border:1px solid var(--border);box-shadow:var(--shadow-sm);
}
.acp-mode-icon {
    display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin-bottom:16px;
    border-radius:12px;background:var(--blue-bg);color:var(--blue);
}
[data-theme="dark"] .acp-mode-icon { background:rgba(30,136,229,.14);color:var(--blue-light); }
.acp-mode h3 { font-family:var(--font-d);font-size:1.25rem;font-weight:800;margin-bottom:8px; }
.acp-mode > p { font-size:.92rem;color:var(--text-2);line-height:1.6;margin-bottom:16px; }
.acp-mode ul { list-style:none;margin:0 0 20px;padding:0;display:grid;gap:8px; }
.acp-mode li { position:relative;padding-left:24px;font-size:.88rem;line-height:1.5;color:var(--text); }
.acp-mode li::before { content:'✓';position:absolute;left:0;top:0;font-weight:800;color:var(--blue); }
.acp-mode-price { margin-top:auto;padding-top:16px;border-top:1px solid var(--border);display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px; }
.acp-mode-price strong { font-family:var(--font-d);font-size:1.4rem;font-weight:900;font-variant-numeric:tabular-nums; }
.acp-mode-price span { font-size:.8rem;color:var(--text-3); }
.acp-mode .btn-primary, .acp-mode .btn-outline { margin-top:16px;justify-content:center; }
.acp-footnote { max-width:920px;margin:16px auto 0;font-size:.78rem;line-height:1.5;color:var(--text-3); }

/* ---- Deux formules ---- */
.acp-mode-featured { position:relative;border-color:var(--blue);box-shadow:0 0 0 1px var(--blue) inset,var(--shadow-md); }
.acp-badge {
    position:absolute;top:-12px;right:20px;padding:4px 12px;border-radius:50px;
    background:var(--blue);color:#fff;font-size:.72rem;font-weight:700;letter-spacing:.02em;
}
.acp-packs .acp-mode > p { margin-bottom:14px; }

/* ---- Comparaison ---- */
.acp-compare-wrap { max-width:920px;margin:0 auto;overflow-x:auto;border-radius:var(--radius-lg);border:1px solid var(--border);background:var(--bg-card); }
.acp-compare { width:100%;border-collapse:collapse;font-size:.9rem; }
.acp-compare th, .acp-compare td { padding:14px 18px;border-bottom:1px solid var(--border);text-align:center; }
.acp-compare thead th { font-family:var(--font-d);font-weight:800;font-size:.92rem;background:var(--bg-2); }
.acp-compare thead th:first-child, .acp-compare tbody th, .acp-compare tfoot th { text-align:left;font-weight:600;color:var(--text); }
.acp-compare tbody th { font-weight:500;color:var(--text-2); }
.acp-compare .acp-yes { color:var(--blue);font-weight:800;font-size:1.05rem; }
[data-theme="dark"] .acp-compare .acp-yes { color:var(--blue-light); }
.acp-compare .acp-no { color:var(--text-3); }
.acp-compare tfoot td { font-family:var(--font-d);font-weight:900;font-size:1.1rem;font-variant-numeric:tabular-nums; }
.acp-compare tfoot th, .acp-compare tfoot td { border-bottom:none; }
@media (max-width:560px) { .acp-compare th, .acp-compare td { padding:12px 10px; } }

/* ---- Deroulement pas a pas ---- */
.acp-how { list-style:none;margin:0 auto;padding:0;max-width:760px;display:grid;gap:14px;counter-reset:acp; }
.acp-how li {
    position:relative;padding:18px 20px 18px 68px;border-radius:var(--radius-lg);
    background:var(--bg-card);border:1px solid var(--border);counter-increment:acp;
}
.acp-how li::before {
    content:counter(acp);position:absolute;left:20px;top:18px;width:32px;height:32px;border-radius:50%;
    display:flex;align-items:center;justify-content:center;background:var(--blue);color:#fff;
    font-family:var(--font-d);font-weight:800;font-size:.9rem;
}
.acp-how h3 { font-size:.98rem;font-weight:700;margin-bottom:4px; }
.acp-how p { font-size:.88rem;color:var(--text-2);line-height:1.6;margin:0; }

/* ---- Questions ---- */
.acp-faq { max-width:760px;margin:0 auto; }
.acp-faq details { border-bottom:1px solid var(--border);padding:18px 0; }
.acp-faq summary {
    display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;list-style:none;
    font-family:var(--font-d);font-weight:700;font-size:1rem;color:var(--text);
}
.acp-faq summary::-webkit-details-marker { display:none; }
.acp-faq summary::after { content:'+';flex-shrink:0;font-size:1.3rem;line-height:1;color:var(--text-3);transition:transform .3s var(--ease); }
.acp-faq details[open] summary::after { transform:rotate(45deg);color:var(--blue); }
.acp-faq summary:hover { color:var(--blue); }
.acp-faq summary:focus-visible { outline:2px solid var(--blue);outline-offset:4px;border-radius:6px; }
.acp-faq details p { margin:12px 0 0;color:var(--text-2);line-height:1.7;font-size:.94rem; }

/* ---- Fin ---- */
.acp-end { padding:24px 0 96px; }
.acp-end-card {
    max-width:880px;margin:0 auto;padding:clamp(32px,6vw,56px) clamp(20px,5vw,48px);
    border-radius:28px;text-align:center;border:1px solid var(--border);
    background:linear-gradient(135deg,rgba(30,136,229,.07),rgba(79,195,247,.11));
}
.acp-end-card h2 { font-family:var(--font-d);font-size:clamp(1.7rem,4vw,2.6rem);font-weight:900;letter-spacing:-.03em;line-height:1.15;margin-bottom:12px; }
.acp-end-card p { max-width:520px;margin:0 auto 26px;color:var(--text-2);line-height:1.7; }
.acp-end-card .hero-actions { justify-content:center; }

@media (max-width:760px) {
    .acp-modes { grid-template-columns:1fr; }
    .acp-section { padding:56px 0; }
}
@media (max-width:560px) {
    .acp-hero .hero-actions > a, .acp-end-card .hero-actions > a { flex:1 1 100%;justify-content:center; }
    .acp-how li { padding-left:60px; }
    .acp-how li::before { left:16px; }
}
