/* ==========================================================================
   refonte-nettoyage.css — JnDrone v2.2
   Repositionnement nettoyage & démoussage comme prestation phare.
   Fichier additionnel chargé après styles.css — ne modifie aucune variable.
   ========================================================================== */

/* ----- CARROUSEL : lisibilité texte via fond localisé sur le bloc texte ----- */
.vb-overlay {
  background: linear-gradient(
    0deg,
    rgba(10, 10, 15, .82) 0%,
    rgba(10, 10, 15, .55) 70%,
    transparent 100%
  );
  padding-top: 60px;
}

/* ----- 0. HEADER COMPACT (style moderne, fin) ----- */
header {
  background: linear-gradient(180deg, rgba(10, 10, 15, .88), rgba(10, 10, 15, .65));
}
.nav {
  padding: 4px 0;
}
.brand {
  height: 44px;
}


/* ----- 1. LIEN PHARE : Variante B (dot orange + texte blanc) ----- */
.nav-links .nav-phare {
  color: var(--text);
  font-weight: 600;
}
.nav-links .nav-phare::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  margin-right: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(242, 140, 27, .4);
}

/* Le dot mobile reprend le même style */
.mobile-panel .nav-phare {
  color: var(--text);
  font-weight: 600;
  position: relative;
}
.mobile-panel .nav-phare::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  margin-right: 8px;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(242, 140, 27, .4);
}


/* ----- 2. DROPDOWN DESKTOP : "Nos autres prestations" ----- */
.nav-links .has-dropdown {
  position: relative;
}
.nav-links .has-dropdown > a {
  gap: 4px;
}
.nav-links .dropdown-chevron {
  width: 10px;
  height: 10px;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.nav-links .has-dropdown[aria-expanded="true"] .dropdown-chevron,
.nav-links .has-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

ul.dropdown-menu,
ul.dropdown-menu li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}
ul.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: rgba(16, 16, 22, .97) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--stroke-light) !important;
  border-radius: 14px;
  padding: 8px 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .4), 0 1px 3px rgba(0, 0, 0, .2);
  z-index: 100;
}

/* Invisible bridge to avoid hover gap */
.nav-links .has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 10px;
  display: none;
}

/* Ouverture au hover desktop — délai 200ms à la fermeture */
.nav-links .has-dropdown:hover::after,
.nav-links .has-dropdown:focus-within::after {
  display: block;
}
.nav-links .has-dropdown:hover ul.dropdown-menu,
.nav-links .has-dropdown:focus-within ul.dropdown-menu {
  display: block;
  animation: dropdown-in .18s cubic-bezier(.4, 0, .2, 1);
}

@keyframes dropdown-in {
  from { opacity: 0; transform: translateX(-50%) translateY(-4px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Override complet des styles nav-links a pour les liens du dropdown */
.nav-links .dropdown-menu a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px !important;
  color: var(--text-dim) !important;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 0 !important;
  position: static !important;
  transition: background .15s, color .15s;
  text-decoration: none;
  white-space: nowrap;
}
/* Écraser le underline orange hérité de .nav-links a::after */
.nav-links .dropdown-menu a::after {
  content: '›' !important;
  position: static !important;
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  transform: none !important;
  font-size: 16px;
  line-height: 1;
  color: var(--muted);
  margin-left: 14px;
  flex-shrink: 0;
  transition: color .15s;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
}
.nav-links .dropdown-menu a:hover,
.nav-links .dropdown-menu a:focus-visible {
  background: rgba(242, 140, 27, .08) !important;
  color: var(--orange) !important;
}
.nav-links .dropdown-menu a:hover::after {
  color: var(--orange);
  transform: none !important;
}
/* Séparateurs subtils entre items */
ul.dropdown-menu li + li {
  border-top: 1px solid var(--stroke);
}


/* ----- 3. ACCORDÉON MOBILE (details/summary natif) ----- */
.mobile-panel .mobile-dropdown {
  border: none;
  margin-top: 8px;
}
.mobile-panel .mobile-dropdown summary {
  display: flex;
  align-items: center;
  padding: 13px 16px;
  border-radius: var(--r);
  border: 1px solid rgba(37, 36, 51, .5);
  background: rgba(255, 255, 255, .03);
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  transition: all .2s;
  -webkit-tap-highlight-color: transparent;
}
.mobile-panel .mobile-dropdown summary::-webkit-details-marker {
  display: none;
}
.mobile-panel .mobile-dropdown summary::after {
  content: '';
  width: 10px;
  height: 10px;
  margin-left: auto;
  border-right: 2px solid var(--text-dim);
  border-bottom: 2px solid var(--text-dim);
  transform: rotate(45deg);
  transition: transform .2s;
  flex-shrink: 0;
}
.mobile-panel .mobile-dropdown[open] summary::after {
  transform: rotate(-135deg);
}
.mobile-panel .mobile-dropdown summary:hover,
.mobile-panel .mobile-dropdown summary:focus-visible {
  color: var(--text);
  border-color: rgba(242, 140, 27, .35);
  background: rgba(242, 140, 27, .06);
  text-decoration: none;
}

.mobile-panel .mobile-dropdown .mobile-dropdown-list {
  padding: 4px 0 0 16px;
}
.mobile-panel .mobile-dropdown .mobile-dropdown-list a {
  font-size: 14px;
  padding: 11px 14px;
  border-color: rgba(37, 36, 51, .3);
  background: rgba(255, 255, 255, .015);
}


/* ----- 4. TUILE NETTOYAGE ENRICHIE (section services index) ----- */
.card-phare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--stroke);
  border-radius: var(--r2);
  overflow: hidden;
  background: var(--card-solid);
  margin-bottom: 16px;
  transition: all .35s cubic-bezier(.25, .8, .25, 1);
}
.card-phare:hover {
  border-color: rgba(242, 140, 27, .4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(242, 140, 27, .1);
}

.card-phare-img {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}
.card-phare-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.25, .8, .25, 1);
}
.card-phare:hover .card-phare-img img {
  transform: scale(1.05);
}
.card-phare-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(19, 19, 28, .7));
  pointer-events: none;
}

.card-phare-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 32px;
  gap: 16px;
}
.card-phare-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.card-phare-body .card-phare-subtitle {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
}
.card-phare-body ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-phare-body ul li {
  color: var(--text-dim);
  font-size: 14px;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.card-phare-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  opacity: .6;
}

.card-phare-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 4px;
}
.card-phare-actions .cta {
  font-size: 13px;
  padding: 12px 22px;
}
.card-phare-actions .card-phare-pro {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: color .2s;
}
.card-phare-actions .card-phare-pro:hover {
  color: var(--orange);
}

@media (max-width: 768px) {
  .card-phare {
    grid-template-columns: 1fr;
  }
  .card-phare-img {
    min-height: 220px;
    max-height: 260px;
  }
  .card-phare-img::after {
    background: linear-gradient(180deg, transparent 50%, rgba(19, 19, 28, .6));
  }
  .card-phare-body {
    padding: 24px 20px;
  }
}


/* ----- 5. GRILLE 2×2 SERVICES SECONDAIRES ----- */
.cards-secondary-heading {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--text-dim);
  margin: 32px 0 20px;
}
.cards-secondary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
/* Alléger l'overlay sombre sur les cartes secondaires */
.cards-secondary .service-card-bg::after {
  background: linear-gradient(
    180deg,
    rgba(10, 10, 15, .15) 0%,
    rgba(10, 10, 15, .45) 50%,
    rgba(10, 10, 15, .75) 100%
  );
}
@media (max-width: 600px) {
  .cards-secondary {
    grid-template-columns: 1fr;
  }
}


/* ----- 6. ONGLETS PARTICULIER / PROFESSIONNEL ----- */
.tabs-bar {
  display: flex;
  gap: 0;
  margin: 0 auto 36px;
  padding: 0;
  background: transparent;
  border: none;
  width: fit-content;
  border-bottom: 2px solid rgba(255, 255, 255, .08);
}
.tab-btn {
  position: relative;
  padding: 12px 28px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .3px;
  cursor: pointer;
  transition: color .25s ease;
  white-space: nowrap;
}
.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background .25s ease;
}
.tab-btn:hover {
  color: var(--text);
}
.tab-btn.active,
.tab-btn.is-active {
  color: var(--orange);
  background: transparent;
}
.tab-btn.active::after,
.tab-btn.is-active::after {
  background: var(--orange);
  box-shadow: 0 1px 8px rgba(242, 140, 27, .3);
}
@media (max-width: 480px) {
  .tabs-bar {
    width: 100%;
  }
  .tab-btn {
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
    text-align: center;
  }
}


/* ----- 7. INTRO / HERO RECENTRÉ NETTOYAGE ----- */
.intro .accent-nettoyage {
  color: var(--orange);
}


/* ----- 8. BANDE ZONE D'INTERVENTION ----- */
.zone-band {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: var(--bg2);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  margin: 4px 0 8px;
  flex-wrap: wrap;
}

.zone-band-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.zone-band-depts {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
}

.zone-dept {
  font-size: 13px;
  color: var(--text);
}

.zone-dept strong {
  color: var(--orange);
  font-weight: 800;
}

.zone-sep {
  color: var(--stroke-light);
  font-size: 16px;
}

.zone-band-cta {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity .15s;
}

.zone-band-cta:hover {
  opacity: .75;
}

@media (max-width: 640px) {
  .zone-band {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .zone-sep {
    display: none;
  }
  .zone-band-depts {
    gap: 8px;
  }
}


/* ----- 9. CARTES PROFIL PARTICULIER / PRO / COLLECTIVITÉS ----- */
.profil-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  margin-bottom: 4px;
}

.profil-card {
  background: var(--bg2);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s;
}

.profil-card:hover {
  border-color: var(--stroke-light);
}

.profil-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.profil-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 10, 15, .8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--stroke-light);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text);
}

.profil-card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}

.profil-card-body h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  line-height: 1.25;
}

.profil-card-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profil-card-body ul li {
  font-size: 13px;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.profil-card-body ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 12px;
}

.profil-card-price {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}

.profil-card-price strong {
  color: inherit;
}

.profil-card-price span {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 4px;
}

.profil-card-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: auto;
}

.profil-card-secondary {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}

.profil-card-secondary:hover {
  color: var(--text);
}

@media (max-width: 720px) {
  .profil-cards {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .profil-card-img {
    height: 180px;
  }
  .profil-card + .profil-card {
    border-top: 2px solid var(--stroke);
  }
}


/* ----- 10. SÉPARATEUR "AUTRES EXPERTISES" ----- */
.autres-expertises-sep {
  padding-top: 0;
}
