/* STA Solutions : parcours lisible et actions de contact visibles. */
html body.sta-refonte {--sta-ink:#101913;--sta-green:#008153;--sta-mint:#eefaf3;--sta-blue:#edf7ff;--sta-sand:#fff7e8}
html body.sta-refonte main :is(a,button,summary,input,select,textarea):focus-visible {outline:3px solid #1386b1;outline-offset:3px}
.sta-refonte .orientation-main .question-intro {max-width:940px}
.sta-refonte .orientation-main .question-description {max-width:800px;color:#263a30;line-height:1.6}
.sta-refonte .orientation-intro-proof {display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:18px;font-size:13px;font-weight:600;color:#006c44}
.sta-refonte .orientation-intro-proof span {display:inline-flex;align-items:center;gap:6px}
.sta-refonte .orientation-intro-proof span::before {content:'✓';font-weight:800}

/* En premier : le besoin, le téléphone et le projet. */
html body.sta-refonte.layout-home .hp-hero {padding-top:34px;padding-bottom:48px}
html body.sta-refonte.layout-home .hp-hero .hero-values {margin-bottom:17px}
html body.sta-refonte.layout-home .hp-hero-grid {gap:clamp(28px,4vw,64px)}
html body.sta-refonte.layout-home .hp-hero h1 {max-width:720px;font-size:clamp(37px,4.1vw,59px);line-height:1.08}
html body.sta-refonte.layout-home .hp-intro {max-width:620px;font-size:17px;line-height:1.65}
html body.sta-refonte.layout-home .hp-hero-actions {max-width:440px;gap:10px}
html body.sta-refonte .sta-hero-actions :is(.button,.pc-button) {min-height:52px;gap:10px;white-space:normal;text-align:center}
html body.sta-refonte .sta-hero-actions .sta-call {background:#fff!important;border-color:#a9cebb!important;color:#006e47!important}
html body.sta-refonte .sta-hero-actions .sta-call:hover {background:#e7f6ed!important;color:#006e47!important}
html body.sta-refonte .sta-video-link {display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px;color:#006e47;font-size:14px;font-weight:600;text-align:center;text-decoration:underline;text-underline-offset:4px}
html body.sta-refonte.layout-home .hp-free {margin-top:14px}
.sta-refonte .sta-hero-place {margin:13px 0 0;color:#263a30;font-size:13px;line-height:1.5}
.sta-refonte .sta-hero-place strong {color:#006e47}

/* Chiffres descriptifs et explicables : ni avis, ni résultats inventés. */
.sta-refonte .sta-facts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:30px 0 0;padding:0;list-style:none}
.sta-refonte .sta-facts li {display:flex;align-items:center;gap:12px;min-width:0;padding:17px 18px;border:1px solid #d4eadd;border-radius:14px;background:#f0fbf4}
.sta-refonte .sta-facts li:nth-child(2) {border-color:#cbdfee;background:#edf7ff}
.sta-refonte .sta-facts li:nth-child(3) {border-color:#f0ddb7;background:#fff7e8}
.sta-refonte .sta-facts strong {flex:none;color:#006e47!important;font-size:clamp(23px,2.1vw,31px);line-height:1;letter-spacing:-.04em}
.sta-refonte .sta-facts span {color:#263a30;font-size:13px;line-height:1.35}
.sta-refonte .sta-facts-note {margin:10px 0 0;color:#52665b;font-size:12px;line-height:1.5}

/* Métiers : des intitulés concrets pour les petits et les grands projets. */
.sta-refonte .sta-services {padding:clamp(48px,6vw,78px) 0;background:#fff}
.sta-refonte .sta-services-head {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:32px;align-items:end;margin-bottom:28px}
.sta-refonte .sta-services-head h2 {margin:6px 0 0;font-size:clamp(28px,3vw,42px);line-height:1.16;letter-spacing:-.035em}
.sta-refonte .sta-services-head p:last-child {margin:0;color:#263a30;font-size:15px;line-height:1.65}
.sta-refonte .sta-service-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.sta-refonte .sta-service-card {min-width:0;padding:22px;border:1px solid #d9e9df;border-top:4px solid #0bae6d;border-radius:15px;background:#f0fbf4;box-shadow:0 5px 18px #103d3008}
.sta-refonte .sta-service-card:nth-child(3n+2) {background:#edf7ff;border-color:#d0e3f1;border-top-color:#28a4df}
.sta-refonte .sta-service-card:nth-child(3n) {background:#fff7e8;border-color:#f2e0bd;border-top-color:#f0ad35}
.sta-refonte .sta-service-card .sta-service-number {display:block;margin-bottom:14px;color:#006e47;font-size:11px;font-weight:700;letter-spacing:.08em}
.sta-refonte .sta-service-card h3 {margin:0 0 8px;font-size:19px;line-height:1.25}
.sta-refonte .sta-service-card p {margin:0;color:#263a30;font-size:14px;line-height:1.6}
.sta-refonte .sta-services-end {display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:22px}
.sta-refonte .sta-services-end .button {min-height:48px;white-space:normal}
.sta-refonte .sta-services-end p {margin:0;color:#52665b;font-size:12px}

/* Professionnels : deux parcours identifiables et contact direct. */
.sta-refonte .pc-hero .pc-lead {max-width:720px;line-height:1.65}
.sta-refonte .pc-actions.sta-hero-actions {display:flex;flex-wrap:wrap;gap:10px}
.sta-refonte .pc-actions.sta-hero-actions .sta-video-link {flex-basis:100%;justify-content:flex-start;text-align:left;padding-left:0}
.sta-refonte .sta-pro-line {margin:16px 0 0;color:#263a30;font-size:13px;line-height:1.55}
.sta-refonte .sta-pro-line strong {color:#006e47}

/* Formulaire : une entrée courte, des précisions vraiment facultatives. */
.sta-refonte .project-progress {display:flex;gap:12px}
.sta-refonte .project-progress li {min-width:0;flex:1}
.sta-refonte .project-trades {margin:15px 0 18px}
.sta-refonte .sta-form-intro {margin:0 0 18px;color:#263a30;font-size:14px;line-height:1.6}
.sta-refonte .sta-optional-fields {margin:18px 0;padding:0 15px;border:1px solid #d5e6dc;border-radius:10px;background:#f7fcf9}
.sta-refonte .sta-optional-fields>summary {min-height:48px;padding:12px 8px;cursor:pointer;list-style-position:inside;font-size:13px;font-weight:650}
.sta-refonte .sta-optional-fields>div {padding:2px 0 16px}
.sta-refonte .sta-optional-action {width:100%;min-height:48px;margin-top:16px;padding:11px 16px;border:1px solid #b8d7c6;border-radius:10px;background:#fff;color:#006e47;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.sta-refonte .sta-optional-action:hover {background:#f0fbf4}
.sta-refonte .sta-contact-help {font-size:12px;color:#52665b;line-height:1.55}
.sta-refonte .sta-simulation-notice {margin:16px 0 0;padding:14px 16px;border-left:4px solid #28a4df;border-radius:8px;background:#edf7ff;color:#263a30;font-size:14px;line-height:1.55}

/* Barre d'appel discrète sur mobile, dégagée lorsque le clavier ou une boîte
   de dialogue est ouvert. Elle ne s'affiche jamais sur STA Pilotage. */
.sta-mobile-contact {display:none}
@media(max-width:1024px) {
 html body.sta-refonte.layout-home .hp-hero-grid .hp-hero-actions {grid-row:4}
 html body.sta-refonte.layout-home .hp-hero-grid .sv-poster {grid-row:5}
 html body.sta-refonte.layout-home .hp-hero-grid .hp-free {grid-row:6}
 html body.sta-refonte.layout-home .hp-hero-grid .sta-hero-place {grid-row:7}
 html body.sta-refonte main .pc-hero .pc-actions {grid-row:4}
 html body.sta-refonte main .pc-hero .pc-hero-note {grid-row:5}
 html body.sta-refonte main .pc-hero .sv-poster {grid-row:6}
}
@media(max-width:700px) {
 .sta-refonte .sta-services-head {grid-template-columns:1fr;gap:14px}
 .sta-refonte .sta-service-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .sta-refonte .sta-service-card {padding:18px 15px}
 .sta-refonte .sta-service-card h3 {font-size:17px}
 .sta-refonte .sta-facts {gap:7px}
 .sta-refonte .sta-facts li {display:block;padding:13px 9px;text-align:center}
 .sta-refonte .sta-facts strong {display:block;margin-bottom:6px;font-size:23px}
 .sta-refonte .sta-facts span {display:block;font-size:11px}
 .sta-refonte .pc-actions.sta-hero-actions {display:grid;grid-template-columns:1fr;width:100%}
 .sta-refonte .pc-actions.sta-hero-actions .sta-video-link {justify-content:center;text-align:center;padding-left:8px}
 .sta-refonte.sta-has-mobile-contact {padding-bottom:76px}
 .sta-refonte .sta-mobile-contact {position:fixed;z-index:1100;bottom:0;left:0;right:0;display:grid;grid-template-columns:1fr 1.2fr;gap:8px;padding:9px max(12px,env(safe-area-inset-right)) max(9px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));border-top:1px solid #d5e6dc;background:#fffffffa;box-shadow:0 -6px 22px #103d3010}
 .sta-refonte .sta-mobile-contact a {display:flex;align-items:center;justify-content:center;min-height:46px;padding:9px 11px;border:1px solid #008153;border-radius:9px!important;text-align:center;text-decoration:none;font-size:13px;font-weight:650;line-height:1.25}
 .sta-refonte .sta-mobile-contact .sta-mobile-call {background:#fff;color:#006e47}
 .sta-refonte .sta-mobile-contact .sta-mobile-project {background:#008153;color:#fff}
 @supports selector(body:has(*)) {
  body.sta-refonte:has(#sta-consent:not([hidden])) .sta-mobile-contact,
  body.sta-refonte:has(dialog[open]) .sta-mobile-contact,
  body.sta-refonte:has(input:focus,select:focus,textarea:focus) .sta-mobile-contact {display:none}
 }
}
@media(max-width:380px) {
 .sta-refonte .sta-service-grid {grid-template-columns:1fr}
 .sta-refonte .sta-facts span {font-size:10px}
}
@media print {.sta-mobile-contact {display:none!important}}

/* Une arrivée plus compacte et un appel bien distinct du bouton principal. */
@media(min-width:801px) {
 .sta-refonte .orientation-header {padding-block:22px 18px}
 .sta-refonte .orientation-main {padding-top:35px;padding-bottom:48px}
 .sta-refonte .orientation-main .question-intro {padding-top:24px;padding-bottom:24px}
}
html body.sta-reading-palette.sta-refonte main .sta-hero-actions a.sta-call {
 background:#fff!important;background-image:none!important;color:#006e47!important;border-color:#a9cebb!important;
}
