/* =========================================================
   THEVESTE Dépannage — Thème WordPress sur-mesure
   Style : « F1 » — noir carbone, rouge course, damier, italique condensé
   ========================================================= */

@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-800-italic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
	/* Couleurs */
	--c-black: #0B0B0D;        /* noir carbone */
	--c-carbon: #141417;
	--c-carbon-2: #1D1D22;
	--c-carbon-line: #2A2A31;
	--c-red: #E3121A;          /* rouge course — blanc dessus : 5,1:1 */
	--c-red-600: #C00E15;
	--c-red-light: #FF4A50;    /* rouge lisible sur noir : 5,6:1 */
	--c-white: #FFFFFF;
	--c-grey-50: #F4F4F5;
	--c-grey-100: #EBEBED;
	--c-line: #E4E4E7;
	--c-text: #0B0B0D;
	--c-muted: #52525B;        /* 7,7:1 sur blanc */
	--c-on-dark: #F4F4F5;
	--c-on-dark-muted: #A1A1AA;/* 7,8:1 sur noir */
	--c-ok: #0F7B4B;
	--c-err: #B42318;

	--f-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
	--f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
	--fs-xs: .8125rem; --fs-sm: .9375rem; --fs-base: 1.0625rem; --fs-lg: 1.1875rem;
	--fs-h4: 1.25rem; --fs-h3: 1.625rem;
	--fs-h2: clamp(2.125rem, 1.4rem + 3vw, 3.5rem);
	--fs-h1: clamp(2.75rem, 1.6rem + 5.4vw, 5.75rem);

	--s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem;
	--section-y: clamp(4rem, 2.5rem + 6vw, 7.5rem);
	--gutter: clamp(1rem, .5rem + 2.5vw, 2.5rem);
	--container: 1280px;
	--skew: -10deg;

	--r-sm: 2px; --r-md: 4px; --r-lg: 6px;
	--shadow-2: 0 14px 34px -14px rgba(0,0,0,.35);
	--shadow-red: 0 10px 28px -10px rgba(227,18,26,.65);
	--ease: cubic-bezier(.2,.7,.2,1);
	--t-fast: 150ms; --t-med: 240ms;

	--z-header: 40; --z-bar: 50; --z-nav: 60; --z-skip: 100;
	--header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--f-body); font-size: var(--fs-base); line-height: 1.6; color: var(--c-text); background: var(--c-white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--c-red-600); text-underline-offset: .18em; }
a:hover { color: var(--c-red); }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--c-black); margin: 0 0 var(--s-4); text-wrap: balance; }
h1, h2 { font-weight: 800; font-style: italic; text-transform: uppercase; line-height: .95; letter-spacing: -.005em; }
h1 { font-size: var(--fs-h1); }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); font-weight: 700; font-style: italic; text-transform: uppercase; line-height: 1.05; letter-spacing: .005em; }
h4, .h4 { font-size: var(--fs-h4); font-weight: 700; text-transform: uppercase; line-height: 1.15; }
p { margin: 0 0 var(--s-4); }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--c-red); outline-offset: 3px; }
main:focus { outline: none; }
::selection { background: var(--c-red); color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; } .center { text-align: center; }
.text-lg { font-size: var(--fs-lg); }
.icon { flex-shrink: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: var(--z-skip); background: var(--c-red); color: #fff; padding: .75rem 1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; color: #fff; }
@media (max-width: 640px) { .hide-sm { display: none; } }

/* ---------- Damier ---------- */
.checker { height: 24px; background: conic-gradient(var(--c-red) 25%, #fff 0 50%, var(--c-red) 0 75%, #fff 0) 0 0 / 24px 24px; }
.checker--top { position: absolute; left: 0; right: 0; top: 0; }

/* ---------- Eyebrow ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--f-head); font-size: .95rem; font-weight: 700; font-style: italic; letter-spacing: .12em; text-transform: uppercase; color: var(--c-red-600); margin-bottom: var(--s-4); }
.eyebrow::before { content: ""; width: 26px; height: 6px; background: var(--c-red); transform: skewX(var(--skew)); }
.eyebrow--light { color: var(--c-red-light); }

/* ---------- Boutons (inclinés) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: .75rem 1.6rem; border: 2px solid transparent; border-radius: var(--r-sm); font-family: var(--f-head); font-weight: 800; font-style: italic; font-size: 1.125rem; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; cursor: pointer; transform: skewX(var(--skew)); transition: background-color var(--t-fast) var(--ease), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast) var(--ease); touch-action: manipulation; white-space: nowrap; }
.btn > * { transform: skewX(calc(var(--skew) * -1)); }
.btn:active { transform: skewX(var(--skew)) scale(.97); }
.btn .icon-arrow { transition: transform var(--t-fast) var(--ease); }
.btn:hover .icon-arrow { transform: skewX(10deg) translateX(3px); }
.btn--sm { min-height: 44px; padding: .5rem 1.1rem; font-size: 1rem; }
.btn--xl { min-height: 60px; padding: .9rem 2rem; font-size: 1.375rem; font-variant-numeric: tabular-nums; }
.btn--block { width: 100%; }
.btn--primary { background: var(--c-red); color: #fff; box-shadow: var(--shadow-red); }
.btn--primary:hover { background: var(--c-red-600); color: #fff; }
.btn--dark { background: var(--c-black); color: #fff; }
.btn--dark:hover { background: var(--c-carbon-2); color: #fff; }
.btn--outline { background: transparent; color: var(--c-black); border-color: var(--c-black); }
.btn--outline:hover { background: var(--c-black); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--f-head); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .04em; font-size: 1rem; color: var(--c-red-600); text-decoration: none; }
.link-arrow .icon { transition: transform var(--t-fast) var(--ease); }
a:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--lg { font-size: 1.125rem; margin-top: var(--s-4); }

/* ---------- Barre du haut ---------- */
.topbar { background: var(--c-red); color: #fff; font-size: var(--fs-sm); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 36px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: .5rem; font-weight: 500; white-space: nowrap; }
.topbar p > .hide-sm { display: inline-flex; gap: .5rem; }
@media (max-width: 640px) { .topbar p > .hide-sm { display: none; } }
.topbar strong { font-family: var(--f-head); font-style: italic; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; }
.topbar-sep { opacity: .6; }
.topbar-phone { color: #fff; font-family: var(--f-head); font-weight: 800; font-style: italic; font-size: 1.0625rem; letter-spacing: .03em; text-decoration: none; font-variant-numeric: tabular-nums; min-height: 36px; display: inline-flex; align-items: center; }
.topbar-phone:hover { color: #fff; text-decoration: underline; }
.live { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 70% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: var(--c-black); border-bottom: 1px solid var(--c-carbon-line); transition: box-shadow var(--t-med); }
.site-header.is-scrolled { box-shadow: 0 8px 24px -10px rgba(0,0,0,.6); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; min-height: 44px; }
.brand:hover { color: #fff; }
.brand-mark { width: 30px; height: 24px; background: linear-gradient(90deg, var(--c-red) 0 55%, transparent 55% 65%, var(--c-red) 65% 80%, transparent 80% 88%, var(--c-red) 88%); transform: skewX(var(--skew)); }
.brand-logo { max-height: 48px; width: auto; }
.brand-text { display: inline-flex; flex-direction: column; line-height: .9; font-family: var(--f-head); font-style: italic; text-transform: uppercase; }
.brand-text strong { font-weight: 800; font-size: 1.625rem; letter-spacing: .02em; color: #fff; }
.brand-text span { font-weight: 700; font-size: .8125rem; letter-spacing: .32em; color: var(--c-red-light); }

.nav-list { list-style: none; display: flex; align-items: center; gap: .15rem; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .85rem; font-family: var(--f-head); font-weight: 700; font-style: italic; font-size: 1.0625rem; text-transform: uppercase; letter-spacing: .05em; color: #fff; text-decoration: none; position: relative; }
.nav-list > li > a::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .35rem; height: 3px; background: var(--c-red); transform: scaleX(0) skewX(var(--skew)); transform-origin: left; transition: transform var(--t-med) var(--ease); }
.nav-list > li > a:hover::after, .nav-list > li > a[aria-current="page"]::after, .nav-list > .current-menu-parent > a::after { transform: scaleX(1) skewX(var(--skew)); }
.nav-list a:hover { color: #fff; }
.nav-list .menu-item-has-children { position: relative; }
.submenu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 44px; margin-left: -.6rem; background: none; border: 0; color: #fff; cursor: pointer; }
.submenu-toggle svg { width: 14px; height: 14px; transition: transform var(--t-fast); }
.menu-item-has-children.is-open > .submenu-toggle svg { transform: rotate(180deg); }
.nav-list .sub-menu { list-style: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; padding: .5rem; background: var(--c-carbon); border: 1px solid var(--c-carbon-line); border-top: 3px solid var(--c-red); box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast); }
.nav-list .menu-item-has-children:hover > .sub-menu, .nav-list .menu-item-has-children:focus-within > .sub-menu, .nav-list .menu-item-has-children.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-list .sub-menu a { display: flex; width: 100%; padding: .6rem .8rem; font-size: 1rem; }
.nav-list .sub-menu a:hover { background: var(--c-carbon-2); color: var(--c-red-light); }

.header-actions { display: flex; align-items: center; gap: var(--s-3); }
.header-call { font-variant-numeric: tabular-nums; }
.nav-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1px solid var(--c-carbon-line); background: var(--c-carbon); color: #fff; cursor: pointer; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline-flex; }
.nav-mobile-foot { display: none; }

@media (max-width: 1020px) {
	.nav-toggle { display: inline-flex; }
	.header-call span { display: none; }
	.header-call { width: 48px; padding: 0; }
	.main-nav { position: fixed; inset: calc(var(--header-h) + 36px) 0 0 0; z-index: var(--z-nav); background: var(--c-black); padding: var(--s-5) var(--gutter) calc(var(--s-6) + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity var(--t-med), transform var(--t-med), visibility var(--t-med); display: flex; flex-direction: column; }
	.main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-list > li { border-bottom: 1px solid var(--c-carbon-line); display: flex; flex-wrap: wrap; align-items: center; }
	.nav-list > li > a { flex: 1; font-size: 1.625rem; min-height: 60px; padding-inline: 0; }
	.nav-list > li > a::after { display: none; }
	.submenu-toggle { width: 48px; height: 60px; margin: 0; }
	.nav-list .sub-menu { position: static; flex-basis: 100%; min-width: 0; border: 0; box-shadow: none; padding: 0 0 var(--s-3); background: none; opacity: 1; visibility: visible; transform: none; display: none; }
	.nav-list .menu-item-has-children.is-open > .sub-menu { display: block; }
	.nav-list .menu-item-has-children:hover > .sub-menu { display: none; }
	.nav-list .menu-item-has-children.is-open:hover > .sub-menu { display: block; }
	.nav-list .sub-menu a { font-size: 1.1875rem; padding-left: var(--s-4); min-height: 48px; color: var(--c-on-dark-muted); }
	.nav-mobile-foot { display: grid; gap: var(--s-3); margin-top: auto; padding-top: var(--s-6); }
	.nav-mobile-note { color: var(--c-on-dark-muted); text-align: center; margin: 0; font-size: var(--fs-sm); }
	body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero, .page-hero--service { position: relative; background: var(--c-black); color: var(--c-on-dark); overflow: hidden; isolation: isolate; }
.hero { padding: clamp(2.5rem, 1rem + 5vw, 5.5rem) 0 clamp(5rem, 3rem + 6vw, 8rem); }
.hero::before, .page-hero--service::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
	radial-gradient(1200px 500px at 85% 0%, rgba(227,18,26,.18), transparent 60%),
	repeating-linear-gradient(45deg, rgba(255,255,255,.018) 0 2px, transparent 2px 6px),
	repeating-linear-gradient(-45deg, rgba(255,255,255,.018) 0 2px, transparent 2px 6px); }
.hero-stripes { position: absolute; right: -8%; top: 0; bottom: 0; width: 46%; z-index: -1; background: repeating-linear-gradient(100deg, transparent 0 38px, rgba(227,18,26,.14) 38px 44px, transparent 44px 90px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.hero h1, .page-hero--service h1 { color: #fff; margin-bottom: var(--s-5); }
.hero h1 .accent { color: var(--c-red); display: inline-block; padding: 0 .12em; background: none; -webkit-text-stroke: 0; }
.hero-lead, .page-lead { font-size: var(--fs-lg); color: var(--c-on-dark-muted); max-width: 58ch; margin-bottom: var(--s-6); }
.hero-lead strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.hero-actions--center { justify-content: center; }
.hero-proof { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--c-carbon-line); }
.hero-proof li { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: var(--fs-sm); color: #fff; }
.hero-proof .icon { color: var(--c-red-light); }
.hero-visual { position: relative; }
.hero-frame { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); background: var(--c-carbon); }
.hero-frame--sm { aspect-ratio: 4 / 3.2; }
.hero-frame .visual-img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--c-red); }
.hero-badge { position: absolute; left: -8px; bottom: 36px; display: grid; gap: 0; padding: .8rem 1.4rem .9rem; background: var(--c-red); color: #fff; transform: skewX(var(--skew)); box-shadow: var(--shadow-red); }
.hero-badge > * { transform: skewX(10deg); }
.hero-badge-k { font-family: var(--f-head); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: .12em; font-size: .8125rem; }
.hero-badge-v { font-family: var(--f-head); font-weight: 800; font-style: italic; font-size: 2.25rem; line-height: 1; font-variant-numeric: tabular-nums; }

/* Feux de départ */
.start-lights { display: inline-flex; gap: 8px; padding: 8px 10px; margin-bottom: var(--s-5); background: #000; border: 1px solid var(--c-carbon-line); border-radius: 6px; }
.start-lights span { width: 16px; height: 16px; border-radius: 50%; background: #2a0507; box-shadow: inset 0 0 0 2px #3a0a0c; animation: light 3.2s var(--ease) forwards; }
.start-lights span:nth-child(1) { animation-delay: .2s; } .start-lights span:nth-child(2) { animation-delay: .45s; } .start-lights span:nth-child(3) { animation-delay: .7s; } .start-lights span:nth-child(4) { animation-delay: .95s; } .start-lights span:nth-child(5) { animation-delay: 1.2s; }
@keyframes light { 0% { background: #2a0507; } 6%, 55% { background: var(--c-red); box-shadow: 0 0 14px rgba(255,40,40,.9), inset 0 0 0 2px #ff6b6b; } 62%, 100% { background: #2a0507; box-shadow: inset 0 0 0 2px #3a0a0c; } }

@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-frame { aspect-ratio: 16 / 11; clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%); }
	.hero-badge { left: 8px; bottom: 20px; }
	.hero-badge-v { font-size: 1.75rem; }
}
@media (max-width: 560px) { .hero-actions .btn { width: 100%; } .hero-proof { flex-direction: column; } }

/* ---------- Chronométrage ---------- */
.timing { position: relative; z-index: 2; margin-top: -3.5rem; }
.timing-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--c-carbon); border: 1px solid var(--c-carbon-line); border-left: 6px solid var(--c-red); box-shadow: var(--shadow-2); }
.timing-row { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .9rem; padding: 1.25rem 1.4rem; border-right: 1px solid var(--c-carbon-line); }
.timing-row:last-child { border-right: 0; }
.timing-pos { grid-row: 1 / 3; align-self: center; display: inline-grid; place-items: center; width: 42px; height: 30px; background: #fff; color: var(--c-black); font-family: var(--f-head); font-weight: 800; font-style: italic; font-size: 1.0625rem; transform: skewX(var(--skew)); }
.timing-row:first-child .timing-pos { background: var(--c-red); color: #fff; }
.timing-val { font-family: var(--f-head); font-weight: 800; font-style: italic; font-size: 2.125rem; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; text-transform: uppercase; }
.timing-label { font-size: var(--fs-xs); color: var(--c-on-dark-muted); line-height: 1.35; margin-top: 4px; }
@media (max-width: 900px) { .timing-grid { grid-template-columns: 1fr 1fr; } .timing-row:nth-child(2) { border-right: 0; } .timing-row:nth-child(-n+2) { border-bottom: 1px solid var(--c-carbon-line); } }
@media (max-width: 480px) { .timing-grid { grid-template-columns: 1fr; } .timing-row { border-right: 0; border-bottom: 1px solid var(--c-carbon-line); } .timing-row:last-child { border-bottom: 0; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.section--alt { background: var(--c-grey-50); }
.section--dark { background: var(--c-black); color: var(--c-on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--c-on-dark-muted); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head p:last-child { color: var(--c-muted); font-size: var(--fs-lg); margin: 0; }
.section--dark .section-head p:last-child { color: var(--c-on-dark-muted); }

/* ---------- Cartes services ---------- */
.services-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.service-card { position: relative; background: #fff; border: 1px solid var(--c-line); overflow: hidden; transition: border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med) var(--ease); }
.service-card::before { content: ""; position: absolute; z-index: 2; left: 0; top: 0; height: 5px; width: 0; background: var(--c-red); transition: width 400ms var(--ease); }
.service-card:hover::before { width: 100%; }
.service-card > a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.service-card:hover { border-color: var(--c-black); box-shadow: var(--shadow-2); transform: translateY(-4px); }
.service-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-carbon); }
.service-card-media .visual-img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.service-card:hover .service-card-media .visual-img { transform: scale(1.05); }
.service-card-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: var(--s-5) var(--s-5) var(--s-6); }
.service-num { position: absolute; top: -26px; right: 18px; display: inline-grid; place-items: center; min-width: 58px; height: 44px; padding: 0 .6rem; background: var(--c-black); color: #fff; font-family: var(--f-head); font-weight: 800; font-style: italic; font-size: 1.5rem; transform: skewX(var(--skew)); }
.service-card:hover .service-num { background: var(--c-red); }
.service-card h3 { margin-bottom: var(--s-2); }
.service-card p { color: var(--c-muted); flex: 1; }
.service-card--cta { background: var(--c-red); border-color: var(--c-red); color: #fff; }
.service-card--cta::before { display: none; }
.service-card--cta:hover { transform: none; border-color: var(--c-red); }
.service-card--cta .service-card-body { justify-content: center; padding: var(--s-7) var(--s-6); background: repeating-linear-gradient(100deg, transparent 0 30px, rgba(0,0,0,.08) 30px 36px); }
.service-card--cta .service-num { top: 18px; background: #fff; color: var(--c-red); }
.service-card--cta h3 { color: #fff; font-size: 1.875rem; }
.service-card--cta p { color: rgba(255,255,255,.92); flex: 0; margin-bottom: var(--s-5); }
.service-card--cta .btn--primary { background: var(--c-black); box-shadow: none; align-self: flex-start; }
.service-card--cta .btn--primary:hover { background: var(--c-carbon-2); }
@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Piste (étapes) ---------- */
.track { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 4px; background: repeating-linear-gradient(90deg, #fff 0 18px, var(--c-red) 18px 36px); }
.track-step { position: relative; padding: 0 var(--s-5) 0 0; }
.track-sector { position: relative; display: inline-grid; place-items: center; width: 64px; height: 46px; margin-bottom: var(--s-5); background: var(--c-red); color: #fff; font-family: var(--f-head); font-weight: 800; font-style: italic; font-size: 1.375rem; transform: skewX(var(--skew)); box-shadow: 0 0 0 6px var(--c-black); }
.track-step h3 { font-size: 1.5rem; margin-bottom: var(--s-2); }
.track-step p { margin: 0; font-size: var(--fs-sm); }
.track--compact { grid-template-columns: 1fr 1fr; row-gap: var(--s-6); }
.track--compact::before { display: none; }
@media (max-width: 900px) { .track { grid-template-columns: 1fr 1fr; row-gap: var(--s-6); } .track::before { display: none; } }
@media (max-width: 520px) { .track, .track--compact { grid-template-columns: 1fr; } }

/* ---------- Split / raisons ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.split--top { align-items: start; }
.split-text > p { color: var(--c-muted); font-size: var(--fs-lg); }
.section--dark .split-text > p { color: var(--c-on-dark-muted); }
.reasons { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); }
.reason { background: #fff; padding: var(--s-6) var(--s-5); }
.reason-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: var(--s-4); background: var(--c-black); color: #fff; transform: skewX(var(--skew)); }
.reason-icon .icon { transform: skewX(10deg); }
.reason:hover .reason-icon { background: var(--c-red); }
.reason h3 { font-size: 1.375rem; margin-bottom: var(--s-2); }
.reason p { color: var(--c-muted); margin: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .reasons { grid-template-columns: 1fr; } }

/* ---------- Zone ---------- */
.zone-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--s-5); }
.zone-list li { display: flex; align-items: center; gap: .6rem; padding: .8rem 0; border-bottom: 1px solid var(--c-line); font-weight: 600; }
.zone-list .icon { color: var(--c-red); }
.zone-note { color: var(--c-muted); margin-top: var(--s-5); }
@media (min-width: 1000px) { .page-template-default .zone-list, .page .split .zone-list { grid-template-columns: repeat(3, 1fr); } }
.radar { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; margin-inline: auto; background: var(--c-black); border-radius: 50%; overflow: hidden; }
.radar::before { content: ""; position: absolute; inset: 0; background: conic-gradient(from 0deg, rgba(227,18,26,.45), transparent 22%); border-radius: 50%; animation: sweep 5s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar-ring { position: absolute; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.r1 { width: 33%; height: 33%; } .r2 { width: 66%; height: 66%; } .r3 { width: 96%; height: 96%; border-color: var(--c-red); border-style: dashed; }
.radar-dot { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; background: var(--c-red); border-radius: 50%; box-shadow: 0 0 0 6px rgba(227,18,26,.3); }
.radar-label { position: absolute; left: 50%; top: calc(50% + 16px); transform: translateX(-50%); color: #fff; font-family: var(--f-head); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .08em; }
.radar-km { position: absolute; right: 8%; top: 18%; color: var(--c-red-light); font-family: var(--f-head); font-weight: 800; font-style: italic; font-size: 1.5rem; }

/* ---------- CTA ---------- */
.cta-band { position: relative; background: var(--c-black); color: var(--c-on-dark); overflow: hidden; padding-top: 24px; }
.cta-band::after { content: ""; position: absolute; inset: 24px 0 0 50%; background: repeating-linear-gradient(100deg, transparent 0 38px, rgba(227,18,26,.12) 38px 44px, transparent 44px 90px); pointer-events: none; }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-6); align-items: center; padding-block: clamp(3.5rem, 2rem + 5vw, 6rem); }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--c-on-dark-muted); font-size: var(--fs-lg); max-width: 54ch; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: flex-end; }
@media (max-width: 900px) { .cta-inner { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } }
@media (max-width: 560px) { .cta-actions .btn { width: 100%; } }

/* ---------- Pages internes ---------- */
.page-hero { position: relative; padding: clamp(2rem, 1rem + 3vw, 4rem) 0 clamp(2.5rem, 1.5rem + 4vw, 5rem); background: var(--c-black); color: var(--c-on-dark); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 400px at 90% 0%, rgba(227,18,26,.2), transparent 60%), repeating-linear-gradient(45deg, rgba(255,255,255,.018) 0 2px, transparent 2px 6px); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: conic-gradient(var(--c-red) 25%, #fff 0 50%, var(--c-red) 0 75%, #fff 0) 0 0 / 12px 12px; }
.page-hero h1 { color: #fff; font-size: clamp(2.5rem, 1.5rem + 4vw, 4.75rem); max-width: 18ch; }
.page-hero--service h1 { max-width: none; }
.page-hero .page-lead { margin-bottom: var(--s-5); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin-bottom: var(--s-5); font-size: var(--fs-sm); color: var(--c-on-dark-muted); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: .5rem; color: #71717A; }
.breadcrumb a { color: var(--c-on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: #fff; font-weight: 600; }

.feature-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
.feature { position: relative; padding: var(--s-6) var(--s-5) var(--s-5) 5.5rem; border: 1px solid var(--c-line); border-left: 5px solid var(--c-black); transition: border-color var(--t-fast); }
.feature:hover { border-left-color: var(--c-red); }
.feature-num { position: absolute; left: 1.25rem; top: var(--s-6); font-family: var(--f-head); font-weight: 800; font-style: italic; font-size: 2.5rem; line-height: .8; color: var(--c-red); font-variant-numeric: tabular-nums; }
.feature h3 { font-size: 1.375rem; margin-bottom: var(--s-2); }
.feature p { color: var(--c-muted); margin: 0; }
@media (max-width: 800px) { .feature-grid { grid-template-columns: 1fr; } }

.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--s-7); align-items: start; }
.faq { border-top: 2px solid var(--c-black); }
.faq-item { border-bottom: 1px solid var(--c-line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 64px; padding: var(--s-4) 0; font-family: var(--f-head); font-weight: 700; font-size: 1.3125rem; text-transform: uppercase; font-style: italic; cursor: pointer; list-style: none; line-height: 1.15; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--c-red-600); }
.faq-icon { display: inline-grid; place-items: center; width: 40px; height: 36px; flex-shrink: 0; background: var(--c-grey-50); transform: skewX(var(--skew)); transition: background-color var(--t-fast); }
.faq-icon .icon { transition: transform var(--t-med) var(--ease); }
.faq-item[open] .faq-icon { background: var(--c-red); color: #fff; }
.faq-item[open] .faq-icon .icon { transform: rotate(45deg); }
.faq-answer { padding: 0 3rem var(--s-5) 0; color: var(--c-muted); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: var(--s-5); } .faq-answer { padding-right: 0; } }

.other-services { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); margin-top: var(--s-5); }
.other-services a { display: flex; align-items: center; gap: .75rem; min-height: 64px; padding: var(--s-4); background: #fff; border: 1px solid var(--c-line); color: var(--c-black); text-decoration: none; font-family: var(--f-head); font-weight: 700; font-style: italic; text-transform: uppercase; font-size: 1.125rem; transition: border-color var(--t-fast), color var(--t-fast); }
.other-services a span { flex: 1; }
.other-services a > .icon:first-child { color: var(--c-red); }
.other-services a:hover { border-color: var(--c-black); color: var(--c-red-600); }
@media (max-width: 1000px) { .other-services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .other-services { grid-template-columns: 1fr; } }

.prose { max-width: 760px; }
.prose h2 { font-size: 2rem; margin-top: var(--s-7); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #27272A; }
.prose ul, .prose ol { padding-left: 1.25rem; margin-bottom: var(--s-4); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: start; }
.contact-aside { display: grid; gap: var(--s-4); position: sticky; top: calc(var(--header-h) + 24px); }
.contact-card { padding: var(--s-6); background: var(--c-black); color: var(--c-on-dark); border-left: 6px solid var(--c-red); }
.contact-card h2 { color: #fff; }
.contact-card--muted { background: var(--c-grey-50); color: var(--c-text); border-left-color: var(--c-black); }
.contact-card--muted h2 { color: var(--c-black); }
.contact-phone { display: inline-flex; align-items: center; gap: .6rem; min-height: 56px; font-family: var(--f-head); font-weight: 800; font-style: italic; font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); color: #fff; text-decoration: none; font-variant-numeric: tabular-nums; }
.contact-phone .icon { color: var(--c-red-light); width: 28px; height: 28px; }
.contact-phone:hover { color: var(--c-red-light); }
.contact-list { list-style: none; display: grid; gap: var(--s-3); margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--c-carbon-line); }
.contact-list li { display: flex; gap: .75rem; align-items: flex-start; }
.contact-list .icon { color: var(--c-red-light); margin-top: 2px; }
.contact-list a { color: #fff; }
.prep-list { padding-left: 1.25rem; display: grid; gap: .4rem; color: var(--c-muted); }
.prep-list li::marker { color: var(--c-red); font-weight: 700; }
.contact-form-wrap { background: #fff; border: 1px solid var(--c-line); border-top: 5px solid var(--c-black); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-aside { position: static; } }

/* Formulaire */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-4); }
.field { display: grid; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: var(--fs-sm); }
.req { color: var(--c-err); }
.opt { font-weight: 400; color: var(--c-muted); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea { width: 100%; min-height: 52px; padding: .8rem 1rem; font: inherit; font-size: 1rem; color: var(--c-text); background: #fff; border: 1.5px solid #D4D4D8; border-radius: var(--r-sm); transition: border-color var(--t-fast), box-shadow var(--t-fast); appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230B0B0D' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-black); box-shadow: 0 0 0 4px rgba(227,18,26,.18); }
.field-help { margin: 0; font-size: var(--fs-xs); color: var(--c-muted); }
.field-error { display: none; margin: 0; font-size: var(--fs-xs); font-weight: 600; color: var(--c-err); }
.field.is-invalid .field-error { display: block; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--c-err); }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: .75rem; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--c-red); }
.field--check label { font-weight: 400; color: var(--c-muted); }
.field--check .field-error { grid-column: 2; }
.form-note { font-size: var(--fs-xs); color: var(--c-muted); margin: var(--s-4) 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.25rem; margin-bottom: var(--s-5); border-radius: var(--r-sm); }
.notice p { margin: 0; }
.notice a { color: inherit; font-weight: 700; }
.notice--urgent { background: var(--c-black); color: #fff; border-left: 5px solid var(--c-red); }
.notice--urgent .icon { color: var(--c-red-light); margin-top: 2px; }
.notice--urgent a { color: #fff; white-space: nowrap; }
.notice--ok { background: #E7F6EE; color: #0B5C38; border: 1px solid #B6E2C9; }
.notice--ok .icon { color: var(--c-ok); margin-top: 2px; }
.notice--err { background: #FDECEA; color: #8A1C12; border: 1px solid #F5C2BC; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--c-black); color: var(--c-on-dark-muted); padding-top: calc(24px + var(--s-8)); font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.1fr; gap: var(--s-7) var(--s-6); padding-bottom: var(--s-7); }
.footer-brand p { margin: var(--s-4) 0; max-width: 36ch; }
.footer-phone { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: #fff; font-family: var(--f-head); font-weight: 800; font-style: italic; font-size: 1.75rem; text-decoration: none; font-variant-numeric: tabular-nums; }
.footer-phone .icon { color: var(--c-red-light); }
.footer-phone:hover { color: var(--c-red-light); }
.footer-title { font-size: 1.0625rem; letter-spacing: .1em; text-transform: uppercase; font-style: italic; color: #fff; margin-bottom: var(--s-4); }
.footer-list { list-style: none; display: grid; gap: .3rem; }
.footer-list a { display: inline-flex; min-height: 32px; align-items: center; color: var(--c-on-dark); text-decoration: none; }
.footer-list a:hover { color: var(--c-red-light); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact .icon { color: var(--c-red-light); margin-top: 6px; }
.footer-contact span { padding-top: 4px; }
.footer-area { line-height: 1.8; }
.footer-area a { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-3) var(--s-5); padding-block: var(--s-5); border-top: 1px solid var(--c-carbon-line); font-size: var(--fs-xs); }
.footer-bottom p { margin: 0; }
.footer-links { list-style: none; display: flex; gap: var(--s-4); }
.footer-bottom a { color: var(--c-on-dark-muted); display: inline-flex; min-height: 32px; align-items: center; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Barre d'appel mobile ---------- */
.mobile-bar { display: none; }
@media (max-width: 1020px) {
	.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar); display: block; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: var(--c-black); border-top: 3px solid var(--c-red); transform: translateY(110%); transition: transform var(--t-med) var(--ease); }
	.mobile-bar.is-visible { transform: none; }
	.mobile-bar-call { display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 54px; background: var(--c-red); color: #fff; font-family: var(--f-head); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.3125rem; letter-spacing: .02em; text-decoration: none; transform: skewX(var(--skew)); font-variant-numeric: tabular-nums; }
	.mobile-bar-call > * { transform: skewX(10deg); }
	.mobile-bar-call:hover { color: #fff; background: var(--c-red-600); }
	body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
	body.nav-open .mobile-bar { transform: translateY(110%); }
}

/* ---------- Apparition ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.start-lights span { background: var(--c-red); }
	.reveal { opacity: 1; transform: none; }
}

.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; }
.alignwide { max-width: 1100px; } .alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.error-404 { min-height: 50vh; display: grid; place-items: center; }
