:root {
    --bg: #fdf4ff; /* Fond très clair violet */
    --bg-soft: #f3e8ff; /* Fond doux violet */
    --card: rgba(255, 240, 250, 0.92); /* Carte rose très clair */
    --text: #2d1b2e; /* Texte violet foncé */
    --muted: #7c3aed; /* Texte violet moyen */
    --line: rgba(124, 58, 237, 0.08); /* Ligne violette transparente */
    --accent: #a855f7; /* Accent violet */
    --accent-dark: #7c3aed; /* Violet foncé */
    --accent-soft: rgba(168, 85, 247, 0.12); /* Violet transparent */
    --success: #ff6b9d; /* Rose pour le statut "en ligne" */
    --shadow: 0 28px 80px rgba(124, 58, 237, 0.14); /* Ombre violette */
    --radius-xl: 30px;
    --radius-lg: 22px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(168, 85, 247, 0.16), transparent 26%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.55), transparent 30%),
        linear-gradient(180deg, #fdf4ff 0%, #f3e8ff 100%);
    color: var(--text);
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

img,
a,
button {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

.page {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 18px;
}

.card {
    width: min(1040px, 100%);
    min-height: min(720px, calc(100svh - 36px));
    display: grid;
    grid-template-columns: 0.92fr 1fr;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 36px;
    background: var(--card);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.media {
    position: relative;
    min-height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #e9ddd6;
}

.media::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 34%;
    background: linear-gradient(180deg, rgba(30, 18, 16, 0) 0%, rgba(30, 18, 16, 0.16) 100%);
    pointer-events: none;
}

.media img {
    filter: saturate(1.02) contrast(1.04);
    object-position: center 28%;
}

.photo-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 62px;
    padding: 0 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #7c3aed;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(42, 24, 20, 0.14);
}

.status-dot {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    border-radius: 50%;
    background: var(--success);
    flex: 0 0 auto;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6px 12px 6px 4px;
}

.mini-profile {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    min-height: 38px;
    padding: 0 15px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

h1 {
    margin: 0;
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    line-height: 0.94;
    letter-spacing: -0.055em;
    font-weight: 850;
    max-width: 8.5ch;
}

.subheadline {
    margin: 18px 0 0;
    font-size: clamp(1.06rem, 2vw, 1.2rem);
    line-height: 1.6;
    color: var(--text);
    max-width: 30ch;
}

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

.points li {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(124, 58, 237, 0.08);
    color: #7c3aed;
    font-size: 0.92rem;
    font-weight: 700;
}

.details {
    margin: 16px 0 42px;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--muted);
    max-width: 34ch;
}

.cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 30px;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 78px;
    min-width: 360px;
    width: fit-content;
    padding: 0 38px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff6b9d, #a855f7);
    color: #fff;
    font-size: clamp(1.08rem, 1.35vw, 1.28rem);
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 22px 42px rgba(168, 85, 247, 0.30);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 38px rgba(184, 61, 93, 0.32);
    filter: saturate(1.04);
}

.cta-note {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--accent-dark);
}

@media (max-width: 900px) {
    .page {
        padding: 12px;
    }

    .card {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 14px;
        border-radius: 28px;
    }

    .media {
        min-height: 38svh;
    }

    .media img {
        object-position: center 22%;
    }

    .photo-badge {
        left: 14px;
        bottom: 14px;
        min-height: 56px;
        padding: 0 20px;
        font-size: 1rem;
    }

    .status-dot {
        width: 14px;
        height: 14px;
        min-width: 14px;
        min-height: 14px;
    }

    .content {
        padding: 6px 6px 8px;
    }

    h1 {
        max-width: none;
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .subheadline,
    .details {
        max-width: none;
    }

    .cta-group,
    .cta {
        width: 100%;
    }

    .cta {
        min-height: 68px;
        min-width: 100%;
        padding: 0 24px;
        font-size: 1.05rem;
    }

    .details {
        margin: 16px 0 32px;
    }
}