/* ============================================================
   STYLEPAGESERVICE.CSS  Jeanne Barchilon
   Complément pour les pages de service.
   À charger APRÈS style.css et styleservices.css.
   Réutilise : .containerhero, .servicenanimation, .cardtarif-flip,
   .sectionprocessus, .faq, .boutongeneral, .boutongreen...
   ============================================================ */


/* ══════════════════════════════════════════════
   BASE
   ══════════════════════════════════════════════ */
.sp-section {
  padding: 88px var(--px);
  background: var(--paper);
}
.sp-section.sp-cream { background: var(--cream); }

.sp-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 56px;
}
.sp-title em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 300;
}


/* ══════════════════════════════════════════════
   INTRO ÉDITORIALE
   ══════════════════════════════════════════════ */
.sp-intro {
  padding: 40px var(--px) 100px;
  background: var(--paper);
}
.sp-intro-lead {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 1.6vw + 0.4rem, 1.6rem);
  line-height: 1.5;
  color: var(--black);
  max-width: 900px;
  text-align: left;
}
.sp-intro-lead em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
}
.sp-intro-more {
  font-family: 'Public sans', sans-serif;
  font-size: 18px;
  line-height: 1.75;
  color: var(--black);
  max-width: 560px;
  margin-top: 2rem;
  text-align: left;
}


/* ══════════════════════════════════════════════
   CE QUI EST INCLUS (lignes façon accordéon)
   ══════════════════════════════════════════════ */
.sp-incl-list {
  border-top: 1px solid rgba(14, 16, 15, 0.12);
}
.sp-incl-row {
  display: grid;
  grid-template-columns: minmax(0, 230px) 1fr;
  gap: 2rem 2.5rem;
  align-items: start;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(14, 16, 15, 0.12);
}
.sp-incl-row h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  color: var(--black);
  text-transform: uppercase;
  font-weight: 400;
}
.sp-incl-row p {
  font-family: 'Public sans', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--black);
  text-align: left;
}
.sp-incl-row p::before { content: none; }


/* ══════════════════════════════════════════════
   CE QUI EST INCLUS + EXEMPLES, en deux colonnes (60 / 40)
   ══════════════════════════════════════════════ */
.sp-incl-split {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 4rem;
  align-items: start;
}
.sp-incl-right { position: sticky; top: 7rem; }
.sp-incl-eyebrow {
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(14, 16, 15, 0.66);
}
.sp-incl-img { display: block; color: var(--black); }
.sp-incl-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.sp-incl-img span {
  display: block;
  margin-top: 10px;
  font-family: 'Public sans', sans-serif;
  font-size: 15px;
}
.sp-incl-img-2 { width: 62%; margin: 2rem 0 0 auto; }
.sp-incl-img-2 span { text-align: right; }


/* ══════════════════════════════════════════════
   TARIFS : deux cartes seulement
   ══════════════════════════════════════════════ */
.sp-tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}


/* ══════════════════════════════════════════════
   EXEMPLES (à compléter)
   ══════════════════════════════════════════════ */
.sp-todo {
  border: 1px dashed rgba(14, 16, 15, 0.35);
  padding: 32px;
  font-family: 'Public sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(14, 16, 15, 0.7);
}


/* ══════════════════════════════════════════════
   AUTRES PRESTATIONS : une ligne discrète
   ══════════════════════════════════════════════ */
.sp-more {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem 3rem;
  padding: 40px var(--px) 56px;
  border-top: 1px solid rgba(14, 16, 15, 0.12);
  background: var(--yellow);
}
.sp-more-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 18px;
  color: var(--black);
}
.sp-more-title em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
}
.sp-more-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  padding: 0;
}
.sp-more-links a {
  position: relative;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: var(--black);
}
.sp-more-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--black);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.sp-more-links a:hover::after,
.sp-more-links a:focus-visible::after { width: 100%; }
.sp-more-all { color: rgba(14, 16, 15, 0.6) !important; }


/* ══════════════════════════════════════════════
   APPEL FINAL
   ══════════════════════════════════════════════ */
.sp-final {
  background: var(--black);
  color: var(--cream);
  padding: 120px var(--px);
}
.sp-final h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(1.75rem, 3vw + 1rem, 2.75rem);
  color: var(--cream);
  line-height: 1.2;
}
.sp-final h2 em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
}
.sp-final p {
  font-family: 'Public sans', sans-serif;
  font-size: 18px;
  line-height: 1.75;
  color: var(--paper);
  max-width: 560px;
  margin: 1.5rem 0 2.5rem;
}


/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .sp-incl-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .sp-incl-split { grid-template-columns: 1fr; gap: 3rem; }
  .sp-incl-right { position: static; }
}
@media (max-width: 760px) {
  .sp-section { padding: 64px var(--px); }
  .sp-intro { padding-bottom: 64px; }
  .sp-title { font-size: 26px; margin-bottom: 40px; }
  .sp-final { padding: 80px var(--px); }
}


/* ══════════════════════════════════════════════
   PROCESS : étapes qui s'empilent au scroll
   ══════════════════════════════════════════════ */
.sp-stack {
  --sp-top: 96px;
  --sp-peek: 46px;
  background: var(--black);
  padding: 100px var(--px) 140px;
}

.sp-stack-head {
  max-width: 640px;
  margin-bottom: 72px;
}
.sp-stack-head .sp-title { margin-bottom: 1.25rem; }
.sp-stack-head p {
  font-family: 'Public sans', sans-serif;
  font-size: 18px;
  line-height: 1.75;
  color: var(--paper);
  text-align: left;
}

/* Une étape : elle se colle en haut, la suivante vient la recouvrir */
.sp-step {
  position: sticky;
  top: calc(var(--sp-top) + var(--i) * var(--sp-peek));
  z-index: calc(var(--i) + 1);
  min-height: 50vh;
  padding: 14px 0 56px;
  background: var(--black);
  border-top: 0.5px solid var(--paper);
  display: grid;
  grid-template-columns: minmax(64px, 0.5fr) 2.2fr 1.3fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "num title desc"
    ".   body  .";
  column-gap: 2rem;
  align-items: start;
}

.sp-step-num,
.sp-step-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  line-height: 1.05;
  color: var(--paper);
}
.sp-step-num {
  grid-area: num;
  font-weight: 300;
}
.sp-step-title {
  grid-area: title;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.sp-step-desc {
  grid-area: desc;
  max-width: 320px;
  font-family: 'Public sans', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--paper);
  text-align: left;
}

.sp-step-body {
  grid-area: body;
  margin-top: 4.5rem;
}
.sp-step-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 1.25rem;
  text-align: left;
}
.sp-step-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sp-step-list li {
  position: relative;
  padding-left: 22px;
  font-family: 'Public sans', sans-serif;
  font-size: 18px;
  line-height: 1.4;
  color: var(--paper);
}
.sp-step-list li::before {
  content: '*';
  position: absolute;
  left: 0;
  top: -3px;
  color: var(--paper);
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 30px;
}

/* Visuel en bas à droite : un bloc de ta palette, à remplacer par une image */
.sp-step-visual {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(340px, 30%);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sp-step-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sp-step-star {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 150px;
  line-height: 1;
  transform: translateY(0.18em);
  color: var(--sv-star, var(--paper));
  user-select: none;
}

@media (max-width: 900px) {
  .sp-stack {
    --sp-top: 76px;
    --sp-peek: 38px;
    padding: 72px var(--px) 100px;
  }
  .sp-step {
    min-height: 30vh;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
      "num title"
      "desc desc"
      "body body";
    column-gap: 1rem;
  }
  .sp-step-desc { max-width: none; margin-top: 1.25rem; }
  .sp-step-body { margin-top: 1.5rem; }
  .sp-step-visual { width: 46%; }
  .sp-step-star { font-size: 110px; }
}