/* ============================================
   COMPOSANTS RÉUTILISABLES - Sakina DZ
   Modifier ici pour changer TOUT le design
============================================ */

/* Variables CSS (ton design system) */
:root {
  --primary: #1e88e5;
  --accent: #43a047;
  --bg: #f6f8fb;
  --card: #ffffff;
  --txt: #1f2b3a;
  --muted: #6b7785;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(0,0,0,.15);
  --dore-clair: #D4AF37;
  --vert-sage: #9CAF88;
  --charcoal: #2C2C2C;
  --beige-sable: #1e3a8a;
  --blanc-casse: #3b82f6;
  --warm-gray: #6B6B6B;
}

/* Base */
.hero-bg { background: linear-gradient(135deg, #F5F1E8 0%, #FEFCF7 100%); }
.text-gradient { background: linear-gradient(135deg, #D4AF37 0%, #9CAF88 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.card-hover { transition: all .3s ease; }
.card-hover:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,.1); }
.btn-glow { transition: all .3s ease; }
.btn-glow:hover { box-shadow: 0 0 20px rgba(212,175,55,.4); }

/* Charts */
.chart-container { width: 100%; height: 320px; }
#market-chart, #success-chart { width: 100%; height: 100%; }

/* Timeline */
.timeline-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.timeline-item { flex: 1 1 220px; background: var(--card); border-radius: var(--radius); padding: 1.5rem; text-align: center; box-shadow: var(--shadow); }
.timeline-number { width: 44px; height: 44px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto .8rem; font-weight: 700; }
.timeline-content h3 { font-size: 1rem; margin-bottom: .4rem; }
.timeline-content p { font-size: .8rem; color: var(--muted); }

/* Resources */
.resource-icon { box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.resource-card { transition: .3s; }
.resource-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.12); }

/* FAQ */
.faq-q { position: relative; padding-right: 3.5rem; }
.faq-q > svg { position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); transition: transform .3s; pointer-events: none; }
.faq-item.active .faq-q > svg { transform: translateY(-50%) rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; padding: 0 !important; line-height: 0; transition: max-height .35s ease, padding .35s ease, line-height .35s ease; }
.faq-item.active .faq-a { max-height: 250px; line-height: 1.6; padding: 0 1.25rem 1.25rem !important; }

/* ===== installtion ===== *//* ============================================ */
/* STYLES POUR INSTALLATION.HTML */
/* ============================================ */
/* ===== ANIMATION MODAL ===== */
 
.animate-modal-in {
  animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== ÉTOILES DE NOTATION ===== */
.stars-container {
  display: flex;
  gap: 2px;
}

.star {
  font-size: 1.25rem;
  color: #e5e7eb; /* gris clair par défaut */
  transition: color 0.2s;
}

.star.filled {
  color: #fbbf24; /* jaune doré */
}

.star.half::before {
  content: '\f005';
  position: absolute;
  width: 50%;
  overflow: hidden;
  color: #fbbf24;
}

/* ===== BADGES COMMODITÉS ===== */
.amenity-tag {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(156, 175, 136, 0.1));
  color: var(--charcoal);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: transform 0.2s;
}

.amenity-tag:hover {
  transform: translateY(-2px);
}

/* ===== RESPONSIVE MODAL ===== */
@media (max-width: 640px) {
  .sakina-modal {
    max-height: 90vh;
    margin: 1rem;
  }
  
  .modal-header {
    padding: 1.25rem;
  }
  
  #sakinamodal-title {
    font-size: 1.5rem;
  }
}
@media (max-width: 768px) {
  .sakina-modal {
    width: 90%;
    max-width: none;
    margin: 20px;
  }

  .modal-header {
    padding: 1rem;
  }

  #sakinamodal-title {
    font-size: 1.25rem;
  }

  .modal-body {
    padding: 1rem;
  }
}
@media (max-width: 640px) {
  .prices-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem;
  }

  .price-card {
    padding: 0.5rem;
  }

  .price-card .text-2xl {
    font-size: 1.1rem;
  }
   .price-col {
    font-size: .75rem;
    white-space: nowrap;
  }/* mobile : on compresse les icônes et on masque les labels */
}
 
@media (max-width: 640px) {
  .quartier-item .icons-wrap {
    gap: .25rem;
  }
  .quartier-item .icons-wrap span {
    width: auto;          /* on annule le w-12 */
    font-size: .75rem;
  }
  .quartier-item .icons-wrap .label {
    display: none;        /* on cache le texte */
  }
  .price-col {
    font-size: 1rem;
     width: 5rem;
    white-space: nowrap;
  }
}
@media (max-width: 360px) {
  .icons-wrap span {
    display: none;
  }
  .icons-wrap[data-moy]::after {
    content: "⭐ " attr(data-moy);
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: .75rem;
    font-weight: 600;
    background: #f3f4f6;
    border-radius: .5rem;
    padding: .15rem .4rem;
  }
}
@media (max-width: 510px) {
  .icons-wrap span:not(.moyenne) { display: none; }   /* cache les 5 icônes */
  .icons-wrap .moyenne {
    display: inline-flex !important;                 /* affiche la pastille */
    align-items: center;
    gap: .25rem;
    font-size: .75rem;
    font-weight: 600;
    background: #f3f4f6;
    border-radius: .5rem;
    padding: .15rem .4rem;
  }
  .price-col{display: none;}
}
/* Variables */
:root {
  --dore-clair: #D4AF37;
  --vert-sage: #9CAF88;
  --charcoal: #2C2C2C;
  --beige-sable: #F5F1E8;
  --blanc-casse: #FEFCF7;
  --warm-gray: #6B6B6B;
  --primary: #1e88e5;
  --accent: #43a047;
  --txt: #1f2b3a;
  --muted: #6b7785;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(0,0,0,.15);
}

/* Base */
.hero-bg { background: linear-gradient(135deg, #F5F1E8 0%, #FEFCF7 100%); }
.text-gradient { background: linear-gradient(135deg, #D4AF37 0%, #9CAF88 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.card-hover { transition: all .3s ease; }
.card-hover:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,.1); }
.btn-glow { transition: all .3s ease; }
.btn-glow:hover { box-shadow: 0 0 20px rgba(212,175,55,.4); }
.step-number { background: linear-gradient(135deg, #D4AF37 0%, #9CAF88 100%); }

/* Carte */
.map-wrapper { height: 320px; }
#map { width: 100%; height: 100%; z-index: 1; }
#dezoom-btn { cursor: pointer; }

/* Simulateur */
.slik-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: #ddd; outline: none; }
.slik-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--dore-clair); cursor: pointer; }
.slik-slider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--dore-clair); cursor: pointer; border: none; }

/* Liste quartiers */
.quartier-item { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; cursor: pointer; transition: all .12s; white-space: nowrap; }
.quartier-item:hover { background: rgba(30, 136, 229, .04); transform: translateY(-2px); }
.quartier-item.active { background: linear-gradient(90deg, rgba(67, 160, 71, .08), rgba(30, 136, 229, .03)); }
.quartier-dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }
.quartier-name { font-weight: 600; color: var(--txt); min-width: 8rem; }
.price-col {  width: 7.5rem; /* Largeur fixe pour la colonne des prix */
  text-align: right; /* Aligner le texte à droite */
  font-variant-numeric: tabular-nums; /* Assure une largeur fixe pour les chiffres */
  flex-shrink: 0; /* Empêcher la colonne de se rétrécir */
  margin-left: auto; /* Pousse la colonne des prix à droite */
}
/* Pagination */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.page-btn { padding: 6px 12px; border-radius: 8px; background: #fff; border: 1px solid rgba(0,0,0,.04); cursor: pointer; font-weight: 600; color: var(--primary); }
.page-btn:disabled { opacity: .45; cursor: not-allowed; }
.page-btn.current { background: linear-gradient(90deg, var(--primary), var(--accent)); color: #fff; }

/* Suggestions */
.suggestions .suggestion-item { padding: 8px 10px; cursor: pointer; border-radius: 6px; }
.suggestions .suggestion-item:hover { background: rgba(212, 175, 55, .08); }

/* Stats */
.stat-card { display: flex; align-items: center; transition: all .18s ease; will-change: transform; }
.stat-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15, 30, 60, .10); }
.stat-icon { width: 64px; height: 64px; min-width: 64px; border-radius: 12px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.stat-value { font-size: 1.65rem; font-weight: 800; color: #0f2340; letter-spacing: 0.6px; line-height: 1; }
.stat-label { font-size: 0.95rem; color: #4f5b6a; }
.suffix { font-weight: 700; margin-left: 6px; color: #0f2340; font-size: 0.85rem; opacity: 0.95; }

/* FAQ */
.faq-q { position: relative; padding-right: 3.5rem; }
.faq-q > i { position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); transition: transform .3s; pointer-events: none; }
.faq-item.active .faq-q > i { transform: translateY(-50%) rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; padding: 0 !important; line-height: 0; transition: max-height .35s ease, padding .35s ease, line-height .35s ease; }
.faq-item.active .faq-a { max-height: 250px; line-height: 1.6; padding: 0 1.25rem 1.25rem !important; }

/* Modal */
#sakinamodal-backdrop { background: rgba(0,0,0,.5); backdrop-filter: blur(4px); }
.sakina-modal { max-height: 90vh; overflow-y: auto; }
#sakinamodal-close { cursor: pointer; }

/* WhatsApp float */
.whatsapp-float { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* Checklist */
.checklist { list-style: none; padding: 0; }
.checklist li { display: flex; align-items: center; gap: 8px; }
.checklist li:before { content: "✓"; color: var(--dore-clair); font-weight: bold; }

/* Responsive */
@media (max-width: 979px) { #map { min-width: 90%; margin: auto; } }
@media (max-width: 900px) { .stat-value { font-size: 1.35rem; } .stat-icon { width: 54px; height: 54px; min-width: 54px; } }
@media (max-width: 520px) { .stat-card { flex-direction: column; text-align: center; } .stat-icon { width: 48px; height: 48px; min-width: 48px; } .stat-value { font-size: 1.1rem; } }

/* conciergerie */

/* ============================================
   VARIABLES SAKINA DZ
   ============================================ */
:root {
  --color-dore-clair: #D4AF37;
  --color-vert-sage: #9CAF88;
  --color-beige-sable: #F5F1E8;
  --color-blanc-casse: #FEFCF7;
  --color-charcoal: #2C2C2C;
  --color-warm-gray: #6B7280;
  --color-vert-sage-light: rgba(156, 175, 136, 0.1);
  --color-dore-clair-light: rgba(212, 175, 55, 0.1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-blanc-casse);
  color: var(--color-charcoal);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============================================
   TYPOGRAPHY & UTILITIES
   ============================================ */
.font-display { font-family: 'Playfair Display', serif; }
.text-gradient {
  background: linear-gradient(135deg, var(--color-dore-clair) 0%, var(--color-vert-sage) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bg-blanc-casse { background-color: var(--color-blanc-casse); }
.bg-beige-sable { background-color: var(--color-beige-sable); }
.bg-charcoal { background-color: var(--color-charcoal); }
.text-charcoal { color: var(--color-charcoal); }
.text-warm-gray { color: var(--color-warm-gray); }
.text-dore-clair { color: var(--color-dore-clair); }
.text-vert-sage { color: var(--color-vert-sage); }

/* ============================================
   COMPONENTS
   ============================================ */
.btn-glow {
  transition: all 0.3s ease;
}
.btn-glow:hover {
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}
.card-hover {
  transition: all 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.form-input {
  transition: all 0.3s ease;
}
.form-input:focus {
  border-color: var(--color-dore-clair);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}
.contact-icon, .service-icon {
  background: linear-gradient(135deg, var(--color-dore-clair) 0%, var(--color-vert-sage) 100%);
}

/* ============================================
   HERO & NAVBAR
   ============================================ */
.hero-bg {
  background: linear-gradient(135deg, var(--color-beige-sable) 0%, var(--color-blanc-casse) 100%);
}
nav.fixed {
  backdrop-filter: blur(4px);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-item.active .faq-a {
  max-height: 250px;
  padding: 0 1.25rem 1.25rem 1.25rem !important;
  line-height: 1.6;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 0;
  transition: max-height 0.35s ease, padding 0.35s ease, line-height 0.35s ease;
}
.faq-q svg {
  transition: transform 0.3s;
}
.faq-item.active .faq-q svg {
  transform: rotate(180deg);
}

/* ============================================
   ANIMATIONS & EFFECTS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
}

/* ============================================
   WHATSAPP BUTTON & MOBILE MENU
   ============================================ */
.whatsapp-fixed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  padding: 16px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 50;
  transition: transform 0.2s;
}
.whatsapp-fixed:hover {
  transform: scale(1.1);
}
.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: var(--color-blanc-casse);
  z-index: 40;
  display: none;
}
.mobile-menu.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: #333;
  padding: 0.5rem 0;
}

/* Lien actif */
.nav-link.active {
  color: #f0c040; /* couleur du texte actif */
  pointer-events: none; /* désactive le clic */
}

/* Barre en dessous du lien actif */
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #f0c040; /* couleur barre */
  border-radius: 2px;
}

/* ===== INLINE EXTRACT FROM index.html ===== */
.bg-blanc-casse { background-color:#FEFCF7; }
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',sans-serif;background:#FEFCF7;color:#2C2C2C;line-height:1.6}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}

/* CSS FLECHES & CARTES    */
   /* 🔒 Force toutes les cartes à la même hauteur */
.splide__slide > div {
  height: 100%; /* utilise toute la hauteur disponible */
  min-height: 300px; /* ✅ ajuste cette valeur selon ton design */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
  /* Flèches visibles et bien placées */
  .splide__arrows {
display: none; /* cacher les flèches par défaut */
  }
 
  

  /* Cartes identiques en taille */
  .splide__slide > div {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
 .splide {
  visibility: visible !important;
}

/* ============================================
   FORCE NOUVEAU GRADIENT HERO (priorité max)
   ============================================ */

 



/* 
.bg-blanc-casse{


  background-color: #4B4D38;
 
}
.bg-blanc-nav{


  background-color: #4b4d38b0;
 
}

.bg-beige-sable{
background-color: #FEFBF6;
} */

 