/* admin-panel.css : feuille propre à la page de service Panel administrateur (3 langues) */

:root {
    --ap-ink: #181819;
    --ap-gold: #E6B554;
    --ap-gold-light: #F0C56A;
    --ap-gold-deep: #A16C16;
    --ap-gradient: linear-gradient(45deg, #A16C16, #E6B554);
    --ap-surface: #ffffff;
    --ap-page: #F8F8F8;
    --ap-text: #181819;
    --ap-muted: #5d5d63;
    --ap-line: #E6E6E6;
    --ap-soft: #fff8ec;
}

[data-theme="dark"] {
    --ap-surface: #1E1E1E;
    --ap-page: #141414;
    --ap-text: #E8E8E8;
    --ap-muted: #A7A7AD;
    --ap-line: #2c2c2e;
    --ap-soft: #241d10;
}

body {
    background-color: var(--ap-page);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--ap-text);
    margin: 0;
    padding: 0;
}

.ap-svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ap-icon {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}

.ap-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.ap-section { padding: 84px 0; }
.ap-section--alt { background: var(--ap-surface); }

.ap-head { max-width: 760px; margin-bottom: 44px; }
.ap-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.ap-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ap-gold-deep);
    margin-bottom: 12px;
}

[data-theme="dark"] .ap-kicker { color: var(--ap-gold); }

.ap-h2 {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-weight: 400;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.02;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ap-text);
    margin: 0 0 14px;
}

.ap-lead {
    font-size: 17px;
    line-height: 1.7;
    color: var(--ap-muted);
    margin: 0;
}

/* ---------- Buttons ---------- */
.ap-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.2;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    box-sizing: border-box;
}

.ap-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.ap-btn--primary { background: var(--ap-gradient); color: #fff; box-shadow: 0 8px 22px rgba(161, 108, 22, .28); }
.ap-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(161, 108, 22, .38); }
.ap-btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); }
.ap-btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--ap-gold); }
.ap-btn--dark { background: var(--ap-ink); color: #fff; }
.ap-btn--dark:hover { transform: translateY(-2px); background: #2a2a2c; }

/* ---------- Hero ---------- */
.ap-hero { padding: 104px 10px 0; max-width: 1440px; margin: 0 auto; box-sizing: border-box; }

.ap-hero-box {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    background:
        radial-gradient(900px 420px at 85% 10%, rgba(230, 181, 84, .22), transparent 60%),
        radial-gradient(600px 400px at 0% 100%, rgba(161, 108, 22, .25), transparent 60%),
        #181819;
    color: #fff;
    padding: 64px 56px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 48px;
    align-items: center;
}

.ap-hero .ap-kicker { color: var(--ap-gold); }

.ap-hero h1 {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-weight: 400;
    font-size: clamp(2.5rem, 5.2vw, 4.4rem);
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 20px;
}

.ap-hero-sub { font-size: 17px; line-height: 1.7; color: #e4e4e6; margin: 0 0 28px; max-width: 580px; }

.ap-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.ap-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }

.ap-chips li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(230, 181, 84, .45);
    border-radius: 999px;
    font-size: 13px;
    color: #f3e3bd;
    background: rgba(230, 181, 84, .08);
}

.ap-chips svg { width: 16px; height: 16px; color: var(--ap-gold); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.ap-mock { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45)); }

/* ---------- Problem ---------- */
.ap-grid { display: grid; gap: 22px; }
.ap-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ap-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ap-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.ap-card {
    background: var(--ap-surface);
    border: 1px solid var(--ap-line);
    border-radius: 20px;
    padding: 28px 26px;
    box-sizing: border-box;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ap-section--alt .ap-card { background: var(--ap-page); }

.ap-card:hover { transform: translateY(-4px); border-color: var(--ap-gold); box-shadow: 0 14px 34px rgba(0, 0, 0, .08); }

.ap-card h3 {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--ap-text);
    margin: 16px 0 10px;
}

.ap-card p { font-size: 15px; line-height: 1.7; color: var(--ap-muted); margin: 0; }

.ap-ico {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ap-ink);
    color: var(--ap-gold);
}

.ap-ico--warn { background: var(--ap-soft); color: var(--ap-gold-deep); }
[data-theme="dark"] .ap-ico--warn { color: var(--ap-gold); }

.ap-callout {
    margin-top: 34px;
    padding: 22px 26px;
    border-left: 4px solid var(--ap-gold);
    background: var(--ap-soft);
    border-radius: 0 14px 14px 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--ap-text);
}

/* ---------- Steps ---------- */
.ap-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }

.ap-step {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 24px;
    background: var(--ap-page);
    border: 1px solid var(--ap-line);
    border-radius: 20px;
    padding: 26px 28px;
    position: relative;
}

.ap-step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ap-gradient);
    color: #fff;
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ap-step h3 { font-size: 20px; margin: 4px 0 14px; color: var(--ap-text); }

.ap-step-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

.ap-step-col { font-size: 15px; line-height: 1.65; color: var(--ap-muted); }

.ap-step-col strong {
    display: block;
    font-size: 11px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--ap-gold-deep);
    margin-bottom: 6px;
}

[data-theme="dark"] .ap-step-col strong { color: var(--ap-gold); }

/* ---------- Result ---------- */
.ap-result .ap-card { display: flex; flex-direction: column; }
.ap-note { margin-top: 28px; font-size: 16px; line-height: 1.7; color: var(--ap-muted); }
.ap-note a { color: var(--ap-gold-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
[data-theme="dark"] .ap-note a { color: var(--ap-gold); }

/* ---------- Who ---------- */
.ap-who-col { border-radius: 20px; padding: 32px 30px; box-sizing: border-box; }
.ap-who-col--yes { background: var(--ap-ink); color: #fff; }
.ap-who-col--no { background: var(--ap-surface); border: 1px solid var(--ap-line); }

.ap-who-col h3 {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-weight: 400;
    font-size: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 18px;
    color: inherit;
}

.ap-who-col--yes h3 { color: var(--ap-gold); }

.ap-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ap-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; font-size: 15px; line-height: 1.65; }
.ap-list svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.ap-who-col--yes .ap-list svg { color: var(--ap-gold); }
.ap-who-col--no .ap-list { color: var(--ap-muted); }
.ap-who-col--no .ap-list svg { color: #8a8a90; }
.ap-who-col a { color: var(--ap-gold-deep); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
[data-theme="dark"] .ap-who-col a { color: var(--ap-gold); }

/* ---------- Cases ---------- */
.ap-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--ap-soft);
    border: 1px dashed var(--ap-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ap-gold-deep);
    margin-bottom: 20px;
}

[data-theme="dark"] .ap-tag { color: var(--ap-gold); }

.ap-case h3 { margin: 0 0 14px; }
.ap-case-row { font-size: 15px; line-height: 1.65; color: var(--ap-muted); padding: 12px 0; border-top: 1px solid var(--ap-line); }
.ap-case-row b { display: block; font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ap-text); margin-bottom: 4px; }
.ap-case-row--after b { color: var(--ap-gold-deep); }
[data-theme="dark"] .ap-case-row--after b { color: var(--ap-gold); }

/* ---------- Guarantee ---------- */
.ap-guarantee {
    background: var(--ap-ink);
    color: #fff;
    border-radius: 25px;
    padding: 56px 48px;
    margin: 0 10px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 44px;
    align-items: center;
    background-image: radial-gradient(700px 360px at 100% 0%, rgba(230, 181, 84, .2), transparent 60%);
}

.ap-guarantee-outer { max-width: 1440px; margin: 0 auto; padding: 84px 0; box-sizing: border-box; }
.ap-guarantee .ap-kicker { color: var(--ap-gold); }
.ap-guarantee .ap-h2 { color: #fff; }
.ap-guarantee .ap-lead { color: #e4e4e6; }
.ap-guarantee .ap-list { color: #f1f1f2; }
.ap-guarantee .ap-list svg { color: var(--ap-gold); }
.ap-fine { font-size: 13px; line-height: 1.6; color: #b9b9bf; margin: 20px 0 0; }

/* ---------- FAQ ---------- */
.ap-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }

.ap-faq details {
    background: var(--ap-page);
    border: 1px solid var(--ap-line);
    border-radius: 16px;
    padding: 0 24px;
}

.ap-faq details[open] { border-color: var(--ap-gold); }

.ap-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--ap-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.ap-faq summary::-webkit-details-marker { display: none; }

.ap-faq summary::after {
    content: "";
    width: 12px;
    height: 12px;
    flex: none;
    border-right: 2.5px solid var(--ap-gold-deep);
    border-bottom: 2.5px solid var(--ap-gold-deep);
    transform: rotate(45deg);
    transition: transform .2s ease;
    margin-right: 4px;
}

.ap-faq details[open] summary::after { transform: rotate(-135deg); }
.ap-faq details p { margin: 0; padding: 0 0 22px; font-size: 15.5px; line-height: 1.75; color: var(--ap-muted); }
.ap-faq summary:focus-visible, .ap-btn:focus-visible, .ap-resource a:focus-visible { outline: 3px solid var(--ap-gold); outline-offset: 3px; }

/* ---------- Resources ---------- */
.ap-res-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 22px; }

.ap-resource {
    background: var(--ap-surface);
    border: 1px solid var(--ap-line);
    border-radius: 20px;
    padding: 28px 26px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ap-resource--main { background: var(--ap-ink); color: #fff; border-color: var(--ap-ink); justify-content: center; }
.ap-resource.ap-resource--main h3 { color: #fff; font-size: 24px; }
.ap-resource.ap-resource--main p { color: #e4e4e6; }
.ap-resource--main .ap-btn { align-self: flex-start; margin-top: 10px; }
.ap-resource h3 { font-size: 18px; line-height: 1.35; margin: 4px 0 0; color: var(--ap-text); }
.ap-resource p { font-size: 15px; line-height: 1.7; color: var(--ap-muted); margin: 0; }

.ap-resource-link {
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--ap-gold-deep);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

[data-theme="dark"] .ap-resource-link { color: var(--ap-gold); }
.ap-resource-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ap-res-side { display: grid; gap: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .ap-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ap-hero-box { grid-template-columns: 1fr; padding: 48px 36px; }
    .ap-mock { max-width: 560px; margin: 0 auto; }
    .ap-guarantee { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .ap-section { padding: 60px 0; }
    .ap-grid--3, .ap-grid--2 { grid-template-columns: 1fr; }
    .ap-res-grid { grid-template-columns: 1fr; }
    .ap-step { grid-template-columns: 1fr; gap: 14px; padding: 22px 20px; }
    .ap-step-cols { grid-template-columns: 1fr; gap: 14px; }
    .ap-guarantee { padding: 40px 26px; }
    .ap-guarantee-outer { padding: 60px 0; }
}

@media (max-width: 600px) {
    .ap-grid--4 { grid-template-columns: 1fr; }
    .ap-hero { padding-top: 96px; padding-left: 8px; padding-right: 8px; }
    .ap-hero-box { padding: 34px 22px; border-radius: 20px; gap: 30px; }
    .ap-hero-btns .ap-btn { width: 100%; }
    .ap-btn { padding: 14px 20px; font-size: 13px; }
    .ap-head { margin-bottom: 32px; }
    .ap-lead, .ap-hero-sub { font-size: 16px; }
    .ap-faq details { padding: 0 18px; }
    .ap-faq summary { font-size: 16px; }
    .ap-resource--main .ap-btn { align-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
    .ap-card, .ap-btn { transition: none; }
    .ap-card:hover, .ap-btn:hover { transform: none; }
}
