/* =============================================================
 * PROXYWEB — Feuille principale
 *
 * Organisée en @layer pour un ordre de cascade explicite :
 * tokens → reset → base → layout → components → utilities → blocks
 * Aucun build : CSS pur, à charger tel quel.
 * ============================================================= */

@layer tokens, reset, base, layout, components, utilities, blocks;

/* ----------------------------------------------------------------
 * Polices — self-hosted en WOFF2 (à déposer dans /assets/fonts/).
 * ---------------------------------------------------------------- */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/inter-variable.woff2") format("woff2-variations"),
	     url("../fonts/inter-regular.woff2") format("woff2");
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/manrope-variable.woff2") format("woff2-variations"),
	     url("../fonts/manrope-bold.woff2") format("woff2");
}
@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/playfair-variable.woff2") format("woff2-variations"),
	     url("../fonts/playfair-bold.woff2") format("woff2");
}

/* ================================================================
 * @layer tokens : variables de design
 * ================================================================ */
@layer tokens {
	:root {
		/* Palette */
		--pw-primary:     #1E3FAB;
		--pw-primary-700: #172F82;
		--pw-primary-50:  #EEF1FB;
		--pw-deep:        #0F1F5C;
		--pw-ink:         #111827;
		--pw-muted:       #6B7280;
		--pw-line:        #E5E7EB;
		--pw-surface:     #F7F8FA;
		--pw-white:       #FFFFFF;
		--pw-success:     #10B981;
		--pw-danger:      #EF4444;
		--pw-warning:     #F59E0B;

		/* Typo */
		--pw-font-display: "Playfair Display", Georgia, "Times New Roman", serif;
		--pw-font-heading: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
		--pw-font-body:    Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;

		--pw-fs-h1:   clamp(2.25rem, 4vw + 1rem, 4.5rem);
		--pw-fs-h2:   clamp(1.75rem, 2.5vw + 0.5rem, 3rem);
		--pw-fs-h3:   clamp(1.375rem, 1vw + 1rem, 2rem);
		--pw-fs-lg:   1.125rem;
		--pw-fs-base: 1rem;
		--pw-fs-sm:   0.875rem;
		--pw-fs-xs:   0.75rem;

		--pw-lh-tight: 1.15;
		--pw-lh-snug:  1.25;
		--pw-lh-body:  1.65;

		/* Espacement (échelle 4px) */
		--space-1:  4px;
		--space-2:  8px;
		--space-3:  12px;
		--space-4:  16px;
		--space-5:  24px;
		--space-6:  32px;
		--space-7:  48px;
		--space-8:  64px;
		--space-9:  96px;
		--space-10: 128px;

		/* Radius */
		--r-sm:   8px;
		--r:      12px;
		--r-lg:   16px;
		--r-full: 9999px;

		/* Ombres */
		--shadow-sm: 0 1px 2px rgba(15, 31, 92, 0.06);
		--shadow:    0 8px 24px rgba(15, 31, 92, 0.08);
		--shadow-lg: 0 20px 48px rgba(15, 31, 92, 0.12);

		/* Transitions */
		--ease:        cubic-bezier(0.22, 0.61, 0.36, 1);
		--ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
		--dur-fast:    150ms;
		--dur-base:    250ms;
		--dur-slow:    600ms;

		/* Layout */
		--pw-container: 1240px;
		--pw-gutter:    24px;
		--pw-section-py: clamp(64px, 8vw, 128px);

		/* Z-index */
		--z-base:    1;
		--z-sticky:  20;
		--z-header:  40;
		--z-overlay: 80;
		--z-modal:   90;
		--z-toast:   100;
	}

	@media (min-width: 1024px) {
		:root { --pw-gutter: 48px; }
	}
}

/* ================================================================
 * @layer reset : reset minimal (philosophie "everything that helps")
 * ================================================================ */
@layer reset {
	*, *::before, *::after { box-sizing: border-box; }
	* { margin: 0; }
	html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
	html, body { height: auto; }
	body { -webkit-font-smoothing: antialiased; line-height: var(--pw-lh-body); }
	img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
	input, button, textarea, select { font: inherit; color: inherit; }
	button { cursor: pointer; background: none; border: 0; padding: 0; }
	a { color: inherit; text-decoration: none; }
	p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
	#pw-main, #root, #__next { isolation: isolate; }

	.screen-reader-text {
		clip: rect(1px, 1px, 1px, 1px);
		position: absolute !important;
		height: 1px; width: 1px;
		overflow: hidden;
		word-wrap: normal !important;
	}
	.screen-reader-text:focus {
		clip: auto !important;
		display: block;
		height: auto;
		left: 8px; top: 8px;
		padding: 12px 16px;
		background: var(--pw-deep); color: var(--pw-white);
		font-size: 0.875rem;
		z-index: 100000;
		text-decoration: none;
	}
}

/* ================================================================
 * @layer base : typo, liens, focus
 * ================================================================ */
@layer base {
	body {
		font-family: var(--pw-font-body);
		font-size: var(--pw-fs-base);
		color: var(--pw-ink);
		background: var(--pw-white);
	}

	h1, h2, h3, h4 { color: var(--pw-ink); }
	h1 {
		font-family: var(--pw-font-display);
		font-size: var(--pw-fs-h1);
		font-weight: 700;
		line-height: var(--pw-lh-tight);
		letter-spacing: -0.02em;
	}
	h2 {
		font-family: var(--pw-font-heading);
		font-size: var(--pw-fs-h2);
		font-weight: 700;
		line-height: var(--pw-lh-snug);
		letter-spacing: -0.015em;
	}
	h3 {
		font-family: var(--pw-font-heading);
		font-size: var(--pw-fs-h3);
		font-weight: 600;
		line-height: var(--pw-lh-snug);
	}

	a { color: var(--pw-primary); transition: color var(--dur-fast) var(--ease); }
	a:hover { color: var(--pw-primary-700); }

	:focus-visible {
		outline: 3px solid rgba(30, 63, 171, 0.4);
		outline-offset: 3px;
		border-radius: 4px;
	}

	::selection { background: var(--pw-primary); color: var(--pw-white); }

	.pw-skip-link {
		position: absolute;
		top: -100px;
	}
	.pw-skip-link:focus {
		position: fixed;
		top: 16px; left: 16px;
		background: var(--pw-deep); color: var(--pw-white);
		padding: 12px 20px;
		border-radius: var(--r-sm);
		z-index: var(--z-toast);
	}
}

/* ================================================================
 * @layer layout : container, sections, grilles
 * ================================================================ */
@layer layout {
	.pw-container {
		width: 100%;
		max-width: var(--pw-container);
		padding-inline: var(--pw-gutter);
		margin-inline: auto;
	}

	.pw-section {
		padding-block: var(--pw-section-py);
	}
	.pw-section--tight  { padding-block: clamp(48px, 6vw, 80px); }
	.pw-section--dark   { background: var(--pw-deep); color: var(--pw-white); }
	.pw-section--dark h1,
	.pw-section--dark h2,
	.pw-section--dark h3 { color: var(--pw-white); }
	.pw-section--surface { background: var(--pw-surface); }

	.pw-grid { display: grid; gap: var(--space-5); }
	.pw-grid--2 { grid-template-columns: 1fr; }
	.pw-grid--3 { grid-template-columns: 1fr; }
	.pw-grid--4 { grid-template-columns: 1fr; }

	@media (min-width: 480px) {
		/* À partir du grand mobile : la grille 4 cols (compteurs/KPI)
		   devient 2x2 — évite les chiffres immenses en colonne unique. */
		.pw-grid--4 { grid-template-columns: repeat(2, 1fr); }
	}

	@media (min-width: 640px) {
		.pw-grid--2 { grid-template-columns: repeat(2, 1fr); }
		.pw-grid--3 { grid-template-columns: repeat(2, 1fr); }
	}

	@media (min-width: 1024px) {
		.pw-grid--3 { grid-template-columns: repeat(3, 1fr); }
		.pw-grid--4 { grid-template-columns: repeat(4, 1fr); }
	}
}

/* ================================================================
 * @layer components : header, footer, boutons, cartes
 * ================================================================ */
@layer components {

	/* --- Boutons --- */
	.pw-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: var(--space-2);
		padding: 14px 28px;
		font-family: var(--pw-font-heading);
		font-weight: 600;
		font-size: 1rem;
		border-radius: var(--r);
		transition: transform var(--dur-base) var(--ease-out),
		            box-shadow var(--dur-base) var(--ease-out),
		            background-color var(--dur-base) var(--ease),
		            color var(--dur-base) var(--ease);
		text-decoration: none;
		line-height: 1;
		white-space: nowrap;
	}
	.pw-btn--primary {
		background: var(--pw-primary);
		color: var(--pw-white);
		box-shadow: var(--shadow-sm);
	}
	.pw-btn--primary:hover {
		background: var(--pw-primary-700);
		color: var(--pw-white);
		transform: translateY(-2px);
		box-shadow: var(--shadow-lg);
	}
	.pw-btn--ghost {
		background: transparent;
		color: var(--pw-primary);
		border: 1.5px solid var(--pw-primary);
	}
	.pw-btn--ghost:hover {
		background: var(--pw-primary);
		color: var(--pw-white);
	}
	.pw-btn--light {
		background: var(--pw-white);
		color: var(--pw-deep);
	}
	.pw-btn--light:hover {
		background: var(--pw-primary-50);
		color: var(--pw-deep);
	}

	/* --- Header --- */
	.pw-header {
		position: sticky;
		top: 0;
		z-index: var(--z-header);
		background: rgba(255, 255, 255, 0.92);
		backdrop-filter: saturate(180%) blur(12px);
		-webkit-backdrop-filter: saturate(180%) blur(12px);
		border-bottom: 1px solid transparent;
		transition: border-color var(--dur-base) var(--ease),
		            box-shadow var(--dur-base) var(--ease);
	}
	.pw-header[data-scrolled="true"] {
		border-bottom-color: var(--pw-line);
		box-shadow: var(--shadow-sm);
	}
	.pw-header__inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: var(--space-4);
		min-height: 72px;
	}
	.pw-header__brand {
		display: inline-flex;
		align-items: center;
		gap: var(--space-3);
		color: var(--pw-deep);
		font-family: var(--pw-font-heading);
		font-weight: 800;
		font-size: 1.25rem;
		letter-spacing: 0.02em;
	}
	.pw-header__brand img,
	.pw-header__brand .custom-logo,
	.pw-header__brand .custom-logo-link img {
		max-height: 56px;
		width: auto;
		height: auto;
		display: block;
	}
	.pw-header__brand .custom-logo-link { line-height: 0; display: block; }
	.pw-header__brand svg { height: 44px; width: auto; display: block; }
	.pw-footer__logo svg,
	.pw-footer__logo img {
		height: auto;
		max-height: 72px;
		width: auto;
		max-width: min(60vw, 260px);
		display: block;
		object-fit: contain;
	}

	.pw-header__nav {
		display: none;
		align-items: center;
		gap: var(--space-5);
	}
	@media (min-width: 1024px) {
		.pw-header__nav { display: flex; }
		.pw-header__burger { display: none; }
	}

	.pw-menu {
		display: flex;
		align-items: center;
		gap: var(--space-5);
		list-style: none;
		padding: 0;
	}
	.pw-menu__link, .pw-menu li a {
		color: var(--pw-ink);
		font-family: var(--pw-font-heading);
		font-weight: 500;
		font-size: 0.95rem;
		padding: 8px 0;
		position: relative;
		transition: color var(--dur-fast) var(--ease);
	}
	.pw-menu__link:hover, .pw-menu li a:hover { color: var(--pw-primary); }
	.pw-menu__link::after, .pw-menu li a::after {
		content: "";
		position: absolute;
		left: 0; right: 0; bottom: 2px;
		height: 2px;
		background: var(--pw-primary);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform var(--dur-base) var(--ease-out);
	}
	.pw-menu__link:hover::after,
	.pw-menu li.current-menu-item a::after,
	.pw-menu li a:hover::after { transform: scaleX(1); }

	/* ---------- Sous-menu dropdown (desktop) ---------- */
	.pw-menu .menu-item-has-children { position: relative; }
	.pw-menu .menu-item-has-children > a::before {
		content: "▾";
		display: inline-block;
		margin-left: 6px;
		font-size: 0.7em;
		opacity: 0.7;
		transform: translateY(-1px);
	}
	.pw-menu .sub-menu {
		position: absolute;
		top: calc(100% + 4px);
		left: -16px;
		min-width: 260px;
		padding: 8px;
		margin: 0;
		list-style: none;
		background: var(--pw-white);
		border: 1px solid var(--pw-line);
		border-radius: var(--r-lg);
		box-shadow: var(--shadow-lg);
		opacity: 0;
		visibility: hidden;
		transform: translateY(8px);
		transition: opacity 200ms var(--ease),
		            transform 200ms var(--ease-out),
		            visibility 0s linear 200ms;
		z-index: 50;
	}
	.pw-menu .menu-item-has-children:hover > .sub-menu,
	.pw-menu .menu-item-has-children:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		transition-delay: 0s;
	}
	.pw-menu .sub-menu li { display: block; }
	.pw-menu .sub-menu a {
		display: block;
		padding: 10px 14px;
		border-radius: 8px;
		font-family: var(--pw-font-heading);
		font-weight: 500;
		font-size: 0.92rem;
		color: var(--pw-ink) !important;
		line-height: 1.3;
		transition: background 150ms var(--ease), color 150ms var(--ease);
	}
	.pw-menu .sub-menu a:hover {
		background: var(--pw-primary-50);
		color: var(--pw-primary) !important;
	}
	.pw-menu .sub-menu a::after { display: none !important; }

	/* ---------- Sous-menu mobile : drawer flat indenté ---------- */
	@media (max-width: 1023.98px) {
		.pw-menu .menu-item-has-children > a::before {
			content: "▾";
			display: inline-block;
			margin-left: 6px;
			font-size: 0.7em;
			opacity: 0.7;
			transition: transform 200ms var(--ease);
		}
		.pw-menu .menu-item-has-children.is-open > a::before { transform: rotate(180deg); }
		.pw-menu .sub-menu {
			position: static;
			opacity: 1;
			visibility: visible;
			transform: none;
			background: transparent;
			border: 0;
			box-shadow: none;
			padding: 0 0 8px 16px;
			min-width: 0;
			border-left: 2px solid var(--pw-primary-50);
			margin-left: 4px;
			display: none;
		}
		.pw-menu .menu-item-has-children.is-open > .sub-menu { display: block; }
		.pw-menu .sub-menu li { border-bottom: 0; }
		.pw-menu .sub-menu a {
			padding: 8px 12px !important;
			font-size: 0.92rem !important;
			color: var(--pw-muted) !important;
		}
		.pw-menu .sub-menu a:hover { color: var(--pw-primary) !important; background: transparent; }
	}

	.pw-header__cta { padding: 12px 22px; font-size: 0.9rem; }

	/* Burger mobile */
	.pw-header__burger {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		width: 44px;
		height: 44px;
		padding: 10px;
	}
	.pw-header__burger span {
		display: block;
		width: 24px;
		height: 2px;
		background: var(--pw-ink);
		transition: transform var(--dur-base) var(--ease),
		            opacity var(--dur-fast) var(--ease);
	}
	.pw-header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.pw-header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.pw-header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

	/* Menu mobile (drawer) */
	@media (max-width: 1023.98px) {
		.pw-header__nav {
			position: fixed;
			inset: 72px 0 0 0;
			display: flex;
			flex-direction: column;
			align-items: stretch;
			gap: 0;
			background: var(--pw-white);
			padding: var(--space-5);
			transform: translateY(-110%);
			transition: transform var(--dur-base) var(--ease-out);
			overflow-y: auto;
		}
		.pw-header__nav[data-open="true"] { transform: translateY(0); }
		.pw-menu { flex-direction: column; align-items: stretch; gap: 0; }
		.pw-menu li { border-bottom: 1px solid var(--pw-line); }
		.pw-menu li a { display: block; padding: 16px 0; font-size: 1.125rem; }
		.pw-menu__link::after, .pw-menu li a::after { display: none; }
		.pw-header__cta { margin-top: var(--space-5); width: 100%; }
	}

	/* --- Footer --- */
	.pw-footer {
		background: var(--pw-deep);
		color: var(--pw-white);
		padding-top: var(--space-9);
	}
	.pw-footer a { color: var(--pw-white); opacity: 0.86; transition: opacity var(--dur-fast) var(--ease); }
	.pw-footer a:hover { opacity: 1; color: var(--pw-white); }
	.pw-footer__inner {
		display: grid;
		gap: var(--space-7);
		grid-template-columns: 1fr;
	}
	@media (min-width: 768px) {
		.pw-footer__inner { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
	}
	.pw-footer__brand-text {
		font-family: var(--pw-font-heading);
		font-weight: 800;
		font-size: 1.5rem;
	}
	.pw-footer__pitch {
		margin-top: var(--space-4);
		font-size: 0.95rem;
		opacity: 0.78;
		max-width: 32ch;
	}
	.pw-footer__tagline {
		margin-top: var(--space-4);
		font-family: var(--pw-font-heading);
		font-weight: 700;
		color: var(--pw-primary-50);
	}
	.pw-footer__title {
		font-family: var(--pw-font-heading);
		font-size: 0.875rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.08em;
		margin-bottom: var(--space-4);
		color: var(--pw-white);
	}
	.pw-footer__menu {
		list-style: none;
		padding: 0;
		display: grid;
		gap: var(--space-3);
		font-size: 0.95rem;
	}
	.pw-footer__follow {
		font-family: var(--pw-font-heading);
		font-weight: 700;
		font-size: 0.875rem;
		text-transform: uppercase;
		letter-spacing: 0.08em;
		color: #FFFFFF;
		opacity: 0.96;
		margin: 24px 0 12px;
	}
	.pw-footer__socials {
		list-style: none; padding: 0;
		display: flex; gap: 10px;
		margin: 0;
	}
	.pw-footer__social {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px; height: 44px;
		border-radius: var(--r-full);
		background: rgba(255, 255, 255, 0.08);
		color: #FFFFFF;
		opacity: 1;
		transition: background var(--dur-fast) var(--ease),
		            transform var(--dur-fast) var(--ease),
		            color var(--dur-fast) var(--ease);
	}
	.pw-footer__social svg {
		width: 20px; height: 20px;
		display: block;
	}
	.pw-footer__social--instagram:hover { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); color: #fff; transform: translateY(-2px); }
	.pw-footer__social--facebook:hover  { background: #1877F2; transform: translateY(-2px); }
	.pw-footer__social--linkedin:hover  { background: #0A66C2; transform: translateY(-2px); }
	.pw-footer__social--youtube:hover   { background: #FF0000; transform: translateY(-2px); }
	.pw-footer__pitch--upper {
		font-family: var(--pw-font-heading);
		font-weight: 700;
		font-size: 0.8125rem;
		letter-spacing: 0.04em;
		line-height: 1.5;
		text-transform: uppercase;
		opacity: 0.96;
		margin-top: 24px;
	}
	.pw-footer__bottom {
		margin-top: var(--space-8);
		padding-block: var(--space-5);
		border-top: 1px solid rgba(255, 255, 255, 0.08);
	}
	.pw-footer__bottom-inner {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: var(--space-3);
	}
	@media (min-width: 768px) {
		.pw-footer__bottom-inner { flex-direction: row; justify-content: space-between; align-items: center; }
	}
	.pw-footer__legal { font-size: 0.85rem; opacity: 0.7; }
	.pw-footer__legal-menu {
		display: flex; gap: var(--space-5); list-style: none; padding: 0;
		font-size: 0.85rem; opacity: 0.7;
	}

	/* --- Cartes générique --- */
	.pw-card {
		background: var(--pw-white);
		border: 1px solid var(--pw-line);
		border-radius: var(--r-lg);
		padding: var(--space-6);
		transition: transform var(--dur-base) var(--ease-out),
		            box-shadow var(--dur-base) var(--ease-out),
		            border-color var(--dur-base) var(--ease);
	}
	.pw-card:hover {
		transform: translateY(-4px);
		box-shadow: var(--shadow-lg);
		border-color: transparent;
	}
	.pw-card__title { font-size: 1.375rem; margin-bottom: var(--space-3); }
	.pw-card__excerpt { color: var(--pw-muted); margin-bottom: var(--space-4); }
	.pw-card__link {
		font-family: var(--pw-font-heading);
		font-weight: 600;
		color: var(--pw-primary);
	}

	/* --- Sticky bottom bar (mobile only, injectée par main.js) --- */
	.pw-sticky-bar {
		position: fixed;
		left: 12px; right: 12px; bottom: 12px;
		display: flex;
		align-items: center;
		gap: var(--space-3);
		padding: 8px 8px 8px 12px;
		background: var(--pw-white);
		border-radius: var(--r-lg);
		box-shadow: var(--shadow-lg);
		z-index: var(--z-sticky);
		transform: translateY(120%);
		transition: transform var(--dur-base) var(--ease-out);
	}
	.pw-sticky-bar.is-visible { transform: translateY(0); }
	.pw-sticky-bar__cta { flex: 1; padding: 12px 16px; font-size: 0.95rem; }
	.pw-sticky-bar__close {
		display: inline-flex; align-items: center; justify-content: center;
		width: 36px; height: 36px;
		color: var(--pw-muted);
		font-size: 1.5rem;
		line-height: 1;
		border-radius: var(--r-full);
	}
	.pw-sticky-bar__close:hover { color: var(--pw-ink); background: var(--pw-surface); }

	/* --- 404 --- */
	.pw-404 { text-align: center; max-width: 640px; margin-inline: auto; }
	.pw-404__eyebrow {
		font-family: var(--pw-font-heading);
		font-weight: 700;
		font-size: 0.875rem;
		letter-spacing: 0.15em;
		text-transform: uppercase;
		color: var(--pw-primary);
		margin-bottom: var(--space-4);
	}
	.pw-404__title { margin-bottom: var(--space-4); }
	.pw-404__lead { color: var(--pw-muted); font-size: 1.125rem; margin-bottom: var(--space-7); }
	.pw-404__actions { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }
}

/* ================================================================
 * @layer utilities : helpers d'alignement, espacement, état
 * ================================================================ */
@layer utilities {
	.pw-eyebrow {
		display: inline-block;
		font-family: var(--pw-font-heading);
		font-weight: 700;
		font-size: 0.8125rem;
		letter-spacing: 0.15em;
		text-transform: uppercase;
		color: var(--pw-primary);
	}
	.pw-lead { font-size: var(--pw-fs-lg); color: var(--pw-muted); line-height: 1.6; }
	.pw-text-center { text-align: center; }
	.pw-mt-auto { margin-top: auto; }

	/* Animation reveal au scroll (alimentée par main.js + IntersectionObserver) */
	.pw-reveal {
		opacity: 0;
		transform: translateY(24px);
		transition: opacity var(--dur-slow) var(--ease-out),
		            transform var(--dur-slow) var(--ease-out);
		will-change: opacity, transform;
	}
	.pw-reveal.is-visible {
		opacity: 1;
		transform: translateY(0);
	}

	@media (prefers-reduced-motion: reduce) {
		*, *::before, *::after {
			animation-duration: 0.01ms !important;
			animation-iteration-count: 1 !important;
			transition-duration: 0.01ms !important;
			scroll-behavior: auto !important;
		}
		.pw-reveal { opacity: 1; transform: none; }
	}
}

/* ================================================================
 * @layer blocks : styles spécifiques aux blocs ACF (à compléter)
 * ================================================================ */
@layer blocks {

	/* ---------- Hero ---------- */
	.pw-hero {
		padding-block: clamp(48px, 6vw, 96px) clamp(64px, 8vw, 128px);
	}
	.pw-hero__grid {
		display: grid;
		gap: var(--space-7);
		align-items: center;
		grid-template-columns: 1fr;
	}
	@media (min-width: 1024px) {
		.pw-hero__grid {
			grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
			gap: var(--space-8);
		}
	}
	.pw-hero__content { display: grid; gap: var(--space-5); }
	.pw-hero__title   { margin: 0; }
	.pw-hero__lead    { max-width: 56ch; }
	.pw-hero__ctas    { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-3); }
	.pw-hero__reassurance {
		color: var(--pw-muted);
		font-size: 0.875rem;
		margin-top: var(--space-2);
	}
	.pw-hero__visual img {
		width: 100%;
		height: auto;
		border-radius: var(--r-lg);
		box-shadow: var(--shadow-lg);
		aspect-ratio: 4 / 3;
		object-fit: cover;
	}

	/* ---------- Bandeau confiance ---------- */
	.pw-confiance {
		padding-block: var(--space-7);
		border-block: 1px solid var(--pw-line);
		background: var(--pw-white);
		overflow: hidden;
	}
	.pw-confiance__head {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: var(--space-4);
		margin-bottom: var(--space-6);
	}
	.pw-confiance__title {
		font-family: var(--pw-font-heading);
		font-weight: 600;
		color: var(--pw-muted);
		font-size: 0.9rem;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		margin: 0;
	}
	.pw-confiance__strip {
		display: flex;
		gap: var(--space-7);
		overflow: hidden;
		mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
		-webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
	}
	.pw-confiance__track {
		flex-shrink: 0;
		display: flex;
		gap: var(--space-7);
		align-items: center;
		list-style: none;
		padding: 0;
		margin: 0;
		animation: pw-marquee 40s linear infinite;
		min-width: 100%;
	}
	.pw-confiance__logo {
		max-height: 48px;
		width: auto;
		filter: grayscale(1) opacity(0.65);
		transition: filter var(--dur-base) var(--ease);
	}
	.pw-confiance__strip:hover .pw-confiance__track { animation-play-state: paused; }
	.pw-confiance__logo:hover { filter: none; }
	@keyframes pw-marquee {
		from { transform: translateX(0); }
		to   { transform: translateX(calc(-100% - var(--space-7))); }
	}
	.pw-google-rating {
		display: inline-flex;
		align-items: center;
		gap: var(--space-2);
		font-family: var(--pw-font-heading);
		font-size: 0.95rem;
	}
	.pw-google-rating__stars { color: var(--pw-warning); font-size: 1.125rem; letter-spacing: 0.05em; }
	.pw-google-rating__score { font-weight: 700; color: var(--pw-ink); }
	.pw-google-rating__count { color: var(--pw-muted); font-size: 0.875rem; }

	/* ---------- Section problème ---------- */
	.pw-probleme__grid {
		display: grid;
		gap: var(--space-7);
		align-items: center;
		grid-template-columns: 1fr;
	}
	@media (min-width: 1024px) {
		.pw-probleme__grid {
			grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
			gap: var(--space-8);
		}
	}
	.pw-probleme__grid--reverse > .pw-probleme__visual { order: -1; }
	@media (min-width: 1024px) {
		.pw-probleme__grid--reverse > .pw-probleme__visual { order: 0; }
		.pw-probleme__grid--reverse > .pw-probleme__content { order: 1; }
	}
	.pw-probleme__title    { margin-bottom: var(--space-5); }
	.pw-probleme__body p   { margin-bottom: var(--space-4); max-width: 60ch; }
	.pw-probleme__body p:last-child { margin-bottom: 0; }
	.pw-probleme__visual img { border-radius: var(--r-lg); box-shadow: var(--shadow); }

	/* ---------- Cartes services ---------- */
	.pw-cards__head {
		text-align: center;
		max-width: 720px;
		margin: 0 auto var(--space-7);
		display: grid;
		gap: var(--space-3);
	}
	.pw-cards__title { margin: 0; }
	.pw-cards__lead  { color: var(--pw-muted); }
	.pw-cards__grid  { list-style: none; padding: 0; margin: 0; }
	.pw-card--service {
		display: flex;
		flex-direction: column;
		gap: var(--space-3);
		text-align: left;
	}
	.pw-card__icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 56px;
		height: 56px;
		background: var(--pw-primary-50);
		color: var(--pw-primary);
		border-radius: var(--r);
		margin-bottom: var(--space-3);
	}
	.pw-card__icon img { width: 32px; height: 32px; }
	.pw-card--service .pw-card__link { margin-top: auto; }
	.pw-cards__cta {
		text-align: center;
		margin-top: var(--space-7);
	}

	/* ---------- Cas client vedette ---------- */
	.pw-vedette__head {
		text-align: center;
		max-width: 800px;
		margin: 0 auto var(--space-7);
		display: grid;
		gap: var(--space-3);
	}
	.pw-vedette__title { margin: 0; }
	.pw-vedette__lead  { color: rgba(255,255,255,0.78); font-size: var(--pw-fs-lg); }
	.pw-vedette__kpis  { margin-block: var(--space-5); }
	.pw-vedette__sep {
		text-align: center;
		font-family: var(--pw-font-heading);
		font-weight: 600;
		color: rgba(255,255,255,0.78);
		margin-block: var(--space-7) var(--space-4);
	}
	.pw-vedette__conclude {
		max-width: 720px;
		margin: var(--space-7) auto 0;
		padding: var(--space-5) var(--space-6);
		background: rgba(255,255,255,0.06);
		border-left: 4px solid var(--pw-primary);
		border-radius: var(--r);
		font-size: var(--pw-fs-lg);
		font-style: italic;
		color: var(--pw-white);
	}
	.pw-vedette__conclude p { margin: 0; }
	.pw-vedette__cta { text-align: center; margin-top: var(--space-7); }

	.pw-kpi {
		text-align: center;
		padding: var(--space-5) var(--space-3);
	}
	.pw-kpi__value {
		display: block;
		font-family: var(--pw-font-display);
		font-weight: 700;
		font-size: clamp(2.5rem, 5vw, 4.5rem);
		line-height: 1;
		color: var(--pw-white);
		font-variant-numeric: tabular-nums;
	}
	.pw-kpi--ads .pw-kpi__value { color: var(--pw-primary-50); }
	.pw-kpi__label {
		display: block;
		margin-top: var(--space-3);
		font-family: var(--pw-font-heading);
		font-size: 0.9rem;
		color: rgba(255,255,255,0.78);
		letter-spacing: 0.02em;
	}

	/* ---------- Méthode ---------- */
	.pw-methode__head {
		max-width: 720px;
		margin: 0 auto var(--space-7);
		text-align: center;
		display: grid; gap: var(--space-3);
	}
	.pw-methode__title { margin: 0; }
	.pw-methode__steps {
		list-style: none;
		padding: 0;
		display: grid;
		gap: var(--space-5);
		counter-reset: pw-step;
		grid-template-columns: 1fr;
	}
	@media (min-width: 768px) {
		.pw-methode__steps { grid-template-columns: repeat(2, 1fr); }
	}
	@media (min-width: 1024px) {
		.pw-methode__steps { grid-template-columns: repeat(4, 1fr); }
	}
	.pw-methode__step {
		position: relative;
		padding: var(--space-6);
		background: var(--pw-white);
		border: 1px solid var(--pw-line);
		border-radius: var(--r-lg);
		display: grid;
		gap: var(--space-3);
	}
	.pw-methode__num {
		font-family: var(--pw-font-display);
		font-weight: 700;
		font-size: 2.5rem;
		color: var(--pw-primary);
		line-height: 1;
	}
	.pw-methode__step-title { margin: 0; font-size: 1.25rem; }
	.pw-methode__step-desc  { margin: 0; color: var(--pw-muted); font-size: 0.95rem; }

	/* ---------- Pour qui ---------- */
	.pw-pour-qui__head {
		text-align: center;
		max-width: 720px;
		margin: 0 auto var(--space-7);
		display: grid; gap: var(--space-3);
	}
	.pw-pour-qui__grid { list-style: none; padding: 0; }
	.pw-pour-qui__card { display: flex; flex-direction: column; gap: var(--space-3); }
	.pw-pour-qui__emoji { font-size: 2.25rem; line-height: 1; }
	.pw-pour-qui__label { margin: 0; font-size: 1.25rem; }
	.pw-pour-qui__desc  { color: var(--pw-muted); margin: 0; flex-grow: 1; }
	.pw-pour-qui__card .pw-card__link { margin-top: auto; }

	/* ---------- Pourquoi nous ---------- */
	.pw-pourquoi__head {
		text-align: center;
		max-width: 720px;
		margin: 0 auto var(--space-7);
	}
	.pw-pourquoi__grid { list-style: none; padding: 0; }
	.pw-pourquoi__item {
		display: grid;
		gap: var(--space-2);
		padding: var(--space-5);
		grid-template-areas:
			"check title"
			"check desc";
		grid-template-columns: 32px 1fr;
	}
	.pw-pourquoi__check {
		grid-area: check;
		display: inline-flex; align-items: center; justify-content: center;
		width: 28px; height: 28px;
		border-radius: var(--r-full);
		background: var(--pw-success);
		color: var(--pw-white);
		font-weight: 700;
		margin-top: 2px;
	}
	.pw-pourquoi__title-item { grid-area: title; margin: 0; font-size: 1.125rem; }
	.pw-pourquoi__desc { grid-area: desc; margin: 0; color: var(--pw-muted); font-size: 0.95rem; }

	/* ---------- Compteurs globaux ---------- */
	.pw-compteurs__grid { list-style: none; padding: 0; text-align: center; }
	.pw-counter { padding: var(--space-5) var(--space-3); }
	.pw-counter__value {
		display: block;
		font-family: var(--pw-font-display);
		font-weight: 700;
		font-size: clamp(2.5rem, 5vw, 4rem);
		line-height: 1;
		font-variant-numeric: tabular-nums;
	}
	.pw-counter__prefix, .pw-counter__suffix { font-size: 0.7em; opacity: 0.8; }
	.pw-counter__label {
		display: block;
		margin-top: var(--space-3);
		font-family: var(--pw-font-heading);
		font-weight: 500;
		font-size: 0.95rem;
		opacity: 0.86;
	}
	.pw-section--dark .pw-counter__value { color: var(--pw-white); }
	.pw-section--surface .pw-counter__value,
	.pw-block.pw-compteurs:not(.pw-section--dark) .pw-counter__value { color: var(--pw-primary); }

	/* ---------- Avis style Trustindex / Google ---------- */
	.pw-reviews__head {
		text-align: center;
		max-width: 760px;
		margin: 0 auto var(--space-7);
		display: grid;
		gap: var(--space-3);
	}
	.pw-reviews__title {
		margin: 0;
		color: var(--pw-primary);
		font-family: Manrope, sans-serif;
		font-weight: 800;
		font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem);
		line-height: 1.25;
	}
	.pw-reviews__layout {
		display: grid;
		gap: var(--space-5);
		grid-template-columns: 1fr;
		align-items: start;
	}
	@media (min-width: 768px) {
		.pw-reviews__layout {
			grid-template-columns: 240px minmax(0, 1fr);
			gap: var(--space-5);
		}
	}
	.pw-reviews__aggregate {
		background: var(--pw-white);
		border: 1px solid var(--pw-line);
		border-radius: var(--r-lg);
		padding: 24px 16px;
		display: grid;
		gap: 12px;
		justify-items: center;
		text-align: center;
		position: sticky;
		top: 96px;
	}
	@media (max-width: 767.98px) {
		.pw-reviews__aggregate { position: static; }
	}
	.pw-reviews__excellent {
		background: var(--pw-white);
		border: 1px solid var(--pw-line);
		border-radius: var(--r-lg);
		padding: 20px 16px;
		display: grid;
		gap: 10px;
		justify-items: center;
	}
	.pw-reviews__label {
		font-family: Manrope, sans-serif;
		font-weight: 800;
		font-size: 1rem;
		letter-spacing: 0.08em;
		color: var(--pw-ink);
		margin: 0;
	}
	.pw-reviews__stars-big {
		display: inline-flex;
		gap: 2px;
	}
	.pw-reviews__stars-big svg {
		width: 28px;
		height: 28px;
	}
	.pw-reviews__count {
		font-family: Manrope, sans-serif;
		font-weight: 500;
		font-size: 0.9rem;
		color: var(--pw-muted);
		margin: 0;
	}
	.pw-reviews__count strong { color: var(--pw-ink); }
	.pw-reviews__google-logo {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		font-family: Roboto, Arial, sans-serif;
		font-weight: 500;
		font-size: 1.5rem;
		letter-spacing: -0.01em;
		color: #5F6368;
	}
	.pw-reviews__google-logo svg { width: 28px; height: 28px; }

	.pw-reviews__cards-wrapper { min-width: 0; }
	.pw-reviews__cards {
		list-style: none;
		padding: 0;
		margin: 0;
		display: grid;
		gap: var(--space-4);
		grid-template-columns: 1fr;
	}
	@media (min-width: 640px) {
		.pw-reviews__cards { grid-template-columns: repeat(2, 1fr); }
	}
	@media (min-width: 1280px) {
		.pw-reviews__cards { grid-template-columns: repeat(3, 1fr); }
	}

	.pw-review-card {
		background: var(--pw-white);
		border: 1px solid var(--pw-line);
		border-radius: var(--r-lg);
		padding: 20px;
		display: flex;
		flex-direction: column;
		gap: 12px;
		box-shadow: var(--shadow-sm);
		transition: box-shadow var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
	}
	.pw-review-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

	.pw-review-card__head {
		display: grid;
		grid-template-columns: 48px 1fr 24px;
		gap: 10px;
		align-items: center;
	}
	.pw-review-card__avatar {
		width: 48px;
		height: 48px;
		border-radius: var(--r-full);
		display: inline-flex;
		align-items: center;
		justify-content: center;
		color: #FFFFFF;
		font-family: Manrope, sans-serif;
		font-weight: 700;
		font-size: 1.125rem;
		flex-shrink: 0;
		overflow: hidden;
	}
	.pw-review-card__avatar--photo { background: var(--pw-surface); }
	.pw-review-card__avatar img {
		width: 100%; height: 100%; object-fit: cover;
		border-radius: var(--r-full);
	}
	.pw-review-card__meta { min-width: 0; }
	.pw-review-card__name {
		font-family: Manrope, sans-serif;
		font-weight: 700;
		font-size: 0.95rem;
		color: var(--pw-ink);
		margin: 0;
		line-height: 1.3;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.pw-review-card__time {
		font-size: 0.8rem;
		color: var(--pw-muted);
		margin: 2px 0 0;
		line-height: 1.2;
	}
	.pw-review-card__source svg { width: 22px; height: 22px; display: block; }

	.pw-review-card__stars {
		display: inline-flex;
		align-items: center;
		gap: 2px;
	}
	.pw-review-card__stars svg { width: 16px; height: 16px; }
	.pw-review-card__verified {
		width: 14px !important;
		height: 14px !important;
		margin-left: 4px;
	}

	.pw-review-card__text {
		margin: 0;
		font-size: 0.93rem;
		line-height: 1.55;
		color: var(--pw-ink);
		font-family: Inter, sans-serif;
		font-style: normal;
		border: 0;
		padding: 0;
		flex: 1;
	}
	.pw-review-card__more {
		font-family: Manrope, sans-serif;
		font-weight: 600;
		font-size: 0.85rem;
		color: var(--pw-muted);
		text-align: left;
		padding: 0;
		text-decoration: underline;
	}
	.pw-review-card__more:hover { color: var(--pw-primary); }

	/* ---------- Témoignages (ancien layout, conservé pour compat) ---------- */
	.pw-temoignages__head {
		text-align: center;
		max-width: 720px;
		margin: 0 auto var(--space-7);
	}
	.pw-temoignages__title { margin: 0; }
	.pw-temoignage {
		background: var(--pw-white);
		border-radius: var(--r-lg);
		box-shadow: var(--shadow-sm);
		overflow: hidden;
		display: grid;
		grid-template-rows: auto 1fr;
		scroll-snap-align: start;
	}
	.pw-temoignage__photo img,
	.pw-temoignage__video img {
		width: 100%;
		aspect-ratio: 4 / 3;
		object-fit: cover;
		display: block;
	}
	.pw-temoignage__video { position: relative; }
	.pw-temoignage__video-link {
		display: block;
		position: relative;
		text-decoration: none;
	}
	.pw-temoignage__play {
		position: absolute;
		left: 50%; top: 50%;
		transform: translate(-50%, -50%);
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 64px; height: 64px;
		background: rgba(255, 255, 255, 0.95);
		color: var(--pw-primary);
		border-radius: var(--r-full);
		font-size: 1.5rem;
		box-shadow: var(--shadow-lg);
	}
	.pw-temoignage__body { padding: var(--space-5); display: grid; gap: var(--space-3); }
	.pw-temoignage__stars { color: var(--pw-warning); font-size: 1rem; letter-spacing: 0.05em; }
	.pw-temoignage__star--empty { color: var(--pw-line); }
	.pw-temoignage__quote {
		margin: 0;
		font-size: 1rem;
		color: var(--pw-ink);
		line-height: 1.55;
		quotes: none;
		border: 0;
		padding: 0;
	}
	.pw-temoignage__author { margin: 0; font-family: var(--pw-font-heading); font-size: 0.95rem; }
	.pw-temoignage__meta { display: block; color: var(--pw-muted); font-weight: 500; font-size: 0.85rem; }

	/* ---------- Carrousel générique (scroll-snap horizontal) ---------- */
	.pw-carousel { position: relative; }
	.pw-carousel__track {
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: 85%;
		gap: var(--space-5);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		padding-bottom: var(--space-3);
		list-style: none;
		margin: 0;
		padding-inline: 4px;
	}
	.pw-carousel__track::-webkit-scrollbar { display: none; }
	@media (min-width: 768px) { .pw-carousel__track { grid-auto-columns: 45%; } }
	@media (min-width: 1024px) { .pw-carousel__track { grid-auto-columns: calc((100% - 2 * var(--space-5)) / 3); } }
	.pw-carousel__item { scroll-snap-align: start; }
	.pw-carousel__btn {
		position: absolute;
		top: 35%;
		display: none;
		width: 48px; height: 48px;
		background: var(--pw-white);
		border: 1px solid var(--pw-line);
		border-radius: var(--r-full);
		box-shadow: var(--shadow);
		font-size: 1.1rem;
		color: var(--pw-ink);
		z-index: 2;
		transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
	}
	@media (min-width: 768px) { .pw-carousel__btn { display: inline-flex; align-items: center; justify-content: center; } }
	.pw-carousel__btn:hover { background: var(--pw-primary); color: var(--pw-white); }
	.pw-carousel__btn[disabled] { opacity: 0.4; cursor: not-allowed; }
	.pw-carousel__btn--prev { left: -24px; }
	.pw-carousel__btn--next { right: -24px; }

	/* ---------- Cas grid + cards ---------- */
	.pw-cas-grid__head {
		text-align: center;
		max-width: 720px;
		margin: 0 auto var(--space-5);
	}
	.pw-cas-grid__filters {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: var(--space-2);
		margin-bottom: var(--space-7);
	}
	.pw-chip {
		display: inline-flex;
		align-items: center;
		padding: 8px 16px;
		font-family: var(--pw-font-heading);
		font-weight: 500;
		font-size: 0.875rem;
		border: 1px solid var(--pw-line);
		border-radius: var(--r-full);
		background: var(--pw-white);
		color: var(--pw-ink);
		transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
	}
	.pw-chip:hover { border-color: var(--pw-primary); color: var(--pw-primary); }
	.pw-chip.is-active {
		background: var(--pw-primary);
		color: var(--pw-white);
		border-color: var(--pw-primary);
	}
	.pw-cas-grid__items { list-style: none; padding: 0; }
	.pw-cas-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
	.pw-cas-card__photo img {
		width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
		display: block;
	}
	.pw-cas-card__body { padding: var(--space-5); display: grid; gap: var(--space-3); }
	.pw-cas-card__meta {
		color: var(--pw-muted);
		font-size: 0.85rem;
		text-transform: uppercase;
		letter-spacing: 0.06em;
		margin: 0;
	}
	.pw-cas-card__title { margin: 0; font-size: 1.25rem; }
	.pw-cas-card__title a { color: var(--pw-ink); }
	.pw-cas-card__title a:hover { color: var(--pw-primary); }
	.pw-cas-card__kpis {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: var(--space-3);
		margin: var(--space-2) 0;
	}
	.pw-cas-card__kpis > div { text-align: center; padding: var(--space-2); background: var(--pw-surface); border-radius: var(--r-sm); }
	.pw-cas-card__kpis dt { font-size: 0.7rem; color: var(--pw-muted); text-transform: uppercase; letter-spacing: 0.05em; }
	.pw-cas-card__kpis dd {
		font-family: var(--pw-font-heading);
		font-weight: 700;
		font-size: 1.05rem;
		color: var(--pw-primary);
		margin: 0;
	}
	.pw-cas-card .pw-card__link { margin-top: auto; }

	/* ---------- FAQ ---------- */
	.pw-faq__inner { max-width: 880px; margin-inline: auto; }
	.pw-faq__head {
		text-align: center;
		margin-bottom: var(--space-7);
	}
	.pw-faq__list {
		display: grid;
		gap: var(--space-3);
	}
	.pw-faq__item {
		background: var(--pw-white);
		border: 1px solid var(--pw-line);
		border-radius: var(--r);
		transition: box-shadow var(--dur-base) var(--ease);
	}
	.pw-faq__item[open] { box-shadow: var(--shadow); border-color: transparent; }
	.pw-faq__q {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: var(--space-4);
		padding: var(--space-5);
		font-family: var(--pw-font-heading);
		font-weight: 600;
		font-size: 1.05rem;
		cursor: pointer;
		list-style: none;
	}
	.pw-faq__q::-webkit-details-marker { display: none; }
	.pw-faq__icon {
		display: inline-flex; align-items: center; justify-content: center;
		width: 32px; height: 32px;
		border-radius: var(--r-full);
		background: var(--pw-primary-50);
		color: var(--pw-primary);
		font-weight: 700;
		font-size: 1.25rem;
		flex-shrink: 0;
		transition: transform var(--dur-base) var(--ease);
	}
	.pw-faq__item[open] .pw-faq__icon { transform: rotate(45deg); }
	.pw-faq__a {
		padding: 0 var(--space-5) var(--space-5);
		color: var(--pw-muted);
		font-size: 0.95rem;
		line-height: 1.7;
	}
	.pw-faq__a p { margin-block: 0 var(--space-3); }
	.pw-faq__a p:last-child { margin-bottom: 0; }

	/* ---------- CTA final ---------- */
	.pw-cta-final__inner {
		text-align: center;
		max-width: 760px;
		margin: 0 auto;
		display: grid;
		gap: var(--space-5);
	}
	.pw-cta-final__title { margin: 0; }
	.pw-cta-final__body {
		color: rgba(255,255,255,0.86);
		font-size: var(--pw-fs-lg);
		line-height: 1.6;
	}
	.pw-cta-final__buttons {
		display: flex;
		justify-content: center;
		gap: var(--space-3);
		flex-wrap: wrap;
		margin-top: var(--space-2);
	}
	.pw-btn--ghost-light {
		background: transparent;
		color: var(--pw-white);
		border: 1.5px solid rgba(255,255,255,0.6);
	}
	.pw-btn--ghost-light:hover {
		background: var(--pw-white);
		color: var(--pw-deep);
	}
	.pw-cta-final__reassurance {
		font-size: 0.875rem;
		color: rgba(255,255,255,0.65);
	}

	/* ---------- Comparatif ---------- */
	.pw-comparatif__inner { max-width: 920px; margin-inline: auto; }
	.pw-comparatif__head { text-align: center; margin-bottom: var(--space-7); }
	.pw-comparatif__table {
		display: grid;
		border: 1px solid var(--pw-line);
		border-radius: var(--r-lg);
		overflow: hidden;
		background: var(--pw-white);
	}
	.pw-comparatif__row {
		display: grid;
		grid-template-columns: 1.2fr 1fr 1fr;
		gap: 0;
	}
	.pw-comparatif__row + .pw-comparatif__row { border-top: 1px solid var(--pw-line); }
	.pw-comparatif__cell {
		padding: var(--space-4) var(--space-5);
		display: flex;
		align-items: center;
		gap: var(--space-2);
		font-size: 0.95rem;
	}
	.pw-comparatif__cell--label {
		font-family: var(--pw-font-heading);
		font-weight: 600;
		background: var(--pw-surface);
	}
	.pw-comparatif__cell--left  { color: var(--pw-muted); }
	.pw-comparatif__cell--right { color: var(--pw-ink); background: rgba(30, 63, 171, 0.04); font-weight: 500; }
	.pw-comparatif__row--head .pw-comparatif__cell {
		font-family: var(--pw-font-heading);
		font-weight: 700;
		font-size: 0.8125rem;
		text-transform: uppercase;
		letter-spacing: 0.08em;
		color: var(--pw-muted);
		justify-content: center;
	}
	.pw-comparatif__row--head .pw-comparatif__cell--right { color: var(--pw-primary); }
	.pw-comparatif__icon {
		display: inline-flex; align-items: center; justify-content: center;
		width: 22px; height: 22px;
		border-radius: var(--r-full);
		font-weight: 700;
		font-size: 0.75rem;
		flex-shrink: 0;
	}
	.pw-comparatif__icon--yes { background: var(--pw-success); color: var(--pw-white); }
	.pw-comparatif__icon--no  { background: rgba(239, 68, 68, 0.12); color: var(--pw-danger); }
	@media (max-width: 639.98px) {
		.pw-comparatif__row,
		.pw-comparatif__row--head { grid-template-columns: 1fr; }
		.pw-comparatif__cell--label { font-size: 1rem; padding-block: var(--space-3); }
		.pw-comparatif__row--head .pw-comparatif__cell--label { display: none; }
	}

	/* ---------- Équipe ---------- */
	.pw-equipe__head { text-align: center; margin-bottom: var(--space-7); }
	.pw-equipe__grid { list-style: none; padding: 0; }
	.pw-equipe__member {
		text-align: center;
		display: grid;
		gap: var(--space-2);
	}
	.pw-equipe__photo {
		width: 160px;
		height: 160px;
		margin: 0 auto var(--space-3);
		border-radius: var(--r-full);
		overflow: hidden;
		background: var(--pw-surface);
	}
	.pw-equipe__photo img { width: 100%; height: 100%; object-fit: cover; }
	.pw-equipe__name { margin: 0; font-size: 1.125rem; }
	.pw-equipe__role { margin: 0; color: var(--pw-primary); font-family: var(--pw-font-heading); font-weight: 600; font-size: 0.875rem; }
	.pw-equipe__bio  { margin: 0; color: var(--pw-muted); font-size: 0.9rem; }
	.pw-equipe__linkedin {
		margin-top: var(--space-2);
		font-family: var(--pw-font-heading);
		font-weight: 600;
		font-size: 0.875rem;
	}

	/* ---------- Blog récent ---------- */
	.pw-blog-recent__head {
		text-align: center;
		max-width: 720px;
		margin: 0 auto var(--space-7);
	}
	.pw-blog-card { padding: 0; overflow: hidden; }
	.pw-blog-card__thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
	.pw-blog-card__body { padding: var(--space-5); display: grid; gap: var(--space-3); }
	.pw-blog-card__meta { color: var(--pw-muted); font-size: 0.85rem; margin: 0; }
	.pw-blog-card__title { margin: 0; font-size: 1.25rem; }
	.pw-blog-card__title a { color: var(--pw-ink); }
	.pw-blog-card__title a:hover { color: var(--pw-primary); }
	.pw-blog-card__excerpt { color: var(--pw-muted); margin: 0; }

	/* ---------- Archive hero (générique pour archives) ---------- */
	.pw-archive-hero {
		padding-block: clamp(48px, 6vw, 96px);
	}
	.pw-archive-hero__title {
		margin: var(--space-3) 0 var(--space-4);
	}
	.pw-archive-hero__lead {
		max-width: 60ch;
		margin: 0 auto;
	}

	/* ---------- Single cas client ---------- */
	.pw-cas-single__hero-grid {
		display: grid;
		gap: var(--space-7);
		grid-template-columns: 1fr;
		align-items: center;
	}
	@media (min-width: 1024px) {
		.pw-cas-single__hero-grid { grid-template-columns: 1.2fr 1fr; }
	}
	.pw-cas-single__title { margin: var(--space-3) 0; }
	.pw-cas-single__meta {
		display: flex;
		flex-wrap: wrap;
		gap: var(--space-3);
		color: var(--pw-muted);
		font-family: var(--pw-font-heading);
		font-size: 0.95rem;
		margin: 0;
	}
	.pw-cas-single__meta span + span::before {
		content: "·";
		margin-right: var(--space-3);
		color: var(--pw-line);
	}
	.pw-cas-single__photo img {
		width: 100%;
		aspect-ratio: 4 / 3;
		object-fit: cover;
		border-radius: var(--r-lg);
		box-shadow: var(--shadow-lg);
	}
	.pw-cas-single__h { margin-bottom: var(--space-5); }
	.pw-cas-single__kpis-grid { list-style: none; padding: 0; }
	.pw-cas-single__story-grid {
		display: grid;
		gap: var(--space-7);
		grid-template-columns: 1fr;
	}
	@media (min-width: 1024px) {
		.pw-cas-single__story-grid { grid-template-columns: repeat(3, 1fr); }
	}
	.pw-cas-single__story-block {
		padding: var(--space-6);
		background: var(--pw-surface);
		border-radius: var(--r-lg);
	}
	.pw-cas-single__story-block .pw-cas-single__h {
		font-size: 1.5rem;
		margin-bottom: var(--space-4);
	}
	.pw-cas-single__wysiwyg p { margin-bottom: var(--space-3); color: var(--pw-ink); }
	.pw-cas-single__wysiwyg p:last-child { margin-bottom: 0; }
	.pw-cas-single__wysiwyg ul,
	.pw-cas-single__wysiwyg ol { margin: var(--space-3) 0; padding-left: var(--space-5); }
	.pw-cas-single__verbatim {
		max-width: 760px;
		margin-inline: auto;
		padding: var(--space-7) var(--space-6);
		background: var(--pw-white);
		border-radius: var(--r-lg);
		box-shadow: var(--shadow);
		font-family: var(--pw-font-display);
		font-style: italic;
		font-size: 1.25rem;
		line-height: 1.6;
		text-align: center;
		border-left: none;
	}
	.pw-cas-single__verbatim p { margin-bottom: var(--space-4); }
	.pw-cas-single__verbatim footer {
		font-family: var(--pw-font-heading);
		font-style: normal;
		font-size: 0.95rem;
		color: var(--pw-muted);
		font-weight: 600;
	}

	/* ---------- Single service ---------- */
	.pw-service__hero-grid {
		display: grid;
		gap: var(--space-7);
		grid-template-columns: 1fr;
		align-items: center;
	}
	@media (min-width: 1024px) {
		.pw-service__hero-grid { grid-template-columns: 1.4fr 1fr; }
	}
	.pw-service__title { margin: var(--space-3) 0 var(--space-4); }
	.pw-service__lead { margin-bottom: var(--space-5); max-width: 56ch; }
	.pw-service__icon {
		max-width: 320px;
		margin-left: auto;
	}
	.pw-service__icon img { width: 100%; height: auto; }

	/* ---------- Single article (blog) ---------- */
	.pw-post__header-inner,
	.pw-post__content-inner {
		max-width: 760px;
		margin-inline: auto;
	}
	.pw-post__meta {
		color: var(--pw-muted);
		font-size: 0.85rem;
		text-transform: uppercase;
		letter-spacing: 0.06em;
		margin-bottom: var(--space-4);
	}
	.pw-post__title { margin-bottom: var(--space-4); }
	.pw-post__excerpt { max-width: 60ch; margin: 0; }
	.pw-post__thumb {
		margin-block: var(--space-5) var(--space-7);
	}
	.pw-post__thumb img {
		width: 100%;
		height: auto;
		border-radius: var(--r-lg);
		box-shadow: var(--shadow);
	}
	.pw-post__content-inner p,
	.pw-post__content-inner ul,
	.pw-post__content-inner ol,
	.pw-post__content-inner blockquote {
		margin-block: 0 var(--space-4);
	}
	.pw-post__content-inner h2 {
		margin-block: var(--space-7) var(--space-4);
		font-size: 1.875rem;
	}
	.pw-post__content-inner h3 {
		margin-block: var(--space-5) var(--space-3);
		font-size: 1.375rem;
	}
	.pw-post__content-inner blockquote {
		padding: var(--space-4) var(--space-5);
		background: var(--pw-surface);
		border-left: 4px solid var(--pw-primary);
		border-radius: var(--r);
		font-style: italic;
	}
	.pw-post__content-inner img {
		border-radius: var(--r);
		margin-block: var(--space-5);
	}
	.pw-post__content-inner code {
		background: var(--pw-surface);
		padding: 2px 6px;
		border-radius: 4px;
		font-size: 0.9em;
	}

	/* ---------- Pagination ---------- */
	.wp-pagenavi,
	.pagination,
	.nav-links {
		display: flex;
		justify-content: center;
		gap: var(--space-2);
		margin-top: var(--space-7);
	}
	.nav-links a,
	.nav-links span {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 40px;
		padding: 8px 14px;
		border: 1px solid var(--pw-line);
		border-radius: var(--r-sm);
		font-family: var(--pw-font-heading);
		font-weight: 600;
		font-size: 0.9rem;
		background: var(--pw-white);
		color: var(--pw-ink);
		text-decoration: none;
		transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
	}
	.nav-links a:hover { background: var(--pw-primary); color: var(--pw-white); border-color: var(--pw-primary); }
	.nav-links .current { background: var(--pw-primary); color: var(--pw-white); border-color: var(--pw-primary); }

	/* ---------- Widget preuve sociale ---------- */
	.pw-social-proof {
		position: fixed;
		left: 16px;
		bottom: 16px;
		max-width: 320px;
		padding: var(--space-3) var(--space-4) var(--space-3) var(--space-3);
		background: var(--pw-white);
		border-radius: var(--r-lg);
		box-shadow: var(--shadow-lg);
		border: 1px solid var(--pw-line);
		font-size: 0.875rem;
		line-height: 1.4;
		z-index: var(--z-sticky);
		display: flex;
		gap: var(--space-2);
		transform: translateY(20px);
		opacity: 0;
		transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
		pointer-events: none;
	}
	.pw-social-proof.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
	@media (max-width: 767.98px) { .pw-social-proof { display: none; } }
	.pw-social-proof__inner { position: relative; min-height: 56px; flex: 1; }
	.pw-social-proof__item {
		position: absolute;
		inset: 0;
		margin: 0;
		opacity: 0;
		transition: opacity var(--dur-base) var(--ease);
		color: var(--pw-ink);
	}
	.pw-social-proof__item[data-active="true"] { opacity: 1; position: relative; }
	.pw-social-proof::before {
		content: "";
		display: block;
		width: 8px;
		height: 8px;
		background: var(--pw-success);
		border-radius: var(--r-full);
		flex-shrink: 0;
		margin-top: 6px;
		box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
		animation: pw-pulse 1.6s ease-in-out infinite;
	}
	@keyframes pw-pulse {
		0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2); }
		50%      { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.05); }
	}
	.pw-social-proof__close {
		position: absolute;
		top: 4px; right: 4px;
		width: 20px; height: 20px;
		color: var(--pw-muted);
		font-size: 1.1rem;
		line-height: 1;
	}

	/* ---------- Modals génériques ---------- */
	.pw-modal {
		position: fixed;
		inset: 0;
		z-index: var(--z-modal);
		display: flex;
		align-items: center;
		justify-content: center;
		padding: var(--space-4);
		opacity: 0;
		transition: opacity var(--dur-base) var(--ease);
	}
	.pw-modal[hidden] { display: none; }
	.pw-modal.is-open { opacity: 1; }
	.pw-modal__backdrop {
		position: absolute;
		inset: 0;
		background: rgba(15, 31, 92, 0.6);
		backdrop-filter: blur(4px);
	}
	.pw-modal__dialog {
		position: relative;
		background: var(--pw-white);
		border-radius: var(--r-lg);
		box-shadow: var(--shadow-lg);
		max-width: 520px;
		width: 100%;
		max-height: 90vh;
		overflow: auto;
		transform: scale(0.96) translateY(10px);
		transition: transform var(--dur-base) var(--ease-out);
	}
	.pw-modal.is-open .pw-modal__dialog { transform: scale(1) translateY(0); }
	.pw-modal__dialog--lg { max-width: 800px; }
	.pw-modal__header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: var(--space-4) var(--space-5);
		border-bottom: 1px solid var(--pw-line);
	}
	.pw-modal__title {
		font-family: var(--pw-font-heading);
		font-size: 1.125rem;
		font-weight: 700;
		margin: 0;
	}
	.pw-modal__close {
		width: 36px;
		height: 36px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		font-size: 1.5rem;
		color: var(--pw-muted);
		border-radius: var(--r-full);
		position: absolute;
		top: 12px;
		right: 12px;
	}
	.pw-modal__header .pw-modal__close { position: static; }
	.pw-modal__close:hover { background: var(--pw-surface); color: var(--pw-ink); }
	.pw-modal__body { padding: var(--space-6); }
	.pw-modal__body--noscroll { padding: 0; }
	.pw-modal__body--noscroll iframe {
		width: 100%;
		height: 70vh;
		border: 0;
		display: block;
	}
	.pw-modal__exit-title { font-size: 1.5rem; margin-block: var(--space-3) var(--space-3); }
	.pw-modal__small {
		margin-top: var(--space-4);
		font-size: 0.8rem;
		color: var(--pw-muted);
	}

	/* ---------- Calculateur ---------- */
	.pw-calc__inner { max-width: 960px; margin-inline: auto; }
	.pw-calc__head { text-align: center; margin-bottom: var(--space-7); }
	.pw-calc__widget {
		background: var(--pw-white);
		border: 1px solid var(--pw-line);
		border-radius: var(--r-lg);
		padding: var(--space-7);
		box-shadow: var(--shadow);
	}
	.pw-calc__form {
		display: grid;
		gap: var(--space-5);
		grid-template-columns: 1fr;
	}
	@media (min-width: 768px) {
		.pw-calc__form {
			grid-template-columns: 1fr 1fr;
		}
		.pw-calc__zone { grid-column: 1 / -1; }
		.pw-calc__submit { grid-column: 1 / -1; justify-self: start; }
	}
	.pw-calc__field { display: grid; gap: var(--space-2); }
	.pw-calc__field label,
	.pw-calc__zone legend {
		font-family: var(--pw-font-heading);
		font-weight: 600;
		font-size: 0.875rem;
		color: var(--pw-ink);
	}
	.pw-calc__field select,
	.pw-calc__field input[type="text"] {
		padding: 12px 14px;
		border: 1px solid var(--pw-line);
		border-radius: var(--r);
		background: var(--pw-white);
		font-size: 1rem;
		transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
	}
	.pw-calc__field select:focus,
	.pw-calc__field input:focus {
		outline: none;
		border-color: var(--pw-primary);
		box-shadow: 0 0 0 3px rgba(30, 63, 171, 0.15);
	}
	.pw-calc__zone {
		display: flex;
		flex-wrap: wrap;
		gap: var(--space-4);
		padding: 0;
		border: 0;
	}
	.pw-calc__zone label {
		display: inline-flex;
		align-items: center;
		gap: var(--space-2);
		padding: 8px 14px;
		border: 1px solid var(--pw-line);
		border-radius: var(--r-full);
		cursor: pointer;
		font-weight: 500;
		transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
	}
	.pw-calc__zone label:has(input:checked) {
		background: var(--pw-primary);
		color: var(--pw-white);
		border-color: var(--pw-primary);
	}
	.pw-calc__zone input { appearance: none; -webkit-appearance: none; width: 0; height: 0; margin: 0; }
	.pw-calc__result {
		margin-top: var(--space-7);
		padding: var(--space-6);
		background: var(--pw-primary-50);
		border-radius: var(--r-lg);
		text-align: center;
	}
	.pw-calc__result-lead {
		font-family: var(--pw-font-heading);
		font-weight: 500;
		color: var(--pw-ink);
		margin-bottom: var(--space-5);
	}
	.pw-calc__numbers {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: var(--space-4);
		margin-bottom: var(--space-5);
	}
	@media (max-width: 639.98px) {
		.pw-calc__numbers { grid-template-columns: 1fr; }
	}
	.pw-calc__num {
		display: block;
		font-family: var(--pw-font-display);
		font-weight: 700;
		font-size: clamp(2rem, 4vw, 3rem);
		color: var(--pw-deep);
		font-variant-numeric: tabular-nums;
		line-height: 1;
	}
	.pw-calc__num--accent { color: var(--pw-primary); }
	.pw-calc__lbl {
		display: block;
		margin-top: var(--space-2);
		font-size: 0.85rem;
		color: var(--pw-muted);
	}
	.pw-calc__cta { margin-top: var(--space-2); }

	/* ---------- Cal.com trigger ---------- */
	.pw-calcom-trigger { text-align: center; padding-block: var(--space-3); }

	/* ---------- RDV inline (page service) ---------- */
	.pw-rdv-inline { padding-block: clamp(56px, 7vw, 96px); }
	.pw-rdv-inline__grid {
		display: grid;
		gap: var(--space-7);
		align-items: start;
		grid-template-columns: 1fr;
	}
	@media (min-width: 1024px) {
		.pw-rdv-inline__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
	}
	.pw-rdv-inline__head {
		display: grid;
		gap: var(--space-3);
		align-self: center;
	}
	.pw-rdv-inline__title {
		color: var(--pw-primary);
		margin: 0;
	}
	.pw-rdv-inline__lead {
		color: var(--pw-ink);
		font-size: var(--pw-fs-base);
		line-height: 1.6;
		margin: 0;
	}
	.pw-rdv-inline__lead strong { color: var(--pw-primary); font-weight: 700; }
	.pw-rdv-inline__perks {
		list-style: none;
		padding: 0;
		margin: var(--space-3) 0 0;
		display: flex;
		flex-wrap: wrap;
		gap: var(--space-4);
		font-family: var(--pw-font-heading);
		font-size: 0.95rem;
		font-weight: 500;
		color: var(--pw-ink);
	}
	.pw-rdv-inline__perks li {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		padding: 8px 14px;
		background: var(--pw-white);
		border: 1px solid var(--pw-line);
		border-radius: var(--r-full);
	}
	.pw-rdv-inline__embed {
		background: var(--pw-white);
		border: 1px solid var(--pw-line);
		border-radius: var(--r-lg);
		overflow: hidden;
		box-shadow: var(--shadow);
		min-height: 720px;
	}
	.pw-rdv-inline__embed iframe {
		width: 100%;
		height: 720px;
		border: 0;
		display: block;
	}
	@media (max-width: 767.98px) {
		.pw-rdv-inline__embed,
		.pw-rdv-inline__embed iframe { min-height: 820px; height: 820px; }
		.pw-rdv-inline__perks { gap: 8px; font-size: 0.85rem; }
		.pw-rdv-inline__perks li { padding: 6px 10px; }
	}
}

/* =============================================================
 * OVERRIDES — HORS @layer (priorité maximale)
 *
 * Les règles dans @layer sont moins prioritaires que les règles
 * non-layered (du core WP et du wp-block-library). Cette section
 * réassure les styles critiques pour qu'ils gagnent.
 * ============================================================= */

/* ---------- Typographie de base (assure la taille des titres) ---------- */
h1 {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-size: clamp(2.25rem, 4vw + 1rem, 4.5rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--pw-ink);
}
h2 {
	font-family: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: clamp(1.75rem, 2.5vw + 0.5rem, 3rem);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.015em;
	color: var(--pw-ink);
}
h3 {
	font-family: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: clamp(1.375rem, 1vw + 1rem, 2rem);
	font-weight: 600;
	line-height: 1.25;
	color: var(--pw-ink);
}
.pw-section--dark h1,
.pw-section--dark h2,
.pw-section--dark h3 { color: var(--pw-white); }

/* ---------- Boutons : couleurs forcées ---------- */
.pw-btn { color: inherit; }
.pw-btn.pw-btn--primary,
a.pw-btn--primary {
	background-color: #1E3FAB;
	color: #FFFFFF;
}
.pw-btn.pw-btn--primary:hover,
a.pw-btn--primary:hover {
	background-color: #172F82;
	color: #FFFFFF;
}
.pw-btn.pw-btn--ghost,
a.pw-btn--ghost {
	background-color: transparent;
	color: #1E3FAB;
	border: 1.5px solid #1E3FAB;
}
.pw-btn.pw-btn--ghost:hover,
a.pw-btn--ghost:hover {
	background-color: #1E3FAB;
	color: #FFFFFF;
}
.pw-btn.pw-btn--light,
a.pw-btn--light {
	background-color: #FFFFFF;
	color: #0F1F5C;
}
.pw-btn.pw-btn--light:hover,
a.pw-btn--light:hover {
	background-color: #EEF1FB;
	color: #0F1F5C;
}
.pw-btn.pw-btn--ghost-light,
a.pw-btn--ghost-light {
	background-color: transparent;
	color: #FFFFFF;
	border: 1.5px solid rgba(255,255,255,0.6);
}
.pw-btn.pw-btn--ghost-light:hover,
a.pw-btn--ghost-light:hover {
	background-color: #FFFFFF;
	color: #0F1F5C;
}

/* ---------- Header : burger caché en desktop ---------- */
@media (min-width: 1024px) {
	.pw-header__burger { display: none; }
	.pw-header__nav { display: flex; }
}
.pw-header__cta { padding: 12px 22px; }

/* ---------- Overrides spécifiques (battent h2/h3 universels) ---------- */
.pw-footer__title {
	font-family: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	line-height: 1.4;
}
.pw-footer__brand-text {
	font-family: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.02em;
}
.pw-modal__title { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.pw-modal__exit-title { font-size: 1.5rem; font-weight: 700; line-height: 1.25; }
.pw-blog-card__title,
.pw-cas-card__title,
.pw-methode__step-title,
.pw-pour-qui__label,
.pw-card__title {
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
}
.pw-pourquoi__title-item { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.pw-equipe__name { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.pw-cas-single__story-block .pw-cas-single__h { font-size: 1.5rem; line-height: 1.25; }
.pw-temoignage__quote {
	font-size: 1rem;
	font-weight: 400;
	font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
	line-height: 1.55;
}
.pw-post__content-inner h2 { font-size: 1.875rem; line-height: 1.25; }
.pw-post__content-inner h3 { font-size: 1.375rem; line-height: 1.3; }
.pw-counter__label,
.pw-kpi__label,
.pw-calc__lbl,
.pw-cas-card__meta,
.pw-blog-card__meta,
.pw-post__meta {
	font-family: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 500;
	font-size: 0.875rem;
	line-height: 1.4;
}
.pw-faq__q {
	font-family: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.4;
}
.pw-eyebrow {
	font-family: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	line-height: 1.4;
}
.pw-lead {
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.6;
}

/* ---------- Footer : forcer textes blancs ---------- */
.pw-footer,
.pw-footer p,
.pw-footer li,
.pw-footer h1,
.pw-footer h2,
.pw-footer h3,
.pw-footer span {
	color: #FFFFFF;
}
.pw-footer a {
	color: #FFFFFF;
	opacity: 0.86;
}
.pw-footer a:hover { opacity: 1; color: #FFFFFF; }
.pw-footer .pw-footer__brand-text,
.pw-footer .pw-footer__title {
	color: #FFFFFF;
	opacity: 1;
}
.pw-footer .pw-footer__pitch { color: rgba(255,255,255,0.78); }
.pw-footer .pw-footer__tagline {
	color: #FFFFFF;
	font-weight: 700;
	letter-spacing: 0.02em;
}
.pw-footer .pw-footer__legal,
.pw-footer .pw-footer__legal-menu,
.pw-footer .pw-footer__legal-menu a { color: rgba(255,255,255,0.75); }

/* ---------- Section dark : textes blancs ---------- */
.pw-section--dark,
.pw-section--dark p,
.pw-section--dark li,
.pw-section--dark blockquote,
.pw-section--dark dt,
.pw-section--dark dd,
.pw-section--dark span {
	color: #FFFFFF;
}
.pw-section--dark a:not(.pw-btn) { color: #EEF1FB; }
.pw-section--dark .pw-lead { color: rgba(255,255,255,0.78); }
.pw-section--dark .pw-eyebrow { color: #EEF1FB; }
/* CTA final sur fond foncé : corps + réassurance toujours lisibles
   (règles globales 0,2,0 pour gagner sur les variantes en média-query). */
.pw-section--dark .pw-cta-final__body { color: rgba(255,255,255,0.92); }
.pw-section--dark .pw-cta-final__reassurance { color: rgba(255,255,255,0.72); }

/* ---------- Cartes de contact (page Contact) ---------- */
.pw-contact-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-5);
	max-width: 720px;
	margin: var(--space-6) auto;
}
.pw-contact-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: var(--space-2);
	padding: var(--space-7) var(--space-5);
	background: var(--pw-white);
	border: 1px solid var(--pw-line);
	border-radius: var(--r-lg);
	box-shadow: 0 10px 30px rgba(16, 24, 64, 0.06);
	color: inherit;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pw-contact-card:hover,
.pw-contact-card:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 16px 40px rgba(16, 24, 64, 0.12);
	border-color: var(--pw-primary);
}
.pw-contact-card__icon { color: var(--pw-primary); display: inline-flex; }
.pw-contact-card__label {
	font-family: var(--pw-font-heading);
	font-weight: 700;
	font-size: var(--pw-fs-lg);
	color: var(--pw-ink);
}
.pw-contact-card__value { color: var(--pw-muted); font-size: 0.95rem; }
@media (max-width: 640px) {
	.pw-contact-cards { grid-template-columns: 1fr; }
}

/* ---------- Boutons flottants : contact rapide (WhatsApp + appel) ---------- */
.pw-fab {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 90;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.pw-fab__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 52px;
	padding: 0 18px;
	border-radius: var(--r-full);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1;
	box-shadow: 0 8px 24px rgba(16, 24, 64, 0.22);
	transition: transform .15s ease, box-shadow .15s ease;
}
.pw-fab__btn:hover,
.pw-fab__btn:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(16, 24, 64, 0.30);
}
.pw-fab__btn svg { width: 24px; height: 24px; flex: 0 0 auto; }
.pw-fab__btn--wa   { background: #25D366; }
.pw-fab__btn--call { background: var(--pw-primary); }
@media (max-width: 600px) {
	.pw-fab { left: 12px; bottom: 12px; gap: 8px; }
	.pw-fab__btn { height: 48px; padding: 0 14px; font-size: 0.9rem; }
}
@media print { .pw-fab { display: none; } }

/* ---------- Badges de réassurance (footer) ---------- */
.pw-footer__badges { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.pw-footer__badges-inner {
	list-style: none;
	margin: 0 auto;
	padding: var(--space-5) var(--space-5);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-5) var(--space-7);
}
.pw-footer__badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.9rem;
	font-weight: 600;
}
.pw-footer__badge-icon { display: inline-flex; color: #EEF1FB; }
.pw-footer__badge-icon svg { width: 20px; height: 20px; }

/* ---------- Page Tarifs ---------- */
.pw-pricing { max-width: 1040px; margin: var(--space-7) auto; }
.pw-pricing__cat { margin-bottom: var(--space-8, 64px); }
.pw-pricing__cat-title { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: var(--space-2); }
.pw-pricing__cat-note { color: var(--pw-muted); margin-bottom: var(--space-5); }
.pw-pricing__grid {
	list-style: none; margin: 0; padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: var(--space-5);
}
.pw-pricing__item {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	padding: var(--space-5);
	background: var(--pw-white);
	border: 1px solid var(--pw-line);
	border-radius: var(--r-lg);
	box-shadow: 0 6px 20px rgba(16, 24, 64, 0.05);
}
.pw-pricing__item-head { display: flex; flex-direction: column; gap: 4px; }
.pw-pricing__item-title { font-size: 1.05rem; margin: 0; }
.pw-pricing__price { margin: 0; font-size: 1.25rem; }
.pw-pricing__price strong { color: var(--pw-primary); }
.pw-pricing__unit { color: var(--pw-muted); font-size: 0.85rem; font-weight: 500; }
.pw-pricing__desc { color: var(--pw-muted); font-size: 0.9rem; line-height: 1.5; margin: 0; flex: 1; }
.pw-pricing__badge {
	align-self: flex-start;
	margin-top: auto;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: var(--r-full);
}
.pw-pricing__badge--one_shot { background: var(--pw-primary-50); color: var(--pw-primary-700); }
.pw-pricing__badge--mensuel  { background: #E8F7EE; color: #1B7F4B; }
.pw-pricing__badge--annuel   { background: #FFF4E5; color: #B26A00; }
.pw-pricing__disclaimer { text-align: center; color: var(--pw-muted); font-size: 0.85rem; margin-top: var(--space-6); }
.pw-pricing__cta { text-align: center; margin-top: var(--space-5); }

/* ---------- Assistant Némo (chat 24/7) ---------- */
.pw-assistant { position: fixed; right: 16px; bottom: 16px; z-index: 95; }
.pw-assistant__toggle {
	display: inline-flex; align-items: center; gap: 8px;
	height: 52px; padding: 0 18px; border: 0; cursor: pointer;
	border-radius: var(--r-full); background: var(--pw-deep); color: #fff;
	font-weight: 600; font-size: 0.95rem; font-family: inherit; line-height: 1;
	box-shadow: 0 8px 24px rgba(16, 24, 64, 0.28);
	transition: transform .15s ease, box-shadow .15s ease;
}
.pw-assistant__toggle:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(16, 24, 64, 0.34); }
.pw-assistant__toggle svg { width: 22px; height: 22px; flex: 0 0 auto; }
.pw-assistant.is-open .pw-assistant__toggle { display: none; }

.pw-assistant__panel {
	position: absolute; right: 0; bottom: 0;
	width: min(380px, calc(100vw - 32px));
	height: min(560px, calc(100vh - 110px));
	display: flex; flex-direction: column;
	background: #fff; border-radius: 16px; overflow: hidden;
	border: 1px solid var(--pw-line);
	box-shadow: 0 20px 60px rgba(16, 24, 64, 0.32);
}
.pw-assistant__head {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding: 14px 16px; background: var(--pw-deep); color: #fff;
}
.pw-assistant__head-id { display: flex; align-items: center; gap: 10px; }
.pw-assistant__avatar {
	width: 36px; height: 36px; border-radius: 50%; flex: 0 0 auto;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--pw-primary); color: #fff; font-weight: 700;
}
.pw-assistant__title { margin: 0; font-weight: 700; font-size: 0.95rem; }
.pw-assistant__status { margin: 0; font-size: 0.75rem; opacity: .85; }
.pw-assistant__status::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #34d399; margin-right: 5px; vertical-align: middle; }
.pw-assistant__close { background: transparent; border: 0; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; opacity: .85; }
.pw-assistant__close:hover { opacity: 1; }

.pw-assistant__messages {
	flex: 1; overflow-y: auto; padding: 16px; background: #f6f7fb;
	display: flex; flex-direction: column; gap: 10px;
}
.pw-msg { max-width: 82%; padding: 9px 13px; border-radius: 14px; line-height: 1.45; font-size: 0.92rem; white-space: pre-wrap; word-wrap: break-word; }
.pw-msg--user { align-self: flex-end; background: var(--pw-primary); color: #fff; border-bottom-right-radius: 4px; }
.pw-msg--bot { align-self: flex-start; background: #fff; color: var(--pw-ink); border: 1px solid var(--pw-line); border-bottom-left-radius: 4px; }
.pw-msg__tag { display: block; font-size: 0.7rem; font-weight: 700; color: var(--pw-primary); margin-bottom: 2px; }
.pw-msg__dots { display: inline-flex; gap: 4px; align-items: center; }
.pw-msg__dots i { width: 6px; height: 6px; border-radius: 50%; background: #9aa3b2; animation: pw-typing 1s infinite ease-in-out; }
.pw-msg__dots i:nth-child(2) { animation-delay: .15s; }
.pw-msg__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes pw-typing { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.pw-assistant__form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--pw-line); background: #fff; }
.pw-assistant__input { flex: 1; min-width: 0; border: 1px solid var(--pw-line); border-radius: var(--r-full); padding: 10px 14px; font-family: inherit; font-size: 0.92rem; }
.pw-assistant__input:focus { outline: none; border-color: var(--pw-primary); }
.pw-assistant__send { flex: 0 0 auto; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--pw-primary); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.pw-assistant__send svg { width: 20px; height: 20px; }
.pw-assistant__legal { margin: 0; padding: 0 12px 10px; font-size: 0.7rem; color: var(--pw-muted); text-align: center; background: #fff; }

@media (max-width: 600px) {
	.pw-assistant { right: 12px; bottom: 12px; }
	.pw-assistant__toggle-label { display: none; }
	.pw-assistant__panel { width: calc(100vw - 24px); height: calc(100vh - 90px); }
}

/* ---------- Rappel express (bandeau) ---------- */
.pw-rappel__inner {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: var(--space-7);
	align-items: center;
}
.pw-rappel__title { margin: 0 0 var(--space-2); }
.pw-rappel__lead { margin: 0; }
.pw-rappel__form { display: flex; flex-direction: column; gap: 12px; }
.pw-rappel__row { display: flex; gap: 12px; }
.pw-rappel__form input[type="text"],
.pw-rappel__form input[type="tel"] {
	flex: 1; min-width: 0;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.96);
	color: var(--pw-ink);
	border-radius: var(--r-full);
	padding: 12px 16px; font-family: inherit; font-size: 0.95rem;
}
.pw-rappel__form input:focus { outline: 2px solid var(--pw-primary-50); }
.pw-rappel__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; }
.pw-rappel__consent { display: flex; align-items: flex-start; gap: 8px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.85); }
.pw-rappel__submit { align-self: flex-start; }
.pw-rappel__msg { margin: 0; font-size: 0.9rem; min-height: 1.2em; color: #ffd9d9; }
.pw-rappel__msg.is-success { color: #b9f5cf; }
@media (max-width: 768px) {
	.pw-rappel__inner { grid-template-columns: 1fr; gap: var(--space-5); }
	.pw-rappel__row { flex-direction: column; }
	.pw-rappel__submit { align-self: stretch; }
}

/* ---------- Preuves de résultats ---------- */
.pw-preuves {
	/* Palette dédiée à la section (charte PROXYWEB). */
	--c-blue: #004AAD;
	--c-navy: #0C2A5E;
	--c-gold: #FFD23F;
	--c-bg:   #F3F7FF;
	--c-grey: #5a6b85;
	background: var(--c-bg);
}
.pw-preuves__head { text-align: center; max-width: 720px; margin: 0 auto var(--space-7); }
.pw-preuves .pw-eyebrow { color: var(--c-blue); }
.pw-preuves__title { color: var(--c-navy); }
.pw-preuves__subtitle { color: var(--c-grey); }
.pw-preuves__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-5);
}
.pw-preuves__card {
	background: #fff;
	border: 1px solid #e2eaf6;
	border-radius: var(--r-lg);
	padding: var(--space-5);
	box-shadow: 0 10px 30px rgba(0, 74, 173, 0.06);
}
.pw-preuves__card-head {
	display: flex; align-items: center; gap: 10px;
	padding-bottom: var(--space-4); margin-bottom: var(--space-4);
	border-bottom: 1px solid #eef3fb;
}
.pw-preuves__icon {
	width: 38px; height: 38px; flex: 0 0 auto; border-radius: 10px;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(0, 74, 173, 0.1); color: var(--c-blue);
}
.pw-preuves__icon svg { width: 20px; height: 20px; }
.pw-preuves__source { font-family: var(--pw-font-heading); font-weight: 700; color: var(--c-navy); }
.pw-preuves__period {
	margin-left: auto; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
	color: var(--c-navy); background: var(--c-gold); padding: 4px 10px; border-radius: var(--r-full);
}
.pw-preuves__body { display: grid; gap: var(--space-5); }
.pw-preuves__stats {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4);
}
.pw-stat { text-align: center; }
.pw-stat__num {
	display: block; font-family: var(--pw-font-heading); font-weight: 800; line-height: 1;
	font-size: clamp(1.6rem, 4vw, 2.3rem); color: var(--c-blue);
}
.pw-stat__label { display: block; margin-top: 6px; font-size: 0.82rem; color: var(--c-grey); }
.pw-preuves__shot { margin: 0; }
.pw-preuves__shot img { width: 100%; height: auto; border-radius: 10px; border: 1px solid #e2eaf6; }

.pw-preuves__banner {
	margin-top: var(--space-6);
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4);
	padding: var(--space-5) var(--space-6);
	border-radius: var(--r-lg);
	background: linear-gradient(120deg, var(--c-blue), var(--c-navy));
	color: #fff;
}
.pw-preuves__banner-text { margin: 0; font-size: 1.1rem; font-weight: 600; }

@media (max-width: 900px) {
	.pw-preuves__cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.pw-preuves__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
	.pw-preuves__banner { flex-direction: column; text-align: center; }
}

/* ---------- Configurateur de prix ---------- */
.pw-cfg__head { text-align: center; max-width: 680px; margin: 0 auto var(--space-7); }
.pw-cfg__grid {
	display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-6);
	align-items: start; max-width: 960px; margin: 0 auto;
}
.pw-cfg__form { display: flex; flex-direction: column; gap: var(--space-5); }
.pw-cfg__field { display: flex; flex-direction: column; gap: 6px; }
.pw-cfg__field > label, .pw-cfg__options legend { font-weight: 600; color: var(--pw-ink); font-size: 0.95rem; }
.pw-cfg__field select,
.pw-cfg__field input[type="number"] {
	border: 1px solid var(--pw-line); border-radius: 10px; padding: 11px 14px;
	font-family: inherit; font-size: 0.95rem; background: #fff;
}
.pw-cfg__field select:focus,
.pw-cfg__field input:focus { outline: none; border-color: var(--pw-primary); }
.pw-cfg__note { margin: 0; font-size: 0.82rem; color: var(--pw-muted); }
.pw-cfg__options { border: 0; padding: 0; margin: 0; }
.pw-cfg__opt { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 0.92rem; }
.pw-cfg__opt-price { margin-left: auto; color: var(--pw-primary); font-weight: 600; font-size: 0.85rem; }

.pw-cfg__result {
	position: sticky; top: 90px;
	background: #fff; border: 1px solid var(--pw-line); border-radius: var(--r-lg);
	padding: var(--space-6); text-align: center;
	box-shadow: 0 12px 36px rgba(16, 24, 64, 0.08);
}
.pw-cfg__result-label { margin: 0; font-size: 0.78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--pw-muted); }
.pw-cfg__price { margin: 6px 0 2px; font-family: var(--pw-font-heading); font-weight: 800; font-size: clamp(2rem, 6vw, 2.8rem); color: var(--pw-primary); line-height: 1.1; }
.pw-cfg__price small, .pw-cfg__monthly small { display: block; font-size: 0.8rem; font-weight: 500; color: var(--pw-muted); }
.pw-cfg__monthly { margin: 0 0 6px; font-family: var(--pw-font-heading); font-weight: 700; font-size: 1.4rem; color: var(--pw-ink); }
.pw-cfg__acompte { margin: 8px 0 14px; font-size: 0.9rem; color: var(--pw-muted); }
.pw-cfg__cta { width: 100%; }
.pw-cfg__disclaimer { margin: 12px 0 0; font-size: 0.74rem; color: var(--pw-muted); }

@media (max-width: 768px) {
	.pw-cfg__grid { grid-template-columns: 1fr; }
	.pw-cfg__result { position: static; }
}

/* ---------- Lead magnet ---------- */
.pw-lm__inner {
	display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-7); align-items: center;
	background: linear-gradient(120deg, var(--pw-primary-50), #fff);
	border: 1px solid var(--pw-line); border-radius: var(--r-lg);
	padding: var(--space-7);
}
.pw-lm__title { margin: 0 0 var(--space-3); color: var(--pw-deep); }
.pw-lm__lead { margin: 0 0 var(--space-4); }
.pw-lm__bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pw-lm__bullets li { display: flex; gap: 8px; font-size: 0.92rem; color: var(--pw-ink); }
.pw-lm__bullets span { color: var(--pw-primary); font-weight: 700; }
.pw-lm__panel { background: #fff; border: 1px solid var(--pw-line); border-radius: var(--r-lg); padding: var(--space-5); box-shadow: 0 12px 36px rgba(16, 24, 64, 0.08); }
.pw-lm__form { display: flex; flex-direction: column; gap: 12px; }
.pw-lm__label { font-weight: 600; font-size: 0.95rem; }
.pw-lm__form input[type="email"] { border: 1px solid var(--pw-line); border-radius: 10px; padding: 12px 14px; font-family: inherit; font-size: 0.95rem; }
.pw-lm__form input[type="email"]:focus { outline: none; border-color: var(--pw-primary); }
.pw-lm__hp { position: absolute !important; left: -9999px !important; }
.pw-lm__consent { display: flex; align-items: flex-start; gap: 8px; font-size: 0.82rem; color: var(--pw-muted); }
.pw-lm__msg { margin: 0; font-size: 0.9rem; min-height: 1.1em; color: #b42318; }
.pw-lm__msg.is-success { color: #1b7f4b; }
.pw-lm__download { width: 100%; }
@media (max-width: 768px) {
	.pw-lm__inner { grid-template-columns: 1fr; gap: var(--space-5); padding: var(--space-5); }
}

/* ---------- Checklist (page ressource) ---------- */
.pw-checklist { list-style: none; counter-reset: pw-check; margin: var(--space-6) 0; padding: 0; max-width: 760px; }
.pw-checklist li {
	counter-increment: pw-check; position: relative;
	padding: 16px 16px 16px 56px; margin-bottom: 12px;
	background: var(--pw-white); border: 1px solid var(--pw-line); border-radius: 12px; line-height: 1.5;
}
.pw-checklist li::before {
	content: counter(pw-check); position: absolute; left: 14px; top: 16px;
	width: 28px; height: 28px; border-radius: 50%; background: var(--pw-primary); color: #fff;
	display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem;
}
@media print {
	.pw-header, .pw-footer, .pw-fab, .pw-assistant, .pw-cta-final { display: none !important; }
	.pw-checklist li { break-inside: avoid; }
}

/* ---------- Maillage villes (pages locales SEO) ---------- */
.pw-zones { max-width: 960px; margin: var(--space-7) auto; padding: 0 var(--space-5); }
.pw-zones h2 { text-align: center; font-size: 1.3rem; margin-bottom: var(--space-5); }
.pw-zones__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.pw-zones__list a { display: block; padding: 12px 16px; background: var(--pw-white); border: 1px solid var(--pw-line); border-radius: 10px; text-decoration: none; color: var(--pw-ink); font-weight: 600; transition: border-color .15s ease, color .15s ease; }
.pw-zones__list a:hover { border-color: var(--pw-primary); color: var(--pw-primary); }

/* ---------- Sélecteur de langue (header) ---------- */
.pw-langs { display: inline-flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.pw-langs__item { font-size: 0.85rem; font-weight: 600; }
.pw-langs__item:not(:last-child)::after { content: "·"; margin-left: 4px; color: var(--pw-line); }
.pw-langs__item a { color: var(--pw-muted); text-decoration: none; padding: 2px 4px; border-radius: 6px; }
.pw-langs__item a:hover { color: var(--pw-primary); }
.pw-langs__item.is-current span { color: var(--pw-primary); padding: 2px 4px; }

/* ---------- Bloc Audit SEO (widget Localnord) ---------- */
.pw-audit {
	display: grid;
	gap: var(--space-5);
	margin: var(--space-6) 0;
	padding: var(--space-6);
	background: linear-gradient(135deg, var(--pw-primary-50), #fff);
	border: 1px solid var(--pw-line);
	border-radius: var(--r-lg);
	box-shadow: 0 12px 36px rgba(0, 74, 173, 0.07);
}
.pw-audit__eyebrow { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: .06em; color: var(--pw-primary); }
.pw-audit__title { margin: .25em 0 .35em; color: var(--pw-deep); font-size: clamp(1.2rem, 3vw, 1.6rem); line-height: 1.2; }
.pw-audit__lead { margin: 0; color: var(--pw-muted); }
.pw-audit__perks { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: 8px; }
.pw-audit__perks li { font-size: 0.92rem; color: var(--pw-ink); }
.pw-audit__widget { background: #fff; border: 1px solid var(--pw-line); border-radius: 12px; padding: var(--space-4); min-height: 90px; }
/* Variante large (page service) : 2 colonnes intro / widget sur grand écran. */
@media (min-width: 760px) {
	.pw-audit:not(.pw-audit--form) { grid-template-columns: 1fr 1fr; align-items: center; }
}

/* ---------- Container pour le contenu Gutenberg core ----------
 * Les blocs PROXYWEB ont leur propre <div class="pw-container">.
 * Les blocs cœur (heading, paragraph, list, html) sortent au niveau
 * racine de l'article — on les contraint via cette règle.
 * ---------------------------------------------------------------- */
.pw-home > :where(p, h1, h2, h3, h4, h5, h6, ul, ol, blockquote, figure, pre,
                  .wp-block-heading, .wp-block-paragraph, .wp-block-list,
                  .wp-block-html, .wp-block-group, .wp-block-buttons,
                  .wp-block-quote, .wp-block-image, .wp-block-columns,
                  .wp-block-table, .wp-block-separator),
.pw-page > :where(p, h1, h2, h3, h4, h5, h6, ul, ol, blockquote, figure, pre,
                  .wp-block-heading, .wp-block-paragraph, .wp-block-list,
                  .wp-block-html, .wp-block-group, .wp-block-buttons,
                  .wp-block-quote, .wp-block-image, .wp-block-columns,
                  .wp-block-table, .wp-block-separator) {
	max-width: 1240px;
	margin-inline: auto;
	padding-inline: 24px;
	box-sizing: border-box;
}
.pw-home > h2, .pw-page > h2,
.pw-home > .wp-block-heading[class*="level-2"],
.pw-page > .wp-block-heading[class*="level-2"] {
	margin-top: 3rem;
	margin-bottom: 1rem;
}
.pw-home > h3, .pw-page > h3 {
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}
.pw-home > p, .pw-home > ul, .pw-home > ol,
.pw-page > p, .pw-page > ul, .pw-page > ol {
	margin-bottom: 1.25rem;
}
.pw-home > .alignfull, .pw-page > .alignfull,
.pw-home > section, .pw-page > section {
	max-width: none;
	padding-inline: 0;
}
@media (min-width: 1024px) {
	.pw-home > :where(p, h1, h2, h3, h4, h5, h6, ul, ol, blockquote, figure, pre,
	                  .wp-block-heading, .wp-block-paragraph, .wp-block-list,
	                  .wp-block-html, .wp-block-group, .wp-block-buttons,
	                  .wp-block-quote, .wp-block-image, .wp-block-columns,
	                  .wp-block-table, .wp-block-separator),
	.pw-page > :where(p, h1, h2, h3, h4, h5, h6, ul, ol, blockquote, figure, pre,
	                  .wp-block-heading, .wp-block-paragraph, .wp-block-list,
	                  .wp-block-html, .wp-block-group, .wp-block-buttons,
	                  .wp-block-quote, .wp-block-image, .wp-block-columns,
	                  .wp-block-table, .wp-block-separator) {
		padding-inline: 48px;
	}
}

/* ---------- Listes : style propre ---------- */
.pw-home ul, .pw-page ul,
.pw-home ol, .pw-page ol {
	padding-left: 1.5em;
}
.pw-home ul li, .pw-page ul li,
.pw-home ol li, .pw-page ol li {
	margin-bottom: 0.5rem;
	color: var(--pw-ink);
}

/* ============================================================
 * Formulaire de devis (shortcode + bloc proxyweb/devis-form)
 * ============================================================ */
.pw-devis { max-width: 880px; margin-inline: auto; }
.pw-devis__head { text-align: center; margin-bottom: 32px; }
.pw-devis__title { margin: 0 0 12px; font-family: Manrope, sans-serif; font-size: clamp(1.75rem, 2.5vw + 0.5rem, 2.5rem); font-weight: 700; line-height: 1.25; }
.pw-devis__intro { color: var(--pw-muted); font-size: 1.05rem; line-height: 1.6; margin: 0; }
.pw-devis__form {
	background: var(--pw-white);
	border: 1px solid var(--pw-line);
	border-radius: var(--r-lg);
	padding: 32px;
	box-shadow: var(--shadow);
}
@media (max-width: 639.98px) {
	.pw-devis__form { padding: 20px; }
}
.pw-devis__section {
	border: 0;
	margin: 0 0 32px;
	padding: 0;
	display: grid;
	gap: 16px;
	grid-template-columns: 1fr;
}
@media (min-width: 768px) {
	.pw-devis__section { grid-template-columns: 1fr 1fr; }
}
.pw-devis__section legend {
	grid-column: 1 / -1;
	font-family: Manrope, sans-serif;
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--pw-ink);
	padding: 0;
	margin: 0 0 8px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.pw-devis__section legend::before {
	content: "";
	width: 24px;
	height: 2px;
	background: var(--pw-primary);
	border-radius: 2px;
}
.pw-devis__field { display: grid; gap: 6px; }
.pw-devis__field--full { grid-column: 1 / -1; }
.pw-devis__field > label,
.pw-devis__label {
	font-family: Manrope, sans-serif;
	font-weight: 600;
	font-size: 0.875rem;
	color: var(--pw-ink);
}
.pw-devis__field input[type="text"],
.pw-devis__field input[type="email"],
.pw-devis__field input[type="tel"],
.pw-devis__field input[type="url"],
.pw-devis__field textarea,
.pw-devis__field select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--pw-line);
	border-radius: var(--r);
	background: var(--pw-white);
	color: var(--pw-ink);
	font-size: 1rem;
	font-family: Inter, sans-serif;
	transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
	box-sizing: border-box;
}
.pw-devis__field input:focus,
.pw-devis__field textarea:focus,
.pw-devis__field select:focus {
	outline: none;
	border-color: var(--pw-primary);
	box-shadow: 0 0 0 3px rgba(30, 63, 171, 0.15);
}
.pw-devis__field textarea {
	resize: vertical;
	min-height: 100px;
	font-family: inherit;
}
.pw-devis__checkboxes {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 8px;
	padding: 12px;
	background: var(--pw-surface);
	border-radius: var(--r);
}
.pw-devis__checkbox {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: 400;
	font-size: 0.9rem;
	cursor: pointer;
	padding: 6px 8px;
	border-radius: 6px;
	transition: background var(--dur-fast) var(--ease);
}
.pw-devis__checkbox:hover { background: rgba(30, 63, 171, 0.04); }
.pw-devis__checkbox input[type="checkbox"] {
	margin-top: 2px;
	width: 16px;
	height: 16px;
	accent-color: var(--pw-primary);
	flex-shrink: 0;
}
.pw-devis__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.pw-devis__consent {
	margin: 24px 0;
	padding: 16px;
	background: var(--pw-surface);
	border-radius: var(--r);
}
.pw-devis__consent .pw-devis__checkbox { font-size: 0.875rem; color: var(--pw-muted); }
.pw-devis__consent a { color: var(--pw-primary); text-decoration: underline; }
.pw-devis__actions { text-align: center; margin-top: 8px; }
.pw-devis__submit {
	padding: 16px 36px;
	font-size: 1.05rem;
	min-width: 240px;
}
.pw-devis__submit[disabled] { opacity: 0.6; cursor: wait; }
.pw-devis__small {
	margin-top: 14px;
	font-size: 0.85rem;
	color: var(--pw-muted);
}
.pw-devis__messages {
	margin-top: 20px;
	padding: 18px 20px;
	border-radius: var(--r);
	font-weight: 500;
	line-height: 1.5;
}
.pw-devis__messages[data-type="success"] {
	background: rgba(16, 185, 129, 0.08);
	color: #065F46;
	border: 1px solid var(--pw-success);
}
.pw-devis__messages[data-type="error"] {
	background: rgba(239, 68, 68, 0.08);
	color: #991B1B;
	border: 1px solid var(--pw-danger);
}

/* =============================================================
 * RESPONSIVE POLISH — Mobile (≤767px) et Tablette (768-1023px)
 *
 * Le thème est bâti mobile-first ; cette section ajuste les détails
 * qui font la différence en usage réel : CTAs pleine largeur, touch
 * targets ≥44px, anti-overflow horizontal, hiérarchie sur tablette.
 * ============================================================= */

/* =============================================================
 * AMBIANCE OCÉAN — Vagues animées + gradients fluides
 *
 * Vagues SVG inline en background-image (data URI), animées via
 * background-position pour un mouvement horizontal infini. Lisible
 * mais subtil — ne distrait pas du contenu.
 *
 * Appliqué automatiquement sur les .pw-section--dark : vague jaune
 * en haut qui sépare de la section précédente claire, vague cobalt
 * en bas qui se fond vers la section suivante.
 * ============================================================= */

/* Variables réglables */
:root {
	--pw-wave-height: 64px;
	--pw-wave-duration: 16s;
}

.pw-section--dark { position: relative; overflow: hidden; }
.pw-section--dark::before,
.pw-section--dark::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: var(--pw-wave-height);
	background-repeat: repeat-x;
	background-size: 1440px var(--pw-wave-height);
	pointer-events: none;
	z-index: 1;
}

/* Vague haute : transition surface → deep */
.pw-section--dark::before {
	top: -1px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'><path fill='%23F7F8FA' d='M0,32 C240,64 480,0 720,32 C960,64 1200,0 1440,32 L1440,0 L0,0 Z'/></svg>");
	animation: pw-wave-drift var(--pw-wave-duration) linear infinite;
}

/* Vague basse : transition deep → surface */
.pw-section--dark::after {
	bottom: -1px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'><path fill='%23F7F8FA' d='M0,32 C240,0 480,64 720,32 C960,0 1200,64 1440,32 L1440,64 L0,64 Z'/></svg>");
	animation: pw-wave-drift calc(var(--pw-wave-duration) * 1.3) linear infinite reverse;
}

/* Adapte la vague selon le voisin : si la section précédente/suivante
   est aussi dark, on supprime la vague (sinon double cobalt). */
.pw-section--dark + .pw-section--dark::before { display: none; }
.pw-section--dark:has(+ .pw-section--dark)::after { display: none; }

/* Si la section suivante est surface (gris clair), le fill est correct
   par défaut (F7F8FA). Si la section suivante est blanche, on injecte
   un override via une classe optionnelle. */
.pw-section--dark.pw-section--wave-white::after {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'><path fill='%23FFFFFF' d='M0,32 C240,0 480,64 720,32 C960,0 1200,64 1440,32 L1440,64 L0,64 Z'/></svg>");
}

/* Reflets d'eau : gradient animé subtil sur les sections dark */
.pw-section--dark::backdrop,
.pw-section--dark > .pw-container {
	position: relative;
	z-index: 2;
}
.pw-section--dark {
	background:
		radial-gradient(ellipse 80% 60% at 50% 0%, rgba(30, 63, 171, 0.4), transparent 70%),
		radial-gradient(ellipse 60% 50% at 20% 100%, rgba(255, 255, 255, 0.04), transparent 70%),
		var(--pw-deep);
}

@keyframes pw-wave-drift {
	from { background-position: 0 0; }
	to   { background-position: 1440px 0; }
}

/* Bulles : petits points qui flottent vers le haut sur les sections dark
   (utilise data-pw-bubbles="true" pour activer sur une section précise) */
.pw-section--dark[data-pw-bubbles="true"]::backdrop { display: none; }

.pw-bubbles {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
	z-index: 1;
}
.pw-bubble {
	position: absolute;
	bottom: -40px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7), rgba(238, 241, 251, 0.25));
	animation: pw-bubble-rise linear infinite;
	opacity: 0;
}
@keyframes pw-bubble-rise {
	0%   { transform: translateY(0) translateX(0) scale(0.6); opacity: 0; }
	10%  { opacity: 0.5; }
	50%  { transform: translateY(-50vh) translateX(20px) scale(1); opacity: 0.7; }
	100% { transform: translateY(-100vh) translateX(-10px) scale(0.4); opacity: 0; }
}

/* Animation respectée si reduce-motion */
@media (prefers-reduced-motion: reduce) {
	.pw-section--dark::before,
	.pw-section--dark::after { animation: none; }
	.pw-bubble { animation: none; opacity: 0; }
}

/* Subtle hero water shimmer (effet eau qui passe lentement) */
.pw-hero {
	position: relative;
	overflow: hidden;
}
.pw-hero::after {
	content: "";
	position: absolute;
	left: -50%;
	right: -50%;
	bottom: -10%;
	height: 200px;
	background: radial-gradient(ellipse 50% 100% at 50% 100%, rgba(30, 63, 171, 0.04), transparent 70%);
	pointer-events: none;
	animation: pw-shimmer 8s ease-in-out infinite alternate;
}
@keyframes pw-shimmer {
	from { transform: translateX(-10%); }
	to   { transform: translateX(10%); }
}

/* ---------- Anti-overflow global ---------- */
html, body { overflow-x: clip; }
img, video, iframe, embed, object {
	max-width: 100%;
	height: auto;
}
table { max-width: 100%; }

/* Mots longs (emails, URLs) ne cassent plus la mise en page */
.pw-footer a,
.pw-footer p,
.pw-cas-single__verbatim p,
.pw-temoignage__author,
.pw-blog-card__title a {
	word-break: break-word;
	overflow-wrap: anywhere;
}

/* ---------- Mobile only (≤ 767px) ---------- */
@media (max-width: 767.98px) {

	/* CTAs en colonne pleine largeur — meilleure ergonomie tactile */
	.pw-hero__ctas {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}
	.pw-hero__ctas .pw-btn,
	.pw-cta-final__buttons .pw-btn,
	.pw-404__actions .pw-btn {
		width: 100%;
		justify-content: center;
		padding-block: 16px;
	}
	.pw-cta-final__buttons,
	.pw-404__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	/* Devis : submit full width + padding form raisonnable */
	.pw-devis__submit {
		width: 100%;
		max-width: none;
		min-width: 0;
	}
	.pw-devis__form { padding: 20px 16px; }

	/* Service hero : l'icône doit être centrée quand on stack */
	.pw-service__icon {
		max-width: 220px;
		margin: 0 auto;
	}

	/* Cas client KPIs ramassés (3 colonnes restent mais plus compactes) */
	.pw-cas-card__kpis {
		gap: 8px;
		grid-template-columns: repeat(3, 1fr);
	}
	.pw-cas-card__kpis > div { padding: 8px 4px; }
	.pw-cas-card__kpis dt { font-size: 0.65rem; }
	.pw-cas-card__kpis dd { font-size: 0.9rem; }

	/* Méthode : numérotation moins écrasante */
	.pw-methode__num { font-size: 2rem; }
	.pw-methode__step { padding: 20px; }

	/* Compteurs (cas vedette + globaux) : 2x2 plus lisible que 4 en colonne */
	.pw-kpi { padding: 16px 8px; }
	.pw-counter { padding: 16px 8px; }

	/* Modals : padding interne réduit + close plus accessible */
	.pw-modal { padding: 12px; }
	.pw-modal__body { padding: 20px; }
	.pw-modal__close { width: 44px; height: 44px; }

	/* Sticky bottom bar : ne pas masquer le footer trop bas */
	.pw-sticky-bar { left: 8px; right: 8px; bottom: 8px; }
	.pw-sticky-bar__cta { padding: 14px 12px; font-size: 0.95rem; }

	/* Header : burger menu touch target */
	.pw-header__burger { min-width: 44px; min-height: 44px; }

	/* Container : padding réduit sur très petit écran */
	.pw-container { padding-inline: 16px; }

	/* Comparatif : déjà stacké via media query existante,
	   on ajuste juste les paddings */
	.pw-comparatif__cell { padding: 12px 14px; }
	.pw-comparatif__cell--label {
		padding-block: 10px;
		font-size: 0.9rem;
	}

	/* FAQ : padding plus serré sur mobile */
	.pw-faq__q { padding: 16px; font-size: 1rem; }
	.pw-faq__a { padding: 0 16px 16px; }

	/* Pour-qui cards centrées */
	.pw-pour-qui__card { text-align: left; }
	.pw-pour-qui__emoji { font-size: 2rem; }

	/* Témoignages carousel - voir 1 carte mais avec un peu de marge */
	.pw-carousel__track { grid-auto-columns: 88%; padding-inline: 8px; }

	/* Équipe : photo plus petite sur mobile pour faire tenir plusieurs membres */
	.pw-equipe__photo { width: 120px; height: 120px; }

	/* Calc form : labels en colonne, espace + clair */
	.pw-calc__widget { padding: 24px 16px; }
	.pw-calc__numbers { gap: 16px; }

	/* Cas single : photo hero moins haute */
	.pw-cas-single__photo img { aspect-ratio: 3 / 2; }

	/* Section dark verbatim : padding raisonnable */
	.pw-vedette__conclude { padding: 20px; font-size: 1rem; }

	/* Footer : moins de padding + alignement */
	.pw-footer { padding-top: 48px; }
	.pw-footer__inner { gap: 32px; }
	.pw-footer__bottom { margin-top: 32px; }
}

/* ---------- Très petit mobile (≤ 360px) ---------- */
@media (max-width: 359.98px) {
	.pw-container { padding-inline: 12px; }
	.pw-header__brand img,
	.pw-header__brand .custom-logo,
	.pw-header__brand .custom-logo-link img { max-height: 32px; max-width: 50vw; }
	.pw-header__inner { min-height: 60px; }

	/* Compteurs encore réduits */
	.pw-kpi__value,
	.pw-counter__value { font-size: 2.25rem; }

	/* Hero title un cran plus bas */
	.pw-hero__title { font-size: 2rem !important; }
}

/* ---------- Tablette (640-1023px) ---------- */
@media (min-width: 640px) and (max-width: 1023.98px) {

	/* Section padding intermédiaire */
	.pw-section { padding-block: 64px; }

	/* Hero stack mais image avec hauteur contenue */
	.pw-hero__visual img { max-height: 480px; }

	/* Hero titre adapté */
	.pw-hero__title { line-height: 1.15; }

	/* Méthode : 2 cols (déjà OK) mais on règle les step paddings */
	.pw-methode__step { padding: 24px; }

	/* Cards services 2 cols (via pw-grid--3 mis à jour) — OK */

	/* Comparatif : sur portrait tablette ça peut être serré.
	   On garde 3 cols mais on réduit le padding */
	.pw-comparatif__cell { padding: 14px 16px; font-size: 0.9rem; }

	/* Calc form : déjà 2 cols (768+) — OK */

	/* Footer 4 cols tient en tablette */

	/* Equipe : photos un peu plus petites */
	.pw-equipe__photo { width: 140px; height: 140px; }

	/* Cas single hero : stack jusqu'au desktop */
	.pw-cas-single__hero-grid { grid-template-columns: 1fr; }
	.pw-cas-single__photo img { aspect-ratio: 16 / 9; max-height: 380px; }

	/* Service hero : stack jusqu'au desktop */
	.pw-service__hero-grid { grid-template-columns: 1fr; }
	.pw-service__icon { max-width: 200px; margin: 0 auto; }
}

/* ---------- Touch targets minimum (toutes tailles) ---------- */
@media (hover: none) and (pointer: coarse) {
	/* Sur écrans tactiles, on garantit le minimum 44x44 */
	.pw-btn,
	.pw-menu__link,
	.pw-menu li a,
	.pw-chip,
	.pw-carousel__btn,
	.pw-faq__q,
	.pw-modal__close,
	.pw-social-proof__close {
		min-height: 44px;
	}
	.pw-menu li a { padding-block: 14px; }
}

/* ---------- Sous-options form devis (SEO & Google nested) ---------- */
.pw-devis__sub-options {
	margin-top: 12px;
	padding: 14px 16px;
	background: var(--pw-surface);
	border-left: 3px solid var(--pw-primary);
	border-radius: 8px;
}
.pw-devis__sub-options-title {
	font-family: Manrope, sans-serif;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--pw-primary);
	margin: 0 0 10px;
}
/* Page référencement dédiée : ce sont les offres principales, pas un sous-bloc. */
.pw-devis__sub-options--ref { margin-top: 8px; border-left: 0; padding-left: 0; background: transparent; }
.pw-devis__checkbox--sub {
	display: flex;
	gap: 8px;
	padding: 8px 0;
	font-size: 0.92rem;
	color: var(--pw-ink);
}
.pw-devis__checkbox--sub input { margin-top: 2px; }

/* ---------- Badge catégorie sur les cartes d'avis ---------- */
.pw-review-card__category {
	display: inline-block;
	margin-bottom: 8px;
	padding: 4px 10px;
	background: var(--pw-primary-50);
	color: var(--pw-primary);
	border-radius: 20px;
	font-family: Manrope, sans-serif;
	font-weight: 600;
	font-size: 0.72rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	align-self: flex-start;
}

/* ---------- Cartes "Sous devis" page SEO & Google ---------- */
.pw-seo-cards { max-width: 1100px; margin: 48px auto; padding: 0 20px; }
.pw-seo-cards__head { text-align: center; margin-bottom: 36px; }
.pw-seo-cards__head h2 {
	color: var(--pw-primary);
	font-family: Manrope, sans-serif;
	font-weight: 800;
	font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
	margin-bottom: 8px;
}
.pw-seo-cards__head p { color: var(--pw-muted); }
.pw-seo-cards__grid {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr;
}
@media (min-width: 720px) { .pw-seo-cards__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pw-seo-cards__grid { grid-template-columns: repeat(3, 1fr); } }
.pw-seo-card {
	background: #FFFFFF;
	border: 1px solid var(--pw-line);
	border-radius: 16px;
	padding: 32px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease);
	box-shadow: 0 4px 16px rgba(15, 31, 92, 0.04);
}
.pw-seo-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(15, 31, 92, 0.12);
}
.pw-seo-card__title {
	color: var(--pw-primary);
	font-family: Manrope, sans-serif;
	font-weight: 700;
	font-size: 1.3rem;
	line-height: 1.3;
	margin: 0 0 20px;
}
.pw-seo-card__price {
	font-family: 'Playfair Display', serif;
	font-weight: 700;
	font-size: 2rem;
	color: var(--pw-primary);
	margin: 0 0 28px;
	padding: 6px 24px;
	border-bottom: 1px solid var(--pw-line);
}
.pw-seo-card__list {
	list-style: none;
	padding: 0;
	margin: 0 0 28px;
	width: 100%;
	flex-grow: 1;
}
.pw-seo-card__list li {
	padding: 12px 0;
	font-size: 0.94rem;
	color: var(--pw-ink);
	line-height: 1.4;
	border-bottom: 1px solid var(--pw-surface);
	display: flex;
	gap: 10px;
	align-items: flex-start;
	text-align: left;
}
.pw-seo-card__list li:last-child { border-bottom: 0; }
.pw-seo-card__list li::before {
	content: "✓";
	color: var(--pw-primary);
	font-weight: 700;
	font-size: 1rem;
	flex-shrink: 0;
}
.pw-seo-card__cta {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 8px;
	font-family: Manrope, sans-serif;
	font-weight: 600;
	font-size: 0.95rem;
	background: var(--pw-primary);
	color: #FFFFFF;
	text-decoration: none;
	transition: background .15s var(--ease);
}
.pw-seo-card__cta:hover { background: var(--pw-deep); color: #FFFFFF; }

/* ---------- Print (bonus) : devis imprimable ---------- */
@media print {
	.pw-header, .pw-footer, .pw-sticky-bar, .pw-social-proof,
	.pw-modal, .pw-header__cta, .pw-cards__cta { display: none !important; }
	.pw-section { padding-block: 16px; }
	body { color: #000; background: #fff; }
}

/* =============================================================
 * RESPONSIVE SWEEP — Optimisation mobile + tablette complète
 *
 * Couvre les derniers gaps : widget RDV, inputs (anti-zoom iOS),
 * touch targets, scroll horizontal sur tables, RDV calendrier
 * touch-friendly, modales pleine viewport, sticky bar perf.
 * ============================================================= */

/* iOS Safari : font-size <16px sur input/textarea/select → zoom auto.
   On force 16px sur tous nos inputs pour empêcher ce zoom intempestif. */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
textarea,
select {
	font-size: 16px;
}
@media (min-width: 768px) {
	/* Sur tablette/desktop on peut revenir à des tailles plus design */
	.pw-devis__field input,
	.pw-devis__field textarea,
	.pw-devis__field select,
	.pw-calc__field input,
	.pw-calc__field select { font-size: 1rem; }
}

/* Anti-overflow horizontal robuste : on bloque tous les enfants au max
   container, même quand un bloc dépasse (table large, code, etc.). */
.pw-main, .pw-home, .pw-page, .pw-cas-single, .pw-service, .pw-post {
	max-width: 100vw;
	overflow-x: clip;
}

/* Tables longues : scroll horizontal interne en mobile au lieu de casser
   le layout (cf. table de prix, comparatif riche, etc.). */
@media (max-width: 767.98px) {
	.pw-page table:not(.pw-comparatif__table):not(.wp-block-table),
	.pw-post__content-inner table {
		display: block;
		overflow-x: auto;
		max-width: 100%;
		-webkit-overflow-scrolling: touch;
	}
}

/* ---------- Widget RDV (PW-RDV) : ergonomie mobile ---------- */
@media (max-width: 767.98px) {
	.pw-rdv-inline__widget {
		padding: 16px 14px;
		min-height: 0;
	}
	.pw-rdv-cal-grid { gap: 2px; }
	.pw-rdv-day-name { font-size: 10px; padding: 4px 0; }
	.pw-rdv-day {
		font-size: 13px;
		min-height: 40px;
		/* Touch target : on garde aspect-ratio mais on bloque le min */
	}
	.pw-rdv-nav {
		width: 40px; height: 40px;
		font-size: 18px;
	}
	.pw-rdv-cal-title { font-size: 1rem; }
	.pw-rdv-slots-grid {
		grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
		gap: 6px;
		max-height: 300px;
	}
	.pw-rdv-slot {
		padding: 14px 6px;
		font-size: 13px;
		min-height: 44px;
	}
	.pw-rdv-step-title { font-size: 1rem; line-height: 1.3; }
	.pw-rdv-recap { font-size: 13px; padding: 10px; }
	.pw-rdv-form { gap: 12px; }
	.pw-rdv-field input,
	.pw-rdv-field textarea {
		padding: 12px;
		font-size: 16px;
	}
	.pw-rdv-submit { padding: 16px; font-size: 15px; min-height: 48px; }
	.pw-rdv-success { padding: 16px 8px; }
	.pw-rdv-success-icon { width: 56px; height: 56px; font-size: 28px; }
	.pw-rdv-success h3 { font-size: 1.15rem; }
	.pw-rdv-success-info { font-size: 12px; }
}

/* Tablette portrait : widget RDV en 1 col mais avec padding intermédiaire */
@media (min-width: 768px) and (max-width: 1023.98px) {
	.pw-rdv-inline__widget { padding: 20px; min-height: 0; }
	.pw-rdv-slots-grid { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }
}

/* ---------- Avis widget (Trustindex-like) ---------- */
@media (max-width: 767.98px) {
	.pw-reviews__head { margin-bottom: 24px; }
	.pw-reviews__aggregate {
		padding: 16px 12px;
		gap: 8px;
	}
	.pw-reviews__stars-big svg { width: 24px; height: 24px; }
	.pw-reviews__google-logo { font-size: 1.25rem; }
	.pw-reviews__google-logo svg { width: 22px; height: 22px; }
	.pw-review-card { padding: 16px; }
	.pw-review-card__head { grid-template-columns: 40px 1fr 20px; gap: 8px; }
	.pw-review-card__avatar { width: 40px; height: 40px; font-size: 1rem; }
	.pw-review-card__name { font-size: 0.9rem; }
	.pw-review-card__text { font-size: 0.9rem; }
}

/* ---------- Modales : pleine viewport sur mobile ---------- */
@media (max-width: 639.98px) {
	.pw-modal { padding: 8px; }
	.pw-modal__dialog { max-height: 95vh; }
	.pw-modal__body { padding: 16px; }
	.pw-modal__header { padding: 12px 16px; }
}

/* ---------- Formulaires : meilleur tap area ---------- */
@media (max-width: 767.98px) {
	.pw-devis__form,
	.pw-calc__widget {
		padding: 18px 14px;
	}
	.pw-devis__field input,
	.pw-devis__field textarea,
	.pw-devis__field select,
	.pw-calc__field input,
	.pw-calc__field select {
		padding: 14px;
		min-height: 48px;
	}
	.pw-devis__submit,
	.pw-calc__form button[type="submit"] {
		min-height: 52px;
		padding: 16px;
		font-size: 1rem;
	}
}

/* ---------- Hero CTAs : pile vertical avec spacing confortable ---------- */
@media (max-width: 519.98px) {
	.pw-hero__ctas {
		flex-direction: column;
		align-items: stretch;
	}
	.pw-hero__ctas .pw-btn {
		width: 100%;
		justify-content: center;
		min-height: 52px;
	}
}

/* ---------- Cartes : padding adaptatif ---------- */
@media (max-width: 479.98px) {
	.pw-card,
	.pw-card--service,
	.pw-pour-qui__card,
	.pw-methode__step {
		padding: 18px 16px;
	}
	.pw-cards__title,
	.pw-temoignages__title,
	.pw-pour-qui__title,
	.pw-pourquoi__title,
	.pw-methode__title { font-size: 1.5rem; line-height: 1.25; }
}

/* ---------- Section padding tablette ---------- */
@media (max-width: 1023.98px) {
	.pw-section { padding-block: clamp(48px, 7vw, 80px); }
}

/* ---------- Headings dans le contenu Gutenberg : confort mobile ---------- */
@media (max-width: 639.98px) {
	.pw-home > h1, .pw-page > h1 { font-size: clamp(1.75rem, 6vw + 0.5rem, 2.5rem); }
	.pw-home > h2, .pw-page > h2 { font-size: clamp(1.5rem, 4vw + 0.5rem, 2rem); }
	.pw-home > h3, .pw-page > h3 { font-size: clamp(1.25rem, 3vw + 0.5rem, 1.5rem); }
}

/* ---------- Footer : empilage propre mobile + paddings réduits ---------- */
@media (max-width: 639.98px) {
	.pw-footer__inner {
		grid-template-columns: 1fr;
		text-align: left;
	}
	.pw-footer__col { text-align: left; }
	.pw-footer__socials { justify-content: flex-start; }
	.pw-footer__legal-menu { flex-wrap: wrap; gap: var(--space-3); }
}

/* ---------- Cas client cards : KPI lisibles ---------- */
@media (max-width: 419.98px) {
	.pw-cas-card__kpis {
		grid-template-columns: 1fr 1fr;
	}
	.pw-cas-card__kpis dt { font-size: 0.7rem; }
	.pw-cas-card__kpis dd { font-size: 1rem; }
}

/* ---------- Sticky elements : ne pas masquer footer mobile ---------- */
@media (max-width: 767.98px) {
	body { padding-bottom: 0; }
	.pw-sticky-bar { bottom: 12px; left: 12px; right: 12px; }
	/* Espace pour ne pas coller au sticky */
	main.pw-main { padding-bottom: 80px; }
}

/* ---------- Header : burger plus visible touch ---------- */
@media (max-width: 1023.98px) {
	.pw-header__inner {
		min-height: 64px;
		padding-block: 8px;
	}
	.pw-header__burger {
		width: 48px; height: 48px;
	}
	.pw-header__brand img,
	.pw-header__brand svg { max-height: 36px; }
}

/* ---------- Iframes (Cal.com, Google Maps, vidéos) : responsive ---------- */
iframe[src*="cal.com"],
iframe[src*="calendly.com"],
iframe[src*="meet.google.com"],
iframe[src*="youtube.com"],
iframe[src*="vimeo.com"] {
	max-width: 100%;
}

/* ---------- Pour les utilisateurs touch : focus ring plus visible ---------- */
@media (hover: none) and (pointer: coarse) {
	:focus-visible {
		outline-width: 3px;
		outline-offset: 4px;
	}
}

/* ---------- Reduced motion : désactive aussi les vagues + bulles ---------- */
@media (prefers-reduced-motion: reduce) {
	.pw-section--dark::before,
	.pw-section--dark::after,
	.pw-hero::after { animation: none !important; }
	.pw-bubble { display: none !important; }
	.pw-confiance__track { animation: none !important; }
}

/* =============================================================
 * HERO sans visuel — détection CSS-only via :has() / :only-child
 * Marche même si le render.php n'a pas reload (opcache Plesk).
 * Si .pw-hero__grid n'a PAS de .pw-hero__visual, on passe en
 * 1 colonne centrée full-width.
 * ============================================================= */

/* Méthode 1 : classe explicite (PHP à jour) */
.pw-hero--no-visual .pw-hero__grid,
/* Méthode 2 : détection auto via :has() (CSS only, plus robuste) */
.pw-hero__grid:not(:has(.pw-hero__visual)) {
	grid-template-columns: 1fr !important;
	max-width: 920px !important;
	margin-inline: auto !important;
	text-align: center !important;
	gap: 24px !important;
}

.pw-hero--no-visual .pw-hero__content,
.pw-hero__grid:not(:has(.pw-hero__visual)) .pw-hero__content {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	max-width: 880px !important;
	margin: 0 auto !important;
	text-align: center !important;
}

.pw-hero--no-visual .pw-hero__title,
.pw-hero__grid:not(:has(.pw-hero__visual)) .pw-hero__title {
	text-align: center !important;
	font-size: clamp(2rem, 3vw + 0.5rem, 3.25rem) !important;
	line-height: 1.2 !important;
	max-width: 100% !important;
}

.pw-hero--no-visual .pw-hero__lead,
.pw-hero__grid:not(:has(.pw-hero__visual)) .pw-hero__lead {
	text-align: center !important;
	max-width: 680px !important;
	margin-inline: auto !important;
}

.pw-hero--no-visual .pw-eyebrow,
.pw-hero__grid:not(:has(.pw-hero__visual)) .pw-eyebrow {
	text-align: center !important;
	display: block !important;
}

.pw-hero--no-visual .pw-hero__ctas,
.pw-hero__grid:not(:has(.pw-hero__visual)) .pw-hero__ctas {
	justify-content: center !important;
	flex-wrap: wrap !important;
}

.pw-hero--no-visual .pw-hero__reassurance,
.pw-hero__grid:not(:has(.pw-hero__visual)) .pw-hero__reassurance {
	text-align: center !important;
	width: 100% !important;
}

/* =============================================================
 * FIX TYPO PAGES TEXTE — H1 raisonnable sur Mentions / CGV /
 * Confidentialité / Contact / pages éditoriales.
 * Le H1 universel à clamp(36-72px) est OK pour un hero, mais
 * écrase totalement les pages de contenu pur.
 * ============================================================= */

/* H1 dans le contenu Gutenberg core (pas dans un hero ACF) */
.pw-page > h1,
.pw-page > .wp-block-heading[class*="level-1"],
h1.wp-block-heading,
.pw-post__title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(1.875rem, 2.5vw + 1rem, 3rem); /* 30-48px au lieu de 36-72px */
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.015em;
	margin: 0 0 24px;
	text-align: center;
}

/* Premier paragraphe après H1 (intro/lead) : centré + plus gros */
.pw-page > h1 + p,
.pw-page > .wp-block-heading + p {
	text-align: center;
	font-size: 1.0625rem;
	color: var(--pw-muted);
	max-width: 640px;
	margin-inline: auto;
	margin-bottom: 32px;
}

/* H2 dans le contenu : plus discret que les H2 marketing */
.pw-page > h2,
h2.wp-block-heading {
	font-family: Manrope, sans-serif;
	font-size: clamp(1.375rem, 1.5vw + 0.75rem, 1.875rem); /* 22-30px */
	font-weight: 700;
	line-height: 1.3;
	margin: 2rem 0 12px;
	color: var(--pw-ink);
}

/* H3 dans le contenu */
.pw-page > h3,
h3.wp-block-heading {
	font-family: Manrope, sans-serif;
	font-size: clamp(1.125rem, 1vw + 0.5rem, 1.375rem); /* 18-22px */
	font-weight: 600;
	line-height: 1.4;
	margin: 1.5rem 0 8px;
}

/* Container des pages texte : narrow + centré pour confort lecture */
.pw-page {
	padding-block: clamp(56px, 7vw, 96px);
}
.pw-page > *:not(.alignfull):not(.alignwide):not(section) {
	max-width: 780px;
	margin-inline: auto;
	padding-inline: 24px;
}
@media (min-width: 1024px) {
	.pw-page > *:not(.alignfull):not(.alignwide):not(section) {
		padding-inline: 0;
	}
}

/* Liste : style "card centrée" pour les pages éditoriales */
.pw-page > ul, .pw-page > ol {
	max-width: 480px;
	margin: 24px auto 32px;
	padding: 20px 24px 20px 44px;
	background: var(--pw-surface);
	border-radius: 12px;
	list-style-position: outside;
}
.pw-page > ul li, .pw-page > ol li {
	margin-bottom: 12px;
	line-height: 1.6;
	font-size: 0.95rem;
}
.pw-page > ul li:last-child,
.pw-page > ol li:last-child { margin-bottom: 0; }
.pw-page > ul li strong, .pw-page > ol li strong {
	color: var(--pw-ink);
	font-weight: 700;
}
.pw-page > ul a, .pw-page > ol a {
	color: var(--pw-primary);
	font-weight: 600;
	text-decoration: none;
}
.pw-page > ul a:hover, .pw-page > ol a:hover { text-decoration: underline; }

/* Paragraphes */
.pw-page p {
	line-height: 1.7;
	margin-bottom: 16px;
	color: var(--pw-ink);
}

/* =============================================================
 * COMPATIBILITÉ TOUS ÉCRANS — filet de sécurité global
 * Verrouille les derniers cas de débordement / casse responsive
 * sur mobile, tablette et desktop. Placé en fin de feuille pour
 * primer sur les règles précédentes en cas d'égalité.
 * ============================================================= */

/* 1) Médias jamais plus larges que leur conteneur (anti scroll horizontal) */
img,
video,
canvas,
svg {
	max-width: 100%;
}
img,
video {
	height: auto;
}
/* Tableaux de contenu : défilables au lieu de déborder */
.pw-page table,
.pw-home table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* 2) Mots / URLs très longs : on coupe au lieu de pousser la largeur */
body,
.pw-page,
.pw-home,
h1, h2, h3, h4, h5, h6,
p, li, a, dd, dt, figcaption {
	overflow-wrap: break-word;
	word-wrap: break-word;
}

/* 3) HEADER — le logo ne doit jamais éjecter le bouton menu */
.pw-header__inner {
	flex-wrap: nowrap;
}
.pw-header__brand {
	min-width: 0;
	flex: 0 1 auto;
}
.pw-header__brand img,
.pw-header__brand svg,
.pw-header__brand .custom-logo {
	max-width: 100%;
}
.pw-header__burger {
	flex: 0 0 auto;
}

/* 3bis) Garde-fou hauteur du logo (hors @layer → primera même si une règle
 *       du layer saute, ex. WP Rocket « Remove Unused CSS »). */
.pw-header__brand img,
.pw-header__brand svg,
.pw-header__brand .custom-logo,
.pw-header__brand .custom-logo-link img {
	max-height: 56px;
	width: auto;
	height: auto;
	max-width: min(70vw, 320px);
	object-fit: contain;
}
.pw-header__brand .custom-logo-link {
	display: block;
	line-height: 0;
}
@media (max-width: 1023.98px) {
	.pw-header__brand img,
	.pw-header__brand svg,
	.pw-header__brand .custom-logo,
	.pw-header__brand .custom-logo-link img {
		max-height: 44px;
		max-width: min(60vw, 220px);
	}
}
@media (max-width: 480px) {
	.pw-header__brand img,
	.pw-header__brand svg,
	.pw-header__brand .custom-logo,
	.pw-header__brand .custom-logo-link img {
		max-height: 36px;
		max-width: min(55vw, 180px);
	}
}

/* 3ter) Liens du menu desktop : jamais coupés sur 2 lignes, chevron collé */
.pw-menu__link,
.pw-menu li a {
	white-space: nowrap;
}

/* 4) MOBILE/TABLETTE (< 1024px) — drawer fiable, au-dessus de tout */
@media (max-width: 1023.98px) {
	/* Le tiroir part juste sous le header et remplit l'écran (dvh = barre Safari) */
	.pw-header__nav {
		top: 64px;
		height: calc(100dvh - 64px);
		max-height: calc(100dvh - 64px);
		z-index: 95;
	}
	/* Les boutons flottants ne doivent pas chevaucher le menu ouvert */
	body:has(.pw-header__nav[data-open="true"]) .pw-fab,
	body:has(.pw-header__nav[data-open="true"]) .pw-assistant,
	body:has(.pw-header__nav[data-open="true"]) .pw-sticky-bar {
		display: none !important;
	}
}

/* 5) TABLETTE (1024–1199px) — barre desktop : on resserre pour tout faire tenir */
@media (min-width: 1024px) and (max-width: 1199.98px) {
	.pw-header__nav { gap: var(--space-3); }
	.pw-menu { gap: var(--space-4); }
	.pw-menu__link,
	.pw-menu li a { font-size: 0.875rem; }
	.pw-header__cta { padding: 10px 16px; font-size: 0.9rem; }
}

/* 6) Conteneur : toujours centré et borné (le scroll horizontal global est
 *    déjà neutralisé par `html, body { overflow-x: clip }`). */
.pw-container {
	width: 100%;
	max-width: var(--pw-container, 1240px);
	margin-inline: auto;
}

/* 7) Formulaires : anti-débordement + anti zoom iOS (>=16px) sur les champs
 *    texte uniquement — on ne force PAS la largeur (préserve les formulaires
 *    en ligne : chat assistant, calculateur, etc.). */
input,
select,
textarea {
	max-width: 100%;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select,
textarea {
	font-size: max(16px, 1em);
}

/* 8) Boutons : pleine largeur confortable sur très petits écrans */
@media (max-width: 399.98px) {
	.pw-hero__actions .pw-btn,
	.pw-cta-final .pw-btn { width: 100%; }
}
