/*
Theme Name: NextAgency
Theme URI: https://example.com
Author: NextAgency
Description: Thème sur mesure pour agence marketing : une page par service (Motion Graphic, AI Content, Website Dev, Ads Management) avec ses réalisations, page d'accueil, filtres de projets et formulaire de contact intégré.
Version: 2.2.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nova
*/

/* ---------- Variables ---------- */
:root {
	--bg: #F8F6FF;
	--bg-2: #F0ECFF;
	--surface: #FFFFFF;
	--surface-2: #EEEAFE;
	--line: rgba(40, 30, 110, 0.09);
	--line-2: rgba(40, 30, 110, 0.17);
	--text: #14122B;
	--muted: #5E5A7D;
	--brand-soft: #E7E2FF;
	--shadow: 0 1px 2px rgba(40, 30, 110, .05), 0 10px 28px -14px rgba(40, 30, 110, .16);
	--shadow-hover: 0 26px 52px -22px rgba(90, 85, 245, .38);
	--brand: #5A55F5;
	--accent: var(--brand);
	--radius: 22px;
	--radius-sm: 12px;
	--font-display: "Outfit", "Segoe UI", sans-serif;
	--font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--container: 1240px;
	--gutter: clamp(20px, 5vw, 40px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.screen-reader-text, .hp-field {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 999; background: var(--brand); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 10px; }

.kicker {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--accent); margin-bottom: 18px;
}
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 640px; }
.h-xl { font-size: clamp(30px, 4.4vw, 54px); }
.h-lg { font-size: clamp(24px, 3vw, 36px); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
	font-family: var(--font-body); font-size: 16px; font-weight: 700; cursor: pointer;
	transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
	line-height: 1;
}
.btn .nova-icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .nova-icon { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--accent) 60%, transparent); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100;
	transition: background .3s, border-color .3s, padding .3s, transform .45s var(--ease);
	padding: 18px 0; border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
	background: rgba(255, 255, 255, .86);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-color: var(--line); padding: 10px 0;
}
.site-header.is-hidden { transform: translateY(-110%); }
.nav-open .site-header { transform: none; background: var(--bg); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Logo au centre, menu réparti de chaque côté. */
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand { grid-column: 2; justify-self: center; display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 24px; letter-spacing: -0.03em; line-height: 1; color: var(--text); transition: transform .3s var(--ease); }
.brand:hover { transform: scale(1.04); }
.brand:hover .brand-mark { animation: nudge .6s var(--ease); }
@keyframes nudge { 40% { transform: translateX(4px); } }
.brand-mark { width: 26px; height: 30px; flex-shrink: 0; }
.brand-name b { font-weight: 800; }
.brand-name span { font-weight: 400; }
.brand-logo { max-height: 44px; width: auto; }

.nav-side { display: flex; align-items: center; gap: 14px; min-width: 0; }
.nav-left { grid-column: 1; justify-self: end; }
.nav-right { grid-column: 3; justify-self: stretch; }
.nav-right .nav-cta { margin-left: auto; }
.nav-side .menu {
	display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px;
	border: 1px solid var(--line); background: rgba(255,255,255,.7);
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.nav-side .menu > li { position: relative; }
.nav-side .menu > li > a { display: block; padding: 9px 15px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); white-space: nowrap; transition: color .2s, background .2s; }
.nav-side .menu > li > a:hover,
.nav-side .current-menu-item > a { color: var(--text); background: var(--surface-2); }
.nav-side .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); transition: transform .25s var(--ease); }
.nav-side .menu-item-has-children:hover > a::after { transform: rotate(225deg) translate(-2px, -2px); }
.nav-side .sub-menu {
	position: absolute; top: calc(100% + 10px); left: 50%; min-width: 250px;
	background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 8px;
	opacity: 0; visibility: hidden; transform: translate(-50%, 8px) scale(.97); transform-origin: top center;
	transition: opacity .22s, transform .3s var(--ease), visibility .22s;
	box-shadow: 0 24px 60px -16px rgba(20,25,38,.22);
}
.nav-side .sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav-side li:hover > .sub-menu, .nav-side li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.nav-side .sub-menu li { opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.nav-side li:hover > .sub-menu li, .nav-side li:focus-within > .sub-menu li { opacity: 1; transform: none; }
.nav-side .sub-menu li:nth-child(2) { transition-delay: 40ms; }
.nav-side .sub-menu li:nth-child(3) { transition-delay: 80ms; }
.nav-side .sub-menu li:nth-child(4) { transition-delay: 120ms; }
.nav-side .sub-menu li:nth-child(5) { transition-delay: 160ms; }
.nav-side .sub-menu a { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--text); }
.nav-side .sub-menu a::after { content: "→"; color: var(--brand); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .25s var(--ease); }
.nav-side .sub-menu a:hover { background: var(--surface-2); }
.nav-side .sub-menu a:hover::after { opacity: 1; transform: none; }

.nav-toggle { display: none; grid-column: 3; grid-row: 1; justify-self: end; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; width: 46px; height: 46px; cursor: pointer; position: relative; }
.nav-toggle .bar { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--text); transition: transform .3s var(--ease), top .3s; }
.nav-toggle .bar:nth-of-type(2) { top: 18px; }
.nav-toggle .bar:nth-of-type(3) { top: 26px; }
.nav-open .nav-toggle .bar:nth-of-type(2) { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle .bar:nth-of-type(3) { top: 22px; transform: rotate(-45deg); }

.mobile-nav {
	position: fixed; inset: 0; z-index: 99; background: var(--bg);
	display: flex; flex-direction: column; gap: 24px; padding: 100px var(--gutter) 40px; overflow-y: auto;
	opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.nav-open .mobile-nav { opacity: 1; visibility: visible; }
.nav-open { overflow: hidden; }
.mobile-nav .menu > li { opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease); }
.nav-open .mobile-nav .menu > li { opacity: 1; transform: none; }
.nav-open .mobile-nav .menu > li:nth-child(2) { transition-delay: 60ms; }
.nav-open .mobile-nav .menu > li:nth-child(3) { transition-delay: 120ms; }
.nav-open .mobile-nav .menu > li:nth-child(4) { transition-delay: 180ms; }
.nav-open .mobile-nav .menu > li:nth-child(5) { transition-delay: 240ms; }
.mobile-nav .menu > li > a { display: block; font: 700 28px var(--font-display); color: var(--text); padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .sub-menu { padding: 8px 0 12px; }
.mobile-nav .sub-menu a { display: block; padding: 8px 0; font-size: 17px; font-weight: 600; color: var(--muted); }
.nav-cta-mobile { align-self: flex-start; }

@media (max-width: 1100px) {
	.nav-side { display: none; }
	.nav-toggle { display: block; }
	.header-inner { grid-template-columns: 46px 1fr 46px; }
}
@media (min-width: 1101px) { .mobile-nav { display: none; } }

/* Barre de progression de lecture */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 101; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #5B4BF5); transform-origin: left; transform: scaleX(var(--p, 0)); }
.admin-bar .scroll-progress { top: 32px; }

/* ---------- Hero (statique, léger) ---------- */
.hero { position: relative; padding: clamp(130px, 16vw, 190px) 0 clamp(60px, 8vw, 100px); overflow: hidden; background: radial-gradient(70% 60% at 50% 0%, var(--brand-soft), transparent 70%); }
.hero-small { padding-bottom: clamp(40px, 6vw, 70px); background: radial-gradient(60% 70% at 85% 0%, var(--brand-soft), transparent 70%); }
.hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
	opacity: .6;
}
.hero-inner { position: relative; z-index: 1; }
.hero-title { font-size: clamp(40px, 7.6vw, 104px); font-weight: 800; letter-spacing: -0.035em; max-width: 14ch; margin-bottom: 26px; }
.hero-title-md { font-size: clamp(34px, 5.2vw, 68px); max-width: 20ch; }
.hero-title .hl { color: var(--brand); }
.hero-tagline { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 30px); color: var(--accent); max-width: 30ch; line-height: 1.25; margin-bottom: 18px; }
.hero-lead { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 56px; }
.hero-pills a {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 10px 18px 10px 12px; border: 1px solid var(--line-2); border-radius: 999px;
	font-weight: 600; font-size: 15px; transition: border-color .25s, background .25s;
}
.hero-pills a .nova-icon { width: 20px; height: 20px; color: var(--accent); }
.hero-pills a:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }

.hero-simple { text-align: center; }
.hero-center { display: flex; flex-direction: column; align-items: center; }
.hero-center .hero-title { max-width: 15ch; margin-left: auto; margin-right: auto; line-height: 1.04; }
.hero-center .hero-lead { margin-left: auto; margin-right: auto; color: var(--muted); }
.hero-center .hero-actions, .hero-center .hero-pills { justify-content: center; }

.hero-badge {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 8px 16px; margin-bottom: 26px; border-radius: 999px;
	border: 1px solid var(--line-2); background: var(--surface);
	font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(2,94,250,.25); }

.btn-glass { color: var(--text); border-color: var(--line-2); background: var(--surface); }
.btn-glass:hover { border-color: var(--accent); color: var(--accent); }

.breadcrumb { display: flex; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg-2); }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: marquee 40s linear infinite; align-items: center; }
.marquee span { font-family: var(--font-display); font-size: clamp(22px, 3vw, 38px); font-weight: 700; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(20,25,38,.22); transition: color .3s; }
.marquee span:hover { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.marquee i { font-style: normal; color: var(--brand); font-size: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 10vw, 130px) 0; }
.section-tight { padding: clamp(40px, 6vw, 70px) 0; }
.section-top-0 { padding-top: 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 760px; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head-row .h-xl { margin-bottom: 0; }
.empty-note { color: var(--muted); padding: 40px; border: 1px dashed var(--line-2); border-radius: var(--radius); text-align: center; }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 780px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
	position: relative; display: flex; flex-direction: column;
	padding: clamp(26px, 3vw, 40px); min-height: 380px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; isolation: isolate;
	transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
	box-shadow: var(--shadow);
}
.service-card::before {
	content: ""; position: absolute; inset: auto -30% -60% auto; width: 80%; aspect-ratio: 1;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent);
	opacity: 0; transition: opacity .5s; z-index: -1;
}
.service-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: var(--shadow-hover); }
.service-card:hover::before { opacity: .7; }
.service-num { position: absolute; top: 30px; right: 34px; font-family: var(--font-display); font-size: 14px; color: var(--muted); }
.service-icon {
	display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
	background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
	margin-bottom: 26px; flex-shrink: 0;
}
.service-icon .nova-icon { width: 26px; height: 26px; }
.service-icon-lg { width: 76px; height: 76px; border-radius: 22px; }
.service-icon-lg .nova-icon { width: 36px; height: 36px; }
.service-card h3 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 10px; }
.service-tagline { color: var(--accent); font-weight: 700; margin-bottom: 12px; }
.service-excerpt { color: var(--muted); font-size: 16px; }
.service-foot { margin-top: auto; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--muted); }
.arrow-circle {
	display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
	border: 1px solid var(--line-2); transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease);
	flex-shrink: 0;
}
.arrow-circle .nova-icon { width: 20px; height: 20px; }
a:hover > .arrow-circle, a:hover .service-foot .arrow-circle { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(-45deg); }

/* ---------- Stats ---------- */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 700px) { .stats-row { grid-template-columns: 1fr; } }
.stat { padding: 28px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(34px, 4vw, 52px); font-weight: 800; color: var(--accent); line-height: 1.1; margin-bottom: 6px; }
.stat span { color: var(--muted); font-weight: 600; }

/* ---------- Reference cards ---------- */
.refs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .refs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .refs-grid { grid-template-columns: 1fr; } }
.ref-card { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.ref-card[hidden] { display: none; }
.ref-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent) 40%, transparent); box-shadow: var(--shadow-hover); }
.ref-card-link { display: flex; flex-direction: column; height: 100%; }
.ref-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.ref-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ref-card:hover .ref-media img { transform: scale(1.05); }
.ref-play { position: absolute; left: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; }
.ref-play .nova-icon { width: 20px; height: 20px; }
.ref-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.ref-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; font-size: 13px; }
.tag { padding: 5px 11px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); font-weight: 700; }
.ref-client { color: var(--muted); font-weight: 600; }
.ref-title { font-size: 20px; line-height: 1.25; margin-bottom: 14px; }
.ref-excerpt { color: var(--muted); font-size: 15px; }
.ref-result { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 700; color: var(--text); display: flex; gap: 8px; align-items: center; }
.ref-result::before { content: "↗"; color: var(--accent); }

.media-placeholder {
	width: 100%; height: 100%; min-height: 100%; display: grid; place-items: center; padding: 24px; text-align: center;
	background:
		radial-gradient(circle at 80% 15%, rgba(255,255,255,.28), transparent 45%),
		radial-gradient(circle at 15% 90%, color-mix(in srgb, var(--accent) 50%, #0B1B3F), transparent 60%),
		var(--accent);
}
.media-placeholder span { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.1; color: #fff; max-width: 12ch; }
.ref-hero-media .media-placeholder { aspect-ratio: 16 / 8; }
.ref-hero-media .media-placeholder span { font-size: clamp(28px, 5vw, 64px); max-width: 16ch; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter {
	--accent: var(--brand);
	padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line-2);
	background: transparent; color: var(--muted); font: 600 15px var(--font-body); cursor: pointer;
	transition: all .25s;
}
.filter:hover { color: var(--text); border-color: var(--accent); }
.filter.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Service page ---------- */
.service-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
@media (max-width: 900px) { .service-body { grid-template-columns: 1fr; } }
.service-cover { border-radius: var(--radius); margin-bottom: 30px; }
.deliverables { position: sticky; top: 100px; padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); }
.deliverables h2 { font-size: 22px; margin-bottom: 22px; }
.deliverables ul { margin-bottom: 28px; }
.deliverables li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.deliverables li:last-child { border-bottom: 0; }
.deliverables .nova-icon { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }

.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; counter-reset: step; }
.process-step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.process-step::after { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); opacity: .7; }
.process-num { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--accent); display: block; margin-bottom: 14px; line-height: 1; }
.process-step h3 { font-size: 18px; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: 15px; margin: 0; }

.other-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 800px) { .other-services { grid-template-columns: 1fr; } }
.other-service { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: border-color .3s; }
.other-service:hover { border-color: var(--accent); }
.other-service .service-icon { margin: 0; width: 46px; height: 46px; border-radius: 14px; }
.other-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; flex: 1; }

/* Services archive */
.service-rows { display: flex; flex-direction: column; }
.service-row {
	display: grid; grid-template-columns: 60px 1.3fr 1fr 48px; gap: 30px; align-items: center;
	padding: 38px 0; border-top: 1px solid var(--line); transition: padding .3s var(--ease);
}
.service-rows .service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row:hover { padding-left: 14px; }
.service-row .service-num { position: static; }
.service-row h2 { display: flex; align-items: center; gap: 16px; font-size: clamp(26px, 3.4vw, 44px); margin-bottom: 10px; }
.service-row h2 .service-icon { margin: 0; }
.service-row:hover h2 { color: var(--accent); }
.service-row-main p { color: var(--muted); margin: 0; }
.service-row-list li { padding: 5px 0; color: var(--muted); font-size: 15px; }
.service-row-list li::before { content: "— "; color: var(--accent); }
@media (max-width: 900px) {
	.service-row { grid-template-columns: 1fr; gap: 16px; }
	.service-row .arrow-circle { justify-self: start; }
}

/* ---------- Reference page ---------- */
.ref-facts { display: flex; flex-wrap: wrap; gap: 14px; margin: 10px 0 0; }
.ref-facts > div { padding: 14px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.ref-facts dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ref-facts dd { margin: 0; font-weight: 700; }
.ref-facts .fact-result { border-color: var(--accent); }
.ref-facts .fact-result dd { color: var(--accent); }
.ref-hero-media { border-radius: var(--radius); overflow: hidden; margin-bottom: clamp(40px, 6vw, 70px); border: 1px solid var(--line); }
.ref-hero-media img { width: 100%; }
.video-wrap { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-wrap iframe, .video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Content ---------- */
.entry-content { font-size: 18px; }
.entry-content p { color: #333A4A; }
.entry-content h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 1.6em; }
.entry-content h3 { font-size: 22px; margin-top: 1.4em; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content .wp-block-gallery { margin: 2em 0; }
.entry-content blockquote { border-left: 3px solid var(--accent); margin: 1.5em 0; padding: 4px 0 4px 22px; font-size: 21px; }
.entry-content .wp-block-embed, .entry-content figure { margin: 2em 0; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }
.why-item { display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.why-item:first-child { padding-top: 0; }
.why-item > span { font-family: var(--font-display); color: var(--brand); font-weight: 700; }
.why-item h3 { font-size: 22px; margin-bottom: 8px; }
.why-item p { color: var(--muted); margin: 0; }

/* ---------- CTA + form ---------- */
.cta-section { position: relative; }
.cta-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-alt { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-form { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form label > span, .contact-form legend { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], .contact-form textarea {
	width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
	background: var(--bg); border: 1px solid var(--line-2); color: var(--text);
	font: 500 16px var(--font-body); transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); outline: none; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.form-chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form-chips legend { width: 100%; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: 15px; transition: all .2s; }
.chip:hover span { border-color: var(--accent); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.contact-form .btn { align-self: flex-start; }
.form-notice { padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 600; margin: 0; }
.form-notice.is-success { background: var(--brand-soft); color: var(--brand); }
.form-notice.is-error { background: rgba(255, 92, 57, .12); color: #C2410C; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 70px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--muted); margin-top: 16px; max-width: 34ch; }
.footer-col h3 { font-family: var(--font-body); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-weight: 600; transition: color .2s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-bottom p { margin: 0; }
.footer-menu { display: flex; gap: 20px; }

.whatsapp-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 90;
	width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
	background: #25D366; color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, .35);
	transition: transform .25s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination .page-numbers { padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- Accueil : preuve sociale + lauriers ---------- */
.proof {
	display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px;
	padding: 6px 16px 6px 6px; border-radius: 999px;
	border: 1px solid var(--line-2); background: rgba(255,255,255,.75);
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.proof-avatars { display: flex; }
.proof-avatar {
	width: 32px; height: 32px; border-radius: 50%; margin-left: -8px; overflow: hidden;
	display: grid; place-items: center; border: 2px solid #fff;
	background: var(--brand); color: #fff; font: 700 13px var(--font-display);
}
.proof-avatar:first-child { margin-left: 0; }
.proof-avatar:nth-child(2) { background: #5B4BF5; }
.proof-avatar:nth-child(3) { background: #0284C7; }
.proof-avatar:nth-child(4) { background: #1E40AF; }
.proof-avatar img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.proof-text { font-size: 14px; font-weight: 700; color: var(--text); }

.laurels { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; margin-top: 48px; }
.laurel { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.laurel span { font: 700 14px/1.15 var(--font-display); letter-spacing: .02em; text-transform: uppercase; max-width: 11ch; text-align: center; }
.laurel-svg { width: 16px; height: 34px; color: #F2B705; flex-shrink: 0; }

/* ---------- Bandeau logos clients ---------- */
.logos { padding: 44px 0 36px; border-bottom: 1px solid var(--line); }
.logos-title { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.logos-viewport { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 45s linear infinite; }
.logos-viewport:hover .logos-track { animation-play-state: paused; }
.logo-item { display: flex; align-items: center; height: 44px; flex-shrink: 0; }
.client-logo { max-height: 40px; width: auto; filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.logo-item:hover .client-logo { filter: none; opacity: 1; }
.client-name { font: 700 22px var(--font-display); letter-spacing: -0.02em; color: #9AA1B2; white-space: nowrap; transition: color .3s; }
.logo-item:hover .client-name { color: var(--text); }

.section-lead { margin-top: 14px; margin-bottom: 0; }

/* ---------- Rendez-vous ---------- */
.booking-head { text-align: center; margin-left: auto; margin-right: auto; }
.booking-head .lead { margin-left: auto; margin-right: auto; }
.booking-head .cta-alt { justify-content: center; margin-top: 18px; }
.booking-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.booking-embed iframe { width: 100%; height: 720px; border: 0; display: block; }
.booking-form { max-width: 760px; margin: 0 auto; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-side { position: sticky; top: 100px; }
@media (max-width: 900px) { .faq-side { position: static; } }
.founder-card { display: flex; gap: 20px; align-items: center; margin-top: 30px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.founder-photo { width: 110px; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; flex-shrink: 0; background: var(--brand-soft); display: grid; place-items: center; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo .brand-mark { width: 46px; height: 54px; }
.founder-body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.spots { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 6px; padding: 4px 10px; border-radius: 999px; background: #E7F8EE; color: #137A3E; font-size: 12px; font-weight: 700; }
.spots .dot { width: 7px; height: 7px; border-radius: 50%; background: #22A559; animation: pulseGreen 2s infinite; }
@keyframes pulseGreen { 50% { box-shadow: 0 0 0 5px rgba(34,165,89,0); } 0% { box-shadow: 0 0 0 0 rgba(34,165,89,.4); } }
.founder-name { font: 700 18px var(--font-display); margin: 0; }
.founder-role { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
.founder-mail { font-size: 14px; font-weight: 600; color: var(--brand); margin-top: 8px; word-break: break-all; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: border-color .3s; }
.faq-item[open] { border-color: color-mix(in srgb, var(--brand) 35%, transparent); }
.faq-item summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
	padding: 22px 24px; font: 600 18px/1.35 var(--font-display);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); flex-shrink: 0; transition: background .3s, transform .3s var(--ease); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--brand); transition: transform .3s var(--ease), background .3s; }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus { background: var(--brand); transform: rotate(180deg); }
.faq-item[open] .faq-plus::before, .faq-item[open] .faq-plus::after { background: #fff; }
.faq-item[open] .faq-plus::after { transform: rotate(0deg); }
.faq-answer { padding: 0 24px 22px; color: var(--muted); }
.faq-answer p { margin: 0; }

/* ---------- Bandeau final ---------- */
.final-cta { padding-top: clamp(60px, 8vw, 100px); }
.final-box {
	position: relative; overflow: hidden; text-align: center; padding: clamp(50px, 8vw, 100px) clamp(24px, 5vw, 60px);
	border-radius: 32px; color: #fff;
	background: radial-gradient(60% 80% at 85% 10%, rgba(255,255,255,.22), transparent 60%), radial-gradient(70% 90% at 10% 100%, #0B3FB8, transparent 70%), var(--brand);
}
.final-box .h-xl { color: #fff; }
.final-box .lead { color: rgba(255,255,255,.85); margin: 0 auto 30px; }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(0,0,0,.3); }

/* ---------- Dossier de projets (fond noir) ---------- */
.folder-section { position: relative; overflow: hidden; background: #07061B; color: #fff; padding: clamp(80px, 11vw, 140px) 0 clamp(90px, 12vw, 150px); isolation: isolate; }
.folder-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
	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: 56px 56px; mask-image: radial-gradient(ellipse at 50% 60%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 60%, #000 10%, transparent 70%); }
.folder-bg span { position: absolute; width: 46vw; aspect-ratio: 1; border-radius: 50%; opacity: .35; background: radial-gradient(closest-side, currentColor, transparent) !important; }
.folder-bg span:nth-child(1) { color: #025EFA; left: -10%; top: 10%; }
.folder-bg span:nth-child(2) { color: #5B4BF5; right: -12%; top: 30%; opacity: .25; }
.folder-bg span:nth-child(3) { color: #0284C7; left: 30%; bottom: -30%; opacity: .25; }

.folder-layout { display: flex; flex-direction: column; align-items: center; text-align: center; }
.folder-intro { max-width: 760px; }
.folder-section .kicker { color: #7EB0FF; }
.folder-section .h-xl { color: #fff; }
.folder-section .lead { color: #A6AEC2; margin: 0 auto; }
.folder-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.folder-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); font-size: 14px; font-weight: 600; color: #E7EAF2; transition: all .25s var(--ease); }
.folder-chips .nova-icon { width: 18px; height: 18px; color: #7EB0FF; }
.folder-chips a:hover { border-color: #7EB0FF; background: rgba(2,94,250,.18); transform: translateY(-2px); }

.folder-stage { width: 100%; display: flex; justify-content: center; margin-top: clamp(80px, 10vw, 120px); }
.folder { position: relative; display: block; width: min(600px, 100%); aspect-ratio: 5 / 4; perspective: 1400px; cursor: pointer; --rx: 0deg; --ry: 0deg; }
.folder-3d { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease); }
.folder-back { position: absolute; inset: 9% 0 0 0; border-radius: 24px; background: linear-gradient(180deg, #1C2438 0%, #121828 100%); border: 1px solid rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.folder-tab { position: absolute; left: 0; top: -9%; width: 40%; height: 12%; border-radius: 20px 20px 0 0; background: #1C2438; border: 1px solid rgba(255,255,255,.08); border-bottom: 0; }
.folder-tab::after { content: ""; position: absolute; right: -26px; bottom: -1px; width: 40px; height: 100%; background: #1C2438; clip-path: polygon(0 0, 35% 0, 100% 100%, 0 100%); }

.folder-papers { position: absolute; inset: 0; }
.paper {
	position: absolute; left: 22%; right: 22%; top: 7%;
	transform: translate(calc(var(--d) * 5%), calc(var(--a) * 3%)) rotate(calc(var(--d) * 2deg));
	transition: transform .8s var(--ease); transition-delay: calc(var(--i) * 25ms);
}
.paper-inner { display: block; padding: 8px 8px 0; border-radius: 16px; background: #fff; box-shadow: 0 24px 50px -14px rgba(0,0,0,.7); animation: paperFloat 4.5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.75s); }
@keyframes paperFloat { from { transform: translateY(0); } to { transform: translateY(-10px); } }
.paper-media { display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; }
.paper-media img, .paper-media .media-placeholder { width: 100%; height: 100%; object-fit: cover; }
.paper-media .media-placeholder span { font-size: clamp(14px, 2vw, 20px); }
.paper-label { display: block; padding: 9px 4px 11px; font: 700 13px var(--font-display); color: var(--text); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.folder-front {
	position: absolute; left: 0; right: 0; bottom: 0; height: 60%;
	display: flex; flex-direction: column; justify-content: space-between; padding: clamp(18px, 3vw, 30px);
	border-radius: 22px; color: #fff; text-align: left;
	background: radial-gradient(120% 80% at 80% 0%, rgba(255,255,255,.22), transparent 55%), linear-gradient(165deg, #3A86FF 0%, #025EFA 50%, #0A3FB5 100%);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 -10px 40px -10px rgba(0,0,0,.5);
	transform-origin: 50% 100%; transform: rotateX(0deg); transition: transform .8s var(--ease);
	backdrop-filter: blur(6px);
}
.folder-front::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.25) 45%, transparent 60%); background-size: 250% 100%; background-position: 120% 0; transition: background-position 1.2s var(--ease); pointer-events: none; }
.folder-front-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.folder-name { font: 700 clamp(20px, 3vw, 30px)/1.05 var(--font-display); letter-spacing: -0.02em; max-width: 12ch; }
.folder-count { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.18); font-size: 13px; font-weight: 700; white-space: nowrap; }
.folder-open { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; }
.folder-open .arrow-circle { border-color: rgba(255,255,255,.5); }
.folder-shadow { position: absolute; left: 8%; right: 8%; bottom: -10%; height: 14%; border-radius: 50%; background: rgba(2,94,250,.45); filter: blur(40px); opacity: .6; transition: opacity .6s, transform .6s var(--ease); }

/* Survol : le dossier s'ouvre et les projets se déploient en éventail. */
.folder:hover .paper, .folder:focus-visible .paper, .folder.is-peek .paper {
	transform: translate(calc(var(--d) * 17%), calc(-22% + var(--a) * 7%)) rotate(calc(var(--d) * 5deg));
}
.folder:hover .folder-front, .folder:focus-visible .folder-front, .folder.is-peek .folder-front { transform: rotateX(-22deg); }
.folder:hover .folder-front::before, .folder.is-peek .folder-front::before { background-position: -60% 0; }
.folder:hover .folder-open .arrow-circle { background: #fff; color: var(--brand); transform: rotate(-45deg); }
.folder:hover .folder-shadow { opacity: 1; transform: scale(1.1); }
.folder:focus-visible { outline: 2px solid #7EB0FF; outline-offset: 10px; border-radius: 24px; }

/* Clic : ouverture complète avant d'aller à la page des réalisations. */
.folder.is-open .folder-front { transform: rotateX(-70deg); transition-duration: .6s; }
.folder.is-open .paper { transform: translate(calc(var(--d) * 24%), calc(-60% + var(--a) * 10%)) rotate(calc(var(--d) * 7deg)) scale(1.04); transition-duration: .6s; }
.folder.is-open .folder-3d { transform: scale(1.06); }

@media (hover: none) {
	.paper { transform: translate(calc(var(--d) * 10%), calc(-8% + var(--a) * 4%)) rotate(calc(var(--d) * 3deg)); }
}
@media (max-width: 560px) {
	.folder-name { font-size: 20px; }
	.paper-label { font-size: 11px; padding: 6px 2px 8px; }
}

.booking-fallback { text-align: center; margin-top: 14px; font-size: 14px; }
.booking-fallback a { color: var(--muted); font-weight: 600; }
.booking-fallback a:hover { color: var(--brand); }
.booking-card { display: flex; align-items: center; gap: clamp(24px, 5vw, 60px); max-width: 820px; margin: 0 auto; padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s; }
.booking-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.booking-cal { width: 220px; flex-shrink: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.cal-top { display: block; height: 36px; background: var(--brand); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; padding: 14px; }
.cal-grid i { aspect-ratio: 1; border-radius: 6px; background: #fff; border: 1px solid var(--line); }
.cal-grid i.is-free { background: var(--brand-soft); border-color: var(--brand); animation: calPulse 2.4s ease-in-out infinite; }
.cal-grid i.is-free:nth-of-type(12) { animation-delay: .6s; } .cal-grid i.is-free:nth-of-type(17) { animation-delay: 1.2s; }
@keyframes calPulse { 50% { background: var(--brand); } }
.booking-card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.booking-card-body strong { font: 700 clamp(24px, 3vw, 32px) var(--font-display); }
.booking-card-body > span:not(.btn) { color: var(--muted); margin-bottom: 14px; }
@media (max-width: 640px) { .booking-card { flex-direction: column; text-align: center; } .booking-card-body { align-items: center; } }

/* ---------- Animations sur tout le site ---------- */
/* Titres mot par mot */
.js-reveal .split .w { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(2deg); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.js-reveal .is-visible .split .w, .js-reveal .split.is-visible .w { opacity: 1; transform: none; }

/* Cartes : inclinaison 3D + halo lumineux */
.has-tilt { transform: perspective(900px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)); }
.js-reveal .has-tilt.reveal:not(.is-visible) { transform: translateY(24px); }
.service-card.has-tilt:hover { transform: perspective(900px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)) translateY(-6px); }
.ref-card.has-tilt:hover { transform: perspective(900px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)) translateY(-5px); }
.has-tilt { position: relative; }
.has-tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%); }
.has-tilt:hover::after { opacity: 1; }
.has-tilt.reveal { transition: opacity .8s var(--ease), transform .25s var(--ease), border-color .4s, box-shadow .4s; }

/* Boutons : reflet qui traverse + mouvement doux */
.btn-primary, .btn-white { position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s, background .25s; }
.btn-primary::after, .btn-white::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .7s var(--ease); pointer-events: none; }
.btn-primary:hover::after, .btn-white:hover::after { left: 130%; }

/* Filtres des réalisations */
.filter { display: inline-flex; align-items: center; gap: 8px; }
.filter .nova-icon { width: 17px; height: 17px; }
.filter-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 12px; font-weight: 700; transition: background .25s, color .25s; }
.filter.is-active .filter-count { background: rgba(255,255,255,.25); color: #fff; }
.ref-card.is-leaving { animation: cardOut .22s ease forwards; }
.ref-card.is-entering { animation: cardIn .55s var(--ease) both; }
@keyframes cardOut { to { opacity: 0; transform: scale(.94); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }

/* Méthode : la barre se remplit à l'apparition */
.process-step::after { transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .2s; }
.process-step.is-visible::after, html:not(.js-reveal) .process-step::after { transform: scaleX(1); }

/* Icônes de service qui flottent doucement */
.service-icon-lg { animation: iconFloat 5s ease-in-out infinite alternate; }
@keyframes iconFloat { to { transform: translateY(-8px) rotate(-4deg); } }
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.08); }
.service-icon { transition: transform .4s var(--ease); }

/* Liste "Ce qui est inclus" : les coches s'animent */
.deliverables li .nova-icon path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .6s var(--ease); }
.deliverables.is-visible li .nova-icon path, html:not(.js-reveal) .deliverables li .nova-icon path { stroke-dashoffset: 0; }
.deliverables li:nth-child(2) .nova-icon path { transition-delay: .1s; } .deliverables li:nth-child(3) .nova-icon path { transition-delay: .2s; }
.deliverables li:nth-child(4) .nova-icon path { transition-delay: .3s; } .deliverables li:nth-child(5) .nova-icon path { transition-delay: .4s; }
.deliverables li:nth-child(6) .nova-icon path { transition-delay: .5s; }

/* Ouverture de page en fondu */
@keyframes pageIn { from { opacity: 0; } } /* fondu du lecteur vidéo */

/* ---------- Services : cartes miniature + texte ---------- */
.svc-heading em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--brand); }
.svc-list { display: flex; flex-direction: column; gap: 22px; }
.svc-row {
	display: grid; grid-template-columns: 1fr 1.15fr; align-items: stretch; min-height: 300px;
	border-radius: 26px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
	transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .4s, border-color .4s;
}
.svc-row:hover { box-shadow: var(--shadow-hover); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.svc-row.is-reverse .svc-media { order: 2; }
.svc-media { position: relative; overflow: hidden; min-height: 260px; background: var(--surface-2); }
.svc-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.svc-row:hover .svc-media > img, .svc-row:hover .svc-placeholder { transform: scale(1.05); }
.svc-media-link { position: absolute; inset: 0; z-index: 1; }
.svc-placeholder {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: #fff;
	background: radial-gradient(circle at 80% 15%, rgba(255,255,255,.28), transparent 45%), radial-gradient(circle at 15% 90%, color-mix(in srgb, var(--accent) 45%, #0B1B3F), transparent 60%), var(--accent);
	transition: transform .9s var(--ease);
}
.svc-ph-icon { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); animation: iconFloat 5s ease-in-out infinite alternate; }
.svc-ph-icon .nova-icon { width: 36px; height: 36px; }
.svc-ph-title { font: 700 clamp(22px, 2.6vw, 32px) var(--font-display); letter-spacing: -0.02em; }
.svc-play {
	position: absolute; left: 50%; top: 50%; z-index: 2; width: 76px; height: 54px; margin: -27px 0 0 -38px;
	display: grid; place-items: center; border: 0; border-radius: 16px; cursor: pointer;
	background: rgba(20,25,38,.72); color: #fff; backdrop-filter: blur(8px);
	transition: transform .3s var(--ease), background .3s;
}
.svc-play .nova-icon { width: 26px; height: 26px; }
.svc-play::before { content: ""; position: absolute; inset: -8px; border-radius: 22px; border: 2px solid rgba(255,255,255,.6); opacity: 0; animation: playRing 2.2s ease-out infinite; }
@keyframes playRing { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
.svc-row:hover .svc-play, .svc-play:focus-visible { transform: scale(1.1); background: var(--accent); }

.svc-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(28px, 4vw, 54px); }
.svc-num { font: 500 13px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .2em; color: var(--muted); margin-bottom: 16px; }
.svc-title { font-size: clamp(26px, 2.8vw, 38px); font-weight: 600; margin-bottom: 14px; }
.svc-title a { transition: color .25s; }
.svc-title a:hover { color: var(--accent); }
.svc-text { color: var(--muted); font-size: 17px; max-width: 52ch; margin-bottom: 22px; }
.svc-explore { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
.svc-explore span { color: var(--accent); transition: transform .3s var(--ease); }
.svc-explore:hover, .svc-row:hover .svc-explore { color: var(--accent); }
.svc-row:hover .svc-explore span { transform: translateX(6px); }

@media (max-width: 820px) {
	.svc-row { grid-template-columns: 1fr; }
	.svc-row.is-reverse .svc-media { order: 0; }
	.svc-media { aspect-ratio: 16 / 9; min-height: 0; }
}

/* Lecteur vidéo plein écran */
.video-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(6,8,13,.88); backdrop-filter: blur(8px); animation: pageIn .3s ease; }
.video-modal[hidden] { display: none; }
.video-modal-frame { width: min(1100px, 100%); aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 40px 100px rgba(0,0,0,.5); animation: cardIn .45s var(--ease); }
.video-modal-frame iframe, .video-modal-frame video { width: 100%; height: 100%; border: 0; display: block; }
.video-modal-close { position: absolute; top: 18px; right: 22px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.video-modal-close:hover { background: #fff; color: var(--text); }

/* ---------- Témoignages vidéo (reels 9:16) ---------- */
.reels-section { overflow: hidden; }
.reels-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.reels-nav { display: flex; gap: 10px; margin-bottom: clamp(36px, 5vw, 60px); }
.reels-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: #fff; color: var(--text); cursor: pointer; transition: all .25s var(--ease); }
.reels-btn:hover:not(:disabled) { background: var(--brand); border-color: var(--brand); color: #fff; transform: scale(1.06); }
.reels-btn:disabled { opacity: .35; cursor: default; }
.reels-admin-note { margin: -20px 0 24px; padding: 12px 16px; border-radius: 12px; background: #FFF7E6; color: #8A5A00; font-size: 14px; font-weight: 600; }
.reels-track {
	display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	padding: 6px 2px 24px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter);
	scroll-padding-left: var(--gutter); scrollbar-width: none; cursor: grab; outline: none;
}
.reels-track::-webkit-scrollbar { display: none; }
.reels-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.reels-track.is-dragging * { pointer-events: none; }
.reel { flex: 0 0 clamp(220px, 22vw, 270px); scroll-snap-align: start; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s, opacity .8s var(--ease); user-select: none; }
.reel:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.reel-media { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: linear-gradient(160deg, #3A86FF, #025EFA 55%, #0A3FB5); }
.reel-poster, .reel-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; }
.reel-poster + .reel-preview { opacity: 0; }
.reel.is-previewing .reel-preview { opacity: 1; }
.reel:hover .reel-poster, .reel:hover .reel-preview { transform: scale(1.04); }
.reel-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.9); font: 800 64px var(--font-display); }
.reel-placeholder .nova-icon { width: 40px; height: 40px; opacity: .7; }
.reel-empty .reel-media { background: repeating-linear-gradient(135deg, var(--surface-2) 0 14px, #fff 14px 28px); }
.reel-empty .reel-placeholder { color: var(--brand); }
.reel-play { position: absolute; inset: 0; border: 0; background: linear-gradient(to top, rgba(6,8,13,.35), transparent 45%); cursor: pointer; display: grid; place-items: center; }
.reel-play-icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(20,25,38,.55); color: #fff; backdrop-filter: blur(8px); transition: transform .3s var(--ease), background .3s; }
.reel-play-icon .nova-icon { width: 22px; height: 22px; margin-left: 3px; }
.reel:hover .reel-play-icon, .reel-play:focus-visible .reel-play-icon { transform: scale(1.12); background: var(--brand); }
.reel.is-previewing .reel-play-icon { transform: scale(.85); opacity: .75; }
.reel-info { padding: 14px 16px 16px; }
.reel-name { margin: 0 0 3px; font: 600 17px var(--font-display); }
.reel-role { margin: 0; font: 500 11px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.reels-hint { margin: 6px 0 0; font: 500 12px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.video-modal.is-portrait .video-modal-frame { width: auto; height: min(86vh, 900px); aspect-ratio: 9 / 16; max-width: 100%; }

/* ---------- Ombres douces (thème clair) ---------- */
.deliverables, .cta-form, .process-step, .other-service, .ref-facts > div { box-shadow: var(--shadow); }
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], .contact-form textarea { background: var(--bg-2); border-color: var(--line); }
.contact-form input:focus, .contact-form textarea:focus { background: #fff; box-shadow: 0 0 0 4px var(--brand-soft); }
.cta-section { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.site-footer { background: #fff; }

/* ---------- Reveal ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
}
.ref-year { margin-left: auto; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
