/* =============================================================================
   CERCLEGAY — FEUILLE DE STYLE PLEIN ÉCRAN (100% FIDÈLE À LA PHOTO)
   Identité graphique : Violet profond (#14061f), Noir, Rose Fuchsia (#ff1f9a),
   Violet lumineux (#9c2cf3), Bleu cyan (#3497ef), Blanc (#ffffff).
   ============================================================================= */

:root {
    --ct-bg-deep: #13061d;
    --ct-bg-panel: #210b32;
    --ct-bg-card: rgba(42, 16, 61, 0.84);
    --ct-pink: #ff1e9c;
    --ct-pink-bright: #ff42b0;
    --ct-violet: #9e2cf2;
    --ct-blue: #34b3ff;
    --ct-white: #ffffff;
    --ct-muted: #d9c7e3;
    --ct-border: rgba(255, 255, 255, 0.18);
    --ct-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: var(--ct-bg-deep);
    color: var(--ct-white);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

button, input, select, textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

/* -----------------------------------------------------------------------------
   1. BARRE SUPÉRIEURE PLEIN ÉCRAN (COPIE CONFORME PHOTO)
   ----------------------------------------------------------------------------- */
.ct-topbar {
    width: 100%;
    height: 92px;
    background: linear-gradient(90deg, #13051e 0%, #1c082b 55%, #13051e 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    position: sticky;
    top: 0;
    z-index: 100;
}

.ct-topbar-inner {
    width: 100%;
    max-width: 1920px;
    height: 100%;
    margin: 0 auto;
    padding: 0 2.4vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.ct-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.ct-brand-logo-img {
    width: 68px;
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 30, 156, 0.35));
}

.ct-brand-title {
    font-size: clamp(28px, 2.5vw, 40px);
    font-weight: 850;
    letter-spacing: -1.2px;
    line-height: 1;
    color: #ffffff;
}

.ct-brand-title span {
    color: var(--ct-pink);
}

.ct-brand-slogan {
    font-size: clamp(13px, 1.05vw, 16px);
    font-style: italic;
    color: #f0e4f6;
    margin-top: 3px;
}

.ct-brand-divider {
    width: 1px;
    height: 46px;
    background: rgba(255, 255, 255, 0.45);
    margin: 0 10px;
    flex-shrink: 0;
}

.ct-main-nav {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex: 1;
    max-width: 820px;
    gap: 12px;
}

.ct-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    transition: color 0.2s ease, transform 0.2s ease;
}

.ct-nav-item:hover {
    color: var(--ct-pink-bright);
}

.ct-nav-item.is-active .ct-nav-icon {
    color: var(--ct-pink);
}

.ct-nav-item.is-active::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 14%;
    right: 14%;
    height: 3px;
    border-radius: 3px;
    background: var(--ct-pink);
}

.ct-login-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 24px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ct-login-pill:hover {
    background: #ffffff;
    color: #1c082b;
}

.ct-menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: #ffffff;
    font-size: 28px;
}

/* -----------------------------------------------------------------------------
   2. BANNIÈRE HÉROÏQUE PLEIN ÉCRAN (100VW — COPIE CONFORME PHOTO)
   ----------------------------------------------------------------------------- */
.ct-hero-fullscreen {
    position: relative;
    width: 100%;
    min-height: clamp(540px, 42vw, 720px);
    background-color: #190925;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.ct-hero-bg-photo {
    position: absolute;
    inset: 0;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

.ct-hero-grid {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 28px 3.6vw 32px;
    display: grid;
    grid-template-columns: minmax(360px, 500px) 1fr;
    align-items: center;
}

.ct-hero-left {
    max-width: 485px;
}

.ct-hero-title {
    margin: 0 0 10px;
    font-size: clamp(38px, 3.8vw, 60px);
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -1.4px;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(10, 2, 18, 0.65);
}

.ct-text-pink {
    color: var(--ct-pink);
}

.ct-hero-subtitle {
    margin: 0 0 18px;
    font-size: clamp(16px, 1.45vw, 22px);
    font-weight: 700;
    line-height: 1.38;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(10, 2, 18, 0.7);
}

/* Badge 100 % Gratuit + traits d'éclat */
.ct-free-badge-wrap {
    display: inline-flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 16px;
}

.ct-free-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 11px 26px 11px 18px;
    border-radius: 999px;
    background: linear-gradient(95deg, #f31693 0%, #ff2da5 100%);
    box-shadow: 0 10px 28px rgba(243, 22, 147, 0.42);
}

.ct-free-heart {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ct-free-text strong {
    display: block;
    font-size: clamp(21px, 1.8vw, 27px);
    font-weight: 850;
    line-height: 1.05;
}

.ct-free-text small {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #ffe8f6;
    margin-top: 2px;
}

.ct-free-sparkles {
    margin-top: -4px;
}

/* Carte Glassmorphism "Rejoignez notre communauté" */
.ct-join-box {
    background: rgba(43, 18, 59, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    padding: 16px 20px 14px;
    box-shadow: 0 16px 42px rgba(8, 2, 14, 0.55);
    max-width: 440px;
}

.ct-join-box h2 {
    margin: 0 0 12px;
    font-size: 19px;
    font-weight: 750;
    color: #ffffff;
}

.ct-white-input {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border-radius: 10px;
    padding: 0 14px;
    height: 41px;
    margin-bottom: 10px;
    position: relative;
}

.ct-input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ct-white-input select,
.ct-white-input input {
    border: 0;
    outline: 0;
    background: transparent;
    width: 100%;
    height: 100%;
    color: #3f2251;
    font-size: 14.5px;
    font-weight: 600;
    appearance: none;
    -webkit-appearance: none;
}

.ct-white-input input::placeholder {
    color: #543766;
    opacity: 1;
}

.ct-input-chevron {
    color: #5d3d70;
    font-size: 18px;
    font-weight: 700;
    pointer-events: none;
    line-height: 1;
}

.ct-submit-profile-btn {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(90deg, #ef1590 0%, #ff2ca3 100%);
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    box-shadow: 0 8px 24px rgba(242, 24, 149, 0.4);
    transition: transform 0.15s ease, filter 0.15s ease;
}

.ct-submit-profile-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.ct-already-member {
    margin: 10px 0 2px;
    text-align: center;
    font-size: 13px;
    color: #e6d5ef;
}

.ct-already-member a {
    color: var(--ct-pink-bright);
    font-weight: 750;
    text-decoration: underline;
}

/* -----------------------------------------------------------------------------
   3. BANDEAU DES 5 ENGAGEMENTS (TRUSTBAR PLEIN ÉCRAN)
   ----------------------------------------------------------------------------- */
.ct-trustbar {
    width: 100%;
    background: linear-gradient(90deg, #160622 0%, #220934 50%, #160622 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 41, 156, 0.25);
    position: relative;
    z-index: 4;
}

.ct-trustbar-inner {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 15px 2vw;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
}

.ct-trust-col {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 4px 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.ct-trust-col:last-child {
    border-right: 0;
}

.ct-trust-col strong {
    display: block;
    font-size: 14.5px;
    font-weight: 750;
    color: #ffffff;
}

.ct-trust-col small {
    display: block;
    font-size: 12.5px;
    color: #d9c6e5;
    margin-top: 2px;
}

/* -----------------------------------------------------------------------------
   4. BANDEAU VAGUE PANORAMIQUE AVEC SILHOUETTE (ARBRE + TOUR EIFFEL + SKYLINE)
   ----------------------------------------------------------------------------- */
.ct-wave-banner {
    width: 100%;
    min-height: 112px;
    background-size: cover;
    background-position: left bottom;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.ct-wave-overlay {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 16px 2.6vw;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.ct-wave-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
}

.ct-wave-quote p {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: clamp(20px, 2.05vw, 31px);
    line-height: 1.25;
    color: #fff0fb;
    text-shadow: 0 2px 12px rgba(25, 5, 38, 0.85);
}

.ct-wave-heart {
    font-size: 46px;
    color: #f38ce0;
    line-height: 1;
}

.ct-wave-pride-pill {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: #261035;
    padding: 10px 20px;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    font-size: 14px;
}

.ct-pride-flag {
    width: 34px;
    height: 22px;
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.ct-pride-flag i {
    flex: 1;
    display: block;
}

/* -----------------------------------------------------------------------------
   5. SECTIONS INTERNES, CARTES, FORMULAIRES, TABLEAUX & PUBLICITÉS
   ----------------------------------------------------------------------------- */
.ct-home-section {
    padding: 58px 0;
}

.ct-section-alt {
    background: #1a0a28;
    border-top: 1px solid var(--ct-border);
    border-bottom: 1px solid var(--ct-border);
}

.ct-section-container {
    width: 100%;
    max-width: 1640px;
    margin: 0 auto;
    padding: 0 3vw;
}

.ct-section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 38px;
}

.ct-section-header h2 {
    font-size: clamp(26px, 2.6vw, 38px);
    margin: 12px 0 10px;
}

.ct-section-header p {
    color: var(--ct-muted);
    margin: 0;
    line-height: 1.6;
}

.ct-pill-tag {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 999px;
    background: rgba(255, 30, 156, 0.16);
    border: 1px solid rgba(255, 66, 176, 0.4);
    color: #ff8bd2;
    font-size: 12px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.ct-feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ct-feature-card {
    background: linear-gradient(145deg, #271039 0%, #190926 100%);
    border: 1px solid var(--ct-border);
    border-radius: 18px;
    padding: 24px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ct-feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--ct-pink);
}

.ct-fc-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 30, 156, 0.18);
    color: var(--ct-pink-bright);
    display: grid;
    place-items: center;
    font-size: 24px;
    margin-bottom: 14px;
}

.ct-feature-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.ct-feature-card p {
    margin: 0;
    color: var(--ct-muted);
    font-size: 14px;
    line-height: 1.55;
}

.ct-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.ct-rooms-preview {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.ct-room-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 18px;
    background: #250f36;
    border: 1px solid var(--ct-border);
    border-radius: 14px;
}

.ct-room-chip:hover {
    border-color: var(--ct-pink);
}

.ct-room-chip strong {
    display: block;
    font-size: 15px;
}

.ct-room-chip small {
    color: var(--ct-muted);
    font-size: 12.5px;
}

.ct-room-enter {
    color: var(--ct-pink-bright);
    font-weight: 750;
    font-size: 13px;
    white-space: nowrap;
}

.ct-cities-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 14px;
}

.ct-city-tag {
    padding: 8px 14px;
    border-radius: 999px;
    background: #271038;
    border: 1px solid var(--ct-border);
    font-size: 13.5px;
    font-weight: 600;
}

.ct-city-tag:hover {
    background: var(--ct-pink);
    border-color: var(--ct-pink);
}

.ct-real-members-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ct-mini-member {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #261037;
    border: 1px solid var(--ct-border);
    border-radius: 12px;
    font-size: 13px;
}

.ct-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8b7996;
}

.ct-status-dot.is-online {
    background: #26de81;
}

/* Composant Publicitaire Central */
.ct-ad-slot {
    margin: 14px auto;
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.22);
    text-align: center;
    max-width: 1200px;
    position: relative;
}

.ct-ad-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b79ec7;
    display: block;
    margin-bottom: 4px;
}

/* Alertes Flash */
.ct-flash {
    padding: 13px 24px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
}

.ct-flash-success {
    background: rgba(38, 222, 129, 0.2);
    border-bottom: 1px solid #26de81;
    color: #abffcf;
}

.ct-flash-error {
    background: rgba(255, 59, 107, 0.22);
    border-bottom: 1px solid #ff3b6b;
    color: #ffd0dc;
}

/* Pied de page */
.ct-footer {
    background: #0c0413;
    border-top: 1px solid var(--ct-border);
    padding: 44px 3vw 24px;
}

.ct-footer-inner {
    max-width: 1640px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 28px;
}

.ct-footer-col h3 {
    font-size: 15px;
    margin: 0 0 12px;
    color: #ffffff;
}

.ct-footer-col a, .ct-footer-desc {
    display: block;
    color: #c8b6d4;
    font-size: 13.5px;
    line-height: 1.9;
}

.ct-footer-col a:hover {
    color: var(--ct-pink-bright);
}

.ct-footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.ct-badge-18, .ct-badge-pwa {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 750;
    background: #240e35;
    border: 1px solid var(--ct-border);
}

.ct-footer-bottom {
    max-width: 1640px;
    margin: 28px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    color: #9b88a9;
    font-size: 12.5px;
}

/* Bannière Cookies */
.ct-cookie-modal {
    position: fixed;
    bottom: 18px;
    left: 18px;
    z-index: 200;
    max-width: 420px;
    background: #250e37;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--ct-shadow);
    display: none;
}

.ct-cookie-modal.is-open {
    display: block;
}

.ct-cookie-modal p {
    font-size: 13px;
    color: var(--ct-muted);
    line-height: 1.45;
    margin: 8px 0 14px;
}

.ct-cookie-btns {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ct-btn-pink {
    background: linear-gradient(90deg, var(--ct-pink), var(--ct-pink-bright));
    color: #ffffff;
    border: 0;
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 750;
    font-size: 13.5px;
}

.ct-btn-dark {
    background: #3d2352;
    color: #ffffff;
    border: 1px solid var(--ct-border);
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 650;
    font-size: 13px;
}

.ct-muted {
    color: var(--ct-muted);
}

/* Utilitaires formulaires & tableaux pages internes / admin */
.ct-card {
    background: #220d33;
    border: 1px solid var(--ct-border);
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 20px;
}

.ct-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ct-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ct-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.ct-form-group { margin-bottom: 15px; }
.ct-form-group label { display: block; font-weight: 650; font-size: 13.5px; margin-bottom: 6px; color: #f0e2f8; }
.ct-input, .ct-select, .ct-textarea {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: #160722;
    color: #ffffff;
    font-size: 14px;
}
.ct-textarea { min-height: 100px; resize: vertical; }

.ct-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
.ct-table th, .ct-table td {
    padding: 11px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}
.ct-table th {
    color: #ff8bd2;
    font-weight: 750;
    background: rgba(255, 255, 255, 0.03);
}

.ct-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 750;
    background: rgba(255, 30, 156, 0.2);
    color: #ff85cc;
}

/* -----------------------------------------------------------------------------
   6. RESPONSIVE TABLETTE & MOBILE / APP PLEIN ÉCRAN
   ----------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .ct-brand-divider { display: none; }
    .ct-trustbar-inner { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .ct-wave-overlay { grid-template-columns: 1fr; text-align: center; }
    .ct-wave-pride-pill { justify-self: center; }
    .ct-feature-cards, .ct-grid-3, .ct-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .ct-two-cols, .ct-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
    .ct-topbar { height: 74px; }
    .ct-brand-logo-img { width: 48px; height: 40px; }
    .ct-brand-title { font-size: 25px; }
    .ct-brand-slogan { font-size: 11px; }
    .ct-menu-toggle { display: block; }
    .ct-main-nav {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: #190726;
        flex-direction: column;
        padding: 14px;
        border-bottom: 1px solid var(--ct-border);
    }
    .ct-main-nav.is-open { display: flex; }
    .ct-nav-item { flex-direction: row; width: 100%; padding: 12px; }
    .ct-hero-grid { grid-template-columns: 1fr; padding: 26px 18px; }
    .ct-hero-bg-photo { opacity: 0.45; background-position: 75% center; }
    .ct-trustbar-inner { grid-template-columns: 1fr 1fr; }
    .ct-trust-col { border-right: 0; justify-content: flex-start; }
    .ct-feature-cards, .ct-grid-3, .ct-grid-4, .ct-footer-inner { grid-template-columns: 1fr; }
    .ct-footer-bottom { flex-direction: column; gap: 8px; }
}


/* =============================================================================
   7. THÈME CLAIR POUR TOUTES LES PAGES INTERNES (SAUF LA PAGE D'ACCUEIL)
   ============================================================================= */
body.ct-theme-light {
    --ct-bg-deep: #f0f2f6;
    --ct-bg-panel: #ffffff;
    --ct-bg-card: #ffffff;
    --ct-white: #1e142b;
    --ct-muted: #635873;
    --ct-border: #e3dfec;
    --ct-shadow: 0 10px 30px rgba(34, 14, 56, 0.08);
    background-color: #f0f2f6;
    color: #1e142b;
}

body.ct-theme-light .ct-home-section,
body.ct-theme-light .ct-section-alt {
    background-color: #f0f2f6;
    color: #1e142b;
}

body.ct-theme-light .ct-card,
body.ct-theme-light .ct-feature-card,
body.ct-theme-light .ct-room-chip {
    background: #ffffff !important;
    color: #1e142b !important;
    border: 1px solid #e2deeb !important;
    box-shadow: 0 6px 20px rgba(30, 12, 50, 0.06);
}

body.ct-theme-light details,
body.ct-theme-light form[style*="background:#160722"],
body.ct-theme-light div[style*="background:#160722"],
body.ct-theme-light div[style*="background:#170724"],
body.ct-theme-light div[style*="background:#2d1342"] {
    background: #f8f7fc !important;
    color: #1e142b !important;
    border-color: #e2deeb !important;
}

body.ct-theme-light h1,
body.ct-theme-light h2,
body.ct-theme-light h3,
body.ct-theme-light strong {
    color: #1c102b;
}

body.ct-theme-light .ct-form-group label {
    color: #2f1f44;
}

body.ct-theme-light .ct-input,
body.ct-theme-light .ct-select,
body.ct-theme-light .ct-textarea {
    background: #ffffff !important;
    color: #1e142b !important;
    border: 1px solid #cfc8dc !important;
}

body.ct-theme-light .ct-input:focus,
body.ct-theme-light .ct-select:focus,
body.ct-theme-light .ct-textarea:focus {
    border-color: var(--ct-pink) !important;
    box-shadow: 0 0 0 3px rgba(255, 30, 156, 0.14);
    outline: none;
}

body.ct-theme-light .ct-btn-dark {
    background: #f3effa;
    color: #2d1846;
    border: 1px solid #d7cee6;
}

body.ct-theme-light .ct-btn-dark:hover {
    background: #e7dff5;
}

body.ct-theme-light .ct-table th {
    background: #f5f1fb;
    color: #7c1868;
    border-bottom: 2px solid #e2d9f0;
}

body.ct-theme-light .ct-table td {
    border-bottom: 1px solid #ece7f4;
    color: #241634;
}

body.ct-theme-light .ct-badge {
    background: #fde6f4;
    color: #c90f76;
}

body.ct-theme-light .ct-pill-tag {
    background: #fce4f3;
    border-color: #f7b5de;
    color: #c81077;
}

/* Éléments de formulaire RGPD et cartes dédiées en mode clair */
.ct-consent-box {
    background: #f8f6fc;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #e2deeb;
    margin-bottom: 12px;
    transition: background 0.18s ease, border-color 0.18s ease;
}
.ct-consent-box:hover {
    background: #f1ecf8;
    border-color: #d7ceea;
}
.ct-consent-box label {
    cursor: pointer;
    color: inherit;
}
body.ct-theme-light .ct-consent-box {
    background: #f9f7fd !important;
    color: #1e142b !important;
    border: 1px solid #e4def0 !important;
}
body.ct-theme-light .ct-consent-box:hover {
    background: #f3eefb !important;
    border-color: #d8cde9 !important;
}
body.ct-theme-dark .ct-consent-box {
    background: #160722;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}
body.ct-theme-dark .ct-consent-box:hover {
    background: #200a30;
    border-color: rgba(255, 255, 255, 0.30);
}

.ct-card-danger {
    border-color: rgba(255, 59, 107, 0.45) !important;
}
body.ct-theme-light .ct-card-danger {
    background: #ffffff !important;
    border: 1.5px solid #ffccd8 !important;
    box-shadow: 0 6px 20px rgba(255, 30, 100, 0.05) !important;
}

.ct-btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 750;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    background: #fff0f3;
    color: #cf1143;
    border: 1.5px solid #ff8aa6;
}
.ct-btn-danger:hover {
    background: #dc1548;
    border-color: #dc1548;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(220, 21, 72, 0.25);
}
body.ct-theme-dark .ct-btn-danger {
    background: rgba(255, 59, 107, 0.12);
    border: 1.5px solid #ff3b6b;
    color: #ff809f;
}
body.ct-theme-dark .ct-btn-danger:hover {
    background: #ff3b6b;
    color: #ffffff;
}

body.ct-theme-light code {
    background: #f4eef9;
    color: #8c1059;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 12.5px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.lt-embedded-page .ct-home-section {
    padding: 0;
}
.lt-embedded-page .ct-section-container {
    padding: 0;
    max-width: 100%;
}

body.ct-theme-light .lt-chat-exit-btn {
    background: #f2ebf8;
    color: #4a1c64;
    border: 1px solid #ded3ec;
}
body.ct-theme-light .lt-chat-exit-btn:hover {
    background: #e5daf1;
}

/* =============================================================================
   8. INTERFACE MEMBRES & PROFILS (STYLE LOVETRANS EN THÈME CLAIR)
   ============================================================================= */
.lt-app-wrapper {
    width: 100%;
    max-width: 1360px;
    margin: 22px auto 44px;
    padding: 0 18px;
}

.lt-split-layout {
    display: grid;
    grid-template-columns: 1fr 370px;
    gap: 20px;
    align-items: start;
}

.lt-main-panel,
.lt-messages-panel {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(24, 10, 42, 0.08);
    border: 1px solid #e4e0ed;
    overflow: hidden;
}

.lt-panel-topbar {
    height: 60px;
    background: linear-gradient(95deg, #4b1260 0%, #9b1879 55%, #db1b8f 100%);
    color: #ffffff;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lt-topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lt-menu-icon {
    font-size: 24px;
    color: #ffffff;
    line-height: 1;
}

.lt-brand-inline {
    font-size: 26px;
    font-weight: 850;
    letter-spacing: -0.8px;
    color: #ffffff !important;
    font-family: Georgia, serif;
    font-style: italic;
}

.lt-brand-inline span {
    color: #ffd0ec;
    font-family: 'Inter', sans-serif;
    font-style: normal;
}

.lt-topbar-icons {
    display: flex;
    align-items: center;
    gap: 18px;
}

.lt-icon-btn {
    position: relative;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.92;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.lt-icon-btn:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.lt-count-badge {
    position: absolute;
    top: -6px;
    right: -9px;
    background: #25d366;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #6b156b;
}

.lt-dot-badge {
    position: absolute;
    top: -2px;
    right: -3px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #25d366;
    border: 1.5px solid #ffffff;
}

.lt-panel-body {
    padding: 18px 20px 24px;
}

/* Barre de recherche claire */
.lt-search-form {
    margin-bottom: 14px;
}

.lt-search-input-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f3f5f8;
    border: 1px solid #e2e6ec;
    border-radius: 12px;
    padding: 6px 10px 6px 14px;
    flex-wrap: wrap;
}

.lt-search-mag {
    color: #7d8594;
    font-size: 16px;
}

.lt-search-input-bar input {
    border: 0;
    outline: 0;
    background: transparent;
    flex: 1;
    min-width: 170px;
    height: 34px;
    color: #21182e;
    font-size: 14px;
}

.lt-mini-filter {
    border: 1px solid #d9dce4;
    background: #ffffff;
    color: #2c203c;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12.5px;
    font-weight: 600;
}

.lt-search-go-btn {
    background: linear-gradient(90deg, #b8197f, #f21b9a);
    color: #ffffff;
    border: 0;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 12.5px;
    font-weight: 750;
}

/* Bandeau info */
.lt-info-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f5f7fa;
    border: 1px solid #e5e8ef;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 13.5px;
    color: #261b35;
}

.lt-info-chevron {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #9b1879;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
}

/* Sidebar Gauche (Membres) */
.lt-left-sidebar {
    width: 260px;
    background: #0d3b3e;
    color: #fff;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}
@media (max-width: 1024px) {
    .lt-left-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        z-index: 1000;
        border-radius: 0;
        transition: left 0.3s ease;
    }
    .lt-left-sidebar.is-open {
        left: 0;
    }
}
.lt-left-header {
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.lt-left-avatar {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.lt-left-userinfo h2 {
    font-size: 16px;
    margin: 0;
    color: #fff;
}
.lt-left-userinfo a {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
.lt-left-toggle {
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.lt-left-toggle strong {
    color: #4ade80;
}
.lt-left-nav {
    padding: 10px 0;
    flex: 1;
    overflow-y: auto;
}
.lt-left-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}
.lt-left-nav a:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}
.lt-left-nav a span {
    font-size: 16px;
    width: 20px;
    text-align: center;
}
.lt-left-footer {
    padding: 20px;
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    border-top: 1px solid rgba(255,255,255,0.1);
}
.lt-left-footer a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
}
.lt-left-footer a:hover {
    color: #fff;
}

/* Salons de discussion — liens de la colonne gauche + messages */
.ct-salon-link {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 6px;
    background: var(--ct-surface-2, #f4f2f8);
    color: var(--ct-text, #1d1230);
    border: 1px solid transparent;
    transition: background .15s ease, border-color .15s ease;
}
.ct-salon-link:hover {
    background: var(--ct-surface-3, #ece7f5);
}
.ct-salon-link.is-active {
    background: rgba(255, 30, 156, 0.14);
    border-color: rgba(255, 30, 156, 0.45);
    color: var(--ct-pink-bright, #ff1e9c);
}
[data-theme="dark"] .ct-salon-link {
    background: #1c0d2e;
    color: #f4eaff;
}
[data-theme="dark"] .ct-salon-link:hover {
    background: #26113c;
}
[data-theme="dark"] .ct-salon-link.is-active {
    background: rgba(255, 30, 156, 0.24);
    border-color: rgba(255, 30, 156, 0.6);
    color: #ff8bd2;
}
.ct-salon-message {
    background: var(--ct-surface-2, #f7f5fb);
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--ct-border, #e6e0ef);
    color: var(--ct-text, #1d1230);
}
[data-theme="dark"] .ct-salon-message {
    background: #1c0d2e;
    border-color: rgba(255,255,255,.08);
    color: #f4eaff;
}

/* Barre "Je suis #LIBRE AUJOURD'HUI" avec pointeur vers la 1ère carte */
.lt-free-today-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1.5px solid #8a94a6;
    border-radius: 14px;
    padding: 9px 16px;
    margin-bottom: 18px;
    color: #1f172b;
    font-size: 14px;
}

.lt-free-today-bar::after {
    content: "";
    position: absolute;
    bottom: -9px;
    left: 44px;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-right: 1.5px solid #8a94a6;
    border-bottom: 1.5px solid #8a94a6;
    transform: rotate(45deg);
}

.lt-toggle-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lt-toggle-state-text {
    font-size: 12.5px;
    color: #7c8494;
    font-weight: 600;
}

.lt-switch {
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: #cfd5df;
    border: 0;
    padding: 2px;
    position: relative;
    display: inline-flex;
    align-items: center;
    transition: background 0.2s ease;
}

.lt-switch.is-on {
    background: #e91e8c;
}

.lt-switch-knob {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.lt-switch.is-on .lt-switch-knob {
    transform: translateX(20px);
}

/* Grille 4 colonnes des cartes profils */
.lt-profiles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.lt-profile-tile {
    display: flex;
    flex-direction: column;
}

.lt-tile-photo-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 4.7;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lt-tile-photo-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lt-tile-photo-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lt-avatar-monogram {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #3f1859;
}

.lt-gender-symbol {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 4px;
    color: #d81b8a;
}

.lt-avatar-monogram strong {
    font-size: 28px;
    font-weight: 850;
}

.lt-avatar-monogram small {
    font-size: 11.5px;
    opacity: 0.78;
    margin-top: 3px;
}

/* Pastille de statut En ligne (vert) / Récemment actif (jaune) en haut à gauche */
.lt-presence-dot {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2.5px solid #ffffff;
    z-index: 3;
}

.lt-presence-dot.is-online {
    background: #4cd137;
}

.lt-presence-dot.is-away {
    background: #fbc531;
}

/* Compteur photos en haut à droite */
.lt-photo-counter {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: #2c1e3d;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    z-index: 3;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* Bouton flottant discussion en bas à droite de la photo */
.lt-quick-chat-form {
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 3;
    margin: 0;
}

.lt-tile-action-fab {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: linear-gradient(135deg, #9b1879, #f21b9a);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
    transition: transform 0.15s ease;
}

.lt-tile-action-fab:hover {
    transform: scale(1.08);
}

.lt-tile-action-fab.is-edit-fab {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(30, 20, 43, 0.85);
}

.lt-tile-meta {
    text-align: center;
    padding: 8px 4px 4px;
}

.lt-tile-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 800;
    color: #1f172b !important;
}

.lt-verified-tick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #1da1f2;
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
}

.lt-tile-sub {
    font-size: 12px;
    color: #7c8495;
    margin-top: 2px;
}

/* Colonne de droite : Panneau Messages en direct */
.lt-msg-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 750;
    font-size: 16px;
    position: relative;
}

.lt-msg-panel-body {
    padding: 16px;
}

.lt-free-chat-box {
    display: block;
    background: linear-gradient(95deg, #5d1468, #b5197e);
    color: #ffffff;
    border-radius: 12px;
    padding: 11px 14px;
    text-align: center;
    margin-bottom: 12px;
}

.lt-free-chat-box strong {
    display: block;
    font-size: 13.5px;
    color: #ffffff !important;
}

.lt-free-chat-box small {
    font-size: 11.5px;
    color: #ffd9ef;
}

.lt-online-favs-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #6b7280;
    padding: 6px 4px 10px;
}

.lt-msg-search-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.lt-msg-search-input {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f3f5f8;
    border: 1px solid #e2e6ed;
    border-radius: 999px;
    padding: 6px 12px;
}

.lt-msg-search-input input {
    border: 0;
    outline: 0;
    background: transparent;
    width: 100%;
    font-size: 13px;
    color: #1f172b;
}

.lt-msg-filter-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f3f5f8;
    border: 1px solid #e2e6ed;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.lt-msg-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lt-msg-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 6px;
    border-bottom: 1px solid #f0f2f6;
}

.lt-msg-avatar {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #4a1564;
    font-size: 17px;
}

.lt-msg-content {
    flex: 1;
    min-width: 0;
}

.lt-msg-name {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 800;
    color: #1f172b !important;
}

.lt-msg-snippet {
    margin: 3px 0 0;
    font-size: 12.5px;
    color: #7c8495;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lt-msg-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.lt-msg-date {
    font-size: 11px;
    color: #9aa1b0;
}

.lt-unread-pill {
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #9b1879, #f21b9a);
    color: #ffffff !important;
    border: 0;
    font-size: 11.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
}

@media (max-width: 1080px) {
    .lt-split-layout {
        grid-template-columns: 1fr;
    }
    .lt-profiles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .lt-profiles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}


/* =============================================================================
   9. BOUTON DE BASCULE THÈME CLAIR / SOMBRE & NAVBARS CLAIRES PAR DÉFAUT
   ============================================================================= */
.ct-auth-zone {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ct-theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 750;
    border: 1.5px solid rgba(255, 30, 156, 0.35);
    background: rgba(255, 30, 156, 0.08);
    color: inherit;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ct-theme-toggle-btn:hover {
    background: var(--ct-pink);
    color: #ffffff !important;
    border-color: var(--ct-pink);
}

/* --- NAVBAR EN HAUT & FOOTER EN BAS EN COULEUR CLAIRE (THÈME CLAIR PAR DÉFAUT) --- */
body.ct-theme-light .ct-topbar {
    background: #ffffff;
    border-bottom: 1px solid #e5dff0;
    box-shadow: 0 4px 18px rgba(31, 14, 51, 0.05);
}

body.ct-theme-light .ct-brand-title {
    color: #211132;
}

body.ct-theme-light .ct-brand-title span {
    color: var(--ct-pink);
}

body.ct-theme-light .ct-brand-slogan {
    color: #655679;
}

body.ct-theme-light .ct-brand-divider {
    background: #dcd4e8;
}

body.ct-theme-light .ct-nav-item {
    color: #2b193f;
}

body.ct-theme-light .ct-nav-item:hover,
body.ct-theme-light .ct-nav-item.is-active {
    color: var(--ct-pink);
}

body.ct-theme-light .ct-login-pill {
    border: 2px solid #2b193f;
    color: #2b193f;
    background: #ffffff;
}

body.ct-theme-light .ct-login-pill:hover {
    background: #2b193f;
    color: #ffffff;
}

body.ct-theme-light .ct-menu-toggle {
    color: #211132;
}

/* Barre interne de la grille Membres (en haut du panneau) en couleur claire également */
body.ct-theme-light .lt-panel-topbar {
    background: #ffffff;
    color: #211132;
    border-bottom: 1px solid #e6e1f0;
}

body.ct-theme-light .lt-menu-icon,
body.ct-theme-light .lt-icon-btn,
body.ct-theme-light .lt-msg-header-title {
    color: #3b1c57;
}

body.ct-theme-light .lt-brand-inline {
    color: #211132 !important;
}

body.ct-theme-light .lt-brand-inline span {
    color: var(--ct-pink);
}

body.ct-theme-light .lt-count-badge {
    border-color: #ffffff;
}

/* Footer (Navbar du bas) en couleur claire */
body.ct-theme-light .ct-footer {
    background: #ffffff;
    border-top: 1px solid #e4dfee;
    color: #241434;
}

body.ct-theme-light .ct-footer-col h3 {
    color: #1f102e;
}

body.ct-theme-light .ct-footer-col a,
body.ct-theme-light .ct-footer-desc,
body.ct-theme-light .ct-footer-slogan {
    color: #5b4c6e;
}

body.ct-theme-light .ct-footer-col a:hover {
    color: var(--ct-pink);
}

body.ct-theme-light .ct-badge-18,
body.ct-theme-light .ct-badge-pwa {
    background: #f5f0fb;
    color: #361b52;
    border-color: #dfd5ee;
}

body.ct-theme-light .ct-footer-bottom {
    border-top: 1px solid #eae5f3;
    color: #6e6082;
}

/* --- PAGE D'ACCUEIL EN THÈME CLAIR (AVEC PHOTO CONSERVÉE À DROITE) --- */
body.ct-theme-light .ct-hero-fullscreen {
    background-color: #faf7fd;
}

body.ct-theme-light .ct-hero-fullscreen::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #ffffff 0%, #fbf7ff 34%, rgba(251, 247, 255, 0.78) 46%, rgba(255, 255, 255, 0.0) 64%);
    z-index: 2;
    pointer-events: none;
}

body.ct-theme-light .ct-hero-grid {
    z-index: 3;
}

body.ct-theme-light .ct-hero-title {
    color: #1f0e33;
    text-shadow: none;
}

body.ct-theme-light .ct-hero-subtitle {
    color: #3c2754;
    text-shadow: none;
}

body.ct-theme-light .ct-join-box {
    background: rgba(255, 255, 255, 0.94);
    border: 1.5px solid #e5d8f2;
    box-shadow: 0 16px 40px rgba(45, 16, 74, 0.12);
}

body.ct-theme-light .ct-join-box h2 {
    color: #211035;
}

body.ct-theme-light .ct-white-input {
    background: #f7f4fb;
    border: 1px solid #ddd2eb;
}

body.ct-theme-light .ct-already-member {
    color: #5a4870;
}

/* Bandeau des 5 engagements (Trustbar) en Thème Clair */
body.ct-theme-light .ct-trustbar {
    background: #ffffff;
    border-top: 1px solid #ebe5f4;
    border-bottom: 1px solid #ebe5f4;
}

body.ct-theme-light .ct-trust-col {
    border-right: 1px solid #e4dcef;
}

body.ct-theme-light .ct-trust-col strong {
    color: #201033;
}

body.ct-theme-light .ct-trust-col small {
    color: #655679;
}

body.ct-theme-light .ct-city-tag,
body.ct-theme-light .ct-mini-member {
    background: #ffffff;
    color: #241436;
    border-color: #dfd7ec;
}

body.ct-theme-light .ct-city-tag:hover {
    background: var(--ct-pink);
    color: #ffffff;
}

body.ct-theme-light .ct-cookie-modal {
    background: #ffffff;
    color: #201033;
    border-color: #dfd6ed;
}

/* =============================================================================
   10. THÈME SOMBRE COMPLET SUR TOUTES LES PAGES (QUAND ACTIVÉ PAR L'UTILISATEUR)
   ============================================================================= */
body.ct-theme-dark {
    --ct-bg-deep: #13061d;
    --ct-bg-panel: #210b32;
    --ct-bg-card: rgba(42, 16, 61, 0.84);
    --ct-white: #ffffff;
    --ct-muted: #d9c7e3;
    --ct-border: rgba(255, 255, 255, 0.18);
    background-color: #13061d;
    color: #ffffff;
}

body.ct-theme-dark .lt-main-panel,
body.ct-theme-dark .lt-messages-panel {
    background: #1f0b2f;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

body.ct-theme-dark .lt-search-input-bar,
body.ct-theme-dark .lt-info-strip,
body.ct-theme-dark .lt-msg-search-input,
body.ct-theme-dark .lt-msg-filter-btn {
    background: #2b1240;
    border-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

body.ct-theme-dark .lt-search-input-bar input,
body.ct-theme-dark .lt-msg-search-input input {
    color: #ffffff;
}

body.ct-theme-dark .lt-mini-filter {
    background: #1a0828;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

body.ct-theme-dark .lt-free-today-bar {
    background: #28103c;
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

body.ct-theme-dark .lt-free-today-bar::after {
    background: #28103c;
    border-color: rgba(255, 255, 255, 0.28);
}

body.ct-theme-dark .lt-tile-title,
body.ct-theme-dark .lt-msg-name {
    color: #ffffff !important;
}

body.ct-theme-dark .lt-tile-sub,
body.ct-theme-dark .lt-msg-snippet,
body.ct-theme-dark .lt-online-favs-row {
    color: #cbb8d8;
}

body.ct-theme-dark .lt-msg-item {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 780px) {
    body.ct-theme-light .ct-main-nav {
        background: #ffffff;
        border-bottom: 1px solid #e5dff0;
    }
    body.ct-theme-light .ct-hero-fullscreen::before {
        background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(251,247,255,0.85) 100%);
    }
    .ct-theme-label {
        display: none;
    }
}


/* --- BOUTONS MON PROFIL & DÉCONNEXION DIRECTEMENT ACCESSIBLES --- */
.ct-logout-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 750;
    font-size: 13.5px;
    border: 1.5px solid #e11d48;
    color: #e11d48 !important;
    background: rgba(225, 29, 72, 0.08);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ct-logout-pill:hover {
    background: #e11d48;
    color: #ffffff !important;
}

.lt-logout-icon {
    color: #e11d48 !important;
}

@media (max-width: 900px) {
    .ct-logout-pill span,
    .ct-my-account-btn span {
        display: none;
    }
    .ct-logout-pill,
    .ct-my-account-btn {
        padding: 10px 12px;
    }
}


/* =============================================================================
   11. RESPONSIVE INTÉGRAL MOBILE / TABLETTE (ZÉRO DÉBORDEMENT HORIZONTAL)
       & COMPOSANTS D'EMPLACEMENTS PUBLICITAIRES
   ============================================================================= */

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

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

img, video, svg, canvas, iframe {
    max-width: 100%;
    height: auto;
}

.ct-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ct-split-sidebar-grid {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 20px;
}

.ct-admin-vip-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 100px auto;
    gap: 8px;
    margin-bottom: 16px;
}

/* Emplacements publicitaires responsives */
.ct-ad-slot {
    width: calc(100% - 24px);
    max-width: 1180px;
    margin: 12px auto;
    padding: 10px 14px;
    border-radius: 12px;
    overflow: hidden;
    word-wrap: break-word;
}

body.ct-theme-light .ct-ad-slot {
    background: #f9f6fd;
    border: 1px dashed #d5c5e8;
    color: #4a3563;
}

.ct-ad-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 4px;
}

.ct-ad-badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--ct-pink);
}

.ct-ad-sub {
    font-size: 11.5px;
    opacity: 0.8;
}

/* Corrections Mobile strictes (<= 960px, <= 640px, <= 420px) */
@media (max-width: 960px) {
    .ct-split-sidebar-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .ct-admin-vip-form {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .ct-hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 780px) {
    .ct-topbar {
        height: auto;
        min-height: 68px;
        padding: 8px 0;
    }
    .ct-topbar-inner {
        padding: 0 12px;
        gap: 8px;
        flex-wrap: nowrap;
    }
    .ct-brand {
        gap: 8px;
        min-width: 0;
    }
    .ct-brand-logo-img {
        width: 38px;
        height: 32px;
    }
    .ct-brand-title {
        font-size: 20px;
    }
    .ct-brand-slogan {
        display: none;
    }
    .ct-auth-zone {
        gap: 6px;
        flex-shrink: 0;
    }
    .ct-theme-toggle-btn,
    .ct-login-pill,
    .ct-logout-pill {
        padding: 7px 10px;
        font-size: 12px;
    }

    /* Hero section et badges sur mobile */
    .ct-hero-fullscreen {
        min-height: auto;
    }
    .ct-hero-grid {
        padding: 20px 14px;
    }
    .ct-hero-title {
        font-size: clamp(28px, 8vw, 38px);
        word-break: break-word;
    }
    .ct-free-badge-wrap {
        max-width: 100%;
    }
    .ct-free-badge {
        padding: 10px 16px;
        gap: 10px;
        max-width: 100%;
        flex-wrap: wrap;
    }
    .ct-free-text strong {
        font-size: 18px;
    }
    .ct-join-box {
        padding: 14px;
        max-width: 100%;
    }

    /* Bandeau des 5 engagements & vague sur mobile */
    .ct-trustbar-inner {
        grid-template-columns: minmax(0, 1fr);
        padding: 12px 16px;
        gap: 10px;
    }
    .ct-wave-overlay {
        padding: 16px 14px;
        grid-template-columns: minmax(0, 1fr);
    }
    .ct-wave-quote {
        flex-direction: column;
        gap: 8px;
    }
    .ct-wave-quote p {
        font-size: 18px;
    }
    .ct-wave-pride-pill {
        font-size: 12px;
        padding: 8px 14px;
        max-width: 100%;
    }

    /* Page Membres Connectés (Style LoveTrans) sur mobile */
    .lt-app-wrapper {
        margin: 10px auto 28px;
        padding: 0 10px;
    }
    .lt-panel-topbar {
        height: auto;
        min-height: 54px;
        padding: 10px 12px;
        flex-wrap: wrap;
        gap: 8px;
    }
    .lt-brand-inline {
        font-size: 21px;
    }
    .lt-topbar-icons {
        gap: 12px;
    }
    .lt-panel-body {
        padding: 12px;
    }
    .lt-search-input-bar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        padding: 10px;
        gap: 8px;
    }
    .lt-search-mag {
        display: none;
    }
    .lt-search-input-bar input,
    .lt-search-go-btn {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
    }
    .lt-mini-filter {
        width: 100%;
        min-width: 0;
    }
    .lt-info-strip,
    .lt-free-today-bar {
        padding: 10px 12px;
        font-size: 12.5px;
        flex-wrap: wrap;
        gap: 8px;
    }
    .lt-profiles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .lt-tile-title {
        font-size: 13px;
    }
    .lt-tile-sub {
        font-size: 11px;
    }

    /* Cartes et formulaires internes */
    .ct-section-container {
        padding: 0 12px;
    }
    .ct-card {
        padding: 14px;
    }
    .ct-cookie-modal {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: calc(100vw - 20px);
    }
    .ct-cookie-btns {
        flex-wrap: wrap;
    }
}

@media (max-width: 380px) {
    .ct-brand-title {
        font-size: 17px;
    }
    .lt-topbar-icons {
        gap: 9px;
    }
}


/* =============================================================================
   12. PAGE MON PROFIL ÉPURÉE (COPIE CONFORME CAPTURES + ETHNICITÉ)
   ============================================================================= */
.lt-profile-editor-body {
    padding: 18px 20px 26px;
}

.lt-editor-section {
    margin-bottom: 18px;
}

.lt-editor-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.lt-editor-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 8px;
}

.lt-subtle-link {
    font-size: 12.5px;
    font-weight: 650;
    color: var(--ct-pink);
}

/* Grille Photos de profil : 1 grande principale à gauche + 3x3 slots "+" à droite */
.lt-photo-slots-layout {
    display: grid;
    grid-template-columns: 1.15fr 1.35fr;
    gap: 10px;
    align-items: stretch;
}

.lt-photo-slot-main {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    min-height: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lt-photo-slot-main img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
}

.lt-photo-slot-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lt-photo-slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 8px;
}

.lt-photo-slot-small {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lt-photo-add-trigger {
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    color: #374151;
    font-size: 26px;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: background 0.15s ease, color 0.15s ease;
}

.lt-photo-add-trigger.is-main small {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
}

.lt-photo-add-trigger:hover {
    background: #ebedf2;
    color: var(--ct-pink);
}

.lt-photo-del-form {
    position: absolute;
    top: 8px;
    right: 8px;
    margin: 0;
}

.lt-photo-slot-actions {
    position: absolute;
    top: 4px;
    right: 4px;
    display: flex;
    gap: 4px;
}

.lt-photo-mini-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 0;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 8, 28, 0.72);
    color: #ffffff;
}

.lt-photo-mini-btn.is-star:hover {
    background: #f59e0b;
}

.lt-photo-mini-btn.is-del:hover {
    background: #e11d48;
}

.lt-photo-hint {
    text-align: center;
    font-size: 11.5px;
    color: #8b93a2;
    margin: 8px 0 0;
}

/* Champs compacts style capture LoveTrans */
.lt-field-box {
    background: #f1f2f5;
    border-radius: 12px;
    padding: 8px 14px 10px;
    margin-bottom: 10px;
    border: 1px solid transparent;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.lt-field-box:focus-within {
    border-color: var(--ct-pink);
    background: #ffffff;
}

.lt-field-caption {
    display: block;
    font-size: 11.5px;
    color: #7b8393;
    margin-bottom: 2px;
    font-weight: 500;
}

.lt-field-box input,
.lt-field-box select,
.lt-field-box textarea {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #1f172b;
    font-size: 15px;
    font-weight: 500;
    padding: 2px 0 0;
}

.lt-textarea-box textarea {
    resize: vertical;
    min-height: 70px;
    line-height: 1.45;
}

.lt-field-with-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.lt-field-inner {
    flex: 1;
}

.lt-field-action-icon,
.lt-social-icon {
    border: 0;
    background: transparent;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    font-size: 18px;
}

.lt-field-action-icon:hover {
    color: var(--ct-pink);
}

/* Checkboxes Préférences 2 colonnes */
.lt-pref-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    padding: 4px 2px;
}

.lt-pref-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14.5px;
    color: #1f172b;
    user-select: none;
}

.lt-pref-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.lt-pref-box {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid #9ca3af;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.lt-pref-check input:checked + .lt-pref-box {
    background: linear-gradient(135deg, #9b1879, #f21b9a);
    border-color: #9b1879;
}

.lt-pref-check input:checked + .lt-pref-box::after {
    content: "✓";
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

/* Toggles Afficher sur mon profil */
.lt-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 2px;
    font-size: 14.5px;
    color: #1f172b;
    cursor: pointer;
}

.lt-ui-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.lt-ui-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.lt-ui-slider {
    position: absolute;
    inset: 0;
    background: #d1d5db;
    border-radius: 999px;
    transition: background 0.2s ease;
}

.lt-ui-slider::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease;
}

.lt-ui-switch input:checked + .lt-ui-slider {
    background: linear-gradient(90deg, #9b1879, #f21b9a);
}

.lt-ui-switch input:checked + .lt-ui-slider::before {
    transform: translateX(20px);
}

/* Bouton ENREGISTRER pleine largeur */
.lt-save-btn {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(95deg, #7c1868 0%, #c81986 55%, #f21b9a 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 20px rgba(200, 25, 134, 0.25);
    transition: filter 0.15s ease, transform 0.15s ease;
}

.lt-save-btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

/* Support Thème Sombre pour la page Mon Profil */
body.ct-theme-dark .lt-photo-slot-main,
body.ct-theme-dark .lt-photo-slot-small,
body.ct-theme-dark .lt-field-box {
    background: #2b1240;
    border-color: rgba(255, 255, 255, 0.14);
}

body.ct-theme-dark .lt-field-box input,
body.ct-theme-dark .lt-field-box select,
body.ct-theme-dark .lt-field-box textarea,
body.ct-theme-dark .lt-pref-check,
body.ct-theme-dark .lt-toggle-row {
    color: #ffffff;
}

body.ct-theme-dark .lt-field-box select option {
    background: #1f0b2f;
    color: #ffffff;
}

body.ct-theme-dark .lt-photo-add-trigger {
    color: #e4d4f0;
}

body.ct-theme-dark .lt-editor-label,
body.ct-theme-dark .lt-field-caption,
body.ct-theme-dark .lt-photo-hint {
    color: #cbb8d8;
}

@media (max-width: 640px) {
    .lt-profile-editor-body {
        padding: 14px;
    }
    .lt-photo-slots-layout {
        grid-template-columns: 1fr;
    }
    .lt-photo-slot-main {
        aspect-ratio: 4 / 3;
    }
}


/* =============================================================================
   13. TIROIR MENU HAMBURGER COULISSANT (COPIE CONFORME PHOTO — DESKTOP & MOBILE)
   ============================================================================= */
.lt-menu-icon {
    background: transparent;
    border: 0;
    padding: 4px 6px;
    font-size: 24px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lt-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 6, 26, 0.56);
    z-index: 1190;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.lt-drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lt-left-sidebar.lt-drawer {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    width: 285px;
    max-width: 85vw;
    height: 100vh;
    z-index: 1200;
    border-radius: 0 !important;
    background: linear-gradient(160deg, #3c0f53 0%, #83176e 60%, #b51b85 100%) !important;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    box-shadow: 12px 0 36px rgba(10, 2, 18, 0.45);
}

.lt-left-sidebar.lt-drawer.is-open {
    transform: translateX(0) !important;
}

.lt-drawer-top {
    padding: 18px 18px 14px;
    flex-shrink: 0;
}

.lt-drawer .lt-left-header {
    padding: 0 0 14px;
    border-bottom: 0;
    position: relative;
}

.lt-drawer .lt-left-avatar {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}

.lt-drawer .lt-left-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lt-drawer .lt-left-userinfo h2 {
    font-size: 17px;
    font-weight: 750;
    color: #ffffff !important;
    margin: 0 0 2px;
}

.lt-drawer-profile-btn {
    background: transparent;
    border: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    cursor: pointer;
}

.lt-drawer-close {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.14);
    border: 0;
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lt-drawer-subprofile {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(0, 0, 0, 0.22);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.lt-drawer-subprofile a {
    color: #ffffff;
    font-size: 13px;
    padding: 3px 0;
}

.lt-drawer-subprofile a.is-danger {
    color: #ffb4c8;
    font-weight: 700;
}

.lt-drawer .lt-left-toggle {
    padding: 6px 0 0;
    border-bottom: 0;
    font-size: 12.5px;
    color: #ffffff;
}

.lt-drawer .lt-left-toggle strong {
    color: #ffffff;
}

.lt-drawer-body {
    flex: 1;
    background: #ffffff;
    color: #1f172b;
    border-top-right-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    padding: 14px 0 18px;
}

.lt-drawer .lt-left-nav a,
.lt-drawer-nav-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 22px;
    color: #2b1f3b !important;
    background: transparent;
    border: 0;
    text-align: left;
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.lt-drawer .lt-left-nav a:hover,
.lt-drawer-nav-btn:hover {
    background: #f6effa;
    color: var(--ct-pink) !important;
}

.lt-drawer .lt-left-nav a.lt-drawer-logout-link {
    color: #dc2626 !important;
    font-weight: 650;
}

.lt-drawer .lt-left-nav a.lt-drawer-logout-link:hover {
    background: #fef2f2;
    color: #b91c1c !important;
}

.lt-drawer .lt-left-footer {
    margin: 12px 20px 0;
    padding: 14px 0 0;
    border-top: 1px solid #d9d4e3;
    font-size: 11px;
    line-height: 1.75;
    color: #6b7280;
}

.lt-drawer .lt-left-footer a {
    color: #6b7280;
}

.lt-drawer .lt-left-footer a:hover {
    color: var(--ct-pink);
}

body.ct-theme-dark .lt-drawer-body {
    background: #1b0929;
    color: #f4eaff;
}

body.ct-theme-dark .lt-drawer .lt-left-nav a,
body.ct-theme-dark .lt-drawer-nav-btn {
    color: #f4eaff !important;
}

body.ct-theme-dark .lt-drawer .lt-left-nav a:hover,
body.ct-theme-dark .lt-drawer-nav-btn:hover {
    background: #2b1140;
    color: #ff6ec7 !important;
}

body.ct-theme-dark .lt-drawer .lt-left-footer {
    border-top-color: rgba(255, 255, 255, 0.14);
    color: #b7a4c7;
}

body.ct-theme-dark .lt-drawer .lt-left-footer a {
    color: #b7a4c7;
}


/* =============================================================================
   14. PANNEAU MESSAGES INLINE & CONVERSATIONS (COPIE CONFORME DES CAPTURES)
   ============================================================================= */
.lt-msg-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lt-msg-top-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #ffffff;
    color: #9b1879;
    font-size: 10px;
    font-weight: 850;
    min-width: 17px;
    height: 17px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.lt-msg-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.lt-msg-item {
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.15s ease;
}

.lt-msg-item:hover,
.lt-msg-item.is-active-conv {
    background: #f8f4fc;
}

.lt-msg-filter-btn {
    position: relative;
    cursor: pointer;
    color: #3b2a54;
}

.lt-msg-filter-btn.is-active {
    background: #fde6f4;
    border-color: var(--ct-pink);
    color: var(--ct-pink);
}

.lt-mini-green-dot {
    position: absolute;
    top: 1px;
    right: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25d366;
    border: 1.5px solid #ffffff;
}

.lt-msg-trash-btn {
    background: transparent;
    border: 0;
    color: #9aa1b0;
    font-size: 15px;
    padding: 2px 4px;
    cursor: pointer;
}

.lt-msg-trash-btn:hover {
    color: #e11d48;
}

/* Vue Conversation Active Inline (Photo 2) */
.lt-msg-thread-view {
    display: flex;
    flex-direction: column;
    height: 560px;
    background: #ffffff;
}

.lt-thread-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid #ece8f3;
    background: #ffffff;
}

.lt-thread-back {
    background: transparent;
    border: 0;
    font-size: 28px;
    line-height: 1;
    color: #4a3563;
    padding: 0 6px 2px 0;
    cursor: pointer;
}

.lt-thread-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.lt-thread-mini-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fde2f3, #f9b4dc);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4a1564;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.lt-thread-mini-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.lt-thread-mini-avatar .lt-presence-dot {
    width: 11px;
    height: 11px;
    top: -2px;
    left: -2px;
    border-width: 2px;
}

.lt-thread-user-name {
    font-size: 14px;
    font-weight: 800;
    color: #1f172b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.lt-thread-user-sub {
    font-size: 11.5px;
    color: #7c8495;
}

.lt-thread-fav-btn {
    background: transparent;
    border: 0;
    font-size: 22px;
    color: #7c8495;
    cursor: pointer;
    padding: 4px;
}

.lt-thread-fav-btn.is-fav {
    color: #f59e0b;
}

.lt-thread-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
}

.lt-thread-center-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 6px auto 18px;
}

.lt-thread-big-avatar {
    width: 114px;
    height: 114px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, #fde2f3, #e6defc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #4a1564;
    box-shadow: 0 6px 18px rgba(30, 12, 50, 0.1);
    margin-bottom: 10px;
}

.lt-thread-big-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lt-thread-big-name {
    font-size: 15.5px;
    font-weight: 800;
    color: #1f172b;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.lt-thread-big-sub {
    font-size: 12.5px;
    color: #7c8495;
    margin-top: 2px;
}

.lt-thread-messages {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lt-thread-date {
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    margin: 10px 0 6px;
}

.lt-bubble-row {
    display: flex;
    width: 100%;
}

.lt-bubble-row.is-theirs {
    justify-content: flex-start;
}

.lt-bubble-row.is-mine {
    justify-content: flex-end;
}

.lt-bubble {
    max-width: 82%;
    padding: 9px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.35;
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.lt-bubble.is-theirs {
    background: linear-gradient(95deg, #6d1672, #a8197f);
    color: #ffffff;
    border-bottom-left-radius: 4px;
}

.lt-bubble.is-mine {
    background: #f1edf7;
    color: #1f172b;
    border-bottom-right-radius: 4px;
}

.lt-bubble-time {
    font-size: 11px;
    opacity: 0.78;
    white-space: nowrap;
}

.lt-thread-composer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid #ece8f3;
    background: #ffffff;
}

.lt-composer-type {
    border: 1px solid #e5e7eb;
    background: #f5f5f9;
    border-radius: 10px;
    padding: 8px;
    font-size: 14px;
}

.lt-thread-composer input[type="text"] {
    flex: 1;
    border: 1px solid #e2e4ec;
    background: #f5f6fa;
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 13.5px;
    color: #1f172b;
    outline: none;
}

.lt-thread-composer button[type="submit"] {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 0;
    background: linear-gradient(135deg, #9b1879, #f21b9a);
    color: #ffffff;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Support Thème Sombre pour le fil de discussion inline */
body.ct-theme-dark .lt-msg-thread-view,
body.ct-theme-dark .lt-thread-header,
body.ct-theme-dark .lt-thread-composer {
    background: #1f0b2f;
    border-color: rgba(255, 255, 255, 0.14);
}

body.ct-theme-dark .lt-msg-item:hover,
body.ct-theme-dark .lt-msg-item.is-active-conv {
    background: #2b1240;
}

body.ct-theme-dark .lt-thread-user-name,
body.ct-theme-dark .lt-thread-big-name,
body.ct-theme-dark .lt-thread-back {
    color: #ffffff;
}

body.ct-theme-dark .lt-bubble.is-mine {
    background: #36174f;
    color: #ffffff;
}

body.ct-theme-dark .lt-thread-composer input[type="text"],
body.ct-theme-dark .lt-composer-type {
    background: #2b1240;
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

/* Emplacement bannière publicitaire 728x90 (profil & pages internes) */
.ct-ad-slot-728-wrap {
    width: 100%;
    max-width: 728px;
    margin: 18px auto 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.ct-ad-slot-728-wrap .ct-ad-slot {
    width: 100%;
    max-width: 728px;
    min-height: 90px;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: center;
}

.ct-ad-slot-728-wrap .ct-ad-body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
}

.ct-ad-slot-728-wrap img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

.ct-ad-slot-728-wrap iframe {
    margin: 0 auto;
    display: block;
}

.lt-count-badge[hidden]{display:none}

/* Mode invisible : bouton lisible */
.ct-btn-invisible{background:#2c0f42;color:#fff;border:2px solid #e6007e;border-radius:999px;padding:9px 18px;font-size:13.5px;font-weight:700;cursor:pointer}
.ct-btn-invisible:hover{background:#3d1559}
.ct-btn-invisible.is-on{background:#e6007e;color:#fff;border-color:#e6007e}

/* Annonces */
.ct-ads-grid{columns:2 320px;column-gap:14px}
.ct-ad-card{break-inside:avoid;background:#fff;border:1px solid #e3d7ec;border-radius:12px;padding:14px;margin:0 0 14px;color:#2a1238}
.ct-ad-card h3{margin:0 0 6px;font-size:16px;color:#2a1238}
.ct-ad-card p{margin:0 0 10px;font-size:14px;color:#4a3558}
.ct-ad-meta{font-size:12.5px;color:#6b487b}
.lt-tile-extra{font-size:12px;font-weight:600;color:#0b5d6b;margin-top:2px}

/* Composer messagerie : photo / vocal */
.lt-thread-composer button[type="button"]{background:none;border:0;font-size:20px;cursor:pointer;padding:4px 6px}
.lt-thread-composer button.is-recording{color:#e11d48;animation:ctPulse 1s infinite}
@keyframes ctPulse{50%{opacity:.4}}

/* Fiche membre : favoris, témoignages, navigation */
.ct-profile-nav{display:inline-flex;gap:4px}
.ct-profile-nav a{display:inline-flex;width:30px;height:26px;align-items:center;justify-content:center;border:1px solid #cfc3d8;border-radius:13px;font-size:20px;line-height:1;color:#2a1238;text-decoration:none}
.ct-profile-nav a:hover{background:#e6007e;color:#fff;border-color:#e6007e}
.ct-fav-block{margin:14px 0;padding:10px 12px;border:1px solid #e3d7ec;border-radius:12px}
.ct-fav-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.ct-fav-avatar{width:40px;height:40px;border-radius:50%;overflow:hidden;background:#f3e6f7;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:#2a1238;text-decoration:none}
.ct-fav-avatar img{width:100%;height:100%;object-fit:cover}
.ct-testimonials-block{margin:14px 0}
.ct-testimonial-item{padding:8px 0;border-bottom:1px solid #eadff0}
.ct-testimonial-item p{margin:4px 0}

/* ===== ADMIN PLEIN ÉCRAN — DESIGN CLAIR MODERNE (SIDEBAR BLANCHE & PALETTE SLATE) ===== */
body.ct-admin-page{margin:0;background:#f8fafc!important;color:#1e293b!important}
.ct-admin-shell{display:flex;min-height:100vh;width:100%;background:#f8fafc;color:#1e293b}
.ct-admin-side{
    width:264px;flex:0 0 264px;background:#ffffff;color:#1e293b;
    border-right:1px solid #e2e8f0;box-shadow:2px 0 14px rgba(15,23,42,.03);
    padding:16px 12px;position:sticky;top:0;height:100vh;
    display:flex;flex-direction:column;overflow:hidden;
}
.ct-admin-nav-scroll{flex:1;overflow-y:auto;padding-right:2px;margin-top:4px}
.ct-admin-brand{
    display:flex;align-items:center;justify-content:space-between;gap:8px;
    font-size:20px;font-weight:900;color:#0f172a;text-decoration:none;
    padding:6px 10px 14px;border-bottom:1px solid #f1f5f9;margin-bottom:4px;
}
.ct-admin-brand-word{color:#0f172a;letter-spacing:-.02em}
.ct-admin-brand-word span{color:#e6007e}
.ct-admin-brand small{
    font-size:10px;font-weight:800;letter-spacing:.08em;color:#be185d;
    background:#fdf2f8;border:1px solid #fbcfe8;border-radius:999px;padding:3px 8px;
}
.ct-admin-group{
    font-size:10.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
    color:#94a3b8;margin:14px 10px 6px;padding-top:10px;border-top:1px solid #f1f5f9;
}
.ct-admin-nav-scroll .ct-admin-group:first-child{border-top:none;margin-top:6px;padding-top:2px}
.ct-admin-link{
    display:flex;align-items:center;gap:9px;padding:8px 11px;margin-bottom:2px;
    border-radius:9px;color:#334155;text-decoration:none;font-size:13.5px;font-weight:500;
    transition:background .15s ease,color .15s ease;
}
.ct-admin-ico{width:19px;text-align:center;flex:0 0 19px;font-size:14.5px;line-height:1}
.ct-admin-link:hover{background:#f1f5f9;color:#0f172a}
.ct-admin-link.is-active{
    background:#fdf2f8;color:#be185d;font-weight:700;
    box-shadow:inset 3px 0 0 #e6007e;
}
.ct-admin-side-footer{
    border-top:1px solid #e2e8f0;padding-top:10px;margin-top:10px;display:flex;flex-direction:column;gap:2px;
}
.ct-admin-logout{color:#dc2626}
.ct-admin-logout:hover{background:#fef2f2;color:#b91c1c}

.ct-admin-main{flex:1;min-width:0;padding:22px 28px}
.ct-admin-topbar{
    display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;
    background:#ffffff;border:1px solid #e2e8f0;border-radius:12px;
    padding:10px 16px;margin-bottom:18px;box-shadow:0 1px 2px rgba(15,23,42,.03);
}
.ct-admin-breadcrumb{display:flex;align-items:center;gap:8px;font-size:13.5px;color:#64748b}
.ct-admin-breadcrumb a{color:#64748b;text-decoration:none;font-weight:600}
.ct-admin-breadcrumb a:hover{color:#e6007e}
.ct-admin-breadcrumb strong{color:#0f172a;font-weight:800}
.ct-admin-sep{color:#cbd5e1}
.ct-admin-top-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.ct-admin-top-pill{
    display:inline-flex;align-items:center;gap:5px;padding:6px 11px;border-radius:8px;
    background:#f8fafc;border:1px solid #e2e8f0;color:#334155;text-decoration:none;
    font-size:12.5px;font-weight:600;transition:all .15s ease;
}
.ct-admin-top-pill:hover{background:#f1f5f9;border-color:#cbd5e1;color:#0f172a}
.ct-admin-top-pill.is-active{background:#fdf2f8;border-color:#fbcfe8;color:#be185d;font-weight:700}

.ct-admin-topcard{
    display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;
    background:#ffffff;border:1px solid #e2e8f0;border-left:4px solid #e6007e;
    border-radius:14px;padding:18px 22px;margin-bottom:18px;
    box-shadow:0 1px 3px rgba(15,23,42,.04);
}
.ct-admin-topcard h1{margin:0 0 4px;font-size:22px;font-weight:800;color:#0f172a}
.ct-admin-quick{display:flex;gap:8px;flex-wrap:wrap}
.ct-admin-quick form{margin:0}
.ct-admin-content .ct-card,.ct-admin-content .ct-home-section{color:#334155}
.ct-admin-content .ct-section-container{max-width:none;padding:0}
.ct-admin-content .ct-home-section{padding:0;background:transparent!important}
.ct-admin-main .ct-card{
    background:#ffffff!important;border:1px solid #e2e8f0!important;border-radius:14px;
    color:#334155!important;box-shadow:0 1px 3px rgba(15,23,42,.05),0 1px 2px rgba(15,23,42,.03);
}
.ct-admin-main .ct-card h1,.ct-admin-main .ct-card h2,.ct-admin-main .ct-card h3,.ct-admin-main .ct-card h4,.ct-admin-main .ct-card summary{color:#0f172a!important;font-weight:800}
.ct-admin-main .ct-card strong{color:#1e293b}
.ct-admin-main .ct-card a:not(.ct-btn-pink):not(.ct-btn-dark):not(.ct-badge):not(.ct-seg-pill):not(.ct-section-link):not(.ct-page-btn):not(.ct-admin-top-pill):not(.ct-admin-tile){color:#be185d}
.ct-admin-main .ct-muted{color:#64748b!important}
.ct-admin-main .ct-form-group label{color:#334155!important;font-weight:600}
.ct-admin-main .ct-input,.ct-admin-main .ct-select,.ct-admin-main .ct-textarea{
    background:#ffffff!important;color:#0f172a!important;border:1px solid #cbd5e1!important;border-radius:9px;
}
.ct-admin-main .ct-input::placeholder,.ct-admin-main .ct-textarea::placeholder{color:#94a3b8!important}
.ct-admin-main .ct-input:focus,.ct-admin-main .ct-select:focus,.ct-admin-main .ct-textarea:focus{
    border-color:#e6007e!important;box-shadow:0 0 0 3px rgba(230,0,126,.12);
}
body .ct-admin-main .ct-btn-dark{
    background:#ffffff;color:#334155;border:1px solid #cbd5e1;font-weight:600;border-radius:9px;
}
body .ct-admin-main .ct-btn-dark:hover{background:#f8fafc;border-color:#94a3b8;color:#0f172a}
.ct-admin-main .ct-table th{
    background:#f8fafc!important;color:#475569!important;border-bottom:1.5px solid #e2e8f0!important;
    font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;
}
.ct-admin-main .ct-table td{border-bottom:1px solid #f1f5f9!important;color:#334155!important}
.ct-admin-main .ct-table tbody tr:hover td{background:#f8fafc}
.ct-admin-main code{
    background:#f1f5f9;color:#be185d;border:1px solid #e2e8f0;padding:1px 6px;border-radius:5px;font-size:12px;
}
.ct-admin-main details{background:#f8fafc;border-color:#e2e8f0;color:#334155}
.ct-admin-main .ct-pill-tag{background:#fdf2f8;border:1px solid #fbcfe8;color:#be185d;font-weight:700}
.ct-admin-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:14px;margin-top:6px}
.ct-admin-tile{
    display:flex;flex-direction:column;gap:5px;background:#ffffff;border:1px solid #e2e8f0;
    border-radius:14px;padding:16px 18px;text-decoration:none;color:#0f172a;font-size:24px;
    box-shadow:0 1px 2px rgba(15,23,42,.04);transition:all .15s ease;
}
.ct-admin-tile strong{font-size:15px;color:#0f172a}
.ct-admin-tile small{font-size:12.5px;color:#64748b}
.ct-admin-tile:hover{border-color:#e6007e;transform:translateY(-1px);box-shadow:0 4px 12px rgba(230,0,126,.08)}
@media(max-width:960px){
    .ct-admin-shell{flex-direction:column}
    .ct-admin-side{position:static;width:100%;height:auto;flex:none;border-right:none;border-bottom:1px solid #e2e8f0}
    .ct-admin-main{padding:16px}
}


/* =============================================================================
   MISE À JOUR COMPLÈTE : GRANDE PHOTO PROFIL, FICHE, FAVORIS, MODALE SUCCÈS,
   SUPPRESSION MESSAGES/VOCAUX, AUTOCOMPLÉTION MONDIALE & ADMIN GRAPHIQUE
   ============================================================================= */

/* Petite modale de succès centrée (remplace la barre verte en haut) */
.ct-success-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(18, 6, 30, 0.45);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    animation: ctFadeIn 0.2s ease;
}
.ct-success-modal-backdrop.is-closing {
    opacity: 0;
    transition: opacity 0.25s ease;
}
.ct-success-modal-card {
    background: #ffffff;
    color: #2a1238;
    border-radius: 18px;
    padding: 22px 26px;
    max-width: 360px;
    width: 100%;
    text-align: center;
    box-shadow: 0 18px 48px rgba(26, 8, 44, 0.35);
    border: 1px solid rgba(230, 0, 126, 0.22);
    animation: ctPopIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
body.ct-theme-dark .ct-success-modal-card {
    background: #230c36;
    color: #f8effd;
    border-color: rgba(255, 79, 168, 0.35);
}
.ct-success-modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.32);
}
.ct-success-modal-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
}
.ct-success-modal-text {
    font-size: 13.5px;
    margin: 0 0 14px;
    line-height: 1.5;
    opacity: 0.9;
}
.ct-success-modal-btn {
    min-width: 110px;
    padding: 8px 22px;
    font-size: 13px;
}
@keyframes ctFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes ctPopIn { from { opacity: 0; transform: scale(0.92) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }

/* Grande photo de profil & Fiche complète (/profil/{slug}) */
.ct-profile-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ct-border);
}
.ct-profile-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.ct-profile-username {
    margin: 0;
    font-size: 28px;
    font-weight: 850;
    line-height: 1.15;
}
.ct-profile-hero-layout {
    display: grid;
    grid-template-columns: 440px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 20px;
}
.ct-profile-main-photo-box {
    width: 100%;
    aspect-ratio: 4 / 5;
    min-height: 360px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, #3c1357 0%, #b51d83 100%);
    box-shadow: 0 10px 28px rgba(42, 18, 56, 0.16);
    position: relative;
}
.ct-profile-main-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    transition: transform 0.25s ease;
}
.ct-profile-main-photo-img:hover {
    transform: scale(1.02);
}
.ct-profile-main-monogram {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    gap: 8px;
}
.ct-profile-main-monogram span {
    font-size: 68px;
    font-weight: 900;
    letter-spacing: 2px;
}
.ct-profile-main-monogram small {
    font-size: 15px;
    opacity: 0.85;
}
.ct-profile-thumbs-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 10px;
}
.ct-profile-thumb-btn {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    background: #f2e8f7;
}
.ct-profile-thumb-btn.is-selected {
    border-color: #e6007e;
    box-shadow: 0 0 0 2px rgba(230, 0, 126, 0.22);
}
.ct-profile-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ct-profile-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}
.ct-profile-spec-item {
    background: rgba(230, 0, 126, 0.04);
    border: 1px solid var(--ct-border);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
body.ct-theme-dark .ct-profile-spec-item {
    background: rgba(255, 255, 255, 0.04);
}
.ct-spec-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ct-muted);
}
.ct-spec-value {
    font-size: 14.5px;
    font-weight: 750;
}
.ct-profile-bio-box {
    background: rgba(120, 60, 160, 0.04);
    border: 1px solid var(--ct-border);
    border-radius: 14px;
    padding: 14px 16px;
}
.ct-profile-bio-text {
    margin: 8px 0 0;
    line-height: 1.65;
    white-space: pre-line;
    font-size: 14.5px;
}
.ct-profile-actions-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

/* Favoris : Petites photos des membres à droite de leur pseudo */
.ct-profile-favs-two-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}
.ct-fav-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.ct-fav-chips-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ct-fav-pseudo-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 5px 6px 5px 12px;
    border-radius: 999px;
    border: 1px solid var(--ct-border);
    background: rgba(230, 0, 126, 0.04);
    text-decoration: none;
    color: inherit;
    font-size: 13.5px;
    font-weight: 700;
    transition: border-color 0.18s, background 0.18s;
}
.ct-fav-pseudo-chip:hover {
    border-color: #e6007e;
    background: rgba(230, 0, 126, 0.1);
}
.ct-fav-pseudo-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ct-fav-right-thumb {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #fde2f3 0%, #f9b4dc 100%);
    color: #5b1844;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}
.ct-fav-right-thumb.is-md {
    width: 42px;
    height: 42px;
    font-size: 13px;
}
.ct-fav-right-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Pages Interactions (Mes favoris / Ils m'ont mis en favoris / Liste noire) */
.ct-interactions-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ct-border);
}
.ct-inter-tab {
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--ct-border);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    color: inherit;
}
.ct-inter-tab.is-active,
.ct-inter-tab:hover {
    background: #e6007e;
    border-color: #e6007e;
    color: #ffffff;
}
.ct-fav-rows-stack {
    display: flex;
    flex-direction: column;
}
.ct-fav-list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--ct-border);
    flex-wrap: wrap;
}
.ct-fav-list-row:last-child {
    border-bottom: none;
}
.ct-fav-pseudo-with-right-photo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}
.ct-fav-row-left-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ct-fav-row-pseudo {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 15.5px;
}

/* Lightbox photo plein écran */
.ct-lightbox-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(10, 4, 18, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.ct-lightbox-backdrop img {
    max-width: min(92vw, 900px);
    max-height: 88vh;
    border-radius: 14px;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.ct-lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
}

/* Bouton suppression message / vocal & menu filtre messagerie */
.lt-bubble {
    position: relative;
}
.lt-msg-del-btn {
    background: transparent;
    border: none;
    color: inherit;
    opacity: 0.55;
    cursor: pointer;
    font-size: 12px;
    padding: 2px 5px;
    margin-left: 6px;
    border-radius: 6px;
    vertical-align: middle;
}
.lt-msg-del-btn:hover {
    opacity: 1;
    color: #ff4d6d;
    background: rgba(255, 255, 255, 0.16);
}
.lt-msg-filter-popover-wrap {
    position: relative;
}
.lt-msg-filter-popover {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 285px;
    background: #ffffff;
    color: #2a1238;
    border: 1px solid #dfd2ea;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 14px 36px rgba(28, 10, 46, 0.22);
    z-index: 120;
}
body.ct-theme-dark .lt-msg-filter-popover {
    background: #230c36;
    color: #f6ecfc;
    border-color: #462366;
}
.lt-msg-filter-popover-title {
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}
.lt-msg-filter-choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 10px;
    border-radius: 9px;
    border: 1px solid transparent;
    background: transparent;
    color: inherit;
    font-size: 13.5px;
    font-weight: 650;
    cursor: pointer;
    text-align: left;
}
.lt-msg-filter-choice:hover,
.lt-msg-filter-choice.is-selected {
    background: rgba(230, 0, 126, 0.1);
    border-color: rgba(230, 0, 126, 0.35);
    color: #e6007e;
}

/* Autocomplétion mondiale prédictive des villes */
.ct-city-suggest-wrap {
    position: relative;
    flex: 1;
    min-width: 170px;
}
.ct-city-suggest-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    color: #2a1238;
    border: 1px solid #d8c8e6;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(28, 10, 46, 0.18);
    max-height: 260px;
    overflow-y: auto;
    z-index: 200;
    display: none;
}
body.ct-theme-dark .ct-city-suggest-menu {
    background: #230c36;
    color: #f7edfd;
    border-color: #4a246b;
}
.ct-city-suggest-item {
    padding: 9px 12px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(160, 120, 190, 0.14);
}
.ct-city-suggest-item:last-child { border-bottom: none; }
.ct-city-suggest-item:hover {
    background: rgba(230, 0, 126, 0.1);
    color: #e6007e;
}

@media (max-width: 860px) {
    .ct-profile-hero-layout {
        grid-template-columns: 1fr;
    }
    .ct-profile-main-photo-box {
        max-width: 100%;
        margin: 0 auto;
    }
    .ct-profile-specs-grid,
    .ct-profile-favs-two-cols {
        grid-template-columns: 1fr;
    }
}

/* =============================================================================
   14. CORRECTIONS MOBILES & PUBLICITÉS RESPONSIVES (2026-11-29)
   ============================================================================= */

/* --- Bandeau publicitaire : 728x90 maximum, centré, jamais débordant --- */
.ct-bottom-ads-zone {
    width: 100%;
    max-width: 820px;
    margin: 14px auto 34px;
    padding: 0 12px;
}
.ct-ad-slot {
    width: 100%;
    max-width: 768px;
    margin: 10px auto;
    padding: 4px 6px;
    border-radius: 10px;
    background: transparent;
    border: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}
.ct-ad-slot .ct-ad-label {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 9.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.55;
    margin-bottom: 2px;
}
.ct-ad-slot .ct-ad-body {
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}
.ct-ad-slot .ct-ad-frame {
    display: block;
    margin: 0 auto;
    border: 0;
    transform-origin: top center;
}
.ct-ad-slot.is-active {
    min-height: 0;
}
.ct-ad-placeholder-inner {
    padding: 6px 4px;
}

/* --- Profil : tableau des infos plus compact --- */
.ct-profile-specs-grid {
    gap: 7px;
    margin-bottom: 12px;
}
.ct-profile-spec-item {
    padding: 7px 11px;
    gap: 1px;
    border-radius: 10px;
}
.ct-spec-label {
    font-size: 10px;
    letter-spacing: 0.04em;
}
.ct-spec-value {
    font-size: 13.5px;
    line-height: 1.35;
}

/* --- Bouton de connexion plus grand --- */
.ct-card .ct-submit-profile-btn,
.ct-auth-card .ct-submit-profile-btn {
    height: 54px;
    font-size: 18.5px;
    border-radius: 14px;
}

/* --- Messagerie mobile : tiroir plein écran (plus besoin de scroller) --- */
.lt-chat-backdrop { display: none; }
.lt-chat-close-btn { display: none; }
body.ct-chat-open { overflow: hidden; }

@media (max-width: 1080px) {
    .lt-chat-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(12, 4, 20, 0.55);
        z-index: 1199;
    }
    body.ct-chat-open .lt-chat-backdrop { display: block; }
    .lt-messages-panel {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1200;
        border-radius: 0;
        max-height: 100dvh;
        overflow-y: auto;
        transform: translateY(100%);
        transition: transform 0.25s ease;
    }
    body.ct-chat-open .lt-messages-panel {
        transform: translateY(0);
    }
    .lt-chat-close-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.35);
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
        font-size: 16px;
        cursor: pointer;
    }
}

/* --- Barre de navigation basse (mobile uniquement) --- */
.lt-bottom-nav { display: none; }
.lt-bottom-nav-spacer { display: none; }

@media (max-width: 860px) {
    .lt-bottom-nav {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1100;
        height: 60px;
        background: #ffffff;
        border-top: 1px solid #e6dff0;
        box-shadow: 0 -6px 20px rgba(40, 10, 60, 0.08);
        padding-bottom: env(safe-area-inset-bottom);
    }
    body.ct-theme-dark .lt-bottom-nav {
        background: #1b0b28;
        border-top-color: #35203f;
    }
    .lt-bottom-nav-item {
        flex: 1 1 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        position: relative;
        text-decoration: none;
        color: #8b7f95;
        font-size: 10px;
        font-weight: 700;
    }
    body.ct-theme-dark .lt-bottom-nav-item { color: #b9a9c6; }
    .lt-bottom-nav-item.is-active { color: #e6007e; }
    .lt-bottom-nav-item svg { width: 22px; height: 22px; }
    .lt-bottom-nav-badge {
        position: absolute;
        top: 4px;
        right: 50%;
        transform: translateX(24px);
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        border-radius: 8px;
        background: #e6007e;
        color: #fff;
        font-size: 10px;
        line-height: 16px;
        text-align: center;
        font-weight: 800;
    }
    .lt-bottom-nav-spacer { display: block; height: 72px; }
}

/* --- En-tête membre allégé sur mobile (hamburger + logo + bulle messages) --- */
@media (max-width: 860px) {
    .lt-panel-topbar {
        position: relative;
        flex-wrap: nowrap;
        min-height: 56px;
    }
    .lt-topbar-icons > a { display: none !important; }
    .lt-topbar-icons { gap: 8px; margin-left: auto; }
    .lt-topbar-left { flex: 0 0 auto; }
    .lt-topbar-left .lt-brand-inline {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        white-space: nowrap;
    }
}
@media (min-width: 861px) {
    .lt-mobile-msg-btn { display: none !important; }
}

/* --- Photo « Mon profil » : cadrage portrait sur mobile --- */
@media (max-width: 640px) {
    .lt-photo-slot-main {
        aspect-ratio: 4 / 5;
    }
    .lt-photo-slot-main img {
        object-position: center 22%;
    }
}

/* --- Publicités : adaptation mobile --- */
@media (max-width: 768px) {
    .ct-bottom-ads-zone {
        margin: 8px auto 18px;
        padding: 0 6px;
    }
    .ct-ad-slot {
        max-width: 100%;
        margin: 6px auto;
        padding: 2px 2px;
    }
    .ct-ad-slot .ct-ad-label { font-size: 9px; }
}

/* =============================================================================
   15. INFOBULLE MESSAGE SUR PHOTO + SORTIE DU TIROIR MESSAGERIE (2026-11-29)
   ============================================================================= */

/* Infobulle « Envoyer un message » posée sur la grande photo de la fiche */
.ct-profile-main-photo-box { position: relative; }
.ct-profile-photo-chat {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 15px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(95deg, #e6007e 0%, #ff3aa6 100%);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(230, 0, 126, 0.42);
    transition: transform 0.15s ease, filter 0.15s ease;
}
.ct-profile-photo-chat:hover { transform: translateY(-2px); filter: brightness(1.06); }
.ct-profile-photo-chat svg { flex: 0 0 auto; }
@media (max-width: 640px) {
    .ct-profile-photo-chat { right: 10px; bottom: 10px; padding: 9px 12px; font-size: 12.5px; }
    .ct-profile-photo-chat span { display: inline; }
}

/* Bouton de fermeture du tiroir : visible sur fond clair comme sur fond rose */
.lt-chat-close-btn {
    color: #e6007e !important;
    border-color: rgba(230, 0, 126, 0.35) !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    flex: 0 0 auto;
}

/* Pied du panneau messagerie : retour aux membres / fermer */
.lt-chat-footer-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 4px 16px;
    border-top: 1px solid var(--ct-border);
    margin-top: 8px;
}
.lt-chat-return-link {
    font-size: 12.5px;
    font-weight: 700;
    color: #b3177f;
    text-decoration: none;
}
.lt-chat-return-link:hover { text-decoration: underline; }
.lt-chat-exit-btn {
    margin-left: auto;
    padding: 8px 14px;
    border: 0;
    border-radius: 999px;
    background: #2a1238;
    color: #fff;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
}

/* Bouton retour circulaire au-dessus de la photo de la fiche profil */
.ct-profile-back-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 4;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #2a1238;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(20, 5, 35, 0.28);
    backdrop-filter: blur(4px);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ct-profile-back-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 18px rgba(20, 5, 35, 0.36);
    color: #e6007e;
}
@media (max-width: 640px) {
    .ct-profile-back-btn {
        top: 10px;
        left: 10px;
        width: 38px;
        height: 38px;
    }
}

/* Boutons du pied de panneau messagerie : vrais boutons (et non de simples liens) */
.lt-chat-footer-actions {
    gap: 8px;
    padding: 12px 6px 16px;
}
.lt-chat-return-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 9px 13px;
    border-radius: 999px;
    border: 1.5px solid #e6007e;
    background: #ffffff;
    color: #c2187f;
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none;
    line-height: 1.1;
    transition: background 0.15s ease, transform 0.15s ease;
}
.lt-chat-return-link:hover {
    background: #fdf0f8;
    transform: translateY(-1px);
    text-decoration: none;
}
.lt-chat-exit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 9px 16px;
    border-radius: 999px;
    background: #2a1238;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 800;
    border: 1.5px solid #2a1238;
    cursor: pointer;
}
.lt-chat-exit-btn:hover { background: #e6007e; border-color: #e6007e; }

/* Bouton ✕ de fermeture : vrai bouton rond */
.lt-chat-close-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    border: 1.5px solid #e6007e !important;
    background: #ffffff !important;
    color: #e6007e !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: 0 3px 10px rgba(230, 0, 126, 0.25) !important;
}
.lt-chat-close-btn:hover { background: #e6007e !important; color: #ffffff !important; }

/* =============================================================================
   Modale de confirmation (suppression de photo, etc.)
   ============================================================================= */
.ct-confirm-backdrop {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 5, 25, 0.62);
    backdrop-filter: blur(3px);
    animation: ctConfirmIn 0.16s ease;
}
.ct-confirm-backdrop.is-closing { animation: ctConfirmOut 0.18s ease forwards; }
@keyframes ctConfirmIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes ctConfirmOut { from { opacity: 1; } to { opacity: 0; } }

.ct-confirm-card {
    width: 100%;
    max-width: 380px;
    background: #ffffff;
    color: #2a1238;
    border-radius: 18px;
    padding: 22px 20px 18px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(10, 0, 20, 0.4);
    animation: ctConfirmPop 0.18s ease;
}
body.ct-theme-dark .ct-confirm-card {
    background: #1d0b2b;
    color: #f6e9fb;
    border: 1px solid #3a2148;
}
@keyframes ctConfirmPop {
    from { transform: translateY(10px) scale(0.97); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}
.ct-confirm-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: rgba(225, 29, 72, 0.1);
    color: #e11d48;
}
.ct-confirm-title {
    font-size: 17px;
    font-weight: 850;
    margin-bottom: 6px;
}
.ct-confirm-text {
    margin: 0 0 18px;
    font-size: 13.5px;
    line-height: 1.5;
    opacity: 0.78;
}
.ct-confirm-actions {
    display: flex;
    gap: 10px;
}
.ct-confirm-cancel,
.ct-confirm-ok {
    flex: 1 1 0;
    padding: 12px 10px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: filter 0.15s ease, transform 0.15s ease;
}
.ct-confirm-cancel {
    background: transparent;
    border-color: #d8cbe4;
    color: inherit;
}
body.ct-theme-dark .ct-confirm-cancel { border-color: #4a2f5c; }
.ct-confirm-cancel:hover { background: rgba(0, 0, 0, 0.05); }
.ct-confirm-ok {
    background: linear-gradient(95deg, #e11d48 0%, #f43f5e 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.35);
}
.ct-confirm-ok:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* =============================================================================
   16. BAS DE PAGE MINIMALISTE (footer compact + cartes d'avantages denses)
   Tout le contenu et tous les liens sont conservés.
   ============================================================================= */

/* --- Footer desktop compact --- */
.ct-footer { padding: 26px 3vw 16px; }
.ct-footer-inner { gap: 18px; align-items: start; }
.ct-footer-brand .ct-brand-title { font-size: 22px; line-height: 1.1; }
.ct-footer-slogan { margin: 2px 0 5px; font-size: 12.5px; }
.ct-footer-desc { font-size: 12px; line-height: 1.5; margin: 0 0 8px; max-width: 360px; }
.ct-footer-badges { margin-top: 8px; gap: 8px; }
.ct-badge-18, .ct-badge-pwa { padding: 4px 10px; font-size: 11px; }
.ct-footer-col { margin: 0; }
.ct-footer-col summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    list-style: none;
    cursor: pointer;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 800;
    margin-bottom: 8px;
}
.ct-footer-col summary::-webkit-details-marker { display: none; }
.ct-footer-col summary::marker { content: ''; }
.ct-footer-caret { font-size: 10px; opacity: 0.65; transition: transform 0.2s ease; }
.ct-footer-col[open] .ct-footer-caret { transform: rotate(180deg); }
.ct-footer-col a { font-size: 12px; line-height: 1.6; }
.ct-footer-bottom { margin-top: 14px; padding-top: 10px; font-size: 11px; }

/* --- Footer mobile : accordéons fermés = page courte --- */
@media (max-width: 860px) {
    .ct-footer { padding: 16px 14px 14px; }
    .ct-footer-inner { grid-template-columns: 1fr; gap: 0; }
    .ct-footer-brand { padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
    .ct-footer-brand .ct-brand-title { font-size: 20px; }
    .ct-footer-desc { max-width: none; font-size: 11.5px; }
    .ct-footer-col { border-bottom: 1px solid rgba(255, 255, 255, 0.09); padding: 9px 0; }
    .ct-footer-col summary { font-size: 13px; margin-bottom: 0; }
    .ct-footer-col[open] summary { margin-bottom: 8px; }
    .ct-footer-col a { font-size: 12.5px; line-height: 1.55; }
    .ct-footer-bottom { flex-direction: column; gap: 3px; margin-top: 10px; padding-top: 10px; font-size: 10.5px; }

    /* Cartes d'avantages : 2 colonnes denses au lieu de 6 blocs pleine largeur */
    .ct-feature-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .ct-feature-card { padding: 10px; border-radius: 12px; }
    .ct-fc-icon { width: 30px; height: 30px; border-radius: 9px; font-size: 15px; margin-bottom: 7px; }
    .ct-feature-card h3 { font-size: 12.5px; line-height: 1.25; margin: 0 0 4px; }
    .ct-feature-card p {
        font-size: 11px;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .ct-home-section { padding-top: 26px; padding-bottom: 26px; }
}

/* Très petits écrans : espacements réduits (aucun contenu masqué) */
@media (max-width: 420px) {
    .ct-footer-desc { font-size: 11px; line-height: 1.4; margin-bottom: 6px; }
    .ct-footer-badges { margin-top: 6px; }
}

/* Correctif thème clair : titres d'accordéon du footer lisibles */
body.ct-theme-light .ct-footer-col summary { color: #1f102e; }
body.ct-theme-light .ct-footer-caret { opacity: 0.55; }
body.ct-theme-light .ct-footer-bottom { color: #6b5b7d; }

/* Emplacement publicitaire vide : aucune hauteur résiduelle */
.ct-ad-slot[data-ct-empty="1"] { display: none !important; }

/* =============================================================================
   17. PHOTO DE LA BANNIÈRE VISIBLE SUR MOBILE (bandeau image au-dessus du formulaire)
   ============================================================================= */
@media (max-width: 780px) {
    .ct-hero-fullscreen {
        display: block;
        min-height: auto;
    }
    .ct-hero-bg-photo {
        position: relative;
        inset: auto;
        width: 100%;
        height: 240px;
        opacity: 1;
        background-image: url('../img/hero-couple.jpg') !important;
        background-size: cover;
        background-position: center 15%;
    }
    /* L'overlay blanc du thème clair ne doit plus masquer la photo */
    body.ct-theme-light .ct-hero-fullscreen::before { display: none; }
    .ct-hero-grid {
        padding-top: 18px;
    }
}
@media (max-width: 420px) {
    .ct-hero-bg-photo { height: 210px; background-position: center 15%; }
}

/* =============================================================================
   18. FOOTER MOBILE : carte encadrée, plus collée aux bords de l'écran
   ============================================================================= */
@media (max-width: 780px) {
    .ct-footer {
        margin: 12px 10px 16px;
        padding: 16px 16px 14px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.10);
    }
    body.ct-theme-light .ct-footer {
        border-color: #e4dfee;
        box-shadow: 0 6px 22px rgba(40, 10, 60, 0.07);
    }
    .ct-footer-inner { max-width: none; }
    .ct-footer-bottom { max-width: none; }
}

/* =============================================================================
   19. BLOC DES 5 AVANTAGES (TRUSTBAR) : carte détachée sur mobile
   ============================================================================= */
@media (max-width: 780px) {
    .ct-trustbar {
        width: auto;
        margin: 12px 10px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.10);
        overflow: hidden;
    }
    body.ct-theme-light .ct-trustbar {
        border-color: #e4dfee;
        box-shadow: 0 6px 22px rgba(40, 10, 60, 0.07);
    }
    .ct-trustbar-inner {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 6px 10px;
    }
    .ct-trust-col {
        justify-content: flex-start;
        padding: 11px 6px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    }
    body.ct-theme-light .ct-trust-col {
        border-bottom-color: #ece4f5;
    }
    .ct-trust-col:last-child { border-bottom: 0; }
}

/* Bannière 728x90 intégrée en haut de la carte footer */
.ct-footer > .ct-ad-slot {
    max-width: 100%;
    margin: 0 0 14px;
    padding: 0 0 10px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
body.ct-theme-light .ct-footer > .ct-ad-slot {
    border-bottom-color: #ece4f5;
}
.ct-footer > .ct-ad-slot .ct-ad-label { opacity: 0.45; }
@media (max-width: 780px) {
    .ct-footer > .ct-ad-slot {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }
}

/* Une bannière active reste invisible tant qu'elle n'est pas réellement servie */
/* Les emplacements actifs s'affichent directement */

/* =============================================================================
   20. BOUTON DE BASCULE CLAIR / SOMBRE
   ============================================================================= */
.ct-theme-toggle { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.ct-theme-toggle .ct-icon-sun { display: none; }
[data-theme="light"] .ct-theme-toggle .ct-icon-sun { display: block; }
[data-theme="light"] .ct-theme-toggle .ct-icon-moon { display: none; }

/* Bouton flottant sur les pages publiques (accueil) */
.ct-theme-toggle-floating {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 30;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    color: #2a1238;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 6px 18px rgba(20, 5, 35, 0.25);
    backdrop-filter: blur(4px);
    transition: transform 0.15s ease, background 0.15s ease;
}
.ct-theme-toggle-floating:hover { transform: scale(1.06); background: #ffffff; }
[data-theme="dark"] .ct-theme-toggle-floating { color: #2a1238; }

@media (max-width: 780px) {
    .ct-theme-toggle-floating { top: 10px; right: 10px; width: 40px; height: 40px; }
}

/* =============================================================================
   21. BOUTONS DE CONNEXION SOCIALE (Google / Facebook / Apple)
   ============================================================================= */
.ct-oauth-block { margin-top: 18px; }
.ct-oauth-sep {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 14px;
    color: var(--ct-muted);
    font-size: 12px;
}
.ct-oauth-sep::before,
.ct-oauth-sep::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: var(--ct-border);
}
.ct-oauth-btns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.ct-oauth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 8px;
    border-radius: 12px;
    border: 1.5px solid var(--ct-border);
    background: #ffffff;
    color: #241434;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
body.ct-theme-dark .ct-oauth-btn {
    background: rgba(255, 255, 255, 0.06);
    color: #f6e9fb;
    border-color: rgba(255, 255, 255, 0.16);
}
.ct-oauth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(30, 10, 45, 0.12);
    text-decoration: none;
}
.ct-oauth-btn.is-google:hover { border-color: #4285F4; }
.ct-oauth-btn.is-facebook:hover { border-color: #1877F2; }
.ct-oauth-btn.is-apple:hover { border-color: #111111; }
.ct-oauth-btn.is-x:hover { border-color: #111111; }
body.ct-theme-dark .ct-oauth-btn.is-x:hover { border-color: #ffffff; }
.ct-oauth-icon { display: inline-flex; flex: 0 0 auto; }
.ct-oauth-label { white-space: nowrap; }

@media (max-width: 560px) {
    .ct-oauth-btns { grid-template-columns: 1fr; }
    .ct-oauth-btn { justify-content: flex-start; padding-left: 16px; }
}

/* =============================================================================
   22. EN-TÊTE DES PAGES D'AUTHENTIFICATION (logo cliquable + retour accueil)
   ============================================================================= */
.ct-auth-topbar {
    position: relative;
    max-width: 520px;
    margin: 0 auto 18px;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ct-auth-back {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px 8px 8px;
    border-radius: 999px;
    border: 1.5px solid var(--ct-border);
    background: rgba(255, 255, 255, 0.06);
    color: #f0e2f8;
    font-size: 12.5px;
    font-weight: 750;
    text-decoration: none;
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.ct-auth-back:hover {
    transform: translateY(-50%) translateX(-2px);
    border-color: var(--ct-pink);
    text-decoration: none;
}
.ct-auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 14px;
}
.ct-auth-logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 12px;
    background: #ffffff;
    padding: 3px;
    box-shadow: 0 4px 14px rgba(20, 5, 35, 0.25);
}
.ct-auth-logo-text {
    font-size: 22px;
    font-weight: 850;
    letter-spacing: -0.5px;
    color: #ffffff;
}
.ct-auth-logo-text span { color: var(--ct-pink-bright); }

body.ct-theme-light .ct-auth-back {
    background: #ffffff;
    color: #2a1238;
    border-color: #e4dfee;
}
body.ct-theme-light .ct-auth-logo-text { color: #1f0e33; }

@media (max-width: 560px) {
    .ct-auth-topbar { margin-bottom: 14px; }
    .ct-auth-back span { display: none; }
    .ct-auth-back { padding: 9px; }
    .ct-auth-logo img { width: 36px; height: 36px; }
    .ct-auth-logo-text { font-size: 19px; }
}

/* =============================================================================
   23. CONTRASTE RENFORCÉ EN MODE SOMBRE (lisibilité des textes)
   ============================================================================= */
body.ct-theme-dark {
    --ct-muted: #ece2f5;
    --ct-border: rgba(255, 255, 255, 0.24);
}
body.ct-theme-dark .ct-muted,
body.ct-theme-dark .ct-muted a,
body.ct-theme-dark p.ct-muted,
body.ct-theme-dark small.ct-muted {
    color: #ece2f5 !important;
}
body.ct-theme-dark .ct-form-group label { color: #ffffff; }
body.ct-theme-dark .ct-card {
    background: #26103a;
    border-color: rgba(255, 255, 255, 0.20);
}
body.ct-theme-dark .ct-input::placeholder,
body.ct-theme-dark .ct-textarea::placeholder { color: #c4b3d4; }

/* Boutons sociaux : texte et bordure plus contrastés */
body.ct-theme-dark .ct-oauth-btn {
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.30);
}
body.ct-theme-dark .ct-oauth-sep { color: #dccfec; }
.ct-auth-back { color: #ffffff; }
body.ct-theme-dark .ct-auth-back { border-color: rgba(255, 255, 255, 0.30); }

/* Footer : liens plus lisibles */
body.ct-theme-dark .ct-footer-col a,
body.ct-theme-dark .ct-footer-desc,
body.ct-theme-dark .ct-footer-slogan { color: #ddcfec; }
body.ct-theme-dark .ct-footer-bottom { color: #cfc0de; }
body.ct-theme-dark .ct-footer-col summary { color: #ffffff; }


/* Bannière 728x90 au-dessus de la barre de recherche (/membres) */
.ct-search-top-ad {
    width: 100%;
    margin: 0 0 12px;
    display: flex;
    justify-content: center;
}
.ct-search-top-ad .ct-ad-slot { margin: 0; }
@media (max-width: 780px) {
    .ct-search-top-ad { margin-bottom: 10px; }
}

/* =============================================================================
   20. MAILLAGE SEO INTER-SITES — RÉSEAU CERCLE (ACCUEIL, FOOTER 5 COL, VILLES, À PROPOS)
   ============================================================================= */
@media (min-width: 861px) {
    .ct-footer-inner {
        grid-template-columns: 1.55fr 1fr 1fr 1.15fr 1fr;
    }
}

.ct-network-seo-band {
    padding: 36px 3vw 32px;
    background: #12061c;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
body.ct-theme-light .ct-network-seo-band {
    background: #f8f5fc;
    border-top: 1px solid #e7dff2;
}
.ct-network-seo-inner {
    max-width: 1320px;
    margin: 0 auto;
}
.ct-network-seo-head {
    max-width: 780px;
    margin-bottom: 20px;
}
.ct-network-pill {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: rgba(255, 41, 156, 0.14);
    color: #ff299c;
    margin-bottom: 8px;
}
.ct-network-seo-head h2 {
    margin: 0 0 6px;
    font-size: clamp(19px, 2.1vw, 24px);
    line-height: 1.25;
    color: #ffffff;
}
body.ct-theme-light .ct-network-seo-head h2 {
    color: #1f102e;
}
.ct-network-seo-head p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: #ccbde0;
}
body.ct-theme-light .ct-network-seo-head p {
    color: #5b4c6e;
}

.ct-network-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.ct-network-card {
    background: #1b0a2a;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.ct-network-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 41, 156, 0.45);
}
body.ct-theme-light .ct-network-card {
    background: #ffffff;
    border-color: #e4dcf0;
    box-shadow: 0 4px 16px rgba(31, 16, 46, 0.05);
}
body.ct-theme-light .ct-network-card:hover {
    border-color: #c084fc;
    box-shadow: 0 8px 22px rgba(31, 16, 46, 0.09);
}
.ct-network-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.ct-network-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(168, 85, 247, 0.16);
    color: var(--net-accent, #ff299c);
}
.ct-network-domain {
    font-size: 11.5px;
    font-weight: 600;
    color: #9e8cb2;
}
body.ct-theme-light .ct-network-domain {
    color: #74648a;
}
.ct-network-card h3 {
    margin: 2px 0 0;
    font-size: 15px;
    line-height: 1.35;
}
.ct-network-card h3 a {
    color: #ffffff;
    text-decoration: none;
}
.ct-network-card h3 a:hover {
    color: #ff299c;
}
body.ct-theme-light .ct-network-card h3 a {
    color: #1f102e;
}
body.ct-theme-light .ct-network-card h3 a:hover {
    color: var(--ct-pink);
}
.ct-network-card p {
    margin: 0;
    font-size: 12.8px;
    line-height: 1.55;
    color: #c8b8db;
    flex: 1;
}
body.ct-theme-light .ct-network-card p {
    color: #5b4c6e;
}
.ct-network-cta {
    display: inline-flex;
    align-items: center;
    font-size: 12.5px;
    font-weight: 750;
    color: #ff4db2;
    text-decoration: none;
    margin-top: 4px;
}
body.ct-theme-light .ct-network-cta {
    color: #9333ea;
}
.ct-network-cta:hover {
    text-decoration: underline;
}

.ct-network-city-box {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}
body.ct-theme-light .ct-network-city-box {
    border-top-color: #e6def2;
}
.ct-network-city-box h2 {
    margin: 0 0 8px;
    font-size: 20px;
}
.ct-network-internal-cities {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    font-size: 12.5px;
}
.ct-network-internal-cities a {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e4d7f5;
    text-decoration: none;
}
body.ct-theme-light .ct-network-internal-cities a {
    background: #f4effa;
    border-color: #e0d5ef;
    color: #3a1d56;
}
.ct-network-internal-cities a:hover {
    border-color: var(--ct-pink);
    color: var(--ct-pink);
}

.ct-network-about-card {
    margin-top: 22px;
}
.ct-network-about-card h2 {
    margin: 10px 0;
    font-size: 21px;
}
.ct-about-lead {
    font-size: 16.5px;
    line-height: 1.65;
}
.ct-subcard {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    padding: 16px;
}
body.ct-theme-light .ct-subcard {
    background: #f9f6fd;
    border-color: #e5ddf2;
}

.lt-drawer-network {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(140, 120, 165, 0.25);
    font-size: 11.5px;
    line-height: 1.5;
}
.lt-drawer-network span {
    font-weight: 700;
}

@media (max-width: 860px) {
    .ct-network-seo-band { padding: 24px 16px 20px; }
    .ct-network-grid { grid-template-columns: 1fr; gap: 12px; }
    .ct-network-card { padding: 14px; }
}
