/* ===== Votez pour Moi — recreation ===== */

:root{
  --vpm-bg-1:        #d9e8f1;
  --vpm-bg-2:        #e9f2f7;
  --vpm-ink:         #1f2a3a;
  --vpm-ink-soft:    #3d4a5d;
  --vpm-muted:       #6b7382;
  --vpm-green:       #6c9e73;
  --vpm-green-dk:    #5b8a62;
  --vpm-card:        #ffffff;
  --vpm-icon-bg:     #e9eef0;
  --vpm-stats-bg:    #e7efe9;
  --vpm-outline:     #c6d3dc;
  --vpm-shadow:      0 18px 40px -28px rgba(20,40,70,.25);
}

*{ box-sizing:border-box; }

html,body{ margin:0; padding:0; }

body{
  font-family:'Nunito', system-ui, -apple-system, "Segoe UI", sans-serif;
  color:var(--vpm-ink);
  background:
    radial-gradient(1200px 700px at 80% -100px, #cfe1ee 0%, transparent 60%),
    linear-gradient(180deg, #e0ecf3 0%, #eef4f7 40%, #f2f6f8 100%);
  font-weight:500;
  -webkit-font-smoothing:antialiased;
  line-height:1.45;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

/* ============ NAV ============ */
.vpm-nav{
  position:sticky; top:0; z-index:50;
  background:linear-gradient(180deg, rgba(232,242,247,.92), rgba(232,242,247,.78));
  backdrop-filter: blur(10px);
}
.vpm-logo img{ height:54px; width:auto; }

.vpm-menu{
  list-style:none; padding:0; margin:0;
  display:flex; gap:38px; align-items:center;
}
.vpm-menu a{
  color:var(--vpm-ink);
  font-weight:700;
  font-size:15px;
  padding:8px 0;
  position:relative;
  transition:color .15s;
}
.vpm-menu a:hover{ color:var(--vpm-green-dk); }
.vpm-menu a.active{ color:var(--vpm-ink); }
.vpm-menu a.active::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px;
  height:2px; background:var(--vpm-ink); border-radius:2px;
}

/* burger */
.vpm-burger{
  background:none; border:0; padding:8px;
  display:flex; flex-direction:column; gap:5px;
}
.vpm-burger span{ width:24px; height:2px; background:var(--vpm-ink); border-radius:2px; }
.vpm-mobile{
  display:none;
  flex-direction:column; gap:4px;
  padding:8px 20px 16px;
  background:rgba(232,242,247,.96);
  border-top:1px solid rgba(0,0,0,.04);
}
.vpm-mobile a{
  padding:10px 4px;
  font-weight:700;
  border-bottom:1px solid rgba(0,0,0,.05);
}
.vpm-mobile a:last-child{ border:0; }
.vpm-mobile.open{ display:flex; }

/* ============ BUTTONS ============ */
.vpm-btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  border-radius:999px;
  padding:11px 22px;
  font-weight:700;
  font-size:15px;
  border:1.5px solid transparent;
  cursor:pointer;
  transition:transform .12s ease, background .15s, box-shadow .15s, color .15s;
  white-space:nowrap;
  line-height:1;
}
.vpm-btn:hover{ transform:translateY(-1px); }
.vpm-btn-lg{ padding:14px 26px; font-size:16px; }

.vpm-btn-primary{
  background:var(--vpm-green);
  color:#fff;
  box-shadow:0 8px 18px -10px rgba(108,158,115,.7);
}
.vpm-btn-primary:hover{ background:var(--vpm-green-dk); color:#fff; }

.vpm-btn-ghost{
  background:transparent;
  color:var(--vpm-ink);
  border-color:var(--vpm-outline);
}
.vpm-btn-ghost:hover{ background:rgba(255,255,255,.6); }

.vpm-btn-outline{
  background:transparent;
  color:var(--vpm-ink);
  border-color:#cdd6df;
  align-self:flex-start;
  padding:11px 22px;
}
.vpm-btn-outline:hover{ background:#f1f5f7; }

.vpm-play{
  width:26px; height:26px; border-radius:50%;
  background:var(--vpm-green); color:#fff;
  display:inline-flex; align-items:center; justify-content:center;
  margin-left:-6px;
}

/* ============ HERO ============ */
.vpm-hero{
  padding:30px 0 50px;
}
.vpm-h1{
  font-weight:900;
  font-size:clamp(40px, 5vw, 60px);
  line-height:1.05;
  letter-spacing:-.5px;
  margin:0 0 18px;
}
.vpm-lede{
  font-size:22px;
  font-weight:700;
  color:var(--vpm-green);
  margin:0 0 18px;
  line-height:1.25;
}
.vpm-sub{
  font-size:16px;
  color:var(--vpm-ink-soft);
  max-width:440px;
  margin:0 0 28px;
}
.vpm-cta-row{
  display:flex; gap:14px; flex-wrap:wrap;
}
.vpm-hero-art img{
  width:100%;
  height:auto;
  border-radius:18px;
}

/* ============ FEATURE CARDS ============ */
.vpm-features{
  padding:6px 0 30px;
}
.vpm-card{
  background:var(--vpm-card);
  border-radius:18px;
  padding:22px 22px 0;
  height:100%;
  display:flex; flex-direction:column;
  box-shadow:var(--vpm-shadow);
  overflow:hidden;
}
.vpm-card-head{
  display:flex; align-items:center; gap:14px;
  margin-bottom:14px;
}
.vpm-card-icon{
  width:50px; height:50px; border-radius:50%;
  background:var(--vpm-icon-bg);
  color:var(--vpm-green-dk);
  display:inline-flex; align-items:center; justify-content:center;
  flex:0 0 auto;
}
.vpm-card-icon svg{ width:26px; height:26px; }
.vpm-card h3{
  font-size:18px;
  font-weight:800;
  margin:0;
  line-height:1.15;
}
.vpm-card p{
  font-size:14.5px;
  color:var(--vpm-ink-soft);
  margin:0 0 18px;
  flex:1;
}
.vpm-card-art{
  margin:0 -22px;
}
.vpm-card-art img{
  width:100%;
  display:block;
}

/* ============ STATS ============ */
.vpm-stats{ padding:10px 0 28px; }
.vpm-stats-bar{
  background:var(--vpm-stats-bg);
  border-radius:16px;
  padding:22px 28px;
  display:flex;
  flex-wrap:wrap;
  gap:18px 28px;
  justify-content:space-between;
}
.vpm-stat{
  display:flex; align-items:center; gap:14px;
  flex:1 1 200px;
}
.vpm-stat-icon{
  width:46px; height:46px;
  display:inline-flex; align-items:center; justify-content:center;
  color:var(--vpm-green-dk);
}
.vpm-stat-icon svg{ width:34px; height:34px; }
.vpm-stat-num{
  font-weight:800;
  font-size:19px;
  color:var(--vpm-green-dk);
  line-height:1.1;
}
.vpm-stat-lbl{
  font-size:14px;
  color:var(--vpm-ink-soft);
}

/* ============ TWO COL PANELS ============ */
.vpm-twocol{ padding:20px 0 40px; }

.vpm-panel{
  background:var(--vpm-card);
  border-radius:18px;
  padding:28px 30px;
  height:100%;
  display:flex; flex-direction:column;
  box-shadow:var(--vpm-shadow);
}
.vpm-panel-title{
  font-size:22px;
  font-weight:800;
  margin:0 0 22px;
}

/* ranking */
.vpm-rank{
  list-style:none; padding:0; margin:0 0 22px;
}
.vpm-rank li{
  display:grid;
  grid-template-columns: 26px 1fr 1.1fr 56px;
  align-items:center;
  gap:14px;
  padding:7px 0;
  font-size:14px;
}
.vpm-rank-n{
  width:24px; height:24px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  color:#fff; font-weight:800; font-size:12px;
}
.vpm-rank-n.c1{ background:#6c9e73; }
.vpm-rank-n.c2{ background:#92b3d4; }
.vpm-rank-n.c3{ background:#9cc59a; }
.vpm-rank-n.c4{ background:#e9b466; }
.vpm-rank-n.c5{ background:#e89993; }
.vpm-rank-n.c6{ background:#a8c7e0; }
.vpm-rank-n.c7{ background:#bcb1d3; }
.vpm-rank-n.c8{ background:#7b8896; }
.vpm-rank-n.c9{ background:#cc8f7e; }
.vpm-rank-n.c10{ background:#9aa3ad; }

.vpm-rank-name{ font-weight:600; color:var(--vpm-ink); }
.vpm-rank-bar{
  display:block; height:7px;
  background:#eef2f5;
  border-radius:999px;
  overflow:hidden;
  position:relative;
}
.vpm-rank-bar i{
  position:absolute; left:0; top:0; bottom:0;
  display:block;
  border-radius:999px;
  transform-origin:left;
  animation: vpm-grow .9s cubic-bezier(.2,.6,.2,1) both;
}
@keyframes vpm-grow{
  from{ transform:scaleX(0); }
  to{ transform:scaleX(1); }
}
.vpm-rank-pct{
  text-align:right;
  font-weight:700;
  color:var(--vpm-ink);
  font-size:13.5px;
}

/* press */
.vpm-press-art{
  flex:1;
  margin:0 0 22px;
}
.vpm-press-art img{
  width:100%;
  border-radius:12px;
  display:block;
}

/* ============ FOOTER ============ */
.vpm-footer{
  padding:34px 0;
  background:transparent;
  border-top:1px solid rgba(0,0,0,.04);
  margin-top:10px;
}
.vpm-footer-logo{ height:48px; width:auto; }
.vpm-footer-copy{
  font-size:13.5px;
  color:var(--vpm-muted);
}
.vpm-footer-links{
  list-style:none; padding:0; margin:0;
  display:flex; gap:26px; flex-wrap:wrap;
}
.vpm-footer-links a{
  font-size:13.5px;
  color:var(--vpm-ink-soft);
  font-weight:600;
}
.vpm-footer-links a:hover{ color:var(--vpm-green-dk); }

.vpm-social{
  list-style:none; padding:0; margin:0;
  display:flex; gap:10px;
  justify-content:flex-end;
}
.vpm-social a{
  width:34px; height:34px; border-radius:50%;
  background:#a8b6d6;
  color:#fff;
  display:inline-flex; align-items:center; justify-content:center;
  transition:background .15s, transform .15s;
}
.vpm-social a:hover{ background:var(--vpm-green); transform:translateY(-1px); }
.vpm-social svg{ width:16px; height:16px; }

/* ============ MODAL ============ */
.vpm-modal .modal-dialog{ max-width:430px; }
.vpm-modal-content{
  background:#fff;
  border:0;
  border-radius:22px;
  box-shadow:0 30px 80px -20px rgba(20,40,70,.35);
  overflow:hidden;
  position:relative;
}
.vpm-modal-close{
  position:absolute; top:16px; right:16px;
  z-index:2;
  opacity:.5;
}
.vpm-modal-close:hover{ opacity:1; }

.vpm-modal-body{
  padding:36px 36px 30px;
}
.vpm-modal-title{
  font-size:26px;
  font-weight:900;
  margin:0 0 6px;
  letter-spacing:-.3px;
}
.vpm-modal-sub{
  font-size:14px;
  color:var(--vpm-muted);
  margin:0 0 24px;
}

.vpm-form{ display:flex; flex-direction:column; gap:14px; }
.vpm-field{ display:flex; flex-direction:column; gap:6px; }
.vpm-field label{
  font-size:13px;
  font-weight:700;
  color:var(--vpm-ink-soft);
  letter-spacing:.2px;
}
.vpm-field input[type=text],
.vpm-field input[type=password]{
  width:100%;
  padding:12px 14px;
  border:1.5px solid #d8e0e7;
  border-radius:12px;
  background:#f7fafc;
  font:inherit;
  font-size:15px;
  color:var(--vpm-ink);
  transition:border-color .15s, background .15s, box-shadow .15s;
}
.vpm-field input::placeholder{ color:#a8b1bc; }
.vpm-field input:focus{
  outline:none;
  background:#fff;
  border-color:var(--vpm-green);
  box-shadow:0 0 0 4px rgba(108,158,115,.15);
}

.vpm-password{ position:relative; }
.vpm-password input{ padding-right:42px; }
.vpm-toggle-pwd{
  position:absolute; right:8px; top:50%; transform:translateY(-50%);
  background:none; border:0; padding:6px;
  color:var(--vpm-muted);
  cursor:pointer; border-radius:8px;
}
.vpm-toggle-pwd:hover{ color:var(--vpm-ink); background:#eef2f5; }

.vpm-form-row{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; flex-wrap:wrap;
  margin:-2px 0 6px;
}
.vpm-check{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13.5px;
  color:var(--vpm-ink-soft);
  cursor:pointer;
}
.vpm-check input{
  width:16px; height:16px;
  accent-color:var(--vpm-green);
  cursor:pointer;
}
.vpm-forgot{
  font-size:13px;
  color:var(--vpm-green-dk);
  font-weight:700;
}
.vpm-forgot:hover{ text-decoration:underline; }

.vpm-btn-block{ width:100%; }

.vpm-divider{
  display:flex; align-items:center; gap:12px;
  margin:22px 0 14px;
  color:var(--vpm-muted);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:1px;
}
.vpm-divider::before,
.vpm-divider::after{
  content:""; flex:1; height:1px; background:#e3e9ee;
}

.vpm-google-link{
  display:flex; align-items:center; justify-content:center; gap:8px;
  font-size:13.5px;
  color:var(--vpm-ink-soft);
  font-weight:600;
  padding:6px 4px;
  text-align:center;
}
.vpm-google-link:hover{ color:var(--vpm-ink); }
.vpm-google-link svg{ flex:0 0 auto; }

.vpm-modal-foot{
  margin:18px 0 0;
  text-align:center;
  font-size:13.5px;
  color:var(--vpm-muted);
}
.vpm-modal-foot a{
  color:var(--vpm-green-dk);
  font-weight:700;
}
.vpm-modal-foot a:hover{ text-decoration:underline; }

@media (max-width: 575.98px){
  .vpm-modal-body{ padding:30px 22px 24px; }
  .vpm-modal-title{ font-size:22px; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991.98px){
  .vpm-h1{ font-size:42px; }
  .vpm-social{ justify-content:flex-start; }
}
@media (max-width: 575.98px){
  .vpm-hero{ padding:14px 0 30px; }
  .vpm-h1{ font-size:34px; }
  .vpm-lede{ font-size:18px; }
  .vpm-panel{ padding:22px; }
  .vpm-stats-bar{ padding:18px; }
  .vpm-rank li{ grid-template-columns: 22px 1fr 60px; }
  .vpm-rank-bar{ display:none; }
}
