/* =========================================================================
   Celebrity Voyage — Inscription & connexion professionnelles
   ========================================================================= */

:root {
    --ap-forest: #0c2a20;
    --ap-forest-dark: #071b14;
    --ap-gold: #c9a24d;
    --ap-gold-light: #e5c078;
    --ap-ink: #16211c;
    --ap-body: #4d5a53;
    --ap-muted: #8b968f;
    --ap-line: #e6e1d7;
    --ap-bg: #f6f4ef;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--ap-bg);
    color: var(--ap-body);
    font-family: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.ap-shell { display: grid; grid-template-columns: 46% 1fr; min-height: 100vh; }

/* ------------------------------------------------------- Volet gauche */

.ap-aside {
    background: linear-gradient(155deg, var(--ap-forest) 0%, var(--ap-forest-dark) 100%);
    color: #fff;
    padding: 44px 48px;
    display: flex;
    position: relative;
    overflow: hidden;
}
.ap-aside::after {
    content: "";
    position: absolute;
    inset: auto -20% -30% -20%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(201, 162, 77, .16), transparent 70%);
    pointer-events: none;
}
.ap-aside-inner { position: relative; display: flex; flex-direction: column; width: 100%; }

.ap-brand { display: flex; align-items: center; gap: 14px; margin-bottom: auto; }
.ap-brand img, .ap-brand svg { width: 52px; flex-shrink: 0; }
.ap-brand strong {
    display: block;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 17px; letter-spacing: .16em; color: var(--ap-gold-light);
    line-height: 1.3;
}
.ap-brand small {
    display: block; font-size: 9.5px; letter-spacing: .22em;
    text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-top: 3px;
}

.ap-pitch { margin: 48px 0; }
.ap-pitch h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 40px; line-height: 1.15; margin: 0 0 16px; color: #fff; font-weight: 500;
}
.ap-pitch p { font-size: 15px; color: rgba(255, 255, 255, .76); margin: 0; max-width: 400px; }

.ap-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.ap-points li { display: flex; align-items: flex-start; gap: 13px; font-size: 14px; color: rgba(255, 255, 255, .84); }
.ap-points .ico { color: var(--ap-gold-light); flex-shrink: 0; margin-top: 2px; }
.ap-points strong { color: #fff; }

.ap-figures { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 20px; }
.ap-figures li { display: flex; align-items: center; gap: 15px; }
.ap-figures .ico { color: var(--ap-gold-light); flex-shrink: 0; }
.ap-figures strong {
    display: block; font-size: 24px; color: #fff;
    font-family: "Playfair Display", Georgia, serif; line-height: 1.2;
}
.ap-figures span { font-size: 12.5px; color: rgba(255, 255, 255, .6); }

.ap-help {
    display: flex; gap: 13px; align-items: flex-start;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 13px; padding: 17px; margin-top: auto;
}
.ap-help .ico { color: var(--ap-gold-light); flex-shrink: 0; }
.ap-help strong { display: block; color: #fff; font-size: 14px; }
.ap-help span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .6); margin-bottom: 6px; }
.ap-help a { color: var(--ap-gold-light); font-size: 13px; }

/* -------------------------------------------------------- Volet droit */

.ap-main {
    padding: 40px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    overflow-y: auto;
}

.ap-card {
    width: 100%; max-width: 480px;
    background: #fff; border: 1px solid var(--ap-line);
    border-radius: 18px; padding: 34px;
    box-shadow: 0 10px 40px rgba(12, 42, 32, .06);
}

.ap-card h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 26px; margin: 0 0 5px; color: var(--ap-ink); font-weight: 500;
}
.ap-lead { margin: 0 0 22px; font-size: 14px; color: var(--ap-muted); }

.ap-section {
    font-size: 15px; color: var(--ap-ink); margin: 24px 0 14px;
    padding-top: 18px; border-top: 1px solid var(--ap-line); font-weight: 600;
}
.ap-section:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }

/* ------------------------------------------------------------ Étapes */

.ap-steps {
    list-style: none; padding: 0; margin: 0 0 26px;
    display: flex; gap: 4px;
}
.ap-steps li {
    flex: 1; text-align: center; position: relative;
    font-size: 11px; color: var(--ap-muted);
}
.ap-steps li::before {
    content: ""; position: absolute; top: 15px; left: -50%; right: 50%;
    height: 2px; background: var(--ap-line);
}
.ap-steps li:first-child::before { display: none; }
.ap-steps li.is-done::before, .ap-steps li.is-current::before { background: var(--ap-forest); }

.ap-steps .num {
    position: relative; z-index: 1;
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 6px;
    background: #fff; border: 2px solid var(--ap-line);
    font-size: 12.5px; font-weight: 700; color: var(--ap-muted);
}
.ap-steps li.is-current .num { background: var(--ap-forest); border-color: var(--ap-forest); color: #fff; }
.ap-steps li.is-done .num { background: var(--ap-forest); border-color: var(--ap-forest); color: var(--ap-gold-light); }
.ap-steps li.is-current .lbl { color: var(--ap-ink); font-weight: 600; }

/* ------------------------------------------------------ Formulaires */

.ap-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ap-field { margin-bottom: 16px; }
.ap-field label { display: block; font-size: 13px; font-weight: 600; color: var(--ap-ink); margin-bottom: 6px; }

.ap-field input, .ap-field select, .ap-field textarea {
    width: 100%; padding: 12px 14px;
    border: 1px solid var(--ap-line); border-radius: 10px;
    font-size: 14.5px; font-family: inherit; color: var(--ap-ink);
    background: #fff; outline: none; transition: border-color .16s, box-shadow .16s;
}
.ap-field input:focus, .ap-field select:focus, .ap-field textarea:focus {
    border-color: var(--ap-gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 77, .13);
}
.ap-field textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.ap-hint { margin: 5px 0 0; font-size: 11.5px; color: var(--ap-muted); }

.ap-check {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 13px; color: var(--ap-body); margin-bottom: 12px; cursor: pointer;
}
.ap-check input { width: 18px; height: 18px; accent-color: var(--ap-forest); flex-shrink: 0; margin-top: 1px; }
.ap-check a { color: var(--ap-gold); text-decoration: underline; }

.ap-btn {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    width: 100%; padding: 14px 22px; border: 1px solid transparent; border-radius: 10px;
    font-size: 15px; font-weight: 600; font-family: inherit;
    cursor: pointer; transition: all .16s; margin-top: 8px;
}
.ap-btn-primary { background: var(--ap-forest); color: #fff; }
.ap-btn-primary:hover { background: var(--ap-forest-dark); }
.ap-btn-ghost { background: #fff; border-color: var(--ap-line); color: var(--ap-ink); }
.ap-btn-ghost:hover { border-color: var(--ap-gold); color: var(--ap-gold); }

.ap-alt { text-align: center; font-size: 13.5px; color: var(--ap-muted); margin: 16px 0 0; }
.ap-alt a { color: var(--ap-gold); font-weight: 600; }

/* ---------------------------------------------------------- Blocs */

.ap-alert { padding: 12px 15px; border-radius: 10px; font-size: 13.5px; margin-bottom: 18px; }
.ap-alert ul { margin: 0; padding-left: 18px; }
.ap-alert-ok { background: #e9f6ef; color: #17643f; border: 1px solid #b9e2cd; }
.ap-alert-err { background: #fdecec; color: #8f2020; border: 1px solid #f3c4c4; }

.ap-notice {
    display: flex; gap: 14px; align-items: flex-start;
    background: #f6f4ef; border: 1px solid var(--ap-line);
    border-radius: 12px; padding: 17px; margin-bottom: 18px;
}
.ap-notice .ico { color: var(--ap-gold); flex-shrink: 0; }
.ap-notice strong { display: block; color: var(--ap-ink); font-size: 14.5px; margin-bottom: 4px; }
.ap-notice p { margin: 0; font-size: 13px; }
.ap-notice-ok { background: #f2faf6; border-color: #b9e2cd; }
.ap-notice-ok .ico { color: #17643f; }

.ap-success {
    width: 72px; height: 72px; border-radius: 50%;
    background: #e9f6ef; color: #17643f;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
}

.ap-next {
    background: #f6f4ef; border: 1px solid var(--ap-line);
    border-radius: 12px; padding: 18px; margin: 20px 0;
}
.ap-next h3 { font-size: 14px; color: var(--ap-ink); margin: 0 0 10px; }
.ap-next ol { margin: 0; padding-left: 20px; font-size: 13.5px; line-height: 1.9; }
.ap-next strong { color: var(--ap-ink); }

.ap-cta {
    background: #f6f4ef; border: 1px solid var(--ap-line);
    border-radius: 12px; padding: 18px; margin-top: 24px;
}
.ap-cta strong { display: block; color: var(--ap-ink); font-size: 14.5px; margin-bottom: 5px; }
.ap-cta p { margin: 0 0 10px; font-size: 13px; }
.ap-cta a { color: var(--ap-gold); font-weight: 600; font-size: 13.5px; }

.ap-footer {
    display: flex; gap: 22px; flex-wrap: wrap; justify-content: center;
    margin-top: 26px; font-size: 12.5px; color: var(--ap-muted);
}
.ap-footer a:hover { color: var(--ap-gold); }

/* ------------------------------------------------------- Responsive */

@media (max-width: 1024px) {
    .ap-shell { grid-template-columns: 1fr; }
    .ap-aside { padding: 30px 26px; }
    .ap-pitch { margin: 30px 0; }
    .ap-pitch h1 { font-size: 30px; }
    .ap-help { margin-top: 26px; }
    .ap-main { padding: 26px 18px 40px; }
}

@media (max-width: 560px) {
    .ap-card { padding: 24px 20px; border-radius: 14px; }
    .ap-row { grid-template-columns: 1fr; gap: 0; }
    .ap-steps .lbl { display: none; }
    .ap-pitch h1 { font-size: 26px; }
    .ap-figures strong { font-size: 20px; }
}
