/* =========================================================
   FRONT – Aide (aide.php)
   Fichier : /assets/css/front/pages/aide.css
========================================================= */

.page-aide {
    padding-top: 28px;
    --help-accent-1: #f97316;
    --help-accent-2: #2563eb;
    --help-accent-3: #10b981;
}

.page-aide .cgv-hero {
    position: relative;
    overflow: hidden;
}

.page-aide .cgv-hero::before {
    content: "";
    position: absolute;
    inset: -40% -30% auto auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(249,115,22,0.35), transparent 65%);
    opacity: 0.9;
}

.page-aide .cgv-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -40% -10%;
    height: 140px;
    background: linear-gradient(90deg, rgba(249,115,22,0.25), rgba(37,99,235,0.25), rgba(16,185,129,0.25));
    filter: blur(10px);
}

.page-aide .cgv-hero h1,
.page-aide .cgv-hero p,
.page-aide .cgv-eyebrow {
    position: relative;
    z-index: 1;
}

.page-aide .cgv-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-color: #e2e8f0;
}

.page-aide .cgv-section {
    position: relative;
}

.page-aide .cgv-section::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 18px;
    width: 6px;
    height: 24px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--help-accent-1), var(--help-accent-2));
    opacity: 0.9;
}

.page-aide .cgv-section:nth-child(3n)::before {
    background: linear-gradient(180deg, var(--help-accent-2), var(--help-accent-3));
}

.page-aide .cgv-section:nth-child(3n+1)::before {
    background: linear-gradient(180deg, var(--help-accent-1), #facc15);
}

.page-aide .help-steps {
    margin-top: 18px;
}

.page-aide .help-step {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
    display: grid;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.page-aide .help-step::after {
    content: "";
    position: absolute;
    inset: auto -40px -40px auto;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(37,99,235,0.15), transparent 60%);
}

.page-aide .help-step:nth-child(2n)::after {
    background: radial-gradient(circle, rgba(249,115,22,0.18), transparent 60%);
}

.page-aide a {
    color: #1d4ed8;
    text-decoration: underline;
    text-decoration-color: rgba(29, 78, 216, 0.4);
    text-underline-offset: 2px;
}

.page-aide a:hover {
    color: #0f172a;
    text-decoration-color: rgba(15, 23, 42, 0.4);
}

.page-aide .cgv-number {
    color: #0f172a;
    background: linear-gradient(90deg, rgba(249,115,22,0.2), rgba(37,99,235,0.2));
    padding: 2px 8px;
    border-radius: 999px;
}

.page-aide .help-step h3 {
    margin: 0;
    font-size: 1rem;
    color: #111827;
}

.page-aide .help-step p {
    margin: 0;
    color: #4b5563;
    font-size: 0.95rem;
}

.page-aide .help-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(249,115,22,0.18), rgba(37,99,235,0.18));
    color: #1f2937;
    font-weight: 600;
    font-size: 0.78rem;
}

.page-aide .help-muted {
    color: #6b7280;
}

@media (max-width: 720px) {
    .page-aide .help-step {
        padding: 14px;
    }
}
