/* ==========================================================================
   AlcadWorks — theme styles
   Colors and fonts come from theme.json (Apparence > Éditeur > Styles).
   ========================================================================== */

:root {
	--aw-accent: var(--wp--preset--color--accent);
	--aw-accent-strong: var(--wp--preset--color--accent-strong);
	--aw-black: var(--wp--preset--color--contrast);
	--aw-dark: var(--wp--preset--color--dark);
	--aw-white: var(--wp--preset--color--base);
	--aw-surface: var(--wp--preset--color--surface);
	--aw-muted: var(--wp--preset--color--muted);
	--aw-line: rgba(10, 10, 10, 0.12);
	--aw-line-dark: rgba(255, 255, 255, 0.12);
	--aw-heading: var(--wp--preset--font-family--heading);
	--aw-section-y: clamp(4rem, 9vw, 7.5rem);
	/* Faint engineering grid, shown behind dark panels until a photo is added */
	--aw-grid-bg:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 44px 44px,
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 44px 44px,
		radial-gradient(120% 90% at 85% 10%, #2a2a2a 0%, var(--aw-dark) 55%, var(--aw-black) 100%);
}

/* Sections sit flush against each other (no white gaps). */
.wp-site-blocks > *,
.aw-site-header > *,
.aw-main > *,
.wp-block-post-content > .alignfull,
.wp-block-post-content > .alignfull + * {
	margin-block-start: 0;
}
.wp-block-post-content > .alignfull { margin-block-end: 0; }

::selection { background: var(--aw-accent-strong); color: var(--aw-white); }

a { text-underline-offset: 0.18em; }

h1 mark, h2 mark, h3 mark {
	background: transparent;
	color: var(--aw-accent);
}

/* ---------- Shared building blocks ---------- */

.aw-eyebrow {
	font-family: var(--aw-heading);
	font-weight: 700;
	font-size: 0.9375rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
}
.aw-eyebrow::before {
	content: "";
	display: inline-block;
	width: 2rem;
	height: 3px;
	margin-right: 0.75rem;
	vertical-align: middle;
	background: var(--aw-accent);
}
.aw-dark .aw-eyebrow,
.wp-block-cover .aw-eyebrow,
.aw-page-hero .aw-eyebrow { color: var(--aw-accent); }
.aw-eyebrow a { color: inherit; text-decoration: none; }
.aw-eyebrow a:hover { color: var(--aw-white); }

.aw-lead {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.6;
	max-width: 46rem;
}
.has-text-align-center.aw-lead { margin-inline: auto; }

.aw-section { padding-block: var(--aw-section-y); }
/* Two plain white sections in a row: no double spacing between them */
.aw-section:not(.aw-surface):not(.aw-dark) + .aw-section:not(.aw-surface):not(.aw-dark) { padding-top: 0; }
.aw-section-tight { padding-block: clamp(1rem, 2vw, 1.5rem); }
.aw-surface { background: var(--aw-surface); }
.aw-dark { background: var(--aw-black); color: var(--aw-white); }
.aw-mt { margin-top: clamp(3rem, 6vw, 4.5rem) !important; }

.aw-section-head { margin-bottom: clamp(2rem, 4vw, 3rem); gap: 1.5rem; }
.aw-section-head h2 { margin: 0; }

/* Buttons */
.wp-element-button,
.wp-block-button__link {
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background: var(--aw-black);
	color: var(--aw-white);
}
.aw-dark .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.wp-block-cover .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.aw-contact-card .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background: var(--aw-white);
	color: var(--aw-black);
}
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: inherit;
	border: 2px solid currentColor;
	padding: calc(0.95em - 2px) calc(1.8em - 2px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--aw-accent-strong);
	border-color: var(--aw-accent-strong);
	color: var(--aw-white);
}

/* Dark panels (covers) get the grid background until a photo is set */
.aw-hero,
.aw-tile,
.aw-media,
.aw-page-hero {
	background: var(--aw-grid-bg);
}

/* ---------- Announcement bar + header ---------- */

.aw-announce {
	background: var(--aw-accent-strong);
	color: var(--aw-white);
	font-family: var(--aw-heading);
	font-weight: 700;
	font-size: 0.875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding-block: 0.55rem;
}
.aw-announce p { margin: 0; }
.aw-announce a { color: inherit; }

@media (min-width: 782px) {
	header.aw-site-header {
		position: sticky;
		top: 0;
		z-index: 100;
	}
	.admin-bar header.aw-site-header { top: var(--wp-admin--admin-bar--height, 32px); }
}

.aw-header {
	background: var(--aw-black);
	color: var(--aw-white);
	padding-block: 1rem;
	border-bottom: 1px solid var(--aw-line-dark);
}
.aw-header-inner { gap: 2rem; }
.aw-brand { gap: 0.75rem; }
.aw-brand .wp-block-site-title,
.aw-footer .wp-block-site-title {
	font-family: var(--aw-heading);
	font-weight: 800;
	font-size: 1.75rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	margin: 0;
}
.aw-brand .wp-block-site-title a,
.aw-footer .wp-block-site-title a { text-decoration: none; color: inherit; }
/* Once a logo is uploaded, the text title hides itself */
.aw-brand:has(.wp-block-site-logo img) .wp-block-site-title,
.aw-footer .wp-block-column:has(.wp-block-site-logo img) .wp-block-site-title { display: none; }

.aw-nav { margin-left: auto; }
.aw-nav .wp-block-navigation__container { gap: 1.75rem; }
.aw-nav .wp-block-navigation-item__content {
	font-family: var(--aw-heading);
	font-weight: 600;
	font-size: 1.0625rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
}
.aw-nav .wp-block-navigation-item__content:hover { color: var(--aw-accent); }

.aw-header .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	background: var(--aw-dark);
	color: var(--aw-white);
	border: 0;
	border-top: 3px solid var(--aw-accent);
	padding-block: 0.5rem;
	min-width: 250px;
}
.aw-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.6rem 1.25rem;
}
.aw-header .wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--aw-black);
	color: var(--aw-white);
	padding: 2rem 1.5rem;
}
.aw-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-size: 1.5rem;
}
.aw-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	border-top: 0;
	background: transparent;
	padding-left: 1rem;
}
.aw-header-cta .wp-block-button__link { padding: 0.75em 1.4em; font-size: 0.9375rem; }
.aw-brand .wp-block-site-logo img { height: auto; }

@media (max-width: 781px) {
	.aw-brand .wp-block-site-logo img { width: 170px !important; }
}

@media (max-width: 1100px) {
	.aw-header-cta { display: none !important; }
}

/* ---------- Hero ---------- */

.aw-hero .wp-block-cover__inner-container {
	width: 100% !important;
	padding-block: clamp(4rem, 10vw, 7rem);
}
.aw-hero-content > * { max-width: 56rem; }
.aw-hero-title {
	font-size: clamp(3.25rem, 10vw, 8.75rem) !important;
	line-height: 0.88 !important;
	letter-spacing: -0.005em;
	margin-block: 0.25rem 1.75rem;
}
.aw-hero .aw-lead { color: rgba(255, 255, 255, 0.82); }
.aw-hero .wp-block-buttons { margin-top: 2.25rem; gap: 0.75rem; }

/* ---------- Homepage slider (assets/js/slider.js) ---------- */

/* Darker on the left, where the text is */
.aw-slide .wp-block-cover__background {
	background: linear-gradient(90deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.68) 45%, rgba(10, 10, 10, 0.2) 100%) !important;
	opacity: 1 !important;
}
@media (max-width: 781px) {
	.aw-slide .wp-block-cover__background {
		background: linear-gradient(180deg, rgba(10, 10, 10, 0.45) 0%, rgba(10, 10, 10, 0.88) 65%) !important;
	}
}

/* On the site only: slides side by side, one visible at a time */
body:not(.editor-styles-wrapper) .aw-slider {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
body:not(.editor-styles-wrapper) .aw-slider::-webkit-scrollbar { display: none; }
body:not(.editor-styles-wrapper) .aw-slider > .wp-block-cover {
	flex: 0 0 100%;
	scroll-snap-align: start;
	margin: 0 !important;
}
.aw-slider-wrap { position: relative; }

/* Text of the active slide slides in */
.aw-slider.is-ready .aw-slide .aw-hero-content > * {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.aw-slider.is-ready .aw-slide.is-active .aw-hero-content > * { opacity: 1; transform: none; }
.aw-slider.is-ready .aw-slide.is-active .aw-hero-content > :nth-child(2) { transition-delay: 0.08s; }
.aw-slider.is-ready .aw-slide.is-active .aw-hero-content > :nth-child(3) { transition-delay: 0.16s; }
.aw-slider.is-ready .aw-slide.is-active .aw-hero-content > :nth-child(4) { transition-delay: 0.24s; }

/* Arrows, markers and counter at the bottom of the slider */
.aw-slider-nav {
	position: absolute;
	left: 0;
	right: 0;
	bottom: clamp(1.25rem, 4vw, 2.5rem);
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 1rem;
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
	padding-inline: var(--wp--style--root--padding-left);
	box-sizing: content-box;
	color: var(--aw-white);
}
.aw-slider-dots { display: flex; gap: 0.5rem; flex: 1; }
.aw-slider-dot {
	position: relative;
	width: clamp(2rem, 5vw, 3.5rem);
	height: 4px;
	padding: 0;
	border: 0;
	background: rgba(255, 255, 255, 0.3);
	cursor: pointer;
	overflow: hidden;
}
.aw-slider-dot::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--aw-accent);
	transform: scaleX(0);
	transform-origin: left;
}
.aw-slider-dot.is-active::after { transform: scaleX(1); }
/* While playing, the active marker fills up until the next slide */
@keyframes aw-slide-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.aw-slider-wrap.is-playing .aw-slider-dot.is-active::after { animation: aw-slide-progress var(--aw-slide-delay, 6.5s) linear; }
.aw-slider-count {
	font-family: var(--aw-heading);
	font-weight: 700;
	letter-spacing: 0.12em;
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.75);
}
.aw-slider-arrow {
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	border: 2px solid rgba(255, 255, 255, 0.6);
	background: transparent;
	color: var(--aw-white);
	font-size: 1.25rem;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s;
}
.aw-slider-arrow:hover, .aw-slider-arrow:focus-visible { background: var(--aw-accent-strong); border-color: var(--aw-accent-strong); }
.aw-slider .aw-hero .wp-block-cover__inner-container { padding-bottom: clamp(6rem, 12vw, 8rem); }
/* Computers: the whole slide (title, text, buttons, markers) fits in one screen under the header,
   so spacing and title size also follow the screen height. */
@media (min-width: 782px) {
	.aw-slider .aw-hero { padding-block: 0 !important; }
	.aw-slider .aw-hero .wp-block-cover__inner-container { padding-block: clamp(2rem, 6vh, 7rem) clamp(5rem, 11vh, 8rem); }
	.aw-slider .aw-hero-title { font-size: clamp(3rem, min(10vw, 9.5vh), 8.75rem) !important; margin-block: 0.25rem clamp(0.75rem, 2.5vh, 1.75rem); }
	.aw-slider .aw-hero .wp-block-buttons { margin-top: clamp(1rem, 3vh, 2.25rem); }
	.aw-slider .aw-brand-logo { margin-bottom: clamp(0.75rem, 2vh, 1.5rem) !important; }
}
@media (max-width: 600px) {
	.aw-slider-arrow { display: none; }
}

/* Slide with staged machine photos on the right (Hyundai WIA slide) */
.aw-slide-has-machines .wp-block-cover__background {
	background: linear-gradient(90deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.8) 50%, rgba(10, 10, 10, 0.62) 100%) !important;
}
/* !important: in the editor every block also gets "position: relative", which would put the
   machines back under the text instead of on the right of the slide. */
.aw-slide-has-machines .wp-block-cover__inner-container { position: static !important; }
/* ...which also drops the text under the dark overlay once its slide-in animation ends: keep it on top. */
.aw-slide-has-machines .aw-hero-content { position: relative; z-index: 2; }
.aw-slide-has-machines .aw-slide-machines {
	/* How far the machines sit right of the content edge (bigger = further right) */
	--aw-machines-shift: 6vw;
	position: absolute !important;
	right: max(0px, calc(max(var(--wp--style--root--padding-right), (100% - var(--wp--style--global--wide-size)) / 2) - var(--aw-machines-shift)));
	top: 50%;
	width: min(46%, 680px);
	aspect-ratio: 5 / 4;
	transform: translateY(-46%);
	margin: 0 !important;
	pointer-events: none;
	z-index: 1;
}
.aw-slide-machines .wp-block-image { position: absolute !important; margin: 0 !important; }
.aw-slide-machines img { width: 100%; height: auto; display: block; }
/* back (small, top right) → middle → front (largest, bottom left) */
/* Positions chosen in the editor (Styles: Machine — arrière / milieu / avant) */
.aw-slide-machines .is-style-aw-machine-back { width: 44%; right: 0; top: 0; z-index: 1; filter: brightness(0.72) drop-shadow(0 18px 24px rgba(0, 0, 0, 0.55)); }
.aw-slide-machines .is-style-aw-machine-middle { width: 52%; right: 26%; top: 8%; z-index: 2; filter: brightness(0.86) drop-shadow(0 22px 30px rgba(0, 0, 0, 0.6)); }
.aw-slide-machines .is-style-aw-machine-front { width: 78%; right: 6%; bottom: 0; z-index: 3; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.7)); }
.aw-slide-has-machines .aw-hero-content > * { max-width: min(56rem, 50vw); }
@media (max-width: 1000px) {
	/* Hidden on small screens on the site; always visible in the editor so they can be edited */
	body:not(.editor-styles-wrapper) .aw-slide-machines { display: none; }
	.aw-slide-has-machines .aw-hero-content > * { max-width: 56rem; }
}
/* The machines come in one after the other when the slide appears */
@media (prefers-reduced-motion: no-preference) {
	.aw-slider.is-ready .aw-slide-machines .wp-block-image { opacity: 0; translate: 60px 0; transition: opacity 0.8s ease, translate 1s cubic-bezier(0.2, 0.7, 0.2, 1); }
	.aw-slider.is-ready .aw-slide.is-active .aw-slide-machines .wp-block-image { opacity: 1; translate: 0 0; }
	.aw-slider.is-ready .aw-slide.is-active .aw-slide-machines .is-style-aw-machine-back { transition-delay: 0.15s; }
	.aw-slider.is-ready .aw-slide.is-active .aw-slide-machines .is-style-aw-machine-middle { transition-delay: 0.3s; }
	.aw-slider.is-ready .aw-slide.is-active .aw-slide-machines .is-style-aw-machine-front { transition-delay: 0.45s; }
}

/* Slow zoom on the photo of the slide being shown */
@media (prefers-reduced-motion: no-preference) {
	.aw-slider.is-ready .aw-slide .wp-block-cover__image-background { transform: scale(1.08); transition: transform 7s ease-out; }
	.aw-slider.is-ready .aw-slide.is-active .wp-block-cover__image-background { transform: scale(1); }
}

/* ---------- Scroll effects (assets/js/scroll.js) ---------- */

/* Reading progress bar */
.aw-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 1000;
	background: var(--aw-accent);
	transform: scaleX(0);
	transform-origin: left;
	pointer-events: none;
}
.admin-bar .aw-progress { top: var(--wp-admin--admin-bar--height, 32px); }

/* Compact header once the page is scrolled (desktop, where the header is sticky) */
@media (min-width: 782px) {
	.aw-announce { max-height: 4rem; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
	.aw-scrolled .aw-announce { max-height: 0; padding-block: 0; }
	.aw-header { transition: padding 0.3s ease, box-shadow 0.3s ease; }
	.aw-scrolled .aw-header { padding-block: 0.55rem; box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6); }
	.aw-brand .wp-block-site-logo img { transition: width 0.3s ease; }
	.aw-scrolled .aw-brand .wp-block-site-logo img { width: 190px !important; }
}

/* Reveal on scroll: only elements marked by the script are hidden, so the page reads fine without it */
@media (prefers-reduced-motion: no-preference) {
	/* "html" makes these win over the components' own transitions; hover effects keep working */
	html .aw-reveal {
		opacity: 0;
		transform: translateY(36px);
		transition:
			opacity 0.7s ease var(--aw-delay, 0ms),
			transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--aw-delay, 0ms),
			box-shadow 0.3s ease,
			border-color 0.2s ease;
	}
	html .aw-reveal.aw-reveal-left { transform: translateX(-48px); }
	html .aw-reveal.aw-reveal-right { transform: translateX(48px); }
	html .aw-reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Intro ---------- */

.aw-intro h2 { max-width: 20ch; margin-inline: auto; }
.aw-intro .aw-lead { color: var(--aw-muted); }
/* Mission text sits close to the tiles below it */
.aw-intro:has(+ .aw-section-tight) { padding-bottom: clamp(2rem, 4vw, 3rem); }
.aw-intro + .aw-section-tight { padding-bottom: clamp(3rem, 6vw, 4.5rem); }

/* ---------- Tiles ---------- */

.aw-grid-3, .aw-grid-4 { gap: clamp(0.75rem, 1.5vw, 1.25rem); }

.aw-tile {
	overflow: hidden;
	color: var(--aw-white);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	transition: box-shadow 0.3s;
}
.aw-tile .wp-block-cover__image-background {
	transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
/* Tiles with a photo: the photo shows at the top, darker towards the title at the bottom */
.aw-tile:has(.wp-block-cover__image-background) .wp-block-cover__background {
	background: linear-gradient(180deg, rgba(10, 10, 10, 0.1) 0%, rgba(10, 10, 10, 0.5) 42%, rgba(10, 10, 10, 0.95) 85%) !important;
	opacity: 1 !important;
	transition: background-color 0.3s;
}
.aw-tile:has(.wp-block-cover__image-background):hover .wp-block-cover__background { background-color: rgba(10, 10, 10, 0.15) !important; }
.aw-tile .aw-tile-brand, .aw-tile .aw-eyebrow { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.85); }
.aw-tile h3 { text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5); }
.aw-tile:hover .wp-block-cover__image-background { transform: scale(1.06); }
.aw-tile:hover { box-shadow: inset 0 -5px 0 var(--aw-accent); }
.aw-tile h3 { margin: 0; font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.aw-tile-lg h3 { font-size: clamp(2.25rem, 3.6vw, 3rem); }
.aw-tile h3 a { text-decoration: none; color: inherit; }
.aw-tile h3 a::after {
	content: "→";
	color: var(--aw-accent);
	display: inline-block;
	margin-left: 0.3em;
	transition: transform 0.25s;
}
.aw-tile:hover h3 a::after { transform: translateX(6px); }
.aw-tile p { margin-block: 0.4rem 0; color: rgba(255, 255, 255, 0.78); }
.aw-tile .aw-eyebrow { margin-bottom: 0.5rem; }
.aw-tile-brand {
	font-family: var(--aw-heading);
	font-weight: 600;
	font-size: 0.875rem !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--aw-accent) !important;
	margin-bottom: 0.35rem !important;
}

/* On the live site the whole tile is clickable (not inside the editor). */
body:not(.editor-styles-wrapper) .aw-tile .wp-block-cover__inner-container > * { position: relative; z-index: 2; }
/* The title link's invisible layer spreads past the title and is cut to the tile's edges. */
body:not(.editor-styles-wrapper) .aw-tile { overflow: hidden; }
body:not(.editor-styles-wrapper) .aw-tile h3 a::before {
	content: "";
	position: absolute;
	inset: -100vmax;
	z-index: 3;
}

/* Photo placeholders */
.aw-media { min-height: 420px; }
.aw-media-hint {
	font-family: var(--aw-heading);
	font-size: 0.875rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.4);
	border: 1px dashed rgba(255, 255, 255, 0.25);
	padding: 0.75rem 1rem;
	display: inline-block;
}
.aw-media .wp-block-cover__inner-container { text-align: center; }

/* ---------- Stats ---------- */

.aw-stats { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: var(--aw-grid-bg); }
.aw-stats > .wp-block-group { gap: 2rem; }
/* Key figures and trust row: always spread over the full width (4 → 2 columns) */
.aw-stats > .wp-block-group.is-layout-grid,
.aw-trust > .wp-block-group.is-layout-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
	.aw-stats > .wp-block-group.is-layout-grid,
	.aw-trust > .wp-block-group.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
}
@media (max-width: 420px) {
	.aw-trust > .wp-block-group.is-layout-grid { grid-template-columns: minmax(0, 1fr); }
}
.aw-stat { border-left: 3px solid var(--aw-accent); padding-left: 1.25rem; }
.aw-stat-num {
	font-family: var(--aw-heading);
	font-weight: 800;
	font-size: clamp(3.5rem, 7vw, 5.75rem);
	line-height: 0.9;
	color: var(--aw-accent);
	margin: 0;
}
.aw-stat-label {
	margin: 0.6rem 0 0;
	font-family: var(--aw-heading);
	font-weight: 600;
	font-size: 1.125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
}

/* ---------- Split sections (value, feature) ---------- */

.aw-split { gap: clamp(2rem, 6vw, 5.5rem) !important; }
.aw-features { gap: 2rem 2.5rem; margin-block: 2.5rem; }
.aw-feature { border-top: 1px solid var(--aw-line); padding-top: 1.25rem; }
.aw-feature h4 { margin: 0.25rem 0 0.5rem; }
.aw-feature p:last-child { margin: 0; color: var(--aw-muted); }
.aw-num {
	font-family: var(--aw-heading);
	font-weight: 800;
	font-size: 1rem;
	letter-spacing: 0.12em;
	color: var(--aw-black);
	margin: 0;
}
.aw-num::after {
	content: "";
	display: inline-block;
	width: 0.5rem;
	height: 0.5rem;
	margin-left: 0.5rem;
	background: var(--aw-accent);
}

.aw-feature-banner .aw-lead { color: rgba(255, 255, 255, 0.78); }
.aw-feature-banner .wp-block-buttons { margin-top: 2rem; gap: 0.75rem; }

/* ---------- Partners / clients ---------- */

.aw-logo-row { gap: 0.75rem !important; margin-top: 1.5rem; }
.aw-logo-chip {
	margin: 0;
	padding: 1rem 1.75rem;
	border: 1px solid var(--aw-line);
	font-family: var(--aw-heading);
	font-weight: 800;
	font-size: clamp(1.125rem, 1.8vw, 1.5rem);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--aw-muted);
	transition: color 0.2s, border-color 0.2s;
}
.aw-logo-chip:hover { color: var(--aw-black); border-color: var(--aw-black); }
.aw-clients .aw-logo-chip { font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 700; }
.aw-partners .wp-block-buttons { margin-top: 3rem; }

/* Logo walls (brands, clients): white tiles, logos in grey until hovered */
.aw-logo-wall { gap: 0.75rem !important; margin-top: 1.5rem; }
.aw-logo-wall .wp-block-image {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	aspect-ratio: 3 / 2;
	padding: 1.1rem 1.4rem;
	background: var(--aw-white);
	border: 1px solid var(--aw-line);
	transition: border-color 0.2s, box-shadow 0.2s;
}
.aw-logo-wall .wp-block-image img {
	width: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.85;
	transition: filter 0.25s, opacity 0.25s;
}
.aw-logo-wall .wp-block-image:hover { border-color: var(--aw-black); box-shadow: inset 0 -3px 0 var(--aw-accent); }
.aw-logo-wall .wp-block-image:hover img { filter: none; opacity: 1; }
.aw-brand-wall .wp-block-image { aspect-ratio: 2 / 1; }
@media (hover: none) {
	.aw-logo-wall .wp-block-image img { filter: none; opacity: 1; }
}
/* Phones: 3 logos per row, and shorter photo tiles so the page scrolls less */
@media (max-width: 600px) {
	.aw-logo-wall.is-layout-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem !important; }
	.aw-logo-wall .wp-block-image { padding: 0.6rem 0.7rem; }
	.aw-tile:not(.aw-tile-lg) { min-height: 210px !important; }
}

/* ---------- FAQ + contact ---------- */

.aw-faq { gap: clamp(2rem, 6vw, 5rem) !important; }
.aw-faq h2 { margin-bottom: 2rem; }
.aw-q {
	border-top: 1px solid var(--aw-line);
	padding-block: 1.25rem;
	margin: 0 !important;
}
.aw-q:last-of-type { border-bottom: 1px solid var(--aw-line); }
.aw-q summary {
	list-style: none;
	cursor: pointer;
	position: relative;
	padding-right: 2.5rem;
	font-family: var(--aw-heading);
	font-weight: 700;
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	text-transform: uppercase;
	letter-spacing: 0.01em;
}
.aw-q summary::-webkit-details-marker { display: none; }
.aw-q summary::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	font-size: 2rem;
	font-weight: 500;
	line-height: 1;
	color: var(--aw-black);
	transition: transform 0.25s;
}
.aw-q[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.aw-q p { color: var(--aw-muted); max-width: 42rem; margin-top: 0.75rem; }

.aw-contact-card {
	position: sticky;
	top: 8rem;
	background: var(--aw-black);
	color: var(--aw-white);
	padding: clamp(2rem, 4vw, 3rem);
	border-top: 5px solid var(--aw-accent);
}
.aw-contact-card h3 { margin-top: 0; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.aw-contact-card p { color: rgba(255, 255, 255, 0.75); }
.aw-contact-line {
	font-family: var(--aw-heading);
	font-weight: 700;
	font-size: clamp(1.375rem, 2.2vw, 1.75rem);
	margin: 0.25rem 0 !important;
}
.aw-contact-line a { color: var(--aw-white); text-decoration: none; }
.aw-contact-line a:hover { color: var(--aw-accent); }
.aw-contact-card .wp-block-buttons { margin-top: 1.75rem; }

/* ---------- Trust row ---------- */

.aw-trust { padding-block: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--aw-line); }
.aw-trust > .wp-block-group { gap: 2rem; }
.aw-trust-item h4 { margin: 0 0 0.25rem; font-size: 1.25rem; }
.aw-trust-item h4::before {
	content: "";
	display: inline-block;
	width: 0.6rem;
	height: 0.6rem;
	margin-right: 0.6rem;
	background: var(--aw-accent);
	vertical-align: 0.15em;
}
.aw-trust-item p { margin: 0; color: var(--aw-muted); font-size: 0.9375rem; }

/* ---------- Inner pages ---------- */

.aw-page-hero {
	color: var(--aw-white);
	padding-block: clamp(4rem, 10vw, 7.5rem) clamp(3rem, 7vw, 5rem);
	border-bottom: 5px solid var(--aw-accent);
}
.aw-page-hero h1 { margin: 0; font-size: clamp(3rem, 8vw, 6.5rem); }
.aw-page-hero .aw-post-title { font-size: clamp(2.25rem, 5vw, 4.25rem); max-width: 22ch; }
.aw-page-hero time { color: var(--aw-accent); }
/* Machine type page with a banner photo (e.g. Centres de tournage) */
.aw-page-hero.aw-has-banner {
	background:
		linear-gradient(90deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.72) 40%, rgba(10, 10, 10, 0.15) 100%),
		var(--aw-banner) center / cover no-repeat;
	padding-block: clamp(6rem, 13vw, 10rem) clamp(4rem, 9vw, 7rem);
}
@media (max-width: 781px) {
	.aw-page-hero.aw-has-banner {
		background:
			linear-gradient(180deg, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0.88) 70%),
			var(--aw-banner-mobile, var(--aw-banner)) center top / cover no-repeat;
		padding-top: clamp(12rem, 55vw, 18rem);
	}
}

/* Banner that is a cut-out machine (transparent background): uncropped, on the right, over the dark grid */
.aw-page-hero.aw-has-banner.aw-banner-cutout {
	background:
		var(--aw-banner) right max(var(--wp--style--root--padding-right), calc((100% - var(--wp--style--global--wide-size)) / 2)) center / min(54%, 760px) auto no-repeat,
		var(--aw-grid-bg);
	min-height: clamp(380px, 34vw, 520px);
}
.aw-banner-cutout .alignwide > * { max-width: min(36rem, 46%); }
@media (max-width: 1000px) {
	.aw-page-hero.aw-has-banner.aw-banner-cutout {
		background:
			var(--aw-banner) center bottom 1.5rem / min(92%, 560px) auto no-repeat,
			var(--aw-grid-bg);
		padding-bottom: clamp(14rem, 52vw, 20rem);
		min-height: 0;
	}
	.aw-banner-cutout .alignwide > * { max-width: none; }
}

/* Wide action photo at the top of a machine page */
.wp-block-image.aw-action-band { margin-bottom: 0; }
.aw-machine-content .wp-block-post-content > .aw-action-band:first-child { margin-top: calc(-1 * clamp(3rem, 7vw, 5.5rem)); }
.wp-block-image.aw-action-band img {
	display: block;
	width: 100%;
	height: clamp(260px, 40vw, 620px);
	object-fit: cover;
}

.aw-page-content { padding-block: clamp(3rem, 7vw, 5.5rem); }
.aw-page-content > .wp-block-post-content > .alignfull:first-child,
.wp-block-post-content.aw-page-content > .alignfull:first-child { margin-top: calc(-1 * clamp(3rem, 7vw, 5.5rem)); }
.wp-block-post-content.aw-page-content > .alignfull:last-child { margin-bottom: calc(-1 * clamp(3rem, 7vw, 5.5rem)); }

.aw-post-grid { gap: 2.5rem 1.5rem; }
.aw-post-grid .wp-block-post-title { font-size: 1.625rem; margin-top: 0.25rem; }
.wp-block-post-title a { color: inherit; text-decoration: none; }
.wp-block-post-title a:hover { text-decoration: underline; text-decoration-color: var(--aw-accent); }
.aw-post-grid .wp-block-post-featured-image { margin-bottom: 1rem; background: var(--aw-grid-bg); }

.aw-cards { gap: clamp(0.75rem, 1.5vw, 1.25rem); }
.aw-card {
	background: var(--aw-white);
	border: 1px solid var(--aw-line);
	border-top: 4px solid var(--aw-black);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	transition: border-color 0.2s, transform 0.2s;
}
.aw-card:hover { border-top-color: var(--aw-accent); transform: translateY(-3px); }
.aw-card h3 { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.aw-card .aw-tile-brand { color: var(--aw-muted) !important; }
.aw-card p:last-child, .aw-card ul:last-child { margin-bottom: 0; }
.aw-card ul { padding-left: 1.1rem; color: var(--aw-muted); }

.aw-cta-band { border-top: 5px solid var(--aw-accent); }
.aw-cta-band .aw-lead { color: rgba(255, 255, 255, 0.78); }
.aw-cta-band .wp-block-buttons { gap: 0.75rem; }



/* ---------- Machines catalog ---------- */

/* Step 1: /machines/ — one big tile per machine type */
.aw-type-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr));
	gap: clamp(0.75rem, 1.5vw, 1.25rem);
}
.aw-type-tile {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	align-items: center;
	min-height: 300px;
	background: var(--aw-white);
	border: 1px solid var(--aw-line);
	color: var(--aw-black);
	text-decoration: none;
	overflow: hidden;
	transition: transform 0.25s, box-shadow 0.25s;
}
.aw-type-tile:hover {
	transform: translateY(-4px);
	box-shadow: inset 0 -5px 0 var(--aw-accent), 0 24px 50px -28px rgba(0, 0, 0, 0.4);
}
.aw-type-img {
	align-self: stretch;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	background: radial-gradient(80% 80% at 50% 55%, #fff 0%, var(--aw-surface) 100%);
}
.aw-type-img img { width: 100%; height: 100%; max-height: 260px; object-fit: contain; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.aw-type-tile:hover .aw-type-img img { transform: scale(1.05); }
.aw-type-body { padding: clamp(1.5rem, 3vw, 2.25rem); }
.aw-type-body { min-width: 0; }
.aw-type-body h2 { margin: 0.25rem 0 0.75rem; font-size: clamp(1.75rem, 2.6vw, 2.5rem); overflow-wrap: anywhere; hyphens: auto; }
.aw-type-count {
	margin: 0;
	font-family: var(--aw-heading);
	font-weight: 700;
	font-size: 0.9375rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--aw-accent-strong);
}
.aw-type-subs { margin: 0 0 1.25rem; font-size: 0.9375rem; line-height: 1.55; color: var(--aw-muted); }
.aw-type-cta {
	font-family: var(--aw-heading);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-bottom: 2px solid var(--aw-accent);
	padding-bottom: 0.15rem;
}
.aw-type-cta::after { content: " →"; color: var(--aw-accent); }
.aw-brand-links {
	margin: 2rem 0 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1.25rem;
	font-family: var(--aw-heading);
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.aw-brand-links span { color: var(--aw-muted); font-size: 0.875rem; letter-spacing: 0.14em; }
.aw-brand-links a { color: var(--aw-black); text-decoration: none; border-bottom: 2px solid transparent; }
.aw-brand-links a:hover { border-bottom-color: var(--aw-accent); }

@media (max-width: 600px) {
	.aw-type-tile { grid-template-columns: 1fr; }
	.aw-type-img { min-height: 200px; }
}

/* Step 2: a type page — filters, section links, groups of cards */
.aw-filterbar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 1rem 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--aw-line);
}
.aw-filter-tabs, .aw-filter-brands { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.aw-filter-tabs a, .aw-filter-brands a {
	display: inline-block;
	padding: 0.45rem 1rem;
	font-family: var(--aw-heading);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--aw-black);
	border: 1px solid transparent;
}
.aw-filter-tabs a { font-size: 1.0625rem; }
.aw-filter-tabs a:hover, .aw-filter-brands a:hover { border-color: var(--aw-black); }
.aw-filter-tabs a.is-active { background: var(--aw-black); color: var(--aw-white); }
.aw-filter-brands span {
	margin-right: 0.25rem;
	font-family: var(--aw-heading);
	font-weight: 700;
	font-size: 0.8125rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--aw-muted);
}
.aw-filter-brands a { font-size: 0.9375rem; padding: 0.3rem 0.75rem; border-color: var(--aw-line); background: var(--aw-white); }
.aw-filter-brands a.is-active { border-color: var(--aw-accent-strong); color: var(--aw-accent-strong); }

.aw-group-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin: 1.5rem 0 0;
	font-family: var(--aw-heading);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.aw-group-nav a { color: var(--aw-muted); text-decoration: none; }
.aw-group-nav a:hover { color: var(--aw-black); }
.aw-group-nav span {
	display: inline-block;
	min-width: 1.6em;
	margin-left: 0.2rem;
	padding: 0 0.35em;
	background: var(--aw-black);
	color: var(--aw-white);
	font-size: 0.8125rem;
	text-align: center;
}

.aw-group { margin-top: clamp(2.5rem, 5vw, 3.75rem); scroll-margin-top: 9rem; }
.aw-group-head { margin-bottom: 1.5rem; }
.aw-group-head h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.aw-group-head h2::before {
	content: "";
	display: block;
	width: 2.5rem;
	height: 4px;
	margin-bottom: 0.75rem;
	background: var(--aw-accent);
}
.aw-group-head p { margin: 0.4rem 0 0; color: var(--aw-muted); }

.aw-catalog { padding-block: clamp(2.5rem, 5vw, 4rem); }
.aw-machine-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr));
	gap: clamp(0.75rem, 1.5vw, 1.25rem);
}
.aw-machine-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--aw-white);
	border: 1px solid var(--aw-line);
	transition: transform 0.25s, box-shadow 0.25s;
}
.aw-machine-card:hover {
	transform: translateY(-4px);
	box-shadow: inset 0 -4px 0 var(--aw-accent), 0 18px 40px -24px rgba(0, 0, 0, 0.35);
}
.aw-machine-img {
	display: block;
	aspect-ratio: 4 / 3;
	margin: 0 !important;
	padding: 1.25rem;
	background: linear-gradient(180deg, #fff 0%, #f1f1ef 100%);
	border-bottom: 1px solid var(--aw-line);
}
.aw-machine-img { overflow: hidden; }
.aw-machine-img img { width: 100%; height: 100%; max-height: 100%; object-fit: contain; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.aw-machine-title a { color: var(--aw-black); text-decoration: none; }
.aw-machine-card:hover .aw-machine-title a { color: var(--aw-accent-strong); }
.aw-machine-body { flex: 1; display: flex; flex-direction: column; }
.aw-machine-body .aw-machine-brand { margin: 0; }
.aw-machine-type { font-size: 0.9375rem; line-height: 1.45; color: var(--aw-muted); }
.aw-keyspecs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
	margin: auto 0 0;
	padding-top: 0.9rem;
	border-top: 1px solid var(--aw-line);
}
.aw-keyspecs dt {
	font-family: var(--aw-heading);
	font-weight: 600;
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--aw-muted);
}
.aw-keyspecs dd {
	margin: 0.1rem 0 0;
	font-family: var(--aw-heading);
	font-weight: 700;
	font-size: 1.0625rem;
	line-height: 1.2;
	letter-spacing: 0.01em;
}
.aw-machine-card:hover .aw-machine-img img { transform: scale(1.04); }
.aw-machine-body { padding: 1rem 1.25rem 1.4rem; }
.aw-machine-brand {
	font-family: var(--aw-heading);
	font-weight: 700;
	font-size: 0.8125rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--aw-accent-strong);
}
.aw-machine-brand a { color: inherit; text-decoration: none; position: relative; z-index: 2; }
.aw-machine-title { margin: 0.2rem 0 0.35rem !important; font-size: 1.625rem !important; }
.aw-machine-title a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.aw-machine-type { margin: 0 0 1rem !important; }
.aw-pagination { margin-top: 3rem; gap: 0.5rem; font-family: var(--aw-heading); font-weight: 700; font-size: 1.125rem; text-transform: uppercase; }
.aw-pagination a, .aw-pagination .current { padding: 0.4rem 0.8rem; text-decoration: none; }
.aw-pagination .current { background: var(--aw-black); color: var(--aw-white); }

/* ---------- One machine ---------- */

.aw-machine-hero {
	background: var(--aw-surface);
	padding-block: clamp(1.5rem, 3vw, 2.25rem) clamp(3rem, 6vw, 5rem);
	border-bottom: 5px solid var(--aw-accent);
}
.aw-breadcrumb { margin: 0 0 1.5rem; font-family: var(--aw-heading); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.9375rem; }
.aw-breadcrumb a { text-decoration: none; color: var(--aw-muted); }
.aw-breadcrumb a:hover { color: var(--aw-black); }
.aw-machine-photo { margin: 0 !important; display: flex; align-items: center; justify-content: center; min-height: 320px; background: radial-gradient(70% 70% at 50% 55%, #fff 0%, rgba(255, 255, 255, 0) 70%); }
/* Never enlarge a photo beyond its real size (small source photos turn blurry when stretched). */
.aw-machine-photo img { width: auto !important; height: auto !important; max-width: 100%; aspect-ratio: auto !important; }
.aw-machine-hero .aw-eyebrow a { color: var(--aw-accent-strong); text-decoration: none; }
.aw-machine-name { font-size: clamp(3rem, 6vw, 5.5rem) !important; margin: 0.25rem 0 0.75rem; }
.aw-machine-hero .aw-lead p { margin: 0; color: var(--aw-muted); }
.aw-machine-tags { gap: 0.5rem !important; margin-block: 1.25rem 2rem; }
.aw-machine-tags .wp-block-post-terms { display: contents; font-size: 0; }
.aw-machine-tags a {
	display: inline-block;
	font-family: var(--aw-heading);
	font-weight: 600;
	font-size: 0.9375rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--aw-black);
	border: 1px solid var(--aw-line);
	background: var(--aw-white);
	padding: 0.35rem 0.8rem;
	margin: 0 0.5rem 0.5rem 0;
}
.aw-machine-tags a:hover { border-color: var(--aw-black); }
.aw-machine-hero .wp-block-buttons { gap: 0.75rem; }

.aw-machine-content h2 {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	margin-top: 3.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--aw-line);
}
.aw-machine-content h2::before {
	content: "";
	display: block;
	width: 2.5rem;
	height: 4px;
	background: var(--aw-accent);
	margin: -1.25rem 0 1rem;
	transform: translateY(-2px);
}

.aw-checklist { list-style: none; padding: 0; columns: 2 18rem; column-gap: 2.5rem; }
.aw-checklist li { break-inside: avoid; position: relative; padding: 0.45rem 0 0.45rem 1.6rem; border-bottom: 1px solid var(--aw-line); }
.aw-checklist li::before { content: ""; position: absolute; left: 0; top: 0.95rem; width: 0.6rem; height: 0.6rem; background: var(--aw-accent); }

.aw-specs table { border-collapse: collapse; width: 100%; font-size: 0.9375rem; }
.aw-specs td { border: 0; border-bottom: 1px solid var(--aw-line); padding: 0.75rem 1rem; vertical-align: top; }
.aw-specs tr:nth-child(odd) td { background: var(--aw-surface); }
.aw-specs td:first-child {
	width: 42%;
	font-family: var(--aw-heading);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.aw-specs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.aw-specs thead th {
	background: var(--aw-black);
	color: var(--aw-white);
	border: 0;
	padding: 0.85rem 1rem;
	text-align: left;
	white-space: nowrap;
	font-family: var(--aw-heading);
	font-weight: 700;
	font-size: 1.0625rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.aw-specs thead th:first-child { color: rgba(255, 255, 255, 0.6); font-size: 0.875rem; letter-spacing: 0.12em; }
.aw-compare table { width: 100%; }
.aw-machine-content .wp-block-post-content > h2 { max-width: var(--wp--style--global--wide-size) !important; }
.aw-compare td:first-child,
.aw-compare th:first-child {
	position: sticky;
	left: 0;
	z-index: 1;
	width: auto;
	min-width: 13rem;
	max-width: 18rem;
	box-shadow: 1px 0 0 var(--aw-line);
}
.aw-compare td:first-child { background: var(--aw-white); }
.aw-compare tr:nth-child(odd) td:first-child { background: var(--aw-surface); }
.aw-compare td:not(:first-child) { min-width: 8.5rem; }
.aw-machine-content .aw-specs { margin-top: 1.5rem; }

.aw-taglist { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.aw-taglist li { background: var(--aw-black); color: var(--aw-white); padding: 0.45rem 0.9rem; font-family: var(--aw-heading); font-weight: 600; letter-spacing: 0.04em; }

.aw-optionlist { padding-left: 1.1rem; columns: 2 18rem; column-gap: 2.5rem; color: var(--aw-muted); }
.aw-optionlist li { break-inside: avoid; padding: 0.2rem 0; }
.aw-note { font-size: 0.875rem; color: var(--aw-muted); font-style: italic; }

/* ---------- Solution pages (Logiciels, Enseignement, Impression 3D, Scanner 3D) ---------- */

.aw-rounded img { display: block; width: 100%; height: auto; }
.wp-block-image.aw-rounded { margin: 0; }

/* Product family / product cards with an image on top */
.aw-sol-grid, .aw-module-grid, .aw-aud-grid, .aw-cw-stats { gap: clamp(0.75rem, 1.5vw, 1.25rem) !important; }
.aw-sol-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--aw-white);
	border: 1px solid var(--aw-line);
	transition: transform 0.25s, box-shadow 0.25s;
}
.aw-sol-card:hover { transform: translateY(-4px); box-shadow: inset 0 -4px 0 var(--aw-accent), 0 18px 40px -24px rgba(0, 0, 0, 0.35); }
.aw-sol-card > .wp-block-image { margin: 0; overflow: hidden; }
.aw-sol-card > .wp-block-image img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.aw-sol-card:hover > .wp-block-image img { transform: scale(1.04); }
.aw-sol-body { padding: clamp(1.25rem, 2.5vw, 1.75rem); flex: 1; }
.aw-sol-body h3 { margin: 0.2rem 0 0.6rem; font-size: clamp(1.5rem, 2.2vw, 1.875rem); }
.aw-sol-body p { color: var(--aw-muted); }
.aw-chips { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.aw-chips li {
	padding: 0.25rem 0.6rem;
	border: 1px solid var(--aw-line);
	font-family: var(--aw-heading);
	font-weight: 600;
	font-size: 0.875rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

/* SOLIDWORKS product cards (Logiciels): badge, link at the bottom, whole card clickable */
.aw-sw-card { position: relative; border-radius: 16px; overflow: hidden; }
.aw-sw-card .aw-badge { border-radius: 6px; }
.aw-sw-card .aw-sol-body { display: flex; flex-direction: column; }
.aw-sw-card .aw-sol-body h3 { font-size: clamp(1.375rem, 1.9vw, 1.625rem); }
.aw-sw-card .aw-sol-body > p:not(.aw-card-link):not(.aw-sw-cat) { flex: 1; }
/* Red category label above each SOLIDWORKS product name */
.aw-sw-card .aw-sw-cat {
	margin: 0 0 0.15rem !important;
	font-family: var(--aw-heading);
	font-weight: 700;
	font-size: 0.9375rem !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--aw-accent-strong) !important;
}
.aw-sw-card .aw-sw-cat::before {
	content: "";
	display: inline-block;
	width: 1.25rem;
	height: 3px;
	margin-right: 0.5rem;
	vertical-align: middle;
	background: currentColor;
}
.aw-badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 2;
	margin: 0 !important;
	padding: 0.3rem 0.7rem;
	background: var(--aw-accent-strong);
	color: var(--aw-white);
	font-family: var(--aw-heading);
	font-weight: 700;
	font-size: 0.8125rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.aw-card-link { margin: 1rem 0 0 !important; }
.aw-card-link a {
	font-family: var(--aw-heading);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--aw-accent-strong);
}
.aw-card-link a::after { content: " →"; display: inline-block; transition: transform 0.25s; }
.aw-sw-card:hover .aw-card-link a::after, .aw-feature:hover .aw-card-link a::after { transform: translateX(5px); }
body:not(.editor-styles-wrapper) .aw-sw-card .aw-card-link a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
/* Tile title links to the product page; the whole tile is clickable */
.aw-sw-card h3 a { color: inherit; text-decoration: none; }
.aw-sw-card:has(h3 a) { cursor: pointer; }
.aw-sw-card:hover h3 a { color: var(--aw-accent-strong); }
body:not(.editor-styles-wrapper) .aw-sw-card h3 a::before { content: ""; position: absolute; inset: 0; z-index: 1; }

/* SOLIDWORKS product pages */
.aw-product-hero .aw-hero-lead p { margin: 0.75rem 0 0; color: rgba(255, 255, 255, 0.82); }
.aw-product-hero h1 { font-size: clamp(2.5rem, 6vw, 5rem) !important; }
.aw-matrix td:not(:first-child), .aw-matrix th:not(:first-child) { text-align: center; }
.aw-matrix td:not(:first-child) { color: var(--aw-muted); font-size: 1rem; }
.aw-matrix td strong { color: var(--aw-accent-strong); font-size: 1.25rem; }
/* Same stripe on every cell of a row, including the pinned first column (beats the generic table rules) */
.aw-specs.aw-matrix tbody tr:nth-child(odd) td { background: var(--aw-white); }
.aw-specs.aw-matrix tbody tr:nth-child(even) td { background: #f5f5f2; }
.aw-matrix-section .aw-note { max-width: var(--wp--style--global--wide-size) !important; }
.aw-sw-card .wp-block-image.aw-img-left img { object-position: 20% 50%; }
.aw-sw-card .wp-block-image.aw-img-right img { object-position: 85% 50%; }
.aw-services .aw-feature p:not(.aw-num):not(.aw-card-link) { color: var(--aw-muted); }
/* WordPress sizes grid columns with the default gap (1.5rem): a wider gap would push the 4th block to a new row */
.aw-features.aw-services { column-gap: 1.5rem !important; margin-block: 0; }
.aw-faq-list { max-width: 56rem; }

/* Products with a cut-out photo (printers) */
.aw-product-card > .wp-block-image img,
.aw-product-img img { aspect-ratio: 4 / 3 !important; object-fit: contain !important; padding: 1.25rem; background: linear-gradient(180deg, #fff 0%, #f1f1ef 100%); }
.aw-product-hero img { width: 100%; height: auto; }
.aw-speclist { list-style: none; padding: 0; margin: 1rem 0 0; border-top: 1px solid var(--aw-line); }
.aw-speclist li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--aw-line); font-size: 0.9375rem; }
.aw-speclist strong { font-family: var(--aw-heading); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.875rem; color: var(--aw-muted); }

/* CAMWorks (dark section) */
.aw-camworks .aw-section-head { margin-top: clamp(3rem, 6vw, 4.5rem); }
.aw-camworks .aw-lead { color: rgba(255, 255, 255, 0.78); }
.aw-camworks .wp-block-buttons { margin-top: 2rem; gap: 0.75rem; }
.aw-cw-stats { margin-top: clamp(2.5rem, 5vw, 3.5rem) !important; }
.aw-cw-stats .aw-stat-num { font-size: clamp(2.5rem, 4.5vw, 3.75rem); }
.aw-cw-stats .aw-stat-label { text-transform: none; letter-spacing: 0; font-family: var(--wp--preset--font-family--body); font-weight: 400; font-size: 1rem; }
.aw-cw-note { color: rgba(255, 255, 255, 0.45) !important; margin-top: 1rem !important; max-width: var(--wp--style--global--wide-size) !important; }
.aw-module-card {
	height: 100%;
	background: var(--aw-dark);
	border: 1px solid var(--aw-line-dark);
	padding: 0 0 1.5rem;
	transition: border-color 0.2s;
}
.aw-module-card:hover { border-color: var(--aw-accent); }
.aw-module-card .wp-block-image { margin: 0 0 1rem; background: var(--aw-white); display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; padding: 0.75rem; }
.aw-module-card .wp-block-image img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.aw-module-card h3, .aw-module-card p { padding-inline: 1.25rem; }
.aw-module-card h3 { margin: 0 0 0.5rem; font-size: 1.5rem; }
.aw-module-card p { margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 0.9375rem; }

/* Enseignement */
.aw-aud-card .aw-icon { margin: 0 0 0.5rem; }
.aw-aud-card .aw-icon img { width: 72px; height: 72px; }
.aw-aud-card h3 a { color: inherit; text-decoration: none; }
.aw-aud-card h3 a::after { content: " →"; color: var(--aw-accent); }
.aw-checklist-1 { columns: 1; }
section[id], .aw-sw-card[id] { scroll-margin-top: 8rem; }

/* Brands (Impression 3D) */
.aw-brand-card .aw-brand-logo { margin: 0 0 1rem; height: 64px; display: flex; align-items: center; }
.aw-brand-card .aw-brand-logo img { max-height: 64px; width: auto; }

/* Impression 3D: one section per brand */
.aw-brand-head .aw-brand-logo { margin: 0 0 1.25rem; }
.aw-brand-head .aw-brand-logo img { height: 44px; width: auto; }
.aw-brand-jump { font-size: 0.9375rem; color: var(--aw-muted); }
.aw-brand-jump a { font-family: var(--aw-heading); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--aw-accent-strong); text-decoration: none; }
.aw-printers-note { max-width: var(--wp--style--global--wide-size) !important; padding-block: 1.5rem; margin: 0 auto !important; }
.aw-product-card .aw-speclist li { align-items: baseline; }
.aw-product-card .aw-speclist li span, .aw-product-card .aw-speclist strong { flex-shrink: 0; }

/* Scanner rows */
.aw-product-rows > .aw-split + .aw-split { margin-top: clamp(3rem, 6vw, 5rem) !important; padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--aw-line); }
.aw-product-name { font-size: clamp(2rem, 3.6vw, 3rem) !important; margin: 0.25rem 0 0.75rem; }

/* Scanner 3D: family tiles, group titles, product page specs */
.aw-family-card { display: flex; flex-direction: column; }
.aw-family-card > p:not(.aw-card-link):not(.aw-tile-brand) { flex: 1; }
.aw-family-card h3 a { color: inherit; text-decoration: none; }
.aw-family-card:hover h3 a { color: var(--aw-accent-strong); }
.aw-group-title {
	margin: clamp(2.5rem, 5vw, 3.5rem) 0 1.25rem !important;
	padding-bottom: 0.6rem;
	border-bottom: 2px solid currentColor;
	font-size: clamp(1.5rem, 2.4vw, 2rem) !important;
}
.aw-section-head + .aw-group-title, .aw-section-head + * > .aw-group-title { margin-top: 0 !important; }
.aw-scanner-scene { margin: 1.75rem 0 !important; }
.aw-scanner-scene img { aspect-ratio: 16 / 9; object-fit: cover; }
/* Model photo beside the intro (cut-out product shot): soft panel, photo fitted inside. */
.aw-scanner-photo {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 5;
	max-height: 40rem;
	margin: 0 !important;
	padding: clamp(1.5rem, 4vw, 3rem);
	border-radius: 1rem;
	background: radial-gradient(ellipse at 50% 55%, #fff 0%, var(--aw-surface) 70%);
}
.aw-scanner-photo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 1.25rem 1.5rem rgba(15, 23, 42, 0.18));
}
@media (max-width: 781px) {
	.aw-scanner-photo { aspect-ratio: 1; max-height: 26rem; }
}
.aw-scanner-specs table { width: 100%; }
.aw-scanner-specs td:first-child {
	width: 38%;
	font-family: var(--aw-heading);
	font-weight: 700;
	font-size: 0.9375rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--aw-muted);
}
@media (max-width: 600px) {
	.aw-scanner-specs td { display: block; width: auto !important; border: 0; padding-block: 0.15rem; }
	.aw-scanner-specs td:first-child { padding-top: 0.75rem; }
	.aw-scanner-specs tr { display: block; border-bottom: 1px solid var(--aw-line); padding-bottom: 0.6rem; }
}

/* ---------- Footer ---------- */

.aw-footer {
	background: var(--aw-black);
	color: rgba(255, 255, 255, 0.7);
	padding-block: clamp(4rem, 8vw, 6rem) 2rem;
	font-size: 0.9375rem;
}
.aw-footer-cols { gap: clamp(2rem, 4vw, 4rem) !important; }
.aw-footer h4 {
	color: var(--aw-white);
	font-size: 1.125rem;
	letter-spacing: 0.1em;
	margin-bottom: 1rem;
}
.aw-footer .wp-block-site-title { color: var(--aw-white); }
.aw-footer-about { max-width: 26rem; }
.aw-footer-links { line-height: 2; }
.aw-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.aw-footer a:hover { color: var(--aw-accent); }
.aw-social { margin-top: 1.5rem; }
.aw-social .wp-social-link { color: var(--aw-white); }
.aw-footer-bottom {
	margin-top: clamp(3rem, 6vw, 4.5rem) !important;
	padding-top: 1.5rem;
	border-top: 1px solid var(--aw-line-dark);
	font-size: 0.8125rem;
	letter-spacing: 0.04em;
	gap: 0.5rem 2rem;
}
.aw-footer-bottom p { margin: 0; }

/* ---------- Small screens ---------- */

@media (max-width: 781px) {
	.aw-hero { min-height: 78vh !important; }
	.aw-media { min-height: 300px !important; }
	.aw-contact-card { position: static; }
	.aw-logo-chip { padding: 0.75rem 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
}

/* ---------- Contact page ---------- */
.aw-contact { gap: clamp(2rem, 5vw, 5rem); }
.aw-contact-info { display: flex; flex-direction: column; gap: clamp(0.75rem, 1.5vw, 1.25rem); }
.aw-contact-info > * { margin: 0 !important; }
.aw-contact-info a { color: inherit; text-decoration: none; }
.aw-contact-info a:hover { color: var(--aw-accent); }
.aw-contact-info .aw-card h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); overflow-wrap: anywhere; }

.aw-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}
.aw-form-grid .aw-form-full { grid-column: 1 / -1; }
@media (max-width: 640px) { .aw-form-grid { grid-template-columns: 1fr; } }
.wpcf7 label {
	display: block;
	font-family: var(--aw-heading);
	font-weight: 600;
	font-size: 0.9rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 0.4rem; }
.wpcf7 input:not([type="submit"]), .wpcf7 textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 0.8rem 0.9rem;
	font: inherit;
	font-family: var(--wp--preset--font-family--body, inherit);
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	color: var(--aw-black);
	background: var(--aw-white);
	border: 1px solid rgba(10, 10, 10, 0.25);
	border-radius: 0;
}
.wpcf7 textarea { height: 10rem; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: 2px solid var(--aw-accent); outline-offset: 0; border-color: var(--aw-accent); }
.wpcf7 .wpcf7-not-valid { border-color: var(--aw-accent-strong); }
.wpcf7-not-valid-tip { font-size: 0.85rem; color: var(--aw-accent-strong); margin-top: 0.3rem; letter-spacing: normal; text-transform: none; }
.aw-form-note { color: var(--aw-muted); font-size: 0.9rem; margin: 1rem 0 1.25rem; }
.wpcf7 input[type="submit"] {
	font-family: var(--aw-heading);
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 1rem 2rem;
	color: var(--aw-white);
	background: var(--aw-accent-strong);
	border: 0;
	border-radius: 0;
	cursor: pointer;
}
.wpcf7 input[type="submit"]:hover { background: var(--aw-black); }
.wpcf7 .wpcf7-spinner { vertical-align: middle; }
.wpcf7 form .wpcf7-response-output { margin: 1.25rem 0 0; padding: 0.9rem 1rem; border-width: 2px; }

.aw-map-section { margin-top: 0 !important; border-top: 5px solid var(--aw-accent); }
.aw-map iframe { display: block; width: 100%; height: clamp(320px, 45vw, 480px); border: 0; filter: grayscale(0.35); }

/* Software logo above a section title (SOLIDWORKS, CAMWorks) */
.aw-brand-logo { margin: 0 0 1.5rem !important; }
.aw-brand-logo img { width: auto !important; height: clamp(2.25rem, 3.5vw, 2.75rem) !important; max-width: 100%; object-fit: contain; }

/* Training courses: cards on the Formation page, "En bref" box and placeholders on a course page */
.aw-course-card { position: relative; display: flex; flex-direction: column; }
.aw-course-card h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
.aw-course-card h3 a { color: inherit; text-decoration: none; }
.aw-course-card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.aw-course-card .aw-tile-brand { color: var(--aw-accent) !important; }
.aw-course-facts .aw-speclist li { display: block; padding: 0.85rem 0; font-size: 1rem; }
.aw-course-facts .aw-speclist li:last-child { border-bottom: 0; }
.aw-course-facts .aw-speclist strong { display: block; margin-bottom: 0.25rem; }
.aw-course-pdf { margin-top: 1rem; }
.aw-course-pdf .wp-block-button, .aw-course-pdf .wp-block-button__link { width: 100%; text-align: center; }
.aw-todo { color: var(--aw-muted) !important; font-style: italic; }

/* ---------- Legal pages (Mentions légales, Politique de confidentialité) ---------- */
.aw-legal h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem) !important; margin-top: 2.75rem; }
.aw-legal h2:first-child { margin-top: 0; }

/* ---------- Services (Prestations page + homepage "Bureau d'études") ---------- */
.aw-service {
	position: relative;
	display: flex;
	flex-direction: column;
	padding-top: calc(clamp(1.5rem, 3vw, 2.25rem) + 3rem);
}
/* Line icon (top left) drawn from the .aw-ico-* class; number top right */
.aw-service::before {
	content: "";
	position: absolute;
	top: clamp(1.5rem, 3vw, 2.25rem);
	left: clamp(1.5rem, 3vw, 2.25rem);
	width: 2.1rem;
	height: 2.1rem;
	background: var(--aw-black);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	transition: background-color 0.2s;
}
.aw-service:hover::before { background: var(--aw-accent); }
.aw-ico-etude::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V9.5L12 4l7 5.5V21'/%3E%3Cpath d='M9.5 21v-6h5v6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V9.5L12 4l7 5.5V21'/%3E%3Cpath d='M9.5 21v-6h5v6'/%3E%3C/svg%3E"); }
.aw-ico-retro::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.5 10A8 8 0 0 0 5 7.5M4.5 14A8 8 0 0 0 19 16.5'/%3E%3Cpath d='M5 3.5v4h4M19 20.5v-4h-4'/%3E%3Crect x='9.5' y='9.5' width='5' height='5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.5 10A8 8 0 0 0 5 7.5M4.5 14A8 8 0 0 0 19 16.5'/%3E%3Cpath d='M5 3.5v4h4M19 20.5v-4h-4'/%3E%3Crect x='9.5' y='9.5' width='5' height='5'/%3E%3C/svg%3E"); }
.aw-ico-scan::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8V3.5H8M16 3.5h4.5V8M20.5 16v4.5H16M8 20.5H3.5V16'/%3E%3Cpath d='M12 7l4.5 2.5v5L12 17l-4.5-2.5v-5z'/%3E%3Cpath d='M7.5 9.5L12 12l4.5-2.5M12 12v5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8V3.5H8M16 3.5h4.5V8M20.5 16v4.5H16M8 20.5H3.5V16'/%3E%3Cpath d='M12 7l4.5 2.5v5L12 17l-4.5-2.5v-5z'/%3E%3Cpath d='M7.5 9.5L12 12l4.5-2.5M12 12v5'/%3E%3C/svg%3E"); }
.aw-ico-cnc::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 3h7v5h-7zM10.5 8h3v3.5h-3zM12 11.5V15'/%3E%3Cpath d='M4 21h16M6.5 21v-3h11v3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 3h7v5h-7zM10.5 8h3v3.5h-3zM12 11.5V15'/%3E%3Cpath d='M4 21h16M6.5 21v-3h11v3'/%3E%3C/svg%3E"); }
.aw-ico-print::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h18M7 4v4.5h10V4'/%3E%3Cpath d='M10 8.5h4v2.5l-2 2-2-2z'/%3E%3Cpath d='M4.5 20.5h15M8 17h8v3.5H8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h18M7 4v4.5h10V4'/%3E%3Cpath d='M10 8.5h4v2.5l-2 2-2-2z'/%3E%3Cpath d='M4.5 20.5h15M8 17h8v3.5H8z'/%3E%3C/svg%3E"); }
.aw-ico-auto::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3.2'/%3E%3Cpath d='M12 2.5v3M12 18.5v3M2.5 12h3M18.5 12h3M5.3 5.3l2.1 2.1M16.6 16.6l2.1 2.1M5.3 18.7l2.1-2.1M16.6 7.4l2.1-2.1'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3.2'/%3E%3Cpath d='M12 2.5v3M12 18.5v3M2.5 12h3M18.5 12h3M5.3 5.3l2.1 2.1M16.6 16.6l2.1 2.1M5.3 18.7l2.1-2.1M16.6 7.4l2.1-2.1'/%3E%3C/svg%3E"); }
.aw-svc-num {
	position: absolute;
	top: clamp(1.5rem, 3vw, 2.25rem);
	right: clamp(1.5rem, 3vw, 2.25rem);
	margin: 0 !important;
	font-family: var(--aw-heading);
	font-weight: 700;
	font-size: 0.9375rem;
	letter-spacing: 0.08em;
	color: var(--aw-muted);
}
.aw-service h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); }
.aw-service > p:not(.aw-svc-num):not(.aw-card-link) { color: var(--aw-muted); }
.aw-service .aw-card-link { margin-top: auto !important; padding-top: 1.25rem; }
/* The whole card opens its link (not in the editor) */
body:not(.editor-styles-wrapper) .aw-service .aw-card-link a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.aw-service:hover .aw-card-link a::after { transform: translateX(5px); }
.aw-service[id] { scroll-margin-top: 9rem; }

/* List with short red dashes */
.aw-card ul.aw-dash-list {
	list-style: none;
	margin: 0.25rem 0 0;
	padding: 1rem 0 0;
	border-top: 1px solid var(--aw-line);
	color: inherit;
	font-size: 0.9375rem;
}
.aw-dash-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.4rem; }
.aw-dash-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.75em;
	width: 0.85rem;
	height: 2px;
	background: var(--aw-accent);
}

/* Steps ("Notre démarche") */
.aw-steps { gap: 2rem !important; }
.aw-steps.is-layout-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.aw-stat-num .aw-todo { color: var(--aw-black) !important; font-style: normal; padding: 0 0.1em; }
.aw-step { border-top: 2px solid var(--aw-black); padding-top: 1.25rem; }
.aw-step-num {
	margin: 0 0 0.75rem !important;
	font-family: var(--aw-heading);
	font-weight: 800;
	font-size: clamp(2rem, 3vw, 2.5rem);
	line-height: 1;
	color: var(--aw-accent);
}
.aw-step h3 { margin: 0 0 0.5rem; font-size: 1.375rem; }
.aw-step p:last-child { margin: 0; color: var(--aw-muted); }
@media (max-width: 900px) {
	.aw-steps.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
	.aw-steps.is-layout-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Red call-to-action panel */
.aw-cta-red {
	margin-top: clamp(3rem, 6vw, 4.5rem) !important;
	padding: clamp(2rem, 4vw, 3rem);
	gap: 1.5rem 2rem;
	background: var(--aw-accent-strong);
	color: var(--aw-white);
}
.aw-cta-red-text { flex: 1 1 26rem; }
.aw-cta-red h2 { margin: 0 0 0.6rem; color: var(--aw-white); font-size: clamp(1.75rem, 3vw, 2.5rem); }
.aw-cta-red p { margin: 0; color: rgba(255, 255, 255, 0.92); }
.aw-cta-red .aw-todo { color: var(--aw-black) !important; }
.aw-cta-red .wp-block-buttons { gap: 0.75rem; }
.aw-cta-red .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--aw-white); color: var(--aw-black); }
.aw-cta-red .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--aw-black); color: var(--aw-white); }
.aw-cta-red .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--aw-white); border-color: var(--aw-white); color: var(--aw-black); }

/* Product tiles block (alcadworks/product-tiles) in the editor preview: the grid's generated column rule is not loaded there */
.editor-styles-wrapper .aw-sol-grid.is-layout-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
