/* REM — pages services, zone d'intervention et pages légales */

  /* pages services et zone */
  .svc-hero h1{ font-size:clamp(2.5rem,6.6vw,6rem); }
  .svc-hero h1 .line{ padding:.14em 0 .3em; margin:-.14em 0 -.3em; }
  .crumbs{ position:relative; z-index:2; margin-bottom:auto; padding-bottom:3rem; font-size:.88rem; color:var(--text-dim); }
  /* fil d'Ariane : simple ligne de texte */
  .crumbs ol{ list-style:none; display:flex; flex-wrap:wrap; align-items:center; gap:.2rem 0; }
  .crumbs li{ display:inline-flex; align-items:center; }
  .crumbs li + li::before{ content:'/'; margin:0 .6rem; opacity:.45; }
  .crumbs a{ display:inline-block; padding:.4rem 0; color:var(--text-dim); text-decoration:none; transition:color .3s var(--ease); }
  .crumbs a::after{ display:none; }
  .crumbs a:hover{ color:var(--grey-l); text-decoration:underline; text-underline-offset:3px; }
  .crumbs [aria-current]{ color:var(--grey-l); font-weight:600; }
  @media (max-width:520px){ .crumbs{ font-size:.82rem; } }
  .hero-actions{ display:flex; flex-wrap:wrap; gap:.8rem 1rem; align-items:center; margin-top:2.2rem; position:relative; z-index:2; }
  .facts{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem clamp(1.2rem,3vw,2.4rem); margin-top:3rem; max-width:1100px; position:relative; z-index:2; }
  .fact{ padding-top:.4rem; }
  .fact dt{ font-size:.92rem; font-weight:500; color:var(--text-dim); margin-bottom:.35rem; }
  .fact dd{ font-weight:700; font-size:clamp(1rem,1.3vw,1.12rem); line-height:1.4; }
  @media (max-width:760px){ .facts{ grid-template-columns:1fr; } }

  .svc{ background:var(--grey-l); color:var(--grey-d); padding:clamp(4rem,8vw,6.5rem) clamp(1.4rem,4vw,3.4rem); position:relative; z-index:2; --line:#DCE2EA; --text-dim:#4b545e; }
  .svc-layout{ display:grid; grid-template-columns:230px minmax(0,1fr); gap:clamp(2rem,5vw,5rem); max-width:1340px; margin:0 auto; align-items:start; }
  .svc-toc{ position:sticky; top:110px; }
  .toc-title{ font-weight:800; font-size:.95rem; color:var(--grey-d); margin-bottom:.8rem; }
  .svc-toc ol{ list-style:none; border-left:2px solid var(--line); }
  .svc-toc a{ display:block; padding:.55rem 0 .55rem 1rem; margin-left:-2px; border-left:2px solid transparent; font-weight:600; font-size:.95rem; color:#4b545e; transition:color .3s var(--ease), border-color .3s var(--ease); }
  .svc-toc a:hover{ color:var(--grey-d); }
  .svc-toc a.is-current{ color:var(--blue); border-left-color:var(--blue); }
  .svc-toc .btn{ margin-top:1.8rem; padding:.95rem 1.4rem; font-size:.9rem; }
  .svc-body{ display:flex; flex-direction:column; gap:clamp(4.5rem,9vw,7rem); min-width:0; }
  section.svc-sec{ padding:0; }
  body.sub .svc-sec[id]{ scroll-margin-top:100px; }
  .sec-head{ margin-bottom:2.2rem; }
  .sec-head h2{ max-width:820px; }
  .sec-lead{ font-size:clamp(1.05rem,1.3vw,1.15rem); line-height:1.65; color:#4b545e; max-width:680px; margin-top:1.1rem; }

  .cards{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
  .cards.two{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .card{ background:#fff; border-radius:24px; padding:clamp(1.5rem,2.4vw,2rem); box-shadow:0 1px 0 #d3dae3; }
  .card h3{ font-weight:800; font-size:clamp(1.2rem,1.7vw,1.4rem); letter-spacing:-.015em; line-height:1.2; margin-bottom:.6rem; }
  .card p{ color:#4b545e; line-height:1.6; }
  @media (max-width:900px){ .cards, .cards.two{ grid-template-columns:1fr; } }

  .offers{ display:flex; flex-direction:column; gap:1rem; }
  .offer{ background:#fff; border-radius:28px; padding:clamp(1.6rem,3vw,2.4rem); display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:1.4rem clamp(1.6rem,3vw,3rem); box-shadow:0 1px 0 #d3dae3; }
  .offer h3{ font-weight:800; font-size:clamp(1.35rem,2vw,1.75rem); letter-spacing:-.015em; line-height:1.15; margin-bottom:.8rem; }
  .offer p{ color:#2b323b; line-height:1.65; }
  .offer-get b{ display:block; font-weight:700; font-size:.92rem; color:#6b7480; margin-bottom:.4rem; }
  .offer-get ul{ list-style:none; }
  .offer-get li{ position:relative; padding:.4rem 0; font-weight:600; font-size:.98rem; line-height:1.4; }
  @media (max-width:900px){ .offer{ grid-template-columns:1fr; } }

  .steps{ list-style:none; counter-reset:st; }
  .steps li{ counter-increment:st; display:grid; grid-template-columns:64px minmax(0,1fr); gap:1rem; padding:1.2rem 0; }
  .steps li::before{ content:counter(st); font-weight:800; font-size:1.7rem; line-height:1; color:var(--blue); }
  .steps h3{ font-weight:800; font-size:clamp(1.2rem,1.7vw,1.45rem); letter-spacing:-.01em; margin-bottom:.4rem; }
  .steps p{ color:#4b545e; line-height:1.6; max-width:62ch; }

  .svc .xp2-example{ margin-top:2rem; }
  .svc .xp2-example b{ display:block; font-size:.82rem; font-weight:400; color:#6b7480; margin:0 1.1rem .4rem; }
  .svc .xp2-example p{ background:var(--blue); color:#fff; border-radius:24px; border-bottom-left-radius:6px; padding:1.1rem 1.35rem; font-size:clamp(1.02rem,1.3vw,1.12rem); line-height:1.5; max-width:560px; }

  .zone-text{ font-size:clamp(1.05rem,1.3vw,1.15rem); line-height:1.7; color:#2b323b; max-width:720px; }
  .chips{ list-style:none; display:flex; flex-wrap:wrap; gap:.5rem; margin-top:1.6rem; }
  .chips li{ background:#fff; border-radius:100px; padding:.5rem 1rem; font-weight:600; font-size:.92rem; box-shadow:0 1px 0 #d3dae3; }
  .chips li small{ font-weight:400; color:#6b7480; margin-left:.35rem; }
  .chips li.main{ background:var(--blue); color:#fff; box-shadow:none; }
  .chips li.main small{ color:rgba(255,255,255,.8); }
  .svc-sec .link-arrow{ margin-top:1.8rem; }

  .svc .faq{ max-width:none; }
  /* liste des expertises : une ligne par expertise */
  .xrows{ list-style:none; display:flex; flex-direction:column; gap:.8rem; }
  .xrow{ display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:1rem 1.6rem; padding:1.3rem 1.4rem 1.3rem 1.6rem;
    background:#fff; border-radius:24px; box-shadow:0 1px 0 #d3dae3; transition:transform .4s var(--ease), box-shadow .4s var(--ease); }
  .xrow:hover{ transform:translateY(-3px); box-shadow:0 18px 40px rgba(11,15,20,.1), inset 0 0 0 2px var(--blue); }
  .xrow:focus-visible{ outline:2px solid var(--blue); outline-offset:4px; }
  .xrow-txt strong{ display:block; font-weight:800; font-size:clamp(1.15rem,1.7vw,1.4rem); letter-spacing:-.015em; line-height:1.2; color:var(--grey-d); }
  .xrow-txt span{ display:block; margin-top:.3rem; color:#4b545e; line-height:1.5; }
  .xrow-go{ display:inline-flex; align-items:center; gap:.5rem; font-weight:700; font-size:.92rem; color:var(--blue); padding:.75rem 1.2rem; border-radius:100px; box-shadow:inset 0 0 0 1.5px var(--blue); white-space:nowrap; transition:background .3s var(--ease), color .3s var(--ease); }
  .xrow-go i{ font-style:normal; transition:transform .3s var(--ease); }
  .xrow:hover .xrow-go{ background:var(--blue); color:#fff; }
  .xrow:hover .xrow-go i{ transform:translateX(3px); }
  @media (max-width:640px){
    .xrow{ grid-template-columns:minmax(0,1fr); padding:1.2rem 1.3rem; }
    .xrow-go{ justify-self:start; }
  }
  /* départements d'intervention */
  .depts{ list-style:none; display:grid; grid-template-columns:repeat(auto-fit,minmax(175px,1fr)); gap:.8rem; }
  .dept{ background:#fff; border-radius:24px; padding:1.4rem 1.4rem 1.5rem; box-shadow:0 1px 0 #d3dae3; }
  .dept b{ display:block; font-weight:800; font-size:2.6rem; line-height:1; letter-spacing:-.03em; color:var(--blue); }
  .dept strong{ display:block; margin-top:.7rem; font-weight:800; font-size:1.1rem; }
  .dept span{ display:block; margin-top:.35rem; color:#4b545e; font-size:.92rem; line-height:1.5; }

  .related{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:1rem; }
  .rel{ display:flex; flex-direction:column; justify-content:space-between; gap:2.2rem; min-height:200px; padding:1.7rem; border-radius:26px; background:var(--bg); color:var(--fg); box-shadow:0 1px 0 #d3dae3; transition:transform .45s var(--ease), box-shadow .45s var(--ease); }
  .rel:hover{ transform:translateY(-4px); box-shadow:0 18px 40px rgba(11,15,20,.14); }
  .rel strong{ display:block; font-weight:800; font-size:clamp(1.3rem,1.9vw,1.6rem); letter-spacing:-.015em; line-height:1.15; }
  .rel span{ font-size:.95rem; line-height:1.5; opacity:.85; }
  .rel em{ font-style:normal; font-weight:700; font-size:.9rem; }
  .rel:focus-visible, .svc-toc a:focus-visible, .crumbs a:focus-visible{ outline:2px solid var(--blue); outline-offset:3px; border-radius:8px; }

  @media (max-width:960px){
    .svc-layout{ grid-template-columns:minmax(0,1fr); gap:2.4rem; }
    .svc-toc{ min-width:0; }
    .svc-toc{ position:static; }
    .svc-toc ol{ display:flex; gap:.5rem; overflow-x:auto; border-left:0; padding-bottom:.5rem; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
    .svc-toc ol::-webkit-scrollbar{ display:none; }
    .svc-toc a{ white-space:nowrap; border:1px solid var(--line); border-radius:100px; background:#fff; padding:.6rem 1rem; margin:0; }
    .svc-toc a.is-current{ border-color:var(--blue); }
    .svc-toc .btn{ display:none; }
  }
  @media (prefers-reduced-motion:reduce){ .rel, .rel:hover{ transition:none; transform:none; } }
  .offer-note{ margin-top:1.4rem; font-size:1rem; color:#4b545e; }
  .offer-note a, .faq-item p a{ color:var(--blue); font-weight:700; text-decoration:underline; text-underline-offset:3px; }
  /* pages légales */
  .legal-page .page-hero{ min-height:58svh; }
  .legal-page .sec-head{ margin-bottom:1.4rem; }
  .legal-page .sec-head h2{ font-size:clamp(1.6rem,3vw,2.3rem); }
  .legal-page .svc-body{ gap:clamp(3rem,6vw,4.5rem); }
  .prose{ max-width:760px; font-size:clamp(1rem,1.2vw,1.08rem); line-height:1.75; color:#2b323b; }
  .prose > * + *{ margin-top:1rem; }
  .prose ul{ padding-left:1.2rem; }
  .prose li + li{ margin-top:.45rem; }
  .prose h3{ font-weight:800; font-size:1.15rem; color:var(--grey-d); margin-top:1.8rem; }
  .prose a{ color:var(--blue); font-weight:600; text-decoration:underline; text-underline-offset:3px; overflow-wrap:anywhere; }
  .prose strong{ color:var(--grey-d); }
  .prose .link-btn{ background:none; border:0; padding:0; font:inherit; font-weight:600; color:var(--blue); text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
  .idlist{ display:grid; grid-template-columns:minmax(0,230px) minmax(0,1fr); background:#fff; border-radius:24px; box-shadow:0 1px 0 #d3dae3; overflow:hidden; max-width:820px; margin-bottom:1.4rem; }
  .idlist dt, .idlist dd{ padding:.95rem 1.4rem; border-top:1px solid var(--line); }
  .idlist dt:first-of-type, .idlist dd:first-of-type{ border-top:0; }
  .idlist dt{ font-size:.95rem; font-weight:500; color:#6b7480; }
  .idlist dd{ font-weight:600; line-height:1.5; overflow-wrap:anywhere; }
  .idlist dd a{ color:var(--blue); }
  @media (max-width:640px){ .idlist{ grid-template-columns:1fr; } .idlist dd{ border-top:0; padding-top:.2rem; } .idlist dt:first-of-type{ padding-top:1.15rem; } }
  .legal-date{ font-size:.92rem; color:var(--text-dim); margin-top:1.6rem; position:relative; z-index:2; }
