:root {
    --bg: #0f0d10;
    --surface: #1a161b;
    --line: #2c252e;
    --text: #f4eef2;
    --muted: #a99fa6;
    --accent: #e8577e;
    --accent-dark: #c93f66;
    --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* En-tête */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: "Playfair Display", Georgia, serif; font-size: 1.6rem; font-weight: 700; letter-spacing: .5px; }
.logo span { color: var(--accent); }
.top small { color: var(--muted); font-size: .85rem; }

/* Bandeau */
.hero { text-align: center; padding: 56px 0 32px; }
.hero h1 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(2rem, 6vw, 3.2rem); margin: 0 0 8px; line-height: 1.1; }
.hero p { color: var(--muted); margin: 0; }

.demo {
    background: #3a2a10; color: #ffd98a; border: 1px solid #6b4d16;
    border-radius: 10px; padding: 10px 14px; margin: 16px 0 0; font-size: .9rem; text-align: center;
}

/* Grille de vignettes */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    padding: 24px 0 64px;
}
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.thumb { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .thumb img { transform: scale(1.04); }
.thumb .ph {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-family: "Playfair Display", Georgia, serif; font-size: 1.4rem; text-align: center; padding: 20px;
}
.badge {
    position: absolute; top: 12px; right: 12px;
    background: rgba(0,0,0,.65); backdrop-filter: blur(4px);
    padding: 4px 10px; border-radius: 999px; font-weight: 700; font-size: .9rem;
}
.lock {
    position: absolute; bottom: 12px; left: 12px;
    background: rgba(0,0,0,.65); padding: 3px 9px; border-radius: 999px; font-size: .78rem; color: var(--muted);
}
.card .info { padding: 14px 16px 16px; }
.card h2 { font-size: 1.05rem; margin: 0 0 2px; }
.card .meta { color: var(--muted); font-size: .85rem; }

.empty { text-align: center; color: var(--muted); padding: 64px 0; }

/* Page de vente */
.back { display: inline-block; color: var(--muted); margin: 24px 0 8px; font-size: .9rem; }
.back:hover { color: var(--text); }
.product {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 8px 0 64px; align-items: start;
}
.product .thumb { border-radius: var(--radius); border: 1px solid var(--line); }
.product h1 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 8px; line-height: 1.15; }
.price { font-size: 1.8rem; font-weight: 700; color: var(--accent); margin: 8px 0 4px; }
.desc { color: #d8ced5; white-space: pre-line; margin: 20px 0; }
.btn {
    display: block; width: 100%; text-align: center;
    background: var(--accent); color: #fff; font-weight: 700; font-size: 1.1rem;
    padding: 16px 20px; border: 0; border-radius: 12px; cursor: pointer;
    transition: background .2s ease;
}
.btn:hover { background: var(--accent-dark); }
.btn-don {
    margin-top: 10px; background: transparent; color: var(--text);
    border: 1px solid var(--line); font-size: 1rem; padding: 13px 20px;
}
.btn-don:hover { background: transparent; border-color: var(--accent); color: var(--accent); }
.trust { list-style: none; padding: 0; margin: 20px 0 0; color: var(--muted); font-size: .9rem; }
.trust li { padding: 4px 0; }
.trust li::before { content: "✓ "; color: var(--accent); }

/* Page profil */
.profil {
    display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center;
    background: linear-gradient(135deg, #2a1520, var(--surface));
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; margin: 8px 0 36px;
}
.avatar { width: 200px; height: 200px; border-radius: 50%; overflow: hidden; border: 3px solid var(--accent); }
.avatar img, .avatar .ph { width: 100%; height: 100%; object-fit: cover; }
.avatar .ph { display: flex; align-items: center; justify-content: center; font-family: "Playfair Display", Georgia, serif; font-size: 4rem; }
.profil h1 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(2rem, 5vw, 2.8rem); margin: 0 0 4px; line-height: 1.1; }
.profil .meta { color: var(--muted); }
.profil .desc { margin: 14px 0 18px; }
.don-message { color: var(--accent); font-style: italic; margin: 0 0 10px; }
.btn-don.inline { display: inline-block; width: auto; margin-top: 0; padding: 12px 28px; }
.section-title { font-family: "Playfair Display", Georgia, serif; font-size: 1.5rem; margin: 0; }
.par { display: inline-block; color: var(--accent); font-size: .95rem; margin-bottom: 6px; }
.par:hover { text-decoration: underline; }

/* Wishlist (page profil) */
.wishlist { border-top: 1px solid var(--line); padding: 36px 0 64px; }
.wl-tete { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.wl-tete p { margin: 6px 0 0; }
.btn.inline { display: inline-block; width: auto; padding: 12px 28px; }
.souhaits { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.souhait { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.souhait.finance { border-color: #1f5535; }
.s-img { width: 76px; height: 76px; flex-shrink: 0; border-radius: 10px; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.s-img img { width: 100%; height: 100%; object-fit: cover; }
.s-txt { flex: 1; min-width: 0; }
.s-txt strong { display: block; font-size: .95rem; line-height: 1.3; margin-bottom: 8px; }
.barre { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 4px; }
.barre span { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.souhait.finance .barre span { background: #3fbf7f; }
.s-txt small { color: var(--muted); }

/* Bloc dons */
.don {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    background: linear-gradient(135deg, #2a1520, var(--surface));
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; margin: 0 0 64px;
}
.don h2 { font-family: "Playfair Display", Georgia, serif; font-size: 1.6rem; margin: 0 0 6px; }
.don p { color: var(--muted); margin: 0 0 12px; max-width: 560px; }
.montants { display: flex; flex-wrap: wrap; gap: 8px; }
.montants span { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .88rem; }
.don form { flex-shrink: 0; min-width: 220px; }

/* Vérification d'âge */
.age-bloque body { overflow: hidden; }
.age-bloque .top, .age-bloque main, .age-bloque .foot { filter: blur(14px); pointer-events: none; user-select: none; }
.age-voile {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(10, 8, 11, .82);
    display: flex; align-items: center; justify-content: center; padding: 16px;
}
.age-boite {
    width: 100%; max-width: 440px; text-align: center;
    background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
    padding: 32px 24px 24px; box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.age-logo { font-family: "Playfair Display", Georgia, serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 18px; }
.age-logo span { color: var(--accent); }
.age-badge {
    width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%;
    border: 3px solid var(--accent); color: var(--accent);
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.4rem;
}
.age-boite h2 { font-family: "Playfair Display", Georgia, serif; font-size: 1.5rem; margin: 0 0 10px; }
.age-boite p { color: var(--muted); font-size: .95rem; margin: 0 0 22px; }
.age-quitter { display: inline-block; margin-top: 14px; color: var(--muted); font-size: .9rem; text-decoration: underline; }
.age-quitter:hover { color: var(--text); }

/* Guide TikTok (ouvrir dans le navigateur) — passe devant l'écran +18 */
.tt-actif body { overflow: hidden; }
.tt-actif .age-voile { display: none; }
.tt-guide {
    position: fixed; inset: 0; z-index: 2000; overflow-y: auto;
    background: radial-gradient(circle at 50% 0%, #2a1520 0%, var(--bg) 60%);
    display: flex; flex-direction: column; align-items: center; padding: 72px 16px 32px;
}
.tt-guide[hidden] { display: none; }
.tt-fleche { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2001; overflow: visible; }
.tt-pointe { animation: tt-pousse 1.2s ease-in-out infinite; }
@keyframes tt-pousse { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.tt-carte {
    width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--line);
    border-radius: 22px; padding: 26px 20px 20px; box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.tt-marque, .tt-titre, .tt-sous-titre { padding-right: 56px; } /* couloir libre pour la flèche */
.tt-marque .age-logo { margin-bottom: 2px; text-align: left; }
.tt-officiel { color: #3fbf7f; font-size: .78rem; margin-bottom: 18px; }
.tt-titre { font-size: 1.35rem; font-weight: 800; line-height: 1.25; margin-bottom: 6px; }
.tt-sous-titre { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.tt-etapes { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 10px; }
.tt-etapes li { display: flex; align-items: center; gap: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.tt-num { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; }
.tt-txt { flex: 1; font-size: .95rem; line-height: 1.4; color: #ddd; }
.tt-txt strong { color: #fff; }
.tt-visuel { flex-shrink: 0; min-width: 44px; height: 34px; padding: 0 10px; border-radius: 10px; background: #26222a; border: 1px solid var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 800; }
.tt-ou { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .78rem; margin: 2px 0 12px; }
.tt-ou::before, .tt-ou::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.tt-carte .btn { margin-bottom: 10px; }
.tt-carte .btn[hidden] { display: none; }
.tt-copier { background: var(--bg); border: 1px solid var(--line); color: var(--text); font-size: 1rem; }
.tt-copier:hover { background: var(--bg); border-color: var(--accent); }
.tt-copier.ok { border-color: #1f5535; color: #9be3b4; }
.tt-aide { text-align: center; color: var(--muted); font-size: .78rem; margin-top: -4px; }
.tt-pourquoi { margin-top: 16px; padding: 12px; border-radius: 12px; border: 1px dashed var(--line); color: var(--muted); font-size: .82rem; line-height: 1.5; }
.tt-pourquoi strong { color: #ddd; }
.tt-continuer { display: block; text-align: center; margin-top: 14px; color: var(--muted); font-size: .8rem; text-decoration: underline; }
.tt-badges { width: 100%; max-width: 400px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.tt-badges div { text-align: center; padding: 10px 6px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: .72rem; line-height: 1.5; }

.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; text-align: center; padding: 24px 0; }

@media (max-width: 760px) {
    .product { grid-template-columns: 1fr; gap: 24px; }
    .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .card .info { padding: 10px 12px 12px; }
    .card h2 { font-size: .95rem; }
    .hero { padding: 36px 0 16px; }
    .don { flex-direction: column; align-items: stretch; padding: 20px; }
    .profil { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 24px 16px; gap: 16px; }
    .avatar { width: 140px; height: 140px; }
    .btn-don.inline { width: 100%; }
    .don form { min-width: 0; }
}

/* Contenus gratuits */
.lock.gratuit { color: #fff; background: rgba(63, 191, 127, .85); }
.play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 58px; height: 58px; border-radius: 50%; background: rgba(0,0,0,.55);
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem; padding-left: 4px;
}
.lecteur { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.lecteur video, .lecteur img { display: block; width: 100%; max-height: 80vh; object-fit: contain; background: #000; }
