/* ============================================================
   INSPECTION PAGE — inspection.css
============================================================ */

/* ============================================================
   HERO
============================================================ */
.insp-hero {
  background: var(--white);
  color: var(--black);
  padding: 140px 0 80px;
}
.insp-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.insp-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(0,0,0,.4);
  margin-bottom: 28px;
  text-decoration: none;
  transition: color .2s ease;
}
.insp-hero__back:hover { color: rgba(0,0,0,.7); }
.insp-hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,0,0,.45);
  margin-bottom: 16px;
}
.insp-hero__title {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--black);
}
.insp-hero__desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(0,0,0,.5);
  margin-bottom: 32px;
  max-width: 520px;
}
.insp-hero__meta {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 36px;
}
.insp-hero__meta-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 24px;
  border: 1px solid #E8E8E8;
  border-radius: 14px;
  background: var(--white);
}
.insp-hero__meta-label {
  font-size: 12px;
  color: rgba(0,0,0,.4);
}
.insp-hero__meta-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
}
/* Hero entrance — CSS only (above the fold) */
.insp-hero__content {
  animation: heroSlideLeft .8s cubic-bezier(.22,.61,.36,1) both;
}
.insp-hero__image {
  animation: heroSlideRight .8s cubic-bezier(.22,.61,.36,1) .1s both;
}
@keyframes heroSlideLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes heroSlideRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
.insp-hero__image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.25), 0 18px 35px -15px rgba(0,0,0,.18);
}
.insp-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   POURQUOI — 2x2 cards
============================================================ */
.insp-why {
  background: var(--white);
  color: var(--black);
  padding: 100px 0;
}
.insp-why .section-title {
  margin-bottom: 48px;
}
.insp-why__grid {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  grid-auto-rows: auto;
  gap: 18px;
}
.insp-why__card {
  background: #111113;
  color: var(--white);
  border-radius: 20px;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  grid-column: span 5;
}
.insp-why__card--big {
  grid-column: span 9;
}
.insp-why__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: rgba(255,255,255,.85);
  margin-bottom: 24px;
  flex-shrink: 0;
}
.insp-why__card-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}
.insp-why__card-text {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,.55);
  flex: 1;
}
.insp-why__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.insp-why__tags span {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.65);
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
}

/* ============================================================
   DOMAINES D'APPLICATION
============================================================ */
.insp-domains {
  background: var(--white);
  color: var(--black);
  padding: 0 0 100px;
}
.insp-domains__head {
  margin-bottom: 48px;
}
.insp-domains__sub {
  font-size: 15px;
  color: rgba(0,0,0,.55);
  max-width: 640px;
  line-height: 1.6;
  margin-top: 12px;
}
.insp-domains__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.insp-domains__card {
  border: 1px solid #F0F0F0;
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.insp-domains__card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.insp-domains__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0,0,0,.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--black);
}
.insp-domains__num {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: rgba(0,0,0,.07);
  line-height: 1;
  letter-spacing: -0.03em;
}
.insp-domains__card-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
}
.insp-domains__card-text {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(0,0,0,.55);
  margin-bottom: 20px;
  flex: 1;
}
.insp-domains__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.insp-domains__tags span {
  background: rgba(0,0,0,.05);
  color: rgba(0,0,0,.6);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
}

/* ============================================================
   PROCESSUS — 5 étapes zigzag
============================================================ */
.insp-process {
  background: var(--white);
  color: var(--black);
  padding: 100px 0;
  border-top: 1px solid #F0F0F0;
}
.insp-process .section-title {
  margin-bottom: 16px;
}
.insp-process__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
  font-size: 15px;
  color: rgba(0,0,0,.55);
  line-height: 1.6;
}
/* Timeline */
.insp-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
/* Vertical line */
.insp-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #E0E0E0;
  transform: translateX(-50%);
}
.insp-tl__row {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  align-items: center;
  margin-bottom: 0;
}
.insp-tl__center {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.insp-tl__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.insp-tl__card {
  border: 1px solid #F0F0F0;
  border-radius: 16px;
  padding: 28px 26px;
  background: var(--white);
}
.insp-tl__spacer {}
.insp-tl__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0,0,0,.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--black);
  margin-bottom: 18px;
}
.insp-tl__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--black);
}
.insp-tl__text {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(0,0,0,.55);
}

/* ============================================================
   CE QUI EST INCLUS
============================================================ */
.insp-included {
  background: #111113;
  color: var(--white);
  padding: 100px 0;
}
.insp-included__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.insp-included .section-title {
  margin-bottom: 12px;
  color: var(--white);
}
.insp-included__price {
  font-size: 15px;
  color: rgba(255,255,255,.55);
  margin-bottom: 28px;
}
.insp-included__price strong {
  color: var(--white);
  font-weight: 700;
}
.insp-included__list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.insp-included__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,.75);
}
.insp-included__list li i {
  color: rgba(255,255,255,.5);
  font-size: 16px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.btn--outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  transition: background .25s ease, border-color .25s ease;
}
.btn--outline-light:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.4);
}
.insp-included__right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.insp-included__detail {
  background: rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,.1);
}
.insp-included__detail .insp-included__h {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--white);
}
.insp-included__detail p {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  margin-bottom: 12px;
}
.insp-included__detail p:last-child {
  margin-bottom: 0;
}
.insp-included__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.insp-included__tags span {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.65);
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
}

/* ============================================================
   FAQ
============================================================ */
.insp-faq {
  background: var(--white);
  color: var(--black);
  padding: 100px 0;
}
.insp-faq .section-title {
  margin-bottom: 48px;
}
.insp-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.insp-faq__item {
  border-top: 1px solid #E8E8E8;
  padding: 22px 0;
}
.insp-faq__item:last-child {
  border-bottom: 1px solid #E8E8E8;
}
.insp-faq__question {
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--black);
}
.insp-faq__question::-webkit-details-marker {
  display: none;
}
.insp-faq__question::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: rgba(0,0,0,.4);
  flex-shrink: 0;
  transition: transform .25s ease;
}
.insp-faq__item[open] .insp-faq__question::after {
  content: '−';
}
.insp-faq__answer {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(0,0,0,.55);
  margin-top: 14px;
  max-width: 700px;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .insp-hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .insp-why__grid {
    grid-template-columns: 1fr;
  }
  .insp-why__card,
  .insp-why__card--big {
    grid-column: 1 / -1;
  }
  .insp-domains__grid {
    grid-template-columns: 1fr;
  }
  .insp-included__grid {
    grid-template-columns: 1fr;
  }
  .insp-step--right {
    justify-content: flex-start;
  }

  /* Timeline en mobile — 1 colonne, ligne verticale centrée en BG */
  .insp-timeline {
    padding: 0;
  }
  .insp-timeline::before {
    display: block;
    left: 50%;
    top: 22px;
    bottom: 22px;
    transform: translateX(-50%);
  }
  .insp-tl__row,
  .insp-tl__row--left,
  .insp-tl__row--right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    position: relative;
  }
  .insp-tl__row:last-child { margin-bottom: 0; }
  .insp-tl__spacer { display: none; }

  /* Numéro en haut, bien centré sur la ligne */
  .insp-tl__center {
    order: 1;
    justify-content: center;
    padding: 4px 0;
    background: var(--white);
  }

  /* Carte texte en dessous, full-width avec fond opaque */
  .insp-tl__card {
    order: 2;
    width: 100%;
    position: relative;
    z-index: 2;
    background: var(--white);
  }
}
