/* ============================================
   APPSM - PAGE INTERVENTIONS PREMIUM
   Fichier: css/interventions.css
============================================ */

/* ============================================
   1. NAVIGATION RAPIDE (Ancres)
============================================ */
.int-quick-nav {
  background: linear-gradient(135deg, var(--purple) 0%, #4a1e5c 100%);
  padding: 18px 0;
  position: sticky;
  top: 90px;
  z-index: 99;
  box-shadow: 0 5px 20px rgba(74, 30, 92, 0.3);
  border-bottom: 3px solid var(--orange);
}

.int-quick-nav .container {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.int-nav-title {
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.int-nav-title i {
  color: var(--orange);
  font-size: 16px;
}

.int-nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.int-nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  font-family: "Poppins", sans-serif;
}

.int-nav-links a i {
  font-size: 11px;
  color: #ffb84d;
}

.int-nav-links a:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(232, 103, 42, 0.4);
}

.int-nav-links a:hover i {
  color: var(--white);
}

/* ============================================
   2. SECTIONS PRINCIPALES
============================================ */
.int-section {
  width: 100%;
  padding: 90px 0;
  scroll-margin-top: 180px;
  position: relative;
  overflow: hidden;
}

.int-section-white {
  background: var(--white);
}

.int-section-gray {
  background: linear-gradient(135deg, #ede7f2 0%, #e4daee 100%);
}

/* Décorations d'arrière-plan */
.int-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(232, 103, 42, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.int-section-gray::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(91, 45, 142, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* ============================================
   3. EN-TÊTE DE SECTION
============================================ */
.int-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

/* Numéro géant en filigrane */
.int-domain-number {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Poppins", sans-serif;
  font-size: 140px;
  font-weight: 900;
  color: rgba(91, 45, 142, 0.06);
  line-height: 1;
  pointer-events: none;
  z-index: -1;
}

.int-tagline {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
  padding: 7px 22px;
  background: rgba(232, 103, 42, 0.1);
  border-radius: 50px;
  border: 1px solid rgba(232, 103, 42, 0.2);
  position: relative;
  z-index: 2;
}

.int-title {
  font-family: "Poppins", sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 15px;
  line-height: 1.2;
  position: relative;
  z-index: 2;
}

.int-title span {
  color: var(--purple);
  position: relative;
  display: inline-block;
}

.int-title span::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 8px;
  background: rgba(232, 103, 42, 0.25);
  z-index: -1;
  border-radius: 4px;
}

.int-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--orange) 0%,
    var(--orange-light) 100%
  );
  margin: 0 auto;
  border-radius: 3px;
  box-shadow: 0 3px 10px rgba(232, 103, 42, 0.4);
}

/* ============================================
   4. CONTENU : TEXTE + PHOTO PRINCIPALE
============================================ */
.int-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.int-layout-left .int-text {
  order: 1;
}
.int-layout-left .int-photo {
  order: 2;
}

.int-layout-right .int-photo {
  order: 1;
}
.int-layout-right .int-text {
  order: 2;
}

/* Icône géante décorative */
.int-icon-big {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--purple) 0%,
    var(--purple-light) 100%
  );
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 28px;
  margin-bottom: 25px;
  box-shadow: 0 10px 25px rgba(91, 45, 142, 0.3);
  transition: all 0.5s ease;
}

.int-text:hover .int-icon-big {
  transform: rotate(-10deg) scale(1.1);
  background: linear-gradient(
    135deg,
    var(--orange) 0%,
    var(--orange-light) 100%
  );
  box-shadow: 0 12px 30px rgba(232, 103, 42, 0.4);
  border-radius: 50%;
}

.int-text p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--gray-600);
  margin-bottom: 18px;
}

.int-text p strong {
  color: var(--purple);
  font-weight: 700;
}

/* Liste avec puces personnalisées */
.int-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.int-list li {
  position: relative;
  padding: 12px 15px 12px 45px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-600);
  background: rgba(91, 45, 142, 0.04);
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.int-list li:hover {
  background: rgba(232, 103, 42, 0.08);
  border-left-color: var(--orange);
  transform: translateX(5px);
}

.int-list li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: linear-gradient(
    135deg,
    var(--orange) 0%,
    var(--orange-dark) 100%
  );
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(232, 103, 42, 0.4);
}

.int-list li strong {
  color: var(--purple);
  font-weight: 700;
}

/* Photo principale */
.int-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(74, 30, 92, 0.3);
  border: 5px solid var(--white);
  transition: all 0.5s ease;
}

.int-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(91, 45, 142, 0.1) 0%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.int-photo:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(232, 103, 42, 0.4);
}

.int-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.int-photo:hover img {
  transform: scale(1.08);
}

/* Badge sur la photo */
.int-photo-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background: linear-gradient(
    135deg,
    var(--orange) 0%,
    var(--orange-dark) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  box-shadow: 0 8px 20px rgba(232, 103, 42, 0.5);
  z-index: 3;
  border: 3px solid var(--white);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* ============================================
   5. GALERIE 3 PHOTOS
============================================ */
.int-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  position: relative;
  z-index: 2;
}

.int-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(74, 30, 92, 0.15);
  transition: all 0.4s ease;
  border: 3px solid transparent;
}

.int-gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(232, 103, 42, 0.3);
  border-color: var(--orange);
}

.int-gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: all 0.6s ease;
}

.int-gallery-item:hover img {
  transform: scale(1.15);
  filter: brightness(1.1);
}

/* Overlay avec icône */
.int-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(74, 30, 92, 0.7) 0%,
    rgba(232, 103, 42, 0.6) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 30px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.int-gallery-item:hover .int-gallery-overlay {
  opacity: 1;
}

.int-gallery-overlay i {
  transform: scale(0.5);
  transition: transform 0.4s ease;
}

.int-gallery-item:hover .int-gallery-overlay i {
  transform: scale(1);
}

/* ============================================
   6. RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .int-quick-nav {
    top: 0;
  }

  .int-nav-links a {
    font-size: 11px;
    padding: 6px 12px;
  }

  .int-title {
    font-size: 30px;
  }

  .int-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Sur mobile, photo toujours en premier */
  .int-layout-left .int-photo,
  .int-layout-right .int-photo {
    order: 1;
  }
  .int-layout-left .int-text,
  .int-layout-right .int-text {
    order: 2;
  }

  .int-photo img {
    height: 350px;
  }

  .int-domain-number {
    font-size: 100px;
  }
}

@media (max-width: 768px) {
  .int-quick-nav {
    padding: 12px 0;
    position: relative;
  }

  .int-quick-nav .container {
    flex-direction: column;
    gap: 12px;
  }

  .int-nav-title {
    font-size: 12px;
  }

  .int-nav-links {
    justify-content: center;
  }

  .int-nav-links a {
    font-size: 10px;
    padding: 5px 10px;
  }

  .int-section {
    padding: 60px 0;
    scroll-margin-top: 100px;
  }

  .int-title {
    font-size: 24px;
  }

  .int-tagline {
    font-size: 11px;
  }

  .int-domain-number {
    font-size: 70px;
    top: -25px;
  }

  .int-photo img {
    height: 280px;
  }

  .int-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .int-gallery-item img {
    height: 200px;
  }

  .int-icon-big {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .int-gallery {
    grid-template-columns: 1fr;
  }

  .int-gallery-item img {
    height: 220px;
  }

  .int-title {
    font-size: 22px;
  }

  .int-nav-links {
    gap: 5px;
  }

  .int-nav-links a {
    padding: 4px 8px;
    font-size: 9px;
  }

  .int-nav-links a i {
    display: none;
  }
}
