/*
Theme Name: Digiworx
Description: Thème léger sur mesure pour Digiworx, laboratoire audiovisuel et graphique. Sans Elementor.
Version: 1.0.0
Author: Digiworx
Text Domain: digiworx
WPVibe: yes
*/

:root {
	--bg: #141210;
	--bg-deep: #0C0B0A;
	--card: #1D1A17;
	--line: #2E2A25;
	--line-2: #3A342D;
	--cream: #F2EEE6;
	--paper: #FBF8F2;
	--paper-line: #D9D1C3;
	--ink: #141210;
	--ink-2: #4F483E;
	--muted: #B3AA9C;
	--soft: #D8D1C4;
	--dim: #8F877A;
	--accent: #E8A33D;
	--accent-hover: #F5C675;
	--green: #1B2A22;
	--green-soft: #A9C6B3;
	--green-text: #D5E2D9;
	--f-head: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	--f-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
	--f-mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
	--pad: clamp(20px, 5.5vw, 80px);
	--max: 1440px;
	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--bg); color: var(--cream); font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a, button, input[type="submit"], [role="button"] { touch-action: manipulation; }
.btn, .menu-toggle, input[type="submit"] { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
@media (hover: hover) and (pointer: fine) {
	a:hover { color: var(--accent-hover); }
}
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto; z-index: 1000; background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: max(var(--pad), env(safe-area-inset-left, 0px)); padding-right: max(var(--pad), env(safe-area-inset-right, 0px)); }
.eyebrow { font-family: var(--f-mono); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.eyebrow--accent { color: var(--accent); }
.h-display { font-size: clamp(42px, 6vw, 80px); line-height: 1.04; letter-spacing: -0.03em; }
.h-section { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--soft); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out); font-family: var(--f-body); -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(0.97); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--ghost { border-color: #4A433B; color: var(--cream); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--outline-dark { border-color: var(--ink); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
	.btn--accent:hover { background: var(--accent-hover); color: var(--ink); }
	.btn--ghost:hover { border-color: var(--cream); color: var(--cream); }
	.btn--dark:hover { background: #2E2A25; color: var(--cream); }
	.btn--outline-dark:hover { background: var(--ink); color: var(--cream); }
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(20,18,16,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.site-header .bar { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-family: var(--f-head); font-weight: 600; font-size: 32px; letter-spacing: -0.02em; color: var(--cream); text-decoration: none; }
.brand span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.nav a { color: var(--soft); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
	.brand:hover { color: var(--cream); }
	.nav a:hover { color: var(--accent); }
}
.header-cta { height: 46px; font-size: 15px; padding: 0 20px; }
.header-cta .cta-short { display: none; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid #4A433B; border-radius: 12px; background: transparent; color: var(--cream); align-items: center; justify-content: center; cursor: pointer; transition: transform 160ms var(--ease-out), border-color 200ms ease; -webkit-tap-highlight-color: transparent; }
.menu-toggle:active { transform: scale(0.95); }
.burger { position: relative; width: 20px; height: 14px; display: block; }
.burger i { position: absolute; left: 0; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out); }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 6px; }
.burger i:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; transform: scaleX(0.6); }
.menu-toggle[aria-expanded="true"] .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; }

@media (max-width: 1080px) {
	.nav { display: none; }
	.header-cta { margin-left: auto; height: 44px; padding: 0 18px; }
	.header-cta .cta-full { display: none; }
	.header-cta .cta-short { display: inline; }
	.menu-toggle { display: inline-flex; }
	.site-header .bar { height: 68px; }
	.brand { font-size: 28px; }
	.mobile-nav { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(0,0,0,.7); opacity: 0; clip-path: inset(0 0 100% 0); visibility: hidden; transition: opacity 180ms var(--ease-out), clip-path 180ms var(--ease-out), visibility 0s linear 180ms; }
	.mobile-nav.is-open { opacity: 1; clip-path: inset(0 0 -48px 0); visibility: visible; transition: opacity 240ms var(--ease-drawer), clip-path 240ms var(--ease-drawer), visibility 0s; }
	.mobile-nav ul { list-style: none; margin: 0; padding: 8px max(var(--pad), env(safe-area-inset-right, 0px)) 24px max(var(--pad), env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; }
	.mobile-nav li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--cream); text-decoration: none; font-size: 18px; }
	.mobile-nav a[aria-current="page"] { color: var(--accent); }
	.mobile-nav-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
	.mobile-nav .btn { width: 100%; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

/* Home hero */
.hero { padding-top: clamp(40px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero h1 .rotor { color: var(--accent); font-style: italic; display: inline-grid; vertical-align: bottom; }
.rotor-word { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(6px); filter: blur(2px); transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out), filter 250ms var(--ease-out); }
.rotor-word.is-active { opacity: 1; transform: none; filter: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Entrée de l'accueil : une seule fois, au premier affichage. */
@keyframes dw-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero-copy > *, .hero .job { animation: dw-rise 400ms var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: 50ms; }
.hero-copy > :nth-child(3) { animation-delay: 100ms; }
.hero-copy > :nth-child(4) { animation-delay: 150ms; }
.hero .job { animation-delay: 200ms; }
/* Déjà vue pendant cette visite : le haut de page s'affiche directement. */
.dw-seen .hero-copy > *, .dw-seen .hero .job { animation: none; }
.job { background: var(--card); border: 1px solid var(--line-2); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 22px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.job-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.job-top .eyebrow { font-size: 12px; }
.job-status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--accent); }
.job-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s linear infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.job-title { font-family: var(--f-head); font-weight: 600; font-size: 32px; line-height: 1.1; }
.job-meta { font-size: 16px; font-weight: 500; color: var(--soft); margin-top: 6px; }
.job-meta span { color: #6B6255; }
.job-spec { font-family: var(--f-mono); font-size: 13px; color: var(--muted); margin-top: 10px; }
.job-steps { list-style: none; margin: 0; padding: 0; }
.job-steps li { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; }
.job-steps .n { font-family: var(--f-mono); font-size: 13px; color: var(--dim); margin-right: 12px; }
.job-steps .done { display: inline-flex; align-items: center; gap: 6px; color: var(--green-soft); font-size: 14px; }
.job-steps .todo { color: var(--dim); font-size: 14px; }
.job-note { font-size: 13px; color: var(--dim); }

.stats { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 28px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-family: var(--f-head); font-weight: 600; font-size: clamp(38px, 4vw, 52px); line-height: 1.1; min-height: 62px; display: flex; align-items: center; }
.stat-num img { width: 77px; height: 56px; }
.stat-label { font-size: 15px; color: var(--muted); }

.filmstrip { margin-top: 56px; height: 34px; background: var(--bg-deep); display: flex; align-items: center; gap: 14px; padding: 0 16px; overflow: hidden; }
.filmstrip i { flex-shrink: 0; width: 18px; height: 12px; border-radius: 3px; background: #2A2622; }

/* Affiches et sites réalisés : un bandeau qui défile à la main, calé sur la grille. */
.works { margin-top: 56px; padding: 32px 0 36px; background: var(--bg-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.works-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.works-head .eyebrow { margin: 0; font-weight: 400; }
.works-link { margin-top: 0; color: var(--soft); font-size: 15px; }
@media (hover: hover) and (pointer: fine) {
	.works-link:hover { color: var(--accent); }
}
.works-strip { list-style: none; margin: 0; padding: 0 0 8px; display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%); }
.works-strip::-webkit-scrollbar { display: none; }
.works-strip.is-dragging { cursor: grabbing; user-select: none; }
.works-strip.is-dragging img { pointer-events: none; }
.work { flex: 0 0 auto; }
.work figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.work img { width: 200px; aspect-ratio: 800 / 1116; height: auto; object-fit: cover; border-radius: 6px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.work--site img { width: 360px; aspect-ratio: 16 / 10; object-position: 50% 0%; transition: object-position 1.2s cubic-bezier(0.23, 1, 0.32, 1); }
/* Capture pleine page : l'image défile doucement jusqu'en bas au survol. */
@media (hover: hover) and (pointer: fine) {
	.work--site:hover img { object-position: 50% 100%; transition: object-position 7s cubic-bezier(0.45, 0, 0.55, 1); }
}
.work--site a:focus-visible img, .work--site:focus-within img { object-position: 50% 100%; }
@media (prefers-reduced-motion: reduce) {
	.work--site img { transition: none; }
}
.work figcaption { max-width: 200px; font-size: 14px; line-height: 1.35; color: var(--muted); }
.work--site figcaption { max-width: 360px; }
/* Visuels factices (aperçu uniquement). */
.work-ph { position: relative; width: 200px; aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: radial-gradient(120% 80% at 30% 20%, var(--ph-b) 0%, transparent 60%), linear-gradient(180deg, var(--ph-a) 0%, #0C0B0A 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 16px; color: var(--cream); }
.work-ph .ph-title { font-family: var(--f-head); font-weight: 600; font-size: 24px; line-height: 1.02; letter-spacing: -0.02em; text-transform: uppercase; }
.work-ph .ph-credit { margin-top: 10px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; opacity: .75; }
.work--site .work-ph { width: 360px; aspect-ratio: 16 / 10; justify-content: center; align-items: flex-start; gap: 12px; padding: 36px 24px 20px; background: linear-gradient(135deg, var(--ph-a) 0%, #0C0B0A 100%); }
.work-ph .ph-bar { position: absolute; top: 0; left: 0; right: 0; height: 22px; background: rgba(255,255,255,.06); display: flex; align-items: center; gap: 5px; padding: 0 10px; }
.work-ph .ph-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.25); }
.work-ph .ph-site-title { font-family: var(--f-head); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }
.work-ph .ph-site-btn { padding: 6px 12px; border-radius: 999px; background: var(--ph-b); color: var(--ink); font-size: 12px; font-weight: 600; }
@media (max-width: 760px) {
	.work-ph { width: 42vw; }
	.work--site .work-ph { width: 72vw; }
	.work-ph .ph-title { font-size: 20px; }
}
@media (max-width: 760px) {
	.works { margin-top: 40px; padding: 24px 0 28px; }
	.works-strip { gap: 12px; }
	.work img { width: 42vw; }
	.work--site img { width: 72vw; }
	.work figcaption { max-width: 42vw; }
	.work--site figcaption { max-width: 72vw; }
}

/* Client logos */
.clients { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 32px; }
.clients-title { text-align: center; font-size: 15px; color: var(--muted); }
.logo-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 16px 24px; }
.logo-cell { height: 96px; display: flex; align-items: center; justify-content: center; }
.logo-cell img { height: auto; max-width: 100%; opacity: .7; transition: opacity 200ms ease; flex-shrink: 0; }
@media (hover: hover) and (pointer: fine) {
	.logo-cell img:hover { opacity: 1; }
}

/* Light band + sections */
.band-light { background: var(--cream); color: var(--ink); }
.band-light .eyebrow { color: #6B6255; }
.band-light .lead, .band-light p { color: var(--ink-2); }
.section { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.section-head { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; margin-bottom: 48px; }
.section-head .stack, .stack { display: flex; flex-direction: column; gap: 16px; }

.services { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.service { background: var(--paper); border: 1px solid var(--paper-line); border-radius: 16px; padding: 40px; display: flex; flex-direction: column; gap: 18px; color: var(--ink); }
.service img { width: 100%; height: 220px; object-fit: cover; border-radius: 10px; margin-bottom: 6px; }
.service .num { font-family: var(--f-mono); font-size: 13px; color: #8A5A10; }
.service h3 { font-size: 34px; line-height: 1.1; }
.service p { font-size: 17px; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 14px; border-radius: 999px; background: #ECE5D8; font-size: 15px; color: #3A342D; }
.chips--dark .chip { background: #262220; color: var(--soft); }
.link-arrow { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; transition: color 200ms ease; }
.link-arrow svg { transition: transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
	.link-arrow:hover { color: #8A5A10; }
	.link-arrow:hover svg { transform: translateX(3px); }
}

/* Process */
.process { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.process li { border-top: 2px solid var(--accent); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.process .lbl { font-family: var(--f-mono); font-size: 13px; color: var(--accent); }
.process h3 { font-size: 26px; line-height: 1.15; }
.process p { color: var(--muted); font-size: 16px; }
.accent-text { color: var(--accent); }

/* Eco */
.eco { background: var(--green); border-radius: 24px; padding: clamp(28px, 5vw, 72px); display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 48px 64px; align-items: center; }
.eco-photo { grid-column: 1 / -1; width: 100%; height: 320px; object-fit: cover; border-radius: 14px; }
.eco .eyebrow { color: var(--green-soft); }
.eco p { color: var(--green-text); font-size: 18px; line-height: 1.7; }
.eco-copy { display: flex; flex-direction: column; gap: 22px; }
.eco-list { display: flex; flex-direction: column; gap: 22px; }
.eco-item { display: flex; gap: 16px; align-items: flex-start; }
.eco-item .tick { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: rgba(169,198,179,.15); color: var(--green-soft); display: flex; align-items: center; justify-content: center; }
.eco-item strong { display: block; font-size: 18px; }
.eco-item span { color: var(--green-text); font-size: 16px; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; margin-top: 48px; }
.quote { margin: 0; padding: 36px; background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.quote blockquote { margin: 0; font-family: var(--f-head); font-weight: 500; font-size: 22px; line-height: 1.4; }
.quote figcaption { display: flex; flex-direction: column; gap: 4px; }
.quote figcaption strong { font-weight: 600; }
.quote figcaption span { font-size: 15px; color: var(--muted); }

/* Contact */
.contact { background: var(--accent); color: var(--ink); border-radius: 24px; padding: clamp(28px, 5vw, 72px); display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 64px; }
.contact h2 { font-size: clamp(36px, 4.5vw, 60px); line-height: 1.02; letter-spacing: -0.02em; }
.contact-copy { display: flex; flex-direction: column; gap: 22px; }
.contact-copy > p { font-size: 18px; color: #2E2A25; }
.contact-rows { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.contact-rows div { display: flex; flex-direction: column; gap: 2px; }
.contact-rows .k { font-family: var(--f-mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: #4A3A1C; }
.contact-rows a { color: var(--ink); font-weight: 600; }
.contact-form { background: var(--paper); border-radius: 18px; padding: clamp(22px, 3vw, 36px); color: var(--ink); }
.contact-form form { display: flex; flex-direction: column; gap: 16px; }
.contact-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: #3A342D; }
.contact-form p { margin: 0; }
.contact-form br { display: none; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form input[type="url"], .contact-form select, .contact-form textarea { width: 100%; font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--dim); border-radius: 10px; padding: 13px 14px; }
.contact-form select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23141210' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; cursor: pointer; }
.contact-form textarea { height: 150px; min-height: 110px; resize: vertical; }
.contact-form .consent a { color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.contact-form input[type="submit"] { height: 54px; border: 0; border-radius: 999px; background: var(--ink); color: var(--cream); font-weight: 600; font-size: 16px; cursor: pointer; padding: 0 28px; width: 100%; font-family: var(--f-body); transition: background-color 200ms ease, opacity 200ms ease, transform 160ms var(--ease-out); -webkit-tap-highlight-color: transparent; }
.contact-form input[type="submit"]:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
	.contact-form input[type="submit"]:hover { background: #2E2A25; }
}
.contact-form .wpcf7-spinner { display: none; }
.contact-form .wpcf7-response-output { margin: 4px 0 0 !important; border-radius: 10px; font-size: 15px; }
.contact-form .wpcf7-not-valid-tip { font-size: 13px; font-weight: 500; }
.contact-form .consent { font-size: 13px; font-weight: 400; color: var(--ink-2); line-height: 1.5; }
.dw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.wpcf7 .hidden-fields-container { display: none; }
.wpcf7 .screen-reader-response { position: absolute; overflow: hidden; clip: rect(1px,1px,1px,1px); height: 1px; width: 1px; margin: -1px; padding: 0; border: 0; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7 form .wpcf7-response-output { padding: 12px 14px; border: 1.5px solid #3A342D; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #3E7D55; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: #B8452E; }
.wpcf7-not-valid-tip { color: #B8452E; display: block; margin-top: 4px; }
.wpcf7 form[data-status="submitting"] input[type="submit"] { opacity: .6; }

/* Footer */
.site-footer { margin-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); }
.site-footer .cols { padding-top: 56px; padding-bottom: 56px; display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 380px; }
.footer-brand p { font-size: 15px; color: var(--muted); }
.tech { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.tech .eyebrow { font-size: 12px; letter-spacing: 1.5px; color: var(--dim); }
.tech img { width: 350px; max-width: 100%; height: auto; filter: invert(1); opacity: .75; }
.footer-nav { display: flex; gap: 72px; font-size: 15px; }
.footer-nav div { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--muted); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
	.footer-nav a:hover { color: var(--accent); }
}
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom .wrap { padding-top: 20px; padding-bottom: 28px; font-size: 13px; color: var(--dim); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom .footer-contact { display: inline-block; padding: 12px 0; color: inherit; text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
	.footer-bottom .footer-contact:hover { color: var(--accent); }
}
.contact-rows a { display: inline-block; align-self: flex-start; padding: 4px 0; }

/* Inner pages */
.page-hero { padding-top: clamp(40px, 7vw, 96px); display: flex; flex-direction: column; gap: clamp(28px, 4vw, 56px); }
.page-hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; }
.page-hero-grid .stack { gap: 22px; }
.page-hero-img { width: 100%; height: clamp(190px, 28vw, 400px); object-fit: cover; border-radius: 20px; }
.cards { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0,1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.cards--1 { grid-template-columns: 1fr; }
.card { padding: 32px; background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; display: flex; flex-direction: column; gap: 12px; }
.card .n { font-family: var(--f-mono); font-size: 13px; color: var(--accent); }
.card h3 { font-size: 26px; line-height: 1.15; }
.card p { color: var(--muted); font-size: 16px; }
.band-light .card { background: var(--paper); border-color: var(--paper-line); color: var(--ink); }
.band-light .card .n { color: #8A5A10; }
.band-light .card p { color: var(--ink-2); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.split--top { align-items: start; }
.split .stack { gap: 22px; }
.split-img { width: 100%; height: 340px; object-fit: cover; border-radius: 16px; }
.split-img--sm { height: 220px; border-radius: 14px; }
.cta-band { background: var(--accent); color: var(--ink); border-radius: 24px; padding: clamp(28px, 4vw, 56px) clamp(24px, 4.5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -0.02em; }
.cta-band p { font-size: 17px; color: #2E2A25; margin-top: 10px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.mt-section { margin-top: clamp(64px, 8vw, 112px); }
.stack-lg { display: flex; flex-direction: column; gap: 48px; }
.prose p + p { margin-top: 20px; }
.prose p { font-size: 18px; line-height: 1.7; color: var(--soft); }

.rent-modes { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rent-modes div { padding: 28px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.rent-modes div:first-child { border-left: 0; padding-left: 0; }
.rent-modes strong { font-family: var(--f-head); font-weight: 600; font-size: 30px; }
.rent-modes span { font-size: 15px; color: var(--muted); }
.kits { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; align-items: stretch; }
.kit { background: var(--paper); border: 1px solid var(--paper-line); border-radius: 18px; padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 24px; color: var(--ink); }
.kit img { width: 100%; height: 300px; object-fit: cover; border-radius: 12px; background: #E3DBCD; }
.kit-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.kit h3 { font-size: 34px; }
.kit-count { font-family: var(--f-mono); font-size: 13px; color: #6B6255; white-space: nowrap; }
.kit ul { margin: 0; padding: 0; list-style: none; font-size: 16px; line-height: 1.4; color: #3A342D; }
.kit li { padding: 11px 0; border-bottom: 1px solid #E3DBCD; }
.kit .btn { margin-top: auto; }

/* Test : matériel illustré */
.kit--web { gap: 28px; }
.kit--web .btn { align-self: flex-start; margin-top: 4px; }
.gear-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.gear { margin: 0; background: #fff; border: 1px solid #E3DBCD; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.gear img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gear figcaption { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; }
.gear figcaption strong { font-size: 16px; color: var(--ink); }
.gear figcaption span { font-size: 14px; color: #6B6255; }
.gear-groups { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.gear-groups ul { margin: 10px 0 0; padding: 0; list-style: none; font-size: 16px; color: #3A342D; }
.gear-groups li { padding: 8px 0; border-bottom: 1px solid #E3DBCD; }
.gear-credits { font-size: 13px; color: #6B6255; }
@media (max-width: 760px) {
	.gear-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
	.gear-groups { grid-template-columns: 1fr; }
	.kit--web .btn { align-self: stretch; }
}

.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.info { padding: 32px; border: 1px solid var(--line-2); border-radius: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 18px; }
.info .eyebrow { font-size: 12px; letter-spacing: 1.5px; color: var(--dim); }
.info a.plain { color: var(--cream); text-decoration: none; }
.eco-label { display: flex; justify-content: center; }
.eco-label img { width: 220px; height: auto; }

.legal { padding-top: clamp(40px, 7vw, 96px); }
.legal h1 { margin-bottom: 40px; }
.legal-block { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding: 32px 0; border-top: 1px solid var(--line); max-width: 1200px; }
.legal-block h2 { font-size: 22px; }
.legal-block p { color: var(--soft); font-size: 17px; line-height: 1.7; }
.entry-content { max-width: 820px; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 28px; margin-top: 1.6em; }
.entry-content p, .entry-content li { color: var(--soft); line-height: 1.7; }

.notfound { padding-top: clamp(64px, 10vw, 140px); display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }

/* Responsive */
@media (max-width: 1080px) {
	.hero-grid, .page-hero-grid, .section-head, .split, .eco, .contact { grid-template-columns: 1fr; gap: 40px; }
	.process, .cards--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.logo-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
	.quotes, .cards, .info-grid { grid-template-columns: 1fr 1fr; }
	.site-footer .cols { flex-direction: column; }
}
@media (max-width: 760px) {
	body { font-size: 16px; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stat { padding: 20px 16px; }
	.stat:nth-child(3) { border-left: 0; padding-left: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
	.logo-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px 12px; }
	.logo-cell { height: 76px; }
	.logo-cell img { transform: scale(.75); }
	.services, .process, .cards, .cards--4, .quotes, .kits, .info-grid, .rent-modes { grid-template-columns: 1fr; }
	.rent-modes div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
	.rent-modes div:first-child { border-top: 0; }
	.service { padding: 24px; }
	.service img { height: 160px; }
	.service h3 { font-size: 28px; }
	.eco-photo { height: 190px; }
	.contact-form .row-2 { grid-template-columns: 1fr; }
	.footer-nav { gap: 40px; }
	.legal-block { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
	.split-img { height: 220px; }
	.kit img { height: 190px; }
	.cta-band .actions, .cta-band .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	/* Pas de mouvement : on garde seulement des fondus courts. */
	.hero-copy > *, .hero .job { animation: dw-fade 150ms ease both; animation-delay: 0ms; }
	@keyframes dw-fade { from { opacity: 0; } to { opacity: 1; } }
	.job-status::before { animation: none; }
	.btn:active, .menu-toggle:active, .contact-form input[type="submit"]:active { transform: none; }
	.rotor-word { transform: none; filter: none; transition: opacity 150ms ease; }
	.link-arrow:hover svg { transform: none; }
	.burger i { transition: opacity 150ms ease; }
	.mobile-nav { clip-path: none; transition: opacity 150ms ease, visibility 0s linear 150ms; }
	.mobile-nav.is-open { clip-path: none; transition: opacity 150ms ease, visibility 0s; }
}
@media (prefers-reduced-transparency: reduce) {
	.site-header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
