/*
Theme Name: PCG Multi
Theme URI: https://www.planculgratuit.net
Author: Laurent
Description: Thème de rencontre multi-skins — 5 chartes graphiques commutables depuis le Customizer (Apparence > Personnaliser > Style du thème). Emplacements identiques, styles différents.
Version: 1.8.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: pcg-multi
*/

/* =========================================================
   LAYOUT COMMUN — piloté par variables CSS.
   Chaque skin (skins/skin-X.css) redéfinit les variables
   et ajoute ses overrides spécifiques.
   ========================================================= */

:root {
  --c-primary: #fd297b;
  --c-primary-2: #ff655b;
  --grad: linear-gradient(90deg, var(--c-primary-2), var(--c-primary));
  --c-accent: #e0245e;
  --c-bg: #ffffff;
  --c-surface: #ffffff;
  --c-surface-2: #fff0f3;
  --c-text: #20242f;
  --c-muted: #6b7080;
  --c-border: #f2e4e8;
  --c-online: #2bd97c;
  --c-hero-bg: linear-gradient(120deg, #fd297b, #ff655b);
  --c-hero-text: #ffffff;
  --c-footer-bg: #20242f;
  --c-footer-text: #c9ccd6;
  --radius: 18px;
  --radius-btn: 99px;
  --shadow: 0 8px 26px rgba(32,36,47,.10);
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --head-weight: 800;
  --head-style: normal;
  --tag-transform: none;
  --tag-spacing: 0;
  --border-w: 0px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body); background: var(--c-bg); background-attachment: fixed;
  color: var(--c-text); font-size: 16px; line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--c-accent); text-decoration: none; }
a:hover { opacity: .85; }
h1, h2, h3, h4 {
  font-family: var(--font-head); font-weight: var(--head-weight);
  font-style: var(--head-style); line-height: 1.2; color: var(--c-text);
}
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--c-surface); border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow); position: sticky; top: 0; z-index: 50;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 66px; gap: 18px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px;
}

/* ---------- Logo : pictogramme SVG + nom + slogan ---------- */
.site-logo { display: flex; align-items: center; gap: 11px; }
.site-logo img { max-height: 46px; width: auto; display: block; }
.logo-mark { width: 42px; height: 42px; flex: 0 0 auto; filter: drop-shadow(0 3px 8px rgba(0,0,0,.18)); }
.logo-text { line-height: 1.12; }
.logo-name {
  font-family: var(--font-head); font-weight: 900; font-style: var(--head-style);
  font-size: 20px; color: var(--c-text); letter-spacing: -.3px; display: block;
}
.logo-name em {
  font-style: var(--head-style); color: var(--c-primary);
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-tag {
  display: block; font-size: 9.5px; font-weight: 600; color: var(--c-muted);
  text-transform: uppercase; letter-spacing: 1.6px; margin-top: 2px;
}
.site-footer .logo-name { color: #fff; }
.site-footer .logo-tag { color: var(--c-footer-text); }

.main-nav ul { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; }
.main-nav a { color: var(--c-text); font-weight: 600; font-size: 14.5px; }
.main-nav a:hover { color: var(--c-primary); opacity: 1; }

.btn, .header-cta {
  display: inline-block; background: var(--grad); color: #fff !important;
  font-weight: 700; font-size: 14px; padding: 12px 24px;
  border-radius: var(--radius-btn); border: none; cursor: pointer;
  transition: transform .15s; font-family: var(--font-body);
}
.btn:hover, .header-cta:hover { transform: translateY(-1px); opacity: 1; }
.btn-light { background: #fff; color: var(--c-primary) !important; }
.btn-ghost { background: var(--c-surface-2); color: var(--c-text) !important; box-shadow: none; }

/* ---------- Hero ---------- */
.hero { background: var(--c-hero-bg); color: var(--c-hero-text); padding: 48px 0; }
.hero .kicker {
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  opacity: .85; margin-bottom: 12px;
}
.hero h1 { color: var(--c-hero-text); font-size: clamp(28px, 4.5vw, 44px); max-width: 760px; }
.hero p { margin-top: 14px; max-width: 620px; font-size: 16.5px; opacity: .92; }
.hero .hero-cta { margin-top: 24px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections (espacements resserrés) ---------- */
.section { padding: 32px 0; }
.section:not(.section-alt) + .section:not(.section-alt) { padding-top: 0; }
.section-alt + .section-alt { padding-top: 0; }
.section-alt { background: var(--c-surface-2); }
.section-title { font-size: clamp(21px, 3vw, 28px); margin-bottom: 6px; }
.section-sub { color: var(--c-muted); margin-bottom: 20px; max-width: 640px; font-size: 14.5px; }

/* ---------- Prose / éditorial ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 24px; margin: 0 0 14px; }
.prose h2:not(:first-child) { margin-top: 30px; }
.prose h3 { font-size: 19px; margin: 24px 0 10px; }
.prose p { margin-bottom: 15px; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.prose ul, .prose ol { margin: 0 0 15px 22px; }
.prose a { font-weight: 600; color: var(--c-primary); }
.prose blockquote {
  border-left: 4px solid var(--c-primary); padding: 6px 0 6px 18px; margin: 18px 0;
  color: var(--c-muted); font-style: italic;
}

/* ---------- Cartes d'affinités (catégories) ---------- */
.affinity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.affinity-card {
  background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow);
  border: var(--border-w) solid var(--c-text); padding: 22px 20px 20px;
  display: flex; flex-direction: column; gap: 8px; transition: transform .16s;
  position: relative; overflow: hidden;
}
.affinity-card:hover { transform: translateY(-3px); opacity: 1; }
.affinity-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); }
.affinity-card .af-ico {
  width: 42px; height: 42px; border-radius: 12px; background: var(--c-surface-2);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.affinity-card .af-name { font-weight: 800; font-size: 15px; font-family: var(--font-head); font-style: var(--head-style); color: var(--c-text); }
.affinity-card .af-count { font-size: 12px; color: var(--c-muted); }
.affinity-card .af-link { font-size: 12.5px; font-weight: 700; color: var(--c-primary); margin-top: auto; }

/* ---------- Villes en colonnes (annuaire) ---------- */
.city-columns {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 4px 22px; background: var(--c-surface); border-radius: var(--radius);
  box-shadow: var(--shadow); border: var(--border-w) solid var(--c-text); padding: 26px 28px;
}
.city-columns a {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 8px 4px; font-size: 13.5px; font-weight: 600; color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
  text-transform: var(--tag-transform); letter-spacing: calc(var(--tag-spacing) / 2);
  transition: padding .15s;
}
.city-columns a:hover { color: var(--c-primary); opacity: 1; padding-left: 8px; }
.city-columns a b { font-size: 11px; color: var(--c-muted); font-weight: 600; background: var(--c-surface-2); border-radius: 99px; padding: 2px 8px; }
.city-columns .see-all { border-bottom: none; color: var(--c-primary); font-weight: 800; }

/* ---------- Grille de cartes profils ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); gap: 20px; }
.cards-grid.featured { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.profile-card {
  background: var(--c-surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: var(--border-w) solid var(--c-text);
  display: flex; flex-direction: column; transition: transform .18s;
}
.profile-card:hover { transform: translateY(-4px); }
.profile-card .ph { position: relative; height: 185px; background: var(--grad); display: block; }
.profile-card .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-card .ph .initial {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 46px; font-weight: 800; color: rgba(255,255,255,.92);
}
.badge-online {
  position: absolute; top: 12px; left: 12px; background: var(--c-online); color: #fff;
  font-size: 10.5px; font-weight: 700; padding: 4px 11px; border-radius: 99px;
}
.badge-new { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,.55); color: #fff; font-size: 10.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.pc-body { padding: 15px 17px 17px; display: flex; flex-direction: column; flex: 1; }
.pc-title { font-size: 16px; font-family: var(--font-head); font-weight: var(--head-weight); font-style: var(--head-style); }
.pc-title a { color: var(--c-text); }
.pc-meta { font-size: 12.5px; color: var(--c-muted); margin-top: 3px; }
.pc-excerpt { font-size: 13px; color: var(--c-muted); margin-top: 8px; flex: 1; }
.pc-btn {
  display: block; text-align: center; margin-top: 13px; padding: 10px;
  border-radius: var(--radius-btn); background: var(--grad); color: #fff !important;
  font-weight: 700; font-size: 13px;
}

/* ---------- Tags ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-cloud a {
  display: inline-block; font-size: 12.5px; font-weight: 600; padding: 8px 15px;
  border-radius: var(--radius-btn); background: var(--c-surface); color: var(--c-primary);
  text-transform: var(--tag-transform); letter-spacing: var(--tag-spacing);
  border: var(--border-w) solid var(--c-text); box-shadow: var(--shadow); transition: all .15s;
}
.tag-cloud a:hover { background: var(--grad); color: #fff; opacity: 1; border-color: transparent; }

/* ---------- Formulaire d'inscription ---------- */
.signup-box {
  background: var(--c-surface); border: var(--border-w) solid var(--c-text);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 30px;
  max-width: 880px; margin: 0 auto;
}
.signup-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; align-items: end; margin-top: 6px; }
.signup-form .field { display: flex; flex-direction: column; gap: 6px; }
.signup-form label { font-size: 12px; font-weight: 700; color: var(--c-muted); text-transform: uppercase; letter-spacing: .8px; }
.signup-form select, .signup-form input {
  padding: 12px 14px; font-size: 14.5px; font-family: var(--font-body);
  border: 1.5px solid var(--c-border); border-radius: calc(var(--radius-btn) / 2 + 4px);
  background-color: var(--c-bg); color: var(--c-text); width: 100%;
  height: 47px; box-sizing: border-box;
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  box-shadow: none; background-image: none;
}
.signup-form select {
  cursor: pointer; padding-right: 36px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 12px 8px;
}
.signup-form input[type="number"] { -moz-appearance: textfield; }
.signup-form input[type="number"]::-webkit-inner-spin-button,
.signup-form input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.signup-form select:focus, .signup-form input:focus { outline: 2px solid var(--c-primary); border-color: var(--c-primary); }
.signup-form .btn { grid-column: 1 / -1; padding: 15px; font-size: 15px; }
.signup-legal { margin-top: 14px; font-size: 12px; color: var(--c-muted); text-align: center; }

/* ---------- Archives (ville / catégorie) ---------- */
.archive-head { padding: 32px 0 4px; }
.archive-head .crumb { font-size: 12.5px; color: var(--c-muted); margin-bottom: 10px; }
.archive-head .crumb a { color: var(--c-muted); }
.archive-head h1 { font-size: clamp(24px, 3.5vw, 36px); }
.archive-head .desc { color: var(--c-muted); margin-top: 10px; max-width: 760px; }
.archive-stats { display: flex; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.stat-pill {
  background: var(--c-surface); box-shadow: var(--shadow); border: var(--border-w) solid var(--c-text);
  border-radius: var(--radius-btn); padding: 9px 18px; font-size: 13px; font-weight: 600;
}
.stat-pill b { color: var(--c-primary); }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-bar a {
  font-size: 12.5px; font-weight: 600; padding: 8px 16px; border-radius: var(--radius-btn);
  background: var(--c-surface-2); color: var(--c-text);
  text-transform: var(--tag-transform); letter-spacing: var(--tag-spacing);
}
.filter-bar a.on, .filter-bar a:hover { background: var(--grad); color: #fff; opacity: 1; }
.pagination { margin-top: 30px; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
  padding: 9px 15px; border-radius: var(--radius-btn); background: var(--c-surface-2);
  color: var(--c-text); font-weight: 600; font-size: 14px;
}
.pagination .current { background: var(--grad); color: #fff; }

/* ---------- Layout article + sidebar ---------- */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 38px; align-items: start; }
.sidebar .widget {
  background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow);
  border: var(--border-w) solid var(--c-text); padding: 20px 22px; margin-bottom: 20px;
}
.sidebar .widget h4, .sidebar .widget .widget-title { font-size: 15px; margin-bottom: 14px; font-family: var(--font-head); font-weight: var(--head-weight); font-style: var(--head-style); }
.mini-profile { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--c-border); }
.mini-profile:last-child { border-bottom: none; }
.mini-profile .mp-av {
  width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto; background: var(--grad);
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800;
  font-family: var(--font-head); font-size: 17px; overflow: hidden;
}
.mini-profile .mp-av img { width: 100%; height: 100%; object-fit: cover; }
.mini-profile .mp-name { font-size: 13.5px; font-weight: 700; }
.mini-profile .mp-name a { color: var(--c-text); }
.mini-profile .mp-city { font-size: 11.5px; color: var(--c-muted); }
.mini-profile .mp-dot { margin-left: auto; width: 9px; height: 9px; border-radius: 50%; background: var(--c-online); flex: 0 0 auto; }
.sidebar .widget ul.links, .sidebar .widget ul { list-style: none; }
.sidebar .widget ul.links li { border-bottom: 1px solid var(--c-border); }
.sidebar .widget ul.links li:last-child { border-bottom: none; }
.sidebar .widget ul.links a { display: flex; justify-content: space-between; padding: 8px 2px; font-size: 13.5px; font-weight: 600; color: var(--c-text); }
.sidebar .widget ul.links a b { color: var(--c-muted); font-weight: 600; font-size: 12px; }
.sidebar .widget ul.links a:hover { color: var(--c-primary); opacity: 1; }
.sidebar .cta-box { margin-bottom: 20px; }

/* ---------- Single profil ---------- */
.profil-hero { background: var(--c-hero-bg); color: var(--c-hero-text); padding: 40px 0; }
.profil-hero .wrap { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.profil-hero .crumb { font-size: 12.5px; opacity: .8; margin-bottom: 8px; }
.profil-hero .crumb a { color: inherit; }
.profil-avatar {
  width: 132px; height: 132px; border-radius: 50%; flex: 0 0 auto; overflow: hidden;
  background: rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center;
  font-size: 48px; font-weight: 800; color: #fff; font-family: var(--font-head);
  border: 4px solid rgba(255,255,255,.5);
}
.profil-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profil-hero h1 { color: var(--c-hero-text); font-size: clamp(24px, 3.5vw, 36px); }
.profil-hero .ph-meta { margin-top: 10px; font-size: 15px; opacity: .95; display: flex; gap: 18px; flex-wrap: wrap; }
.profil-hero .ph-meta .on { color: #7dffb8; font-weight: 700; }
.profil-hero .ph-badges { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.profil-hero .ph-badges span {
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28);
  color: var(--c-hero-text); font-size: 12px; font-weight: 600;
  padding: 5px 13px; border-radius: 99px;
}
.profil-layout { display: grid; grid-template-columns: 1fr 330px; gap: 34px; padding: 32px 0 12px; }
/* Espacement uniforme entre tous les blocs de la sidebar profil */
.profil-layout aside > * { margin-bottom: 20px; }
.profil-layout aside > *:last-child { margin-bottom: 0; }
.fiche {
  background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow);
  border: var(--border-w) solid var(--c-text); padding: 22px 24px; margin-bottom: 20px;
}
.fiche h3 { font-size: 16px; margin-bottom: 14px; }
.fiche table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fiche td { padding: 8px 0; border-bottom: 1px solid var(--c-border); }
.fiche tr:last-child td { border-bottom: none; }
.fiche td:first-child { color: var(--c-muted); width: 46%; }
.fiche td:last-child { font-weight: 600; text-align: right; }
.coquin-item { margin-bottom: 13px; font-size: 14px; }
.coquin-item:last-child { margin-bottom: 0; }
.coquin-item b { display: block; color: var(--c-primary); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.cta-box { background: var(--c-hero-bg); color: var(--c-hero-text); border-radius: var(--radius); padding: 26px 24px; text-align: center; }
.cta-box h3 { color: inherit; }
.cta-box p { font-size: 14px; opacity: .92; margin: 8px 0 16px; }
.cta-box .btn-light { background: #fff; color: var(--c-primary) !important; }

/* ---------- Page texte ---------- */
.article-head { padding: 32px 0 6px; }
.article-head .crumb { font-size: 12.5px; color: var(--c-muted); margin-bottom: 12px; }
.article-head .crumb a { color: var(--c-muted); }
.article-head h1 { font-size: clamp(26px, 3.5vw, 38px); max-width: 820px; }
.article-head .meta { color: var(--c-muted); font-size: 13.5px; margin-top: 12px; }
.article-body { padding: 18px 0 28px; }

/* ---------- Related ---------- */
.related { padding: 30px 0 36px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-footer-bg); color: var(--c-footer-text); padding: 38px 0 24px; margin-top: 24px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.site-footer h4 { color: var(--c-primary); font-size: 15px; margin-bottom: 13px; }
.site-footer .footer-menus .soon { color: rgba(255, 255, 255, .35); font-size: 13.5px; cursor: default; }
.site-footer .footer-menus li { margin-bottom: 9px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: var(--c-footer-text); font-size: 13.5px; }
.site-footer .copy { margin-top: 30px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12.5px; text-align: center; }

/* ---------- Sticky footer CTA (page profil) ---------- */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: var(--c-surface); border-top: 2px solid var(--c-primary);
  box-shadow: 0 -8px 32px rgba(0,0,0,.22);
  transform: translateY(110%); transition: transform .35s cubic-bezier(.2,.8,.3,1);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .inner { max-width: 1140px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 16px; }
.sc-avatars { display: flex; flex: 0 0 auto; }
.sc-avatars .sc-av {
  width: 44px; height: 44px; border-radius: 50%; background: var(--grad);
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-weight: 800; font-family: var(--font-head); font-size: 16px;
  border: 2.5px solid var(--c-surface); margin-left: -12px; position: relative;
}
.sc-avatars .sc-av:first-child { margin-left: 0; }
.sc-avatars .sc-av .dot {
  position: absolute; bottom: 0; right: 0; width: 11px; height: 11px; border-radius: 50%;
  background: var(--c-online); border: 2px solid var(--c-surface);
}
.sc-text { flex: 1; min-width: 0; }
.sc-title { font-weight: 800; font-size: 14.5px; font-family: var(--font-head); font-style: var(--head-style); color: var(--c-text); }
.sc-title b { color: var(--c-primary); }
.sc-sub { font-size: 12px; color: var(--c-muted); margin-top: 1px; }
.sc-sub .pulse {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c-online);
  margin-right: 5px; animation: scpulse 1.6s infinite;
}
@keyframes scpulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.45; transform:scale(.8); } }
.sticky-cta .btn { flex: 0 0 auto; padding: 13px 26px; font-size: 14px; }
.sc-close {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--c-surface-2); color: var(--c-muted); font-size: 15px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.sc-close:hover { background: var(--c-border); }
body.single-profil-page { padding-bottom: 84px; }

/* ---------- Carte interactive (plugin [carte]) : habillage au style du thème.
   Le plugin embarque son propre CSS → on force la mise en page. ---------- */
.carte-row {
  display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 30px !important; align-items: center !important;
  background: var(--c-surface); border: var(--border-w) solid var(--c-text);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 28px !important; margin: 22px 0 !important;
  max-width: 100% !important; width: auto !important; float: none !important;
}
.carte-cities, .carte-cities-list { width: auto !important; max-width: none !important; margin: 0 !important; text-align: left !important; float: none !important; }
.carte-cities-list { display: flex !important; flex-wrap: wrap !important; gap: 9px !important; justify-content: flex-start !important; }
.carte-cities-list a {
  display: inline-block !important; width: auto !important; float: none !important;
  margin: 0 !important; font-size: 12.5px !important; font-weight: 600;
  padding: 8px 15px !important; border-radius: var(--radius-btn) !important;
  background: var(--c-surface-2) !important; color: var(--c-primary) !important;
  text-transform: var(--tag-transform); letter-spacing: var(--tag-spacing);
  text-decoration: none !important; transition: all .15s; line-height: 1.4 !important;
}
.carte-cities-list a:hover { background: var(--c-primary) !important; color: #fff !important; opacity: 1; }
.carte-map { width: 100% !important; max-width: none !important; margin: 0 !important; float: none !important; }
.carte-row svg { display: block; width: 100% !important; height: auto !important; max-width: 420px; margin: 0 auto; }
.carte-row svg path { fill: var(--c-surface-2) !important; stroke: var(--c-primary) !important; stroke-width: 1.2; transition: fill .15s; }
.carte-row svg path.active, .carte-row svg path:hover { fill: var(--c-primary) !important; cursor: pointer; }
@media (max-width: 800px) {
  .carte-row { grid-template-columns: 1fr; }
  .carte-row svg { max-width: 320px; }
}

/* ---------- Bannière de contact (fiches profils) ---------- */
.contact-banner {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: var(--c-hero-bg); color: var(--c-hero-text);
  border-radius: var(--radius); padding: 24px 26px; margin-top: 26px;
  position: relative; overflow: hidden;
}
.contact-banner::after {
  content: "💬"; position: absolute; right: -10px; bottom: -22px;
  font-size: 110px; opacity: .12; transform: rotate(-12deg); pointer-events: none;
}
.contact-banner .cb-av {
  width: 62px; height: 62px; border-radius: 50%; flex: 0 0 auto;
  background: rgba(255,255,255,.25); border: 3px solid rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 24px; color: #fff;
  overflow: hidden;
}
.contact-banner .cb-av img { width: 100%; height: 100%; object-fit: cover; }
.contact-banner .cb-text { flex: 1; min-width: 200px; }
.contact-banner .cb-title { font-family: var(--font-head); font-weight: var(--head-weight); font-style: var(--head-style); font-size: 19px; color: var(--c-hero-text); }
.contact-banner .cb-sub { font-size: 13.5px; opacity: .9; margin-top: 3px; }
.contact-banner .btn-light { flex: 0 0 auto; padding: 14px 28px; font-size: 15px; }

/* ---------- Page de conversion /contacter/ — tunnel sans distraction ---------- */
body.pdv-page { background: var(--c-bg); }
.pdv-header { background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.pdv-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.pdv-secure { font-size: 12px; font-weight: 600; color: var(--c-muted); }

.pdv-steps {
  display: flex; justify-content: center; gap: 10px 26px; flex-wrap: wrap;
  padding: 18px 0 4px; font-size: 13px; color: var(--c-muted); font-weight: 600;
}
.pdv-steps span { position: relative; }
.pdv-steps span.on { color: var(--c-primary); }
.pdv-steps span.on b { font-weight: 600; color: var(--c-muted); }
.pdv-steps span:not(:last-child)::after { content: "→"; margin-left: 26px; color: var(--c-border); }

.pdv-layout { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 34px; padding: 18px 0 44px; align-items: start; }
.pdv-card {
  background: var(--c-surface); border: var(--border-w) solid var(--c-text);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 30px;
}
.pdv-avatar {
  width: 130px; height: 130px; border-radius: 50%; position: relative;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 48px; color: #fff;
  margin-bottom: 16px; overflow: visible;
}
.pdv-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.pdv-online {
  position: absolute; bottom: 2px; left: 92px; background: var(--c-online); color: #fff;
  font-family: var(--font-body); font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 99px;
  border: 2.5px solid var(--c-surface); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px;
}
.pdv-online .pulse { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: scpulse 1.6s infinite; }
.pdv-card h1 { font-size: clamp(24px, 3vw, 32px); }
.pdv-city { color: var(--c-muted); font-size: 14.5px; margin-top: 5px; }
.pdv-excerpt {
  margin: 16px 0; padding: 13px 17px; background: var(--c-surface-2);
  border-left: 4px solid var(--c-primary); border-radius: calc(var(--radius) / 2);
  font-style: italic; font-size: 14.5px; color: var(--c-text);
}
.pdv-urgence {
  background: rgba(255, 173, 51, .13); border: 1px solid rgba(255, 150, 20, .35);
  border-radius: calc(var(--radius) / 2); padding: 12px 16px;
  font-size: 13.5px; margin-bottom: 14px;
}
.pdv-trust { list-style: none; padding: 0 4px; margin: 0; }
.pdv-trust li { font-size: 13.5px; color: var(--c-muted); padding: 3px 0; }

.pdv-arrow {
  text-align: center; font-family: var(--font-head); font-weight: var(--head-weight); font-style: var(--head-style);
  font-size: 17px; color: var(--c-text); margin-bottom: 10px;
  animation: pdvbounce 1.8s ease-in-out infinite;
}
@keyframes pdvbounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.pdv-form .signup-frame-box { box-shadow: 0 14px 44px rgba(0, 0, 0, .16); }
/* Variante PDV Casting : grande photo à la place de l'avatar */
.pdv-photo-wrap { position: relative; margin-bottom: 18px; }
.pdv-photo { display: block; width: 100%; max-height: 400px; object-fit: cover; border-radius: calc(var(--radius) - 4px); }
.pdv-photo-badge {
  position: absolute; top: 12px; left: 12px; background: var(--grad); color: #fff;
  font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.1px;
  padding: 6px 13px; border-radius: 99px;
}
.pdv-online-photo { position: absolute; bottom: 12px; right: 12px; left: auto; }
.pdv-legal { margin-top: 12px; font-size: 11.5px; color: var(--c-muted); text-align: center; }
.pdv-legal a { color: var(--c-muted); text-decoration: underline; }

@media (max-width: 900px) {
  .pdv-layout { grid-template-columns: 1fr; gap: 20px; padding-top: 12px; }
  /* Mobile : le formulaire d'abord, le profil compact ensuite */
  .pdv-form { order: -1; }
  .pdv-avatar { width: 96px; height: 96px; font-size: 36px; }
  .pdv-online { left: 66px; }
  .pdv-steps { font-size: 11.5px; gap: 6px 14px; }
  .pdv-steps span:not(:last-child)::after { margin-left: 14px; }
}

/* ---------- Iframe d'inscription (boîte réutilisable) ---------- */
.signup-frame-box {
  background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow);
  border: var(--border-w) solid var(--c-text); overflow: hidden;
}
.signup-frame-box .sf-head {
  background: var(--grad); color: #fff; padding: 14px 18px;
  font-family: var(--font-head); font-weight: var(--head-weight); font-style: var(--head-style); font-size: 15px;
}
.signup-frame-box iframe { display: block; width: 100%; height: 570px; border: none; }

/* ---------- Footer : bandeau inscription + liens légaux ---------- */
.footer-bar {
  display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap;
  margin-top: 32px; padding: 22px 0;
  border-top: 1px dashed rgba(255,255,255,.22); border-bottom: 1px dashed rgba(255,255,255,.22);
}
.footer-bar .fb-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--c-footer-bg) !important;
  font-family: var(--font-head); font-weight: 800; font-size: 14px; letter-spacing: 1px;
  text-transform: uppercase; padding: 13px 30px; border-radius: 99px;
}
.footer-bar .fb-btn:hover { opacity: .9; }
.footer-bar a:not(.fb-btn) { color: #fff; font-size: 15.5px; font-weight: 600; }
.footer-bar a:not(.fb-btn):hover { color: var(--c-primary); opacity: 1; }
.footer-legal { display: flex; justify-content: center; gap: 8px 28px; flex-wrap: wrap; padding: 18px 0 0; }
.footer-legal a { color: var(--c-footer-text); font-size: 13.5px; }
.footer-legal a:hover { color: #fff; opacity: 1; }

/* ---------- Modale de contact (iframe d'inscription) ---------- */
.pcg-modal {
  position: fixed; inset: 0; z-index: 9999; display: none;
  align-items: center; justify-content: center; padding: 20px;
}
.pcg-modal.open { display: flex; }
.pcg-modal .pm-overlay {
  position: absolute; inset: 0; background: rgba(10, 8, 16, .72);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  animation: pmfade .25s ease;
}
.pcg-modal .pm-box {
  position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 40px);
  background: var(--c-surface); border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,.45); overflow: hidden;
  display: flex; flex-direction: column;
  animation: pmpop .28s cubic-bezier(.2,.9,.3,1.15);
}
@keyframes pmfade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pmpop { from { opacity: 0; transform: translateY(26px) scale(.96); } to { opacity: 1; transform: none; } }
.pcg-modal .pm-head {
  background: var(--grad); color: #fff; padding: 15px 52px 15px 20px;
  font-family: var(--font-head); font-weight: var(--head-weight); font-style: var(--head-style); font-size: 15.5px;
}
.pcg-modal .pm-close {
  position: absolute; top: 10px; right: 12px; width: 34px; height: 34px;
  border: none; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.22); color: #fff; font-size: 17px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.pcg-modal .pm-close:hover { background: rgba(255,255,255,.38); }
.pcg-modal iframe { display: block; width: 100%; height: 570px; max-height: calc(100vh - 120px); border: none; flex: 0 0 auto; }
body.pcg-modal-open { overflow: hidden; }
@media (max-width: 520px) {
  .pcg-modal { padding: 0; }
  .pcg-modal .pm-box { max-width: none; height: 100%; max-height: none; border-radius: 0; }
  .pcg-modal iframe { max-height: none; }
}

/* ---------- Blocs "univers Discord" (guides serveurs) ----------
   Palette Discord officielle, volontairement indépendante du skin. */
.dsc-note {
  display: inline-flex; align-items: center; gap: 8px;
  background: #5865F2; color: #fff; font-weight: 700; font-size: 12px;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 7px 16px; border-radius: 8px; margin-bottom: 14px;
}
.dsc-card {
  background: #2b2d31; border: 1px solid #1e1f22; border-radius: 14px;
  padding: 18px 20px; margin: 0 0 16px;
  font-family: 'Inter', 'Poppins', sans-serif;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.dsc-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dsc-icon {
  flex: 0 0 auto; width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, #5865F2, #7983f5);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.dsc-id { flex: 1; min-width: 180px; }
.dsc-name { color: #f2f3f5; font-weight: 800; font-size: 16.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dsc-name .dsc-rank { color: #b5bac1; font-weight: 600; font-size: 13px; }
.dsc-nsfw {
  background: #da373c; color: #fff; font-size: 9.5px; font-weight: 800;
  letter-spacing: .8px; padding: 2px 7px; border-radius: 4px;
}
.dsc-stats { display: flex; gap: 16px; margin-top: 5px; font-size: 12.5px; color: #b5bac1; flex-wrap: wrap; }
.dsc-stats .on::before { content: "●"; color: #23a55a; margin-right: 5px; font-size: 10px; }
.dsc-stats .tot::before { content: "●"; color: #80848e; margin-right: 5px; font-size: 10px; }
.dsc-btn {
  flex: 0 0 auto; background: #5865F2; color: #fff !important;
  font-weight: 700; font-size: 13.5px; padding: 11px 22px; border-radius: 8px;
  transition: background .15s; display: inline-block;
}
.dsc-btn:hover { background: #4752c4; opacity: 1; }
.dsc-desc { color: #dbdee1; font-size: 14px; line-height: 1.6; margin: 14px 2px 2px; }
.dsc-desc b { color: #fff; }
.prose .dsc-desc { text-align: left; }
@media (max-width: 560px) {
  .dsc-head { align-items: flex-start; }
  .dsc-btn { width: 100%; text-align: center; }
}

/* ---------- Classement (pages guides : serveurs, tops…) ---------- */
.rank-list { margin: 10px 0 6px; }
.rank-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--c-surface); border: var(--border-w) solid var(--c-text);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px 18px; margin-bottom: 12px;
}
.rank-item .rk-num {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 17px;
}
.rank-item:first-child .rk-num { box-shadow: 0 0 0 4px var(--c-surface-2); }
.rank-item .rk-body { flex: 1; min-width: 0; }
.rank-item .rk-name { font-family: var(--font-head); font-weight: var(--head-weight); font-style: var(--head-style); font-size: 15.5px; color: var(--c-text); }
.rank-item .rk-desc { font-size: 13px; color: var(--c-muted); margin-top: 2px; }
.rank-item .rk-btn {
  flex: 0 0 auto; background: var(--grad); color: #fff !important;
  font-weight: 700; font-size: 13px; padding: 10px 20px; border-radius: var(--radius-btn);
}
@media (max-width: 560px) {
  .rank-item { flex-wrap: wrap; gap: 10px 14px; }
  .rank-item .rk-btn { width: 100%; text-align: center; }
}

/* Fiche détaillée d'un serveur */
.server-card {
  background: var(--c-surface-2); border-radius: var(--radius);
  padding: 20px 24px; margin: 18px 0;
}
.server-card h3 { margin: 0 0 8px !important; }
.server-card .sv-link { display: inline-block; margin-top: 8px; font-weight: 700; font-size: 13.5px; }

/* ---------- Publicité "Annonce premium" Casting ---------- */
.casting-ad {
  background: var(--c-surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: var(--border-w) solid var(--c-text);
  margin-bottom: 20px;
}
.casting-ad .ca-img { display: block; position: relative; }
.casting-ad .ca-img img { display: block; width: 100%; height: 200px; object-fit: cover; }
.casting-ad .ca-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--grad); color: #fff; font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.2px; padding: 5px 12px; border-radius: 99px;
}
.casting-ad .ca-online {
  position: absolute; bottom: 12px; right: 12px; background: var(--c-online); color: #fff;
  font-size: 10.5px; font-weight: 700; padding: 4px 11px; border-radius: 99px;
}
.casting-ad .ca-body { padding: 15px 17px 17px; }
.casting-ad .ca-title { font-family: var(--font-head); font-weight: var(--head-weight); font-style: var(--head-style); font-size: 15px; color: var(--c-text); }
.casting-ad .ca-text { font-size: 13px; color: var(--c-muted); margin: 7px 0 12px; }
.casting-ad .ca-btn { display: block; text-align: center; font-size: 13.5px; padding: 11px; }

/* ---------- Divers ---------- */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .profil-layout { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .hero { padding: 36px 0; }
  .main-nav ul { gap: 14px; }
  .section { padding: 24px 0; }
  .archive-stats { gap: 10px; }
  .signup-box { padding: 24px 20px; }
  .city-columns { padding: 18px 20px; }
  .sc-sub { display: none; }
  .sc-avatars .sc-av:nth-child(n+3) { display: none; }
  .sticky-cta .btn { padding: 11px 16px; font-size: 12.5px; }
}
@media (max-width: 520px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cards-grid.featured { grid-template-columns: 1fr; }
  .profile-card .ph { height: 120px; }
  .profile-card .ph .initial { font-size: 32px; }
  .pc-body { padding: 11px 12px 13px; }
  .pc-title { font-size: 13.5px; }
  .pc-excerpt { display: none; }
  .pc-btn { font-size: 12px; padding: 8px; }
  .profil-avatar { width: 92px; height: 92px; font-size: 34px; }
}
