/* --- RESET & BASE --- */
/* * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
 */
:root {
  --secondary: #f8fafc;
  --white: #ffffff;
  --slate-800: #1e293b;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --yellow: #facc15;
  --transition: all 0.3s ease;
}

/* body {
  font-family: 'Inter', sans-serif;
  color: var(--slate-800);
  line-height: 1.5;
  background-color: var(--white);
} */

/* h1 {
  margin-block: 0.67em !important;
  font-size: 1.8em !important;
} */

.container,
.ets-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- SUPPRESSION DES POINTS DE LISTE --- */
ul,
li,
.ets-icon-grid,
.ets-icon-item {
  list-style: none !important;
  list-style-type: none !important;
  padding-left: 0;
}

/* --- HEADER --- */
.main-header {
  background: var(--primary-theme-color-opacity06);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
}

.logo-box {
  width: 40px;
  height: 40px;
  border: 2px solid white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text small {
  font-weight: 400;
  opacity: 0.8;
  font-size: 0.75rem;
}

.nav-desktop {
  display: none;
  gap: 2rem;
  align-items: center;
}

header p {
  color: white;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
  .card-body {
    padding: 2rem !important;
  }
}

/* --- BOUTONS --- */
.btn-secondary {
  background: var(--white);
  color: var(--primary-theme-color-opacity06);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition: var(--transition);
}

.btn-primary-large {
  background: var(--white);
  color: var(--primary-theme-color-opacity06);
  padding: 1rem 2.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.125rem;
  display: inline-block;
  transition: var(--transition);
  margin-top: 2rem;
}

.btn-dark-round {
  background: var(--primary-theme-color-opacity06);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-dark-round:hover {
  transform: scale(1.05);
}

/* --- HERO --- */
.hero {
  position: relative;
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgb(29 75 142 / 80%);
}

.hero-inner {
  position: relative;
  z-index: 5;
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  margin-bottom: 1.5rem;
}

/* --- SECTIONS --- */
.py-large {
  padding: 3rem 0;
}
.bg-light {
  background: var(--secondary);
}
.text-center {
  text-align: center;
}

.section-intro {
  padding: 0rem 1.5rem;
  text-align: center;
  max-width: 800px;
  margin: 2rem auto 0;
}

.section-intro h2,
.ets-main-title {
  color: var(--primary-theme-color-opacity06);
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.text-muted {
  color: var(--primary-theme-color-opacity06);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

/* #faq-pro-title {
  padding: ;
} */

/* --- STATS --- */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .border-x {
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
  }
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-theme-color-opacity06);
}

.stat-label {
  text-transform: uppercase;
  color: var(--slate-500);
  font-size: 0.875rem;
}

.rating-stars {
  color: var(--yellow);
}

/* --- SERVICES (ICONES) --- */
.ets-service-section {
  padding: 4rem 0;
  text-align: center;
}

.ets-icon-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
}

.ets-icon-item {
  width: 120px;
  text-align: center;
}

.ets-service-icon-box {
  width: 70px;
  height: 70px;
  background: #f1f5f9;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: var(--transition);
}

.ets-service-icon-box svg {
  fill: var(--primary-theme-color-opacity06);
}

.ets-service-link:hover .ets-service-icon-box {
  background: var(--primary-theme-color-opacity06);
}

.ets-service-link:hover .ets-service-icon-box svg {
  fill: var(--white);
}

.ets-service-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-theme-color-opacity06);
}

/* --- CARDS --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card-entreprise {
  position: relative;
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.card-entreprise:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.card-entreprise img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: brightness(0.95) contrast(1.1);
}

/* .card-entreprise::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 220px;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.08) 50%);
  background-size: 100% 3px;
  pointer-events: none;
  z-index: 2;
} */

/* --- FAQ (RÉPARÉ) --- */
.max-w-small {
  max-width: 768px;
  margin: 0 auto;
}

.faq-list {
  margin-top: 2rem;
}

details {
  border-bottom: 1px solid #e2e8f0;
  padding: 1.25rem 0;
}

summary {
  list-style: none !important; /* Cache la flèche par défaut de HTML5 */
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  cursor: pointer;
  color: var(--slate-800);
}

summary::-webkit-details-marker {
  display: none; /* Cache la flèche sur Safari */
}

.details-content {
  margin-top: 1rem;
  color: var(--slate-500);
  line-height: 1.6;
}

/* --- FOOTER --- */
.main-footer {
  background: var(--primary-theme-color-opacity06);
  color: #cbd5e1;
  padding: 5rem 0 2rem;
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.75rem;
}

.hidden-toggle {
  display: none;
}
.nav-mobile {
  display: none;
  background: var(--primary-theme-color-opacity06);
  padding: 1rem 0;
}
#mobile-toggle:checked ~ .nav-mobile {
  display: block;
}

/* --- SECTION ZONE INTERVENTION PRO --- */
.intervention-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem; /* Espace réduit sur mobile */
}

/* Version Bureau */
@media (min-width: 992px) {
  .intervention-split {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
  }
}

.intervention-text {
  text-align: left;
}

/* Chips (Villes) - Ajustement Mobile */
.metropoles-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem; /* Plus serré sur mobile */
  margin-top: 1.5rem;
}

.metropoles-chips span {
  background: var(--white);
  color: var(--slate-500);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid #e2e8f0;
  white-space: nowrap; /* Évite que le nom d'une ville se coupe en deux */
}

/* Stats - Correction Mobile */
.intervention-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur mobile */
  gap: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #e2e8f0; /* Ligne horizontale sur mobile */
}

.stat-item-simple {
  display: flex;
  flex-direction: column;
}

.card-icon {
  background-color: #eff6ff;
  width: 40px;
  height: 40px;
}

/* Version Bureau pour les Stats */
@media (min-width: 992px) {
  .intervention-stats {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    border-top: none;
    border-left: 2px solid #e2e8f0; /* Ligne verticale sur PC */
    padding-top: 0;
    padding-left: 3rem;
  }
}

.stat-val {
  font-size: 1.8rem; /* Un peu plus petit sur mobile pour éviter les chevauchements */
  font-weight: 800;
  color: var(--primary-theme-color-opacity06);
  line-height: 1;
}

@media (min-width: 992px) {
  .stat-val {
    font-size: 2.5rem;
  }
}

.stat-desc {
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}
