/*
Theme Name: Nova Trajectoire
Description: Thème vitrine sur mesure pour Nova Trajectoire.
Version: 1.13.12
Requires PHP: 7.4
Text Domain: nova-trajectoire
*/
@font-face {
    font-family: 'Barlow Semi Condensed';
    src: url('assets/fonts/barlow-semi-condensed-600.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: 'Barlow Semi Condensed';
    src: url('assets/fonts/barlow-semi-condensed-700.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'Source Sans 3';
    src: url('assets/fonts/source-sans-3.woff2') format('woff2');
    font-weight: 400 750;
    font-display: swap;
}

:root {
    --ink: #271d19;
    --muted: #62524b;
    --accent: #aa321d;
    --warm: #faf2ed;
    --line: #e8d7ce;
    --paper: #fffdfa;
    --display: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nova-header-height, 6rem) + var(--wp-admin--admin-bar--height, 0px)); }
@media (max-width: 600px) {
    html { scroll-padding-top: var(--nova-header-height, 9.5rem); }
}
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Source Sans 3', system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.6; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid #7d280f; outline-offset: 4px; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 20; padding: .6rem 1rem; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }
.wrap { width: min(74rem, calc(100% - 3rem)); margin-inline: auto; }
.site-header, .foot-inner { padding-inline: clamp(1rem, 3vw, 3rem); }
.site-header { position: sticky; top: 0; z-index: 10; min-height: 90px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .75rem 1rem; border-bottom: 1px solid var(--line); padding-block: .8rem; background: var(--paper); }
@media (min-width: 601px) {
    .admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
}
.brand { display: inline-flex; justify-self: start; align-items: center; }
.brand img { display: block; width: clamp(3rem, 6vw, 4.25rem); height: auto; mix-blend-mode: multiply; }
.site-header nav { display: flex; justify-content: center; align-items: center; gap: clamp(.85rem, 2.2vw, 2rem); }
.site-header nav a { font-size: 1rem; font-weight: 650; text-decoration: none; }
.site-header nav > a, .nav-interventions > a { padding-block: .6rem; white-space: nowrap; }
.site-header nav > a, .nav-interventions > a { position: relative; }
.site-header nav > a::after, .nav-interventions > a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 15%, #d97922);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 190ms ease-out;
}
.site-header nav > a::after, .nav-interventions > a::after { bottom: .45rem; }
.site-header nav > a:is(:hover, :focus-visible, [aria-current="page"])::after,
.nav-interventions > a:is(:hover, :focus-visible, [aria-current="page"])::after,
.nav-interventions:has(.nav-dropdown[open]) > a::after { transform: scaleX(1); }
.site-header nav > a[aria-current="page"], .nav-interventions > a[aria-current="page"] { color: var(--accent); }
.site-header .header-contact { justify-self: end; border-radius: 2rem; padding-inline: 1.4rem; box-shadow: 0 .25rem .7rem #aa321d30; }
p { margin: 0 0 1rem; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; margin: 0 0 1.3rem; line-height: 1.06; }
h1 { font-size: clamp(2.85rem, 5.5vw, 5.1rem); }
h1 em { font-weight: 700; font-style: normal; color: var(--accent); }
h2 { font-size: clamp(2.45rem, 4.6vw, 4.2rem); }
h3 { font-family: var(--display); font-weight: 700; margin: 0 0 .65rem; line-height: 1.25; font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -.025em; }
.eyebrow { color: var(--accent); font-size: .875rem; font-weight: 720; letter-spacing: .045em; }
.intro { font-size: clamp(1.08rem, 2vw, 1.25rem); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.3rem; margin-top: 1.75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; color: white; background: var(--accent); border: 1px solid var(--accent); border-radius: .4rem; min-height: 2.85rem; padding: .65rem 1rem; font: inherit; font-weight: 670; text-decoration: none; cursor: pointer; }
.button:hover { background: #882615; border-color: #882615; }
.button.small { color: var(--accent); background: transparent; padding: .38rem .95rem; min-height: 2.55rem; }
.button.small:hover { background: var(--warm); }
.secondary { color: var(--accent); font-weight: 700; }
.section { padding-block: clamp(3rem, 6vw, 5.75rem); scroll-margin-top: 1rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: .8rem; padding: clamp(1.2rem, 3vw, 2rem); }
.card p, .split p { color: var(--muted); }
.card > :last-child, .split > div > :last-child { margin-bottom: 0; }
details { border-top: 1px solid var(--line); }
summary { color: var(--accent); padding-top: .75rem; cursor: pointer; font-weight: 700; }
details[open] summary { margin-bottom: .85rem; }
details ul { padding-inline-start: 1.3rem; }
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.35rem, 5vw, 5rem); align-items: start; }
.split .role { color: var(--accent); font-weight: 650; }
.split .quote { border-inline-start: 3px solid #db593e; padding-inline-start: 1rem; font-family: var(--display); font-size: 1.35rem; font-weight: 600; color: var(--ink); }
form { display: grid; gap: 1rem; }
form label { display: grid; gap: .32rem; font-weight: 650; }
form input, form textarea { width: 100%; padding: .65rem .75rem; font: inherit; font-weight: 400; border: 1px solid #bca79d; border-radius: .35rem; background: white; color: var(--ink); }
form textarea { resize: vertical; }
form .button { justify-self: start; }
.form-note { font-size: .89rem; margin-bottom: 0; }
.trap { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
.site-footer { background: #2f211d; color: #fff8f4; font-size: 1rem; }
.site-footer a:focus-visible { outline-color: #ffba94; }
.foot-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .7fr) minmax(0, 1.2fr) minmax(0, .9fr);
    gap: clamp(1.7rem, 3vw, 3.5rem);
    padding-block: clamp(2.5rem, 5vw, 4.5rem);
}
.footer-brand, .footer-navigation h2 { font-family: var(--display); font-weight: 700; }
.footer-brand { display: inline-block; font-size: 1.8rem; line-height: 1.1; text-decoration: none; margin-bottom: .85rem; }
.footer-identity p { margin: 0 0 .45rem; color: #ead9d0; }
.footer-navigation h2 { font-size: 1.25rem; letter-spacing: 0; margin-bottom: .85rem; }
.footer-navigation ul { padding: 0; margin: 0; list-style: none; }
.footer-navigation li + li { margin-top: .35rem; }
.footer-navigation a { color: #ead9d0; text-decoration: none; }
.footer-navigation a:hover, .footer-navigation a:focus-visible { color: white; text-decoration: underline; }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .55rem 1.5rem;
    padding: 1.1rem clamp(1rem, 3vw, 3rem);
    border-top: 1px solid #6b5349;
    color: #ead9d0;
    font-size: .94rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #ffba94; font-weight: 650; }
@media (max-width: 980px) {
    .foot-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .foot-inner { grid-template-columns: 1fr; }
}
.default-content { min-height: 46vh; padding-block: clamp(2.4rem, 6vw, 4rem); }
.default-content :is(h1, h2, h3) { overflow-wrap: anywhere; hyphens: auto; }
.default-content h1 { font-size: clamp(2.25rem, 6.1vw, 5.1rem); }
.default-content h2 { font-size: clamp(1.75rem, 5vw, 3.4rem); }
.default-content a, .footer-navigation a, .contact-coordinates a { overflow-wrap: anywhere; }
.default-content img { max-width: 100%; }
.default-content > article > :last-child { margin-bottom: 0; }
@media (max-width: 760px) {
    .wrap { width: calc(100% - 2rem); }
    .split { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .site-header nav > a::after, .nav-interventions > a::after, .nav-dropdown > summary::after { transition: none; }
}


.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nav-interventions { display: flex; position: relative; align-items: center; }
.nav-dropdown { border: 0; }
.nav-dropdown > summary { display: grid; place-items: center; min-width: 1.75rem; min-height: 2.75rem; padding: 0; margin: 0; color: var(--ink); list-style: none; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary::after { content: ""; width: .38rem; height: .38rem; margin-top: -.18rem; border-right: 1.25px solid currentColor; border-bottom: 1.25px solid currentColor; transform: rotate(45deg); transition: transform 160ms ease; }
.nav-dropdown[open] > summary::after { transform: translateY(3px) rotate(225deg); }
.nav-dropdown[open] > summary { margin: 0; }
.nav-dropdown ul { position: absolute; z-index: 5; top: 100%; left: 50%; width: min(20rem, 80vw); transform: translateX(-50%); margin: 0; padding: .4rem; list-style: none; background: var(--paper); border: 1px solid var(--line); border-radius: .5rem; box-shadow: 0 .45rem 1.2rem #271d1920; }
.nav-dropdown li a { display: block; padding: .55rem .65rem; border-radius: .35rem; text-align: center; }
.nav-dropdown li a:hover, .nav-dropdown li a:focus-visible { background: var(--warm); }
@media (max-width: 760px) {
    .site-header { grid-template-columns: 1fr 1fr; }
    .site-header nav { grid-row: 2; grid-column: 1 / -1; justify-self: center; flex-wrap: wrap; }
    .site-header .header-contact { grid-row: 1; grid-column: 2; }
    .nav-dropdown ul { width: min(17rem, 78vw); }
}
@media (max-width: 380px) {
    .site-header nav { column-gap: .65rem; }
    .site-header nav a, .nav-dropdown > summary { font-size: .9rem; }
}

.home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.home-hero-backdrop { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.home-hero-backdrop img {
    position: absolute;
    inset: 0 0 0 auto;
    width: 65%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 46%;
}
.home-hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #fffdfa 0%, #fffdfa 34%, #fffdfaf5 42%, #fffdfaa6 52%, #fffdfa33 65%, #fffdfa00 76%);
}
.home-hero-inner {
    display: grid;
    align-items: center;
    min-height: clamp(36rem, 55vw, 45rem);
    padding-block: clamp(3rem, 6vw, 5.5rem);
}
.home-hero-copy { width: 58%; }
.home-hero h1 {
    font-size: clamp(3.1rem, 5.8vw, 5.15rem);
    letter-spacing: -.033em;
}
.home-hero-title-line {
    font-size: clamp(2rem, 4.35vw, 3.8rem);
    white-space: nowrap;
}
.button.button-outline { background: transparent; color: var(--accent); }
.button.button-outline:hover { background: #fae9e1; }
.home-photo { margin: 0; overflow: hidden; border-radius: .65rem; background: #e8d4c7; }
.home-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-aidance-photo { aspect-ratio: 3 / 2; }
.home-aidance-media { align-self: center; }
.home-services h2 { text-align: center; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.home-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(.85rem, 2vw, 1.4rem);
}
.home-service { display: flex; min-width: 0; --card-accent: #bb492f; --card-tint: #f9ebe4; }
.home-service:nth-child(2) { --card-accent: #a64b1d; --card-tint: #fbecdf; }
.home-service:nth-child(3) { --card-accent: #8c4d2d; --card-tint: #f7ece4; }
.home-service:nth-child(4) { --card-accent: #a46118; --card-tint: #faefde; }
.home-service-link {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(1.2rem, 2.4vw, 1.9rem);
    color: var(--ink);
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: .9rem;
    background: linear-gradient(160deg, var(--card-tint), var(--paper) 60%);
    box-shadow: 0 2px 6px #35251f09;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.home-service-link:hover, .home-service-link:focus-visible {
    border-color: var(--card-accent);
    box-shadow: 0 .45rem 1.35rem #35251f16;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .home-service-link:hover { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
    .home-service-link { transition: none; }
}
.home-service :is(h2, h3) { font-size: clamp(1.45rem, 2.1vw, 1.85rem); line-height: 1.25; font-weight: 700; margin: 0 0 .65rem; letter-spacing: -.025em; }
.home-service p { color: var(--muted); }
.home-service-more {
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .24em;
    margin-top: auto;
}
.home-service-link:hover .home-service-more,
.home-service-link:focus-visible .home-service-more { text-decoration-thickness: .14em; }
@media (max-width: 980px) {
    .home-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.home-pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 7vw, 7rem);
    align-items: start;
}
.home-aidance { background: #35251f; color: #fff8f1; }
.home-aidance .eyebrow { color: #ffba94; }
.home-aidance p:not(.eyebrow) { color: #f0dfd6; }
.home-aidance .button { margin-top: .5rem; background: #ffb18e; border-color: #ffb18e; color: #35251f; }
.home-aidance .button:hover { background: #ffd2be; }
.home-aidance a:focus-visible { outline-color: #fff2e6; }
.home-missions { display: grid; gap: .6rem; list-style: none; padding: 0; margin: 1.25rem 0 1.1rem; }
.home-missions li { position: relative; padding-inline-start: 1.1rem; }
.home-missions li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: .65em;
    width: .38rem;
    height: .38rem;
    border-radius: 50%;
    background: #ffb18e;
}
.home-about { align-items: center; }
@media (min-width: 761px) {
    .home-about-copy { grid-area: 1 / 2; }
    .home-about-photo { grid-area: 1 / 1; }
}
.home-about-photo { aspect-ratio: 4 / 3; }
.home-about-copy .button { margin-top: .5rem; }
.home-about .home-role { color: var(--accent); font-weight: 650; }
.home-about h2 { margin-bottom: .45rem; }
.home-contact {
    background-color: #fae9e0;
    background-image:
        linear-gradient(90deg, #fff5edfa 0%, #fff5edf0 41%, #fff5eddd 66%, #fff5ed66 100%),
        url('assets/contact-fond.jpg');
    background-position: center, center 57%;
    background-size: cover;
}
@media (max-width: 760px) {
    .home-contact {
        background-image:
            linear-gradient(180deg, #fff5edf5 0%, #fff5edec 61%, #fff5ed9c 100%),
            url('assets/contact-fond-720.jpg');
        background-position: center, 65% center;
    }
}
.home-contact .actions { margin-top: 1.25rem; }

@media (max-width: 760px) {
    .home-pair { grid-template-columns: 1fr; }
    .home-hero { --mobile-hero-photo-height: clamp(10.5rem, 47vw, 15.5rem); }
    .home-hero-inner {
        min-height: 0;
        padding-top: clamp(1.6rem, 5vw, 2.5rem);
        padding-bottom: calc(var(--mobile-hero-photo-height) + .75rem);
    }
    .home-hero-copy { width: 100%; }
    .home-hero .eyebrow { margin-bottom: .65rem; }
    .home-hero h1 { margin-bottom: .75rem; }
    .home-hero-title-line { font-size: clamp(1.45rem, 7.35vw, 3.55rem); }
    .home-hero .intro { font-size: clamp(1rem, 3.9vw, 1.125rem); line-height: 1.5; }
    .home-hero .actions { margin-top: 1rem; }
    .home-hero-backdrop { inset: auto 0 0; height: var(--mobile-hero-photo-height); }
    .home-hero-backdrop img { width: 100%; object-position: 50% 44%; }
    .home-hero-backdrop::after { background: linear-gradient(180deg, #fffdfa 0%, #fffdfa60 17%, #fffdfa00 42%); }
    .home-contact h2 { margin-bottom: 0; }
}
@media (max-width: 540px) {
    .home-hero h1 { font-size: clamp(2.55rem, 10.7vw, 3.6rem); }
    .home-hero .actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: .55rem; }
    .home-hero .actions .button { width: 100%; min-height: 2.75rem; padding-block: .45rem; }
    .home-service-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
    .nova-enter {
        animation: nova-enter 520ms cubic-bezier(.22, 1, .36, 1) both;
        animation-delay: var(--nova-enter-delay, 0ms);
    }
    .nova-enter:focus-within { animation: none; }
    @keyframes nova-enter {
        from { opacity: .15; transform: translateY(14px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    :is(.button, .wp-block-button__link, button[type="submit"], input[type="submit"]) {
        transition: translate 160ms ease-out, background-color 160ms ease-out, border-color 160ms ease-out;
    }
    :is(.button, .wp-block-button__link, button[type="submit"], input[type="submit"]):hover {
        translate: 0 -3px;
    }
}

.feature-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.feature-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    z-index: -1;
    width: 68%;
    background: var(--feature-image) center 49% / cover no-repeat;
    mask-image: linear-gradient(90deg, transparent 0%, #00000014 15%, #00000066 36%, #000000c7 58%, #000 81%);
    pointer-events: none;
}
.feature-about { --feature-image: url('assets/espace-accompagnement.jpg'); }
.feature-faq { --feature-image: url('assets/accompagnement-social.jpg'); }
.feature-faq .feature-hero-inner { min-height: clamp(20rem, 32vw, 29rem); }
.feature-rates, .feature-contact-page { --feature-image: url('assets/contact-fond.jpg'); }
.feature-hero-inner {
    display: grid;
    align-items: center;
    min-height: clamp(24rem, 40vw, 33rem);
    padding-block: clamp(3rem, 7vw, 6.25rem);
}
.feature-hero-copy { width: 52%; }
.feature-hero-copy h1 { font-size: clamp(3.2rem, 7.3vw, 6.3rem); margin-bottom: .85rem; }
.feature-hero-copy p:not(.eyebrow) { color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.25rem); }
.feature-hero-copy > :last-child { margin-bottom: 0; }
.feature-contact .wp-block-buttons { margin-top: 1.25rem; }
.feature-contact .home-pair { align-items: center; }
@media (max-width: 760px) {
    .feature-hero::before {
        inset: auto 0 0;
        width: 100%;
        height: clamp(16rem, 61vw, 23rem);
        background-position: center bottom;
        mask-image: linear-gradient(180deg, transparent 0%, #00000020 20%, #0000009c 50%, #000 81%);
    }
    .feature-about { --feature-image: url('assets/espace-accompagnement-600.jpg'); }
    .feature-faq { --feature-image: url('assets/accompagnement-social-540.jpg'); }
    .feature-faq .feature-hero-inner { min-height: 0; }
    .feature-faq .feature-hero::before { background-position: center 45%; }
    .feature-rates, .feature-contact-page { --feature-image: url('assets/contact-fond-720.jpg'); }
    .feature-hero-inner { min-height: 0; padding-bottom: clamp(13rem, 49vw, 18rem); }
    .feature-hero-copy { width: 100%; }
}

.nova-faq .wp-block-details {
    margin: .8rem 0;
    padding: .2rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: .6rem;
    background: var(--warm);
}
.nova-faq .wp-block-details summary {
    overflow-wrap: anywhere;
    padding: .8rem 0;
    font-size: 1.12rem;
    color: var(--ink);
}
.nova-faq .wp-block-details[open] summary { margin-bottom: 0; }
.nova-faq .wp-block-buttons { margin-top: 1.5rem; }

.contact-page { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(1.7rem, 5vw, 4.5rem); align-items: start; }
.contact-page-intro p { color: var(--muted); }
.nova-contact-form { padding: clamp(1rem, 3vw, 2rem); }
.nova-contact-form h2 { font-size: clamp(1.8rem, 3.2vw, 2.45rem); }
.contact-field-grid, .contact-topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.contact-field-grid label { min-width: 0; }
.contact-field-grid label > input { align-self: end; min-width: 0; min-height: 2.75rem; }
.contact-optional { color: var(--muted); font-weight: 400; font-size: .88rem; }
.contact-topics { margin: 0; padding: 0; border: 0; min-width: 0; }
.contact-topics legend { margin-bottom: .45rem; font-weight: 650; }
.contact-topic { position: relative; }
.contact-topic input { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; }
.contact-topic span { display: flex; align-items: center; min-height: 3.25rem; padding: .65rem .85rem; border: 1px solid #bca79d; border-radius: .45rem; cursor: pointer; color: var(--ink); background: white; }
.contact-topic input:checked + span { background: #fae9e0; color: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.contact-topic input:focus-visible + span { outline: 3px solid #7d280f; outline-offset: 3px; }
.contact-topic span:hover { border-color: var(--accent); }
.contact-challenge input { max-width: 7rem; }
.nova-contact-form .button:disabled { opacity: .58; cursor: default; translate: none; }
@media (max-width: 800px) {
    .contact-page { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .contact-field-grid, .contact-topic-grid { grid-template-columns: 1fr; }
}


.interventions-page-inner { padding-block: clamp(2.5rem, 6vw, 5rem); }

.contact-topic-hint { margin: 0 0 .55rem; }


.contact-page-intro h2 { font-size: clamp(2rem, 3.8vw, 3.35rem); }
.contact-coordinates { display: grid; gap: .75rem; margin-bottom: 1.75rem; font-style: normal; }
.contact-coordinates > div { display: grid; justify-items: start; gap: .2rem; }
.contact-coordinates a { color: var(--accent); font-size: 1.15rem; overflow-wrap: anywhere; }

.mobile-menu-toggle { display: none; }
@media (max-width: 760px) {
    .site-header.has-mobile-navigation { grid-template-columns: minmax(0, 1fr) auto auto; min-height: 4.65rem; padding-block: .55rem; gap: .65rem; }
    .site-header .brand img { width: clamp(4.75rem, 19.5vw, 5.5rem); }
    .site-header.has-mobile-navigation .header-contact { grid-column: 2; }
    .has-mobile-navigation .mobile-menu-toggle {
        display: grid;
        place-items: center;
        grid-area: 1 / 3;
        min-width: 2.85rem;
        min-height: 2.85rem;
        border: 1px solid var(--line);
        border-radius: .55rem;
        background: var(--paper);
        color: var(--ink);
        cursor: pointer;
    }
    .mobile-menu-icon, .mobile-menu-icon::before, .mobile-menu-icon::after {
        display: block;
        width: 1.15rem;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
    }
    .mobile-menu-icon { position: relative; }
    .mobile-menu-icon::before, .mobile-menu-icon::after { content: ""; position: absolute; left: 0; }
    .mobile-menu-icon::before { top: -.35rem; }
    .mobile-menu-icon::after { top: .35rem; }
    .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon { background: transparent; }
    .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon::before { top: 0; transform: rotate(45deg); }
    .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon::after { top: 0; transform: rotate(-45deg); }
    .site-header.has-mobile-navigation nav {
        display: none;
        position: absolute;
        grid-area: auto;
        justify-self: stretch;
        inset: 100% 0 auto;
        padding: .65rem 1rem 1rem;
        max-height: calc(100dvh - var(--nova-header-height, 5rem) - 48px);
        overflow: auto;
        overscroll-behavior: contain;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 .45rem .9rem #35251f1a;
    }
    .site-header.mobile-menu-open nav { display: block; }
    .site-header.has-mobile-navigation nav a { font-size: 1.05rem; }
    .site-header.has-mobile-navigation nav > a { display: block; width: fit-content; padding-block: .6rem; }
    .has-mobile-navigation .nav-interventions { display: block; padding-inline-end: 2.75rem; }
    .has-mobile-navigation .nav-interventions > a { display: inline-block; }
    .has-mobile-navigation .nav-dropdown > summary { position: absolute; top: 0; right: 0; min-width: 2.75rem; }
    .has-mobile-navigation .nav-dropdown ul {
        position: static;
        width: auto;
        margin-inline-end: -2.75rem;
        transform: none;
        box-shadow: none;
        background: var(--warm);
    }
    .has-mobile-navigation .nav-dropdown li a { text-align: left; }
}


@media (max-width: 540px) {
    .actions { row-gap: .7rem; }
    .actions .button { max-width: 100%; text-align: center; }
    .feature-hero-copy h1 { font-size: clamp(2.65rem, 10.1vw, 3.6rem); }
    .feature-hero-inner { padding-bottom: clamp(11.5rem, 54vw, 15rem); }
    .feature-hero::before { height: clamp(13.5rem, 63vw, 17rem); }
    .nova-faq .wp-block-details { padding-inline: .85rem; }
    .footer-navigation a { display: inline-flex; align-items: center; min-height: 2rem; }
    .footer-navigation li + li { margin-top: .13rem; }
}


.feature-interventions, .feature-organisations { --feature-image: url('assets/aidance-au-travail.jpg'); }
.feature-particuliers { --feature-image: url('assets/accompagnement-social.jpg'); }
.feature-evaluation-essms, .feature-formation { --feature-image: url('assets/espace-accompagnement.jpg'); }
.feature-legal { --feature-image: url('assets/contact-fond.jpg'); }
.feature-service .feature-hero-inner { min-height: clamp(18rem, 33vw, 29rem); }
.feature-service .feature-hero-copy h1, .feature-interventions .feature-hero-copy h1 {
    font-size: clamp(2.85rem, 5.9vw, 5.3rem);
    line-height: 1.04;
    overflow-wrap: anywhere;
    hyphens: auto;
}
.feature-legal .feature-hero-inner { min-height: clamp(11rem, 23vw, 19rem); padding-block: clamp(2.25rem, 4.5vw, 3.75rem); }
.feature-legal .feature-hero-copy h1 { font-size: clamp(2.5rem, 5.2vw, 4.75rem); }
.feature-legal .feature-hero::before { opacity: .7; }
.feature-legal article > h2:not(:first-child) { margin-block-start: clamp(2.5rem, 5vw, 4.5rem); }
.feature-legal article > h2 { margin-block-end: 1rem; }
@media (max-width: 760px) {
    .feature-interventions, .feature-organisations { --feature-image: url('assets/aidance-au-travail-600.jpg'); }
    .feature-particuliers { --feature-image: url('assets/accompagnement-social-540.jpg'); }
    .feature-evaluation-essms, .feature-formation { --feature-image: url('assets/espace-accompagnement-600.jpg'); }
    .feature-legal { --feature-image: url('assets/contact-fond-720.jpg'); }
    .feature-service .feature-hero-inner { min-height: 0; }
    .feature-legal .feature-hero-inner { min-height: 0; padding-bottom: 8.5rem; }
    .feature-legal .feature-hero::before { height: 10.5rem; }
}
@media (max-width: 380px) {
    .feature-service .feature-hero-copy h1 { font-size: 2.55rem; }
    .feature-legal .feature-hero-copy h1 { font-size: 2.3rem; }
}


.intervention-pair {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
    gap: clamp(1.75rem, 6vw, 6rem);
    align-items: center;
}
.intervention-copy p { color: var(--muted); }
.intervention-copy > :last-child,
.intervention-detail-card > :last-child { margin-bottom: 0; }
.intervention-photo { aspect-ratio: 8 / 5; }
.intervention-photo img { object-position: center 47%; }
.feature-interventions .interventions-page-inner { padding-bottom: 0; }
.intervention-detail { background: var(--warm); }
.intervention-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.1rem, 4vw, 3rem);
}
.intervention-detail-single { grid-template-columns: minmax(0, 1fr); }
.intervention-detail-card {
    padding: clamp(1.25rem, 3vw, 2.4rem);
    border: 1px solid var(--line);
    border-radius: .8rem;
    background: var(--paper);
}
.intervention-detail-single .intervention-detail-card {
    padding: 0;
    border: 0;
    background: none;
    border-radius: 0;
}
.intervention-detail-card h2 { font-size: clamp(2rem, 3.8vw, 3.35rem); }
.intervention-detail-card p { color: var(--muted); }
.intervention-detail-card ul, .intervention-spotlight .intervention-missions { margin-top: 1.5rem; }
.intervention-missions ul { padding-inline-start: 1.2em; }
.intervention-detail-card li + li, .intervention-missions li + li { margin-top: .55rem; }
.intervention-detail-card li::marker { color: var(--accent); }
.intervention-spotlight .intervention-copy p { color: #f0dfd6; }
.intervention-spotlight h2 { scroll-margin-block-start: 1.25rem; }
.intervention-missions {
    padding: clamp(1.2rem, 3vw, 2.3rem);
    border: 1px solid #8a6658;
    border-radius: .8rem;
    background: #422e27;
}
.intervention-spotlight .intervention-missions { margin-top: 1.5rem; }
.intervention-missions ul { margin-block: 0; }
.intervention-missions li::marker { color: #ffb18e; }
.intervention-closing .wp-block-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }
.intervention-closing .wp-block-buttons .wp-block-button + .wp-block-button a {
    background: var(--paper);
    color: var(--accent);
}
@media (max-width: 760px) {
    .intervention-pair, .intervention-detail-grid { grid-template-columns: 1fr; }
    .intervention-photo { aspect-ratio: 5 / 3; }
}

.intervention-detail-grid:not(.intervention-detail-single) .intervention-detail-card:first-child {
    padding-inline-start: 0;
    border-color: transparent;
    border-inline-start: 0;
    background: transparent;
}
@media (max-width: 760px) {
    .intervention-detail-grid .intervention-detail-card { padding: 0; border: 0; background: transparent; }
    .intervention-detail-grid .intervention-detail-card + .intervention-detail-card {
        padding-top: 1.15rem;
        border-top: 1px solid var(--line);
        border-radius: 0;
    }
}

.feature-about .feature-hero-copy h1 {
    font-size: clamp(2.45rem, 6.1vw, 5.7rem);
    white-space: nowrap;
}
@media (max-width: 760px) {
    .feature-about .feature-hero-copy h1 { font-size: clamp(2.45rem, 9.4vw, 4.2rem); }
}

/* Homepage colours drawn from the brand mark. */
.home { --accent: #aa331e; }
.home .site-header .brand img { width: clamp(5rem, 7.3vw, 6rem); }
.home .home-hero { background-color: #fffaf5; }
.home .home-hero-backdrop img { object-position: 58% center; }
.home .home-hero-backdrop::after {
    background: linear-gradient(90deg, #fffaf5 0%, #fffaf5 35%, #fffaf5f5 43%, #fffaf5b8 53%, #fffaf54d 64%, #fffaf500 76%);
}
.home .home-hero h1 em { color: #aa331e; }
.home .home-aidance { background: #772d21; }
.home .home-aidance .eyebrow { color: #ffd18b; }
.home .home-aidance p:not(.eyebrow) { color: #fff4ea; }
.home .home-aidance .button { background: #ffd18b; border-color: #ffd18b; }
.home .home-aidance .button:hover { background: #ffe4b6; }
.home .home-missions li::before { background: #ffba54; }
.home .home-aidance-photo img { object-position: 50% 59%; }
.home .home-contact { background-color: #fff0dd; }
.intervention-benefits { background: var(--warm); }
.intervention-benefits .intervention-copy ul { padding-inline-start: 1.2em; }
.intervention-benefits li + li { margin-top: .55rem; }
.intervention-benefits li::marker { color: var(--accent); }
@media (max-width: 760px) {
    .home .site-header .brand img { width: clamp(5.25rem, 21vw, 6rem); }
    .home .home-hero-backdrop img { object-position: center 47%; }
    .home .home-hero-backdrop::after { background: linear-gradient(180deg, #fffaf5 0%, #fffaf56b 18%, #fffaf500 48%); }
}

.about-profile:nth-child(even) { background: var(--warm); }
.about-profile .intervention-pair { gap: clamp(1.75rem, 5vw, 5rem); }
.about-profile h2 { font-size: clamp(2.35rem, 4.5vw, 4rem); }
.about-profile-photo { aspect-ratio: 3 / 2; }
.about-profile-photo img { object-position: center; }
@media (min-width: 761px) {
    .about-profiles > .about-profile:nth-child(even) .intervention-pair {
        grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr);
    }
    .about-profiles > .about-profile:nth-child(even) .about-profile-photo { order: -1; }
}

@media (max-width: 760px) {
    .about-profile { padding-block: clamp(2rem, 7vw, 3.2rem); }
    .about-profile h2 { font-size: clamp(2rem, 7vw, 2.85rem); }
}

.intervention-band-split { background: var(--warm); }
.intervention-band-accent {
    background: #422e29;
    color: #fff5ed;
}
.intervention-band-accent p { color: inherit; }
.intervention-band .intervention-copy > div > :last-child { margin-bottom: 0; }

@media (min-width: 761px) {
    .intervention-band-reversed .intervention-photo { order: -1; }
    .intervention-band-split .intervention-copy {
        display: grid;
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
        gap: clamp(2rem, 6vw, 6rem);
        align-items: start;
    }
    .intervention-band-split h2 { margin-bottom: 0; }
}

.nova-cookie-preferences {
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}
.nova-cookie-banner {
    position: fixed;
    inset: auto 1rem 1rem auto;
    z-index: 20;
    width: min(29rem, calc(100% - 2rem));
    padding: clamp(1rem, 3vw, 1.5rem);
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 .4rem 1.5rem #271d1929;
    border: 1px solid var(--line);
    border-radius: .7rem;
}
.nova-cookie-banner h2 { font-size: 1.5rem; margin-bottom: .65rem; }
.nova-cookie-banner a { text-decoration: underline; }
.nova-cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

.feature-rates .about-profile:first-child .intervention-copy > .wp-block-list {
    display: grid;
    gap: .55rem;
    list-style: none;
    padding: 0;
    margin-block: .85rem 1.2rem;
}
.feature-rates .about-profile:first-child .intervention-copy > .wp-block-list > li {
    margin: 0;
    padding: .65rem .9rem;
    border: 1px solid var(--line);
    border-radius: .6rem;
    background: var(--warm);
}
.feature-rates .about-profile:first-child .intervention-copy > .wp-block-list > li > strong {
    color: var(--accent);
    white-space: nowrap;
}
