/* ==================================================
   HOME.CSS — IMMIGRATION97 PREMIUM DARK 2026
   Scope strict : body.home uniquement
================================================== */

/* ========================= VARIABLES ========================= */
:root {
  --color-primary: #10b981;        /* Vert émeraude (logo) */
  --color-primary-light: #34d399;
  --color-secondary: #3b82f6;      /* Bleu (accent) */
  --color-accent: #f59e0b;         /* Orange (highlights) */
  --color-bg-dark: #070c16;        /* Fond principal */
  --color-bg-card: rgba(255,255,255,0.04);
  --color-text-primary: #ffffff;
  --color-text-secondary: rgba(255,255,255,0.85);
  --color-border: rgba(255,255,255,0.08);
}

/* ========================= GLOBAL DARK ========================= */
body.home {
  background: var(--color-bg-dark);
  color: var(--color-text-primary);
}

/* ========================= HERO ========================= */
body.home .hero {
  min-height: calc(100vh - 80px);
  padding: 6rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: radial-gradient(
    ellipse 80% 50% at 50% 0%,
    rgba(16, 185, 129, 0.12),
    transparent 70%
  );
  position: relative;
}

body.home .hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
  border-radius: 50%;
}

body.home .home-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-primary-light);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

body.home .hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  max-width: 900px;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.9) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.home .home-lead {
  max-width: 800px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
}

body.home .home-lead strong {
  color: var(--color-primary-light);
  font-weight: 600;
}

/* CTA BUTTONS */
body.home .home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

body.home .home-btn {
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

body.home .home-btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

body.home .home-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.5);
}

body.home .home-btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.02);
}

body.home .home-btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-primary);
}

/* TRUST BADGES */
body.home .home-trust {
  margin-top: 2rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

body.home .home-trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ========================= STATS (SOCIAL PROOF) ========================= */
body.home .home-stats {
  padding: 3rem 1.5rem;
  background: rgba(16, 185, 129, 0.03);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

body.home .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

body.home .stat-item__value {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

body.home .stat-item__label {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* ========================= SERVICES ========================= */
body.home .home-services {
  padding: 5rem 1.5rem;
}

body.home .section-header {
  max-width: 700px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

body.home .section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}

body.home .section-header p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

body.home .section-header strong {
  color: var(--color-primary-light);
  font-weight: 600;
}

body.home .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* SERVICE CARD */
body.home .service-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.home .service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.home .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border-color: var(--color-primary);
}

body.home .service-card:hover::before {
  opacity: 1;
}

body.home .service-card--featured {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.1) 0%,
    rgba(16, 185, 129, 0.02) 100%
  );
  border: 2px solid var(--color-primary);
}

body.home .service-card--featured::after {
  content: '⭐ Recommandé';
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-accent);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

body.home .service-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

body.home .service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
}

body.home .service-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

body.home .service-card p strong {
  color: var(--color-primary-light);
  font-weight: 600;
}

body.home .service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

body.home .tag {
  padding: 0.3rem 0.8rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-primary-light);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

body.home .service-card__link {
  color: var(--color-primary-light);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

body.home .service-card__link:hover {
  gap: 0.75rem;
}

body.home .service-card__link::after {
  content: '→';
  font-size: 1.2rem;
}

/* ========================= WHY US ========================= */
body.home .home-why {
  padding: 5rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
}

body.home .why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

body.home .why-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

body.home .why-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-primary);
  transform: translateY(-4px);
}

body.home .why-item__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

body.home .why-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
}

body.home .why-item p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

body.home .why-item p strong {
  color: var(--color-primary-light);
  font-weight: 600;
}

/* ========================= SEO CONTENT ========================= */
body.home .home-seo {
  padding: 5rem 1.5rem;
}

body.home .seo-content {
  max-width: 800px;
  margin: 0 auto 4rem;
}

body.home .seo-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

body.home .seo-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

body.home .seo-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

body.home .seo-content strong {
  color: var(--color-primary-light);
  font-weight: 600;
}

/* FAQ */
body.home .faq-section {
  max-width: 800px;
  margin: 0 auto;
}

body.home .faq-section h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 2.5rem;
  text-align: center;
}

body.home .faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

body.home .faq-item:hover {
  border-color: var(--color-primary);
}

body.home .faq-item summary {
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

body.home .faq-item summary:hover {
  background: rgba(16, 185, 129, 0.05);
}

body.home .faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

body.home .faq-item[open] summary::after {
  transform: rotate(45deg);
}

body.home .faq-item p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

body.home .faq-item strong {
  color: var(--color-primary-light);
  font-weight: 600;
}

/* ========================= FINAL CTA ========================= */
body.home .home-cta {
  padding: 5rem 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.15) 0%,
    rgba(59, 130, 246, 0.1) 100%
  );
  border-top: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

body.home .home-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(16, 185, 129, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

body.home .cta-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

body.home .cta-box h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

body.home .cta-box p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
}

body.home .cta-box strong {
  color: var(--color-primary-light);
  font-weight: 700;
}

body.home .cta-box__note {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ========================= RESPONSIVE ========================= */
@media (max-width: 768px) {
  body.home .hero {
    padding: 4rem 1.2rem 3rem;
    text-align: center;
  }

  body.home .home-badge,
  body.home .home-lead {
    margin-left: auto;
    margin-right: auto;
  }

  body.home .home-actions {
    flex-direction: column;
    align-items: center;
  }

  body.home .home-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  body.home .home-trust {
    justify-content: center;
    font-size: 0.8rem;
    gap: 1rem;
  }

  body.home .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  body.home .services-grid {
    grid-template-columns: 1fr;
  }

  body.home .why-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  body.home .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  body.home .stat-item__value {
    font-size: 2rem;
  }

  body.home .service-card--featured::after {
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
  }
}


/* ==================================================
   PATCH HOME HERO (compatibilité avec ton HTML)
   Objectif: appliquer le style premium à .home-hero
   Sans casser le reste
================================================== */

/* HERO = home-hero */
body.home .home-hero {
  min-height: calc(100vh - 80px);
  padding: 6rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: radial-gradient(
    ellipse 80% 50% at 50% 0%,
    rgba(16, 185, 129, 0.12),
    transparent 70%
  );
  position: relative;
}

body.home .home-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
  border-radius: 50%;
}

/* Badge */
body.home .home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-primary-light);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ✅ GROS TITRE + 2 COULEURS */
body.home .home-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  max-width: 980px;
  color: var(--color-text-primary);
  text-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

/* Le mot "immigration légale" déjà dans <span class="highlight"> */
body.home .home-hero__title .highlight {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}

/* Lead */
body.home .home-hero__lead {
  max-width: 820px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.85;
  color: var(--color-text-secondary);
  margin-bottom: 2.2rem;
}

body.home .home-hero__lead strong {
  color: var(--color-primary-light);
  font-weight: 700;
}

/* Actions */
body.home .home-hero .btn.btn--primary.btn--lg,
body.home .home-hero .btn.btn--outline.btn--lg {
  border-radius: 50px;
  font-weight: 700;
}

/* Trust row (tes items .trust-item) */
body.home .home-hero__trust {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

body.home .home-hero__trust .trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.9rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--color-border);
  border-radius: 999px;
}

/* Responsive */
@media (max-width: 768px) {
  body.home .home-hero {
    padding: 4rem 1.2rem 3rem;
    text-align: center;
  }

  body.home .home-hero__badge,
  body.home .home-hero__lead {
    margin-left: auto;
    margin-right: auto;
  }

  body.home .home-hero__trust {
    justify-content: center;
  }
}

/* ==================================================
   SPOTLIGHT ACTUALITÉS — Home (ultra visible)
================================================== */

body.home .home-news-spotlight {
  padding: 2.5rem 1.5rem 1.5rem;
}

body.home .home-news-spotlight .news-spotlight__card {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.12) 0%,
    rgba(59, 130, 246, 0.06) 45%,
    rgba(255, 255, 255, 0.03) 100%
  );
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,0.55);
}

body.home .home-news-spotlight .news-spotlight__card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(16,185,129,0.20) 0%, transparent 55%);
  filter: blur(10px);
  pointer-events: none;
}

body.home .home-news-spotlight .news-spotlight__card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0.95;
}

body.home .home-news-spotlight .news-spotlight__badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .9rem;
  border-radius: 999px;
  background: rgba(16,185,129,0.14);
  border: 1px solid rgba(16,185,129,0.25);
  color: rgba(255,255,255,0.92);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  width: fit-content;
  position: relative;
  z-index: 1;
}

body.home .home-news-spotlight .ns-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 6px rgba(245,158,11,0.18);
}

body.home .home-news-spotlight .news-spotlight__title {
  margin: 1rem 0 .75rem;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 900;
  line-height: 1.15;
  position: relative;
  z-index: 1;
}

body.home .home-news-spotlight .news-spotlight__title .ns-accent {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.home .home-news-spotlight .news-spotlight__text {
  color: rgba(255,255,255,0.84);
  line-height: 1.8;
  max-width: 820px;
  position: relative;
  z-index: 1;
  margin-bottom: 1.2rem;
}

body.home .home-news-spotlight .news-spotlight__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

body.home .home-news-spotlight .news-spotlight__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  position: relative;
  z-index: 1;
}

body.home .home-news-spotlight .ns-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
  color: rgba(255,255,255,0.86);
  font-size: .8rem;
  font-weight: 700;
}

body.home .home-news-spotlight .news-spotlight__mini {
  position: relative;
  z-index: 1;
  padding: 1.2rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
}

body.home .home-news-spotlight .news-spotlight__miniTitle {
  font-weight: 900;
  letter-spacing: .02em;
  margin-bottom: .8rem;
}

body.home .home-news-spotlight .ns-link {
  display: block;
  padding: .75rem .85rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-weight: 700;
  margin-bottom: .6rem;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

body.home .home-news-spotlight .ns-link:hover {
  transform: translateY(-2px);
  background: rgba(16,185,129,0.10);
  border-color: rgba(16,185,129,0.35);
}

body.home .home-news-spotlight .news-spotlight__miniHint {
  margin-top: .9rem;
  color: rgba(255,255,255,0.70);
  font-size: .85rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
  body.home .home-news-spotlight .news-spotlight__card {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
}
/* ==================================================
   TOP WEEK LIST (Spotlight Home)
================================================== */
body.home .ns-toplist{
  display: grid;
  gap: .65rem;
  margin-top: .5rem;
}

body.home .ns-topitem{
  display: block;
  padding: .75rem .85rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

body.home .ns-topitem:hover{
  transform: translateY(-2px);
  background: rgba(16,185,129,0.10);
  border-color: rgba(16,185,129,0.35);
}

body.home .ns-topitem__title{
  font-weight: 900;
  color: rgba(255,255,255,0.94);
  line-height: 1.25;
  display: flex;
  gap: .5rem;
  align-items: flex-start;
}

body.home .ns-star{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 .55rem;
  border-radius: 999px;
  background: rgba(245,158,11,0.18);
  border: 1px solid rgba(245,158,11,0.25);
  color: rgba(255,255,255,0.95);
  font-size: .78rem;
  line-height: 1;
  flex-shrink: 0;
}

body.home .ns-topitem__meta{
  margin-top: .35rem;
  color: rgba(255,255,255,0.72);
  font-size: .82rem;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

body.home .ns-dotsep{
  opacity: .6;
}

body.home .ns-topmore{
  display: inline-flex;
  margin-top: .8rem;
  font-weight: 800;
  text-decoration: none;
  color: rgba(255,255,255,0.92);
  gap: .5rem;
  align-items: center;
}

body.home .ns-topmore:hover{
  color: var(--color-primary-light);
}

/* ==================================================
   ✅ PATCH FINAL — HOME NEWS SPOTLIGHT + TOP SEMAINE
   (à coller à la fin de home.css)
================================================== */

/* Sécurité: empêcher les pseudo éléments de cacher le contenu */
body.home .home-news-spotlight .news-spotlight__card,
body.home .home-news-spotlight .news-spotlight__left,
body.home .home-news-spotlight .news-spotlight__right {
  position: relative;
  z-index: 1;
}

/* Harmoniser la colonne droite */
body.home .home-news-spotlight .news-spotlight__right {
  display: flex;
  align-items: stretch;
}

/* Mini card plus stable */
body.home .home-news-spotlight .news-spotlight__mini {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

/* Titre mini */
body.home .home-news-spotlight .news-spotlight__miniTitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-weight: 900;
  letter-spacing: .02em;
}

/* ✅ TOP WEEK LIST (amélioré) */
body.home .ns-toplist{
  display: grid;
  gap: .65rem;
  margin-top: .3rem;
  padding-right: 2px;

  /* si tu as beaucoup d'articles */
  max-height: 360px;
  overflow: auto;
}

/* Scroll premium */
body.home .ns-toplist::-webkit-scrollbar {
  width: 8px;
}
body.home .ns-toplist::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
}
body.home .ns-toplist::-webkit-scrollbar-thumb:hover {
  background: rgba(16,185,129,0.28);
}

/* Item */
body.home .ns-topitem{
  display: block;
  padding: .85rem .95rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body.home .ns-topitem:hover{
  transform: translateY(-2px);
  background: rgba(16,185,129,0.10);
  border-color: rgba(16,185,129,0.35);
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
}

/* Titre */
body.home .ns-topitem__title{
  font-weight: 900;
  color: rgba(255,255,255,0.94);
  line-height: 1.25;
  display: flex;
  gap: .55rem;
  align-items: flex-start;
}

/* Badge "important" */
body.home .ns-star{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 .55rem;
  border-radius: 999px;
  background: rgba(245,158,11,0.18);
  border: 1px solid rgba(245,158,11,0.25);
  color: rgba(255,255,255,0.95);
  font-size: .78rem;
  line-height: 1;
  flex-shrink: 0;
}

/* Meta */
body.home .ns-topitem__meta{
  margin-top: .38rem;
  color: rgba(255,255,255,0.72);
  font-size: .82rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

body.home .ns-dotsep{
  opacity: .6;
}

/* Lien "plus" */
body.home .ns-topmore{
  display: inline-flex;
  margin-top: .9rem;
  font-weight: 900;
  text-decoration: none;
  color: rgba(255,255,255,0.92);
  gap: .5rem;
  align-items: center;
  padding: .5rem .1rem;
}

body.home .ns-topmore:hover{
  color: var(--color-primary-light);
}

/* ✅ HERO: sécuriser le highlight 2 couleurs */
body.home .home-hero__title .highlight{
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Responsive: top semaine prend toute la largeur */
@media (max-width: 900px) {
  body.home .ns-toplist{
    max-height: 280px;
  }
}

body.home .app-main.home .btn.btn--lg { /* base premium */
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 900;
  letter-spacing: 0.01em;
  transition: transform .22s cubic-bezier(.2,.8,.2,1),
              box-shadow .22s cubic-bezier(.2,.8,.2,1),
              background .22s cubic-bezier(.2,.8,.2,1),
              border-color .22s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

body.home .app-main.home .btn.btn--primary.btn--lg {
  background: linear-gradient(135deg, rgba(16,185,129,1) 0%, rgba(5,150,105,1) 100%);
  color: #fff;
  border: 1px solid rgba(16,185,129,0.38);
  box-shadow: 0 16px 44px rgba(16,185,129,0.32);
}

body.home .app-main.home .btn.btn--primary.btn--lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 62px rgba(16,185,129,0.44);
}

body.home .app-main.home .btn.btn--outline.btn--lg {
  background: rgba(255,255,255,0.02);
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 10px 26px rgba(0,0,0,0.25);
}

body.home .app-main.home .btn.btn--outline.btn--lg:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(16,185,129,0.35);
  box-shadow: 0 18px 44px rgba(0,0,0,0.35);
}

/* focus clavier (UX premium / accessibilité) */
body.home .app-main.home .btn.btn--lg:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(16,185,129,0.25), 0 18px 55px rgba(0,0,0,0.35);
}

/* mobile: boutons full width */
@media (max-width: 640px) {
  body.home .app-main.home .btn.btn--lg {
    width: 100%;
    justify-content: center;
  }
}

body.home .service-card__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}

/* ==================================================
   ✅ ULTRA PREMIUM BUTTONS (HOME HERO ONLY)
   Objectif: reproduire le style pill de ta capture
   Sans casser les autres boutons du site
   -> à COLLER TOUT EN BAS de home.css
================================================== */

body.home .home-hero .home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Base (2 boutons uniquement, dans le hero) */
body.home .home-hero .home-actions .btn.btn--lg {
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;

  transform: translateZ(0);
  transition:
    transform .22s cubic-bezier(.2,.8,.2,1),
    box-shadow .22s cubic-bezier(.2,.8,.2,1),
    background .22s cubic-bezier(.2,.8,.2,1),
    border-color .22s cubic-bezier(.2,.8,.2,1),
    color .22s cubic-bezier(.2,.8,.2,1);

  will-change: transform;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* PRIMARY (vert premium) */
body.home .home-hero .home-actions .btn.btn--primary.btn--lg {
  background: linear-gradient(135deg, rgba(16,185,129,1) 0%, rgba(5,150,105,1) 100%);
  color: #fff;
  border: 1px solid rgba(16,185,129,0.42);
  box-shadow:
    0 18px 46px rgba(16,185,129,0.32),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

body.home .home-hero .home-actions .btn.btn--primary.btn--lg:hover {
  transform: translateY(-2px);
  box-shadow:
    0 26px 70px rgba(16,185,129,0.42),
    inset 0 1px 0 rgba(255,255,255,0.20);
}

body.home .home-hero .home-actions .btn.btn--primary.btn--lg:active {
  transform: translateY(0px);
  box-shadow:
    0 16px 44px rgba(16,185,129,0.28),
    inset 0 1px 0 rgba(255,255,255,0.14);
}

/* OUTLINE (dark premium) */
body.home .home-hero .home-actions .btn.btn--outline.btn--lg {
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow:
    0 12px 30px rgba(0,0,0,0.30),
    inset 0 1px 0 rgba(255,255,255,0.10);
}

body.home .home-hero .home-actions .btn.btn--outline.btn--lg:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(16,185,129,0.34);
  box-shadow:
    0 18px 46px rgba(0,0,0,0.38),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

body.home .home-hero .home-actions .btn.btn--outline.btn--lg:active {
  transform: translateY(0px);
}

/* Focus clavier (accessibilité premium) */
body.home .home-hero .home-actions .btn.btn--lg:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(16,185,129,0.25),
    0 18px 55px rgba(0,0,0,0.35);
}

/* Mobile: full width comme ta capture */
@media (max-width: 640px) {
  body.home .home-hero .home-actions {
    flex-direction: column;
    align-items: stretch;
  }
  body.home .home-hero .home-actions .btn.btn--lg {
    width: 100%;
  }
}
