/* CIMES Équipement : feuille de style principale */

@font-face { font-family: Montserrat; src: url(../fonts/montserrat-var.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: Roboto; src: url(../fonts/roboto-700.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: Roboto; src: url(../fonts/roboto-900.woff2) format("woff2"); font-weight: 800 900; font-style: normal; font-display: swap; }

:root {
	--blue: #0274be;
	--blue-dark: #015a95;
	--blue-bright: #2fa8ee;
	--night: #0b1c2c;
	--night-2: #102a40;
	--cold: #f4f8fb;
	--white: #fff;
	--steel: #8a97a3;
	--ink: #1c2226;
	--text: #4b4f58;
	--line: #dbe4ec;
	--header-h: 76px;
	--font-body: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-head: Roboto, "Arial Narrow", system-ui, sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--cold); -webkit-font-smoothing: antialiased; }

/* Fond « plan d'ingénierie » : canvas fixe derrière tout le contenu (voir js/background.js) */
.bg-blueprint { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
.site-main, .site-footer { position: relative; z-index: 1; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; line-height: 1.08; color: var(--ink); margin: 0; letter-spacing: .005em; }
h1, h2, h3 { text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.icon { width: 1.2em; height: 1.2em; flex: none; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--night); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }

.kicker { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--blue); color: #fff; padding: 15px 28px; font: 700 13px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--blue); transition: background .25s var(--ease), border-color .25s, transform .25s var(--ease), color .25s; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--night); border-color: rgba(11, 28, 44, .3); }
.btn--ghost:hover { background: var(--night); border-color: var(--night); color: #fff; }
.btn--light { background: #fff; color: var(--night); border-color: #fff; }
.btn--light:hover { background: var(--blue-bright); border-color: var(--blue-bright); color: #fff; }
.btn--small { padding: 12px 20px; font-size: 12px; }

/* En-tête */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .94); box-shadow: 0 6px 24px rgba(11, 28, 44, .06); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__brand { display: flex; align-items: center; }
.logo { display: block; height: 42px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav ul { display: flex; gap: 28px; }
.site-nav li a { position: relative; color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .04em; padding: 6px 0; }
.site-nav li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav li a:hover::after, .site-nav li a[aria-current]::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 0; position: relative; cursor: pointer; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 980px) {
	.nav-toggle { display: block; }
	.site-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 20px; background: #fff; padding: 24px; border-bottom: 1px solid var(--line); transform: translateY(-120%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; }
	.site-nav.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease); }
	.site-nav ul { flex-direction: column; gap: 4px; }
	.site-nav li a { display: block; padding: 12px 0; font-size: 15px; }
	.site-nav .btn { justify-content: center; }
}

.site-main { display: block; }
.is-inner .site-main { padding-top: var(--header-h); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 56px) 0 80px; overflow: hidden; }
.hero__inner { position: relative; z-index: 1; }
.hero__title { font-size: clamp(36px, 5.6vw, 72px); max-width: 14em; color: var(--night); }
.hero__title span { color: var(--blue); }
.hero__lead { margin-top: 26px; max-width: 34em; font-size: clamp(16px, 1.4vw, 18px); }
.hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Chiffres clés */
.stats { background: var(--blue); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__grid > div { padding: 38px 20px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .18); }
.stats__grid > div:first-child { border-left: 0; }
.stats b { display: block; font: 800 clamp(34px, 4vw, 52px)/1 var(--font-head); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
@media (max-width: 720px) { .stats__grid { grid-template-columns: 1fr 1fr; } .stats__grid > div:nth-child(3) { border-left: 0; } .stats__grid > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .18); } }

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section__head h2, .why__intro h2, .cta h2 { font-size: clamp(28px, 3.6vw, 46px); }
.section__head p:not(.kicker) { margin-top: 20px; font-size: 17px; }
.section__head--light h2 { color: #fff; }
.section__head--light p { color: rgba(255, 255, 255, .75); }
.section__head--light .kicker { color: var(--blue-bright); }

/* Cartes secteurs */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { position: relative; background: #fff; border: 1px solid var(--line); padding: 36px 32px 34px; display: flex; flex-direction: column; gap: 14px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(11, 28, 44, .25); border-color: transparent; }
.card:hover::before, .card--main::before { transform: scaleX(1); }
.card__icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--blue); background: var(--cold); border: 1px solid var(--line); }
.card__icon .icon { width: 26px; height: 26px; }
.card__tag { align-self: flex-start; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: #fff; background: var(--blue); padding: 5px 10px; }
.card h3 { font-size: 22px; }
.card__link { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.card__link .icon { transition: transform .25s var(--ease); }
.card__link:hover .icon { transform: translateX(5px); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* Vidéo */
.reel { position: relative; background: var(--night); padding: clamp(72px, 10vw, 128px) 0; overflow: hidden; }
.reel::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); }
.reel .wrap { position: relative; }
.reel__frame { position: relative; width: min(1100px, 100%); margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #123652, #08131f); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); transform-origin: center top; will-change: transform; }
.reel__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel__play { position: absolute; inset: 0; width: 100%; background: none; border: 0; color: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; font-family: inherit; }
.reel__play span { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); box-shadow: 0 0 0 0 rgba(47, 168, 238, .5); transition: transform .3s var(--ease), background .3s; animation: pulse 2.8s infinite; }
.reel__play span .icon { width: 34px; height: 34px; margin-left: 4px; }
.reel__play:hover span { transform: scale(1.08); background: var(--blue-bright); }
.reel__play em { font-style: normal; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; }
.reel__note { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: 11px; color: rgba(255, 255, 255, .5); }
@keyframes pulse { 70% { box-shadow: 0 0 0 26px rgba(47, 168, 238, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 168, 238, 0); } }

/* Pourquoi CIMES : section épinglée au scroll */
.why { background: transparent; }
.why__pin { padding: clamp(72px, 9vw, 120px) 0; }
.why__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.why__intro p:not(.kicker) { margin-top: 20px; font-size: 17px; max-width: 28em; }
.why__gear { margin-top: 40px; color: var(--blue); opacity: .35; }
.why__gear svg { overflow: visible; }
.why__steps { display: grid; gap: 0; }
.why__step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); transition: opacity .4s, transform .4s var(--ease); }
.why__step:last-child { border-bottom: 1px solid var(--line); }
.why__num { font: 800 22px/1 var(--font-head); color: var(--steel); letter-spacing: .04em; padding-top: 4px; transition: color .4s; }
.why__step h3 { font-size: 21px; margin-bottom: 8px; }
.why__step.is-active .why__num { color: var(--blue); }
.why-pinned { min-height: 100svh; display: flex; align-items: center; }
.why-pinned .why__pin { width: 100%; padding: calc(var(--header-h) + 24px) 0 40px; }
.why-pinned .why__step { opacity: .4; }
.why-pinned .why__step p { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.why-pinned .why__step.is-active { opacity: 1; }
.why-pinned .why__step.is-active p { max-height: 140px; opacity: 1; }
.why-pinned .why__step h3 { margin-bottom: 0; transition: margin .4s var(--ease); }
.why-pinned .why__step.is-active h3 { margin-bottom: 8px; }
@media (max-width: 900px) { .why__grid { grid-template-columns: 1fr; } .why__gear { display: none; } }

/* Appel à action */
.cta { position: relative; background: var(--night); color: #fff; padding: clamp(72px, 9vw, 112px) 0; text-align: center; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: radial-gradient(60% 90% at 50% 50%, #000, transparent); mask-image: radial-gradient(60% 90% at 50% 50%, #000, transparent); }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .75); max-width: 36em; }
.cta .btn { margin-top: 12px; }

/* Pied de page */
.site-footer { background: #07131f; color: rgba(255, 255, 255, .7); font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; padding: 72px 0 48px; }
.site-footer .logo--footer { filter: brightness(0) invert(1); height: 38px; }
.site-footer__tagline { margin-top: 20px; max-width: 26em; }
.site-footer__title { font: 700 12px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: inherit; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--blue-bright); margin-top: 3px; }
.site-footer__legal { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 30px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; }
@media (max-width: 800px) { .site-footer__grid { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; } }

/* ---------- Pages intérieures ---------- */

/* Bandeau de titre */
.phero { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 88px); }
.phero__inner { position: relative; }
.phero__title { font-size: clamp(32px, 4.8vw, 60px); max-width: 16em; color: var(--night); }
.phero__title span { color: var(--blue); }
.phero__lead { margin-top: 22px; max-width: 38em; font-size: clamp(16px, 1.3vw, 18px); }
.phero .hero__cta { margin-top: 32px; }

.section--cold { background: transparent; }

/* Normes */
.badges { background: var(--night); }
.badges__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.badge { padding: 30px 16px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .12); }
.badge:first-child { border-left: 0; }
.badge b { display: block; font: 800 clamp(26px, 3vw, 38px)/1 var(--font-head); color: #fff; letter-spacing: .06em; }
.badge span { display: block; margin-top: 8px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-bright); }
@media (max-width: 640px) { .badges__grid { grid-template-columns: 1fr 1fr; } .badge:nth-child(3) { border-left: 0; } .badge:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); } }

/* Points clés */
.features { border-bottom: 1px solid var(--line); }
.features__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.feature { display: flex; gap: 12px; padding: 26px 18px; border-left: 1px solid var(--line); }
.feature:first-child { border-left: 0; }
.feature .icon { color: var(--blue); margin-top: 2px; }
.feature b { display: block; font: 700 14px/1.3 var(--font-body); color: var(--ink); text-transform: uppercase; letter-spacing: .04em; }
.feature span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; }
@media (max-width: 1000px) { .features__grid { grid-template-columns: 1fr 1fr; } .feature:nth-child(odd) { border-left: 0; } .feature { border-top: 1px solid var(--line); } }

/* Cartes numérotées */
.cards--numbered { grid-template-columns: repeat(3, 1fr); }
.cards--four { grid-template-columns: repeat(4, 1fr); }
.card__num { font: 800 15px/1 var(--font-head); letter-spacing: .1em; color: var(--blue); }
@media (max-width: 1100px) { .cards--four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .cards--numbered { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards--numbered, .cards--four { grid-template-columns: 1fr; } }

/* Bandeau sombre */
.band { padding: clamp(72px, 9vw, 112px) 0; }
.band--dark { background: var(--night); color: rgba(255, 255, 255, .75); }
.band--dark h2 { color: #fff; font-size: clamp(28px, 3.4vw, 44px); }
.band--dark .kicker { color: var(--blue-bright); }
.band__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.band__grid p:not(.kicker) { margin: 20px 0 32px; font-size: 17px; max-width: 32em; }
.checks { display: grid; gap: 14px; }
.checks li { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: #fff; font: 700 15px/1.3 var(--font-body); }
.checks .icon { color: var(--blue-bright); width: 22px; height: 22px; }
@media (max-width: 900px) { .band__grid { grid-template-columns: 1fr; } }

/* Offres (Machines & Services) */
.offers { display: grid; gap: 20px; }
.offer { display: grid; grid-template-columns: 80px 1fr auto; gap: 32px; align-items: center; padding: 36px 40px; background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.offer:hover { border-color: var(--blue); box-shadow: 0 24px 48px -28px rgba(11, 28, 44, .3); transform: translateY(-3px); }
.offer__num { font: 800 44px/1 var(--font-head); color: var(--line); transition: color .3s; }
.offer:hover .offer__num { color: var(--blue); }
.offer__cat { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.offer h2 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 12px; }
.offer__body > p:not(.offer__cat) { max-width: 40em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li { font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 6px 12px; background: var(--cold); border: 1px solid var(--line); color: var(--night); }
@media (max-width: 900px) { .offer { grid-template-columns: 1fr; gap: 18px; padding: 28px 24px; } .offer__num { font-size: 32px; } .offer .btn { justify-self: start; } }

/* Réalisations */
.projects .wrap { display: grid; gap: 0; }
.project { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.project:last-child { border-bottom: 1px solid var(--line); }
.project__sector { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--blue); margin-bottom: 14px; }
.project h2 { font-size: clamp(22px, 2.6vw, 34px); margin-bottom: 16px; }
.chips--col { flex-direction: column; align-items: flex-start; margin-top: 0; }
.chips--col li { font-size: 14px; padding: 10px 16px; width: 100%; border-left: 3px solid var(--blue); }
.reel__frame--light { width: 100%; margin: 0; border-radius: 12px; }
@media (max-width: 900px) { .project { grid-template-columns: 1fr; } }

/* Témoignage */
.quote { padding: clamp(64px, 8vw, 104px) 0; }
.quote__inner { max-width: 820px; text-align: center; }
.quote__inner .icon { width: 40px; height: 40px; color: var(--blue); margin-bottom: 22px; }
.quote blockquote { margin: 0; font: 700 clamp(20px, 2.4vw, 28px)/1.4 var(--font-head); color: var(--night); }
.quote p { margin-top: 22px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }

/* L'entreprise */
.story { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.story__text h2 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 22px; }
.story__text p:not(.kicker) { margin-top: 16px; font-size: 17px; }
.facts { display: grid; gap: 0; border: 1px solid var(--line); background: rgba(255, 255, 255, .92); }
.facts > div { padding: 22px 28px; border-top: 1px solid var(--line); }
.facts > div:first-child { border-top: 0; }
.facts dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); font-weight: 700; }
.facts dd { margin: 6px 0 0; font: 800 22px/1.25 var(--font-head); color: var(--night); text-transform: uppercase; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.contact__info ul { display: grid; gap: 28px; margin-top: 8px; }
.contact__info li { display: flex; gap: 16px; align-items: flex-start; }
.contact__info .icon { width: 26px; height: 26px; color: var(--blue); margin-top: 2px; }
.contact__info b { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.contact__form { padding: clamp(28px, 4vw, 48px); background: rgba(255, 255, 255, .92); border: 1px solid var(--line); }
.contact__form h2 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 10px; }
.contact__legal { margin-top: 18px; font-size: 12px; color: var(--steel); }
.wpcf7-form { margin-top: 24px; display: grid; gap: 18px; }
.wpcf7-form label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.wpcf7-form input[type=text], .wpcf7-form input[type=email], .wpcf7-form textarea { display: block; width: 100%; margin-top: 8px; padding: 14px 16px; font: 400 16px/1.4 var(--font-body); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 0; transition: border-color .2s, box-shadow .2s; }
.wpcf7-form textarea { min-height: 150px; resize: vertical; }
.wpcf7-form input:focus, .wpcf7-form textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(2, 116, 190, .15); }
.wpcf7-submit { justify-self: start; cursor: pointer; background: var(--blue); color: #fff; border: 1px solid var(--blue); padding: 15px 32px; font: 700 13px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; transition: background .25s, transform .25s var(--ease); }
.wpcf7-submit:hover { background: var(--blue-dark); transform: translateY(-2px); }
.wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; color: #b3261e; }
.wpcf7-response-output { margin: 0 !important; padding: 14px 16px !important; font-size: 14px; border-width: 1px !important; }
.wpcf7-spinner { display: none; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* Texte courant (mentions légales) */
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 8px; }

/* Accueil : texte d'introduction, méthode en 5 étapes, questions fréquentes */
.intro__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro h2 { font-size: clamp(28px, 3.4vw, 44px); }
.intro__text { display: grid; gap: 18px; font-size: 17px; }
.intro__links { display: grid; gap: 4px; margin-top: 8px; }
.intro__links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; transition: color .2s, padding .3s var(--ease); }
.intro__links a:hover { padding-left: 10px; }
.intro__links .icon { transition: transform .25s var(--ease); }
.intro__links a:hover .icon { transform: translateX(4px); }
@media (max-width: 900px) { .intro__grid { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line); }
.step { position: relative; padding: 0 20px 0 0; }
.step__num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px; background: #fff; border: 1px solid var(--blue); color: var(--blue); font: 800 15px/1 var(--font-head); letter-spacing: .06em; position: relative; }
.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { font-size: 14px; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; } .steps::before { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.faq__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq h2 { font-size: clamp(28px, 3.4vw, 44px); }
.faq__item { border-top: 1px solid var(--line); background: rgba(255, 255, 255, .72); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 20px; font: 700 17px/1.35 var(--font-body); color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; font: 400 26px/1 var(--font-body); color: var(--blue); transition: transform .3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 20px 24px; max-width: 46em; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } }

/* Apparition au scroll (état initial posé seulement si le JS tourne) */
.js [data-rv] { opacity: 0; transform: translateY(28px); }
.js.no-motion [data-rv], .js.rv-fallback [data-rv] { opacity: 1; transform: none; }

/* Pages non encore refaites */
.legacy { min-height: 60vh; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
	.js [data-rv] { opacity: 1; transform: none; }
}
