/* Shared visitor-facing contact form and a concise footer. */
html:root body.ap-client .ap-content-contact-section .ap-content-contact-card{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);gap:clamp(28px,5vw,72px);align-items:start;color:var(--ap-section-light-text,#233e43)}
html:root body.ap-client .ap-content-contact-section .ap-content-contact-copy{max-width:440px}
html:root body.ap-client .ap-content-contact-section .ap-content-contact-copy :is(h1,h2){font-size:clamp(30px,4vw,48px);line-height:1.1;text-transform:none;margin:0 0 20px;letter-spacing:-.035em;color:inherit}
html:root body.ap-client .ap-content-contact-section .ap-content-contact-copy p{font-size:16px;line-height:1.7}
html:root body.ap-client .ap-content-contact-section.is-dark .ap-content-contact-card{color:var(--ap-section-dark-text,#fff)}
html:root body.ap-client .ap-content-contact-section :is(.ap-content-contact-form,.ap-contact-form){display:grid;gap:20px;min-width:0;width:100%;max-width:760px}
html:root body.ap-client .ap-content-contact-form>label,html:root body.ap-client .ap-content-contact-row>label{display:grid;gap:8px;margin:0;min-width:0;font-size:14px;font-weight:600}
html:root body.ap-client .ap-content-contact-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
html:root body.ap-client :is(.ap-content-contact-form,.ap-contact-form) :is(input:not([type=hidden]),select,textarea){box-sizing:border-box;max-width:100%;width:100%;min-height:50px;border:1px solid color-mix(in srgb,currentColor 25%,transparent);border-radius:10px;padding:12px 14px;font:inherit;line-height:1.5;color:inherit;background:color-mix(in srgb,currentColor 4%,transparent)}
html:root body.ap-client :is(.ap-content-contact-form,.ap-contact-form) textarea{min-height:150px;resize:vertical}
html:root body.ap-client :is(.ap-content-contact-form,.ap-contact-form) :is(input,select,textarea):focus-visible{outline:2px solid var(--ap-accent,#b59450);outline-offset:3px}
html:root body.ap-client .ap-content-contact-actions{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-top:4px}
html:root body.ap-client .ap-content-contact-actions .ap-btn{min-height:50px;padding:13px 22px}
html:root body.ap-client .ap-content-contact-copy .wc-contact-channels{display:grid;justify-content:start;gap:10px;margin:24px 0 0}
html:root body.ap-client .ap-content-contact-copy .wc-contact-channels .ap-btn{justify-content:flex-start;min-width:0;min-height:46px}
html:root body.ap-client .ap-site-footer-social{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
html:root body.ap-client .ap-site-footer-social a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid currentColor;border-radius:8px;text-decoration:none;font-size:13px}
html:root body.ap-client .ap-site-footer-social svg{flex:none;width:18px;height:18px}
html:root body.ap-client .ap-site-footer-contact{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:14px}
html:root body.ap-client .ap-site-footer-contact a{overflow-wrap:anywhere;text-decoration:none}
html:root body.ap-client .ap-site-footer a:hover{text-decoration:underline;text-underline-offset:4px}
@media(max-width:720px){html:root body.ap-client .ap-content-contact-section .ap-content-contact-card{grid-template-columns:minmax(0,1fr);gap:28px}html:root body.ap-client .ap-content-contact-row{grid-template-columns:minmax(0,1fr)}html:root body.ap-client .ap-content-contact-copy .wc-contact-channels{display:flex;flex-wrap:wrap}html:root body.ap-client .ap-content-contact-section .ap-content-contact-copy{max-width:none}}

html:root body.ap-client .ap-contact-hero{min-height:0!important;padding-block:clamp(30px,5vw,64px)!important}html:root body.ap-client .ap-contact-hero .ap-auto-hero-title{font-size:clamp(32px,5vw,56px)!important;line-height:1.1!important}html:root body.ap-client .ap-contact-hero .ap-auto-hero-media{max-height:420px!important}

/* Short hero for standalone Contact / RDV; the form keeps its own heading. */
html body.ap-client .wc-contact-hero{position:relative;isolation:isolate;display:grid;align-content:center;min-height:160px;margin:0;padding:32px clamp(20px,5vw,72px);overflow:hidden;box-sizing:border-box;background:var(--ap-section-dark,#233e43);color:var(--ap-section-dark-text,#fff)}
html body.ap-client .wc-contact-hero img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center}
html body.ap-client .wc-contact-hero.has-image::before{content:"";position:absolute;inset:0;z-index:-1;background:rgba(0,0,0,.5)}
html body.ap-client .wc-contact-hero h1{margin:0;max-width:1000px;font-size:clamp(28px,3vw,40px);line-height:1.12;color:inherit;text-shadow:none;overflow-wrap:anywhere}
html body.ap-client .wc-contact-hero.has-image{color:#fff}
@media(max-width:720px){html body.ap-client .wc-contact-hero{min-height:130px;padding:24px 20px}}

/* Contact/RDV use the same editorial edges as every page, including wide screens. */
html body.ap-client .wc-contact-hero{padding-inline:0}
html body.ap-client .wc-contact-hero h1{width:var(--wc-hero-content-width,min(1220px,calc(100vw - 44px)));max-width:calc(100% - 44px);margin-inline:auto}

/* The catalogue examples sit on a flat surface, independent of the section effects. */
html:root body.ap-client .ap-main .hc-block-catalogue section.ap-pack-section.ap-content-contact-section{
  background:var(--ap-section-light,#f4f1e7)!important;
  border:0!important;
  box-shadow:none!important;
}
html:root body.ap-client .hc-block-catalogue .ap-content-contact-copy h2{
  font-size:clamp(26px,3vw,38px)!important;
  line-height:1.15;
  text-shadow:none!important;
}
html:root body.ap-client .hc-block-catalogue .ap-content-contact-actions .ap-btn{
  box-shadow:none!important;
}

/* Form headings follow the colours of their own section. */
html:root body.ap-client main.ap-main section.ap-content-contact-section .ap-content-contact-copy :is(h1,h2){
  color:var(--ap-block-title,inherit)!important;
  -webkit-text-fill-color:currentColor!important;
}
