/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Description: Thème enfant pour la page d'accueil AD+ Design.
Author: AD+ Design
Template: generatepress
Version: 1.9.78
Text Domain: generatepress-child
*/

:root{--black:#050505;--white:#f7f7f4;--stone:#d4b077;--line:#111;--thin: clamp(48px,6vw,104px);--bold: clamp(52px,6.5vw,112px)}
*{box-sizing:border-box} body{margin:0;background:var(--white);color:#060606;font-family:"Helvetica Neue",Arial,sans-serif} img{display:block;width:100%;height:100%;object-fit:cover}.site-header{background:#fff;border-bottom:1px solid #d9d9d5}.logo-wrap{height:180px;display:flex;align-items:center;justify-content:center}.logo-wrap img{width:min(780px,78vw);height:auto;object-fit:contain}.main-nav{height:64px;background:#050505;color:#fff;display:flex;align-items:center;justify-content:center;gap:58px;text-transform:uppercase;font-size:13px;letter-spacing:.04em}a.btn{border:1px solid #fff;padding:16px 28px}.hero{position:relative;height:670px;overflow:hidden}.compare{display:grid;grid-template-columns:1fr 1fr;height:100%}.sketch img{filter:grayscale(1) contrast(.82) brightness(1.12)}.divider{position:absolute;inset:0 50% 0 auto;width:2px;background:#fff}.divider span{position:absolute;top:46%;left:50%;transform:translate(-50%,-50%);width:66px;height:66px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:28px;letter-spacing:5px}.hero-title{position:absolute;left:7vw;bottom:155px}.title-logo-style{line-height:.9;letter-spacing:-.055em}.title-logo-style strong{display:block;font-weight:950;text-transform:uppercase;letter-spacing:-.07em}.title-logo-style span{display:block;font-weight:200;text-transform:none;letter-spacing:-.06em}.hero-title strong{font-size:var(--bold)}.hero-title span{font-size:var(--thin)}.hero-copy{position:absolute;left:7vw;bottom:92px;font-size:18px;line-height:1.45}.paper-section{position:relative;display:grid;grid-template-columns:38% 62%;gap:7vw;padding:160px 7vw;background:#f8f8f5;overflow:hidden}.paper-section:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(22deg,rgba(0,0,0,.035) 0 1px,transparent 1px 34px),repeating-linear-gradient(102deg,rgba(0,0,0,.025) 0 1px,transparent 1px 48px);opacity:.55}.about>*{position:relative}.kicker{color:#f44611;text-transform:uppercase;letter-spacing:.12em;font-weight:700}.about h1 strong{font-size:clamp(64px,7vw,125px)}.about h1 span{font-size:clamp(54px,6vw,108px)}.about-text p:not(.kicker){font-size:17px;line-height:1.6;max-width:430px}.rule{width:72px;height:3px;background:#111;margin:36px 0}.arrow-link{text-transform:uppercase;font-size:14px;letter-spacing:.04em;display:inline-flex;gap:22px;margin-top:30px}.arrow-link b{width:72px;border-top:2px solid #111;transform:translateY(8px)}.framed-image{position:relative;min-height:420px;align-self:center}.framed-image i{position:absolute;left:-55px;top:-58px;width:250px;height:260px;background:var(--stone);z-index:0}.framed-image:after{content:"";position:absolute;right:-70px;bottom:-55px;width:78%;height:62%;border:2px solid #111;z-index:0}.framed-image img{position:relative;z-index:1;box-shadow:0 0 0 14px rgba(255,255,255,.12)}.black-section{background:#040505;color:#fff}.black-inner{position:relative;width:min(1500px,88vw);margin:auto;padding:230px 0}.light strong{font-size:clamp(58px,6vw,112px);color:#fff}.light span{font-size:clamp(50px,5.3vw,98px);color:#fff}.section-copy{max-width:430px;font-size:17px;line-height:1.65;color:#e7e7e1;margin:48px 0}.outline-btn{display:inline-block;background:var(--ad-ral-2004);padding:18px 32px;text-transform:uppercase;font-size:13px;letter-spacing:.06em}.services-art .black-inner{display:grid;grid-template-columns:34% 66%;gap:70px;align-items:center}.service-images{display:grid;grid-template-columns:1fr 1fr;gap:26px;position:relative}.service-images:after{content:"";position:absolute;right:-30px;top:-40px;width:290px;height:360px;border:2px solid var(--stone);z-index:0}.service-images img{height:430px;position:relative;z-index:1}.portfolio-art{border-top:1px solid #333}.portfolio-grid{display:grid;grid-template-columns:38% 62%;gap:80px;align-items:center}.gallery{display:grid;grid-template-columns:1.2fr 1fr;grid-auto-rows:250px;gap:24px}.gallery img{filter:saturate(.9)}.gallery .wide{grid-row:span 2}.site-footer{background:#fff;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:60px;padding:80px 8vw;color:#000;border-top:1px solid #e2e2de}.site-footer img{width:280px;height:auto;object-fit:contain}.site-footer div{display:flex;flex-direction:column;gap:8px;text-transform:uppercase;font-size:12px}.site-footer strong{margin-bottom:8px}@media(max-width:900px){.main-nav{gap:18px;font-size:11px}.logo-wrap{height:120px}.hero{height:auto}.compare{height:520px}.paper-section,.services-art .black-inner,.portfolio-grid{grid-template-columns:1fr}.black-inner{padding:140px 0}.site-footer{grid-template-columns:1fr}.hero-title{left:6vw}.hero-title strong{font-size:58px}.hero-title span{font-size:50px}}

/* Conteneur boxed type Elementor : fond pleine largeur, contenu centré */
:root {
	--ad-container-width: 1400px;
	--ad-container-gutter: clamp(20px, 4vw, 40px);
	--ad-container-inset: max(
		var(--ad-container-gutter),
		calc((100% - var(--ad-container-width)) / 2 + var(--ad-container-gutter))
	);
	--ad-title-strong: clamp(44px, 4.5vw, 82px);
	--ad-title-light: clamp(38px, 4vw, 72px);
	--ad-ral-2004: #f44611;
	--ad-hero-text-shadow: 0 0 14px rgba(255, 255, 255, 0.92),
		0 0 28px rgba(255, 255, 255, 0.65),
		0 1px 2px rgba(255, 255, 255, 0.85);
	--ad-hero-hint-text-shadow: 0 1px 4px rgba(255, 255, 255, 0.5),
		0 2px 12px rgba(255, 255, 255, 0.42),
		0 0 16px rgba(255, 255, 255, 0.36),
		0 0 32px rgba(255, 255, 255, 0.28),
		0 0 56px rgba(255, 255, 255, 0.2),
		0 0 88px rgba(255, 255, 255, 0.14);
}

/* Titres display unifiés (hero, à propos, sections noires) */
body.ad-theme .hero-title strong,
body.ad-theme .title-logo-style strong,
body.ad-theme .section-title strong {
	font-size: var(--ad-title-strong);
}

body.ad-theme .hero-title span,
body.ad-theme .title-logo-style span,
body.ad-theme .section-title span {
	font-size: var(--ad-title-light);
}

/* WordPress / Gutenberg integration */
body.ad-theme .site-content,
body.ad-theme .content-area,
body.ad-theme .one-container .site-content {
	padding: 0;
	margin: 0;
}

body.ad-theme .separate-containers .inside-article,
body.ad-theme .one-container .inside-article {
	padding: 0;
}

/* Reset GP uniquement sur les wrappers structurels, pas les conteneurs boxed */
body.ad-theme .site-main > .wp-block-group__inner-container,
body.ad-theme .ad-home-main > .wp-block-group__inner-container,
body.ad-theme .ad-services-main > .wp-block-group__inner-container,
body.ad-theme .ad-about-main > .wp-block-group__inner-container,
body.ad-theme .ad-contact-main > .wp-block-group__inner-container,
body.ad-theme .ad-split-page > .wp-block-group__inner-container,
body.ad-theme .site-header > .wp-block-group__inner-container,
body.ad-theme .black-section > .wp-block-group__inner-container,
body.ad-theme .hero > .wp-block-group__inner-container {
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding: 0 !important;
}

body.ad-theme .inside-article,
body.ad-theme .entry-content {
	margin: 0;
	padding: 0;
	max-width: none;
}

body.ad-theme .entry-header,
body.ad-theme .page-header {
	display: none;
}

body.ad-theme .wp-block-group {
	margin: 0;
}

body.ad-theme .wp-block-image {
	margin: 0;
}

body.ad-theme .logo-wrap .wp-block-image img,
body.ad-theme .site-footer .wp-block-image img {
	width: min(780px, 78vw);
	height: auto;
	object-fit: contain;
}

/* Logo header : AD+ | texte | motif orange (symétrie) */
body.ad-theme .logo-mark {
	--logo-src-w: 2047;
	--logo-src-h: 385;
	--logo-ad-src-w: 590;
	--logo-accent-src-w: 600;
	--logo-accent-src-h: 344;
	--logo-mark-h: clamp(64px, 10.5vw, 147px);
	--logo-ad-w: calc(var(--logo-mark-h) * var(--logo-ad-src-w) / var(--logo-src-h));
	--logo-accent-w: calc(var(--logo-mark-h) * var(--logo-accent-src-w) / var(--logo-accent-src-h));
	--logo-full-w: calc(var(--logo-mark-h) * var(--logo-src-w) / var(--logo-src-h));
	--logo-motif-gap: clamp(32px, 9vw, 150px);
	display: inline-flex;
	align-items: stretch;
	height: var(--logo-mark-h);
	max-width: min(1300px, 95vw);
	line-height: 0;
	text-decoration: none;
}

body.ad-theme .logo-mark__cell {
	flex: 0 0 auto;
	overflow: hidden;
	display: block;
}

body.ad-theme .logo-mark__ad {
	width: var(--logo-ad-w);
}

body.ad-theme .logo-mark__text {
	width: calc(var(--logo-full-w) - var(--logo-ad-w));
}

body.ad-theme .logo-mark__accent {
	width: var(--logo-accent-w);
	margin-left: var(--logo-motif-gap);
}

body.ad-theme .logo-mark__accent img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	object-position: center center;
	color-profile: srgb;
	opacity: 0.9;
}

body.ad-theme .logo-mark__ad img,
body.ad-theme .logo-mark__text img {
	height: var(--logo-mark-h);
	width: var(--logo-full-w);
	max-width: none;
	object-fit: cover;
	object-position: left center;
}

body.ad-theme .logo-mark__text img {
	margin-left: calc(var(--logo-ad-w) * -1);
	object-position: left center;
}

body.ad-theme .site-footer .wp-block-image img {
	width: 280px;
}

body.ad-theme p.hero-copy,
body.ad-theme p.section-copy,
body.ad-theme p.kicker {
	margin-top: 0;
}

body.ad-theme .main-nav {
	align-items: stretch;
}

body.ad-theme .main-nav__menu {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 58px;
	list-style: none;
	margin: 0;
	padding: 0;
	height: 100%;
}

body.ad-theme .main-nav__menu > li {
	display: flex;
	align-items: stretch;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.ad-theme .ad-site-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

body.ad-theme .ad-site-footer__links li {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.ad-theme .main-nav a {
	color: inherit;
	text-decoration: none;
}

/* Liens menu — fond RAL 2004 pleine hauteur au survol */
body.ad-theme .main-nav a:not(.btn) {
	display: inline-flex;
	align-items: center;
	padding: 0 18px;
	background: transparent;
	transition: background-color 0.2s ease, color 0.2s ease;
}

body.ad-theme .main-nav a:not(.btn):hover,
body.ad-theme .main-nav a:not(.btn):focus-visible,
body.ad-theme .main-nav a:not(.btn).is-active {
	background-color: var(--ad-ral-2004);
	color: #fff;
}

/* CTA — fond noir, bordure blanche (maquette) */
body.ad-theme .main-nav__menu > li.btn {
	border: none;
	padding: 0;
	margin: 0;
	background: transparent;
}

body.ad-theme .main-nav a.btn {
	display: inline-flex;
	align-items: center;
	align-self: center;
	margin: 8px 0;
	padding: 16px 28px;
	background: #050505;
	border: 1px solid #fff;
	color: #fff;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.ad-theme .main-nav a.btn:hover,
body.ad-theme .main-nav a.btn:focus-visible {
	background: var(--ad-ral-2004);
	border-color: var(--ad-ral-2004);
	color: #fff;
}

/* Burger toggle — masqué sur desktop */
body.ad-theme .main-nav__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin: 0;
	padding: 12px;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
	position: relative;
	z-index: 202;
}

body.ad-theme .main-nav__toggle-icon {
	display: block;
	width: 26px;
	height: 18px;
	position: relative;
}

body.ad-theme .main-nav__toggle-icon span {
	display: block;
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
	transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
}

body.ad-theme .main-nav__toggle-icon span:nth-child(1) {
	top: 0;
}

body.ad-theme .main-nav__toggle-icon span:nth-child(2) {
	top: 8px;
}

body.ad-theme .main-nav__toggle-icon span:nth-child(3) {
	top: 16px;
}

body.ad-theme .main-nav.is-open .main-nav__toggle-icon span:nth-child(1) {
	top: 8px;
	transform: rotate(45deg);
}

body.ad-theme .main-nav.is-open .main-nav__toggle-icon span:nth-child(2) {
	opacity: 0;
}

body.ad-theme .main-nav.is-open .main-nav__toggle-icon span:nth-child(3) {
	top: 8px;
	transform: rotate(-45deg);
}

body.ad-theme .main-nav__panel {
	display: flex;
	align-items: stretch;
	justify-content: center;
	flex: 1;
	height: 100%;
}

body.ad-theme .site-header {
	position: relative;
	z-index: 200;
}

body.ad-theme .main-nav,
body.ad-theme .main-nav__panel,
body.ad-theme .main-nav__menu {
	overflow: visible;
}

body.ad-theme .main-nav__menu > li {
	position: relative;
}

body.ad-theme .main-nav__menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 30;
	min-width: 260px;
	max-width: min(320px, 80vw);
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: #050505;
	box-shadow: 0 16px 28px rgba(0, 0, 0, 0.22);
}

body.ad-theme .main-nav__menu > li:nth-last-child(-n+3) > .sub-menu {
	left: auto;
	right: 0;
}

body.ad-theme .main-nav__menu .sub-menu li {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.ad-theme .main-nav .sub-menu a:not(.btn) {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 12px 20px;
	white-space: normal;
	box-sizing: border-box;
	line-height: 1.35;
}

body.ad-theme .main-nav__menu > li.menu-item-has-children > a:not(.btn) {
	padding-right: 8px;
}

body.ad-theme .main-nav__subtoggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 0 16px 0 2px;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	cursor: pointer;
}

body.ad-theme .main-nav__subtoggle::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	flex-shrink: 0;
}

body.ad-theme button.ad-nav-label {
	padding: 0 18px;
}

body.ad-theme .main-nav__menu > li.menu-item-has-children:hover > .main-nav__subtoggle,
body.ad-theme .main-nav__menu > li.menu-item-has-children:focus-within > .main-nav__subtoggle,
body.ad-theme .main-nav__menu > li.menu-item-has-children.is-submenu-open > .main-nav__subtoggle,
body.ad-theme .main-nav button.ad-nav-label:hover,
body.ad-theme .main-nav button.ad-nav-label:focus-visible {
	background-color: var(--ad-ral-2004);
	color: #fff;
}

body.ad-theme .main-nav button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -2px;
}

@media (min-width: 901px) {
	body.ad-theme .main-nav__menu > li:hover > .sub-menu,
	body.ad-theme .main-nav__menu > li:focus-within > .sub-menu,
	body.ad-theme .main-nav__menu > li.is-submenu-open > .sub-menu {
		display: block;
	}
}

body.ad-theme.ad-nav-open {
	overflow: hidden;
}

@media (max-width: 900px) {
	body.ad-theme .site-header {
		position: relative;
		z-index: 200;
	}

	body.ad-theme .logo-wrap {
		height: 120px;
	}

	body.ad-theme .main-nav {
		justify-content: flex-end;
		padding: 0 var(--ad-container-gutter);
		min-height: 64px;
		height: auto;
	}

	body.ad-theme .main-nav__toggle {
		display: inline-flex;
	}

	body.ad-theme .main-nav__panel {
		position: fixed;
		top: 184px;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 201;
		flex: none;
		height: auto;
		align-items: stretch;
		justify-content: flex-start;
		padding: 24px 0 48px;
		background: #050505;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		visibility: hidden;
		pointer-events: none;
		transform: translate3d(-100%, 0, 0);
		transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.42s;
		will-change: transform;
	}

	body.ad-theme .main-nav.is-open .main-nav__panel {
		visibility: visible;
		pointer-events: auto;
		transform: translate3d(0, 0, 0);
		transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
	}

	@media (prefers-reduced-motion: reduce) {
		body.ad-theme .main-nav__panel,
		body.ad-theme .main-nav.is-open .main-nav__panel {
			transition: none;
			transform: none;
		}
	}

	body.ad-theme .main-nav__menu {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		width: 100%;
		height: auto;
	}

	body.ad-theme .main-nav__menu > li {
		border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	}

	body.ad-theme .main-nav a:not(.btn) {
		display: flex;
		width: 100%;
		padding: 18px var(--ad-container-gutter);
		justify-content: flex-start;
		box-sizing: border-box;
	}

	body.ad-theme .main-nav__menu > li.btn {
		border-bottom: 0;
		margin-top: 20px;
		padding: 0 var(--ad-container-gutter);
		box-sizing: border-box;
	}

	body.ad-theme .main-nav a.btn {
		width: 100%;
		margin: 0;
		padding: 18px 28px;
		justify-content: center;
		box-sizing: border-box;
	}

	body.ad-theme .main-nav,
	body.ad-theme .main-nav__panel {
		overflow: visible;
	}

	body.ad-theme .main-nav__panel {
		overflow-y: auto;
	}

	body.ad-theme .main-nav__menu .sub-menu {
		position: static;
		min-width: 0;
		max-width: none;
		padding: 0 0 8px;
		background: transparent;
		box-shadow: none;
	}

	body.ad-theme .main-nav__menu > li.menu-item-has-children {
		flex-wrap: wrap;
	}

	body.ad-theme .main-nav__menu > li.menu-item-has-children > a:not(.btn) {
		flex: 1 1 auto;
		width: auto;
		padding-right: 8px;
	}

	body.ad-theme .main-nav__menu > li.menu-item-has-children > .main-nav__subtoggle {
		width: 56px;
		padding: 0;
	}

	body.ad-theme .main-nav__menu > li.menu-item-has-children > button.ad-nav-label {
		width: 100%;
		justify-content: space-between;
		padding: 18px var(--ad-container-gutter);
		box-sizing: border-box;
	}

	body.ad-theme .main-nav__menu > li.is-submenu-open > .sub-menu {
		display: block;
		flex: 1 0 100%;
	}

	body.ad-theme .main-nav .sub-menu a:not(.btn) {
		padding: 14px var(--ad-container-gutter) 14px calc(var(--ad-container-gutter) + 16px);
	}
}

body.ad-theme .outline-btn {
	color: inherit;
	text-decoration: none;
}
body.ad-theme .outline-btn:hover {
	border: 1px solid #fff;
	color: #fff;
    background:none;
}

body.ad-theme .outline-btn--dark {
	border: 1px solid #111;
	color: #111;
    background:none;
}
body.ad-theme .outline-btn--dark:hover {
    background: #111;
    color: #fff;
}
body.ad-theme .about-text .outline-btn,
body.ad-theme .services-intro .outline-btn {
	margin-top: 30px;
}

/* Photo « révéler un lieu » : grande, décors géométriques discrets */
body.ad-theme .paper-section > .wp-block-group__inner-container,
body.ad-theme .about.black-section > .wp-block-group__inner-container {
	align-items: center;
}

body.ad-theme .framed-image {
	min-height: 620px;
	width: 100%;
	align-self: stretch;
}

body.ad-theme .framed-image .wp-block-image {
	width: 100%;
	height: 100%;
	min-height: 580px;
}

body.ad-theme .framed-image .wp-block-image img {
	width: 100%;
	min-height: 580px;
	height: 100%;
	object-fit: cover;
}

body.ad-theme .framed-image i {
	left: -20px;
	top: -24px;
	width: 120px;
	height: 130px;
    background: var(--ad-ral-2004);
}

body.ad-theme .framed-image::after {
	right: -20px;
	bottom: -20px;
	width: 55%;
	height: 42%;
}

body.ad-theme .ad-home-main > .wp-block-group__inner-container,
body.ad-theme .black-inner > .wp-block-group__inner-container,
body.ad-theme .portfolio-grid > .wp-block-group__inner-container,
body.ad-theme .service-images > .wp-block-group__inner-container,
body.ad-theme .gallery > .wp-block-group__inner-container,
body.ad-theme .about-text > .wp-block-group__inner-container,
body.ad-theme .framed-image > .wp-block-group__inner-container {
	display: contents;
}

/* Sections claires tramées : fond pleine largeur, grille dans le conteneur */
body.ad-theme .paper-section {
	display: block;
	position: relative;
	overflow: hidden;
	padding-left: 0;
	padding-right: 0;
	background: #f8f8f5;
}

body.ad-theme .paper-section::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: repeating-linear-gradient(22deg, rgba(0, 0, 0, 0.08) 0 1px, transparent 1px 34px),
		repeating-linear-gradient(102deg, rgba(0, 0, 0, 0.06) 0 1px, transparent 1px 48px);
	opacity: 0.9;
	pointer-events: none;
}

body.ad-theme .paper-section > * {
	position: relative;
	z-index: 1;
}

body.ad-theme .about.paper-section > .wp-block-group__inner-container,
body.ad-theme .service-detail.paper-section > .wp-block-group__inner-container,
body.ad-theme .services-art.paper-section > .wp-block-group__inner-container,
body.ad-theme .about.black-section > .wp-block-group__inner-container {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 5vw, 80px);
	width: 100%;
	max-width: var(--ad-container-width) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: var(--ad-container-gutter) !important;
	padding-right: var(--ad-container-gutter) !important;
}

/* Croquis en perspective — sections noires */
body.ad-theme .black-section {
	position: relative;
	overflow: hidden;
	background: #040505;
	color: #fff;
}

body.ad-theme .black-section::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -8%;
	width: 170%;
	height: 75%;
	transform: translateX(-50%) perspective(260px) rotateX(74deg);
	transform-origin: center bottom;
	pointer-events: none;
	z-index: 0;
	opacity: 0.27;
	background-image: repeating-linear-gradient(
			90deg,
			rgba(255, 255, 255, 0.58) 0,
			rgba(255, 255, 255, 0.58) 1px,
			transparent 1px,
			transparent 68px
		),
		repeating-linear-gradient(
			0deg,
			rgba(255, 255, 255, 0.42) 0,
			rgba(255, 255, 255, 0.42) 1px,
			transparent 1px,
			transparent 52px
		);
	mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.42) 62%, transparent 100%);
}

body.ad-theme .black-section::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	opacity: 0.22;
	background-image: url("assets/sketch-perspective.svg");
	background-size: cover;
	background-position: center 35%;
	background-repeat: no-repeat;
}

body.ad-theme .black-section > .wp-block-group__inner-container,
body.ad-theme .black-section .black-inner {
	position: relative;
	z-index: 1;
}

/* À propos sur fond noir */
body.ad-theme .about.black-section {
	display: block;
	padding: 160px 0;
	color: #fff;
}

body.ad-theme .about.black-section .about-text p:not(.kicker) {
	color: #e7e7e1;
}

body.ad-theme .black-section .rule {
	background: #fff;
}

body.ad-theme .about.black-section .framed-image::after {
	border-color: var(--ad-ral-2004);
}

body.ad-theme .service-detail.paper-section {
	display: block;
	padding: 120px 0;
}

body.ad-theme .service-detail.paper-section .about-text p:not(.kicker) {
	color: #060606;
}

body.ad-theme .service-detail.paper-section .framed-image::after {
	border-color: var(--ad-ral-2004);
}

body.ad-theme .service-detail.paper-section .about-text .outline-btn {
	margin-top: 30px;
}

body.ad-theme .service-detail.paper-section .service-conception-boards {
	grid-column: 1 / -1;
	width: 100%;
	margin-top: clamp(8px, 2vw, 24px);
}

body.ad-theme .service-conception-boards > .wp-block-group__inner-container {
	display: contents;
}

body.ad-theme .service-conception-boards__grid > .wp-block-group__inner-container {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(24px, 3vw, 48px);
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	align-items: start;
}

body.ad-theme .service-conception-board,
body.ad-theme .service-conception-board > .wp-block-group__inner-container {
	display: flex;
	flex-direction: column;
	gap: clamp(12px, 1.5vw, 20px);
	min-width: 0;
}

body.ad-theme .service-conception-board__caption {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: #060606;
}

body.ad-theme .service-conception-board__caption strong {
	display: block;
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ad-ral-2004);
}

body.ad-theme .service-conception-boards .wp-block-image {
	margin: 0;
}

body.ad-theme .service-conception-boards img {
	width: 100%;
	height: auto;
	display: block;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
	transition: transform 0.35s ease;
}

body.ad-theme .service-conception-boards__link {
	display: block;
	cursor: zoom-in;
	line-height: 0;
}

body.ad-theme .service-conception-boards__link:hover img {
	transform: scale(1.02);
}

@media (max-width: 900px) {
	body.ad-theme .service-conception-boards__grid > .wp-block-group__inner-container {
		grid-template-columns: 1fr;
	}
}

body.ad-theme .services-page-intro {
	padding-bottom: 100px;
}

/* ——— Page À propos ——— */

body.ad-theme .about-page-intro {
	padding-bottom: 100px;
}

body.ad-theme .about-bio-section {
	padding: 120px 0;
}

body.ad-theme .about-faq-section {
	display: block;
	padding: 120px 0 140px;
	color: #fff;
}

body.ad-theme .about-faq-section .black-inner.about-faq__inner {
	width: 100%;
	max-width: var(--ad-container-width);
	margin: 0 auto;
	padding-left: var(--ad-container-gutter);
	padding-right: var(--ad-container-gutter);
}

body.ad-theme .about-faq-section .black-inner.about-faq__inner > .wp-block-group__inner-container {
	display: flex !important;
	flex-direction: column;
	gap: 48px;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.ad-theme .about-faq__intro {
	max-width: 640px;
}

body.ad-theme .about-faq__intro .section-copy {
	color: #e7e7e1;
}

body.ad-theme .about-faq__columns > .wp-block-group__inner-container {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(40px, 6vw, 90px);
	align-items: stretch;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.ad-theme .about-faq__visuals > .wp-block-group__inner-container {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 26px;
	height: 100%;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.ad-theme .about-faq__visuals.service-images {
	display: block;
	position: relative;
	min-height: 100%;
	height: 100%;
}

body.ad-theme .about-faq__visuals.service-images .wp-block-image {
	height: 100%;
	min-height: clamp(320px, 42vw, 520px);
}

body.ad-theme .about-faq__visuals.service-images img {
	width: 100%;
	height: 100%;
	min-height: clamp(320px, 42vw, 520px);
	object-fit: cover;
	position: relative;
	z-index: 1;
}

body.ad-theme .about-faq__visuals.service-images::after {
	content: "";
	position: absolute;
	right: -20px;
	top: -28px;
	width: min(240px, 42%);
	height: min(300px, 55%);
	border: 2px solid var(--ad-ral-2004);
	z-index: 0;
	pointer-events: none;
}

body.ad-theme .about-faq__list {
	display: flex;
	flex-direction: column;
	gap: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	width: 100%;
}

body.ad-theme .about-faq__item {
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	padding: 0;
}

body.ad-theme .about-faq__item summary::-webkit-details-marker {
	display: none;
}

body.ad-theme .about-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 0;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #fff;
	cursor: pointer;
	list-style: none;
	transition: color 0.25s ease;
}

body.ad-theme .about-faq__item summary:hover,
body.ad-theme .about-faq__item summary:focus-visible {
	color: var(--ad-ral-2004);
}

body.ad-theme .about-faq__item summary::after {
	content: "+";
	flex-shrink: 0;
	font-size: 22px;
	font-weight: 300;
	color: var(--ad-ral-2004);
	line-height: 1;
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

body.ad-theme .about-faq__item.is-open summary::after,
body.ad-theme .about-faq__item[open] summary::after {
	content: "−";
	transform: rotate(180deg);
}

body.ad-theme .about-faq-section .about-faq__item > p {
	margin: 0;
	padding-right: 16px;
	font-size: 16px;
	line-height: 1.65;
	color: #e7e7e1;
	overflow: hidden;
	max-height: 0;
	opacity: 0;
}

body.ad-theme .about-faq__item.is-open > p,
body.ad-theme .about-faq__item[open] > p {
	margin: 0 0 22px;
}

body.ad-theme .paper-section.about-testimonials-section > .wp-block-group__inner-container {
	display: block !important;
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	grid-template-columns: none;
}

body.ad-theme .about-testimonials-section {
	display: block;
	padding: 120px 0 160px;
}

body.ad-theme .about-testimonials__inner {
	width: 100%;
	max-width: var(--ad-container-width);
	margin: 0 auto;
	padding-left: var(--ad-container-gutter);
	padding-right: var(--ad-container-gutter);
}

body.ad-theme .about-testimonials__inner > .wp-block-group__inner-container {
	display: flex !important;
	flex-direction: column;
	gap: 56px;
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.ad-theme .about-testimonials__intro > .wp-block-group__inner-container {
	display: block !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.ad-theme .about-testimonials__intro {
	max-width: 640px;
}

body.ad-theme .about-testimonials__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(24px, 3vw, 40px);
	width: 100%;
	align-self: stretch;
}

body.ad-theme .about-testimonials-section .about-testimonial {
	margin: 0;
	padding: 36px 32px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
	gap: 28px;
	min-height: 100%;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
}

body.ad-theme .about-testimonials-section .about-testimonial__quote {
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
	font-style: italic;
	color: #333;
}

body.ad-theme .about-testimonials-section .about-testimonial__author {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: auto;
}

body.ad-theme .about-testimonials-section .about-testimonial__author strong {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #060606;
}

body.ad-theme .about-testimonials-section .about-testimonial__author span {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ad-ral-2004);
}

/* ——— Page Contact ——— */

body.ad-theme .contact-page-intro {
	padding-bottom: 100px;
}

body.ad-theme .paper-section.contact-details-section {
	display: block;
	padding: 100px 0 140px;
	--contact-label-h: 1.35em;
	--contact-label-gap: 18px;
	--contact-kicker-size: 12px;
	--contact-sep: rgba(6, 6, 6, 0.16);
}

body.ad-theme .paper-section.contact-details-section > .wp-block-group__inner-container {
	display: block !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.ad-theme .contact-details-section__inner {
	width: 100%;
	max-width: min(1680px, 96vw);
	margin: 0 auto;
	padding-left: var(--ad-container-gutter);
	padding-right: var(--ad-container-gutter);
}

body.ad-theme .contact-details-section__inner > .wp-block-group__inner-container {
	display: grid !important;
	grid-template-columns: auto minmax(0, 3.4fr);
	column-gap: clamp(18px, 2vw, 28px);
	row-gap: 0;
	align-items: start;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
}

/* Rangée gauche : photo JP + coordonnées en flex — hauteur = hauteur du texte */
body.ad-theme .contact-intro-row,
body.ad-theme .contact-intro-row > .wp-block-group__inner-container {
	display: flex !important;
	flex-direction: row;
	align-items: stretch;
	gap: clamp(18px, 2vw, 28px);
	min-width: 0;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	/* Hauteur portée par .contact-coords uniquement */
	height: auto;
	align-self: start;
}

body.ad-theme .contact-coords > .wp-block-group__inner-container {
	display: flex !important;
	flex-direction: column;
	justify-content: flex-start;
	height: auto;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Titres rouges alignés (kicker coords = heading étapes) */
body.ad-theme .contact-coords > .wp-block-group__inner-container > p.kicker,
body.ad-theme .contact-journey__heading {
	margin: 0 0 18px;
	padding: 0;
	font-size: var(--contact-kicker-size);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ad-ral-2004);
	line-height: 1.3;
	min-height: 1.3em;
}

/* Espace sous le titre rouge avant le bloc étapes */
body.ad-theme .contact-journey__heading {
	margin-bottom: clamp(28px, 3.5vw, 44px);
	flex-shrink: 0;
}

/*
 * Desktop only : height:0 + stretch → JP suit la hauteur du texte,
 * sans que l’img intrinsèque n’agrandisse la rangée.
 * ≤900px : taille naturelle (voir media queries).
 */
body.ad-theme .contact-journey__portrait {
	flex: 0 0 auto;
	align-self: stretch;
	min-width: 0;
	display: flex;
	align-items: stretch;
	height: auto;
	min-height: 0;
	overflow: visible;
}

@media (min-width: 901px) {
	body.ad-theme .contact-journey__portrait {
		height: 0;
		min-height: 100%;
		overflow: hidden;
	}
}

body.ad-theme .contact-coords {
	flex: 0 1 auto;
	min-width: 0;
	display: flex !important;
	flex-direction: column;
	justify-content: flex-start;
	/* Le texte définit la hauteur du flex */
	height: auto;
	align-self: auto;
}

/* Panneau étapes */
body.ad-theme .contact-journey__steps {
	--steps-gap: clamp(18px, 2.2vw, 32px);
	--steps-img-gap: 18px;
	display: flex;
	flex-direction: column;
	align-self: stretch;
	height: 100%;
	min-width: 0;
	width: 100%;
	border-left: 1px solid var(--contact-sep);
	padding-left: clamp(22px, 2.8vw, 40px);
	box-sizing: border-box;
}

body.ad-theme .contact-journey__steps-row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--steps-gap);
	align-items: start;
	align-content: center;
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
}

body.ad-theme .contact-journey__step {
	display: flex;
	flex-direction: column;
	min-width: 0;
	position: relative;
}

body.ad-theme .contact-journey__label {
	margin: 0;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #060606;
	line-height: var(--contact-label-h);
	min-height: var(--contact-label-h);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

body.ad-theme .contact-journey__item {
	margin: var(--steps-img-gap) 0 0;
	overflow: visible;
	background: transparent;
	width: 100%;
	aspect-ratio: 4 / 3;
	position: relative;
}

body.ad-theme .contact-journey__link {
	display: block;
	width: 100%;
	height: 100%;
	cursor: zoom-in;
	line-height: 0;
	overflow: hidden;
}

body.ad-theme .contact-journey__item img {
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center center;
	display: block;
	transition: transform 0.35s ease;
}

body.ad-theme .contact-journey__link:hover img {
	transform: scale(1.02);
}

/* Flèche simple → entre colonnes, centrée entre titre et image */
body.ad-theme .contact-journey__step:not(:last-child)::after {
	content: "→";
	position: absolute;
	top: calc(var(--contact-label-h) + (var(--steps-img-gap) / 2));
	right: calc(var(--steps-gap) / -2);
	transform: translate(50%, -50%);
	font-size: 14px;
	line-height: 1;
	color: #060606;
	z-index: 2;
	pointer-events: none;
}

/* Traits de séparation = hauteur des images, avec un peu d'air sous les flèches */
body.ad-theme .contact-journey__step:not(:last-child) .contact-journey__item::after {
	content: "";
	position: absolute;
	top: 10px;
	bottom: 0;
	right: calc(var(--steps-gap) / -2);
	width: 1px;
	background: var(--contact-sep);
	pointer-events: none;
	z-index: 1;
}

body.ad-theme .contact-journey__item--portrait {
	aspect-ratio: auto !important;
	width: auto;
	height: auto;
	flex: 1 1 auto;
	min-height: 0;
	margin: 0 !important;
	overflow: hidden;
	background: transparent;
}

body.ad-theme .contact-journey__item--portrait .contact-journey__link {
	display: block;
	width: auto;
	height: auto;
	overflow: hidden;
}

body.ad-theme .contact-journey__item--portrait img {
	aspect-ratio: auto !important;
	width: auto !important;
	height: auto !important;
	max-width: 100%;
	object-fit: contain !important;
	object-position: center top;
}

@media (min-width: 901px) {
	body.ad-theme .contact-journey__item--portrait {
		height: 100% !important;
	}

	body.ad-theme .contact-journey__item--portrait .contact-journey__link {
		height: 100% !important;
	}

	body.ad-theme .contact-journey__item--portrait img {
		height: 100% !important;
		max-width: none;
	}
}

body.ad-theme .contact-coords__list {
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

body.ad-theme .contact-coords__list li {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

body.ad-theme .contact-coords__list strong {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ad-ral-2004);
}

body.ad-theme .contact-coords__list a,
body.ad-theme .contact-coords__list span {
	font-size: 16px;
	line-height: 1.45;
	color: #060606;
	text-decoration: none;
}

body.ad-theme .contact-coords__list a:hover {
	color: var(--ad-ral-2004);
}

body.ad-theme .contact-coords__note {
	margin-top: 24px;
	max-width: 28ch;
}

body.ad-theme .contact-coords .section-title.title-logo-style {
	margin-bottom: 0;
}

body.ad-theme .contact-coords .rule {
	margin-top: 16px;
	margin-bottom: 0;
}

@media (max-width: 1100px) and (min-width: 901px) {
	body.ad-theme .contact-details-section__inner > .wp-block-group__inner-container {
		grid-template-columns: auto minmax(0, 3fr);
		column-gap: 14px;
	}

	body.ad-theme .contact-journey__steps {
		padding-left: 16px;
	}

	body.ad-theme .contact-journey__steps-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}
}

@media (max-width: 600px) {
	body.ad-theme .contact-details-section__inner > .wp-block-group__inner-container {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	body.ad-theme .contact-intro-row,
	body.ad-theme .contact-intro-row > .wp-block-group__inner-container {
		flex-direction: column;
		align-items: stretch;
	}

	body.ad-theme .contact-journey__portrait {
		width: 100%;
		max-width: none;
		height: auto !important;
		min-height: 0 !important;
		align-self: stretch;
		overflow: visible;
	}

	body.ad-theme .contact-journey__item--portrait {
		width: 100%;
		height: auto !important;
	}

	body.ad-theme .contact-journey__item--portrait .contact-journey__link {
		width: 100%;
		height: auto !important;
	}

	body.ad-theme .contact-journey__item--portrait img {
		width: 100% !important;
		height: auto !important;
		max-height: none;
	}

	body.ad-theme .contact-journey__steps {
		border-left: 0;
		padding-left: 0;
		border-top: 1px solid var(--contact-sep);
		padding-top: 28px;
	}

	body.ad-theme .contact-journey__steps-row {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	body.ad-theme .contact-journey__step:not(:last-child)::after,
	body.ad-theme .contact-journey__step:not(:last-child) .contact-journey__item::after {
		display: none;
	}
}

/* Legacy 2×2 gallery selectors kept inert if present in cache */
body.ad-theme .contact-gallery {
	display: none;
}

body.ad-theme .ad-contact-form-wrap {
	width: 100%;
}

body.ad-theme .ad-contact-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

body.ad-theme .ad-contact-form__notice {
	margin: 0 0 28px;
	padding: 16px 20px;
	font-size: 15px;
	line-height: 1.5;
	border-left: 3px solid var(--ad-ral-2004);
	background: rgba(244, 70, 17, 0.08);
}

body.ad-theme .ad-contact-form__notice--error {
	border-left-color: #111;
	background: rgba(0, 0, 0, 0.06);
}

body.ad-theme .ad-contact-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 28px;
	width: 100%;
}

body.ad-theme .ad-contact-form__field {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

body.ad-theme .ad-contact-form__field--full,
body.ad-theme .ad-contact-form__submit {
	grid-column: 1 / -1;
}

body.ad-theme .ad-contact-form label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #060606;
}

body.ad-theme .ad-contact-form label span {
	color: var(--ad-ral-2004);
}

body.ad-theme .ad-contact-form input,
body.ad-theme .ad-contact-form select,
body.ad-theme .ad-contact-form textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	background: #fff;
	color: #060606;
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.ad-theme .ad-contact-form input:focus,
body.ad-theme .ad-contact-form select:focus,
body.ad-theme .ad-contact-form textarea:focus {
	outline: none;
	border-color: var(--ad-ral-2004);
	box-shadow: 0 0 0 1px var(--ad-ral-2004);
}

body.ad-theme .ad-contact-form textarea {
	min-height: 160px;
	resize: vertical;
}

body.ad-theme .ad-contact-form__submit {
	margin: 8px 0 0;
}

body.ad-theme .ad-contact-form__submit .outline-btn {
	border: none;
	cursor: pointer;
}

/* Services sur fond blanc tramé — grille 40/60 */
body.ad-theme .services-art.paper-section > .wp-block-group__inner-container {
	grid-template-columns: 40% 60%;
	column-gap: clamp(60px, 7vw, 120px);
	row-gap: clamp(40px, 5vw, 80px);
	align-items: stretch;
}

body.ad-theme .services-art.paper-section .section-copy {
	color: #060606;
}

body.ad-theme .paper-section .section-copy {
	color: #060606;
}

body.ad-theme .paper-section .section-title strong,
body.ad-theme .paper-section .section-title span {
	color: #060606;
}

body.ad-theme .paper-section .rule {
	background: #111;
}

body.ad-theme .services-art.paper-section .section-title strong,
body.ad-theme .services-art.paper-section .section-title span {
	color: #060606;
}

body.ad-theme .about-text p:not(.kicker),
body.ad-theme .section-copy {
	max-width: none;
}

/* Sections noires : conteneur boxed, colonnes 50/50 */
body.ad-theme .black-inner {
	width: 100%;
	max-width: var(--ad-container-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--ad-container-gutter);
	padding-right: var(--ad-container-gutter);
}

body.ad-theme .portfolio-grid {
	grid-template-columns: 40% 60%;
	column-gap: clamp(60px, 7vw, 120px);
	row-gap: clamp(40px, 5vw, 80px);
	align-items: stretch;
}

body.ad-theme .services-intro,
body.ad-theme .portfolio-intro {
	height: 100%;
	padding-right: clamp(12px, 2vw, 24px);
}

body.ad-theme .services-art.paper-section .service-images {
	align-self: stretch;
	min-height: 480px;
}

body.ad-theme .services-art.paper-section .service-images img {
	height: 100%;
	min-height: 480px;
}

/* Avant (bar) : nouvelle image — même ancrage que l’après pour caler les deux colonnes */
body.ad-theme .services-art.paper-section .service-images .wp-block-image:first-child {
	overflow: hidden;
}

body.ad-theme .services-art.paper-section .service-images .wp-image-265 {
	object-fit: cover;
	object-position: 92% center;
	transform: none;
}

body.ad-theme .services-art.paper-section .service-images .wp-block-image:nth-child(2) img,
body.ad-theme .services-art.paper-section .service-images .wp-image-51 {
	object-position: right center;
}

/* Portfolio : galerie décalée vers le bas */
body.ad-theme .portfolio-grid {
	align-items: start;
}

body.ad-theme .portfolio-art .gallery,
body.ad-theme .portfolio-art .portfolio-steps-gallery {
	margin-top: clamp(32px, 5vw, 72px);
	width: 100%;
}

body.ad-theme .portfolio-art .portfolio-steps-gallery {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

body.ad-theme .portfolio-steps-gallery > .wp-block-group__inner-container,
body.ad-theme .portfolio-steps-gallery__top > .wp-block-group__inner-container {
	display: contents;
}

body.ad-theme .portfolio-steps-gallery__top {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
}

body.ad-theme .portfolio-step {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

body.ad-theme .portfolio-step > .wp-block-group__inner-container {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
}

body.ad-theme .portfolio-step__label {
	margin: 0 0 12px;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #e7e7e1;
}

body.ad-theme .portfolio-step__media.framed-image {
	position: relative;
	min-height: 0;
	width: 100%;
	overflow: visible;
	align-self: auto;
}

body.ad-theme .portfolio-art .portfolio-step__media.framed-image::after {
	border-color: var(--ad-ral-2004);
}

body.ad-theme .portfolio-step__media.framed-image i {
	left: -8px;
	top: -10px;
	width: 50%;
	height: 32%;
	z-index: 0;
	background: var(--ad-ral-2004);
}

body.ad-theme .portfolio-step__media-link {
	display: block;
	position: relative;
	z-index: 1;
	overflow: hidden;
	cursor: zoom-in;
	line-height: 0;
}

body.ad-theme .portfolio-step__media-link img {
	width: 100%;
	height: auto;
	min-height: 0;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.12);
	transition: transform 0.35s ease;
}

body.ad-theme .portfolio-step__media-link:hover img {
	transform: scale(1.03);
}

body.ad-theme .portfolio-step--full .portfolio-step__media-link img {
	aspect-ratio: 16 / 9;
}

body.ad-theme .services-intro > .wp-block-group__inner-container,
body.ad-theme .portfolio-intro > .wp-block-group__inner-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	height: 100%;
}

body.ad-theme .services-intro .outline-btn,
body.ad-theme .portfolio-intro .outline-btn {
	margin-top: auto;
}

/* Footer boxed */
body.ad-theme footer.site-footer {
	display: block;
	padding-left: 0;
	padding-right: 0;
}

body.ad-theme footer.site-footer > .wp-block-group__inner-container {
	display: grid !important;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 60px;
	width: 100%;
	max-width: var(--ad-container-width) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: var(--ad-container-gutter) !important;
	padding-right: var(--ad-container-gutter) !important;
}

body.ad-theme footer.site-footer a {
	color: #000;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.04em;
}

body.ad-theme footer.site-footer a:hover,
body.ad-theme footer.site-footer a:focus,
body.ad-theme footer.site-footer a:active {
	color: #000;
	text-decoration: none;
}

/* Hero compare — alignement nav sur le conteneur boxed */
body.ad-theme .hero-compare__nav {
	right: var(--ad-container-gutter);
}

@media (min-width: 1480px) {
	body.ad-theme .hero-compare__nav {
		right: calc((100% - var(--ad-container-width)) / 2 + var(--ad-container-gutter));
	}
}

/* Hero : images pleine largeur, textes alignés sur le conteneur */
body.ad-theme .hero-title,
body.ad-theme .hero-copy {
	left: var(--ad-container-inset);
	z-index: 4;
}

body.ad-theme .hero.compare-section .hero-title,
body.ad-theme .hero.compare-section .hero-title strong,
body.ad-theme .hero.compare-section .hero-title span,
body.ad-theme .hero.compare-section .hero-copy {
	text-shadow: var(--ad-hero-text-shadow);
}

body.ad-theme .hero.compare-section .hero-compare__handle {
	overflow: visible;
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
	min-height: 0;
	color: inherit;
}

body.ad-theme .hero.compare-section .hero-compare__handle-icon {
	background: var(--ad-ral-2004);
}

body.ad-theme .hero.compare-section .hero-compare__hint,
body.ad-theme .hero.compare-section .hero-compare__hint-line {
	color: var(--ad-ral-2004);
	text-shadow: var(--ad-hero-hint-text-shadow);
}

body.ad-theme .site-header .logo-wrap {
	width: 100%;
	max-width: var(--ad-container-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--ad-container-gutter);
	padding-right: var(--ad-container-gutter);
}

body.ad-theme .hero > .wp-block-group__inner-container {
	height: 100%;
	position: relative;
}

body.ad-theme .wp-block-group__inner-container .section-title,
body.ad-theme .wp-block-group__inner-container .section-copy,
body.ad-theme .wp-block-group__inner-container .outline-btn {
	position: relative;
}

@media (max-width: 900px) {
	body.ad-theme .about.paper-section > .wp-block-group__inner-container,
	body.ad-theme .service-detail.paper-section > .wp-block-group__inner-container,
	body.ad-theme .services-art.paper-section > .wp-block-group__inner-container,
	body.ad-theme .about.black-section > .wp-block-group__inner-container,
	body.ad-theme .portfolio-grid {
		grid-template-columns: 1fr;
	}

	body.ad-theme .portfolio-steps-gallery__top {
		grid-template-columns: 1fr;
	}

	body.ad-theme footer.site-footer > .wp-block-group__inner-container {
		grid-template-columns: 1fr;
	}
}

/* ——— Layout portfolio / pages brandées (CPT projet) ——— */

body.ad-branded-layout #page.grid-container,
body.ad-branded-layout #page.container,
body.ad-branded-layout #content.site-content,
body.ad-branded-layout .content-area {
	width: 100%;
	max-width: none !important;
	margin: 0;
	padding: 0;
}

body.ad-branded-layout.separate-containers .site-main,
body.ad-branded-layout.one-container .site-main,
body.ad-branded-layout .site-main {
	width: 100%;
	max-width: none;
	margin: 0 !important;
	float: none;
}

body.ad-branded-layout .site-main > *:not(.black-section):not(.paper-section):not(.hero):not(.projet-hero) {
	margin-bottom: 0 !important;
	background: transparent !important;
}

body.ad-branded-layout .ad-branded-page {
	display: flex;
	flex-direction: column;
	width: 100%;
}

body.ad-branded-layout #page + .site-footer {
	display: none;
}

body.ad-branded-layout .ad-branded-page .site-main {
	width: 100%;
	float: none;
}

body.ad-theme .paper-section.portfolio-cards-section,
body.ad-theme .paper-section.projet-intro,
body.ad-theme .paper-section.projet-sketches-section {
	display: block;
	grid-template-columns: none;
}

body.ad-theme .ad-site-footer {
	display: block;
	width: 100%;
	background: #fff;
	border-top: 1px solid #e2e2de;
	color: #000;
	clear: both;
}

body.ad-theme .ad-site-footer__inner {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 60px;
	width: 100%;
	max-width: var(--ad-container-width);
	margin-left: auto;
	margin-right: auto;
	padding: 80px var(--ad-container-gutter);
}

body.ad-theme .ad-site-footer__inner > div {
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-transform: uppercase;
	font-size: 12px;
}

body.ad-theme .ad-site-footer__inner strong {
	margin-bottom: 8px;
}

body.ad-theme .ad-site-footer__brand img {
	width: 280px;
	height: auto;
	object-fit: contain;
}

body.ad-theme .ad-site-footer a {
	color: #000;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.04em;
}

body.ad-theme .ad-site-footer a:hover,
body.ad-theme .ad-site-footer a:focus,
body.ad-theme .ad-site-footer a:active {
	color: #000;
	text-decoration: none;
}

/* ——— Portfolio CPT (archive + single projet) ——— */

body.ad-theme .logo-wrap a:not(.logo-mark) {
	display: block;
}

/* Archive portfolio */
body.ad-theme .portfolio-page-intro {
	padding: 160px 0 120px;
	color: #fff;
}

body.ad-theme .portfolio-page-intro .black-inner {
	width: 100%;
	max-width: var(--ad-container-width);
	margin: 0 auto;
	padding: 0 var(--ad-container-gutter);
}

body.ad-theme .portfolio-page-intro .section-copy {
	max-width: 520px;
}

body.ad-theme .portfolio-cards-section {
	display: block;
	padding: 120px 0 160px;
	position: relative;
}

body.ad-theme .portfolio-cards-section .portfolio-cards,
body.ad-theme .portfolio-cards-section .pagination {
	position: relative;
	z-index: 1;
}

body.ad-theme .portfolio-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
	gap: clamp(40px, 5vw, 72px);
	width: 100%;
	max-width: var(--ad-container-width);
	margin: 0 auto;
	padding: 0 var(--ad-container-gutter);
}

body.ad-theme .portfolio-card {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	row-gap: 28px;
	align-self: stretch;
}

body.ad-theme .portfolio-card__body {
	min-height: 0;
}

/* Fallback navigateurs sans subgrid */
@supports not (grid-template-rows: subgrid) {
	body.ad-theme .portfolio-card {
		display: flex;
		flex-direction: column;
		grid-row: auto;
	}

	body.ad-theme .portfolio-card__body {
		flex: 1 1 auto;
	}
}

body.ad-theme .portfolio-card__media.framed-image {
	position: relative;
	min-height: 0;
	width: 100%;
	overflow: visible;
	align-self: auto;
}

body.ad-theme .portfolio-card__media.framed-image::after {
	border-color: var(--ad-ral-2004);
}

body.ad-theme .portfolio-card__media.framed-image i {
	left: -8px;
	top: -10px;
	width: 50%;
	height: 32%;
	z-index: 0;
}

body.ad-theme .portfolio-card__media-link {
	display: block;
	position: relative;
	z-index: 1;
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

body.ad-theme .portfolio-card__media-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.12);
	transition: transform 0.35s ease;
}

body.ad-theme .portfolio-card__media-link:hover img {
	transform: scale(1.03);
}

body.ad-theme .portfolio-card__title {
	margin: 0 0 12px;
	font-size: clamp(28px, 3vw, 42px);
	line-height: 1;
	letter-spacing: -0.04em;
}

body.ad-theme .portfolio-card__title a {
	color: inherit;
	text-decoration: none;
}

body.ad-theme .portfolio-card__type {
	margin: 0 0 8px;
}

body.ad-theme .portfolio-card__excerpt {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	max-width: 42ch;
}

body.ad-theme .portfolio-card__btn {
	display: inline-block;
	justify-self: start;
	align-self: start;
	width: fit-content;
	max-width: 100%;
	flex-shrink: 0;
	margin-top: 0;
	position: relative;
	z-index: 2;
}

body.ad-theme .portfolio-cards-section .outline-btn {
	color: #fff;
	background: var(--ad-ral-2004);
}

body.ad-theme .portfolio-cards-section .outline-btn:hover,
body.ad-theme .portfolio-cards-section .outline-btn:focus-visible {
	border: 1px solid var(--ad-ral-2004);
	color: var(--ad-ral-2004);
	background: transparent;
}

body.ad-theme .portfolio-card__media,
body.ad-theme .portfolio-card__title a {
	position: relative;
	z-index: 2;
}

body.ad-theme .portfolio-empty {
	grid-column: 1 / -1;
	text-align: center;
	font-size: 18px;
}

body.ad-theme .portfolio-cards-section .pagination {
	width: 100%;
	max-width: var(--ad-container-width);
	margin: 48px auto 0;
	padding: 0 var(--ad-container-gutter);
	text-align: center;
}

body.ad-theme .portfolio-cards-section .nav-links {
	display: inline-flex;
	gap: 12px;
	align-items: center;
}

body.ad-theme .portfolio-cards-section .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	border: 1px solid #111;
	text-decoration: none;
	color: #111;
}

body.ad-theme .portfolio-cards-section .page-numbers.current {
	background: var(--ad-ral-2004);
	border-color: var(--ad-ral-2004);
	color: #fff;
}

/* Single projet */
body.ad-theme .projet-hero {
	position: relative;
	height: clamp(360px, 52vw, 620px);
	overflow: hidden;
}

body.ad-theme .projet-hero__img,
body.ad-theme .projet-hero img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

body.ad-theme .projet-intro {
	display: block;
	padding: 120px 0;
}

body.ad-theme .projet-intro__inner {
	display: block;
	width: 100%;
	max-width: var(--ad-container-width);
	margin: 0 auto;
	padding: 0 var(--ad-container-gutter);
}

body.ad-theme .projet-intro__inner:has(.projet-intro__featured) {
	display: grid;
	grid-template-columns: minmax(0, 42%) minmax(0, 58%);
	gap: clamp(40px, 6vw, 90px);
	align-items: start;
}

body.ad-theme .projet-intro__text {
	max-width: 720px;
}

body.ad-theme .projet-intro__inner:has(.projet-intro__featured) .projet-intro__text {
	max-width: 520px;
}

body.ad-theme .projet-intro__featured.framed-image {
	position: relative;
	min-height: 0;
	margin-top: 0;
	padding-top: 14px;
	overflow: visible;
	align-self: start;
}

body.ad-theme .projet-intro__featured.framed-image i {
	left: -8px;
	top: -10px;
	width: 50%;
	height: 32%;
	z-index: 0;
	background: var(--stone);
}

body.ad-theme .projet-intro__featured.framed-image::after {
	right: -28px;
	bottom: -28px;
	width: 72%;
	height: 58%;
	border-color: var(--ad-ral-2004);
}

body.ad-theme .projet-intro__featured.framed-image img {
	position: relative;
	z-index: 1;
	width: 100%;
	height: auto;
	min-height: 0;
	object-fit: cover;
	box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.12);
}

body.ad-theme .projet-back {
	display: inline-block;
	margin-bottom: 28px;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.08em;
	color: #111;
	text-decoration: none;
}

body.ad-theme .projet-back:hover {
	color: var(--ad-ral-2004);
}

body.ad-theme .projet-intro h1 strong {
	font-size: clamp(40px, 4.5vw, 72px);
}

body.ad-theme .projet-meta {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 20px 32px;
}

body.ad-theme .projet-meta li {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

body.ad-theme .projet-meta span {
	opacity: 0.55;
}

body.ad-theme .projet-lead,
body.ad-theme .projet-content {
	font-size: 17px;
	line-height: 1.65;
	max-width: 520px;
}

body.ad-theme .projet-content p {
	margin-top: 0;
}

body.ad-theme .projet-gallery-section {
	padding: 120px 0 160px;
	color: #fff;
}

body.ad-theme .projet-gallery-section .black-inner,
body.ad-theme .projet-gallery-section__inner {
	width: 100%;
	max-width: var(--ad-container-width);
	margin: 0 auto;
	padding: 0 var(--ad-container-gutter);
}

body.ad-theme .projet-gallery-section__header {
	/* Assez large pour « RÉALISATION » (zoom navigateur inclus) */
	max-width: min(100%, 720px);
	margin-bottom: 48px;
}

body.ad-theme .projet-gallery-section__header .section-title.title-logo-style strong {
	font-size: clamp(38px, 4vw, 72px);
}

body.ad-theme .projet-gallery-section__header .section-title.title-logo-style span {
	font-size: clamp(32px, 3.6vw, 64px);
}

@media (min-width: 480px) {
	body.ad-theme .projet-gallery-section__header .section-title.title-logo-style strong {
		white-space: nowrap;
	}
}

body.ad-theme .projet-gallery-section__header .section-copy {
	color: #e7e7e1;
	margin-bottom: 0;
	max-width: 520px;
}

body.ad-theme .projet-gallery--masonry {
	display: flex;
	align-items: flex-start;
	gap: 18px;
}

body.ad-theme .projet-gallery--masonry.is-masonry-single {
	flex-direction: column;
}

body.ad-theme .projet-gallery__col {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

body.ad-theme .projet-gallery__item {
	margin: 0;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.04);
}

body.ad-theme .projet-gallery__item .projet-lightbox__trigger {
	display: block;
	cursor: zoom-in;
	line-height: 0;
}

body.ad-theme .projet-gallery__item img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

body.ad-theme .projet-sketches-section {
	display: block;
	padding: 120px 0 160px;
}

body.ad-theme .projet-sketches__inner {
	display: flex;
	flex-direction: column;
	gap: 48px;
	width: 100%;
	max-width: var(--ad-container-width);
	margin: 0 auto;
	padding: 0 var(--ad-container-gutter);
}

body.ad-theme .projet-sketches__intro {
	max-width: 640px;
}

body.ad-theme .projet-sketches__columns-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) clamp(48px, 6vw, 72px) minmax(0, 1fr);
	gap: clamp(16px, 3vw, 32px);
	align-items: end;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

body.ad-theme .projet-sketches__col-title {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #060606;
}

body.ad-theme .projet-sketches__col-title--real {
	grid-column: 3;
	text-align: right;
}

body.ad-theme .projet-sketches--pairs {
	display: flex;
	flex-direction: column;
	gap: clamp(48px, 6vw, 88px);
	width: 100%;
}

body.ad-theme .projet-sketches__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) clamp(48px, 6vw, 72px) minmax(0, 1fr);
	gap: clamp(16px, 3vw, 32px);
	align-items: stretch;
}

body.ad-theme .projet-sketches__side {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

body.ad-theme .projet-sketches__side-head {
	display: flex;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
}

body.ad-theme .projet-sketches__side-num {
	font-size: clamp(36px, 4.5vw, 64px);
	font-weight: 300;
	line-height: 1;
	color: #060606;
	letter-spacing: -0.02em;
}

body.ad-theme .projet-sketches__side-kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ad-ral-2004);
}

body.ad-theme .projet-sketches__flow {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100%;
	padding: 24px 0;
	color: var(--ad-ral-2004);
}

body.ad-theme .projet-sketches__flow-line {
	flex: 1 1 auto;
	width: 1px;
	min-height: 24px;
	background: rgba(0, 0, 0, 0.12);
}

body.ad-theme .projet-sketches__flow-icon {
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1;
	padding: 8px 0;
}

body.ad-theme .projet-sketches__caption {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: rgba(6, 6, 6, 0.72);
	max-width: 42ch;
}

body.ad-theme .projet-sketches__side--real .projet-sketches__caption {
	margin-left: auto;
	text-align: right;
}

body.ad-theme .projet-sketches__side--real .projet-sketches__side-head {
	justify-content: flex-end;
}

body.ad-theme .projet-sketches__row--solo {
	grid-template-columns: minmax(0, 1fr);
}

body.ad-theme .projet-sketches__row--solo .projet-sketches__flow {
	display: none;
}

body.ad-theme .projet-sketches__item {
	margin: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

body.ad-theme .projet-sketches__side--sketch .projet-sketches__item {
	border-style: dashed;
	border-color: rgba(244, 70, 17, 0.35);
}

body.ad-theme .projet-sketches__side--sketch img {
	filter: grayscale(1) contrast(0.88) brightness(1.06);
}

/* Exception Villa uniquement : croquis en couleur (pas de N&B) */
body.ad-theme.ad-projet-villa-sketches .projet-sketches__side--sketch img {
	filter: none;
}

body.ad-theme.ad-projet-villa-sketches .projet-sketches__side-kicker {
	display: none;
}

body.ad-theme .projet-sketches__item .projet-lightbox__trigger {
	display: block;
	cursor: zoom-in;
	line-height: 0;
}

body.ad-theme .projet-sketches__item img {
	width: 100%;
	height: auto;
	min-height: 0;
	object-fit: contain;
	display: block;
	transition: transform 0.35s ease;
}

body.ad-theme .projet-sketches__item .projet-lightbox__trigger:hover img {
	transform: scale(1.02);
}

/* Visionneuse projet */
body.ad-theme .projet-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: grid;
	place-items: center;
	padding: clamp(16px, 4vw, 40px);
}

body.ad-theme .projet-lightbox[hidden] {
	display: none;
}

body.ad-theme.ad-projet-lightbox-open {
	overflow: hidden;
}

body.ad-theme .projet-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 5, 5, 0.72);
	opacity: 0;
	transition: opacity 0.3s ease;
}

body.ad-theme .projet-lightbox--visible .projet-lightbox__backdrop {
	opacity: 1;
}

body.ad-theme .projet-lightbox__dialog {
	position: relative;
	z-index: 1;
	width: min(1200px, 100%);
	max-height: 100%;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 12px;
	opacity: 0;
	transform: scale(0.97) translateY(10px);
	transition: opacity 0.3s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

body.ad-theme .projet-lightbox--visible .projet-lightbox__dialog {
	opacity: 1;
	transform: scale(1) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	body.ad-theme .projet-lightbox__backdrop,
	body.ad-theme .projet-lightbox__dialog {
		transition: none;
	}
}

body.ad-theme .projet-lightbox__figure {
	margin: 0;
	grid-column: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	max-height: calc(100vh - 48px);
}

body.ad-theme .projet-lightbox__img {
	max-width: 100%;
	max-height: calc(100vh - 48px);
	width: auto;
	height: auto;
	object-fit: contain;
}

body.ad-theme .projet-lightbox__close,
body.ad-theme .projet-lightbox__nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.65);
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	cursor: pointer;
	flex-shrink: 0;
}

body.ad-theme .projet-lightbox__close {
	position: fixed;
	top: clamp(16px, 3vw, 28px);
	right: clamp(16px, 3vw, 28px);
	z-index: 2;
	width: 40px;
	height: 40px;
	font-size: 26px;
	line-height: 1;
}

body.ad-theme .projet-lightbox__nav {
	width: 44px;
	height: 44px;
	font-size: 30px;
	line-height: 1;
}

body.ad-theme .projet-lightbox__nav--prev {
	padding-right: 2px;
}

body.ad-theme .projet-lightbox__nav--next {
	padding-left: 2px;
}

body.ad-theme .projet-lightbox__nav[hidden] {
	display: none;
}

@media (max-width: 900px) {
	body.ad-theme .portfolio-cards,
	body.ad-theme .projet-intro__inner:has(.projet-intro__featured) {
		grid-template-columns: 1fr;
	}

	body.ad-theme .projet-intro__featured.framed-image {
		margin-top: 40px;
		max-width: 520px;
	}

	body.ad-theme .projet-sketches__columns-head,
	body.ad-theme .projet-sketches__row {
		grid-template-columns: 1fr;
	}

	body.ad-theme .projet-sketches__col-title--real {
		grid-column: auto;
		text-align: left;
	}

	body.ad-theme .projet-sketches__flow {
		flex-direction: row;
		min-height: 0;
		padding: 0;
		width: 100%;
	}

	body.ad-theme .projet-sketches__flow-line {
		width: auto;
		height: 1px;
		min-height: 0;
		flex: 1 1 auto;
	}

	body.ad-theme .projet-sketches__flow-icon {
		transform: rotate(90deg);
		padding: 0 8px;
	}

	body.ad-theme .projet-sketches__side--real .projet-sketches__side-head,
	body.ad-theme .projet-sketches__side--real .projet-sketches__caption {
		justify-content: flex-start;
		margin-left: 0;
		text-align: left;
	}

	body.ad-theme .ad-site-footer__inner {
		grid-template-columns: 1fr;
		padding-top: 60px;
		padding-bottom: 60px;
	}

	body.ad-theme .portfolio-page-intro {
		padding: 100px 0 80px;
	}

	body.ad-theme .about-faq__columns > .wp-block-group__inner-container,
	body.ad-theme .about-faq__visuals > .wp-block-group__inner-container {
		grid-template-columns: 1fr;
	}

	body.ad-theme .about-testimonials__grid {
		grid-template-columns: 1fr;
	}

	body.ad-theme .about-faq-section .about-faq__item p {
		padding-right: 0;
	}

	body.ad-theme .about-faq__visuals.service-images .wp-block-image,
	body.ad-theme .about-faq__visuals.service-images img {
		min-height: 280px;
	}

	body.ad-theme .contact-details-section__inner > .wp-block-group__inner-container {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	body.ad-theme .contact-intro-row,
	body.ad-theme .contact-intro-row > .wp-block-group__inner-container {
		flex-direction: row;
		align-items: flex-start;
		gap: clamp(16px, 3vw, 24px);
	}

	/* Tablette : plus de height:0 — l’image garde sa taille naturelle (contrôlée) */
	body.ad-theme .contact-journey__portrait {
		height: auto !important;
		min-height: 0 !important;
		overflow: visible;
		align-self: flex-start;
		flex: 0 0 auto;
		max-width: min(220px, 38vw);
		width: auto;
	}

	body.ad-theme .contact-journey__item--portrait {
		width: 100%;
		height: auto !important;
		min-height: 0;
	}

	body.ad-theme .contact-journey__item--portrait .contact-journey__link {
		width: 100%;
		height: auto !important;
	}

	body.ad-theme .contact-journey__item--portrait img {
		width: 100% !important;
		height: auto !important;
		max-height: 320px;
		object-fit: contain !important;
		object-position: center top;
	}

	body.ad-theme .contact-journey__steps {
		align-self: stretch;
		border-left: 0;
		padding-left: 0;
		border-top: 1px solid var(--contact-sep);
		padding-top: 24px;
	}

	body.ad-theme .contact-coords {
		justify-content: flex-start;
	}

	body.ad-theme .logo-mark {
		--logo-mark-h: clamp(52px, 14vw, 96px);
		--logo-motif-gap: clamp(32px, 10vw, 120px);
		max-width: min(900px, 96vw);
	}
}

/* Contact mobile : après le bloc ≤900px pour gagner la cascade */
@media (max-width: 600px) {
	body.ad-theme .contact-intro-row,
	body.ad-theme .contact-intro-row > .wp-block-group__inner-container {
		flex-direction: column;
		align-items: stretch;
	}

	body.ad-theme .contact-journey__portrait {
		width: 100%;
		max-width: none;
		height: auto !important;
		min-height: 0 !important;
		overflow: visible;
		align-self: stretch;
	}

	body.ad-theme .contact-journey__item--portrait,
	body.ad-theme .contact-journey__item--portrait .contact-journey__link {
		width: 100%;
		height: auto !important;
	}

	body.ad-theme .contact-journey__item--portrait img {
		width: 100% !important;
		height: auto !important;
		max-height: none;
	}

	body.ad-theme .contact-journey__steps-row {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	body.ad-theme .contact-journey__step:not(:last-child)::after,
	body.ad-theme .contact-journey__step:not(:last-child) .contact-journey__item::after {
		display: none;
	}
}

body.ad-theme h1.section-title {
	margin: 0;
	font-weight: inherit;
	color: inherit;
}

body.ad-theme .ad-services-main .section-copy a {
	color: inherit;
	text-decoration-line: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

body.ad-theme .ad-services-main .section-copy a:hover,
body.ad-theme .ad-services-main .section-copy a:focus-visible {
	color: var(--ad-ral-2004);
}

/* Pages intérieures : titre, chapô, trois sections texte / image */

body.ad-theme .ad-split-intro,
body.ad-theme .ad-split-section--dark {
	position: relative;
	overflow: hidden;
	background: #040505;
	color: #fff;
}

body.ad-theme .ad-split-intro::before,
body.ad-theme .ad-split-section--dark::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -8%;
	width: 170%;
	height: 75%;
	transform: translateX(-50%) perspective(260px) rotateX(74deg);
	transform-origin: center bottom;
	pointer-events: none;
	z-index: 0;
	opacity: 0.27;
	background-image: repeating-linear-gradient(
			90deg,
			rgba(255, 255, 255, 0.58) 0,
			rgba(255, 255, 255, 0.58) 1px,
			transparent 1px,
			transparent 68px
		),
		repeating-linear-gradient(
			0deg,
			rgba(255, 255, 255, 0.42) 0,
			rgba(255, 255, 255, 0.42) 1px,
			transparent 1px,
			transparent 52px
		);
	mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.42) 62%, transparent 100%);
}

body.ad-theme .ad-split-intro::after,
body.ad-theme .ad-split-section--dark::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	opacity: 0.22;
	background-image: url("assets/sketch-perspective.svg");
	background-size: cover;
	background-position: center 35%;
	background-repeat: no-repeat;
}

body.ad-theme .ad-split-intro {
	padding: clamp(88px, 10vw, 150px) 0 clamp(72px, 8vw, 110px);
}

body.ad-theme .ad-split-section {
	position: relative;
	overflow: hidden;
	padding: clamp(72px, 8vw, 120px) 0;
	background: #f8f8f5;
	color: #060606;
}

body.ad-theme .ad-split-section--dark {
	background: #040505;
	color: #fff;
}

body.ad-theme .ad-split-section:not(.ad-split-section--dark)::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: repeating-linear-gradient(22deg, rgba(0, 0, 0, 0.08) 0 1px, transparent 1px 34px),
		repeating-linear-gradient(102deg, rgba(0, 0, 0, 0.06) 0 1px, transparent 1px 48px);
	opacity: 0.9;
}

body.ad-theme .ad-split-intro > .wp-block-group__inner-container,
body.ad-theme .ad-split-section > .wp-block-group__inner-container {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--ad-container-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--ad-container-gutter);
	padding-right: var(--ad-container-gutter);
}

body.ad-theme .ad-split-intro h1,
body.ad-theme .ad-split-section h2 {
	margin: 12px 0 0;
}

body.ad-theme .ad-split-intro .rule,
body.ad-theme .ad-split-section--dark .rule {
	background: #fff;
}

body.ad-theme .ad-split-lead {
	max-width: 40rem;
	margin: 28px 0 0;
	color: #e7e7e1;
	font-size: 18px;
	line-height: 1.6;
}

body.ad-theme .ad-split-columns {
	display: flex;
	align-items: center;
	gap: clamp(28px, 4vw, 72px);
	margin: 0;
}

body.ad-theme .ad-split-columns > .wp-block-column {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
}

body.ad-theme .ad-split-section p {
	margin: 0 0 16px;
	font-size: 17px;
	line-height: 1.65;
}

body.ad-theme .ad-split-section p:last-child {
	margin-bottom: 0;
}

body.ad-theme .ad-split-section--dark p {
	color: #e7e7e1;
}

body.ad-theme .ad-split-section a {
	color: inherit;
	text-decoration-line: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

body.ad-theme .ad-split-section a:hover,
body.ad-theme .ad-split-section a:focus-visible {
	color: var(--ad-ral-2004);
}

body.ad-theme .ad-split-section .wp-block-image {
	margin: 0;
}

body.ad-theme .ad-split-section .wp-block-image img {
	width: 100%;
	height: clamp(280px, 34vw, 520px);
	object-fit: cover;
}

body.ad-theme .ad-split-section .projet-lightbox__trigger {
	display: block;
	cursor: zoom-in;
	line-height: 0;
}

body.ad-theme .ad-split-section .projet-lightbox__trigger:focus-visible {
	outline: 2px solid var(--ad-ral-2004);
	outline-offset: 4px;
}

@media (max-width: 781px) {
	body.ad-theme .ad-split-columns {
		flex-direction: column;
		align-items: stretch;
	}

	body.ad-theme .ad-split-columns > .wp-block-column {
		flex-basis: auto;
		width: 100%;
	}
}

/* Smartphone header: fit the complete logo, including its red accent. */
@media (max-width: 600px) {
  body.ad-theme .site-header .logo-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  body.ad-theme .site-header .logo-mark {
    --logo-mark-h: calc((100vw - 72px) / 7.1);
    --logo-motif-gap: 24px;
    max-width: 100%;
    flex-shrink: 0;
  }
}

/* Explicit label alongside the mobile menu icon. */
body.ad-theme .main-nav__toggle-label {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1;
  margin-right: 12px;
}
