@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

  #os77-prestations{
    color-scheme: light;
    --os77-ink:#15171b;
    --os77-bg:#F7F8F8;
    --os77-surface:#ffffff;
    --os77-muted:#716f66;
    --os77-line:#e4e6e7;

    --os77-accent:#12726B;
    --os77-accent-on-dark:#6FC9C1;

    --os77-paper:#f4f5f5;
    --os77-paper-muted:rgba(244,245,245,.7);
    --os77-paper-dim:rgba(244,245,245,.5);
    --os77-line-dark:rgba(244,245,245,.16);

    --font-main:"Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --container: 1320px;
    --pad: clamp(20px, 4vw, 64px);
  }

  #os77-prestations, #os77-prestations *{ box-sizing:border-box; }
  #os77-prestations{ margin:0; max-width:none; width:100%; }

  /* WordPress/Gutenberg peut insérer un ou plusieurs conteneurs génériques
     entre .entry-content et #os77-prestations selon le type de bloc utilisé
     pour poser le shortcode (Paragraphe, Groupe, Shortcode...). Ces
     conteneurs héritent de la contrainte de largeur de bloc de WordPress
     (--wp--style--global--content-size, ~740px). On neutralise cette
     contrainte quel que soit le niveau où elle s'applique, sans dépendre
     du bloc choisi dans l'éditeur. Nos propres règles ci-dessous, toutes
     scopées par l'ID #os77-prestations, restent prioritaires (spécificité
     ID > classe) et réappliquent les bonnes largeurs. */
  .entry-content:has(#os77-prestations){ max-width:none; }
  .entry-content:has(#os77-prestations) *{ max-width:none; }
  #os77-prestations{
    background:var(--os77-bg);
    color:var(--os77-ink);
    font-family:var(--font-main);
    -webkit-font-smoothing:antialiased;
  }
  #os77-prestations img{ max-width:100%; }
  #os77-prestations .row{ max-width:var(--container); margin:0 auto; padding-left:var(--pad); padding-right:var(--pad); }

  /* ---------- utilitaires partagés (repris à l'identique de la homepage) ---------- */
  #os77-prestations .btn{
    font-family:var(--font-main); font-weight:600; font-size:14px; border-radius:3px; padding:11px 20px; text-decoration:none;
    display:inline-flex; align-items:center; gap:8px; white-space:nowrap; border:1px solid transparent;
    transition:background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
  }
  #os77-prestations .btn:hover{ transform:translateY(-1px); }
  #os77-prestations .btn--primary{ background:var(--os77-ink); color:#fff; }
  #os77-prestations .btn--primary:hover{ background:#000; }

  #os77-prestations .eyebrow{
    display:flex; align-items:center; gap:12px;
    font-weight:700; font-size:13px; letter-spacing:.14em; text-transform:uppercase;
    color:var(--os77-accent); margin:0 0 22px;
  }
  #os77-prestations .eyebrow::before{ content:""; width:28px; height:1.5px; background:var(--os77-accent); flex:none; }
  #os77-prestations .accent-word{ color:var(--os77-accent); font-weight:800; }

  #os77-prestations .cta-link{
    display:inline-flex; align-items:center; gap:10px; font-weight:700; font-size:14.5px; color:var(--os77-ink);
    text-decoration:none; transition:gap .15s ease;
  }
  #os77-prestations .cta-link span.arrow{ color:var(--os77-accent); transition:transform .15s ease; }
  #os77-prestations .cta-link:hover{ gap:13px; }
  #os77-prestations .cta-link:hover span.arrow{ transform:translate(2px,-2px); }

  #os77-prestations .meta{ display:flex; align-items:center; gap:10px; font-size:13.5px; font-weight:500; color:var(--os77-muted); }
  #os77-prestations .meta .dot{ width:5px; height:5px; border-radius:50%; background:var(--os77-accent); flex:none; }

  #os77-prestations .display{
    font-size:clamp(2.4rem, 4.6vw, 3.8rem); line-height:1.08; font-weight:800; letter-spacing:-.01em; margin:0 0 26px;
  }

  /* ---------- 1. hero ---------- */
  #os77-prestations .hero{ background:var(--os77-bg); overflow:hidden; padding:clamp(64px,9vw,108px) 0 clamp(56px,7vw,88px); }
  #os77-prestations .hero__row{
    display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:clamp(32px,5vw,64px); align-items:center;
  }
  #os77-prestations .hero__text{ max-width:none; }
  #os77-prestations .lede{ font-size:1.1rem; line-height:1.6; color:var(--os77-muted); max-width:520px; margin:0 0 30px; }
  #os77-prestations .hero__cta{ display:flex; align-items:center; gap:28px; flex-wrap:wrap; margin-bottom:34px; }

  #os77-prestations .hero__tags{
    position:relative; display:flex; flex-wrap:wrap; align-content:center; gap:14px 12px;
    padding:clamp(28px,4vw,48px); min-height:280px;
  }
  #os77-prestations .hero-tag{
    display:inline-flex; align-items:center; gap:8px; padding:10px 18px; border-radius:999px;
    border:1px solid var(--os77-line); background:var(--os77-surface); color:var(--os77-ink);
    font-size:13.5px; font-weight:600; letter-spacing:.01em; white-space:nowrap;
  }
  #os77-prestations .hero-tag::before{ content:""; width:6px; height:6px; border-radius:50%; background:var(--os77-muted); flex:none; }
  #os77-prestations .hero-tag--lg{ font-size:15px; padding:12px 22px; }
  #os77-prestations .hero-tag--accent{ border-color:var(--os77-accent); color:var(--os77-accent); font-weight:700; }
  #os77-prestations .hero-tag--accent::before{ background:var(--os77-accent); }
  #os77-prestations .hero-tag:nth-child(2){ margin-top:22px; }
  #os77-prestations .hero-tag:nth-child(4){ margin-top:-10px; }
  #os77-prestations .hero-tag:nth-child(6){ margin-top:16px; }

  @media (max-width:900px){
    #os77-prestations .hero__row{ grid-template-columns:1fr; }
    #os77-prestations .hero__tags{ order:2; min-height:0; padding:8px 0 0; }
  }

  /* ---------- 2. vision d'ensemble (fond sombre) ---------- */
  #os77-prestations .vision--dark{ background:var(--os77-ink); color:var(--os77-paper); padding:clamp(64px,9vw,108px) 0; }
  #os77-prestations .vision--dark .eyebrow{ color:var(--os77-accent-on-dark); }
  #os77-prestations .vision--dark .eyebrow::before{ background:var(--os77-accent-on-dark); }
  #os77-prestations .vision__row{
    display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.85fr); gap:clamp(40px,6vw,80px); align-items:center;
  }
  #os77-prestations .vision-h2{ font-size:clamp(1.7rem,3vw,2.5rem); line-height:1.2; font-weight:700; margin:0 0 22px; }
  #os77-prestations .vision-lede{ font-size:1.02rem; line-height:1.65; color:var(--os77-paper-muted); margin:0 0 22px; max-width:520px; }
  #os77-prestations .vision-key{ font-size:1.2rem; line-height:1.45; font-weight:700; color:#fff; margin:0 0 18px; max-width:480px; }
  #os77-prestations .vision-note{ font-size:.98rem; line-height:1.6; color:var(--os77-paper-dim); margin:0; max-width:480px; }

  #os77-prestations .vision-diagram{ max-width:420px; margin:0 auto; width:100%; }
  #os77-prestations .vision-diagram svg{ display:block; width:100%; height:auto; }
  #os77-prestations .vd-lines line{ stroke:var(--os77-line-dark); stroke-width:1; }
  #os77-prestations .vd-nodes circle{ fill:var(--os77-accent-on-dark); }
  #os77-prestations .vd-labels text{ fill:var(--os77-paper-muted); font-family:var(--font-main); font-size:13px; font-weight:600; }
  #os77-prestations .vd-center-ring{ fill:none; stroke:var(--os77-accent-on-dark); stroke-width:1.5; }
  #os77-prestations .vd-center-text{ fill:#fff; font-family:var(--font-main); font-size:19px; font-weight:800; letter-spacing:.02em; }

  @media (max-width:900px){
    #os77-prestations .vision__row{ grid-template-columns:1fr; }
    #os77-prestations .vision-diagram{ order:2; max-width:340px; }
  }
  @media (max-width:520px){
    #os77-prestations .vd-labels text{ font-size:15px; }
  }

  /* ---------- 3. les 7 prestations (fond clair) ---------- */
  #os77-prestations .p-svc{ background:var(--os77-surface); padding:clamp(80px,10vw,128px) 0; }
  #os77-prestations .p-svc-intro{ max-width:640px; margin:0 0 clamp(40px,5vw,64px); }
  #os77-prestations .p-svc-h2{ font-size:clamp(1.7rem,3vw,2.4rem); line-height:1.2; font-weight:700; margin:0; }

  #os77-prestations .p-svc-rows{ border-top:1px solid var(--os77-line); }
  #os77-prestations .p-svc-row{
    display:grid; grid-template-columns:72px minmax(0,1fr) minmax(0,1.15fr); gap:clamp(20px,3vw,48px);
    align-items:start; padding:clamp(28px,3.6vw,42px) 0; border-bottom:1px solid var(--os77-line);
    text-decoration:none; color:inherit; position:relative;
  }
  #os77-prestations .p-svc-row::before{
    content:""; position:absolute; left:0; top:0; bottom:0; width:0; background:var(--row-color, var(--os77-accent));
    transition:width .2s ease;
  }
  #os77-prestations .p-svc-row:hover::before{ width:3px; }
  #os77-prestations .p-svc-row__num{
    font-size:14px; font-weight:700; color:var(--row-color, var(--os77-accent)); letter-spacing:.02em; padding-top:4px;
  }
  #os77-prestations .p-svc-row__head{ display:flex; flex-direction:column; gap:8px; }
  #os77-prestations .p-svc-row__title{ font-size:1.3rem; font-weight:700; letter-spacing:-.005em; }
  #os77-prestations .p-svc-row__hook{ font-size:.98rem; color:var(--os77-muted); font-weight:500; line-height:1.4; }
  #os77-prestations .p-svc-row__body{ display:flex; flex-direction:column; gap:14px; }
  #os77-prestations .p-svc-row__desc{ font-size:.98rem; line-height:1.6; color:var(--os77-muted); }
  #os77-prestations .p-svc-row__cta{
    display:inline-flex; align-items:center; gap:9px; font-weight:700; font-size:14px; color:var(--os77-ink);
  }
  #os77-prestations .p-svc-row__cta .arrow{ color:var(--row-color, var(--os77-accent)); transition:transform .2s ease; }
  #os77-prestations .p-svc-row:hover .p-svc-row__cta .arrow{ transform:translate(4px,-3px); }

  #os77-prestations .p-svc-row--lead{
    background:var(--os77-bg); margin:0 calc(-1 * var(--pad)); padding-left:var(--pad); padding-right:var(--pad);
    border-bottom-color:var(--os77-bg);
  }
  #os77-prestations .p-svc-row--lead .p-svc-row__title{ font-size:1.5rem; }
  #os77-prestations .p-svc-row--lead::before{ width:3px; }

  @media (max-width:860px){
    #os77-prestations .p-svc-row{ grid-template-columns:40px 1fr; }
    #os77-prestations .p-svc-row__body{ grid-column:1 / -1; margin-top:4px; }
  }

  /* ---------- 4. trois façons d'intervenir (fond sombre, repris de .pres) ---------- */
  #os77-prestations .pres{
    position:relative; background:var(--os77-ink); color:var(--os77-paper); padding:clamp(72px,9vw,116px) 0; overflow:hidden;
  }
  #os77-prestations .pres .eyebrow{ color:var(--os77-accent-on-dark); }
  #os77-prestations .pres .eyebrow::before{ background:var(--os77-accent-on-dark); }
  #os77-prestations .pres-intro{ max-width:600px; margin:0 0 clamp(44px,5vw,68px); }
  #os77-prestations .pres-h2{ font-size:clamp(1.7rem,3vw,2.4rem); line-height:1.2; font-weight:700; color:#fff; margin:0; }

  #os77-prestations .pres-cols{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(28px,4vw,48px); }
  #os77-prestations .pres-col{ border-top:1px solid var(--os77-line-dark); padding-top:26px; }
  #os77-prestations .pres-col__bignum{ font-size:2.4rem; font-weight:800; color:var(--os77-line-dark); display:block; line-height:1; }
  #os77-prestations .pres-col__rule{ height:1px; background:var(--os77-accent-on-dark); width:32px; margin:18px 0 20px; }
  #os77-prestations .pres-col__title{ font-size:1.15rem; font-weight:700; color:#fff; margin:0 0 10px; }
  #os77-prestations .pres-col__hook{ font-size:.95rem; line-height:1.55; color:var(--os77-paper-muted); margin:0; }
  #os77-prestations .pres-col__sep{ height:1px; background:var(--os77-line-dark); margin:24px 0 18px; }
  #os77-prestations .pres-col__price .plain{ display:block; font-size:1rem; font-weight:700; color:#fff; }
  #os77-prestations .pres-col__price--stack .plain{ font-size:.92rem; font-weight:600; color:var(--os77-paper-muted); }
  #os77-prestations .pres-col__price--stack .plain:first-child{ margin-bottom:4px; font-weight:700; color:#fff; }

  @media (max-width:860px){
    #os77-prestations .pres-cols{ grid-template-columns:1fr; gap:36px; }
  }

  /* ---------- 5. méthode OS77 (fond clair) ---------- */
  #os77-prestations .method{ background:var(--os77-bg); padding:clamp(72px,9vw,112px) 0; }
  #os77-prestations .method-intro{ max-width:560px; margin:0 0 clamp(48px,6vw,72px); }
  #os77-prestations .method-h2{ font-size:clamp(1.7rem,3vw,2.4rem); line-height:1.2; font-weight:700; margin:0; }

  #os77-prestations .method-track{ position:relative; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:32px; }
  #os77-prestations .method-line{
    position:absolute; top:9px; left:0; right:0; height:1px; background:var(--os77-line);
  }
  #os77-prestations .method-step{ position:relative; display:flex; flex-direction:column; gap:10px; padding-top:34px; }
  #os77-prestations .method-step__dot{
    position:absolute; top:0; left:0; width:19px; height:19px; border-radius:50%; background:var(--os77-bg);
    border:2px solid var(--os77-accent);
  }
  #os77-prestations .method-step__num{ font-size:12.5px; font-weight:700; color:var(--os77-accent); letter-spacing:.06em; }
  #os77-prestations .method-step__title{ font-size:1.1rem; font-weight:700; }
  #os77-prestations .method-step__desc{ font-size:.92rem; line-height:1.5; color:var(--os77-muted); }

  @media (max-width:760px){
    #os77-prestations .method-track{ grid-template-columns:1fr; gap:0; }
    #os77-prestations .method-line{ top:0; bottom:0; left:9px; right:auto; width:1px; height:auto; }
    #os77-prestations .method-step{ padding:0 0 34px 34px; }
    #os77-prestations .method-step:last-child{ padding-bottom:0; }
    #os77-prestations .method-step__dot{ top:2px; left:0; }
  }

  /* ---------- 6. fil conducteur (fond surface, avant CTA) ---------- */
  #os77-prestations .thread{ background:var(--os77-surface); border-top:1px solid var(--os77-line); padding:clamp(72px,8vw,108px) 0; }
  #os77-prestations .thread__row{
    display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.8fr); gap:clamp(40px,6vw,72px); align-items:center;
  }
  #os77-prestations .thread-h2{ font-size:clamp(1.6rem,2.8vw,2.2rem); line-height:1.25; font-weight:700; margin:0 0 20px; }
  #os77-prestations .thread-lede{ font-size:1.02rem; line-height:1.65; color:var(--os77-muted); max-width:520px; margin:0 0 26px; }

  #os77-prestations .thread-quote{
    margin:0; padding:clamp(28px,4vw,40px); border-left:3px solid var(--os77-accent); background:var(--os77-bg);
  }
  #os77-prestations .thread-quote__lead{ font-size:clamp(1.3rem,2.2vw,1.7rem); line-height:1.3; font-weight:800; margin:0; }

  @media (max-width:860px){
    #os77-prestations .thread__row{ grid-template-columns:1fr; }
  }

  /* ---------- 7. CTA final (fond sombre, repris à l'identique de la homepage) ---------- */
  #os77-prestations .cta-final{ position:relative; background:var(--os77-ink); padding:clamp(64px,8vw,96px) 0; overflow:hidden; }
  #os77-prestations .cta-final__grid{ display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:clamp(40px,5vw,72px); align-items:center; }
  #os77-prestations .cta-final__photo{ margin:0; border-radius:6px; overflow:hidden; }
  #os77-prestations .cta-final__photo img{ display:block; width:100%; height:100%; object-fit:cover; }
  #os77-prestations .cta-final__eyebrow{ color:var(--os77-accent-on-dark); }
  #os77-prestations .cta-final__eyebrow::before{ background:var(--os77-accent-on-dark); }
  #os77-prestations .cta-final__title{
    font-size:clamp(1.9rem,3.4vw,2.7rem); line-height:1.15; font-weight:700; color:#fff; margin:0 0 22px;
  }
  #os77-prestations .cta-final__title .accent-word{ color:var(--os77-accent-on-dark); font-weight:700; }
  #os77-prestations .cta-final__lede{ font-size:1.05rem; line-height:1.6; color:var(--os77-paper-muted); margin:0 0 40px; max-width:480px; }
  #os77-prestations .cta-final__row{ display:flex; align-items:center; gap:28px; flex-wrap:wrap; }

  #os77-prestations .btn-final{
    font-family:var(--font-main); font-weight:700; font-size:15px; border-radius:3px; padding:14px 26px;
    display:inline-flex; align-items:center; gap:10px; text-decoration:none; white-space:nowrap;
    background:transparent; color:#fff; border:1px solid var(--os77-line-dark);
    transition:background .28s ease, color .28s ease, border-color .28s ease;
  }
  #os77-prestations .btn-final .arrow{ color:var(--os77-accent-on-dark); transition:transform .28s ease, color .28s ease; }
  #os77-prestations .btn-final:hover{ background:var(--os77-accent); color:#fff; border-color:var(--os77-accent); }
  #os77-prestations .btn-final:hover .arrow{ color:#fff; transform:translate(3px,-3px); }
  #os77-prestations .btn-final:focus-visible{ outline:2px solid #fff; outline-offset:3px; }

  #os77-prestations .cta-final__meta{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; font-size:13.5px; font-weight:500; color:var(--os77-paper-muted); }
  #os77-prestations .cta-final__meta .dot{ width:5px; height:5px; border-radius:50%; background:var(--os77-accent-on-dark); flex:none; }

  @media (max-width:860px){
    #os77-prestations .cta-final__grid{ grid-template-columns:1fr; }
    #os77-prestations .cta-final__photo{ max-width:420px; aspect-ratio:4/5; margin-top:44px; }
    #os77-prestations .cta-final__row{ flex-direction:column; align-items:flex-start; gap:20px; }
    #os77-prestations .btn-final{ width:100%; justify-content:center; }
  }

  /* ---------- accessibilité ---------- */
  #os77-prestations a:focus-visible,
  #os77-prestations button:focus-visible{ outline:2px solid var(--os77-accent); outline-offset:3px; }

  @media (prefers-reduced-motion: reduce){
    #os77-prestations *{ transition:none !important; }
  }
