/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TOKENS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
    --surface:      #e0e5ec;
    --shadow-dark:  #b8c7dd;
    --shadow-light: #ffffff;
    --accent:       #1B263B;
    --violet:       #7B2FFF;
    --text-dark:    #1a1a2e;
    --text-mid:     #4a5568;
    --text-muted:   #8899aa;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESET & BASE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--surface);
    font-family: 'Inter', sans-serif;
    color: var(--text-mid);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PAGE — colonne centrée
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.page {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 52px 24px 48px;
    gap: 32px;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}

/* ── Logo ── */
.logo {
    height: 32px;
    width: auto;
    mix-blend-mode: multiply;
}

/* ── Tag ── */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: 50px;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
}

.tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--violet);
    box-shadow: 0 0 7px var(--violet);
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%       { opacity: 0.3; transform: scale(0.7); }
}

/* ── Headline ── */
.headline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.4rem, 8vw, 3.6rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--text-dark);
}

.serif-italic {
    display: block;
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 1.05em;
    color: var(--violet);
    letter-spacing: -1px;
    margin-top: 4px;
}

/* ── Form card ── */
.form-card {
    width: 100%;
    background: var(--surface);
    border-radius: 28px;
    padding: 32px 28px;
    box-shadow: 10px 10px 22px var(--shadow-dark), -10px -10px 22px var(--shadow-light);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.3px;
    margin-bottom: 4px;
}

.form-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 50px;
    margin-bottom: 10px;
    box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
}

.input-wrap svg { color: var(--text-muted); flex-shrink: 0; }

.input-wrap input {
    border: none;
    background: transparent;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    width: 100%;
}

.input-wrap input::placeholder { color: #aabbcc; }

.btn {
    width: 100%;
    padding: 16px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    color: #fff;
    background: var(--accent);
    box-shadow: 5px 5px 12px var(--shadow-dark), -5px -5px 12px var(--shadow-light);
    transition: all 0.2s;
    margin-bottom: 14px;
}

.btn:hover {
    box-shadow: inset 4px 4px 10px rgba(0,0,0,0.2);
    transform: scale(0.99);
}

.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* ── Citation ── */
.quote {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    font-weight: 600;
    color: var(--text-mid);
    line-height: 1.55;
    letter-spacing: -0.2px;
}

.quote-serif {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 1.12em;
    color: var(--violet);
}

/* ── Stats ── */
.stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 18px 28px;
    border-radius: 20px;
    width: 100%;
    box-shadow: 6px 6px 14px var(--shadow-dark), -6px -6px 14px var(--shadow-light);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.stat-num {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    line-height: 1;
}

.stat-lbl {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.stat-sep {
    width: 1px;
    height: 30px;
    background: var(--shadow-dark);
    opacity: 0.6;
}

/* ── Instagram ── */
.insta-wrap {
    display: flex;
    justify-content: center;
    padding-bottom: 8px;
}

.btn-insta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-mid);
    background: var(--surface);
    box-shadow: 4px 4px 8px var(--shadow-dark), -4px -4px 8px var(--shadow-light);
    transition: all 0.2s;
}

.btn-insta:hover {
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
    color: var(--accent);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TOAST
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 14px 24px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 999;
}

.toast--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast--success {
    background: #1B263B;
    color: #fff;
    box-shadow: 0 8px 24px rgba(27,38,59,0.25);
}

.toast--error {
    background: #fff0f0;
    color: #c0392b;
    box-shadow: 0 8px 24px rgba(192,57,43,0.15);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.footer {
    text-align: center;
    padding: 16px 24px 28px;
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   DESKTOP — s'élargit mais reste centré
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (min-width: 640px) {
    .page { padding: 72px 32px 64px; gap: 36px; }
    .logo { height: 36px; }
}
