@charset "UTF-8";
/*
Theme Name: Grid Basic
Author: You
Version: 1.0
*/

:root{
  --gb-bg: #f5f7fb;
  --gb-text: #0f172a;
  --gb-muted: rgba(15,23,42,.70);
  --gb-card: #ffffff;
  --gb-border: rgba(15,23,42,.10);

  --gb-a1: #ff3d71; /* rose moderne */
  --gb-a2: #2b7bff; /* bleu moderne */
  --gb-a3: #22c55e; /* vert status */

  --gb-shadow: 0 14px 40px rgba(15,23,42,.10);
  --gb-shadow-hover: 0 18px 55px rgba(15,23,42,.16);

  /* Textes secondaires / muted */
  --gb-sub:  rgba(15,23,42,.40);   /* texte secondaire moyen */
  --gb-surf: rgba(255,255,255,.88);/* surfaces semi-transparentes (navbar, badges) */

  /* Gradients fond body (overridés par chaque thème) */
  --gb-grad1: rgba(43,123,255,.10);
  --gb-grad2: rgba(255,61,113,.10);
}

html, body{ height: 100%; }
body{
  background: radial-gradient(1100px 420px at 50% 0%, var(--gb-grad1), transparent 60%),
              radial-gradient(900px 380px at 85% 10%, var(--gb-grad2), transparent 55%),
              var(--gb-bg);
  color: var(--gb-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{ color: inherit; }
a:hover{ color: inherit; }

/* container */
.gb-container{
  padding-top: 18px;
  padding-bottom: 44px;
}

/* ===== Header / top bar ===== */
.gb-header{ margin-bottom: 18px; }

.gb-bar{
  display:grid;
  grid-template-columns: 44px 1fr auto;
  align-items:center;
  gap:12px;

  padding: 12px 14px;
  border-radius: 18px;

  background: var(--gb-surf);
  border: 1px solid var(--gb-border);
  box-shadow: var(--gb-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.gb-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

/* home button */
.gb-home{
  width:44px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 14px;
  background: rgba(15,23,42,.04);
  border: 1px solid var(--gb-border);
  text-decoration:none;
}

.gb-home svg{
  width:18px;
  height:18px;
  fill: var(--gb-muted);
}

/* logo */
.gb-logo{
  justify-self:center;
  display:inline-flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}

.gb-logo-icon{
  width:38px;
  height:38px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gb-a2), var(--gb-a1));
  box-shadow: var(--gb-shadow);
  display:flex;
  align-items:center;
  justify-content:center;
  position: relative;
  overflow:hidden;
}

.gb-logo-icon::after{
  content:"";
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), rgba(255,255,255,0) 55%);
  transform: rotate(15deg);
}

.gb-logo-icon svg{
  width:18px;
  height:18px;
  fill:#fff;
  position: relative;
  z-index: 1;
}

.gb-logo-name{
  font-weight: 700;
  letter-spacing: .2px;
  line-height: 1.05;
}

.gb-logo-tag{
  display:block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gb-muted);
}

/* CTA gradient button */
.btn-pink{
  border: none;
  color: #fff !important;
  background: linear-gradient(135deg, var(--gb-a1), var(--gb-a2));
  box-shadow: var(--gb-shadow);
}
.btn-pink:hover{ opacity: .92; }

/* ===== Jumbotron ===== */
.gb-jumbo{
  margin-top: 14px;
  padding: 22px 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(43,123,255,.08), rgba(255,61,113,.08)), var(--gb-card);
  border: 1px solid var(--gb-border);
  box-shadow: var(--gb-shadow);
}

.gb-jumbo-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.gb-jumbo-title{
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.gb-jumbo-toggle{
  white-space: nowrap;
}

.gb-jumbo-lead{
  margin: 0 0 10px;
  color: var(--gb-muted);
  font-size: 15px;
  line-height: 1.6;
}

.gb-jumbo-text{
  margin: 0 0 12px;
  color: var(--gb-muted);
  font-size: 15px;
  line-height: 1.6;
}

.gb-jumbo a{
  color: var(--gb-muted);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.gb-jumbo-cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* section heading */
.gb-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin: 18px 0 12px;
}

.gb-section-title{
  font-weight: 650;
  font-size: 18px;
  margin: 0;
}

.gb-chip{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gb-muted);
  background: var(--gb-surf);
  border: 1px solid var(--gb-border);
}

/* ===== TAGS (single) ===== */
.gb-tags-box {
  margin-bottom: 28px;
  background: var(--gb-card);
  border-radius: 18px;
  border: 1px solid var(--gb-border);
  box-shadow: var(--gb-shadow);
  padding: 18px 22px 22px;
}
.gb-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gb-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #3b82f6;
  background: rgba(59,130,246,.08);
  border: 1px solid rgba(59,130,246,.22);
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.gb-tag-pill:hover {
  background: rgba(59,130,246,.16);
  border-color: rgba(59,130,246,.45);
  color: #1d4ed8;
  text-decoration: none;
}

/* card */
.gb-card{
  border-radius: 18px;
  overflow: hidden;
  background: var(--gb-card);
  border: 1px solid var(--gb-border);
  box-shadow: var(--gb-shadow);
  height: 100%;
  transition: transform .18s ease, box-shadow .18s ease;
}
.gb-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--gb-shadow-hover);
}
.gb-link{ text-decoration:none; }

/* thumb */
.gb-thumb{
  width: 100%;
  padding-top: 150%;
  position: relative;
  overflow:hidden;
  background: var(--gb-card);
}
.gb-thumb img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position: top center;
  transform: scale(1);
  transition: transform .25s ease;
}
.gb-card:hover .gb-thumb img{ transform: scale(1.04); }

.gb-thumb::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height: 48%;
  background: linear-gradient(to top, rgba(0,0,0,.70), rgba(0,0,0,0));
  pointer-events:none;
  z-index: 2;
}

/* overlay */
.gb-overlay{
  position:absolute;
  left:12px;
  right:12px;
  bottom:12px;
  z-index: 3;
  color:#fff;
}
.gb-city{
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .10em;
  text-transform: uppercase;
  opacity: .94;
  margin-bottom: 4px;
}
.gb-name{
  font-size: 16px;
  font-weight: 650;
  line-height: 1.15;
  text-shadow: 0 10px 26px rgba(0,0,0,.50);
}

/* online pill */
.gb-online{
  position:absolute;
  top:12px;
  left:12px;
  z-index: 6;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--gb-surf);
  border: 1px solid var(--gb-border);
  color: var(--gb-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  box-shadow: var(--gb-shadow);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.gb-online-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background: var(--gb-a3);
  position: relative;
}
.gb-online-dot::before,
.gb-online-dot::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:10px;
  height:10px;
  border-radius:50%;
  transform: translate(-50%, -50%);
  background: var(--gb-a3);
  opacity: .28;
  animation: gbRipple 1.4s infinite;
}
.gb-online-dot::after{
  animation-delay: .7s;
  background: var(--gb-a3);
  opacity: .18;
}
@keyframes gbRipple{
  0%   { transform: translate(-50%, -50%) scale(1); opacity: .9; }
  100% { transform: translate(-50%, -50%) scale(3.4); opacity: 0; }
}

/* offline dot */
.gb-dot.is-offline{
  position:absolute;
  top:12px;
  left:12px;
  width:10px;
  height:10px;
  border-radius:50%;
  z-index: 6;
  background: var(--gb-sub);
  box-shadow: 0 0 0 3px var(--gb-card);
}

/* distance */
.gb-distance{
  position:absolute;
  top:10px;
  right:10px;
  z-index: 6;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color:#fff;
  background: linear-gradient(135deg, var(--gb-a2), var(--gb-a1));
  box-shadow: var(--gb-shadow);
}
.gb-distance .gb-ico{
  width: 14px;
  height: 14px;
  fill: currentColor;
  opacity: .95;
}

/* body text */
.gb-body{ padding: 12px 12px 14px; }
.gb-excerpt{
  margin: 0;
  font-size: 13px;
  color: var(--gb-muted);
}

/* pagination */
.gb-pagination ul.page-numbers{
  list-style:none;
  padding-left:0;
  margin: 0;
  display:flex;
  gap:8px;
  justify-content:center;
  flex-wrap:wrap;
}
.gb-pagination ul.page-numbers li{ margin:0; }
.gb-pagination .page-numbers a,
.gb-pagination .page-numbers span{
  display:block;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration:none;
  font-weight: 600;
  color: var(--gb-text);
  background: var(--gb-surf);
  border: 1px solid var(--gb-border);
  box-shadow: var(--gb-shadow);
}
.gb-pagination .page-numbers .current{
  color:#fff;
  background: linear-gradient(135deg, var(--gb-a1), var(--gb-a2));
  border-color: transparent;
}
.gb-pagination .page-numbers .dots{
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 10px 6px;
}

/* responsive */
@media (max-width: 768px){
  .gb-bar{
    grid-template-columns: 44px 1fr;
    grid-template-areas:
      "home logo"
      "actions actions";
  }
  .gb-home{ grid-area: home; }
  .gb-logo{ grid-area: logo; justify-self:center; }
  .gb-actions{ grid-area: actions; justify-content:center; }
  .gb-jumbo{ padding: 18px 16px; }
  .gb-jumbo-title{ font-size: 20px; }
}

/* ===== BRAND BIG TITLE ===== */

.gb-brand{
  display:flex;
  justify-content:center;
  margin-bottom:14px;
}

.gb-brand-link{
  text-decoration:none;
  display:inline-block;
}
.gb-brand-link:hover{
  text-decoration:none;
}

.gb-brand-title{
  font-size:46px;
  font-weight:800;
  letter-spacing:-1px;
  margin:0;
  line-height:1;
  text-align:center;
}

.gb-brand-first{
  color: var(--gb-text);
}

.gb-brand-second{
  background: linear-gradient(135deg, var(--gb-a2), var(--gb-a1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width:768px){
  .gb-brand-title{ font-size:32px; }
}

/* ===== TOPBAR NAV ===== */

.gb-topbar{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  padding:12px 20px;
  background: var(--gb-card);
  border-radius:18px;
  box-shadow:0 14px 40px rgba(0,0,0,.06);
  margin-bottom:22px;
  flex-wrap:nowrap;
}

.gb-nav-link{
  font-size:15px;
  font-weight:500;
  color: var(--gb-muted);
  text-decoration:none;
  white-space:nowrap;
  padding-bottom:3px;
  border-bottom:2px solid transparent;
  transition:color .2s, border-color .2s;
}
.gb-nav-link:hover,
.gb-nav-link.active{
  color: var(--gb-a1);
  border-bottom-color: var(--gb-a1);
  text-decoration:none;
}

/* Bouton Inscription — pulse avec couleur d'accent du thème */
.gb-nav-insc{
  font-size:14px;
  font-weight:700;
  color:#fff;
  text-decoration:none;
  background: var(--gb-a1);
  padding:7px 18px;
  border-radius:99px;
  white-space:nowrap;
  animation:gbInscPulse 2s ease-in-out infinite;
}
.gb-nav-insc:hover{
  color:#fff;
  text-decoration:none;
  opacity: .88;
}

@keyframes gbInscPulse{
  0%,100%{ box-shadow:0 0 0 0 var(--gb-a1); }
  50%    { box-shadow:0 0 0 9px transparent; }
}

@media (max-width:480px){
  .gb-topbar{ gap:14px; padding:10px 12px; }
  .gb-nav-link{ font-size:13px; }
  .gb-nav-insc{ font-size:13px; padding:6px 13px; }
}

/* ===== HERO ===== */

.gb-hero-wrap{
  background: var(--gb-card);
  border-radius:20px;
  padding:26px 28px;
  box-shadow:0 20px 50px rgba(0,0,0,.08);
  margin-bottom:26px;
}

.gb-hero-title{
  font-size:24px;
  font-weight:700;
  color:#111827;
}

/* Toggle arrow button */

.gb-toggle{
  border:0;
  background:#f3f4f6;
  width:40px;
  height:40px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

.gb-arrow{
  width:18px;
  fill:#4b5563;
  transition: transform .3s ease;
}

.gb-toggle[aria-expanded="true"] .gb-arrow{
  transform: rotate(180deg);
}
/* ===== Footer widgets (front-page only) ===== */
.gb-footer-widgets{
  margin-top: 28px;
}

.gb-footer-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 768px){
  .gb-footer-grid{
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.gb-footer-card--full{
  grid-column: 1 / -1;
}

.gb-footer-card{
  background: var(--gb-surf);
  border: 1px solid var(--gb-border);
  border-radius: 18px;
  box-shadow: var(--gb-shadow);
  padding: 16px 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-height: 220px;
}

.gb-footer-card-head{
  margin-bottom: 10px;
}

.gb-footer-card-title{
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.1px;
}

.gb-footer-card-sub{
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--gb-muted);
}

.gb-footer-list{
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.gb-footer-list li{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(15,23,42,.03);
  border: 1px solid var(--gb-border);
}

.gb-footer-list a{
  text-decoration: none;
  color: var(--gb-muted);
  font-weight: 600;
  line-height: 1.2;
}

.gb-footer-list a:hover{
  text-decoration: underline;
}

.gb-footer-count{
  font-size: 12px;
  font-weight: 700;
  color: var(--gb-muted);
  background: var(--gb-surf);
  border: 1px solid var(--gb-border);
  padding: 3px 8px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.gb-footer-empty{
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: var(--gb-muted);
}

.gb-footer-custom{
  margin-top: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(15,23,42,.02);
  border: 1px dashed rgba(15,23,42,.18);
  min-height: 140px;
}

/* Footer bottom */
.gb-footer{
  margin-top: 18px;
  padding: 16px 0 10px;
  color: var(--gb-muted);
  font-size: 12px;
}

.gb-footer-inner{
  text-align:center;
}
.gb-footer-sep{
  margin: 0 8px;
  opacity: .4;
}
.gb-footer-link{
  color: inherit;
  opacity: .6;
  font-size: .85em;
  text-decoration: none;
}
.gb-footer-link:hover{
  opacity: 1;
  text-decoration: underline;
}

/* =====================================================
   STICKY BAR CPC
   ===================================================== */
.gb-cpc-bar{
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9990;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 48px 10px 16px;
  box-shadow: 0 -3px 16px rgba(0,0,0,.5);
}
.gb-cpc-sub{
  color: #ccc;
  font-size: .85em;
  white-space: nowrap;
}
.gb-cpc-btn{
  display: inline-block;
  background: linear-gradient(135deg, #cc0000, #ff3333);
  color: #fff !important;
  font-weight: 700;
  font-size: .95em;
  padding: 9px 22px;
  border-radius: 30px;
  text-decoration: none !important;
  letter-spacing: .02em;
  animation: gbCpcPulse 2s ease-in-out infinite;
  white-space: nowrap;
}
.gb-cpc-btn:hover{
  background: linear-gradient(135deg, #aa0000, #ee2222);
  transform: scale(1.03);
}
.gb-cpc-close{
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #666;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  transition: color .2s;
}
.gb-cpc-close:hover{ color: #fff; }
@keyframes gbCpcPulse{
  0%,100%{ box-shadow: 0 0 0 0 rgba(200,0,0,.6); }
  50%    { box-shadow: 0 0 0 10px rgba(200,0,0,0); }
}
/* Sur mobile : masquer le texte secondaire */
@media(max-width:500px){
  .gb-cpc-sub{ display:none; }
  .gb-cpc-bar{ padding: 10px 44px 10px 10px; }
}
/* =====================================================
   MODAL POST CLEAN VERSION
   ===================================================== */

#gbPostModal .modal-dialog{
  max-width: 1150px;
  margin: 40px auto;
}

#gbPostModal .modal-content{
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  height: 90vh;
  display: flex;
}

#gbPostModal .modal-body{
  padding: 0;
  display: flex;
  height: 100%;
}

/* ========== LEFT SIDE (IMAGE) ========== */

.gb-modal-left{
  flex: 0 0 45%;
  background: #0f172a;
  position: relative;
}

.gb-modal-media{
  position: absolute;
  inset: 0;
}

.gb-modal-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Status */
.gb-modal-status{
  position:absolute;
  top:18px;
  left:18px;
  z-index:10;
}

/* ========== RIGHT SIDE (CONTENT) ========== */

.gb-modal-right{
  flex: 1;
  background: var(--gb-card);
  display:flex;
  flex-direction:column;
  padding: 32px 32px 24px;
  position: relative;
}

/* close */
.gb-modal-close{
  position:absolute;
  top:18px;
  right:22px;
  font-size:28px;
  opacity:.45;
}
.gb-modal-close:hover{ opacity:.9; }

/* header */
.gb-modal-head{
  margin-bottom: 18px;
}

.gb-modal-cat{
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.10em;
  color:#64748b;
  margin-bottom:6px;
}

.gb-modal-title{
  font-size:24px;
  font-weight:700;
  margin:0;
}

/* content scroll zone */
.gb-modal-content{
  flex:1;
  overflow:auto;
  font-size:14px;
  line-height:1.6;
  color:#334155;
  padding-right:8px;
}

.gb-modal-content p{ margin:0 0 12px; }
.gb-modal-content > *:first-child{ margin-top:0; }

/* form */
.gb-modal-form{
  margin-top:20px;
  padding-top:18px;
  border-top:1px solid rgba(15,23,42,.08);
}

.gb-modal-form textarea{
  resize:none;
}

/* label */
.gb-modal-label{
  display:block;
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
  color: var(--gb-muted);
  margin-bottom:8px;
}

/* nicer textarea (override bootstrap) */
#gbPostModal .gb-modal-form .form-control{
  border-radius:16px;
  border:1px solid var(--gb-border);
  background: rgba(15,23,42,.02);
  padding:12px 14px;
  font-size:14px;
  line-height:1.4;
  box-shadow:none;
}
#gbPostModal .gb-modal-form .form-control:focus{
  background: var(--gb-card);
  border-color: rgba(43,123,255,.45);
  box-shadow: 0 0 0 4px rgba(43,123,255,.10);
}

/* button premium */
#gbPostModal #gbSendBtn{
  margin-top:10px !important;
  border:0;
  border-radius:16px;
  padding:10px 16px;
  font-weight:700;
  letter-spacing:.1px;
  background: linear-gradient(135deg, var(--gb-a1), var(--gb-a2));
  box-shadow: var(--gb-shadow);
}
#gbPostModal #gbSendBtn:hover{
  opacity:.92;
}

/* note */
.gb-modal-note{
  margin-top:8px;
  font-size:12px;
  color: var(--gb-muted);
}

@media (max-width: 992px){
  #gbPostModal #gbSendBtn{ width:100%; }
}

/* ========= ONLINE SYSTEM ========= */

.gb-online-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:600;
  background: var(--gb-card);
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}

.gb-online-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background: var(--gb-a3);
  position:relative;
}

.gb-online-dot::before,
.gb-online-dot::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  background: var(--gb-a3);
  opacity: .35;
  animation:gbRipple 1.6s infinite;
}

.gb-online-dot::after{
  animation-delay:.8s;
  opacity: .25;
}

@keyframes gbRipple{
  0%{ transform:scale(1); opacity:.9; }
  100%{ transform:scale(3.5); opacity:0; }
}

/* offline */
.gb-offline-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background: var(--gb-sub);
  box-shadow: 0 0 0 3px var(--gb-surf);
}

/* ========== MOBILE ========== */

@media (max-width: 992px){

  #gbPostModal .modal-content{
    flex-direction: column;
    height: 92vh;
  }

  .gb-modal-left{
    flex: 0 0 40vh;
    position: relative;
  }

  .gb-modal-media{
    position: absolute;
    inset: 0;
  }

  .gb-modal-right{
    flex:1;
    padding:20px;
  }
}

/* === FIX CADRAGE COLONNE DROITE (Bootstrap no-gutters) === */
#gbPostModal .modal-body .row.no-gutters > .gb-modal-right{
  padding: 32px 32px 24px !important;
  display: flex;
  flex-direction: column;
}

/* Le contenu texte a aussi un petit "inner padding" + respire mieux */
#gbPostModal .gb-modal-content{
  padding: 6px 10px 6px 0;
}

/* Evite que le 1er lment colle en haut (selon le HTML inject par WP) */
#gbPostModal .gb-modal-content > *:first-child{
  margin-top: 0 !important;
}

/* Un peu plus d'air entre titre et texte */
#gbPostModal .gb-modal-head{
  margin-bottom: 16px;
}

/* Mobile : padding plus petit */
@media (max-width: 992px){
  #gbPostModal .modal-body .row.no-gutters > .gb-modal-right{
    padding: 18px 18px 16px !important;
  }
  #gbPostModal .gb-modal-content{
    padding-right: 6px;
  }
}

/* =====================================================
   PAGE RECHERCHE PAR VILLE
   ===================================================== */

.gb-city-wrap{
  margin-top: 18px;
}

.gb-city-intro{
  margin: 14px 0 12px;
  color: var(--gb-muted);
  font-size: 14px;
}

.gb-city-card-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.1px;
}

.gb-city-count{
  font-size: 12px;
  font-weight: 800;
  color: var(--gb-muted);
  background: rgba(15,23,42,.04);
  border: 1px solid var(--gb-border);
  padding: 3px 8px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.gb-more-link{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-weight: 700;
}


/* Badge "X annonces" (premium) */
.gb-city-card-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.gb-city-link{
  text-decoration:none;
  color:inherit;
}

.gb-city-badge{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--gb-muted);
  background: rgba(43,123,255,.08);
  border: 1px solid rgba(43,123,255,.18);
  box-shadow: var(--gb-shadow);
  white-space: nowrap;
}

/* =====================================================
   PAGE RECHERCHE PAR VILLE — NOUVELLE VERSION
   ===================================================== */

/* Barre de recherche live */
.gb-city-search-wrap {
  position: relative;
  margin-top: 16px;
}

.gb-city-search-ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--gb-sub);
  pointer-events: none;
}

.gb-city-search {
  display: block;
  width: 100%;
  padding: 13px 16px 13px 44px;
  border-radius: 16px;
  border: 1px solid var(--gb-border);
  background: var(--gb-surf);
  font-size: 15px;
  font-weight: 500;
  color: var(--gb-text);
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  -webkit-appearance: none;
  appearance: none;
}

.gb-city-search:focus {
  border-color: rgba(43,123,255,.45);
  box-shadow: 0 0 0 4px rgba(43,123,255,.10);
  background: var(--gb-card);
}

.gb-city-search::placeholder {
  color: var(--gb-sub);
  font-weight: 400;
}

/* Navigation rapide regions */
.gb-region-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 6px;
}

.gb-region-anchor {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--gb-muted);
  background: var(--gb-surf);
  border: 1px solid var(--gb-border);
  box-shadow: var(--gb-shadow);
  transition: background .15s, transform .15s, box-shadow .15s, border-color .15s;
}

.gb-region-anchor:hover {
  background: linear-gradient(135deg, rgba(43,123,255,.10), rgba(255,61,113,.08));
  border-color: rgba(43,123,255,.28);
  transform: translateY(-2px);
  box-shadow: var(--gb-shadow);
  color: var(--gb-text);
  text-decoration: none;
}

/* Ancre "Proche de toi" dans la nav — couleur accent */
.gb-region-anchor--proche {
  background: linear-gradient(135deg, #be185d, #ec4899);
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(190,24,93,.30);
}
.gb-region-anchor--proche:hover {
  background: linear-gradient(135deg, #9d174d, #db2777);
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(190,24,93,.40);
}

/* Bannière "Proche de toi" — pleine largeur */
.gb-rcv-card--proche {
  background: linear-gradient(135deg, #fdf2f8, #fce7f3);
  border: 1px solid #f9a8d4;
  border-radius: 20px;
  margin-bottom: 30px;
  box-shadow: var(--gb-shadow);
}
.gb-rcv-proche-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  gap: 20px;
  flex-wrap: wrap;
}
.gb-rcv-proche-info {
  display: flex;
  align-items: center;
  gap: 16px;
}
.gb-rcv-proche-emoji {
  font-size: 36px;
  line-height: 1;
  flex-shrink: 0;
}
.gb-rcv-proche-title {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #be185d;
  text-decoration: none;
  margin-bottom: 4px;
}
.gb-rcv-proche-title:hover {
  color: #9d174d;
  text-decoration: none;
}
.gb-rcv-proche-desc {
  color: var(--gb-muted);
  font-size: 14px;
  margin: 0;
}
.gb-rcv-proche-cta {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #be185d, #ec4899);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 99px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(190,24,93,.30);
  transition: transform .15s, box-shadow .15s;
  flex-shrink: 0;
}
.gb-rcv-proche-cta:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(190,24,93,.40);
}
@media (max-width: 600px) {
  .gb-rcv-proche-banner { padding: 18px 16px; }
  .gb-rcv-proche-cta { width: 100%; justify-content: center; }
}

/* Section region */
.gb-region-section {
  margin-bottom: 30px;
}

/* Lien H2 region */
.gb-region-link {
  text-decoration: none;
  color: inherit;
  transition: color .15s;
}

.gb-region-link:hover {
  color: var(--gb-a2);
  text-decoration: none;
}

/* Grille de pills villes */
.gb-city-grid {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Pill ville */
.gb-city-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--gb-muted);
  background: var(--gb-surf);
  border: 1px solid var(--gb-border);
  box-shadow: var(--gb-shadow);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: background .15s, transform .15s, box-shadow .15s, border-color .15s;
}

.gb-city-pill:hover {
  background: linear-gradient(135deg, rgba(43,123,255,.09), rgba(255,61,113,.07));
  border-color: rgba(43,123,255,.24);
  transform: translateY(-2px);
  box-shadow: var(--gb-shadow);
  color: var(--gb-text);
  text-decoration: none;
}

/* Badge count dans la pill */
.gb-city-pill-count {
  font-size: 11px;
  font-weight: 800;
  color: var(--gb-muted);
  background: rgba(43,123,255,.08);
  border: 1px solid rgba(43,123,255,.14);
  padding: 2px 7px;
  border-radius: 999px;
  flex: 0 0 auto;
}

/* Message aucun resultat */
.gb-city-noresult {
  text-align: center;
  padding: 40px 20px;
  color: var(--gb-sub);
  font-size: 15px;
}

/* Hidden (filtre JS) */
.gb-hidden {
  display: none !important;
}

/* =====================================================
   CARTE REGION / VILLE (nouvelle version split)
   ===================================================== */

.gb-rcv-card {
  display: grid;
  grid-template-columns: 1fr 280px;
  background: var(--gb-card);
  border-radius: 20px;
  border: 1px solid var(--gb-border);
  box-shadow: var(--gb-shadow);
  overflow: hidden;
  margin-bottom: 14px;
  transition: box-shadow .20s;
}

.gb-rcv-card:hover {
  box-shadow: var(--gb-shadow-hover);
}

/* ---- GAUCHE : liste des villes ---- */

.gb-rcv-left {
  padding: 6px 0;
  border-right: 1px solid var(--gb-border);
}

.gb-rcv-city-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gb-rcv-city-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--gb-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  transition: background .12s;
}

.gb-rcv-city-link:hover {
  background: rgba(43,123,255,.05);
  color: var(--gb-text);
  text-decoration: none;
}

.gb-rcv-city-name {
  flex: 1 1 auto;
}

.gb-rcv-city-count {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--gb-muted);
  background: rgba(15,23,42,.05);
  border: 1px solid var(--gb-border);
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---- DROITE : panneau region ---- */

.gb-rcv-right {
  padding: 26px 24px 22px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.14), transparent 55%),
    linear-gradient(145deg, var(--gb-a1), var(--gb-a2));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-height: 180px;
}

.gb-rcv-region-name {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  line-height: 1.15;
  letter-spacing: -.3px;
  margin-bottom: 12px;
  text-shadow: 0 2px 14px rgba(0,0,0,.18);
  transition: opacity .15s;
}

.gb-rcv-region-name:hover {
  opacity: .88;
  text-decoration: none;
  color: #fff;
}

.gb-rcv-region-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,.78);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gb-rcv-region-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.gb-rcv-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.30);
}

.gb-rcv-stat strong {
  font-weight: 800;
  color: #fff;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 767px) {
  .gb-rcv-card {
    grid-template-columns: 1fr;
  }

  .gb-rcv-right {
    order: -1;
    min-height: auto;
    padding: 18px 18px 16px;
    border-radius: 0;
  }

  .gb-rcv-region-name {
    font-size: 18px;
    margin-bottom: 0;
  }

  .gb-rcv-region-desc {
    display: none;
  }

  .gb-rcv-left {
    border-right: none;
  }

  .gb-rcv-city-link {
    padding: 10px 16px;
  }
}

/* =====================================================
   CONTACT BOX — single.php
   ===================================================== */

/* Photo cliquable → scroll + shake */
.gb-thumb--clickable{
  cursor: pointer;
}
.gb-thumb--clickable:hover .gb-thumb-cta-hint{
  opacity: 1;
  transform: translateY(0);
}
.gb-thumb-cta-hint{
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 100%);
  color: #fff;
  text-align: center;
  padding: 18px 10px 12px;
  font-size: .92em;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
  border-radius: 0 0 var(--gb-radius,12px) var(--gb-radius,12px);
}
/* Sur mobile : toujours visible */
@media(max-width: 768px){
  .gb-thumb-cta-hint{
    opacity: 1;
    transform: translateY(0);
  }
}
/* Shake du formulaire au scroll */
.gb-shake-box{
  animation: gbShakeBox .55s ease;
}
@keyframes gbShakeBox{
  0%,100%{ transform: translateX(0); }
  15%    { transform: translateX(-7px); }
  30%    { transform: translateX(7px); }
  45%    { transform: translateX(-5px); }
  60%    { transform: translateX(5px); }
  75%    { transform: translateX(-3px); }
  90%    { transform: translateX(3px); }
}

/* ===== SINGLE RIGHT PANEL ===== */
/* La carte droite est en flex-column : le contenu scrolle,
   la contact box reste toujours visible en bas */
.gb-single-right {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.gb-single-right .gb-modal-content {
  flex: 1 1 auto;
  min-height: 60px;
  max-height: 340px;
  overflow-y: auto;
  /* Scrollbar discrète */
  scrollbar-width: thin;
  scrollbar-color: rgba(43,123,255,.35) transparent;
}
.gb-single-right .gb-modal-content::-webkit-scrollbar {
  width: 5px;
}
.gb-single-right .gb-modal-content::-webkit-scrollbar-track {
  background: transparent;
}
.gb-single-right .gb-modal-content::-webkit-scrollbar-thumb {
  background: rgba(43,123,255,.35);
  border-radius: 99px;
}
/* La contact box ne scroll pas — toujours visible */
.gb-single-right .gb-contact-box {
  flex: 0 0 auto;
}

.gb-contact-box {
  margin-top: 22px;
  padding: 20px 20px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(43,123,255,.06), rgba(255,61,113,.06));
  border: 1px solid rgba(43,123,255,.14);
}

/* Header statut en ligne */
.gb-contact-header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}

.gb-contact-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gb-a3);
  flex: 0 0 auto;
  position: relative;
}

.gb-contact-pulse::before,
.gb-contact-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gb-a3);
  opacity: .30;
  animation: gbRipple 1.5s infinite;
}

.gb-contact-pulse::after {
  animation-delay: .75s;
}

.gb-contact-pulse.offline {
  background: #9ca3af;
}

.gb-contact-pulse.offline::before,
.gb-contact-pulse.offline::after {
  display: none;
}

.gb-contact-status-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--gb-a3);
}

.gb-contact-status-text.offline {
  color: var(--gb-sub);
}

/* Label */
.gb-contact-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--gb-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Textarea */
.gb-contact-textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--gb-border);
  background: var(--gb-surf);
  font-size: 14px;
  line-height: 1.55;
  color: var(--gb-text);
  resize: none;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  font-family: inherit;
}

.gb-contact-textarea:focus {
  border-color: rgba(43,123,255,.45);
  box-shadow: 0 0 0 4px rgba(43,123,255,.10);
  background: var(--gb-card);
}

.gb-contact-textarea.shake {
  animation: gbShake .45s ease;
  border-color: #ff3d71;
}

@keyframes gbShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-7px); }
  40%, 80% { transform: translateX(7px); }
}

/* Compteur */
.gb-contact-count {
  text-align: right;
  font-size: 11px;
  color: var(--gb-sub);
  margin-top: 5px;
  margin-bottom: 14px;
}

/* Bouton envoyer */
.gb-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--gb-a1), var(--gb-a2));
  box-shadow: var(--gb-shadow);
  cursor: pointer;
  transition: opacity .18s, transform .18s, box-shadow .18s;
  letter-spacing: .05px;
  font-family: inherit;
}

.gb-contact-btn:hover {
  opacity: .92;
  transform: translateY(-2px);
  box-shadow: var(--gb-shadow);
}

.gb-contact-btn:active {
  transform: translateY(0);
  box-shadow: var(--gb-shadow);
}

/* =====================================================
   OVERLAY ENVOI MESSAGE
   ===================================================== */

.gb-send-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .30s ease;
}

.gb-send-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.gb-send-card {
  background: var(--gb-card);
  border-radius: 26px;
  padding: 20px 36px 40px; /* réduit en haut : la progress bar occupe l'espace */
  width: 100%;
  max-width: 380px;
  text-align: center;
  box-shadow: var(--gb-shadow);
  transform: translateY(16px) scale(.97);
  transition: transform .30s ease;
}

.gb-send-overlay.active .gb-send-card {
  transform: translateY(0) scale(1);
}

/* Etapes */
.gb-send-step {
  display: none;
}

.gb-send-step.active {
  display: block;
  animation: gbFadeUp .30s ease;
}

@keyframes gbFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gb-send-icon {
  font-size: 52px;
  margin-bottom: 6px;
  line-height: 1;
}

.gb-send-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--gb-text);
  margin: 16px 0 6px;
  letter-spacing: -.2px;
}

.gb-send-sub {
  font-size: 14px;
  color: var(--gb-muted);
  margin: 0 0 22px;
  line-height: 1.55;
}

/* Spinner */
.gb-send-spinner {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 4px solid rgba(15,23,42,.10);
  border-top-color: var(--gb-a1);
  animation: gbSpin .80s linear infinite;
  margin: 0 auto;
}

.gb-send-spinner.blue {
  border-top-color: var(--gb-a2);
}

@keyframes gbSpin {
  to { transform: rotate(360deg); }
}

/* Input email */
.gb-send-email {
  display: block;
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid var(--gb-border);
  font-size: 15px;
  color: var(--gb-text);
  background: rgba(15,23,42,.02);
  outline: none;
  margin-bottom: 12px;
  text-align: center;
  transition: border-color .18s, box-shadow .18s;
  font-family: inherit;
}

.gb-send-email:focus {
  border-color: rgba(43,123,255,.45);
  box-shadow: 0 0 0 4px rgba(43,123,255,.10);
  background: var(--gb-card);
}

/* =====================================================
   PAGE TOTO (confirmation)
   ===================================================== */

.gb-merci-wrap {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.gb-merci-card {
  background: var(--gb-card);
  border-radius: 26px;
  border: 1px solid var(--gb-border);
  box-shadow: var(--gb-shadow);
  padding: 60px 48px 52px;
  text-align: center;
  max-width: 480px;
  width: 100%;
}

.gb-merci-icon {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 20px;
}

.gb-merci-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -.3px;
  color: var(--gb-text);
}

.gb-merci-sub {
  font-size: 15px;
  color: var(--gb-muted);
  line-height: 1.6;
  margin: 0 0 32px;
}

@media (max-width: 576px) {
  .gb-merci-card {
    padding: 40px 24px 36px;
  }
  .gb-merci-title {
    font-size: 22px;
  }
}

/* ===== FIL D'ARIANE ===== */
.gb-breadcrumb {
  margin: 0 0 10px;
}
.gb-bc-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .82rem;
  gap: 4px;
}
.gb-bc-link {
  color: #3b82f6;
  text-decoration: none;
}
.gb-bc-link:hover {
  text-decoration: underline;
}
.gb-bc-current {
  color: #6b7280;
  font-weight: 600;
}
.gb-bc-sep {
  color: #d1d5db;
  font-size: .9rem;
}

/* ===== BADGE URGENCE "DISPO CE SOIR" ===== */
.gb-dispo {
  position: absolute;
  top: 8px;
  right: 10px;
  background: linear-gradient(135deg, var(--gb-a1), var(--gb-a2));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  z-index: 3;
  letter-spacing: .3px;
  box-shadow: var(--gb-shadow);
}
/* Quand badge distance présent (cat Proche de toi) : dispo passe juste en dessous */
.gb-dispo--below {
  top: 46px;
}

/* ===== CHIPS SUGGESTIONS MESSAGE ===== */
.gb-msg-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}
.gb-msg-chip {
  background: rgba(43,123,255,.07);
  border: 1.5px solid rgba(43,123,255,.2);
  color: #2b7bff;
  border-radius: 99px;
  padding: 5px 13px;
  font-size: .76rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  line-height: 1.4;
}
.gb-msg-chip:hover,
.gb-msg-chip.active {
  background: #2b7bff;
  color: #fff;
  border-color: #2b7bff;
}

/* ===== PROGRESS BAR OVERLAY ===== */
.gb-overlay-progress {
  height: 4px;
  background: rgba(255,255,255,.15);
  border-radius: 4px;
  margin-bottom: 22px;
  overflow: hidden;
}
.gb-overlay-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #2b7bff, #22c55e);
  border-radius: 4px;
  width: 50%;
  transition: width .5s ease;
}

/* ===== SOCIAL PROOF OVERLAY ===== */
.gb-send-proof {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gb-a3);
  background: var(--gb-card);
  border: 1px solid var(--gb-border);
  border-radius: 99px;
  padding: 6px 14px;
  margin: 8px 0 12px;
  width: 100%;
}
.gb-send-proof strong {
  color: var(--gb-a3);
  font-weight: 800;
}

/* ===== PAGE 404 ===== */
.gb-404-wrap {
  text-align: center;
  padding: 40px 20px 60px;
}
.gb-404-emoji {
  font-size: 64px;
  display: block;
  margin-bottom: 16px;
}
.gb-404-sub {
  font-size: 16px;
  color: var(--gb-muted);
  margin-bottom: 24px;
}
.gb-404-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.gb-404-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--gb-a2), var(--gb-a1));
  color: #fff;
  box-shadow: var(--gb-shadow);
  transition: transform .15s, box-shadow .15s;
}
.gb-404-btn:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--gb-shadow-hover);
}
.gb-404-btn--secondary {
  background: var(--gb-card);
  color: var(--gb-a2);
  border: 1px solid var(--gb-border);
  box-shadow: none;
}
.gb-404-btn--secondary:hover {
  color: var(--gb-a1);
  background: var(--gb-surf);
  box-shadow: none;
}

/* ===== PAGE INSCRIPTION ===== */

/* Hero : légèrement différent du gb-jumbo standard */
.gb-insc-hero {
  text-align: center;
}

/* Alignement vertical des deux cards sur desktop */
.gb-insc-row > [class*="col-"] { display: flex; flex-direction: column; }

/* Champ email : s'adapte au thème actif */
.gb-insc-form-card .gb-send-email {
  background: var(--gb-card);
  color: var(--gb-text);
  border: 1.5px solid var(--gb-border);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: .95rem;
  width: 100%;
  display: block;
  transition: border-color .2s;
}
.gb-insc-form-card .gb-send-email::placeholder {
  color: var(--gb-muted);
}
.gb-insc-form-card .gb-send-email:focus {
  outline: none;
  border-color: var(--gb-a2);
  background: var(--gb-card);
}

/* ---- Card profils aperçu ---- */
.gb-insc-profiles-card {
  border-radius: 24px !important;
}
.gb-insc-profiles-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--gb-muted);
  margin-bottom: 14px;
}
/* Une ligne profil */
.gb-insc-profile-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gb-border);
}
.gb-insc-profile-row:last-of-type {
  border-bottom: none;
}
/* Avatar rond */
.gb-insc-avatar-wrap {
  position: relative;
  flex: 0 0 52px;
}
.gb-insc-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid var(--gb-card);
  box-shadow: var(--gb-shadow);
}
.gb-insc-avatar--placeholder {
  background: var(--gb-surf);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
/* Dot en ligne */
.gb-insc-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--gb-a3);
  border: 2px solid var(--gb-card);
}
.gb-insc-dot.offline {
  background: var(--gb-sub);
}
/* Infos profil */
.gb-insc-profile-info {
  flex: 1;
  min-width: 0;
}
.gb-insc-profile-name {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--gb-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gb-insc-profile-status {
  font-size: .78rem;
  font-weight: 600;
  color: var(--gb-a3);
  display: block;
  margin-bottom: 3px;
}
.gb-insc-profile-status.offline {
  color: var(--gb-sub);
}
.gb-insc-profile-excerpt {
  font-size: .82rem;
  color: var(--gb-muted);
  margin: 0;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Compteur bas de card */
.gb-insc-counter {
  margin: 14px 0 0;
  font-size: .85rem;
  color: var(--gb-muted);
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid var(--gb-border);
}
.gb-insc-counter strong {
  color: var(--gb-text);
}

/* Card formulaire centrale */
.gb-insc-form-card {
  border-radius: 24px !important;
  text-align: center;
}
.gb-insc-form-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gb-text);
  margin-bottom: 8px;
}
.gb-insc-form-sub {
  font-size: .9rem;
  color: var(--gb-muted);
  margin-bottom: 16px;
}

/* Bouton CTA inscription — plus grand que le bouton contact */
.gb-insc-btn {
  width: 100%;
  font-size: 1rem;
  padding: 14px 24px;
  margin-top: 14px;
  letter-spacing: .2px;
}

/* Sur la page inscription le style de base convient déjà — juste supprimer la bordure */
.gb-insc-form-card .gb-send-proof {
  border: none;
  font-size: .82rem;
}
.gb-insc-form-card .gb-send-proof strong {
  color: var(--gb-a3);
}

/* Disclaimer */
.gb-insc-disclaimer {
  font-size: .78rem;
  color: var(--gb-sub);
  margin-top: 14px;
  margin-bottom: 0;
  line-height: 1.5;
}
.gb-insc-disclaimer a {
  color: var(--gb-a2);
  text-decoration: none;
}
.gb-insc-disclaimer a:hover {
  text-decoration: underline;
}

/* Contenu WP optionnel */
.gb-insc-wp-content {
  border-radius: 18px;
  font-size: .95rem;
  color: var(--gb-muted);
  line-height: 1.7;
}

/* ===== DISCLAIMER ÂGE ===== */
body.gb-discl-open { overflow: hidden; }

.gb-disclaimer-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(8, 12, 28, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .35s ease;
}
.gb-disclaimer-overlay.active {
  opacity: 1;
}

.gb-disclaimer-card {
  background: var(--gb-card);
  border-radius: 28px;
  padding: 40px 32px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .45);
  transform: translateY(12px);
  transition: transform .35s ease;
}
.gb-disclaimer-overlay.active .gb-disclaimer-card {
  transform: translateY(0);
}

.gb-disclaimer-brand {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gb-a1);
  margin-bottom: 10px;
}
.gb-disclaimer-icon {
  font-size: 52px;
  line-height: 1;
  margin-bottom: 14px;
}
.gb-disclaimer-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gb-text);
  margin-bottom: 12px;
}
.gb-disclaimer-text {
  font-size: .9rem;
  color: var(--gb-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}
.gb-disclaimer-text strong {
  color: var(--gb-text);
  font-weight: 700;
}
.gb-discl-enter-btn {
  width: 100%;
  font-size: 1rem;
  padding: 15px 24px;
}
.gb-disclaimer-quit-wrap {
  margin-top: 18px;
}
.gb-discl-quit-link {
  font-size: .78rem;
  color: var(--gb-sub);
  text-decoration: none;
  transition: color .15s;
}
.gb-discl-quit-link:hover {
  color: var(--gb-muted);
  text-decoration: underline;
}

/* ==========================================================================
   THÈME SOMBRE — style2 uniquement (style3 est un thème clair beige/or)
   Sélecteurs html[data-gb-theme] = spécificité (0,1,1), garantit la priorité.
   ========================================================================== */

html[data-gb-theme="style2"] { color-scheme: dark; }

/* Inputs Bootstrap — fond blanc par défaut dans BS4 */
html[data-gb-theme="style2"] .form-control {
  background: var(--gb-surf);
  color: var(--gb-text);
  border-color: var(--gb-border);
}
html[data-gb-theme="style2"] .form-control:focus {
  background: var(--gb-card);
  color: var(--gb-text);
  border-color: var(--gb-a2);
  box-shadow: 0 0 0 3px var(--gb-border);
}

/* CPC sticky bar */
html[data-gb-theme="style2"] .gb-cpc-bar {
  background: var(--gb-card);
  border-top-color: var(--gb-border);
}

/* Panel image gauche (single.php) */
html[data-gb-theme="style2"] .gb-modal-left {
  background: #000;
}

/* Overlay de contact */
html[data-gb-theme="style2"] .gb-send-overlay {
  background: rgba(0,0,0,.85);
}

/* Chips messages actives */
html[data-gb-theme="style2"] .gb-msg-chip.active {
  background: var(--gb-a1);
  color: #fff;
  border-color: var(--gb-a1);
}
