/* Conseil et Formation V27 : charte commune, maquettes validées. */
.p27-page .p27-hero{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:36px;align-items:stretch;padding-top:48px;padding-bottom:44px}
.p27-page .p27-hero .hero-copy{display:block;min-width:0}
.p27-page .p27-hero .eyebrow{margin-bottom:18px}
.p27-page .p27-hero h1{font-size:clamp(42px,4.6vw,68px);line-height:1.08;letter-spacing:-1px;text-wrap:initial}
.p27-page .p27-hero h1 span{margin:0}
.p27-page .p27-introduction{margin-top:24px}
.p27-page .p27-introduction p{font:400 22px/1.6 Inter,Arial,sans-serif;color:var(--muted);text-wrap:pretty}
.p27-page .p27-introduction p+p{margin-top:14px}
.p27-page .p27-hero .hero-actions{margin-top:24px}
.p27-page .p27-hero .hero-actions .button.p27-primary{background:#126ee5;border-color:#126ee5;color:#fff;font-size:18px;min-height:58px;padding:16px 24px;gap:18px}
.p27-page .p27-hero .hero-actions .button.p27-primary:hover{background:#1266dc;border-color:#1266dc}
.p27-page .p27-hero .hero-actions .icon{width:24px;height:24px}
.p27-page .p27-reassurance{display:flex;align-items:flex-start;gap:12px;font-size:17px;line-height:1.5;margin-top:18px;color:var(--muted)}
.p27-page .p27-reassurance .icon{width:24px;height:24px;color:#126ee5}
.p27-page .p27-hero .activities{margin-top:34px;gap:28px}
.p27-page .p27-hero .activity{grid-template-columns:88px minmax(0,1fr);gap:22px;align-items:start}
.p27-page .p27-hero .activity .icon-disc{width:88px;height:88px;background:#eaf4ff}
.p27-page .p27-hero .activity .icon{width:46px;height:46px}
.p27-page .p27-hero .activity h2{font-size:28px;line-height:1.2;text-wrap:pretty;margin-bottom:8px}
.p27-page .p27-hero .activity p{font-size:19px;line-height:1.6;text-wrap:pretty}
.p27-page .p27-hero .activity .p27-label{font:500 14px/1.5 Inter,Arial,sans-serif;text-transform:uppercase;letter-spacing:.02em;color:var(--blue-text);margin-bottom:6px}
.p27-page .p27-visual{position:relative;min-width:0;min-height:0;margin:39px 0 0;border-radius:12px;overflow:hidden;background:#edf5fc}
.p27-page .p27-visual img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.p27-page .p27-band{background:#edf7ff;padding:40px 0;text-align:center}
.p27-page .p27-band h2{font-size:clamp(34px,3.8vw,54px);line-height:1.15;letter-spacing:-.8px;text-wrap:balance}
.p27-page .p27-band>.container>p{font-size:21px;line-height:1.65;max-width:1220px;margin:16px auto 0;color:var(--muted)}
.p27-page .p27-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;list-style:none;margin:28px 0 0;padding:0;text-align:left}
.p27-page .p27-benefits li{display:flex;gap:14px;align-items:center;min-width:0;font-size:19px;line-height:1.5;color:var(--navy)}
.p27-page .p27-benefits .icon{width:38px;height:38px;color:#126ee5}
.p27-page .method{padding-top:40px;padding-bottom:36px}
.p27-page .method .section-heading h2{font-size:clamp(36px,4.1vw,58px);line-height:1.1}
.p27-page .step{padding:28px 22px;min-height:380px;justify-content:flex-start}
.p27-page .step-top{margin-bottom:20px}
.p27-page .step-top .icon-disc{width:104px;height:104px;background:#eaf4ff}
.p27-page .step-top .icon{width:56px;height:56px}
.p27-page .step h3,.p27-page .steps.count-4 h3{display:block;font-size:28px;line-height:1.2;min-height:2.4em;margin-bottom:16px;text-wrap:initial}
.p27-page .step p{font:400 19px/1.6 Inter,Arial,sans-serif;max-width:360px;color:#48556a}
.p27-page .step .p27-result{margin-top:auto;padding-top:18px;width:100%;border-top:1px solid #e4effa;color:#1266dc;font-size:17px;line-height:1.5;font-weight:500}
.p27-page .step p:not(.p27-result){margin-bottom:20px}
.p27-page .cta{margin-top:0;margin-bottom:20px;align-items:center;padding:34px}
.p27-page .cta h2{font-size:clamp(30px,3vw,42px)}
.p27-page .cta p{font-size:20px;line-height:1.5}
.p27-page .cta .button{align-self:center}
.conseil-page.p27-page .cta{background:linear-gradient(100deg,rgba(3,31,66,.96),rgba(0,62,116,.88)),url('conseil-atelier-v27.webp') center 55%/cover}
.conseil-page.p27-page .steps.count-4{gap:32px}
.conseil-page.p27-page .step{min-height:430px}
.conseil-page.p27-page .step:not(:last-child)::after{content:'';position:absolute;right:-23px;top:50%;left:auto;bottom:auto;width:10px;height:10px;border-right:2px solid var(--blue);border-bottom:2px solid var(--blue);transform:translateY(-50%) rotate(-45deg);pointer-events:none}
/* Formation : le titre occupe une rangée avant les deux colonnes. */
.formation-page.p27-page .p27-formation-heading{padding-top:48px}
.formation-page.p27-page .p27-formation-heading .eyebrow{margin-bottom:18px}
.formation-page.p27-page .p27-formation-heading h1{font-size:clamp(40px,5vw,72px);line-height:1.08;letter-spacing:-1px;text-wrap:initial}
.formation-page.p27-page .p27-formation-heading h1 span{margin-top:0}
.formation-page.p27-page .p27-hero{padding-top:32px}
.formation-page.p27-page .p27-introduction{margin-top:0}
.formation-page.p27-page .p27-visual{margin-top:0}
.formation-page.p27-page .p27-visual img{object-position:70% center}
.formation-page.p27-page .p27-hero .activities{gap:26px}
.formation-page.p27-page .p27-band h2{font-size:clamp(32px,3.45vw,50px)}
.formation-page.p27-page .p27-format-list{list-style:none;padding:0;margin:28px 0 0;display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:0}
.formation-page.p27-page .p27-format-list li{display:flex;align-items:center;justify-content:center;gap:16px;padding:0 24px;font-size:18px;line-height:1.5;font-weight:500;min-width:0}
.formation-page.p27-page .p27-format-list li+li{border-left:1px solid #70afff}
.formation-page.p27-page .p27-format-list .icon{width:34px;height:34px;color:#126ee5}
.formation-page.p27-page .p27-band>.container>.p27-english{font-size:18px;margin-top:28px}
.formation-page.p27-page .p27-facilities{padding:32px 0}
.formation-page.p27-page .p27-facilities .p27-format-list{grid-template-columns:repeat(3,minmax(0,1fr))}
.formation-page.p27-page .p27-certifications{padding-top:32px;padding-bottom:32px;max-width:1000px}
.formation-page.p27-page .p27-certifications img{width:100%;max-width:850px;height:auto;margin:0 auto}
.formation-page.p27-page .p27-certification-copy{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:850px;margin:18px auto 0;text-align:center}
.formation-page.p27-page .p27-certification-copy p{font-size:17px;line-height:1.55}
.formation-page.p27-page .p27-training-cta{display:flex;flex-direction:column;text-align:center;gap:20px;background:linear-gradient(100deg,rgba(3,31,66,.96),rgba(0,62,116,.88)),url('formation.webp') center 40%/cover}
.formation-page.p27-page .p27-training-cta h2{font-size:clamp(30px,3vw,42px);text-wrap:balance;max-width:100%}
.formation-page.p27-page .p27-training-cta .button{align-self:center;max-width:none}
@media(max-width:1279px){
 .p27-page .p27-hero{grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:28px;padding-top:36px}
 .p27-page .p27-hero h1{font-size:clamp(40px,4.6vw,60px)}
 .p27-page .p27-introduction p{font-size:20px}
 .p27-page .p27-hero .activity{grid-template-columns:68px minmax(0,1fr);gap:16px}
 .p27-page .p27-hero .activity .icon-disc{width:68px;height:68px}
 .p27-page .p27-hero .activity .icon{width:38px;height:38px}
 .p27-page .p27-hero .activity h2{font-size:25px}
 .p27-page .p27-hero .activity p{font-size:18px}
 .p27-page .step h3,.p27-page .steps.count-4 h3{font-size:27px}
 .conseil-page.p27-page .steps.count-4{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
 .conseil-page.p27-page .step:nth-child(2)::after{display:none}
 .p27-page .p27-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}
 .formation-page.p27-page .p27-format-list li{padding:0 16px;gap:12px;font-size:17px}
 .formation-page.p27-page .p27-format-list .icon{width:28px;height:28px}
}
@media(max-width:980px){
 .p27-page .p27-hero{grid-template-columns:1fr;gap:28px}
 .p27-page .p27-visual{width:100%;max-width:720px;aspect-ratio:4/5;justify-self:center;margin-top:0}
 .p27-page .p27-visual img{object-fit:cover}
 .formation-page.p27-page .p27-visual{aspect-ratio:4/3}
 .p27-page .p27-introduction p{max-width:100%}
 .p27-page .step{min-height:0}
 .p27-page .step h3,.p27-page .steps.count-4 h3{min-height:0}
 .p27-page .step p{max-width:600px}
 .formation-page.p27-page .p27-format-list{grid-template-columns:1fr;gap:20px;max-width:640px;margin:28px auto 0}
 .formation-page.p27-page .p27-format-list li{border:0;justify-content:flex-start;font-size:19px;padding:0}
 .formation-page.p27-page .p27-format-list li+li{border:0}
 .formation-page.p27-page .p27-facilities .p27-format-list{grid-template-columns:1fr}
 .p27-page .step .p27-result{margin-top:4px}
}
@media(max-width:700px){
 .p27-page .p27-hero{padding-top:24px;padding-bottom:32px;gap:28px}
 .p27-page .p27-hero .eyebrow{font-size:12px;margin-bottom:12px}
 .p27-page .p27-hero h1{font-size:clamp(32px,7.8vw,42px);letter-spacing:-.7px;line-height:1.08}
 .p27-page .p27-introduction{margin-top:18px}
 .p27-page .p27-introduction p{font-size:18px;line-height:1.55}
 .p27-page .p27-introduction p+p{margin-top:12px}
 .p27-page .p27-hero .hero-actions{margin-top:20px}
 .p27-page .p27-hero .hero-actions .button.p27-primary{font-size:16px;min-height:54px;padding:14px 18px;gap:12px}
 .p27-page .p27-reassurance{font-size:16px;margin-top:16px}
 .p27-page .p27-hero .activities{margin-top:28px;gap:24px}
 .p27-page .p27-hero .activity{grid-template-columns:56px minmax(0,1fr);gap:16px}
 .p27-page .p27-hero .activity .icon-disc{width:56px;height:56px}
 .p27-page .p27-hero .activity .icon{width:32px;height:32px}
 .p27-page .p27-hero .activity h2{font-size:24px}
 .p27-page .p27-hero .activity p{font-size:18px}
 .p27-page .p27-hero .activity .p27-label{font-size:12px}
 .p27-page .p27-band{padding:30px 0}
 .p27-page .p27-band h2{font-size:32px}
 .p27-page .p27-band>.container>p{font-size:18px}
 .p27-page .p27-benefits{gap:20px;grid-template-columns:1fr;margin-top:24px}
 .p27-page .p27-benefits li{font-size:18px}
 .p27-page .method{padding-top:30px;padding-bottom:28px}
 .p27-page .method .section-heading h2{font-size:34px}
 .p27-page .step{padding:28px 24px}
 .p27-page .step h3,.p27-page .steps.count-4 h3{font-size:28px}
 .p27-page .step p{font-size:18px}
 .p27-page .step-top .icon-disc{width:96px;height:96px}
 .p27-page .step-top .icon{width:52px;height:52px}
 .conseil-page.p27-page .steps.count-4{grid-template-columns:1fr;gap:32px}
 .conseil-page.p27-page .step{min-height:0}
 .conseil-page.p27-page .step:not(:last-child)::after{display:block;top:auto;right:auto;bottom:-23px;left:50%;transform:translateX(-50%) rotate(45deg)}
 .p27-page .cta{padding:28px 24px}
 .p27-page .cta h2{font-size:30px}
 .p27-page .cta p{font-size:18px}
 .formation-page.p27-page .p27-formation-heading{padding-top:24px}
 .formation-page.p27-page .p27-formation-heading .eyebrow{font-size:12px;margin-bottom:12px}
 .formation-page.p27-page .p27-formation-heading h1{font-size:clamp(32px,7.8vw,42px);letter-spacing:-.7px;line-height:1.08}
 .formation-page.p27-page .p27-hero{padding-top:24px}
 .formation-page.p27-page .p27-introduction{margin-top:0}
 .formation-page.p27-page .p27-band h2{font-size:32px}
 .formation-page.p27-page .p27-format-list li{font-size:17px;gap:12px}
 .formation-page.p27-page .p27-band>.container>.p27-english{font-size:17px}
 .formation-page.p27-page .p27-certifications{padding-top:26px;padding-bottom:26px}
 .formation-page.p27-page .p27-certification-copy{gap:18px}
 .formation-page.p27-page .p27-certification-copy p{font-size:14px}
 .formation-page.p27-page .p27-training-cta h2{font-size:30px}
}


/* V34 : interactions et bandeaux communs aux six pages. */
body.index-page .service-card{cursor:pointer;transition:background-color .2s,border-color .2s,box-shadow .2s,transform .2s;will-change:auto}
@media(hover:hover){
 body.index-page .service-card:hover{background:#f0f7ff;border-color:#0085ff;box-shadow:0 9px 24px rgba(7,76,151,.12);transform:translateY(-4px)}
}
body.index-page .service-card:focus-visible{background:#f0f7ff;border-color:#0085ff;box-shadow:0 9px 24px rgba(7,76,151,.12);outline:2px solid #0767c6;outline-offset:4px;transform:translateY(-4px)}
/* Les cartes de méthode restent informatives, sans faux signal de clic. */
body.service-page .step{border-color:var(--luk-card-border,#e9f1fa);box-shadow:var(--luk-card-shadow,0 3px 15px rgba(13,49,93,.055))}
body{--cta-photo:url('accueil-patchwork-hd.webp');--cta-position:center 55%}
body.assistance-page{--cta-photo:url('assistance.webp');--cta-position:center 35%}
body.conseil-page{--cta-photo:url('conseil-atelier-v27.webp')}
body.equipements-page{--cta-photo:url('equipements.webp');--cta-position:center 25%}
body.formation-page{--cta-photo:url('formation.webp')}
body:is(.index-page,.service-page) main>.cta.container{
 display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:32px;
 padding:44px 48px;margin-top:32px;margin-bottom:20px;min-height:0;text-align:left;border-radius:12px;
 background-color:#082c50;
 background-image:linear-gradient(100deg,rgba(3,27,57,.96),rgba(4,49,86,.94)),var(--cta-photo);
 background-position:var(--cta-position);background-size:cover;background-repeat:no-repeat
}
body:is(.index-page,.service-page) main>.cta.container>div{min-width:0}
body:is(.index-page,.service-page) main>.cta.container h2{
 font-family:'Playfair Display',Georgia,serif;font-weight:600;font-size:clamp(30px,2.65vw,40px);line-height:1.16;letter-spacing:-.6px;color:#fff;white-space:normal;text-wrap:pretty
}
body:is(.index-page,.service-page) main>.cta.container p{font-size:20px;line-height:1.5;margin-top:14px;color:#edf4fc}
body:is(.index-page,.service-page) main>.cta.container>.button{
 align-self:center;justify-self:end;min-height:56px;max-width:300px;padding:14px 24px;line-height:1.4;font-size:16px;
 white-space:normal;text-align:center;text-wrap:balance;background:#fff;color:var(--navy);border-color:#fff
}
body:is(.index-page,.service-page) main>.cta.container>.button:hover{background:#edf6ff;border-color:#edf6ff}
body a.button:focus-visible,body .phone-link:focus-visible,body .header-phone:focus-visible{outline:3px solid #0085ff;outline-offset:4px}
body:is(.index-page,.service-page) main>.cta.container>.button:focus-visible{outline:3px solid #fff;outline-offset:5px}
@media(max-width:1100px){
 body:is(.index-page,.service-page) main>.cta.container{grid-template-columns:1fr;padding:36px;gap:24px}
 body:is(.index-page,.service-page) main>.cta.container>.button{justify-self:start;max-width:100%}
}
@media(max-width:700px){
 body:is(.index-page,.service-page) main>.cta.container{padding:30px 24px;margin-top:24px;gap:22px}
 body:is(.index-page,.service-page) main>.cta.container h2{font-size:30px;line-height:1.2}
 body:is(.index-page,.service-page) main>.cta.container p{font-size:18px}
 body:is(.index-page,.service-page) main>.cta.container>.button{min-height:54px;font-size:16px;padding:14px 20px}
}
@media(prefers-reduced-motion:reduce){
 body.index-page .service-card{transition:none}
 body.index-page .service-card:hover,body.index-page .service-card:focus-visible{transform:none}
}


/* V37 : cartes Assistance alignées sur les expertises de l’accueil. */
body.assistance-page .method .step{align-items:center;text-align:center;padding:32px 24px 36px;min-height:350px;background:linear-gradient(150deg,#fff,#fcfdff);border:1px solid #e9f1fa;border-radius:10px;box-shadow:0 3px 15px rgba(13,49,93,.055)}
body.assistance-page .method .step .step-top{align-items:center;justify-content:center;width:100%;margin-bottom:22px}
body.assistance-page .method .step .icon-disc{width:112px;height:112px;background:#eaf4ff}
body.assistance-page .method .step .icon{width:60px;height:60px}
body.assistance-page .method .step h3{display:block;flex:none;text-align:center;font-size:clamp(22px,1.8vw,26px);line-height:1.2;letter-spacing:-.5px;min-height:2.4em;height:2.4em;margin:0 0 20px;text-wrap:initial}
body.assistance-page .method .step p{text-align:center;font:400 20px/1.6 Inter,Arial,sans-serif;max-width:320px;margin:0;color:#48556a}
/* Deux lignes intentionnelles : le mot composé ne peut plus être coupé. */
body.conseil-page main>.cta.container>.button .p37-project-label{display:block;font:inherit;line-height:1.4;text-align:center}
body.conseil-page main>.cta.container>.button .p37-project-label>span{display:block;white-space:nowrap;word-break:normal;overflow-wrap:normal;hyphens:none}
@media(max-width:1279px){body.assistance-page .method .step h3{font-size:28px}}
@media(max-width:980px){body.assistance-page .method .step{min-height:0}body.assistance-page .method .step h3{height:auto;min-height:0}body.assistance-page .method .step p{max-width:480px;font-size:19px}}
@media(max-width:700px){body.assistance-page .method .step{padding:30px 24px 34px}body.assistance-page .method .step h3{font-size:27px;margin-bottom:18px}body.assistance-page .method .step p{font-size:19px;max-width:320px}}

