/* V1.3 — page Prestations uniquement. Référence : maquette desktop/mobile v1. */
.prestations-page { --p-space:clamp(24px,4.4vw,76px); }
.prestations-page .site-header { position:absolute; color:var(--ivory); background:linear-gradient(#101010e8,#101010b0); border-bottom:1px solid #ffffff25; }
.prestations-page .site-header nav>a[aria-current] { border-color:var(--gold); }
.prestations-page .site-header a:focus-visible,.prestations-page .menu-toggle:focus-visible { outline-color:var(--gold); }
.prestations-page h1,.prestations-page h2 { letter-spacing:-.035em; }
.prestations-page .eyebrow { font-size:10px; margin-bottom:20px; letter-spacing:.19em; }
.p-hero,.p-conclusion { position:relative; isolation:isolate; color:var(--ivory); background:#111; }
.p-background { position:absolute; inset:0; z-index:-2; }
.p-background img { object-position:center 56%; }
.p-hero::after,.p-conclusion::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#0d0d0df2 0%,#101010b8 33%,#10101028 72%),linear-gradient(0deg,#0d0d0d55,transparent 70%); }
.p-hero { min-height:710px; display:flex; align-items:center; padding:155px var(--p-space) 120px; }
.p-hero-copy { max-width:720px; }
.p-hero h1 { font-size:clamp(64px,5.8vw,88px); line-height:.98; }
.p-hero-copy>p:last-child { margin-top:28px; font-size:14px; color:#e7e2da; line-height:1.8; }
.p-scroll { position:absolute; bottom:42px; left:var(--p-space); font-size:9px; letter-spacing:.17em; display:flex; align-items:center; gap:20px; min-height:24px; }
.p-scroll span { display:block; width:1px; height:35px; background:var(--gold); }
.p-expertises { padding:68px var(--p-space) 36px; }
.p-section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:50px; margin-bottom:46px; }
.p-section-heading h2 { font-size:clamp(45px,4.8vw,72px); line-height:1; }
.p-section-heading>p { max-width:34ch; font-size:13px; color:#56514b; padding-bottom:6px; }
.p-expertise-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.p-expertise { display:block; position:relative; isolation:isolate; height:550px; border-radius:20px; overflow:hidden; color:#fff; scroll-margin-top:30px; }
.p-expertise::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,#080808f5 0%,#0808089c 29%,transparent 66%); z-index:-1; }
.p-expertise>img { position:absolute; inset:0; z-index:-2; transition:transform .7s ease; object-position:52% center; }
.p-expertise>div { position:absolute; bottom:32px; left:30px; right:28px; }
.p-expertise h3 { font-size:40px; margin-bottom:12px; }
.p-expertise p { font-size:12px; line-height:1.65; max-width:33ch; color:#f3eee7; }
.p-expertise span { display:inline-block; font-size:10px; margin-top:18px; padding-bottom:4px; border-bottom:1px solid #d9b77e9c; color:#eed3a8; }
.p-expertise:focus-visible { outline:3px solid #987035; outline-offset:5px; }
@media(hover:hover) { .p-expertise:hover>img { transform:scale(1.045); } }
.p-prices { margin-top:24px; border-top:1px solid #17171725; font-size:12px; }
.p-prices summary { cursor:pointer; padding:16px 0; width:fit-content; min-height:48px; }
.p-prices summary:focus-visible { outline:3px solid #987035; outline-offset:4px; }
.p-price-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; padding:20px 0; }
.p-price-grid h3 { font-size:28px; margin-bottom:12px; }
.p-demo { font-size:11px; color:#56514b; padding-bottom:20px; }
.p-contrast { background:#111; color:var(--ivory); position:relative; isolation:isolate; min-height:540px; padding:65px var(--p-space) 45px; }
.p-contrast-image { position:absolute; inset:0 auto 0 0; width:57%; z-index:-2; object-position:30% center; }
.p-contrast::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,transparent 10%,#1117 32%,#111 57%),linear-gradient(0deg,#111 0%,transparent 40%); z-index:-1; }
.p-contrast-copy { margin-left:57%; }
.p-contrast .eyebrow { color:#d9b77e; }
.p-contrast h2 { font-size:clamp(42px,4.3vw,66px); }
.p-contrast-copy>p:last-child { font-size:12px; color:#d3cec6; line-height:1.8; margin-top:22px; max-width:43ch; }
.p-arguments { display:grid; grid-template-columns:repeat(3,1fr); gap:36px; margin:58px 0 0 28%; }
.p-arguments>div { border-top:1px solid #d9b77e70; padding-top:17px; }
.p-arguments dt { font-size:13px; font-weight:500; }
.p-arguments dd { font-size:11px; color:#c6c0b8; margin:10px 0 0; line-height:1.8; }
.p-passion { display:grid; grid-template-columns:.85fr 1.15fr; gap:70px; padding:64px var(--p-space); align-items:center; }
.p-passion-copy h2 { font-size:clamp(50px,4.8vw,72px); margin-bottom:25px; }
.p-passion-copy>p:not(.eyebrow) { font-size:13px; color:#56514b; max-width:40ch; margin-bottom:17px; }
.p-passion .button { margin-top:12px; }
.p-collage { display:grid; grid-template-columns:1.3fr 1fr; grid-template-rows:1fr 1fr; gap:12px; height:460px; }
.p-collage img { min-height:0; border-radius:12px; }
.p-collage-main { grid-row:1/3; object-position:40% center; }
.p-conclusion { min-height:410px; padding:68px var(--p-space); display:flex; align-items:center; }
.p-conclusion h2 { font-size:clamp(48px,4.6vw,70px); }
.p-conclusion p:not(.eyebrow) { font-size:13px; margin:22px 0 27px; color:#e7e2da; }
@media(min-width:1600px) { .p-hero { min-height:760px; } .p-expertise { height:610px; } }
@media(min-width:701px) and (max-width:1000px) {
 .p-hero { min-height:610px; } .p-hero h1 { font-size:66px; }
 .p-section-heading { gap:30px; } .p-section-heading>p { max-width:26ch; font-size:12px; }
 .p-expertise { height:410px; } .p-expertise>div { left:20px; right:20px; bottom:24px; } .p-expertise h3 { font-size:32px; }
 .p-expertise p { font-size:11px; } .p-expertise span { font-size:9px; }
 .p-contrast-copy { margin-left:47%; } .p-contrast h2 { font-size:43px; } .p-arguments { margin-left:15%; gap:22px; }
 .p-passion { gap:30px; } .p-collage { height:390px; gap:8px; }
}
@media(max-width:700px) {
 .prestations-page .site-header { padding:21px 24px; }
 .prestations-page .menu-toggle span { background:var(--ivory); }
 .prestations-page .site-header nav { background:#171717; color:var(--ivory); border-bottom:1px solid #d9b77e70; }
 .prestations-page .site-header nav>a { min-height:44px; }
 .p-hero { min-height:575px; align-items:flex-end; padding:270px 24px 90px; }
 .p-hero .p-background { bottom:120px; }
 .p-hero .p-background img { object-position:center 35%; }
 .p-hero::after { background:linear-gradient(0deg,#111 7%,#111f5 26%,#11185 50%,#11110 85%); }
 .p-hero h1 { font-size:45px; line-height:1; }
 .prestations-page .eyebrow { font-size:9px; margin-bottom:16px; }
 .p-hero-copy>p:last-child { font-size:12px; margin-top:20px; }
 .p-scroll { left:24px; bottom:24px; font-size:8px; gap:16px; } .p-scroll span { height:24px; }
 .p-expertises { padding:48px 20px 18px; }
 .p-section-heading { display:block; margin-bottom:28px; padding-inline:4px; }
 .p-section-heading h2 { font-size:41px; }
 .p-section-heading>p { display:none; }
 .p-expertise-grid { grid-template-columns:1fr; gap:16px; }
 .p-expertise { height:225px; border-radius:16px; }
 .p-expertise>img { object-position:center 45%; }
 .p-expertise>div { left:20px; right:20px; bottom:20px; }
 .p-expertise h3 { font-size:30px; margin-bottom:7px; }
 .p-expertise p { font-size:11px; max-width:35ch; }
 .p-expertise span { font-size:9px; margin-top:10px; }
 .p-expertise::after { background:linear-gradient(0deg,#080808ee,#0808088c 45%,transparent); }
 .p-prices { margin-top:17px; } .p-price-grid { grid-template-columns:1fr; }
 .p-contrast { min-height:540px; padding:55px 24px 30px; }
 .p-contrast-image { width:100%; height:270px; object-position:75% center; }
 .p-contrast::after { background:linear-gradient(0deg,#111 42%,#111c4 75%,#11188); }
 .p-contrast-copy { margin-left:0; }
 .p-contrast h2 { font-size:40px; }
 .p-contrast-copy>p:last-child { font-size:11px; margin-top:18px; }
 .p-arguments { grid-template-columns:1fr; gap:17px; margin:28px 0 0; }
 .p-arguments>div { padding-top:13px; }
 .p-arguments dt { font-size:12px; } .p-arguments dd { font-size:10px; margin-top:6px; }
 .p-passion { display:block; padding:48px 24px; }
 .p-passion-copy h2 { font-size:46px; margin-bottom:22px; }
 .p-passion-copy>p:not(.eyebrow) { font-size:12px; line-height:1.8; }
 .p-passion .button { margin-top:6px; font-size:11px; }
 .p-collage { height:300px; gap:8px; margin-top:30px; grid-template-columns:1.15fr 1fr; }
 .p-collage img { border-radius:10px; }
 .p-conclusion { min-height:380px; padding:50px 24px; }
 .p-conclusion h2 { font-size:43px; } .p-conclusion p:not(.eyebrow) { font-size:12px; }
 .p-conclusion::after { background:linear-gradient(90deg,#111e8,#11160),linear-gradient(0deg,#11160,transparent); }
 .no-js .prestations-page .site-header { position:relative; background:#171717; }
}
@media(prefers-reduced-motion:reduce) { .p-expertise>img,.p-expertise:hover>img { transition:none; transform:none; } }

/* Hero BMW — composition centrée, médias locaux, styles limités à Prestations. */
.p-hero { min-height:100vh; min-height:100svh; justify-content:center; text-align:center; padding:150px var(--p-space) 120px; overflow:hidden; }
.p-hero-copy { max-width:1000px; position:relative; z-index:1; }
.p-hero h1 { font-size:clamp(48px,6.1vw,88px); line-height:1.05; text-wrap:balance; }
.p-hero::after { background:linear-gradient(180deg,#09090945 0%,#09090920 25%,#09090970 48%,#09090935 75%,#111 100%); }
.p-hero .p-hero-media { inset:0; background:#101010; }
.p-hero-poster,.p-hero-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 50%; }
.p-hero-video { opacity:0; }
.p-hero-media.is-playing .p-hero-video { opacity:1; }
.p-hero .p-scroll { left:50%; transform:translateX(-50%); white-space:nowrap; }
@media(max-width:1000px) {
 .p-hero-poster,.p-hero-video { object-fit:cover; object-position:50% 50%; }
 .p-hero { align-items:flex-start; padding-top:max(170px,23svh); }
 .p-hero h1 { font-size:clamp(44px,7.5vw,68px); }
 .p-hero::after { background:linear-gradient(180deg,#10101000 30%,#10101010 65%,#111 100%); }
}
@media(max-width:700px) {
 .p-hero { padding-inline:24px; padding-bottom:100px; }
 .p-hero h1 { font-size:46px; }
 .p-hero-copy>p:last-child { font-size:12px; }
 .p-hero .p-scroll { bottom:32px; }
}
@media(prefers-reduced-motion:reduce) { .p-hero-video { display:none; } }
.p-hero .p-hero-media .p-hero-poster { object-position:50% 50%; }
/* Keep the poster beneath the decoded video as a persistent fallback. */
.p-hero-copy>p { margin-inline:auto; text-align:center; }

@media(max-width:700px) {
 .p-hero .p-hero-media .p-hero-poster,.p-hero .p-hero-video { object-position:65% 50%; }
}

/* Accroche validée — uniquement au-dessus du titre Prestations. */
.p-hero-copy>.eyebrow {
 display:flex; align-items:center; justify-content:center; gap:18px;
 width:fit-content; max-width:100%; color:var(--gold); letter-spacing:.19em;
}
.p-hero-copy>.eyebrow::before,.p-hero-copy>.eyebrow::after {
 content:""; width:60px; height:1px; flex:0 0 60px; background:currentColor;
}
@media(max-width:700px) {
 .p-hero-copy>.eyebrow { gap:12px; letter-spacing:.16em; }
 .p-hero-copy>.eyebrow::before,.p-hero-copy>.eyebrow::after { width:28px; flex-basis:28px; }
}

/* Cinematic reveal : la section suivante recouvre le hero sticky dans le flux natif. */
.p-cinematic-stage { position:relative; }
.p-motion-enabled .p-cinematic-stage { height:200svh; }
.p-motion-enabled .p-cinematic-stage>.p-hero { position:sticky; top:0; }
.p-motion-enabled .p-hero-copy,.p-motion-enabled .p-scroll { opacity:calc(1 - var(--p-progress,0)*.95); }
.p-expertises { background:#111; color:var(--ivory); }
.p-expertises .p-section-heading>p,.p-expertises .p-demo { color:#d3cec6; }
.p-expertises .p-prices { border-top-color:#d9b77e50; }
.p-motion-enabled .p-expertises {
 position:relative; z-index:2; margin-top:-100svh;
 border-top:1px solid var(--gold); box-shadow:0 -18px 40px #00000030;
}
.p-motion-enabled .p-section-heading {
 opacity:var(--p-heading,0); transform:translateY(calc(24px*(1 - var(--p-heading,0))));
}
.p-motion-enabled .p-section-heading:focus-within { opacity:1; transform:none; }
@media(hover:hover) and (pointer:fine) {
 .prestations-page .p-expertise { transition:transform .3s ease,box-shadow .3s ease; }
 .prestations-page .p-expertise:hover { transform:translateY(-4px); box-shadow:0 12px 28px #17171724; }
 .prestations-page .p-expertise:hover>img { transform:scale(1.015); }
}
@media(prefers-reduced-motion:reduce) {
 .p-motion-enabled .p-hero-copy,.p-motion-enabled .p-scroll { opacity:1; }
 .p-motion-enabled .p-cinematic-stage { height:auto; }
 .p-motion-enabled .p-cinematic-stage>.p-hero { position:relative; }
 .p-motion-enabled .p-expertises { margin-top:0; transform:none; box-shadow:none; }
 .p-motion-enabled .p-section-heading { opacity:1; transform:none; }
 .prestations-page .p-expertise,.prestations-page .p-expertise:hover { transform:none; transition:none; }
}
.p-motion-enabled .p-scroll:focus-visible,.p-motion-enabled .p-hero-copy:focus-within { opacity:1; }

/* Commande native discrète : cible 44 px, dessin 30 px. */
.p-hero .p-video-control {
 position:absolute; right:clamp(18px,3vw,42px); bottom:28px; z-index:1;
 width:44px; height:44px; padding:7px; border:0; border-radius:4px;
 color:var(--gold); background:transparent; opacity:.8;
 transition:opacity .18s ease;
}
.p-hero .p-video-control:not([hidden]) { display:grid; place-items:center; }
.p-video-control::before { content:""; position:absolute; inset:7px; border-radius:4px; background:#000c; z-index:-1; }
.p-video-control .p-video-play { display:none; }
.p-video-control[data-paused="true"] .p-video-play { display:block; }
.p-video-control[data-paused="true"] .p-video-pause { display:none; }
.p-hero .p-video-control:hover,.p-hero .p-video-control:focus-visible { opacity:1; }
.p-hero .p-video-control:focus-visible { outline:2px solid var(--gold); outline-offset:3px; }
@media(max-width:700px) { .p-hero .p-video-control { bottom:22px; right:16px; } }
@media(prefers-reduced-motion:reduce) { .p-hero .p-video-control,.p-hero .p-video-control:not([hidden]) { display:none; transition:none; } }
