/* SERVICES VILLES TEXT 2 - TYPOGRAPHIE ASYMETRIQUE */

.services-villes-text-2 {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 8rem) 5%;
  background: var(--white);
  color: var(--black);
  animation: svt2FadeIn 0.8s ease both;
}

/* Forme géométrique décorative qui tourne lentement */
.services-villes-text-2__deco {
  position: absolute;
  top: -8vw;
  right: -8vw;
  width: clamp(180px, 28vw, 420px);
  height: clamp(180px, 28vw, 420px);
  pointer-events: none;
  border: 2px solid color-mix(in srgb, var(--secondary) 22%, transparent);
  border-radius: 32% 68% 60% 40% / 40% 42% 58% 60%;
  animation: svt2Spin 40s linear infinite;
  z-index: 0;
}

.services-villes-text-2__inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

/* ============ TITRE SURDIMENSIONNÉ ASYMÉTRIQUE ============ */
.services-villes-text-2__head {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.services-villes-text-2__title {
  position: relative;
  display: inline-block;
  margin-left: -0.03em;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--primary);
  text-transform: uppercase;
}

/* Soulignement gradient animé sous le titre */
.services-villes-text-2__underline {
  display: block;
  width: clamp(120px, 22vw, 320px);
  height: 10px;
  margin-top: 1.2rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--secondary),
    color-mix(in srgb, var(--secondary) 40%, var(--white)),
    var(--primary)
  );
  background-size: 300% 100%;
  animation: svt2SlideUnderline 4s linear infinite;
}

/* ============ INTRO : BLOC BORDURE GAUCHE ÉPAISSE ============ */
.services-villes-text-2__intro {
  max-width: 62ch;
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  padding: 1.4rem 1.8rem;
  border-left: 6px solid var(--primary);
  background: color-mix(in srgb, var(--secondary) 8%, transparent);
  font-family: var(--font-modern);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: var(--gray-dark);
}

/* ============ PARAGRAPHES : 2 COLONNES DESKTOP ============ */
.services-villes-text-2__body {
  column-count: 2;
  column-gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.services-villes-text-2__paragraph {
  margin: 0 0 1.4rem;
  break-inside: avoid;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-dark);
}

/* ============ POINTS : GRAND NOMBRE + PILLS ============ */
.services-villes-text-2__points-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-top: clamp(1.5rem, 3vw, 3rem);
  border-top: 1px solid var(--gray-light);
}

/* Info chiffrée surdimensionnée */
.services-villes-text-2__count {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 0.85;
}

.services-villes-text-2__count-number {
  font-family: var(--font-numeric);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 800;
  color: var(--primary);
  background: linear-gradient(
    180deg,
    var(--primary),
    color-mix(in srgb, var(--primary) 55%, var(--secondary))
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.services-villes-text-2__count-label {
  margin-top: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--secondary);
}

/* Pills */
.services-villes-text-2__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-villes-text-2__point {
  padding: 0.6rem 1.2rem;
  border: 1px solid color-mix(in srgb, var(--secondary) 45%, transparent);
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-modern);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-dark);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.services-villes-text-2__point:hover,
.services-villes-text-2__point:focus-visible {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--on-secondary);
  transform: translateY(-2px);
  outline: none;
}

.services-villes-text-2__point:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ============ ANIMATIONS ============ */
@keyframes svt2FadeIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes svt2SlideUnderline {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

@keyframes svt2Spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .services-villes-text-2__body {
    column-gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .services-villes-text-2__body {
    column-count: 1;
  }

  .services-villes-text-2__points-wrap {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 480px) {
  .services-villes-text-2__title {
    max-width: 100%;
  }

  .services-villes-text-2__intro {
    padding: 1.1rem 1.3rem;
  }

  .services-villes-text-2__point {
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-villes-text-2,
  .services-villes-text-2__deco,
  .services-villes-text-2__underline {
    animation: none;
  }
}

/* ── TITRES : couleur de survol explicite (CLAUDE.md §4.13) ──────────
   Le main.css des themes stylise les balises Hn, hover compris. Chaque
   titre reprend ici sa couleur de base pour neutraliser cet heritage. */
.services-villes-text-2__title:hover {
  color: var(--primary);
}
