/* Je suis aidant: page-scoped layout; shared header, forms and other pages untouched. */
body.eda-aidant-page { --aidant-ink:#143b55; --aidant-copy:#506779; --aidant-line:#d8e5e7; --aidant-green:#126d72; }
body.eda-aidant-page #contenu { overflow-wrap:break-word; }
body.eda-aidant-page #contenu .shell { width:calc(100% - 48px); max-width:1200px; margin-inline:auto; }
body.eda-aidant-page #contenu .section { padding-block:clamp(44px,6vw,76px); }
body.eda-aidant-page #contenu .page-hero { padding-block:clamp(40px,5vw,68px); background:linear-gradient(120deg,#fffaf4,#f0f8f6); }
body.eda-aidant-page #contenu .page-hero-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:40px; align-items:center; }
body.eda-aidant-page #contenu .page-hero-grid > * { min-width:0; margin:0; }
body.eda-aidant-page #contenu h1 { font-size:clamp(2rem,3.7vw,3.35rem); line-height:1.13; letter-spacing:-.03em; margin:16px 0 22px; }
body.eda-aidant-page #contenu .page-lead { font-size:1.1rem; line-height:1.7; max-width:58ch; color:var(--aidant-copy); }
body.eda-aidant-page #contenu .page-hero-visual { border-radius:22px; overflow:hidden; }
body.eda-aidant-page #contenu .page-hero-visual img { display:block; width:100%; height:auto; }
body.eda-aidant-page #contenu .section-heading { max-width:760px; margin:0 0 28px; }
body.eda-aidant-page #contenu h2 { font-size:clamp(1.6rem,2.6vw,2.3rem); line-height:1.22; letter-spacing:-.02em; margin:0 0 16px; }
body.eda-aidant-page #contenu .section-heading > p:not(.eyebrow) { font-size:1.05rem; line-height:1.7; color:var(--aidant-copy); margin:0; }
body.eda-aidant-page #contenu .eyebrow { font-size:.76rem; line-height:1.5; letter-spacing:.1em; color:var(--aidant-green); margin:0 0 12px; }
body.eda-aidant-page #contenu :is(.eda-aidant-links,.editorial-card-grid,.service-list) { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; margin:0; padding:0; }
body.eda-aidant-page #contenu .service-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
body.eda-aidant-page #contenu :is(.eda-aidant-links,.editorial-card-grid,.service-list) > article { display:flex; flex-direction:column; gap:0; min-width:0; height:100%; margin:0; padding:28px; border:1px solid var(--aidant-line); border-radius:20px; background:#fff; box-shadow:0 5px 20px rgb(20 59 85 / 3%); box-sizing:border-box; }
body.eda-aidant-page #contenu h3 { font-size:1.35rem; line-height:1.3; letter-spacing:-.015em; color:var(--aidant-ink); margin:0 0 14px; }
body.eda-aidant-page #contenu article p:not(.eyebrow) { font-size:1rem; line-height:1.7; color:var(--aidant-copy); margin:0; }
body.eda-aidant-page #contenu .eda-aidant-links > article { border-top:3px solid #348782; }
body.eda-aidant-page #contenu .eda-aidant-links a { display:inline-flex; align-items:center; gap:12px; min-height:44px; margin-top:auto; padding-top:22px; color:var(--aidant-green); font-size:1rem; font-weight:700; line-height:1.5; text-underline-offset:5px; }
body.eda-aidant-page #contenu .eda-aidant-links a span { margin-left:auto; }
body.eda-aidant-page #contenu a:focus-visible { outline:3px solid #126d72; outline-offset:5px; }
body.eda-aidant-page #contenu .section-pale { background:#f2f7f8; }
body.eda-aidant-page #contenu .service-list > article > span { display:flex; justify-content:center; align-items:center; width:36px; height:36px; margin:0 0 18px; border-radius:10px; background:#edf6f3; color:var(--aidant-green); font-size:.8rem; font-weight:700; }
body.eda-aidant-page #contenu .service-list > article > div { margin:0; min-width:0; }
body.eda-aidant-page #contenu .centered-actions { margin-top:28px; gap:14px; }
body.eda-aidant-page #contenu .button-row { gap:14px; margin-top:24px; }
body.eda-aidant-page #contenu .wp-block-button__link { font-size:1rem; line-height:1.4; min-height:48px; padding:14px 22px; white-space:normal; text-align:center; box-sizing:border-box; }
body.eda-aidant-page #contenu .final-contact { padding-top:0; }
body.eda-aidant-page #contenu .final-contact-card { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:32px; align-items:center; border:1px solid var(--aidant-line); border-radius:20px; padding:clamp(24px,4vw,44px); background:#eef7f4; color:var(--aidant-ink); }
body.eda-aidant-page #contenu .final-contact-card > div { min-width:0; margin:0; }
body.eda-aidant-page #contenu .final-contact-card h2 { color:var(--aidant-ink); }
body.eda-aidant-page #contenu .final-contact-card p:not(.eyebrow) { color:var(--aidant-copy); font-size:1rem; line-height:1.7; margin:0; }
body.eda-aidant-page #contenu .final-contact-card .button-ghost a { background:#fff; border:1px solid #afc8c5; color:var(--aidant-ink); }
@media(max-width:960px) {
 body.eda-aidant-page #contenu .page-hero-grid { grid-template-columns:minmax(0,1fr); gap:28px; }
 body.eda-aidant-page #contenu .page-hero-visual { max-width:640px; }
 body.eda-aidant-page #contenu .eda-aidant-links { grid-template-columns:minmax(0,1fr); }
 body.eda-aidant-page #contenu .editorial-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 body.eda-aidant-page #contenu .final-contact-card { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:600px) {
 body.eda-aidant-page #contenu .shell { width:calc(100% - 32px); }
 body.eda-aidant-page #contenu :is(.editorial-card-grid,.service-list) { grid-template-columns:minmax(0,1fr); }
 body.eda-aidant-page #contenu :is(.eda-aidant-links,.editorial-card-grid,.service-list) > article { padding:24px; }
 body.eda-aidant-page #contenu :is(.wp-block-buttons,.wp-block-button,.wp-block-button__link) { width:100%; }
}
