/* SexCamFeed — feuille de style partagee (preview statique + theme WordPress).
   Design : dark, mobile-first, agregateur de cams. Conforme : aucun visuel explicite,
   hero suggestif soft uniquement, disclaimers 18+ visibles. */

:root {
  --bg: #0d0d12;
  --bg-2: #15151d;
  --bg-3: #1d1d27;
  --surface: #1a1a23;
  --line: #2a2a36;
  --txt: #ececf1;
  --txt-dim: #9a9aab;
  --accent: #ff2d77;       /* rose vif */
  --accent-2: #b14bff;     /* violet */
  --live: #21d07a;
  --gold: #ffc83d;
  --radius: 14px;
  --maxw: 1280px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); background: var(--bg); color: var(--txt);
  line-height: 1.55; font-size: 16px; padding-bottom: 78px;
  overflow-x: hidden; -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg); /* opaque : plus de contenu visible dessous au scroll */
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(0,0,0,.45);
}
/* Mobile : marque + langues en 1re ligne, nav pleine largeur scrollable en 2e ligne.
   Desktop (>=900px) : tout sur une seule ligne. */
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; min-height: 56px; padding-top: 8px; padding-bottom: 8px; }
.brand { font-weight: 800; font-size: 20px; letter-spacing: -.02em; flex-shrink: 0; order: 1; }
.brand b { color: var(--accent); }
.langsw { order: 2; margin-left: auto; }
.nav {
  order: 3; width: 100%;
  display: flex; gap: 6px; flex-wrap: nowrap;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; -ms-overflow-style: none;
}
@media (min-width: 900px) {
  .site-header .wrap { flex-wrap: nowrap; height: 60px; padding-top: 0; padding-bottom: 0; }
  .nav { order: 2; width: auto; margin-left: auto; max-width: 100%; }
  .langsw { order: 3; margin-left: 10px; }
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  padding: 7px 12px; border-radius: 999px; font-size: 14px; color: var(--txt-dim);
  white-space: nowrap; border: 1px solid transparent; flex-shrink: 0;
}
.nav a:hover, .nav a.active { color: var(--txt); background: var(--bg-3); border-color: var(--line); }

/* ---------- Hero ---------- */
.hero { padding: 34px 0 14px; }
.hero h1 { font-size: clamp(24px, 5vw, 40px); margin: 0 0 8px; letter-spacing: -.02em; }
.hero p { color: var(--txt-dim); margin: 0; max-width: 720px; }
.hero .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.chip {
  font-size: 13px; padding: 6px 12px; border-radius: 999px;
  background: var(--bg-3); border: 1px solid var(--line); color: var(--txt-dim);
}
.chip:hover { color: var(--txt); border-color: var(--accent); }

/* ---------- Section heads ---------- */
.sec-head { display: flex; align-items: baseline; gap: 12px; margin: 26px 0 14px; }
.sec-head h2 { font-size: 20px; margin: 0; }
.sec-head .count { color: var(--txt-dim); font-size: 14px; }
.sec-head a.more { margin-left: auto; font-size: 14px; color: var(--accent); }

/* ---------- Grid of cards ---------- */
.grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 560px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 860px) { .grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px){ .grid { grid-template-columns: repeat(5, 1fr); } }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .12s, border-color .12s;
}
.card:hover { transform: translateY(-3px); border-color: var(--accent); }
.card .thumb { position: relative; aspect-ratio: 3/4; background: var(--bg-3); }
.card .thumb img, .card .thumb svg { width: 100%; height: 100%; object-fit: cover; }
.card .badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 6px; }
.badge {
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(4px);
}
.badge.live { background: var(--live); color: #06210f; }
.badge.live::before { content: "● "; }
.badge.brand { background: rgba(0,0,0,.55); color: var(--txt-dim); text-transform: capitalize; }
.card .meta { padding: 9px 11px 12px; }
.card .name { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.card .name .stars { color: var(--gold); font-size: 12px; margin-left: auto; }
.card .sub { color: var(--txt-dim); font-size: 12.5px; margin-top: 2px; }
.card .tags { margin-top: 7px; display: flex; gap: 5px; flex-wrap: wrap; }
.card .tags span { font-size: 10.5px; color: var(--txt-dim); background: var(--bg-3); padding: 2px 7px; border-radius: 6px; }

/* ---------- Model page ---------- */
.model-layout { display: grid; gap: 20px; padding: 22px 0; }
@media (min-width: 900px) { .model-layout { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.feed-box {
  position: relative; aspect-ratio: 16/10; background: #000; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line);
}
.feed-box iframe, .feed-box img, .feed-box svg { width: 100%; height: 100%; border: 0; object-fit: cover; }
/* Lien sur le flux : un libellé VISIBLE indique clairement que cliquer entre dans la room (anti « lien déguisé »/Safe Browsing). */
.feed-link { display: block; width: 100%; height: 100%; }
.feed-enter {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 3;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
  font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0,0,0,.45); pointer-events: none;
}
.feed-cta {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.65));
  text-align: center; padding: 20px;
}
.feed-cta .live-pill { background: var(--live); color: #06210f; font-weight: 700; padding: 5px 12px; border-radius: 999px; font-size: 13px; }
.model-side h1 { font-size: 26px; margin: 0 0 4px; }
.model-side .who { color: var(--txt-dim); margin: 0 0 14px; }
.attr-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 14px 0; }
.attr-list .k { color: var(--txt-dim); font-size: 13px; }
.attr-list .v { font-weight: 600; font-size: 14px; }
.model-tags { display: flex; gap: 7px; flex-wrap: wrap; margin: 14px 0; }
.model-tags a { font-size: 12.5px; background: var(--bg-3); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; color: var(--txt-dim); }
.model-tags a:hover { color: var(--txt); border-color: var(--accent); }
.seo-text { color: var(--txt-dim); font-size: 15px; margin-top: 18px; }
.seo-text h2 { color: var(--txt); font-size: 18px; margin: 22px 0 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
  font-weight: 700; padding: 13px 22px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 15px; width: 100%;
}
.btn:hover { filter: brightness(1.08); }
.btn-ghost { background: var(--bg-3); border: 1px solid var(--line); color: var(--txt); }
/* Cluster de CTA fiche modèle : primaire pleine largeur + rangée d'actions secondaires. */
.model-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.model-cta .btn-room { font-size: 16px; padding: 15px 22px; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.model-cta .cta-row { display: flex; gap: 10px; }
.model-cta .cta-row .btn { flex: 1; font-size: 14px; padding: 11px 14px; }
@media (max-width: 480px) { .model-cta .cta-row { flex-direction: column; } }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(13,13,18,.96); border-top: 1px solid var(--line); backdrop-filter: blur(10px);
}
.sticky-cta .wrap { padding: 0; }
@media (min-width: 900px) { .sticky-cta { display: none; } body { padding-bottom: 0; } }

/* ---------- Age gate ---------- */
.age-gate {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  background: rgba(8,8,12,.97); padding: 24px;
}
.age-gate .blur-bg { position: absolute; inset: 0; filter: blur(26px) brightness(.4); z-index: -1; }
.age-gate .box {
  max-width: 460px; width: 100%; background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 30px 26px; text-align: center;
}
.age-gate .box .lock { font-size: 40px; }
.age-gate h2 { margin: 10px 0 6px; font-size: 22px; }
.age-gate p { color: var(--txt-dim); font-size: 14px; margin: 0 0 18px; }
.age-gate .acts { display: flex; gap: 10px; }
.age-gate .acts .btn { width: 100%; }
.age-gate .leave { color: var(--txt-dim); font-size: 13px; margin-top: 14px; display: inline-block; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0; color: var(--txt-dim); font-size: 13px; }
.site-footer .cols { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer a { color: var(--txt-dim); }
.site-footer a:hover { color: var(--txt); }
.site-footer h4 { color: var(--txt); font-size: 14px; margin: 0 0 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; }
.disclaimer-18 { font-weight: 700; color: var(--txt); border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; display: inline-block; }
.legal-note { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }

/* ---------- Legal / article pages ---------- */
.doc { max-width: 820px; margin: 0 auto; padding: 30px 0; }
.doc h1 { font-size: 30px; }
.doc h2 { font-size: 20px; margin-top: 28px; }
.doc p, .doc li { color: var(--txt-dim); }
.doc a { color: var(--accent); }

/* ---------- Filter bar (tag/brand) ---------- */
.filterbar { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 18px; }
.filterbar a { font-size: 13px; padding: 6px 13px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line); color: var(--txt-dim); }
.filterbar a.active, .filterbar a:hover { color: var(--txt); border-color: var(--accent); }

/* ---------- Cookie consent banner (CMP léger, RGPD) ---------- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  background: var(--bg-2); border-top: 1px solid var(--line);
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
}
.cookie-bar.show { display: block; }
.cookie-bar .wrap { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 0; }
.cookie-bar p { margin: 0; font-size: 13px; color: var(--txt-dim); flex: 1 1 300px; }
.cookie-bar a { color: var(--accent); }
.cookie-bar .cb-acts { display: flex; gap: 8px; }
.cookie-bar .cb-acts button {
  white-space: nowrap; padding: 9px 16px; border-radius: 999px; font-weight: 700;
  font-size: 13px; cursor: pointer; border: 1px solid var(--line); color: var(--txt); background: var(--bg-3);
}
.cookie-bar .cb-accept { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border: 0; }
/* tant que le consentement n'est pas donné, on masque le CTA sticky pour éviter le chevauchement */
.consent-pending .sticky-cta { display: none; }

/* ----------------------------------------------------------------- BLOG */
.crumbs { display:flex; flex-wrap:wrap; align-items:center; gap:7px; font-size:13px; color:var(--txt-dim); margin:6px 0 18px; }
.crumbs a { color:var(--txt-dim); }
.crumbs a:hover { color:var(--accent); }
.crumbs .here { color:var(--txt); }
.crumbs span { color:var(--line); }

.post-head { margin-bottom:18px; }
.post-cat { display:inline-block; font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  color:var(--accent); background:rgba(255,45,119,.10); border:1px solid rgba(255,45,119,.35);
  padding:4px 10px; border-radius:999px; }
.post-head h1 { font-size:32px; line-height:1.2; margin:14px 0 8px; color:var(--txt); }
.post-meta { color:var(--txt-dim); font-size:14px; margin:0; }

.post-body { color:var(--txt); }
.post-body p, .post-body li { color:#cfcfda; line-height:1.75; font-size:17px; }
.post-body h2 { font-size:23px; margin:34px 0 12px; color:var(--txt); }
.post-body h3 { font-size:19px; margin:26px 0 10px; color:var(--txt); }
.post-body a { color:var(--accent); text-decoration:underline; text-underline-offset:2px; }
.post-body a:hover { color:var(--accent-2); }
.post-body ul, .post-body ol { padding-left:22px; }
.post-body li { margin:6px 0; }
.post-body strong { color:var(--txt); }
.post-body blockquote { margin:22px 0; padding:14px 18px; border-left:3px solid var(--accent);
  background:var(--bg-2); border-radius:0 var(--radius) var(--radius) 0; color:#cfcfda; }
.post-body table { width:100%; border-collapse:collapse; margin:22px 0; font-size:15px; }
.post-body th, .post-body td { border:1px solid var(--line); padding:10px 12px; text-align:left; }
.post-body th { background:var(--bg-3); color:var(--txt); }
.post-body .cta-box { margin:26px 0; padding:18px 20px; border:1px solid rgba(255,45,119,.35);
  background:linear-gradient(135deg, rgba(255,45,119,.08), rgba(177,75,255,.06)); border-radius:var(--radius); }
.post-body .cta-box a.btn { display:inline-block; margin-top:8px; padding:11px 18px; border-radius:999px;
  background:linear-gradient(135deg, var(--accent), var(--accent-2)); color:#fff; font-weight:700; text-decoration:none; }

.post-tags { display:flex; flex-wrap:wrap; gap:8px; margin:26px 0 4px; }

.post-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(280px,1fr)); gap:16px; margin:8px 0 30px; }
.post-card { display:block; padding:18px; background:var(--surface,var(--bg-2)); border:1px solid var(--line);
  border-radius:var(--radius); transition:transform .12s, border-color .12s; text-decoration:none; }
.post-card:hover { transform:translateY(-3px); border-color:var(--accent); }
.post-card h3 { margin:10px 0 8px; font-size:18px; color:var(--txt); line-height:1.3; }
.post-card p { margin:0 0 12px; color:var(--txt-dim); font-size:14px; line-height:1.55; }
.post-card .post-meta { font-size:12px; }
.post-archive { max-width:1100px; margin:0 auto; }
.archive-desc { color:var(--txt-dim); max-width:720px; }

@media (max-width:600px){
  .post-head h1 { font-size:25px; }
  .post-body p, .post-body li { font-size:16px; }
}

/* ----------------------------------------------------------------- LANG SWITCHER (menu déroulant) */
.langsw { position:relative; flex:0 0 auto; }
.langsw > summary { list-style:none; cursor:pointer; display:inline-flex; align-items:center; gap:6px;
  padding:6px 10px; border-radius:999px; font-size:13px; font-weight:600; color:var(--txt-dim);
  border:1px solid var(--line); background:var(--bg-3); line-height:1; white-space:nowrap; user-select:none; }
.langsw > summary::-webkit-details-marker { display:none; }
.langsw > summary::marker { content:""; }
.langsw > summary:hover { color:var(--txt); border-color:var(--accent); }
.langsw .lf { font-size:15px; }
.ls-caret { font-size:10px; opacity:.7; transition:transform .15s ease; }
.langsw[open] > summary { color:#fff; border-color:var(--accent); }
.langsw[open] .ls-caret { transform:rotate(180deg); }
.ls-menu { position:absolute; right:0; top:calc(100% + 6px); z-index:200;
  background:var(--bg-3); border:1px solid var(--line); border-radius:12px; padding:6px;
  min-width:200px; max-height:72vh; overflow-y:auto; box-shadow:0 14px 34px rgba(0,0,0,.5);
  display:grid; gap:2px; }
.ls-menu a { display:flex; align-items:center; gap:9px; padding:8px 10px; border-radius:8px;
  font-size:14px; font-weight:600; color:var(--txt-dim); text-decoration:none; white-space:nowrap; line-height:1.1; }
.ls-menu a:hover { background:rgba(255,255,255,.05); color:var(--txt); }
.ls-menu a.active { color:#fff; background:rgba(255,45,119,.14); }
.ls-menu .lf { font-size:17px; }
@media (max-width:900px){ .langsw .ls-short { display:none; } }

/* ----------------------------------------------------------------- GÉO RESTREINTE (AV) */
/* Contenu flouté tant que la vérification d'âge n'est pas faite dans une géo restreinte. */
.scf-geo-restricted .site-header,
.scf-geo-restricted main.wrap,
.scf-geo-restricted .site-footer { filter: blur(14px) saturate(.55); pointer-events: none; user-select: none; }
.scf-geo-restricted .sticky-cta,
.scf-geo-restricted .cookie-bar { display: none !important; }
.av-gate .box { border: 1px solid rgba(255,45,119,.45); box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.av-gate .btn { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border: 0; font-weight: 700; }
.av-gate .disclaimer-18 { color: var(--txt-dim); }
