/* ============================================================
   SECTIONS — page Services (frame Figma 40:6759 « Nos services »)
   Approche : fichier autonome. Les sections communes avec
   l'accueil (avis, CTA formulaire, FAQ, bulle experts) sont
   recopiées depuis sections-accueil.css — sections-accueil.css
   n'est PAS chargée sur cette page.
   ============================================================ */

/* ================= HERO SERVICES ================= */
.svc-hero {
  position: relative;
  height: 550px;
  background: var(--c-ink);
  overflow: hidden;
}
.svc-hero > picture, .svc-hero > picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.svc-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.svc-hero-in {
  position: relative;
  z-index: 2;
  max-width: var(--w-container);
  margin-inline: auto;
  padding-top: 212px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}
.svc-hero-copy { width: 690px; flex: none; display: flex; flex-direction: column; gap: 16px; }
.svc-hero-copy .svc-hero-head { display: flex; flex-direction: column; gap: 8px; }
.svc-hero-copy .badge { align-self: flex-start; }
.svc-hero-copy h1 {
  font-size: 56px;
  line-height: 70px;
  font-weight: 700;
  color: var(--c-white);
}
.svc-hero-copy p {
  font-size: 16px;
  line-height: 24px;
  color: var(--c-white);
}
.svc-hero-aside {
  width: 383px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.svc-hero-aside .scroll-ico { width: 17px; height: 16px; margin-bottom: 8px; }

/* Bulle « Parlez à nos experts » (reprise de l'accueil) */
.hero-experts {
  width: 100%;
  padding: 6px;
  background: rgba(246, 246, 246, 0.2);
  border-radius: var(--r-full);
}
.hero-experts .he-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 9px;
  background: var(--c-white);
  border-radius: var(--r-full);
}
.hero-experts .he-left { display: flex; align-items: center; gap: 10px; }
.hero-experts .avatars { display: flex; }
.hero-experts .avatars span {
  width: 56px;
  height: 56px;
  border-radius: var(--r-full);
  background: #D9D9D9 center/cover no-repeat;
  border: 4px solid var(--c-white);
}
.hero-experts .avatars span + span { margin-left: -28px; }
.hero-experts .he-label {
  font-size: 16px;
  line-height: 20.2px;
  font-weight: 500;
  color: var(--c-ink);
}
.hero-experts .he-call {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: none;
  background: var(--c-primary);
  border-radius: var(--r-pill);
  transition: background 0.25s ease;
}
.hero-experts .he-call:hover { background: var(--c-primary-dark); }
.hero-experts .he-call img { width: 22px; height: 22px; }

/* Pastille Airbnb 4.9/5 */
.svc-hero-chip {
  display: inline-flex;
  align-items: center;
  height: 42px;            /* la bordure ajoutait 2 px, comme sur .badge */
  gap: 16px;
  padding: 7px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--r-pill);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-size: 14px;
  line-height: 17.6px;
  color: var(--c-white);
  white-space: nowrap;
}
.svc-hero-chip .chip-logo {
  width: 28px;
  height: 28px;
  flex: none;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  display: grid;
  place-content: center;
}
.svc-hero-chip .chip-logo img { width: 16px; height: 17px; }
.svc-hero-chip .chip-rate { display: inline-flex; align-items: center; gap: 10px; }
.svc-hero-chip .chip-stars { display: flex; gap: 4px; }
.svc-hero-chip .chip-stars img { width: 12px; height: 12px; }

/* ================= SERVICES (6 cartes visuelles) ================= */
.svc-services { max-width: var(--w-container); margin: 88px auto 0; }
.svc-grid { margin-top: 48px; display: flex; flex-direction: column; gap: 32px; }
.svc-row { display: flex; gap: 24px; }
.svc-card {
  flex: 1;
  background: var(--bg-soft);
  border-radius: var(--r-block);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.svc-card > img {
  width: 100%;
  height: 350px;
  border-radius: var(--r-img);
  object-fit: cover;
}
.svc-card-body {
  display: flex;
  align-items: flex-end;
  gap: 32px;
}
.svc-card-txt { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.svc-card-head { display: flex; align-items: center; gap: 16px; }
.svc-ico {
  width: 52px;
  height: 52px;
  flex: none;
  background: var(--t-primary-05);
  border: 0.5px solid var(--t-primary-10);
  border-radius: var(--r-pill);
  display: grid;
  place-content: center;
}
.svc-ico img { width: 24px; height: 24px; }
.svc-card-txt p { font-size: 16px; line-height: 24px; color: var(--c-body); }
.svc-arrow {
  width: 52px;
  height: 52px;
  flex: none;
  background: var(--c-gold);
  border-radius: var(--r-pill);
  display: grid;
  place-content: center;
  transition: transform 0.25s ease;
}
.svc-arrow:hover { transform: translateY(-2px); }
.svc-arrow img { width: 20px; height: 20px; }

/* ================= AVIS (repris de l'accueil) ================= */
.reviews {
  margin-top: 104px;
  background: var(--bg-cream);
  padding: 56px var(--pad-page);
}
.reviews-in { max-width: var(--w-container); margin-inline: auto; }
.reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.reviews-head .section-head { max-width: 888px; }
.airbnb-pill {
  flex: none;
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 10px 28px 10px 10px;
  background: var(--c-white);
  border-radius: 107px;
}
.airbnb-pill .ab-logo {
  width: 57px;
  height: 57px;
  border: 0.53px solid rgba(255, 56, 92, 0.2);
  border-radius: 107px;
  display: grid;
  place-content: center;
}
.airbnb-pill .ab-logo img { width: 31px; height: 34px; }
.airbnb-pill .ab-score {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-head);
  font-size: 18px;
  line-height: 21px;
  font-weight: 600;
  color: #171414;
}
.airbnb-pill .ab-score img { width: 15px; height: 15px; }
.airbnb-pill .ab-count {
  font-family: var(--f-manrope);
  font-size: 12.8px;
  line-height: 19.2px;
  color: var(--c-body);
  margin-top: 4px;
}
.reviews-slider { margin-top: 48px; }
.slider-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: calc((100vw - var(--w-container)) / -2);
  padding-inline: calc((100vw - var(--w-container)) / 2);
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * { scroll-snap-align: center; }
.slider-dots {
  height: 14px;            /* l’anneau de la puce active est en `outline` : il ne prend pas de place dans le flux */
  margin-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: var(--r-pill);
  background: #652A2A;
  opacity: 0.3;
  transition: opacity 0.2s ease;
}
.slider-dots button.is-active {
  opacity: 1;
  background: var(--c-primary-deep);
  outline: 0.64px solid rgba(138, 70, 45, 0.6);
  outline-offset: 3px;
}

/* ================= CTA FORMULAIRE (repris de l'accueil) ================= */
.cta-form {
  position: relative;
  margin-top: 104px;
  padding: 60px var(--pad-page);
  overflow: hidden;
}
.cta-form > picture, .cta-form > picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cta-form::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.cta-form-in {
  position: relative;
  z-index: 2;
  max-width: var(--w-container);
  margin-inline: auto;
  display: flex;
  gap: 48px;
}
.cta-copy { width: 494px; flex: none; display: flex; flex-direction: column; justify-content: flex-start; gap: 66px;   /* Figma pose la pastille 66 px sous le texte, pas en bas de colonne */ }
.cta-copy .cc-txt { display: flex; flex-direction: column; gap: 66px; }
.cta-copy h2 {
  font-size: 62px;
  line-height: 77.5px;
  color: var(--c-white);
}
.cta-copy .cc-sub {
  font-size: 18px;
  line-height: 27px;
  color: var(--c-white);
  margin-top: 6px;   /* 6 + le gap 10 de .section-head = les 16 px de Figma */
}
.cta-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--r-pill);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.cta-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  line-height: 28.8px;
  color: var(--c-primary-dark);
  white-space: nowrap;
}
.cta-contact a:hover { color: var(--c-primary); }
.cta-contact img { width: 22px; height: 18px; }
.cta-card {
  flex: 1;
  background: var(--c-white);
  border-radius: var(--r-card);
  padding: 40px;
}
.cta-card h2 {
  font-size: 32px;
  line-height: 38.4px;
  font-weight: 500;
  margin-bottom: 32px;
}

/* ================= FAQ (reprise de l'accueil) ================= */
.faq { max-width: var(--w-container); margin: 104px auto; display: flex; gap: 48px; }
.faq-side { width: 421px; flex: none; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;   /* le gap ne doit jamais dépasser l’espace libre : sinon l’encart sort de la section */ }
.faq-side .fs-intro {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  /* .section-head applique déjà gap:10px → 6px pour un écart total de 16px (Figma) */
  margin-top: 6px;
}
.faq-help {
  background: var(--t-primary-05);
  border-radius: var(--r-box);
  padding: 24px;
}
.faq-help h3 {
  font-size: 18px;
  line-height: 25.2px;
  font-weight: 500;
  opacity: 0.88;
}
.faq-help p {
  font-size: 12px;
  line-height: 18px;
  opacity: 0.7;
  margin-top: 14px;
}
.faq-help .btn--outline {
  margin-top: 32px;
  height: 40px;
  padding: 5px 24px;
  font-family: var(--f-manrope);
  font-size: 14px;
  line-height: 14px;
  font-weight: 600;
}
.faq-help .btn--outline img { width: 11px; height: 11px; }
.faq-list { flex: 1; display: flex; flex-direction: column; gap: 16px; }

/* ================= RESPONSIVE SERVICES ================= */
@media (max-width: 1240px) {
  .svc-hero-in { padding-inline: 24px; }
  .svc-services, .faq { padding-inline: 24px; }
  .slider-track { margin-inline: 0; padding-inline: 0; }
}
@media (max-width: 1100px) {
  .h-section { font-size: 40px; line-height: 1.3; }
  .svc-hero-copy h1 { font-size: 44px; line-height: 1.25; }
  .svc-hero-aside { display: none; }
  .svc-hero-copy { width: 100%; }
  .svc-row { flex-direction: column; }
  .svc-card > img { height: auto; aspect-ratio: 552 / 350; }
  .reviews-head { flex-direction: column; align-items: flex-start; }
  .cta-form-in { flex-direction: column; }
  .cta-copy { width: 100%; gap: 32px; }
  .cta-copy .cc-txt { gap: 32px; }
  .cta-copy h2 { font-size: 44px; line-height: 1.25; }
  .faq { flex-direction: column; }
  .faq-side { width: 100%; }
}
@media (max-width: 640px) {
  .h-section { font-size: 30px; }
  .svc-hero { height: auto; }
  .svc-hero-in { padding-top: 140px; padding-bottom: 56px; }
  .svc-hero-copy h1 { font-size: 34px; }
  .svc-services { margin-top: 64px; }
  .svc-card { padding: 12px; gap: 16px; }
  .svc-card-body { flex-wrap: wrap; gap: 16px; }
  .reviews { padding: 48px 20px; margin-top: 64px; }
  .cta-form { padding: 48px 20px; margin-top: 64px; }
  .cta-copy h2 { font-size: 34px; }
  .cta-card { padding: 24px; }
  .cta-contact { flex-direction: column; align-items: flex-start; gap: 12px; }
  .faq { margin: 64px auto; }
}
