/* ═══════════════════════════════════════════════════════════════
   GALATÉE — Theme premium dark/rose/gold
   Mobile-first · Lora (titres) + Inter (corps)
   ═══════════════════════════════════════════════════════════════ */


/* ── Reset ────────────────────────────────────────────────────── */

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

.auth-checking {
    visibility: hidden;
}


/* ── Variables ────────────────────────────────────────────────── */

:root {
    /* Couleurs */
    --bg: #0a080a;              /* Noir prune */
    --bg-soft: #050405;         /* Plus sombre (chat) */
    --surface: #141214;         /* Card */
    --surface2: #1a181a;        /* Card 2 */
    --border: rgba(255, 255, 255, 0.06);
    --border-strong: rgba(255, 255, 255, 0.12);

    --text: #f0f0f0;
    --text-muted: #a39f9f;
    --text-dim: #777;

    --accent: #d6336c;          /* Rose profond */
    --accent-soft: #ec5a8c;
    --accent-glow: rgba(214, 51, 108, 0.25);
    --accent-deep: #9d264f;

    --gold: #d4af37;
    --gold-soft: rgba(212, 175, 55, 0.1);
    --gold-border: rgba(212, 175, 55, 0.3);

    --danger: #ff6b7d;

    /* Bulles chat */
    --bubble-luna: #2a1620;     /* Rose très subtil */
    --bubble-luna-border: rgba(214, 51, 108, 0.15);
    --bubble-user: #222222;
    --bubble-user-border: #333;

    /* Layout */
    --radius: 18px;
    --radius-lg: 24px;
    --radius-pill: 100px;

    /* Polices */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Lora', Georgia, serif;
}


/* ── Base ─────────────────────────────────────────────────────── */

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, .font-premium {
    font-family: var(--font-display);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s, opacity 0.2s; }
a:hover { color: var(--accent-soft); }

.text-rose { color: var(--accent); }
.text-gold { color: var(--gold); }
.font-display { font-family: var(--font-display); }

.container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Reveal anim */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }


/* ── Boutons ──────────────────────────────────────────────────── */

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: white;
    padding: 16px 36px;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 10px 30px var(--accent-glow);
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: var(--font-body);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(214, 51, 108, 0.4);
    color: white;
    text-decoration: none;
}
.btn-primary.full { width: 100%; }

.btn-secondary {
    background: var(--surface2);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 13px 22px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    font-family: var(--font-body);
    text-align: center;
}
.btn-secondary:hover:not(:disabled) {
    background: var(--surface);
    border-color: var(--accent);
}
.btn-secondary:disabled { opacity: 0.5; cursor: default; }

.btn-danger {
    background: rgba(255, 107, 125, 0.1);
    color: var(--danger);
    border: 1px solid rgba(255, 107, 125, 0.3);
    padding: 13px 22px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
    font-family: var(--font-body);
}
.btn-danger:hover { background: rgba(255, 107, 125, 0.2); }

.btn-text {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
    font-family: var(--font-body);
    text-align: center;
}
.btn-text:hover { color: var(--accent); }


/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE
   ═══════════════════════════════════════════════════════════════ */


/* ── Header landing ────────────────────────────────────────────── */

.landing-header {
    padding: 18px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(10, 8, 10, 0.85);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}
.landing-header .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 54px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.5px;
}
.logo img {
    display: block;
    width: auto;
    height: 100%;
    object-fit: contain;
}
.logo span {
    display: inline-block;
    line-height: 1;
}
.logo:hover { opacity: 0.88; }
.nav-cta {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    transition: all 0.2s;
}
.nav-cta:hover {
    color: white;
    border-color: var(--gold);
    background: var(--gold-soft);
}


/* ── Hero ─────────────────────────────────────────────────────── */

.hero {
    padding: 100px 0 50px;
    display: flex;
    flex-direction: column;
    gap: 36px;
    align-items: center;
    text-align: center;
    position: relative;
}
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    pointer-events: none;
}
.hero::before {
    z-index: 0;
    background: url('/img/site/Backheros.webp') center/cover no-repeat;
}
.hero::after {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(10, 8, 10, 0.95) 0%, rgba(10, 8, 10, 0.82) 48%, rgba(10, 8, 10, 0.9) 100%),
        radial-gradient(circle at 32% 45%, rgba(214, 51, 108, 0.1), transparent 42%);
}
.hero > * {
    position: relative;
    z-index: 2;
}
.hero-text { width: 100%; max-width: 600px; }

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: var(--gold-soft);
    border: 1px solid var(--gold-border);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 22px;
}
.hero h1 {
    font-size: clamp(1.85rem, 7vw, 2.6rem);
    line-height: 1.15;
    font-weight: 500;
    margin-bottom: 20px;
}
.hero p.lead {
    font-size: clamp(1.08rem, 2.7vw, 1.24rem);
    color: rgba(255, 255, 255, 0.94);
    margin-bottom: 28px;
    line-height: 1.65;
}
.hero-reassurance {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    font-size: 0.8rem;
    color: var(--text-dim);
    align-items: center;
}


/* ── Phone mockup (landing) ───────────────────────────────────── */

.phone-container {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    padding: 8px 0;
}
.phone-container::before {
    content: '';
    position: absolute;
    width: 70%;
    height: 70%;
    background: var(--accent);
    filter: blur(80px);
    opacity: 0.18;
    z-index: 0;
    top: 15%;
    left: 15%;
    pointer-events: none;
}
.phone {
    width: min(300px, 88vw);
    height: clamp(500px, 100vw, 580px);
    border: 7px solid #1a181a;
    border-radius: 38px;
    background: var(--bg);
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), inset 0 0 0 1px #333;
    display: flex;
    flex-direction: column;
}
.dm-header {
    padding: 16px 14px 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 8, 10, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.dm-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: var(--surface) center/cover no-repeat;
    flex-shrink: 0;
}
.dm-info h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}
.dm-info p {
    font-size: 0.72rem;
    color: var(--gold);
    font-weight: 500;
    margin: 0;
}
.dm-body {
    flex: 1;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    background: var(--bg-soft);
}
.dm-msg {
    padding: 10px 14px;
    border-radius: 18px;
    max-width: 82%;
    font-size: 0.88rem;
    line-height: 1.4;
    opacity: 0;
    animation: dmSlideIn 0.4s forwards;
}
.dm-msg.luna {
    background: var(--bubble-luna);
    border: 1px solid var(--bubble-luna-border);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.dm-msg.me {
    background: var(--bubble-user);
    border: 1px solid var(--bubble-user-border);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    color: #ccc;
}
.dm-typing {
    display: none;
    gap: 4px;
    padding: 12px 16px;
    background: var(--bubble-luna);
    border: 1px solid var(--bubble-luna-border);
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    width: fit-content;
    align-self: flex-start;
}
.dm-typing .dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: dotBounce 1.4s infinite;
    opacity: 0.6;
}
.dm-typing .dot:nth-child(2) { animation-delay: 0.2s; }
.dm-typing .dot:nth-child(3) { animation-delay: 0.4s; }
.dm-input-fake {
    padding: 12px;
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
}
.dm-input-fake .pill {
    background: var(--surface2);
    padding: 10px 16px;
    border-radius: 22px;
    color: var(--text-dim);
    font-size: 0.85rem;
    border: 1px solid var(--border);
}

@keyframes dmSlideIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dotBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }


/* ── Sections sombres / claires (landing) ─────────────────────── */

.section-alt {
    padding: 56px 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.section-block { padding: 60px 0; }

.section-title {
    text-align: center;
    font-size: clamp(1.55rem, 5vw, 2rem);
    margin-bottom: 14px;
    padding: 0 8px;
}
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: clamp(0.95rem, 2.4vw, 1.05rem);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.6;
    padding: 0 8px;
}


/* ── Cards "problème vs solution" ─────────────────────────────── */

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
.card-problem {
    background: var(--bg);
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: 0.3s;
}
.card-problem:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}
.card-problem h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text);
}
.card-problem p {
    color: var(--text-muted);
    font-size: 0.95rem;
}
.icon-cross {
    color: #883333;
    margin-right: 8px;
    font-weight: bold;
}
.icon-check {
    color: var(--gold);
    margin-right: 8px;
    font-weight: bold;
}


/* ── Feature rows alternées ───────────────────────────────────── */

.feature-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    margin-bottom: 56px;
}
.feature-row:last-child { margin-bottom: 0; }
.f-text { width: 100%; }
.feature-tag {
    color: var(--gold);
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}
.f-text h3 {
    font-size: clamp(1.45rem, 4.5vw, 1.85rem);
    margin-bottom: 14px;
    line-height: 1.25;
}
.f-text p {
    color: var(--text-muted);
    font-size: clamp(0.95rem, 2.4vw, 1rem);
    line-height: 1.7;
    margin-bottom: 16px;
}
.f-visual {
    position: relative;
    width: 100%;
}
.visual-box {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 22px 22px 22px 26px;
    border-radius: var(--radius-lg);
    color: var(--text-muted);
    font-style: italic;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
}
.visual-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--accent);
}
.visual-box .quote-author {
    color: white;
    margin-bottom: 8px;
    font-weight: 500;
    font-style: normal;
}

.section-mini-cta {
    margin: 10px auto 0;
    max-width: 620px;
    text-align: center;
    padding: 28px 18px 0;
}
.section-mini-cta p {
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3.8vw, 1.55rem);
    margin-bottom: 16px;
}
.section-mini-cta span {
    display: block;
    margin-top: 14px;
    color: var(--text-dim);
    font-size: 0.8rem;
}


/* ── Section Modèles disponibles ──────────────────────────────── */

.models-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
}
.models-footnote {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-top: 28px;
    line-height: 1.6;
}
.models-footnote a {
    color: var(--accent);
    font-weight: 500;
}
.model-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}
.model-card:hover { transform: translateY(-4px); }
.model-card.active { border-color: var(--accent); }
.model-card.active:hover { border-color: var(--accent-soft); }
.model-card.locked {
    opacity: 0.85;
}
.model-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: var(--surface2);
    position: relative;
    overflow: hidden;
}
.model-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.model-photo.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--surface2), var(--surface));
}
.model-photo.placeholder::after {
    content: 'photo bientôt';
    color: var(--text-dim);
    font-size: 0.8rem;
    font-style: italic;
}
.model-photo.locked-photo img,
.model-photo.locked-photo {
    filter: blur(8px) saturate(0.5) brightness(0.6);
}
.model-photo .lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 8, 10, 0.5);
    color: white;
    font-size: 1.6rem;
}
.model-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    z-index: 2;
}
.model-badge.live {
    background: var(--accent);
    color: white;
}
.model-badge.soon {
    background: rgba(10, 8, 10, 0.85);
    color: var(--gold);
    border: 1px solid var(--gold-border);
}
.model-info {
    padding: 18px 20px;
}
.model-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--text);
}
.model-name .age-pill {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 1rem;
    margin-left: 4px;
}
.model-meta {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 12px;
}
.model-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.model-tag {
    background: var(--surface2);
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    border: 1px solid var(--border);
}


/* ── Section Bio Chloé / Galatée (landing) ────────────────────── */

.bio-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 38px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to bottom, rgba(20, 18, 20, 0.4), rgba(10, 8, 10, 0.95)), var(--surface);
}
.bio-card h3 {
    font-size: clamp(1.4rem, 4.5vw, 1.7rem);
    margin-bottom: 16px;
    color: var(--gold);
}
.bio-card p {
    font-size: clamp(0.98rem, 2.5vw, 1.05rem);
    line-height: 1.7;
    color: #eaeaea;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* Section "À propos" — contenu SEO ────────────────── */
.about-content {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text);
}
.about-content p {
    color: var(--text-muted);
    font-size: clamp(0.96rem, 2.4vw, 1.02rem);
    line-height: 1.75;
    margin-bottom: 16px;
}
.about-content p strong {
    color: var(--text);
    font-weight: 600;
}
.about-proof {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    margin: 28px 0 24px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg);
}
.about-proof img {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid var(--border-strong);
}
.about-proof > div {
    text-align: center;
}
.about-content .about-proof-title {
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    line-height: 1.25;
    margin-bottom: 10px;
}
.about-proof .btn-primary {
    margin-top: 4px;
}
.about-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 22px;
}
.about-list li {
    color: var(--text-muted);
    font-size: clamp(0.94rem, 2.3vw, 1rem);
    line-height: 1.6;
    padding: 10px 0 10px 30px;
    position: relative;
    border-bottom: 1px solid var(--border);
}
.about-list li:last-child { border-bottom: none; }
.about-list li::before {
    content: "✦";
    color: var(--accent);
    position: absolute;
    left: 6px;
    top: 10px;
    font-size: 0.95rem;
}
.about-list li strong {
    color: var(--text);
    font-weight: 600;
}


/* ── FAQ landing ──────────────────────────────────────────────── */

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-item summary {
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 500;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    transition: background 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    color: var(--accent);
    font-size: 1.3rem;
    transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { background: var(--surface2); }
.faq-item p {
    padding: 0 22px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}


/* ── CTA final + footer landing ───────────────────────────────── */

.final-cta {
    padding: 70px 0;
    text-align: center;
}
.final-cta h2 {
    font-size: clamp(1.7rem, 5.5vw, 2.4rem);
    margin-bottom: 16px;
}
.final-cta p {
    color: var(--text-muted);
    font-size: clamp(0.95rem, 2.4vw, 1.05rem);
    margin-bottom: 26px;
}
.btn-cta-final {
    font-size: clamp(0.98rem, 2.6vw, 1.1rem) !important;
    padding: 17px clamp(28px, 6vw, 44px) !important;
}
.cta-meta {
    margin-top: 18px !important;
    font-size: 0.78rem !important;
    color: var(--text-dim) !important;
}

.landing-footer {
    text-align: center;
    padding: 36px 20px 26px;
    color: var(--text-dim);
    font-size: 0.78rem;
    border-top: 1px solid var(--border);
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 68px;
    margin-bottom: 18px;
    opacity: 0.92;
}
.footer-logo img {
    display: block;
    width: auto;
    height: 100%;
    object-fit: contain;
}
.footer-logo:hover { opacity: 1; }
.landing-footer p { margin-bottom: 6px; }
.footer-tagline {
    color: var(--text-muted) !important;
    font-style: italic;
}


/* ── Footer links (réutilisable) ──────────────────────────────── */

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.82rem;
}
.footer-links a {
    color: var(--text-muted);
    cursor: pointer;
}
.footer-links a:hover {
    color: var(--accent);
    text-decoration: none;
}
.footer-links span { color: var(--border-strong); }


/* ═══════════════════════════════════════════════════════════════
   AUTH PAGES (login / register)
   ═══════════════════════════════════════════════════════════════ */

.auth-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 28px 20px;
}
.auth-page .logo {
    margin-bottom: 36px;
    font-size: 1.7rem;
}
.auth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 38px 28px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}
.auth-card h2 {
    font-size: 1.6rem;
    margin-bottom: 6px;
    font-weight: 500;
}
.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 26px;
}
.auth-card form { display: flex; flex-direction: column; gap: 14px; }

.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="text"],
.auth-card textarea {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text);
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
    font-family: var(--font-body);
}
.auth-card input:focus,
.auth-card textarea:focus { border-color: var(--accent); }
.auth-card textarea {
    font-size: 0.95rem;
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
}
.auth-card input::placeholder,
.auth-card textarea::placeholder { color: var(--text-dim); }

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
    accent-color: var(--accent);
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.auth-footer {
    text-align: center;
    margin-top: 22px;
    font-size: 0.88rem;
    color: var(--text-muted);
}
.error-msg {
    color: var(--danger);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 12px;
    min-height: 20px;
}
.auth-legal-footer {
    text-align: center;
    margin-top: 26px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.auth-legal-footer a { color: var(--text-muted); cursor: pointer; }
.auth-legal-footer a:hover { color: var(--accent); text-decoration: none; }
.auth-legal-footer span { color: var(--border-strong); margin: 0 6px; }


/* ═══════════════════════════════════════════════════════════════
   MEMBER AREA — Header + drawer commun
   ═══════════════════════════════════════════════════════════════ */

.member-body {
    background: var(--bg);
    min-height: 100vh;
    min-height: 100dvh;
}

.member-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 8, 10, 0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.member-header-inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.burger-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 50%;
    transition: background 0.15s;
}
.burger-btn:hover { background: var(--surface); }
.burger-btn span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
}

/* Drawer */
.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100vh;
    height: 100dvh;
    background: var(--surface);
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.25s ease-out;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}
.drawer.open { transform: translateX(0); }

.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.drawer-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}
.drawer-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: background 0.15s;
}
.drawer-close:hover {
    background: var(--surface2);
    color: var(--text);
}

.drawer-nav {
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow-y: auto;
    flex: 1;
}
.drawer-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px;
    color: var(--text);
    font-size: 0.95rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
    font-family: var(--font-body);
    text-decoration: none;
    width: 100%;
}
.drawer-link:hover {
    background: var(--surface2);
    text-decoration: none;
    color: var(--text);
}
.drawer-link.drawer-active {
    background: var(--surface2);
    color: var(--accent);
    font-weight: 600;
}
.drawer-link.drawer-danger { color: var(--danger); }
.drawer-link.drawer-danger:hover { background: rgba(255, 107, 125, 0.08); }
.drawer-icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}
.drawer-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 22px;
}


/* ═══════════════════════════════════════════════════════════════
   PAGE PROFIL CHLOÉ (hub membre)
   ═══════════════════════════════════════════════════════════════ */

.member-main {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 18px 50px;
}

.persona-hero {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 22px 28px;
    margin-bottom: 28px;
    text-align: center;
    overflow: hidden;
    position: relative;
}
.persona-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 60%;
    background: var(--accent);
    filter: blur(80px);
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}
.persona-hero > * { position: relative; z-index: 1; }

.persona-photo-wrap {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: visible;
    background: var(--surface2);
    border: 3px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}
.persona-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.persona-photo-wrap.photo-fallback::before {
    content: "C";
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 600;
    color: white;
}
.persona-status {
    position: absolute;
    bottom: 10px;
    right: -14px;
    background: rgba(10, 8, 10, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--text);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--border);
    white-space: nowrap;
}

.persona-name {
    font-size: 1.9rem;
    font-weight: 500;
    margin-bottom: 6px;
}
.persona-age {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 1.4rem;
    margin-left: 4px;
}
.persona-meta {
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}
.persona-bio {
    color: var(--text);
    font-size: 0.96rem;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto 24px;
}

.btn-cta {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    font-size: 1rem;
    font-weight: 600;
}
.btn-arrow { transition: transform 0.2s; }
.btn-cta:hover .btn-arrow { transform: translateX(4px); }

.member-section-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 14px;
    padding-left: 4px;
}

.persona-gallery-section,
.persona-private-gallery-section,
.persona-details-section { margin-bottom: 28px; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    border-radius: 14px;
    overflow: hidden;
}
.gallery-item {
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    background: var(--surface2);
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 6px;
}
.gallery-item:hover { opacity: 0.85; transform: scale(1.02); }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-empty {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-style: italic;
    padding: 20px;
    text-align: center;
    background: var(--surface);
    border-radius: 14px;
    border: 1px dashed var(--border);
}

.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.section-title-row .member-section-title {
    margin-bottom: 0;
}
.section-soon-badge {
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-pill);
    padding: 4px 9px;
    color: var(--gold);
    background: var(--gold-soft);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.private-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    border-radius: 14px;
    overflow: hidden;
}
.private-gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 6px;
    background: var(--surface2);
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.private-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: blur(9px) saturate(0.75) brightness(0.58);
    transform: scale(1.08);
}
.private-gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px;
    background: rgba(5, 4, 5, 0.36);
    color: var(--text);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}
.private-lock {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(10, 8, 10, 0.72);
    border: 1px solid var(--border-strong);
    font-size: 1rem;
}
.private-gallery-hint {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.45;
    padding: 0 4px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface);
    padding: 14px 18px;
    border: none;
    margin-bottom: 1px;
    font-size: 0.92rem;
}
.persona-details-section .detail-row:first-of-type {
    border-radius: 14px 14px 0 0;
}
.persona-details-section .detail-row:last-of-type {
    border-radius: 0 0 14px 14px;
}
.detail-label { color: var(--text-muted); }

.persona-cta-bottom {
    text-align: center;
    padding: 28px 0 14px;
}
.persona-cta-bottom .hint {
    margin-top: 14px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.member-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}
.member-footer p {
    color: var(--text-dim);
    font-size: 0.75rem;
    margin-top: 8px;
}


/* ── Lightbox ─────────────────────────────────────────────────── */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img {
    max-width: 92vw;
    max-height: 86vh;
    object-fit: contain;
    border-radius: 8px;
    user-select: none;
    -webkit-user-drag: none;
}
.lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
}
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2.2rem;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 50%;
    z-index: 1001;
    transition: background 0.2s;
}
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 0.85rem;
}
@media (max-width: 600px) {
    .lightbox-prev, .lightbox-next { display: none; }
}


/* ═══════════════════════════════════════════════════════════════
   CHAT INTERFACE
   ═══════════════════════════════════════════════════════════════ */

.chat-body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    overscroll-behavior: none;
    height: 100%;
    background: var(--bg);
}

.chat-app {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 600px;
    width: 100%;
    height: var(--app-height, 100dvh);
    display: flex;
    flex-direction: column;
    background: var(--bg-soft);
    overflow: hidden;
    will-change: transform;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(10, 8, 10, 0.92);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    z-index: 10;
}
.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}
.chat-header-info:hover { text-decoration: none; opacity: 0.85; color: var(--text); }

.avatar-small {
    width: 40px;
    height: 40px;
    background: var(--surface2);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    overflow: hidden;
    flex-shrink: 0;
    color: white;
}
.avatar-small img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-tiny {
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.65rem;
    flex-shrink: 0;
    color: white;
}

.chat-name {
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-body);
}
.chat-status {
    font-size: 0.75rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 6px;
}
.status-dot {
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    display: inline-block;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--bg-soft);
}

.msg {
    max-width: 80%;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    line-height: 1.45;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    width: fit-content;
}
.msg-user {
    background: var(--bubble-user);
    border: 1px solid var(--bubble-user-border);
    color: var(--text);
    align-self: flex-end;
    border-bottom-right-radius: 6px;
}
.msg-luna {
    background: var(--bubble-luna);
    border: 1px solid var(--bubble-luna-border);
    color: var(--text);
    align-self: flex-start;
    border-bottom-left-radius: 6px;
    animation: fadeInUp 0.3s ease-out;
}
.msg-luna.msg-luna-follow {
    margin-top: 2px;
    border-top-left-radius: 6px;
}
.msg-luna + .msg-luna-follow { margin-top: 2px; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
}
.typing-dots {
    display: flex;
    gap: 4px;
    padding: 10px 14px;
    background: var(--bubble-luna);
    border: 1px solid var(--bubble-luna-border);
    border-radius: 20px;
    border-bottom-left-radius: 6px;
}
.typing-dots span {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite;
    opacity: 0.6;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.chat-input-bar {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    background: rgba(10, 8, 10, 0.92);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--border);
    flex-shrink: 0;
    align-items: flex-end;
}
#msg-input {
    flex: 1;
    display: block;
    width: 100%;
    min-width: 0;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-sizing: border-box;
    height: 44px;
    min-height: 44px;
    max-height: 124px;
    padding: 11px 16px;
    color: var(--text);
    font-size: 16px;
    outline: none;
    -webkit-appearance: none;
    line-height: 1.35;
    font-family: var(--font-body);
    resize: none;
    overflow-y: hidden;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
    scrollbar-width: none;
}
#msg-input::-webkit-resizer { display: none; }
#msg-input::-webkit-scrollbar { display: none; }
#msg-input:focus { border-color: var(--accent); }
#msg-input::placeholder { color: var(--text-dim); }

.btn-send {
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 14px var(--accent-glow);
}
.btn-send:hover { transform: scale(1.05); }
.btn-send:active { transform: scale(0.95); }
.btn-send:disabled {
    cursor: not-allowed;
    opacity: 0.42;
    transform: none;
    box-shadow: none;
    filter: grayscale(0.35);
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }

.upgrade-hint {
    align-self: center;
    text-align: center;
    padding: 16px 20px;
    margin: 12px 0;
    background: var(--surface);
    border: 1px solid var(--gold-border);
    border-radius: 16px;
    font-size: 0.88rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 360px;
}
.upgrade-link {
    color: var(--gold) !important;
    font-weight: 600;
    font-size: 0.92rem;
}

.daily-limit-notice {
    align-self: center;
    width: min(420px, 100%);
    margin: 12px 0;
    padding: 16px 18px;
    border: 1px solid var(--gold-border);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(214, 51, 108, 0.12), rgba(216, 178, 110, 0.08)), var(--surface);
    color: var(--text);
    text-align: center;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}
.daily-limit-notice strong {
    display: block;
    margin-bottom: 6px;
    color: var(--gold);
    font-size: 0.92rem;
    font-weight: 700;
}
.daily-limit-notice span {
    display: block;
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.45;
}
.daily-limit-notice small {
    display: block;
    margin-top: 8px;
    color: var(--text-dim);
    font-size: 0.76rem;
    line-height: 1.35;
}


/* ═══════════════════════════════════════════════════════════════
   ACCOUNT PAGE
   ═══════════════════════════════════════════════════════════════ */

.account-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 8, 10, 0.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.account-header-inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.back-arrow {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 1.5rem;
    border-radius: 50%;
    transition: background 0.15s;
}
.back-arrow:hover {
    background: var(--surface);
    text-decoration: none;
    color: var(--text);
}

.account-main {
    max-width: 600px;
    margin: 0 auto;
    padding: 24px 18px 60px;
}

.account-user-card {
    text-align: center;
    margin-bottom: 26px;
    padding: 8px 0;
}
.account-avatar {
    width: 92px;
    height: 92px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: white;
    font-size: 2.4rem;
    font-weight: 700;
    font-family: var(--font-display);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px var(--accent-glow);
}
.account-user-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}
.account-user-email {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 4px;
    word-break: break-all;
}
.account-user-meta {
    color: var(--text-dim);
    font-size: 0.78rem;
}

.upgrade-banner {
    margin-bottom: 30px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    box-shadow: 0 12px 32px var(--accent-glow);
    cursor: pointer;
    transition: transform 0.2s;
}
.upgrade-banner:hover { transform: translateY(-2px); }
.upgrade-banner-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
}
.upgrade-banner-icon {
    font-size: 1.7rem;
    flex-shrink: 0;
}
.upgrade-banner-text { flex: 1; min-width: 0; }
.upgrade-banner-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: white;
    margin-bottom: 2px;
}
.upgrade-banner-sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.35;
}
.upgrade-banner-btn {
    background: white;
    color: var(--accent);
    border: none;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    flex-shrink: 0;
    font-family: var(--font-body);
    transition: transform 0.15s;
}
.upgrade-banner-btn:hover { transform: scale(1.05); }

.settings-section { margin-bottom: 28px; }
.settings-title {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 0 4px 8px;
}
.settings-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}
.settings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.1s;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    color: var(--text);
    font-size: 0.92rem;
    font-family: var(--font-body);
    text-align: left;
    width: 100%;
}
.settings-row:last-child { border-bottom: none; }
.settings-row:hover:not(.settings-row-static) { background: var(--surface2); }
.settings-row-static { cursor: default; }
.settings-row-static:hover { background: none; }
.settings-row-action { background: none; }
.settings-row-danger .settings-label { color: var(--danger); }

.settings-label {
    color: var(--text-muted);
    font-size: 0.92rem;
    flex-shrink: 0;
}
.settings-row-action .settings-label { color: var(--text); }
.settings-row-danger .settings-label { color: var(--danger); }

.settings-value {
    color: var(--text);
    font-size: 0.9rem;
    text-align: right;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 60%;
}
.value-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}
.settings-chevron {
    color: var(--text-dim);
    font-size: 1.1rem;
    line-height: 1;
}
.settings-badge-verified {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 600;
}
.settings-soon {
    background: var(--surface2);
    color: var(--text-muted);
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
}
.settings-hint {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
    margin-top: 12px;
    padding: 0 16px;
    line-height: 1.5;
}

/* Personas mini cards (account) */
.personas-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.persona-card-mini {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform 0.2s, border-color 0.2s;
}
.persona-card-mini.persona-active {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(214, 51, 108, 0.08), var(--surface));
}
.persona-card-mini.persona-locked { opacity: 0.7; }

.persona-card-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--surface2);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.4rem;
    border: 2px solid var(--border);
}
.persona-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.persona-card-blur {
    filter: blur(2px) saturate(0.5);
    background: linear-gradient(135deg, var(--surface2), var(--bg));
}
.persona-fallback-letter {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.6rem;
    font-weight: 700;
}
.persona-card-info { flex: 1; min-width: 0; }
.persona-card-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 2px;
}
.persona-card-age {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.85rem;
}
.persona-card-meta {
    color: var(--text-muted);
    font-size: 0.78rem;
}
.persona-card-status {
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}
.persona-locked .persona-card-status {
    color: var(--text-muted);
    text-transform: none;
    font-weight: 500;
}

.account-footer {
    text-align: center;
    margin-top: 40px;
    color: var(--text-dim);
    font-size: 0.72rem;
    line-height: 1.5;
}
.account-footer p { margin-bottom: 2px; }

.account-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    gap: 12px;
}
.account-row:last-of-type { border-bottom: none; }
.account-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-shrink: 0;
}
.account-value {
    color: var(--text);
    font-size: 0.9rem;
    text-align: right;
    word-break: break-word;
}
.account-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
}
.account-loading {
    text-align: center;
    color: var(--text-muted);
    padding: 30px 0;
    font-size: 0.9rem;
}


/* ═══════════════════════════════════════════════════════════════
   MODALS LÉGAUX
   ═══════════════════════════════════════════════════════════════ */

.legal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 300;
    opacity: 0;
    transition: opacity 0.2s;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
}
.legal-overlay.active { opacity: 1; pointer-events: auto; }

.legal-sheet {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.25s ease-out;
    position: relative;
    -webkit-overflow-scrolling: touch;
}
.legal-overlay.active .legal-sheet { transform: translateY(0); }

.legal-close {
    position: sticky;
    top: 12px;
    margin-left: auto;
    margin-right: 12px;
    display: block;
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    z-index: 5;
    transition: background 0.15s, color 0.15s;
}
.legal-close:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.legal-content {
    padding: 0 24px 32px;
    color: var(--text);
}
.legal-content h2 {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 8px;
}
.legal-content h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-top: 22px;
    margin-bottom: 8px;
    color: var(--accent);
}
.legal-content p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text);
    margin-bottom: 10px;
}
.legal-content ul { margin: 8px 0 12px 18px; }
.legal-content ul li {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 4px;
}
.legal-content a { color: var(--accent); }
.legal-meta {
    font-size: 0.78rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 16px !important;
}
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 18px;
    font-size: 0.85rem;
}
.legal-table th,
.legal-table td {
    border: 1px solid var(--border-strong);
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}
.legal-table th {
    background: var(--surface2);
    font-weight: 600;
    color: var(--accent);
}


/* ── Plans (subscription modal) ───────────────────────────────── */

.app-notice {
    position: fixed;
    left: 50%;
    bottom: calc(22px + env(safe-area-inset-bottom));
    z-index: 500;
    width: min(420px, calc(100vw - 32px));
    padding: 13px 16px;
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    background: rgba(28, 22, 28, 0.96);
    color: var(--text);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    font-size: 0.9rem;
    line-height: 1.45;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 16px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.app-notice.visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.app-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 520;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.72);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}
.app-confirm-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}
.app-confirm {
    width: min(390px, 100%);
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    background: var(--surface);
    padding: 22px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
    transform: translateY(10px) scale(0.98);
    transition: transform 0.18s ease;
}
.app-confirm-overlay.visible .app-confirm {
    transform: translateY(0) scale(1);
}
.app-confirm h3 {
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
}
.app-confirm p {
    margin-bottom: 18px;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}
.app-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.plan-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 14px;
    transition: border-color 0.2s;
}
.plan-card.plan-highlight {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(214, 51, 108, 0.08), var(--surface2));
}
.plan-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
}
.plan-head h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text);
}
.plan-price {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent);
}
.plan-price span {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 2px;
}
.plan-features {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}
.plan-features li {
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--text);
    position: relative;
    padding-left: 22px;
}
.plan-features li::before {
    content: "✓";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: 700;
}
.plan-features li em {
    color: var(--text-muted);
    font-style: normal;
    font-size: 0.78rem;
}
.plan-btn { width: 100%; }


/* ═══════════════════════════════════════════════════════════════
   AGE GATE
   ═══════════════════════════════════════════════════════════════ */

.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(10, 8, 10, 0.96);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.2s;
}
.age-gate.active { opacity: 1; }
.age-gate-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}
.age-gate-emoji {
    font-size: 3rem;
    margin-bottom: 14px;
}
.age-gate-card h2 {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 14px;
}
.age-gate-card p {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 12px;
}
.age-gate-meta {
    color: var(--text-muted) !important;
    font-size: 0.8rem !important;
    margin-bottom: 22px !important;
}
.age-gate-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — desktop refinements (mobile-first par défaut)
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 430px) {
    .container { padding: 0 20px; }

    .landing-header { padding: 10px 0; }
    .landing-header .nav-inner { padding: 0 14px; }
    .logo {
        height: 50px;
        gap: 8px;
        font-size: 1.35rem;
    }
    .nav-cta {
        padding: 8px 13px;
        font-size: 0.8rem;
    }

    .hero {
        padding: 96px 20px 46px;
        gap: 30px;
    }
    .premium-badge {
        max-width: 100%;
        justify-content: center;
        white-space: normal;
        line-height: 1.35;
        letter-spacing: 0.9px;
    }
    .hero h1 {
        font-size: clamp(2rem, 8.2vw, 2.22rem);
        margin-bottom: 18px;
    }
    .hero p.lead {
        font-size: 1.12rem;
        line-height: 1.62;
        margin-bottom: 24px;
    }
    .btn-primary {
        width: 100%;
        max-width: 340px;
        padding: 15px 20px;
    }
    .hero-reassurance {
        max-width: 330px;
        margin: 18px auto 0;
        gap: 8px 10px;
        line-height: 1.5;
    }
    .phone {
        width: min(320px, calc(100vw - 48px));
        height: clamp(470px, 118vw, 540px);
        border-width: 6px;
        border-radius: 34px;
    }

    .section-alt { padding: 50px 0; }
    .section-block { padding: 54px 0; }
    .section-title {
        font-size: clamp(1.7rem, 7vw, 2rem);
        padding: 0;
    }
    .section-subtitle {
        padding: 0;
        margin-bottom: 32px;
        font-size: 1rem;
    }
    .grid-3 { gap: 16px; }
    .card-problem,
    .visual-box,
    .bio-card,
    .seo-card {
        padding-left: 20px;
        padding-right: 20px;
    }
    .feature-row {
        gap: 24px;
        margin-bottom: 48px;
    }
    .models-grid { gap: 16px; }
    .model-info { padding: 18px; }
    .final-cta { padding: 70px 20px; }
}

@media (max-width: 370px) {
    .logo span { display: none; }
    .nav-cta { padding: 8px 12px; }
    .hero { padding-left: 16px; padding-right: 16px; }
    .persona-status {
        right: -8px;
        font-size: 0.66rem;
    }
}

@media (min-width: 480px) {
    .models-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 .card-problem:last-child { grid-column: span 2; }
}

@media (min-width: 600px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-3 .card-problem:last-child { grid-column: auto; }
    .age-gate-actions {
        flex-direction: row-reverse;
        justify-content: center;
    }
    .age-gate-actions .btn-primary {
        flex: 0 0 auto;
        padding: 14px 32px;
    }
    .age-gate-actions .btn-text { flex: 0 0 auto; }
}

@media (min-width: 768px) {
    .container { padding: 0 24px; }

    .hero {
        flex-direction: row;
        text-align: left;
        gap: 60px;
        padding: 150px 0 80px;
        align-items: center;
    }
    .hero-text { flex: 1.2; max-width: none; }
    .phone-container { flex: 0.8; overflow: visible; }
    .hero-reassurance { justify-content: flex-start; }

    .section-block { padding: 90px 0; }
    .section-alt { padding: 80px 0; }
    .final-cta { padding: 100px 0; }

    .feature-row {
        flex-direction: row;
        align-items: center;
        gap: 60px;
        margin-bottom: 90px;
    }
    .feature-row:nth-child(even) { flex-direction: row-reverse; }
    .f-text { flex: 1; }
    .f-visual { flex: 1; }
    .visual-box { padding: 30px 30px 30px 34px; font-size: 1rem; }

    .about-proof {
        flex-direction: row;
        align-items: center;
        padding: 22px;
    }
    .about-proof img {
        width: 180px;
        flex-shrink: 0;
    }
    .about-proof > div {
        text-align: left;
    }

    .legal-overlay {
        align-items: center;
        padding: 40px 20px;
    }
    .legal-sheet {
        border-radius: 22px;
        max-height: 80vh;
        transform: translateY(20px);
    }

    .persona-hero { padding: 36px 30px; }
    .persona-photo-wrap { width: 180px; height: 180px; }
    .persona-name { font-size: 2.2rem; }

    .bio-card { padding: 56px 40px; }
}

@media (min-width: 1024px) {
    .models-grid { grid-template-columns: repeat(4, 1fr); }
    .feature-row { gap: 80px; }
}

/* ── Décoration H1 pages SEO (pseudo-éléments, 0 impact SEO) ──── */
.seo-hero .phone-container::before {
    content: none;
    display: none;
}
.seo-hero .geo-tldr {
    display: none;
}
.seo-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 6.5vw, 2.6rem);
    line-height: 1.2;
    font-weight: 500;
    margin-bottom: 22px;
    max-width: 720px;
}

.seo-hero h1::before {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 0 0 22px;
    border-radius: 2px;
}
.seo-hero h1::after {
    content: " ✦";
    color: var(--gold);
    font-weight: 300;
    margin-left: 10px;
    opacity: 0.65;
    font-size: 0.85em;
}

/* Variante home (pas de classe .seo-hero, on cible #hero-title) */
#hero-title::before {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 0 auto 22px;
    border-radius: 2px;
}
#hero-title::after {
    content: " ✦";
    color: var(--gold);
    font-weight: 300;
    margin-left: 10px;
    opacity: 0.65;
    font-size: 0.85em;
}

/* ── Maillage interne (chips de pages liées) ──────────────────── */
.seo-related {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}
.seo-related a {
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 8px 14px;
    background: var(--surface);
    font-size: 0.82rem;
    transition: all 0.2s;
}
.seo-related a:hover {
    color: var(--accent);
    border-color: var(--accent);
    text-decoration: none;
}

/* Conversion pattern SEO pages */
.seo-hero .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.conversion-profile-card {
    position: relative;
    width: min(100%, 390px);
    margin: 0 auto;
    aspect-ratio: 4 / 5.55;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, 0.26);
    background: var(--surface);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
}
.conversion-profile-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 8, 10, 0.08) 0%, rgba(10, 8, 10, 0.08) 38%, rgba(10, 8, 10, 0.76) 73%, rgba(10, 8, 10, 0.98) 100%);
    pointer-events: none;
}
.conversion-profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.conversion-card-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 0 18px 18px;
}
.conversion-card-name {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.7rem);
    line-height: 1;
    font-weight: 500;
    margin-bottom: 7px;
}
.conversion-card-meta {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    margin-bottom: 10px;
}
.conversion-card-quote {
    max-width: 320px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.98rem;
    line-height: 1.45;
    font-style: italic;
    margin-bottom: 16px;
}
.conversion-story-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
}
.conversion-story-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(10, 8, 10, 0.52);
    color: var(--text);
    text-align: left;
    cursor: pointer;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transition: border-color 0.18s, transform 0.18s, background 0.18s;
    font-family: var(--font-body);
}
.conversion-story-trigger:hover {
    transform: translateY(-1px);
    border-color: rgba(214, 51, 108, 0.7);
    background: rgba(20, 18, 20, 0.72);
}
.conversion-story-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    flex-shrink: 0;
}
.conversion-story-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid #120d12;
}
.conversion-story-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.conversion-story-title {
    font-size: 0.9rem;
    font-weight: 650;
    color: white;
}
.conversion-story-label {
    font-size: 0.77rem;
    color: var(--text-muted);
}

.conversion-spotlight {
    padding: 72px 0;
    background: linear-gradient(180deg, var(--bg) 0%, #110d11 52%, var(--bg) 100%);
    border-bottom: 1px solid var(--border);
}
.conversion-spotlight-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    align-items: center;
    justify-content: center;
}
.conversion-copy {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.conversion-kicker {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin-bottom: 12px;
}
.conversion-copy h2 {
    font-size: clamp(1.55rem, 4vw, 2.25rem);
    font-weight: 500;
    line-height: 1.08;
    margin-bottom: 18px;
}
.conversion-copy p {
    color: rgba(240, 240, 240, 0.84);
    font-size: 1.02rem;
    line-height: 1.72;
    margin-bottom: 22px;
}
.conversion-chip-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-bottom: 28px;
}
.conversion-chip {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(255, 255, 255, 0.86);
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.84rem;
}
.conversion-note {
    display: block;
    margin-top: 14px;
    color: var(--text-dim);
    font-size: 0.78rem;
    line-height: 1.5;
}
.conversion-media {
    position: relative;
    display: grid;
    gap: 14px;
    margin: 32px auto 0;
    width: min(100%, 520px);
}
.conversion-media + .btn-primary {
    margin-top: 10px;
}
.conversion-video-wrap {
    position: relative;
    width: min(330px, 76vw);
    margin: 0 auto;
}
.conversion-video-card {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    aspect-ratio: 9 / 15;
    border-radius: 28px;
    border: 1px solid rgba(212, 175, 55, 0.26);
    background: var(--surface);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.56), 0 0 60px rgba(214, 51, 108, 0.12);
}
.conversion-video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.conversion-video-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.16), transparent 44%, rgba(0, 0, 0, 0.86));
    pointer-events: none;
}
.conversion-video-caption {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 1;
    text-align: left;
}
.conversion-video-caption strong {
    display: block;
    color: white;
    font-size: 0.96rem;
    margin-bottom: 2px;
}
.conversion-video-caption span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
}
.conversion-message {
    position: relative;
    z-index: 3;
    width: min(350px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(10, 8, 10, 0.72);
    color: white;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.48);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    text-align: left;
}
.conversion-message img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    flex-shrink: 0;
}
.conversion-message strong {
    display: block;
    font-size: 0.82rem;
    line-height: 1.2;
}
.conversion-message span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.73rem;
    margin-top: 2px;
    line-height: 1.25;
}
.conversion-media-photo {
    position: absolute;
    right: 0;
    top: 28px;
    z-index: 2;
    width: 118px;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    background: var(--surface);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.48);
    transform: rotate(4deg);
}
.conversion-media-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.conversion-phone {
    margin: 34px auto 0;
    max-width: 360px;
}
.conversion-phone .phone-container {
    overflow: visible;
    justify-content: center;
    padding: 0;
}
.conversion-phone .phone-container::before {
    width: 78%;
    height: 64%;
    opacity: 0.12;
}
.conversion-phone .phone {
    width: min(320px, 100%);
    height: 560px;
}

.conversion-story-overlay {
    position: fixed;
    inset: 0;
    z-index: 700;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.88);
}
.conversion-story-overlay.active {
    display: flex;
}
.conversion-story-frame {
    position: relative;
    width: min(420px, 100%);
    height: min(760px, calc(100vh - 36px));
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #080608;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8);
}
.conversion-story-frame img,
.conversion-story-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.conversion-story-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.58), transparent 28%, transparent 55%, rgba(0, 0, 0, 0.86));
    pointer-events: none;
}
.conversion-story-progress {
    position: absolute;
    top: 13px;
    left: 14px;
    right: 52px;
    z-index: 2;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 5px;
    height: 3px;
}
.conversion-story-progress-segment {
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.22);
}
.conversion-story-progress-segment span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--gold));
}
.conversion-story-progress-segment.done span {
    width: 100%;
}
.conversion-story-progress-segment.active span {
    animation: storyProgress var(--story-duration, 5s) linear forwards;
}
.conversion-story-tap {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 50%;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}
.conversion-story-tap.prev {
    left: 0;
}
.conversion-story-tap.next {
    right: 0;
}
.conversion-story-close {
    position: absolute;
    top: 24px;
    right: 16px;
    z-index: 4;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.38);
    color: white;
    cursor: pointer;
    font-size: 1.45rem;
    line-height: 1;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.conversion-story-head {
    position: absolute;
    top: 30px;
    left: 16px;
    right: 62px;
    z-index: 3;
    color: white;
}
.conversion-story-head strong {
    display: block;
    font-size: 0.95rem;
}
.conversion-story-head span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
    margin-top: 1px;
}
.conversion-story-foot {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 3;
}
.conversion-story-foot .btn-primary {
    width: 100%;
    padding: 14px 18px;
}
@keyframes storyProgress {
    from { width: 0; }
    to { width: 100%; }
}

@media (min-width: 980px) {
    .seo-hero .hero-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 60px;
    }
    .conversion-video-wrap {
        width: 340px;
    }
    .conversion-media-photo {
        width: 140px;
        right: 8px;
    }
}
