/* ════════════════════════════════════════════════════════════════
   LHCorp Suivi — Espace Membre (L9 / v1.8.0)
   ════════════════════════════════════════════════════════════════
   Réutilise les variables CSS définies dans front.css.
   ════════════════════════════════════════════════════════════════ */

.lhc-space {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 20px 60px;
    color: var(--text);
    overflow: hidden;
}

/* ═══ HEADER : Bonjour + bouton switch ═══ */
.lhc-space-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px;
}
.lhc-space-hello h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--text-strong);
    margin: 8px 0 6px;
    line-height: 1.1;
}
.lhc-space-hello .lhc-wave {
    display: inline-block;
    animation: lhc-wave 2.4s ease-in-out infinite;
    transform-origin: 70% 70%;
}
@keyframes lhc-wave {
    0%, 60%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
}
.lhc-space-lead {
    font-size: 16px;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}
.lhc-space-switch {
    flex-shrink: 0;
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   TEASER : carte centrale "Réservé aux abonnés"
   ═══════════════════════════════════════════════════════════════ */
.lhc-teaser-card {
    max-width: 760px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1.5px solid var(--cyan-edge);
    border-radius: 22px;
    padding: 40px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
}
.lhc-teaser-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 8px;
    line-height: 1;
}
.lhc-teaser-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(22px, 3.5vw, 30px);
    font-weight: 700;
    color: var(--text-strong);
    text-align: center;
    margin: 0 0 12px;
    line-height: 1.2;
}
.lhc-teaser-lead {
    text-align: center;
    font-size: 17px;
    color: var(--muted);
    margin: 0 0 28px;
    line-height: 1.55;
}
.lhc-teaser-lead strong { color: var(--cyan); font-weight: 700; }

/* Bullets bénéfices */
.lhc-teaser-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.lhc-teaser-bullets li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 18px;
    background: var(--bg-soft, rgba(255, 255, 255, 0.03));
    border-radius: 14px;
    border: 1px solid var(--border);
    transition: background 0.2s ease, border-color 0.2s ease;
}
.lhc-teaser-bullets li:hover {
    background: rgba(34, 211, 238, 0.06);
    border-color: var(--cyan-edge);
}
.lhc-teaser-emoji {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
    width: 44px;
    text-align: center;
}
.lhc-teaser-bullets strong {
    display: block;
    font-size: 17px;
    color: var(--text-strong);
    margin-bottom: 4px;
    line-height: 1.3;
}
.lhc-teaser-bullets p {
    font-size: 14.5px;
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
}

/* CTAs : tel + mail */
.lhc-teaser-ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px;
}
.lhc-teaser-ctas a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 15px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.lhc-teaser-ctas a:hover { transform: translateY(-2px); }
.lhc-btn-icon { font-size: 26px; flex-shrink: 0; line-height: 1; }
.lhc-btn-stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.lhc-btn-stack-1 { font-weight: 700; font-size: 16px; }
.lhc-btn-stack-2 { font-size: 13px; opacity: 0.85; margin-top: 2px; }

.lhc-teaser-note {
    text-align: center;
    font-size: 14px;
    color: var(--muted);
    margin: 18px 0 0;
}
.lhc-teaser-note a {
    color: var(--cyan);
    font-weight: 600;
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════
   VERSION ABONNÉ : grille de cartes
   ═══════════════════════════════════════════════════════════════ */
.lhc-space-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-bottom: 40px;
}
.lhc-space-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    color: var(--text);
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    position: relative;
}
.lhc-space-card:hover {
    transform: translateY(-3px);
    border-color: var(--cyan-edge);
    background: rgba(34, 211, 238, 0.04);
}
.lhc-space-card-icon {
    font-size: 38px;
    line-height: 1;
    margin-bottom: 6px;
}
.lhc-space-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--text-strong);
    margin: 0;
    line-height: 1.3;
}
.lhc-space-card-desc {
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 auto;
    line-height: 1.5;
}
.lhc-space-card-cta {
    align-self: flex-start;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--cyan);
}
.lhc-space-card-stats {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}
.lhc-stat {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.lhc-stat strong {
    font-family: 'Syne', sans-serif;
    font-size: 28px;
    color: var(--cyan);
    font-weight: 700;
}
.lhc-stat small {
    font-size: 11.5px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}
.lhc-space-card-badge {
    align-self: flex-start;
    margin-top: 12px;
    padding: 3px 10px;
    background: var(--orange-bg);
    color: var(--orange);
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 600;
}

.lhc-space-dashboard {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    margin-top: 20px;
}
.lhc-space-dashboard h2 {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    margin: 0 0 8px;
    color: var(--text-strong);
}
.lhc-space-dashboard-intro {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}
.lhc-space-dashboard-intro a { color: var(--cyan); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════
   GLOW ORBS — décor commun
   ═══════════════════════════════════════════════════════════════ */
.lhc-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}
.lhc-glow-1 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, #22d3ee 0%, transparent 70%);
    top: -120px;
    right: -120px;
}
.lhc-glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #6366f1 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
}
.lhc-space > * { position: relative; z-index: 1; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    .lhc-space { padding: 20px 14px 40px; }
    .lhc-space-header {
        flex-direction: column;
        align-items: stretch;
    }
    .lhc-space-switch { order: -1; }
    .lhc-space-switch a { width: 100%; text-align: center; display: block; }
    .lhc-teaser-card { padding: 28px 18px; }
    .lhc-teaser-bullets li { padding: 14px; }
    .lhc-teaser-emoji { font-size: 28px; width: 36px; }
    .lhc-teaser-ctas {
        grid-template-columns: 1fr;
    }
}
