/* ===== VARIABLES ===== */
:root {
  --bg: #080808;
  --bg-card: #111111;
  --bg-card2: #181818;
  --gold: #b49669;
  --gold-light: #c3a578;
  --gold-dim: rgba(180,150,105,0.12);
  --gold-glow: rgba(180,150,105,0.3);
  --text: #f1f5f9;
  --text-muted: #8a8a8a;
  --border: #2a2a2a;
  --success: #22c55e;
  --warning: #f59e0b;
  --whatsapp: #25d366;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 32px rgba(0,0,0,0.6);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }


body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding-bottom: 80px;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(180,150,105,0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(180,150,105,0.04) 0%, transparent 50%);
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, select, textarea {
  font-family: inherit;
  background: var(--bg-card2);
  border: 1.5px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  width: 100%;
  font-size: 15px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
select option { background: var(--bg-card2); }

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--gold);
  color: #000;
  border-radius: 50px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s, transform .1s, box-shadow .2s;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--gold-glow);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: 50px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s, transform .1s;
}
.btn-outline:hover { background: var(--gold-dim); transform: translateY(-1px); }
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .2s, transform .1s;
}
.btn-whatsapp:hover { background: #20bd5a; transform: translateY(-2px); }
.btn-full { width: 100%; }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.mt { margin-top: 20px; }
.mt-sm { margin-top: 10px; }
.mb { margin-bottom: 20px; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 100px;
  right: 20px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  z-index: 200;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }
@media (min-width: 768px) { .whatsapp-float { bottom: 30px; } }

/* ===== TOP NAV ===== */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.topnav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.pp-logo { display: flex; align-items: center; gap: 12px; }
.pp-icon { width: 52px; height: 36px; flex-shrink: 0; object-fit: contain; }
.pp-name-wrap { display: flex; flex-direction: column; gap: 1px; }
.pp-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text);
  text-transform: uppercase;
  white-space: nowrap;
}
.pp-gold { color: var(--gold); }
.pp-sub { font-size: 10px; color: var(--text-muted); letter-spacing: 1px; }
.topnav-links { display: none; gap: 4px; margin-left: auto; }
.nav-link { padding: 9px 16px; border-radius: 50px; font-size: 14px; color: var(--text-muted); transition: color .2s, background .2s; }
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--gold-dim); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-cta { padding: 10px 20px; font-size: 14px; }
.lang-toggle {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 50px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.lang-toggle:hover { border-color: var(--gold); color: var(--gold); }

.pro-access-link {
  font-size: 13px;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--gold);
  border-radius: 50px;
  padding: 8px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.pro-access-link:hover { background: rgba(180,150,105,0.2); }
@media (min-width: 768px) {
  .topnav-links { display: flex; }
}

/* ===== VIEWS ===== */
.view { display: none; max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }
.view.active { display: block; }
.view-header { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.view-header h2 { font-size: 22px; font-weight: 700; flex: 1; }
.view-sub { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.back-btn { color: var(--gold); font-size: 14px; padding: 8px 14px; border-radius: 50px; background: var(--gold-dim); white-space: nowrap; transition: background .2s; }
.back-btn:hover { background: rgba(180,150,105,0.2); }

/* ===== HERO ===== */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px 0 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-dim);
  color: var(--gold-light);
  border: 1px solid var(--gold);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 {
  font-size: clamp(36px, 9vw, 60px);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #a5875a, #c3a578);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { color: var(--text-muted); font-size: 18px; margin-bottom: 28px; line-height: 1.6; max-width: 480px; }
.hero-guarantees { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-guarantees span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); }
.ico { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.hero-cta-group { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-social-proof { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-muted); }
.avatars { display: flex; }
.avatar { width: 32px; height: 32px; background: var(--bg-card2); border: 2px solid var(--bg); border-radius: 50%; margin-right: -8px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.stars-row { color: var(--gold); font-size: 13px; margin-bottom: 2px; }

/* ===== HERO VISUAL ===== */
.hero-right { display: flex; align-items: center; justify-content: center; }
.hero-visual {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-visual::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(180,150,105,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.visual-map { font-size: 52px; text-align: center; margin-bottom: 24px; filter: drop-shadow(0 0 16px rgba(180,150,105,0.4)); }
.visual-cards { display: flex; flex-direction: column; gap: 12px; }
.vcard {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color .2s;
}
.vcard:hover { border-color: var(--gold); }
.vcard-icon { font-size: 24px; flex-shrink: 0; }
.vcard strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.vcard span { font-size: 12px; color: var(--text-muted); }

/* ===== HOW SECTION ===== */
.how-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 24px;
  margin-bottom: 48px;
}
.how-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.how-step {
  flex: 1; min-width: 120px; max-width: 160px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 8px;
}
.how-num {
  width: 32px; height: 32px;
  background: var(--gold-dim);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.how-icon { font-size: 32px; }
.how-step strong { font-size: 14px; }
.how-step p { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.how-arrow { font-size: 20px; color: var(--gold); margin-top: 32px; align-self: center; }

/* ===== SECTION ===== */
.section-block { margin-bottom: 48px; }
.section-title { font-size: 24px; font-weight: 800; margin-bottom: 24px; }
.section-title.center { text-align: center; }

/* ===== SERVICES GRID (home) ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.service-icon { font-size: 32px; margin-bottom: 12px; }
.service-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.service-card p { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

/* ===== SERVICES DETAIL ===== */
.service-detail-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .service-detail-grid { grid-template-columns: 1fr 1fr; } }
.service-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s;
}
.service-detail-card:hover { border-color: var(--gold); }
.service-detail-card.featured { border-color: var(--gold); background: linear-gradient(135deg, #111111, #181400); }
.sd-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.sd-icon { font-size: 36px; flex-shrink: 0; }
.sd-header h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.sd-delay { font-size: 12px; color: var(--text-muted); }
.sd-delay.gold { color: var(--gold); font-weight: 600; }
.service-detail-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.sd-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.sd-list li { font-size: 13px; color: var(--text-muted); padding-left: 16px; position: relative; }
.sd-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ===== STATS ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 48px;
}
@media (min-width: 600px) { .stats-bar { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg-card); padding: 28px 20px; text-align: center; }
.stat strong { display: block; font-size: 28px; font-weight: 900; color: var(--gold); margin-bottom: 4px; }
.stat span { font-size: 12px; color: var(--text-muted); }

/* ===== REVIEWS ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color .2s, transform .2s;
}
.review-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.review-stars { color: var(--gold); font-size: 16px; margin-bottom: 12px; }
.review-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 14px; }
.review-author { font-size: 12px; color: var(--gold); font-weight: 600; }

/* ===== CTA FINAL ===== */
.cta-final {
  background: linear-gradient(135deg, #0f0e00 0%, #1a1500 50%, #0f0e00 100%);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(180,150,105,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-final h2 { font-size: 28px; font-weight: 900; margin-bottom: 10px; }
.cta-final p { color: var(--text-muted); font-size: 15px; margin-bottom: 28px; }
.cta-final-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== JOBS ===== */
.jobs-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.jobs-search { flex: 1; min-width: 180px; }
.jobs-filter-sel { width: auto; }
.jobs-grid { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color .2s, transform .2s;
}
.job-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.job-icon { font-size: 36px; flex-shrink: 0; }
.job-info { flex: 1; }
.job-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.job-employer { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.job-tag { font-size: 11px; background: var(--bg-card2); border: 1px solid var(--border); border-radius: 20px; padding: 3px 10px; color: var(--text-muted); }
.job-tag.lmia { background: var(--gold-dim); border-color: var(--gold); color: var(--gold); font-weight: 600; }
.job-salary { font-size: 14px; font-weight: 700; color: var(--gold); white-space: nowrap; flex-shrink: 0; }
.jobs-cta { text-align: center; padding: 32px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.jobs-cta p { color: var(--text-muted); margin-bottom: 16px; font-size: 14px; }

/* ===== STEPPER ===== */
.stepper { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 32px; }
.stepper-4 .step label, .stepper-3 .step label { display: none; }
@media (min-width: 480px) { .stepper-4 .step label, .stepper-3 .step label { display: block; } }
.step { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.step span {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg-card2);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--text-muted);
  transition: all .3s;
}
.step.active span { background: var(--gold); border-color: var(--gold); color: #000; box-shadow: 0 0 12px var(--gold-glow); }
.step.done span { background: var(--success); border-color: var(--success); color: #fff; }
.step label { font-size: 11px; color: var(--text-muted); white-space: nowrap; }
.step.active label { color: var(--text); }
.step-line { flex: 1; height: 2px; background: var(--border); min-width: 20px; max-width: 60px; margin: 0 2px; margin-bottom: 18px; }

/* ===== FORM STEPS ===== */
.devis-step { display: none; }
.devis-step.active { display: block; }
.devis-step h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.step-hint { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.5; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.btn-row { display: flex; gap: 12px; margin-top: 24px; }
.btn-row .btn-outline, .btn-row .btn-primary { flex: 1; }
.privacy-note { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); margin: 16px 0 12px; }
.privacy-note svg { color: var(--success); flex-shrink: 0; }
.cv-note { font-size: 13px; color: var(--text-muted); background: rgba(180,150,105,.08); border-left: 3px solid var(--gold); padding: 10px 14px; border-radius: 6px; margin-bottom: 24px; line-height: 1.6; }


/* ===== DAMAGE OPTIONS ===== */
.damage-options { display: flex; flex-wrap: wrap; gap: 10px; }
.damage-opt {
  background: var(--bg-card2);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 9px 18px;
  font-size: 13px;
  cursor: pointer;
  transition: all .2s;
  display: flex; align-items: center; gap: 8px;
  color: var(--text);
}
.damage-opt:has(input:checked) { background: var(--gold); border-color: var(--gold); color: #000; font-weight: 600; }
.damage-opt input { display: none; }

/* ===== CONFIRM BOX ===== */
.confirm-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
}
.confirm-check { font-size: 56px; margin-bottom: 16px; display: block; }
.confirm-box h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.confirm-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }

/* ===== SUIVI ===== */
.suivi-header {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.suivi-badge { background: var(--gold-dim); border: 1px solid var(--gold); color: var(--gold); border-radius: 50px; padding: 6px 16px; font-size: 14px; font-weight: 700; }
.suivi-car { display: flex; align-items: center; gap: 12px; }
.car-icon-sm { font-size: 28px; }
.suivi-car strong { display: block; font-size: 16px; }
.suivi-car span { font-size: 13px; color: var(--text-muted); }
.demo-hint { text-align: center; margin-top: 14px; font-size: 13px; color: var(--text-muted); }
.demo-hint strong { color: var(--gold); }

/* ===== TIMELINE ===== */
.timeline { margin-bottom: 28px; }
.timeline-item { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 24px; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: 13px; top: 28px; width: 2px; height: calc(100% - 16px); background: var(--border); }
.timeline-item:last-child::before { display: none; }
.tl-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border); background: var(--bg-card2); flex-shrink: 0; position: relative; z-index: 1; transition: all .3s; }
.tl-dot.done { background: var(--success); border-color: var(--success); }
.tl-dot.active { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 14px var(--gold-glow); }
.tl-content strong { display: block; font-size: 15px; margin-bottom: 4px; }
.tl-content span { font-size: 13px; color: var(--text-muted); }

/* ===== CALENDAR ===== */
.calendar { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-header strong { font-size: 16px; }
.cal-nav { background: var(--bg-card2); border: 1px solid var(--border); border-radius: 50%; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--text); transition: background .2s; }
.cal-nav:hover { background: var(--gold-dim); }
.cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 8px; }
.cal-weekday { text-align: center; font-size: 12px; color: var(--text-muted); padding: 6px 0; }
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 14px; cursor: pointer; transition: all .2s; }
.cal-day:hover:not(.disabled):not(.empty) { background: var(--gold-dim); color: var(--gold); }
.cal-day.selected { background: var(--gold); color: #000; font-weight: 700; }
.cal-day.disabled { color: var(--border); cursor: not-allowed; }
.cal-day.empty { pointer-events: none; }
.cal-day.today { border: 1.5px solid var(--gold); color: var(--gold); }

/* ===== SLOTS ===== */
.slots-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 24px; }
.slot-btn { background: var(--bg-card2); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 14px 8px; text-align: center; font-size: 14px; font-weight: 600; color: var(--text); transition: all .2s; }
.slot-btn:hover:not(.taken) { border-color: var(--gold); color: var(--gold); }
.slot-btn.selected { background: var(--gold); border-color: var(--gold); color: #000; }
.slot-btn.taken { color: var(--border); cursor: not-allowed; text-decoration: line-through; }

/* ===== RDV RECAP ===== */
.rdv-recap { background: var(--bg-card2); border-radius: var(--radius-sm); padding: 16px; margin: 16px 0 20px; text-align: left; }
.rdv-recap p { font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.rdv-recap p:last-child { border: none; }
.rdv-recap strong { color: var(--text); float: right; }

/* ===== CONTACT ===== */
.contact-info { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.contact-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; display: flex; align-items: center; gap: 16px; transition: border-color .2s; }
.contact-card:hover { border-color: var(--gold); }
.contact-icon { font-size: 24px; }
.contact-card strong { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.contact-card a { color: var(--gold); font-size: 15px; font-weight: 500; }
.contact-card span { font-size: 15px; }
.msg-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.success-msg { margin-top: 16px; background: rgba(34,197,94,0.08); border: 1px solid var(--success); color: var(--success); border-radius: var(--radius-sm); padding: 14px; text-align: center; font-size: 14px; }
.error-msg { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #f87171; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 13px; text-align: center; }

/* ===== ADMIN GATE ===== */
#admin-gate {
  display: none;
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 999;
  align-items: center; justify-content: center; flex-direction: column;
  padding: 24px;
}
#admin-gate.open { display: flex; }
.gate-box {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  width: 100%; max-width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.7);
}
.gate-icon { font-size: 36px; }
.gate-box h2 { font-size: 20px; font-weight: 800; text-align: center; }
.gate-sub { font-size: 13px; color: var(--text-muted); text-align: center; }
.pwd-wrap { position: relative; width: 100%; }
.pwd-eye { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 16px; background: none; border: none; cursor: pointer; padding: 0; opacity: 0.6; }

/* ===== ADMIN MODE ===== */
body.admin-mode .topnav,
body.admin-mode .bottom-nav,
body.admin-mode .whatsapp-float,
body.admin-mode .site-footer { display: none !important; }
body.admin-mode { padding-bottom: 0; }

/* ===== ADMIN LAYOUT ===== */
#view-admin { padding: 0 !important; }
#view-admin.active { display: flex !important; }
.admin-wrapper { display: flex; width: 100%; min-height: 100vh; }

/* SIDEBAR */
.admin-sidebar {
  width: 240px; flex-shrink: 0;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: -240px; height: 100vh;
  z-index: 200; transition: left .3s ease; overflow-y: auto;
}
.admin-sidebar.open { left: 0; }
@media (min-width: 900px) {
  .admin-sidebar { position: static; height: auto; left: 0 !important; }
  .admin-ham, .admin-overlay { display: none !important; }
}
.admin-ham {
  position: fixed; top: 14px; left: 14px; z-index: 300;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; width: 40px; height: 40px;
  font-size: 18px; display: flex; align-items: center; justify-content: center;
  color: var(--text); box-shadow: var(--shadow);
}
.admin-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 150; }
.admin-overlay.show { display: block; }
.sidebar-brand {
  display: flex; align-items: center; gap: 12px;
  padding: 24px 20px 20px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.sb-logo-sub { font-size: 10px; color: var(--text-muted); margin-top: 2px; }
.sidebar-nav { flex: 1; padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.slink {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  text-align: left; transition: all .2s; position: relative;
}
.slink:hover { background: var(--gold-dim); color: var(--text); }
.slink.active { background: var(--gold-dim); color: var(--gold); font-weight: 600; }
.slink svg { flex-shrink: 0; opacity: 0.7; }
.slink.active svg { opacity: 1; }
.slink-badge { margin-left: auto; background: var(--gold); color: #000; border-radius: 50px; padding: 2px 8px; font-size: 11px; font-weight: 700; }
.slink-badge.notif { background: #ef4444; color: #fff; }
.sidebar-bottom { padding: 16px 12px; border-top: 1px solid var(--border); }
.sb-logout { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: var(--radius-sm); font-size: 13px; color: var(--text-muted); transition: all .2s; }
.sb-logout:hover { background: rgba(239,68,68,0.1); color: #f87171; }

/* ADMIN BODY */
.admin-body { flex: 1; display: flex; flex-direction: column; min-height: 100vh; overflow: hidden; }
.admin-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; border-bottom: 1px solid var(--border);
  background: var(--bg); position: sticky; top: 0; z-index: 50; gap: 16px;
}
.atb-title { font-size: 20px; font-weight: 800; }
.atb-right { display: flex; align-items: center; gap: 14px; }
.atb-notif { position: relative; cursor: pointer; padding: 6px; }
.notif-dot { position: absolute; top: 4px; right: 4px; width: 8px; height: 8px; background: #ef4444; border-radius: 50%; border: 2px solid var(--bg); }
.atb-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: #000; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; cursor: pointer; flex-shrink: 0; }

/* ADMIN SECTIONS */
.admin-section { display: none; padding: 24px; flex-direction: column; gap: 24px; }
.admin-section.active { display: flex; }
@media (max-width: 600px) { .admin-section { padding: 16px; gap: 16px; } }

/* STAT CARDS */
.astat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
@media (min-width: 700px) { .astat-grid { grid-template-columns: repeat(4,1fr); } }
.astat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 18px; display: flex; flex-direction: column; gap: 6px; }
.astat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.astat-val { font-size: 32px; font-weight: 900; color: var(--gold); line-height: 1; }
.astat-trend { font-size: 12px; }
.astat-trend.up { color: var(--success); }
.astat-trend.link { color: var(--gold); text-decoration: underline; cursor: pointer; background: none; border: none; font-size: 12px; padding: 0; text-align: left; }

/* CARDS */
.acard { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.acard-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.acard-header h3 { font-size: 16px; font-weight: 700; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* TABLE */
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 500px; }
.admin-table th { background: var(--bg-card2); padding: 12px 16px; text-align: left; font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; border-bottom: 1px solid var(--border); }
.admin-table td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table td small { font-size: 12px; color: var(--text-muted); display: block; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(180,150,105,0.03); }
.aclient { display: flex; align-items: center; gap: 10px; }
.aclient-av { width: 36px; height: 36px; border-radius: 50%; background: var(--gold-dim); border: 1.5px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.aclient-av.sm { width: 30px; height: 30px; font-size: 10px; }
.aclient strong { display: block; font-size: 14px; }
.aclient span { font-size: 12px; color: var(--text-muted); }
.status-pill { border-radius: 50px; padding: 4px 12px; font-size: 12px; font-weight: 600; white-space: nowrap; display: inline-block; }
.status-pill.nouveau { background: rgba(180,150,105,0.15); color: var(--gold); }
.status-pill.en-cours { background: rgba(245,158,11,0.15); color: var(--warning); }
.status-pill.traite { background: rgba(34,197,94,0.15); color: var(--success); }
.status-pill.rdv { background: rgba(168,85,247,0.15); color: #c084fc; }
.rdv-count-badge { background: var(--gold); color: #000; border-radius: 50px; padding: 4px 12px; font-size: 13px; font-weight: 700; }

/* FILTERS */
.admin-filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.admin-search { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; color: var(--text); font-size: 13px; flex: 1; min-width: 180px; outline: none; }
.admin-search:focus { border-color: var(--gold); }
.admin-filter-sel { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; color: var(--text); font-size: 13px; width: auto; }

/* SETTINGS */
.settings-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .settings-grid { grid-template-columns: 1fr 1fr; } }
.settings-form { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .form-row-2 { grid-template-columns: 1fr; } }

/* MESSAGERIE */
.msg-layout { display: flex; height: calc(100vh - 80px); min-height: 400px; overflow: hidden; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.msg-list { width: 280px; flex-shrink: 0; border-right: 1px solid var(--border); display: flex; flex-direction: column; overflow-y: auto; }
@media (max-width: 700px) { .msg-list { width: 100%; } .msg-chat { display: none; } }
.msg-search-bar { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.msg-search-bar input { background: var(--bg-card2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 13px; width: 100%; color: var(--text); outline: none; }
.msg-thread { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background .15s; }
.msg-thread:hover, .msg-thread.active-thread { background: var(--gold-dim); }
.msg-thread-info { flex: 1; min-width: 0; }
.msg-thread-info strong { display: block; font-size: 14px; }
.msg-thread-info span { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.msg-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.msg-time { font-size: 11px; color: var(--text-muted); }
.msg-unread { background: var(--gold); color: #000; border-radius: 50%; width: 20px; height: 20px; font-size: 11px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.msg-chat { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.msg-chat-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.msg-chat-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.msg-bubble { max-width: 72%; padding: 12px 16px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.msg-bubble.client { background: var(--bg-card2); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg-bubble.pro { background: var(--gold); color: #000; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg-ts { font-size: 11px; opacity: 0.6; display: block; margin-top: 4px; text-align: right; }
.msg-input-row { display: flex; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--border); }
.msg-input { flex: 1; background: var(--bg-card2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; color: var(--text); outline: none; }
.msg-input:focus { border-color: var(--gold); }
.msg-send { padding: 12px 20px; font-size: 14px; border-radius: var(--radius-sm); }

/* ===== BOTTOM NAV ===== */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(8,8,8,0.98);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  display: flex; padding: 8px 0 14px; z-index: 100;
}
.bnav-btn { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 4px; transition: all .2s; }
.bnav-btn span { font-size: 22px; transition: transform .2s; }
.bnav-btn label { font-size: 10px; color: var(--text-muted); cursor: pointer; transition: color .2s; }
.bnav-btn.active span { transform: scale(1.15); }
.bnav-btn.active label { color: var(--gold); font-weight: 600; }

/* ===== FOOTER ===== */
.site-footer {
  padding: 20px 20px 90px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: #333;
  flex-wrap: wrap; gap: 8px;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
  .bottom-nav { display: none; }
  body { padding-bottom: 0; }
  .hero { flex-direction: row; align-items: center; min-height: 80vh; }
  .hero-left { flex: 1; }
  .hero-right { flex: 0 0 400px; }
  .whatsapp-float { bottom: 30px; }
  .site-footer { padding-bottom: 20px; }
}
@media (min-width: 1024px) {
  .view { max-width: 1440px; padding: 48px 80px 80px; }
  #view-home { max-width: 1440px; margin: 0 auto; padding: 0 80px 80px; }
  #view-home .how-section,
  #view-home .section-block,
  #view-home .stats-bar,
  #view-home .cta-final { max-width: 1280px; margin-left: auto; margin-right: auto; width: 100%; }
  .hero { min-height: 88vh; gap: 80px; padding: 72px 0 80px; max-width: 100%; }
  .hero-right { flex: 0 0 480px; }
  .hero h1 { font-size: clamp(48px, 4.5vw, 72px); }
  .hero-sub { font-size: 20px; }
  .section-title { font-size: 32px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .stats-bar { grid-template-columns: repeat(4, 1fr); }
  .stat strong { font-size: 42px; }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .topnav-inner { max-width: 1440px; padding: 10px 80px; }
  #view-services, #view-emplois, #view-evaluation, #view-suivi, #view-rdv, #view-contact { max-width: 960px; }
}
