/* AOYMA — candidate finale, 03/10/2026.
   Finitions communes dérivées de G3.1. Aucun changement d'offre ni de police. */

/* Même repère personnel que sur l'Accueil. */
html body.aoyma-finition[data-page="methode"] .aoyma-person {position:relative;}
html body.aoyma-finition[data-page="methode"] .aoyma-person::before {
 content:"";position:absolute;pointer-events:none;left:-24px;top:2px;bottom:4px;width:6px;
 background:radial-gradient(circle at 3px 3px,var(--ink) 0 2.5px,transparent 2.9px),
 linear-gradient(var(--muted3,#67645e),var(--muted3,#67645e)) center bottom / 1px calc(100% - 12px) no-repeat;
}
/* Le cas détaillé conserve son organisation. Le repère reste dans la marge. */
html body.aoyma-finition[data-page="service"] .case-needs {position:relative;}
html body.aoyma-finition[data-page="service"] .case-needs::before {
 content:"";position:absolute;pointer-events:none;left:-32px;top:8px;bottom:8px;width:1px;
 background:rgba(103,100,94,.44);
}
/* Le même contact reçoit le même crochet ouvert, sans transformer les prix. */
html body.aoyma-finition[data-page="formules"] .aoyma-form-component {position:relative;isolation:isolate;}
html body.aoyma-finition[data-page="formules"] .aoyma-form-component::before {
 content:"";position:absolute;pointer-events:none;left:-28px;top:-24px;bottom:-24px;width:20px;
 background:linear-gradient(var(--ink),var(--ink)) left top / 20px 3px no-repeat,
 linear-gradient(var(--ink),var(--ink)) left bottom / 20px 3px no-repeat,
 linear-gradient(var(--muted3,#67645e),var(--muted3,#67645e)) left center / 1px 100% no-repeat;
}
.aoyma-skip-link {position:fixed;z-index:200;left:16px;top:8px;padding:12px 18px;background:#11110f;color:#faf9f5;transform:translateY(-180%);font:600 16px/1.5 var(--font-functional);}
.aoyma-skip-link:focus {transform:none;outline:2px solid #faf9f5;outline-offset:2px;}
@media(max-width:980px){
 html body.aoyma-finition[data-page="service"] .case-needs::before {display:none;}
 html body.aoyma-finition[data-page="formules"] .aoyma-form-component::before {left:-12px;top:-20px;bottom:-20px;width:12px;background-size:12px 3px,12px 3px,1px 100%;}
}
@media(max-width:720px){
 html body.aoyma-finition[data-page="methode"] .aoyma-person::before {left:-16px;}
}

/* Les cibles d'ancre suivent la hauteur réelle, y compris après agrandissement. */
html body.aoyma-finition[data-page][data-language] :is(#contact,#contact-form,[id]) {scroll-margin-top:var(--aoyma-anchor-offset,248px)!important;}
.aoyma-local-preview {margin:0 0 20px;padding:12px;border:1px solid currentColor;font:500 14px/1.5 var(--font-functional);}
/* Mots anglais plus longs : on libère la mesure plutôt que raccourcir le texte. */
@media(min-width:721px) and (max-width:1100px){
 html body.aoyma-finition[data-language="en"] .experience-grid .strong {max-width:none!important;width:auto!important;}
 html body.aoyma-finition[data-language="en"] .forfait h2 .aoyma-line {white-space:normal!important;}
}
@media(max-width:720px){
 /* Navigation visible et utilisable au doigt ; le header libère l'écran au défilement. */
 html body.aoyma-finition .aoyma-header {position:relative!important;}
 .aoyma-header-inner {padding:16px 24px!important;gap:8px!important;}
 .aoyma-header-inner {grid-template-columns:minmax(0,1fr)!important;}
 .aoyma-header-inner > *, .c1-inner * {min-width:0!important;}
 html body.aoyma-finition :is(h1,h2,h3,p,li,a,summary,.aoyma-line,.h1-primary,.h1-secondary,.process-label,.role-label,.aoyma-brand-purpose) {overflow-wrap:anywhere;}
 html body.aoyma-finition .home-case .case-paper {max-width:100%!important;width:auto!important;}
 html body.aoyma-finition .home-seasons .setup-price,
 html body.aoyma-finition .home-seasons .setup-price strong {white-space:normal!important;}
 .aoyma-nav {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important;width:100%;}
 .aoyma-nav a {white-space:normal!important;display:flex;align-items:center;min-height:44px;line-height:1.4;}
 .aoyma-language a {display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;}
 .aoyma-header-cta {min-height:44px;}
 .aoyma-footer :is(a) {display:inline-flex;align-items:center;min-height:44px;}
 html body.aoyma-finition .home-case .case-link {display:inline-block!important;margin-top:18px!important;}
 html body.aoyma-finition[data-page="methode"] .tech-title-primary,
 html body.aoyma-finition[data-page="methode"] .judgment-title {
  max-width:100%!important;font-size:clamp(34px,9.7vw,44px)!important;line-height:1.08!important;letter-spacing:-.025em!important;
 }
}
@media(max-height:500px){html body.aoyma-finition .aoyma-header {position:relative!important;}}
