/* ==========================================================================
   DESIGN LAYER — « Dark Motorsport »
   Couche de refonte visuelle (prototype) : en-tête global, héro accueil,
   rail d'expertise, statistiques de confiance, aperçu bento des prestations.
   Charge après main.css : ne redéfinit que les zones du prototype.
   ========================================================================== */

:root {
	--gl-stage-0: #0D0F13;
	--gl-stage-1: #101319;
	--gl-stage-2: #13161B;
	--gl-panel: #15181E;
	--gl-hairline: rgba(255, 255, 255, 0.10);
	--gl-hairline-strong: rgba(255, 255, 255, 0.16);
	--gl-text-dim: rgba(255, 255, 255, 0.72);
	--gl-header-h: 76px;
	--gl-radius: 12px;
}

@media (max-width: 782px) {
	:root {
		--gl-header-h: 64px;
	}
}

/* --------------------------------------------------------------------------
   1. Socle : boutons, focus, kicker
   -------------------------------------------------------------------------- */

.g-btn {
	border-radius: 10px;
}

.g-btn--primary {
	box-shadow: 0 10px 28px -12px rgba(232, 12, 12, 0.55);
}

.g-btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 32px -12px rgba(232, 12, 12, 0.65);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--g-accent);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Chip « kicker » : marqueur losange + cadre fin. */
.g-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}

.g-kicker::before {
	content: "";
	width: 7px;
	height: 7px;
	flex: none;
	background: var(--g-accent);
	transform: rotate(45deg);
}

.g-kicker--plain::before {
	display: none;
}

/* --- Kicker style variants ----------------------------------------------- */

/* Chip — bordered chip with subtle background */
.g-kicker--chip {
	padding: 0.35rem 0.85rem;
	border: 1px solid var(--gl-hairline-strong);
	border-radius: 4px;
	background: rgba(229, 18, 18, 0.06);
	gap: 0.45rem;
}

.g-kicker--chip::before {
	width: 6px;
	height: 6px;
}

/* Pill — rounded accent background */
.g-kicker--pill {
	padding: 0.3rem 0.9rem;
	border-radius: 999px;
	background: var(--g-kicker-bg, var(--g-accent));
	color: #fff;
	gap: 0;
	font-size: 0.7rem;
	letter-spacing: 0.14em;
}

.g-kicker--pill::before {
	display: none;
}

/* Line — horizontal accent line prefix */
.g-kicker--line {
	gap: 0.7rem;
}

.g-kicker--line::before {
	width: 24px;
	height: 2px;
	border-radius: 1px;
	transform: none;
}

/* Gradient — gradient underline */
.g-kicker--gradient {
	background-image: linear-gradient(90deg, var(--g-accent), rgba(229, 18, 18, 0.2));
	background-size: 100% 2px;
	background-repeat: no-repeat;
	background-position: bottom left;
	padding-bottom: 0.25rem;
}

.g-kicker--gradient::before {
	width: 6px;
	height: 6px;
}

/* --------------------------------------------------------------------------
   2. En-tête global : anthracite profond, navigation lettrée
   -------------------------------------------------------------------------- */

.g-header {
	background: var(--gl-stage-1);
	border-bottom: 1px solid var(--gl-hairline);
	transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.g-header.is-scrolled {
	background: rgba(13, 15, 19, 0.92);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 12px 32px -18px rgba(0, 0, 0, 0.65);
}

/* Accueil : l'en-tête flotte au-dessus du héro (dégradé -> opaque au scroll). */
body.home .g-header {
	background: linear-gradient(180deg, rgba(13, 15, 19, 0.62), rgba(13, 15, 19, 0));
	border-bottom-color: transparent;
	margin-bottom: calc(-1 * var(--gl-header-h));
}

body.home .g-header.is-scrolled,
body.home .g-header.menu-is-open {
	background: rgba(13, 15, 19, 0.94);
	border-bottom-color: var(--gl-hairline);
}

.g-header__inner {
	min-height: var(--gl-header-h);
}

.custom-logo {
	max-height: 50px;
}

.g-brand__name,
.g-brand__tagline {
	color: #e30808;
}

.g-brand__tagline {
	color: rgba(255, 255, 255, 0.55);
}

.g-brand__mark {
	background: var(--g-accent);
}

/* Navigation desktop : micro-majuscules, souligné accent glissant. */
.g-menu>li>a {
	position: relative;
	padding: 0.7rem 0.85rem;
	color: var(--gl-text-dim);
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	border-radius: 6px;
}

.g-menu>li>a::after {
	content: "";
	position: absolute;
	left: 0.85rem;
	right: 0.85rem;
	bottom: 0.3rem;
	height: 2px;
	background: var(--g-accent);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.22s ease;
}

.g-menu>li>a:hover,
.g-menu>li>a:focus-visible,
.g-menu>li.current-menu-item>a,
.g-menu>li.current-page-ancestor>a {
	color: #fff;
	background: transparent;
}

.g-menu>li>a:hover::after,
.g-menu>li>a:focus-visible::after,
.g-menu>li.current-menu-item>a::after,
.g-menu>li.current-page-ancestor>a::after {
	transform: scaleX(1);
}

/* Sous-menu déroulant : panneau sombre, ombre profonde. */
.g-menu .sub-menu {
	background: #171A20;
	border: 1px solid var(--gl-hairline);
	border-radius: 10px;
	box-shadow: 0 28px 56px -20px rgba(0, 0, 0, 0.65);
	padding: 0.45rem;
	top: calc(100% + 10px);
}

.g-menu .sub-menu a {
	color: var(--gl-text-dim);
	border-radius: 6px;
}

.g-menu .sub-menu a:hover,
.g-menu .sub-menu a:focus-visible {
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

/* Actions d'en-tête sur fond sombre. */
.g-header .g-btn--ghost {
	border-color: rgba(255, 255, 255, 0.22);
	color: #fff;
}

.g-header .g-btn--ghost:hover {
	border-color: rgba(255, 255, 255, 0.6);
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
}

.g-header .g-btn--phone .g-icon {
	color: var(--g-accent-light);
}

.g-burger {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.2);
	color: #fff;
}

/* Panneau mobile : même langage sombre. */
.g-mobile-panel {
	background: var(--gl-stage-1);
	border-top-color: var(--gl-hairline);
}

.g-menu--mobile>li>a {
	color: #fff;
	border-bottom-color: var(--gl-hairline);
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.g-menu--mobile .sub-menu {
	background: rgba(255, 255, 255, 0.04);
}

.g-menu--mobile .sub-menu a {
	color: var(--gl-text-dim);
}

.g-mobile-panel__ctas .g-btn--outline-dark {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.3);
}

.g-mobile-panel__ctas .g-btn--outline-dark:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

/* Recherche globale sur fond sombre (en-tête anthracite). */
.g-global-search__toggle {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.2);
	color: #fff;
}

.g-global-search__box {
	background: rgba(255, 255, 255, 0.06);
	border-color: var(--gl-hairline);
}

.g-global-search__box:focus-within {
	border-color: var(--g-accent);
	box-shadow: 0 0 0 3px rgba(232, 72, 12, 0.28);
}

.g-global-search__icon {
	color: var(--gl-text-dim);
}

.g-global-search__input {
	color: #fff;
}

.g-global-search__input::placeholder {
	color: var(--gl-text-dim);
}

.g-global-search__clear {
	color: var(--gl-text-dim);
}

.g-global-search__clear:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.1);
}

.g-global-search__panel {
	background: #171A20;
	border-color: var(--gl-hairline);
	box-shadow: 0 28px 56px -20px rgba(0, 0, 0, 0.65);
}

.g-global-search__result {
	color: #fff;
}

.g-global-search__result-sub {
	color: var(--gl-text-dim);
}

.g-global-search__tag {
	color: var(--gl-text-dim);
	background: rgba(255, 255, 255, 0.06);
	border-color: var(--gl-hairline);
}

.g-global-search__result:hover,
.g-global-search__result:focus-visible,
.g-global-search__list li.is-active .g-global-search__result {
	background: rgba(255, 255, 255, 0.06);
}

.g-global-search__note {
	color: var(--gl-text-dim);
}

.g-global-search.is-open .g-global-search__box {
	background: #171A20;
}

/* --------------------------------------------------------------------------
   3. Hero accueil — Premium Automotive (split dark cinematic)
   -------------------------------------------------------------------------- */

/* --- Decorative background layer ------------------------------------------ */

.g-hero__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 100px);
}

.g-hero__bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(800px 500px at 80% 15%, rgba(232, 72, 12, 0.07), transparent 60%);
}

.g-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 20px 20px;
	mask-image: radial-gradient(500px 400px at 5% 95%, #000, transparent 65%);
	-webkit-mask-image: radial-gradient(500px 400px at 5% 95%, #000, transparent 65%);
}

/* --- Configured Hero background (STEP 4C) --------------------------------- */

/* When a background type is configured, drop the default decorative layer so
   the builder-controlled media/tone/overlay render cleanly on top. */
.g-hbg--active::before,
.g-hbg--active::after {
	display: none;
}

.g-hbg--active {
	background-color: transparent;
	background-image: none;
}

/* Child layers all fill the .g-hero__bg container and never capture clicks. */
.g-hbg__media,
.g-hbg__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

/* Media layer (image / video) */
.g-hbg__media {
	z-index: 0;
	overflow: hidden;
}

.g-hbg__media>img,
.g-hbg__media>.g-hbg__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Blur is applied ONLY to the media so text/content stays sharp. */
.g-hbg--has-media .g-hbg__media {
	-webkit-filter: blur(var(--g-hbg-blur, 0px));
	filter: blur(var(--g-hbg-blur, 0px));
	transform: scale(1.03);
}

/* Overlay sits above media/eoverly-tone, below hero content. */
.g-hbg__overlay {
	z-index: 1;
}

/* Parallax: media scales beyond the frame, translated via CSS var so a single
   inline translation on the content wrapper only shifts the media. */
.g-hbg--parallax .g-hbg__media {
	will-change: transform;
}

/* --- Pattern layers ------------------------------------------------------- */

.g-hero__bg.g-hbg--pattern-grid,
.g-hero__bg.g-hbg--pattern-dots,
.g-hero__bg.g-hbg--pattern-diagonal {
	background-image: none;
}

.g-hero__bg.g-hbg--pattern-grid {
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
	background-size: 44px 44px;
}

.g-hero__bg.g-hbg--pattern-dots {
	background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.5px);
	background-size: 18px 18px;
}

.g-hero__bg.g-hbg--pattern-diagonal {
	background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 22px);
}

/* --- Glow layers ---------------------------------------------------------- */

.g-hero__bg.g-hbg--glow-soft {
	background-image: radial-gradient(700px 420px at 75% 20%, rgba(255, 255, 255, 0.10), transparent 60%);
}

.g-hero__bg.g-hbg--glow-accent {
	background-image: radial-gradient(700px 420px at 75% 20%, rgba(232, 72, 12, 0.18), transparent 62%);
}

.g-hero__bg.g-hbg--glow-dual {
	background-image:
		radial-gradient(620px 400px at 78% 18%, rgba(232, 72, 12, 0.16), transparent 62%),
		radial-gradient(620px 400px at 6% 92%, rgba(56, 132, 255, 0.12), transparent 62%);
}

/* --- Background animations ------------------------------------------------- */

@keyframes g-hbg-zoom {
	from {
		transform: scale(1);
	}

	to {
		transform: scale(1.12);
	}
}

@keyframes g-hbg-drift {
	from {
		background-position: 0 0;
	}

	to {
		background-position: 40px 40px;
	}
}

@keyframes g-hbg-gradient-motion {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

.g-hbg--anim-zoom .g-hbg__media>img,
.g-hbg--anim-zoom .g-hbg__media>.g-hbg__video {
	animation: g-hbg-zoom 18s ease-in-out infinite alternate;
}

.g-hbg--anim-drift.g-hbg--pattern-grid,
.g-hbg--anim-drift.g-hbg--pattern-dots,
.g-hbg--anim-drift.g-hbg--pattern-diagonal {
	animation: g-hbg-drift 22s linear infinite;
}

.g-hbg--anim-gradient-motion {
	background-size: 200% 200%;
	animation: g-hbg-gradient-motion 16s ease infinite;
}

/* --- Reduced motion -------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

	.g-hbg--anim-zoom .g-hbg__media>img,
	.g-hbg--anim-zoom .g-hbg__media>.g-hbg__video,
	.g-hbg--anim-drift.g-hbg--pattern-grid,
	.g-hbg--anim-drift.g-hbg--pattern-dots,
	.g-hbg--anim-drift.g-hbg--pattern-diagonal,
	.g-hbg--anim-gradient-motion {
		animation: none;
	}

	.g-hbg--has-media .g-hbg__media {
		transform: none;
	}
}

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

.g-hero {
	position: relative;
	overflow: hidden;
	min-height: clamp(480px, 55vh, 680px);
	background: #0D1016;
	color: #fff;
}

body.home .g-hero {
	padding-top: var(--gl-header-h);
}

.g-hero__grid {
	display: grid;
	gap: 0;
	align-items: stretch;
}

@media (min-width: 768px) {
	.g-hero__grid {
		gap: clamp(1.5rem, 3vw, 3rem);
		align-items: center;
	}
}

@media (min-width: 1024px) {
	body.home .g-hero__grid {
		max-width: none;
		margin-inline: 0;
		padding-inline: 0;
		width: 100%;

		grid-template-columns: 42% 58%;
		min-height: clamp(480px, 52vh, 680px);
	}

	.g-hero__grid {
		grid-template-columns: 42% 58%;
		min-height: clamp(480px, 55vh, 680px);
	}
}

/* --- Left content --------------------------------------------------------- */

.g-hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-block: clamp(0.5rem, 1.5vw, 1rem);
	padding-inline: clamp(1.25rem, 4vw, 2rem);
}

@media (min-width: 1024px) {
	body.home .g-hero__content {
		justify-content: flex-start;
		padding-block: clamp(1.5rem, 3vw, 3rem);
		padding-left: max(calc((100vw - var(--g-container)) / 2 + 20px), 24px);
		padding-right: clamp(2rem, 4vw, 4rem);
	}
}

/* Kicker */
.g-hero .g-kicker--light {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.42rem 0.95rem;
	border: 1px solid var(--gl-hairline-strong);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--g-accent-light);
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	margin-bottom: 1.2rem;
}

/* Title */
.g-hero__title {
	margin: 0 0 0.4rem;
	font-family: var(--g-font);
	font-weight: 900;
	font-size: clamp(2.2rem, 5vw, 4.6rem);
	line-height: 0.98;
	letter-spacing: -0.03em;
	color: #fff;
	max-width: 14ch;
}

/* Accent line */
.g-hero__accent-line {
	display: block;
	width: 64px;
	height: 4px;
	margin: 0.8rem 0 1.2rem;
	background: var(--g-accent);
	border-radius: 2px;
}

/* Lead */
.g-hero__lead {
	margin: 0 0 1.6rem;
	max-width: 48ch;
	font-size: clamp(0.95rem, 1.4vw, 1.15rem);
	line-height: 1.7;
	color: var(--g-muted-on-dark);
}

/* CTA buttons — automotive moderate radius */
.g-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 2rem;
}

.g-hero__ctas .g-btn {
	border-radius: 6px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	font-size: 0.85rem;
}

.g-hero__ctas .g-btn--primary {
	background: var(--g-accent);
	color: #fff;
	box-shadow: 0 4px 24px rgba(232, 72, 12, 0.35);
}

.g-hero__ctas .g-btn--primary:hover {
	background: var(--g-accent-dark);
	box-shadow: 0 6px 32px rgba(232, 72, 12, 0.5);
	transform: translateY(-2px);
}

.g-hero__ctas .g-btn--outline-light {
	border-color: rgba(255, 255, 255, 0.4);
	color: #fff;
}

.g-hero__ctas .g-btn--outline-light:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.6);
}

.g-hero__ctas .g-btn--ghost {
	border-color: rgba(255, 255, 255, 0.25);
	color: #fff;
}

.g-hero__ctas .g-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.4);
}

/* Facts row */
.g-hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.8rem;
	list-style: none;
	margin: 0;
	padding: 0;
	padding-top: 1.4rem;
	border-top: 1px solid var(--gl-hairline);
	font-size: 0.88rem;
	color: var(--g-muted-on-dark);
}

.g-hero__facts li {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.g-hero__facts .g-icon {
	color: var(--g-accent-light);
}

.g-hero__facts a {
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.g-hero__facts a:hover {
	text-decoration: underline;
	color: #fff;
}

/* --- Right visual --------------------------------------------------------- */

.g-hero__visual {
	position: relative;
	display: flex;
	flex-direction: column;
}

@media (min-width: 1024px) {
	.g-hero__visual {
		position: relative;
		min-height: clamp(380px, 48vh, 580px);
	}

	body.home .g-hero__visual {
		margin-left: -12%;
	}
}

/* Mobile: reorder visual above content */
@media (max-width: 767px) {
	.g-hero__visual {
		order: 1;
	}

	.g-hero__content {
		order: 2;
	}
}

.g-hero__media {
	position: relative;
	overflow: hidden;
	background: var(--gl-stage-0);
	flex: 1;
}

@media (min-width: 1024px) {

	body.home .g-hero__media,
	body.home .g-hero__media--empty {
		position: absolute;
		inset: 0;
		aspect-ratio: auto;
	}
}

/* Mobile: controlled image height */
@media (max-width: 767px) {
	.g-hero__media {
		height: 45vh;
		min-height: 240px;
		max-height: 340px;
	}
}

/* Defensive clipping guards for the hero grid (used by carousel + single) */
.g-hero__grid,
.g-hero__content,
.g-hero__visual {
	min-width: 0;
}

.g-hero__title,
.g-hero__lead,
.g-hero__facts a,
.g-hero__facts span,
.g-hero__media>img {
	max-width: 100%;
	overflow-wrap: anywhere;
}

/* Compact mobile hero so the tall block doesn't push the page excessively.
   Fonts/spacing are reduced (not forced heights) so nothing clips. */
@media (max-width: 767px) {
	.g-hero__content {
		padding-block: 0.6rem;
	}

	.g-hero__title {
		font-size: clamp(1.85rem, 7vw, 2.7rem);
		line-height: 1.02;
		margin-bottom: 0.3rem;
		max-width: 100%;
	}

	.garage-preview .g-hero__title {
		font-size: clamp(1.85rem, 7vw, 2.7rem) !important;
	}

	.g-hero__accent-line {
		width: 52px;
		height: 4px;
		margin: 0.55rem 0 0.85rem;
	}

	.g-hero__lead {
		font-size: 0.95rem;
		line-height: 1.5;
		margin-bottom: 1.15rem;
	}

	.g-hero__ctas {
		gap: 0.6rem;
		margin-bottom: 1.2rem;
	}

	.g-hero__ctas .g-btn {
		font-size: 0.82rem;
		padding: 0.6rem 1.1rem;
	}

	.g-hero__facts {
		font-size: 0.88rem;
		gap: 0.45rem 1rem;
	}

	.g-hero__media {
		height: 40vh;
		min-height: 200px;
		max-height: 300px;
	}
}

.g-hero__media>img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Dark gradient overlay: blends image into dark content area */
.g-hero__media-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(to right, #0D1016 0%, rgba(13, 16, 22, 0.55) 35%, transparent 65%),
		linear-gradient(to top, #0D1016 0%, transparent 35%);
}

@media (min-width: 1024px) {
	.g-hero__media-overlay {
		background:
			linear-gradient(to right, #0D1016 0%, rgba(13, 16, 22, 0.45) 30%, transparent 55%),
			linear-gradient(to top, #0D1016 0%, transparent 20%);
	}
}

/* --- Animations ----------------------------------------------------------- */

.g-hero .g-anim {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
		transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.g-hero .g-anim.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Explicit stagger delays */
.g-anim--hero-1.is-visible {
	transition-delay: 0.05s;
}

.g-anim--hero-2.is-visible {
	transition-delay: 0.15s;
}

.g-anim--hero-3.is-visible {
	transition-delay: 0.25s;
}

.g-anim--hero-4.is-visible {
	transition-delay: 0.35s;
}

.g-anim--hero-5.is-visible {
	transition-delay: 0.45s;
}

/* Image zoom-in on load */
.g-hero__media.g-anim {
	transform: scale(1.04);
	transition: transform 1.1s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.g-hero__media.g-anim.is-visible {
	transform: scale(1);
	transition-delay: 0s;
}

/* --- Empty state (no image) ----------------------------------------------- */

.gl-glyph-panel {
	position: absolute;
	inset: 0;
}

.gl-glyph-panel,
.g-hero__media--empty {
	background:
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 44px),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 44px),
		radial-gradient(420px 280px at 68% 30%, rgba(232, 72, 12, 0.20), transparent 66%),
		linear-gradient(160deg, #1A1E25 0%, var(--gl-stage-0) 100%);
}

.gl-glyph {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: rgba(255, 255, 255, 0.62);
}

.gl-glyph__ring {
	display: grid;
	place-items: center;
	width: clamp(140px, 42%, 190px);
	aspect-ratio: 1;
	border: 1px solid var(--gl-hairline-strong);
	border-radius: 50%;
	background: rgba(13, 15, 19, 0.45);
	box-shadow: inset 0 0 0 12px rgba(13, 15, 19, 0.35);
}

.gl-glyph__ring .g-icon {
	width: 44%;
	height: 44%;
	stroke-width: 1.2;
	color: var(--g-accent-light);
}

/* --- Info card ------------------------------------------------------------ */

.g-hero__aside {
	position: relative;
	z-index: 3;
	margin-top: 1.2rem;
}

@media (min-width: 1024px) {
	.g-hero__aside {
		margin-top: 1.6rem;
	}
}

.g-contact-list--dark li .g-icon {
	color: var(--g-accent-light);
}

.g-contact-list--dark a {
	color: #fff;
}



/* --------------------------------------------------------------------------
    Numéro de téléphone de l'en-tête : masqué, révélé au survol.
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
	.g-header-actions .g-btn--phone {
		gap: 0;
	}

	.g-header-actions .g-btn--phone .g-btn__label {
		display: inline-block;
		max-width: 0;
		margin-left: 0;
		opacity: 0;
		transform: translateX(-8px);
		overflow: hidden;
		white-space: nowrap;
		transition:
			max-width 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
			margin-left 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
			opacity 0.3s ease,
			transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
	}

	.g-header-actions .g-btn--phone:hover .g-btn__label,
	.g-header-actions .g-btn--phone:focus-visible .g-btn__label {
		max-width: 15ch;
		margin-left: 0.55rem;
		opacity: 1;
		transform: translateX(0);
	}
}

/* --------------------------------------------------------------------------
    Footer : coordonnées lisibles sur fond sombre.
   -------------------------------------------------------------------------- */
.g-footer__contact .g-contact-list li,
.g-footer__contact .g-contact-list span {
	color: rgba(255, 255, 255, 0.92);
}

/* --------------------------------------------------------------------------
   4. Rail d'expertise : bandeau défilant sous le héro
   -------------------------------------------------------------------------- */

.g-rail {
	position: relative;
	overflow: hidden;
	background: var(--gl-stage-0);
	border-top: 1px solid var(--gl-hairline);
}

.g-rail__track {
	display: flex;
	width: max-content;
	animation: gl-marquee 42s linear infinite;
}

.g-rail:hover .g-rail__track,
.g-rail:focus-within .g-rail__track {
	animation-play-state: paused;
}

.g-rail__list {
	display: flex;
	align-items: center;
	gap: 2.6rem;
	list-style: none;
	margin: 0;
	padding: 0.95rem 1.3rem;
}

.g-rail__item {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	white-space: nowrap;
}

.g-rail__item::before {
	content: "";
	width: 6px;
	height: 6px;
	flex: none;
	background: var(--g-accent);
	transform: rotate(45deg);
	opacity: 0.85;
}

.g-rail__item a {
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	text-decoration: none;
	transition: color 0.18s ease;
}

.g-rail__item a:hover,
.g-rail__item a:focus-visible {
	color: #fff;
}

@keyframes gl-marquee {
	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.g-rail__track {
		animation: none;
	}
}

/* --------------------------------------------------------------------------
   5. Statistiques de confiance : grands chiffres, filets fins
   -------------------------------------------------------------------------- */

.g-section--trust,
.g-sb--trust {
	background: var(--gl-stage-2);
}

.g-sb--trust.g-sb--light {
	background: var(--g-surface);
}

.g-sb--trust.g-sb--dark {
	background: var(--g-dark);
}

.g-sb--trust.g-sb--accent {
	background: linear-gradient(135deg, var(--g-accent), var(--g-accent-dark));
}

.g-trust--stats {
	display: grid;
	grid-template-columns: repeat(var(--g-trust-columns, 2), minmax(0, 1fr));
	gap: var(--g-trust-gap, 2rem) 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.g-trust--stats .g-trust__item {
	display: grid;
	gap: 0.55rem;
	justify-items: var(--g-trust-align, start);
	text-align: var(--g-trust-align, left);
	background: none;
	border: 0;
	border-radius: 0;
	padding: 0;
}

@media (min-width: 900px) {
	.g-trust--stats {
		grid-template-columns: repeat(var(--g-trust-columns, 4), minmax(0, 1fr));
		gap: var(--g-trust-gap, 0);
	}

	.g-trust--stats .g-trust__item {
		border-left: 1px solid var(--gl-hairline);
		padding-inline: 2.2rem;
	}

	.g-trust--stats .g-trust__item:first-child {
		border-left: 0;
		padding-inline-start: 0;
	}
}

.g-trust--stats .g-trust__value {
	font-size: var(--g-trust-value-size, clamp(2.4rem, 4vw, 3.2rem));
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1;
	color: #fff;
}

.g-trust--stats .g-trust__label {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-size: var(--g-trust-label-size, 0.74rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.13em;
	color: rgba(255, 255, 255, 0.55);
}

.g-trust--stats .g-trust__label::before {
	content: "";
	width: 18px;
	height: 2px;
	background: var(--g-accent);
	flex: none;
}

.g-trust--stats .g-trust__icon {
	width: var(--g-trust-icon-size, 48px);
	height: var(--g-trust-icon-size, 48px);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--g-accent);
	display: grid;
	place-items: center;
	margin-bottom: 0.5rem;
}

.g-trust--stats .g-trust__icon .g-icon {
	width: 22px;
	height: 22px;
}

.g-sb--trust.g-sb--light .g-trust__value {
	color: var(--g-dark);
}

.g-sb--trust.g-sb--light .g-trust__label {
	color: var(--g-muted);
}

.g-sb--trust.g-sb--light .g-trust__icon {
	background: rgba(0, 0, 0, 0.06);
}

/* --------------------------------------------------------------------------
   6. Aperçu prestations : bento éditorial sombre sur fond clair
   -------------------------------------------------------------------------- */

.g-section--services .g-section-title {
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	letter-spacing: -0.02em;
}

.g-bento {
	display: grid;
	gap: 0.75rem;
}

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

	.g-bento__item--feature {
		grid-column: 1 / -1;
	}
}

@media (min-width: 1080px) {
	.g-bento {
		grid-template-columns: repeat(3, 1fr);
	}

	.g-bento__item--feature {
		grid-column: auto;
		grid-row: span 2;
	}

	.g-bento__item--strip {
		grid-column: 2 / -1;
		flex-direction: row;
		align-items: stretch;
	}
}

.g-bento__item {
	position: relative;
	display: flex;
	flex-direction: column;
	background: linear-gradient(165deg, #181C23 0%, var(--gl-stage-0) 100%);
	border: 1px solid var(--gl-hairline);
	border-radius: var(--gl-radius);
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.g-bento__item:hover,
.g-bento__item:focus-visible {
	transform: translateY(-4px);
	border-color: rgba(232, 12, 12, 0.55);
	box-shadow: 0 30px 54px -26px rgba(13, 15, 19, 0.55);
}

.g-bento__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 8;
	background: var(--gl-stage-0);
}

.g-bento__item--feature .g-bento__media {
	aspect-ratio: auto;
	flex: 1;
	min-height: 200px;
}

.g-bento__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.g-bento__item:hover .g-bento__media img {
	transform: scale(1.045);
}

.g-bento__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(13, 15, 19, 0) 55%, rgba(13, 15, 19, 0.55) 100%);
	pointer-events: none;
}

.g-bento__glyph {
	color: rgba(255, 255, 255, 0.55);
	transition: transform 0.25s ease, color 0.25s ease;
}

.g-bento__item:hover .g-bento__glyph {
	transform: scale(1.06);
	color: var(--g-accent-light);
}

.g-bento__num {
	position: absolute;
	top: 0.9rem;
	right: 1.1rem;
	z-index: 2;
	font-size: 2.4rem;
	font-weight: 800;
	line-height: 1;
	color: rgba(255, 255, 255, 0.14);
	pointer-events: none;
}

@supports (-webkit-text-stroke: 1px black) {
	.g-bento__num {
		color: transparent;
		-webkit-text-stroke: 1px rgba(255, 255, 255, 0.28);
	}
}

.g-bento__body {
	display: grid;
	gap: 0.45rem;
	padding: 1rem 1.2rem 0.25rem;
}

.g-bento__title {
	margin: 0;
	font-size: 1.18rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: #fff;
	transition: color 0.18s ease;
}

.g-bento__item--feature .g-bento__title {
	font-size: 1.45rem;
}

.g-bento__short {
	color: var(--g-muted-on-dark);
	font-size: 0.94rem;
	line-height: 1.55;
}

.g-bento__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.8rem 1.2rem 1rem;
	margin-top: auto;
}

.g-bento__price {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.7rem;
	border: 1px solid var(--gl-hairline-strong);
	border-radius: 8px;
	color: var(--gl-text-dim);
	font-size: 0.8rem;
	font-weight: 700;
	white-space: nowrap;
}

.g-bento__more {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--g-accent-light);
	font-size: 0.85rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	white-space: nowrap;
}

.g-bento__more .g-icon {
	transition: transform 0.2s ease;
}

.g-bento__item:hover .g-bento__more .g-icon {
	transform: translateX(4px);
}

/* Variante horizontale (dernière carte, grand écran). */
@media (min-width: 1080px) {
	.g-bento__item--strip .g-bento__media {
		aspect-ratio: auto;
		flex: 0 0 clamp(200px, 30%, 300px);
	}

	.g-bento__item--strip .g-bento__body {
		align-content: center;
		flex: 1;
	}

	.g-bento__item--strip .g-bento__foot {
		flex-direction: column;
		align-items: flex-end;
		justify-content: center;
		gap: 0.7rem;
		padding-right: 1.5rem;
	}
}

@media (max-width: 639px) {
	.g-bento__item--feature .g-bento__media {
		min-height: 0;
		aspect-ratio: 16 / 9;
	}
}

/* --------------------------------------------------------------------------
   7. Mouvement réduit : neutralise les animations de la couche
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

	.g-bento__item:hover,
	.g-bento__item:focus-visible,
	.g-bento__media img,
	.g-bento__glyph,
	.g-btn--primary:hover {
		transform: none;
	}
}

/* --------------------------------------------------------------------------
    8. Contraste sur les fonds sombres : badges et boutons fantômes.
   -------------------------------------------------------------------------- */

.g-page-head--dark .g-badge {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.g-page-head--dark .g-badge--muted {
	background: rgba(255, 255, 255, 0.07);
	color: var(--g-muted-on-dark);
}

.g-page-head--dark .g-badge .g-icon {
	color: var(--g-accent-light);
}

.g-page-head--dark .g-btn--ghost {
	border-color: rgba(255, 255, 255, 0.35);
	color: #fff;
}

.g-page-head--dark .g-btn--ghost:hover,
.g-page-head--dark .g-btn--ghost:focus-visible {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.7);
	color: #fff;
}

/* --------------------------------------------------------------------------
    9. Formulaire : prestations multiples (cases à cocher).
   -------------------------------------------------------------------------- */

.g-form .g-field-services {
	border: 0;
	padding: 0;
	margin-inline: 0;
}

.g-form .g-field-legend {
	padding: 0;
	margin-bottom: 0.45rem;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--g-text);
}

.g-form .g-check-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 0.5rem 1rem;
}

.g-form .g-check {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.55rem;
	cursor: pointer;
	font-size: 0.95rem;
	line-height: 1.4;
}

.g-form .g-check input[type='checkbox'] {
	width: 1.05rem;
	height: 1.05rem;
	margin-top: 0.12rem;
	flex-shrink: 0;
	accent-color: var(--g-accent);
}

/* --------------------------------------------------------------------------
    10. Sélecteur de créneau (formulaire RDV).
   -------------------------------------------------------------------------- */

.g-form .g-slot-picker {
	display: grid;
	gap: 0.55rem;
}

.g-form .g-slot-days {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	padding-bottom: 0.25rem;
}

.g-chip {
	--chip-bg: #fff;
	--chip-fg: var(--g-text);
	appearance: none;
	border: 1px solid var(--g-line, rgba(22, 24, 29, 0.15));
	background: var(--chip-bg);
	color: var(--chip-fg);
	border-radius: 12px;
	min-width: 64px;
	padding: 0.4rem 0.6rem 0.5rem;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.05rem;
	cursor: pointer;
	font: inherit;
	line-height: 1.15;
	transition:
		border-color 0.18s ease,
		background-color 0.18s ease,
		color 0.18s ease,
		transform 0.12s ease,
		box-shadow 0.18s ease;
}

.g-chip:hover {
	border-color: var(--g-accent);
	transform: translateY(-1px);
	box-shadow: 0 6px 14px -8px rgba(232, 72, 12, 0.45);
}

.g-chip:focus-visible {
	outline: 2px solid var(--g-accent);
	outline-offset: 2px;
}

.g-chip__day {
	font-size: 0.72rem;
	text-transform: capitalize;
	letter-spacing: 0.02em;
	opacity: 0.75;
}

.g-chip__date {
	font-size: 1.05rem;
	font-weight: 800;
}

.g-chip__month {
	font-size: 0.7rem;
	text-transform: capitalize;
	opacity: 0.75;
}

.g-chip.is-today .g-chip__day {
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--g-accent);
	opacity: 1;
}

.g-chip--time {
	flex-direction: row;
	align-items: center;
	justify-content: center;
	min-width: 0;
	padding: 0.5rem 0.9rem;
	font-weight: 700;
	font-size: 0.92rem;
	font-variant-numeric: tabular-nums;
}

.g-chip.is-active {
	border-color: var(--g-accent);
	background: var(--g-accent);
	color: #fff;
	box-shadow: 0 8px 18px -8px rgba(232, 72, 12, 0.6);
}

.g-chip.is-active .g-chip__day,
.g-chip.is-active .g-chip__month {
	opacity: 0.85;
}

.g-chip[disabled] {
	opacity: 0.35;
	pointer-events: none;
	box-shadow: none;
	transform: none;
}

/* Aucun créneau disponible dans l'horizon du sélecteur. */
.g-slot-empty {
	margin: 0;
	font-size: 0.92rem;
	color: rgba(22, 24, 29, 0.65);
}

.g-chip--closed .g-chip__month {
	font-size: 0.62rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--g-accent);
}

.g-chip--closed {
	background:
		repeating-linear-gradient(-45deg,
			transparent,
			transparent 5px,
			rgba(22, 24, 29, 0.04) 5px,
			rgba(22, 24, 29, 0.04) 10px);
}

.g-slot-hint {
	font-style: italic;
	font-weight: 500;
	font-size: 0.8rem;
	opacity: 0.7;
}

.g-slot-custom {
	margin-top: 0.2rem;
}

.g-slot-custom summary {
	cursor: pointer;
	font-size: 0.9rem;
	color: var(--g-muted, rgba(22, 24, 29, 0.65));
	text-decoration: underline;
	text-underline-offset: 3px;
	width: fit-content;
}

/* Crédit « Powered by » dans le pied de page */
.g-credit {
	margin-left: 0.6em;
	opacity: 0.72;
	text-decoration: none;
	transition: opacity 0.2s ease, color 0.2s ease;
}

.g-credit strong {
	color: inherit;
	font-weight: 700;
}

.g-credit:hover,
.g-credit:focus-visible {
	opacity: 1;
	color: var(--g-accent);
}

/* ============================================================
   11. PAGE MODERNE — PLEINE LARGEUR (template-moderne.php)
   ============================================================ */

.g-container--wide {
	max-width: 1100px;
}

/* --- Hero sombre avec halo accent --- */
.g-modern-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(640px 340px at 88% -12%, rgba(232, 72, 12, 0.32), transparent 70%),
		linear-gradient(135deg, #16181d 0%, #22252e 58%, #2a2e39 100%);
	padding-block: clamp(56px, 9vw, 110px);
}

.g-modern-hero::after {
	content: "";
	position: absolute;
	inset-inline-end: -60px;
	bottom: -80px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: inset 0 0 0 40px rgba(255, 255, 255, 0.03);
	pointer-events: none;
}

.g-modern-hero__title {
	font-size: clamp(2.3rem, 5.5vw, 3.6rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.05;
}

.g-modern-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.4px);
	background-size: 24px 24px;
	mask-image: radial-gradient(720px 420px at 12% 108%, #000, transparent 72%);
	-webkit-mask-image: radial-gradient(720px 420px at 12% 108%, #000, transparent 72%);
	pointer-events: none;
}

.g-modern-hero--split {
	padding-block: clamp(48px, 7vw, 92px);
}

.g-modern-hero__grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}

.g-modern-hero__text {
	position: relative;
	z-index: 1;
}

.g-modern-hero__media img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 11;
	object-fit: cover;
	border-radius: var(--g-radius);
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: 0 34px 70px rgba(0, 0, 0, 0.45);
	transform: rotate(1.2deg);
}

@media (max-width: 900px) {
	.g-modern-hero__grid {
		grid-template-columns: 1fr;
	}

	.g-modern-hero__media img {
		transform: none;
	}
}

.g-modern-hero__lead {
	margin-top: 18px;
	max-width: 62ch;
	font-size: clamp(1rem, 1.4vw, 1.15rem);
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.85);
}

/* --- Corps large modernisé --- */
.g-modern-body {
	padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px);
}

/* Variante au-dessus d'une section fonctionnelle (formulaires, carte…) */
.g-modern-body--tight {
	padding-block: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 48px);
}

.g-prose--modern {
	max-width: none;
	font-size: 1.04rem;
	line-height: 1.78;
}

.g-prose--modern h2 {
	position: relative;
	margin-top: 2.1em;
	font-size: clamp(1.5rem, 2.6vw, 1.95rem);
	font-weight: 800;
	letter-spacing: -0.01em;
}

.g-prose--modern>h2::before {
	content: "";
	display: block;
	width: 46px;
	height: 4px;
	border-radius: 4px;
	background: var(--g-accent);
	margin-bottom: 14px;
}

.g-prose--modern ul {
	list-style: none;
	padding-left: 0;
	display: grid;
	gap: 10px;
}

.g-prose--modern ul li {
	position: relative;
	padding-left: 26px;
}

.g-prose--modern ul li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.62em;
	width: 9px;
	height: 9px;
	background: var(--g-accent);
	border-radius: 2px;
	transform: rotate(45deg);
}

.g-prose--modern blockquote,
.g-prose--modern .wp-block-quote {
	margin: 2em 0 0;
	padding: 26px 30px;
	background: #fff;
	border-left: 4px solid var(--g-accent);
	border-radius: var(--g-radius);
	box-shadow: var(--g-shadow-md);
	font-style: normal;
	color: var(--g-dark, #16181d);
}

.g-prose--modern blockquote p {
	font-size: 1.18rem;
	font-weight: 600;
	line-height: 1.55;
}

.g-prose--modern blockquote cite {
	display: block;
	margin-top: 10px;
	font-style: normal;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--g-accent);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.g-prose--modern img,
.g-prose--modern figure.wp-block-image img {
	border-radius: var(--g-radius);
	box-shadow: var(--g-shadow-md);
}

@media (min-width: 1240px) {

	.g-prose--modern .alignwide,
	.g-prose--modern figure.wp-block-image.alignwide {
		margin-inline: calc(-1 * ((100vw - 1060px) / 2));
	}
}

/* --- Bande CTA finale --- */
.g-modern-cta {
	position: relative;
	overflow: hidden;
	text-align: center;
	background:
		radial-gradient(520px 280px at 50% 120%, rgba(232, 72, 12, 0.28), transparent 70%),
		var(--g-dark, #16181d);
	color: #fff;
	padding-block: clamp(52px, 7vw, 84px);
}

.g-modern-cta__title {
	margin: 0;
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	font-weight: 800;
	letter-spacing: -0.01em;
}

.g-modern-cta__text {
	margin-top: 12px;
	color: rgba(255, 255, 255, 0.75);
}

.g-modern-cta__btns {
	margin-top: 26px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}

/* --- Colonnes Gutenberg = cartes --- */
.g-prose--modern .wp-block-columns {
	margin-top: 2em;
}

.g-prose--modern .wp-block-column {
	background: #fff;
	border-radius: var(--g-radius);
	padding: 24px 22px;
	box-shadow: var(--g-shadow-sm);
	border-top: 4px solid rgba(232, 72, 12, 0.16);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.g-prose--modern .wp-block-column:hover {
	transform: translateY(-4px);
	box-shadow: var(--g-shadow-md);
	border-top-color: var(--g-accent);
}

/* Chiffres clés : premier paragraphe de colonne = grand chiffre accent */
.g-prose--modern .wp-block-column>p:first-child strong {
	display: block;
	font-size: 2.1rem;
	font-weight: 800;
	color: var(--g-accent);
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin-bottom: 8px;
}

/* Méthode : h3 numéroté dans les cartes */
.g-prose--modern .wp-block-column h3 {
	margin-top: 0;
	color: var(--g-accent);
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* --- Media-text (image + texte alternés) --- */
.g-prose--modern .wp-block-media-text {
	background: #fff;
	border-radius: var(--g-radius);
	box-shadow: var(--g-shadow-md);
	overflow: hidden;
	margin-top: 2em;
	grid-template-columns: 1fr 1fr;
}

.g-prose--modern .wp-block-media-text__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	box-shadow: none;
}

.g-prose--modern .wp-block-media-text__content {
	padding: clamp(22px, 3vw, 34px);
}

.g-prose--modern .wp-block-media-text__content>*:first-child {
	margin-top: 0;
}

@media (max-width: 720px) {

	.g-prose--modern .wp-block-columns.is-stacked-on-mobile.wp-block-columns-is-stacked-on-mobile,
	.g-prose--modern .wp-block-columns.is-stacked-on-mobile {
		flex-direction: column;
	}
}

.g-slot-custom summary:hover {
	color: var(--g-accent);
}

.g-slot-custom[open] summary {
	margin-bottom: 0.5rem;
}

.g-slot-custom input[type='text'] {
	max-width: 420px;
}

/* ==========================================================================
   12. Contact — dashboard bento
   ========================================================================== */
.g-section--contact-bento {
	background: linear-gradient(180deg, #F4F6F8 0%, var(--g-surface) 340px);
}

.g-section--contact-bento .g-bento {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: 22px;
	align-items: start;
}

.g-bento__form {
	background: var(--g-surface);
	border: 1px solid var(--g-line);
	border-radius: 20px;
	box-shadow: var(--g-shadow-md);
	padding: clamp(22px, 3vw, 36px);
}

.g-bento__form .g-form-title {
	margin-top: 0;
}

.g-bento__side {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.g-tile {
	position: relative;
	display: flex;
	gap: 14px;
	align-items: flex-start;
	background: var(--g-surface);
	border: 1px solid var(--g-line);
	border-radius: 16px;
	padding: 18px 18px 16px;
	color: inherit;
	text-decoration: none;
	box-shadow: var(--g-shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.g-tile:hover,
a.g-tile:focus-visible {
	transform: translateY(-3px);
	box-shadow: var(--g-shadow-md);
	border-color: color-mix(in srgb, var(--g-accent) 35%, var(--g-line));
}

.g-tile__ic {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: color-mix(in srgb, var(--g-accent) 12%, #fff);
	color: var(--g-accent);
}

.g-tile__ic svg {
	width: 22px;
	height: 22px;
}

.g-tile__body {
	min-width: 0;
	flex: 1;
}

.g-tile__label {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: rgba(22, 24, 29, 0.55);
}

.g-tile__value {
	display: block;
	margin-top: 4px;
	font-weight: 600;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

a.g-tile:hover .g-tile__value {
	color: var(--g-accent);
}

.g-tile--wide {
	grid-column: 1 / -1;
}

.g-tile__hours {
	margin: 12px 0 0;
	width: 100%;
	display: grid;
	gap: 7px;
}

.g-tile__hours .g-hours__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 14px;
	padding-bottom: 7px;
	border-bottom: 1px dashed var(--g-line);
	font-size: 0.95rem;
}

.g-tile__hours dt {
	color: rgba(22, 24, 29, 0.65);
}

.g-tile__hours dd {
	margin: 0;
	font-weight: 600;
	text-align: right;
}

.g-tile__hours .is-today dt,
.g-tile__hours .is-today dd {
	color: var(--g-accent);
	font-weight: 700;
}

.g-bento__map {
	position: relative;
	margin-top: 22px;
	height: min(430px, 60vw);
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid var(--g-line);
	box-shadow: var(--g-shadow-md);
	background: #E9EDF1;
}

.g-bento__map iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.g-map-chips {
	position: absolute;
	right: 16px;
	bottom: 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.g-map-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--g-accent);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	box-shadow: var(--g-shadow-md);
	transition: transform 0.2s ease, filter 0.2s ease;
}

.g-map-chip--call {
	background: #fff;
	color: var(--g-dark);
}

.g-map-chip--call:hover {
	color: var(--g-accent);
	filter: none;
}

@media (prefers-reduced-motion: reduce) {
	.g-open-status__dot {
		animation: none;
	}
}

.g-map-chip svg {
	width: 16px;
	height: 16px;
}

.g-map-chip:hover {
	transform: translateY(-2px);
	filter: brightness(0.94);
	color: #fff;
}

@media (max-width: 1020px) {
	.g-section--contact-bento .g-bento {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.g-bento__side {
		grid-template-columns: 1fr;
	}

	.g-bento__map {
		height: 300px;
	}
}

.g-open-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 10px 0 2px;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 700;
}

.g-open-status__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent);
	animation: g-pulse 2.2s ease-in-out infinite;
}

.g-open-status.g-open-status--open {
    background: color-mix(in srgb, #16A34A 75%, #fff);
    color: #f1f4f2;
}

.g-open-status.g-open-status--closed {
    background: color-mix(in srgb, #DC2626 75%, #fff);
    color: #fff;
}

@keyframes g-pulse {
	50% {
		opacity: 0.45;
	}
}

/* ==========================================================================
   13. Modal e-mail
   ========================================================================== */
.g-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: grid;
	place-items: center;
	padding: 20px;
}

.g-modal[hidden] {
	display: none;
}

.g-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(22, 24, 29, 0.62);
	backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.g-modal__card {
	position: relative;
	width: min(560px, 100%);
	max-height: min(780px, calc(100dvh - 40px));
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: rgba(22, 24, 29, 0.24) transparent;
	background: var(--g-surface);
	border-radius: 20px;
	box-shadow: var(--g-shadow-md);
	padding: clamp(24px, 4vw, 36px);
	opacity: 0;
	transform: translateY(16px) scale(0.98);
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.g-modal__card::-webkit-scrollbar {
	width: 6px;
}

.g-modal__card::-webkit-scrollbar-track {
	background: transparent;
}

.g-modal__card::-webkit-scrollbar-thumb {
	background: rgba(22, 24, 29, 0.22);
	border-radius: 999px;
}

.g-modal.is-open .g-modal__backdrop {
	opacity: 1;
}

.g-modal.is-open .g-modal__card {
	opacity: 1;
	transform: none;
}

.g-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: none;
	background: #F1F3F5;
	color: var(--g-dark);
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}

.g-modal__close:hover {
	background: var(--g-accent);
	color: #fff;
	transform: rotate(90deg);
}

.g-modal__title {
	margin: 6px 0 6px;
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--g-dark);
}

.g-modal__intro {
	margin: 0 0 18px;
	font-size: 0.95rem;
	color: rgba(22, 24, 29, 0.65);
}

.g-modal-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

@media (max-width: 520px) {
	.g-modal-grid {
		grid-template-columns: 1fr;
	}
}

.g-mfield {
	margin: 0 0 12px;
}

.g-mfield label {
	display: block;
	margin-bottom: 5px;
	font-size: 0.82rem;
	font-weight: 700;
	color: rgba(22, 24, 29, 0.75);
}

.g-mfield input,
.g-mfield textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1.5px solid var(--g-line);
	border-radius: 10px;
	font: inherit;
	background: #FAFBFC;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.g-mfield input:focus,
.g-mfield textarea:focus {
	outline: none;
	border-color: var(--g-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--g-accent) 18%, transparent);
}

.g-mconsent {
	margin: 2px 0 14px;
}

.g-mconsent label {
	display: flex;
	gap: 9px;
	align-items: flex-start;
	font-size: 0.85rem;
	color: rgba(22, 24, 29, 0.7);
	cursor: pointer;
}

.g-mconsent input {
	margin-top: 2px;
	accent-color: var(--g-accent);
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

.g-modal-status {
	margin: 0 0 12px;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 0.9rem;
	font-weight: 600;
}

.g-modal-status.is-ok {
	background: color-mix(in srgb, #16A34A 12%, #fff);
	color: #15803D;
}

.g-modal-status.is-err {
	background: color-mix(in srgb, #DC2626 10%, #fff);
	color: #B91C1C;
}

/* ==========================================================================
   14. WhatsApp flottant (accueil)
   ========================================================================== */
.g-wa-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 900;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #25D366;
	color: #fff;
	display: grid;
	place-items: center;
	box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.65), 0 4px 12px rgba(22, 24, 29, 0.18);
	opacity: 0;
	pointer-events: none;
	transform: translateY(calc(100% + 46px));
	transition: transform 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease, box-shadow 0.25s ease;
}

.g-wa-float.is-shown {
	opacity: 1;
	pointer-events: auto;
	transform: none;
}

.g-wa-float:hover {
	transform: scale(1.09) rotate(-4deg);
	box-shadow: 0 18px 38px -10px rgba(37, 211, 102, 0.8), 0 6px 16px rgba(22, 24, 29, 0.22);
}

.g-wa-float svg {
	width: 30px;
	height: 30px;
	position: relative;
	z-index: 1;
}

.g-wa-float::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid #25D366;
	animation: gwa-ring 2.6s ease-out infinite;
	pointer-events: none;
}

@keyframes gwa-ring {
	0% {
		transform: scale(1);
		opacity: 0.5;
	}

	70%,
	100% {
		transform: scale(1.6);
		opacity: 0;
	}
}

@media (max-width: 760px) {
	.g-wa-float {
		right: 16px;
		bottom: calc(76px + env(safe-area-inset-bottom, 0px));
		width: 52px;
		height: 52px;
	}

	.g-wa-float svg {
		width: 27px;
		height: 27px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.g-wa-float,
	.g-wa-float:hover,
	.g-wa-float.is-shown {
		transform: none;
		transition: none;
	}

	.g-wa-float:not(.is-shown) {
		opacity: 0;
	}

	.g-wa-float::before {
		animation: none;
	}
}

/* --------------------------------------------------------------------------
   15. Bouton retour en haut
   -------------------------------------------------------------------------- */
.g-top-btn {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 890;
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 50%;
	background: var(--g-dark);
	color: #fff;
	cursor: pointer;
	box-shadow: var(--g-shadow-md);
	opacity: 0;
	pointer-events: none;
	transform: translateY(14px);
	transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.g-top-btn.is-shown {
	opacity: 1;
	pointer-events: auto;
	transform: none;
}

.g-top-btn:hover {
	background: var(--g-accent);
	border-color: var(--g-accent);
	transform: translateY(-3px);
}

.g-top-btn__ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
	pointer-events: none;
}

.g-top-btn__ring circle {
	fill: none;
	stroke-width: 2;
}

.g-top-btn__track {
	stroke: rgba(255, 255, 255, 0.2);
}

.g-top-btn__progress {
	stroke: var(--g-accent);
	stroke-linecap: round;
	stroke-dasharray: 106.82;
	stroke-dashoffset: 106.82;
	transition: stroke-dashoffset 0.12s linear, stroke 0.2s ease;
}

.g-top-btn:hover .g-top-btn__progress {
	stroke: #fff;
}

.g-top-btn__arrow {
	position: relative;
	z-index: 1;
	width: 20px;
	height: 20px;
}

/* Accueil : se place au-dessus du bouton WhatsApp. */
body.home .g-top-btn {
	bottom: calc(22px + 58px + 14px);
}

@media (max-width: 760px) {
	.g-top-btn {
		right: 16px;
		bottom: calc(76px + env(safe-area-inset-bottom, 0px));
		width: 42px;
		height: 42px;
	}

	body.home .g-top-btn {
		bottom: calc(76px + env(safe-area-inset-bottom, 0px) + 52px + 12px);
	}
}

@media (prefers-reduced-motion: reduce) {

	.g-top-btn,
	.g-top-btn:hover {
		transform: none;
		transition: none;
	}

	.g-top-btn__progress {
		transition: none;
	}
}

/* --------------------------------------------------------------------------
   16. Popup promo (accueil)
   -------------------------------------------------------------------------- */
.g-promo {
	position: fixed;
	inset: 0;
	z-index: 960;
	display: grid;
	place-items: center;
	padding: 20px;
}

.g-promo[hidden],
.g-hmodal[hidden] {
	display: none;
}

.g-promo__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(13, 15, 19, 0.62);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.g-promo.is-open .g-promo__backdrop {
	opacity: 1;
}

.g-promo__card {
	position: relative;
	width: min(420px, 100%);
	max-height: calc(100dvh - 40px);
	overflow-y: auto;
	background: var(--g-surface);
	border-radius: 20px;
	box-shadow: 0 30px 80px -20px rgba(13, 15, 19, 0.5), var(--g-shadow-md);
	transform: scale(0.86) translateY(26px);
	opacity: 0;
	transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.28s ease;
}

.g-promo.is-open .g-promo__card {
	transform: none;
	opacity: 1;
}

.g-promo__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(13, 15, 19, 0.55);
	color: #fff;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.g-promo__close:hover {
	background: var(--g-accent);
	transform: rotate(90deg);
}

.g-promo__media {
	margin: 0;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.g-promo__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.g-promo__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 1;
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--g-accent);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	box-shadow: var(--g-shadow-sm);
}

.g-promo:not(:has(.g-promo__media)) .g-promo__badge {
	position: static;
	display: inline-block;
	margin: 22px 22px 0;
}

.g-promo__body {
	padding: 20px 22px 24px;
	text-align: center;
}

.g-promo__title {
	margin: 10px 0 8px;
	font-size: 1.4rem;
	font-weight: 800;
	line-height: 1.25;
	color: var(--g-dark);
}

.g-promo__text {
	margin: 0 0 14px;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--g-muted, #555b66);
}

.g-promo__code {
	display: flex;
	align-items: stretch;
	gap: 8px;
	margin: 0 0 16px;
	padding: 8px;
	border: 1.5px dashed var(--g-line, #d9dde3);
	border-radius: 12px;
	background: #f7f8fa;
}

.g-promo__code code {
	flex: 1;
	display: grid;
	place-items: center;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--g-dark);
}

.g-promo__copy {
	padding: 8px 14px;
	border: 1.5px solid var(--g-accent);
	border-radius: 9px;
	background: transparent;
	color: var(--g-accent);
	font-size: 0.85rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.g-promo__copy:hover {
	background: var(--g-accent);
	color: #fff;
}

.g-promo__copy.is-copied {
	background: #16a34a;
	border-color: #16a34a;
	color: #fff;
}

@media (prefers-reduced-motion: reduce) {

	.g-promo__backdrop,
	.g-promo__card,
	.g-promo__close {
		transition: none;
		transform: none;
	}
}

/* --------------------------------------------------------------------------
   17. Horaires : statut du heros + modale « Voir les horaires »
   -------------------------------------------------------------------------- */
.g-hero__hours {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 10px;
}

.g-hero__hours .g-icon--sm {
	color: var(--g-accent-light, #ff6b5e);
}

.g-open-status--hero {
	margin: 0;
	padding: 4px 11px;
	font-size: 0.8rem;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.g-open-status--hero.g-open-status--open {
	background: color-mix(in srgb, #22C55E 18%, rgba(255, 255, 255, 0.06));
	color: #4ADE80;
}

.g-open-status--hero.g-open-status--closed {
	background: color-mix(in srgb, #EF4444 16%, rgba(255, 255, 255, 0.06));
	color: #FCA5A5;
}

.g-hero__hours-btn {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 0;
	border: 0;
	background: none;
	color: #fff;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.35);
	text-underline-offset: 4px;
	cursor: pointer;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.g-hero__hours-btn svg {
	width: 14px;
	height: 14px;
	transition: transform 0.2s ease;
}

.g-hero__hours-btn:hover,
.g-hero__hours-btn:focus-visible {
	color: var(--g-accent-light, #ff6b5e);
	text-decoration-color: currentColor;
}

.g-hero__hours-btn:hover svg {
	transform: translateX(3px);
}

/* --- Modale horaires ------------------------------------------------------ */
.g-hmodal {
	position: fixed;
	inset: 0;
	z-index: 970;
	display: grid;
	place-items: center;
	padding: 20px;
}

.g-hmodal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(13, 15, 19, 0.66);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.g-hmodal.is-open .g-hmodal__backdrop {
	opacity: 1;
}

.g-hmodal__card {
	position: relative;
	width: min(400px, 100%);
	max-height: calc(100dvh - 40px);
	overflow-y: auto;
	padding: 26px 24px 24px;
	border-radius: 20px;
	background: var(--g-surface);
	color: var(--g-text, #22262E);
	box-shadow: 0 30px 80px -20px rgba(13, 15, 19, 0.55), var(--g-shadow-md);
	transform: scale(0.9) translateY(22px);
	opacity: 0;
	transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.28s ease;
}

.g-hmodal.is-open .g-hmodal__card {
	transform: none;
	opacity: 1;
}

.g-hmodal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(22, 24, 29, 0.06);
	color: var(--g-dark);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.g-hmodal__close:hover {
	background: var(--g-accent);
	color: #fff;
	transform: rotate(90deg);
}

.g-hmodal__kicker {
	margin: 0 0 4px;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #E8480C !important;
}

.g-hmodal__title {
	margin: 0 0 6px;
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1.25;
	color: #22262E !important;
}

.g-hmodal__list {
	margin: 14px 0 0;
}

.g-hmodal__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 10px;
	border-bottom: 1px solid var(--g-line, #e7eaee);
	border-radius: 8px;
}

.g-hmodal__row dt {
	font-weight: 600;
	color: var(--g-dark);
}

.g-hmodal__row dd {
	margin: 0;
	font-size: 0.92rem;
	color: var(--g-muted, #555b66);
	text-align: right;
	white-space: pre-line;
}

.g-hmodal__row.is-today {
	background: color-mix(in srgb, var(--g-accent) 7%, transparent);
	box-shadow: inset 3px 0 0 var(--g-accent);
}

.g-hmodal__row.is-today dt {
	font-weight: 800;
	color: var(--g-accent);
}

.g-hmodal__row.is-today dd {
	color: var(--g-dark);
	font-weight: 700;
}

.g-hmodal__today-tag {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	/* Fond sombre fixe : la pastille reste lisible même si --g-accent est claire. */
	background: var(--g-text, #22262E);
	color: #fff;
	font-size: 0.64rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	vertical-align: middle;
}

.g-hmodal__addr {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 14px 0 0;
	font-size: 0.88rem;
	color: var(--g-muted, #555b66);
}

.g-hmodal__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 18px;
}

.g-hmodal__actions .g-btn--block {
	width: auto;
}

@media (max-width: 480px) {
	.g-hmodal__actions {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {

	.g-hero__hours-btn svg,
	.g-hmodal__backdrop,
	.g-hmodal__card,
	.g-hmodal__close {
		transition: none;
		transform: none;
	}
}

/* ==========================================================================
   CAROUSEL HERO — fade-based multi-slide carousel
   ========================================================================== */

/* --- Carousel container -------------------------------------------------- */
.g-hero--carousel {
	overflow: hidden;
	padding-bottom: 4.5rem;
}

.g-hero-carousel {
	position: relative;
	min-height: clamp(480px, 55vh, 680px);
}

body.home .g-hero-carousel {
	min-height: clamp(480px, 55vh, 680px);
}

/* --- Slide base ---------------------------------------------------------- */
.g-hero-carousel__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
	will-change: opacity;
}

.g-hero-carousel__slide.is-active {
	position: relative;
	opacity: 1;
	pointer-events: auto;
}

.g-hero-carousel__slide[aria-hidden="true"] {
	position: absolute !important;
	visibility: hidden;
}

.g-section-block {
	font-size: var(--g-section-font-size, inherit);
	font-family: var(--g-section-font-family, inherit);
}

.g-hero-carousel__slide.is-active {
	visibility: visible;
}


/* Reset animations on inactive slides */
.g-hero-carousel__slide:not(.is-active) .g-anim {
	opacity: 0;
	transform: translateY(24px);
}

/* --- Nav arrows ---------------------------------------------------------- */
.g-hero-carousel__nav {
	position: absolute;
	bottom: 1rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 1rem;
	z-index: 10;
}

.g-hero-carousel__prev,
.g-hero-carousel__next {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	background: rgba(13, 16, 22, 0.6);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #fff;
	cursor: pointer;
	transition: background 0.25s, border-color 0.25s, transform 0.25s;
	padding: 0;
}

.g-hero-carousel__prev:hover,
.g-hero-carousel__next:hover {
	background: rgba(229, 18, 18, 0.85);
	border-color: rgba(229, 18, 18, 0.85);
	transform: scale(1.06);
}

.g-hero-carousel__prev:focus-visible,
.g-hero-carousel__next:focus-visible {
	outline: 2px solid var(--g-accent);
	outline-offset: 2px;
}

.g-hero-carousel__prev svg,
.g-hero-carousel__next svg {
	width: 20px;
	height: 20px;
}

/* --- Dots ---------------------------------------------------------------- */
.g-hero-carousel__dots {
	display: flex;
	align-items: center;
	gap: 8px;
}

.g-hero-carousel__dot {
	display: block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: transparent;
	cursor: pointer;
	padding: 0;
	transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.g-hero-carousel__dot:hover {
	background: rgba(255, 255, 255, 0.5);
	border-color: rgba(255, 255, 255, 0.6);
}

.g-hero-carousel__dot.is-active {
	background: var(--g-accent);
	border-color: var(--g-accent);
	transform: scale(1.25);
}

.g-hero-carousel__dot:focus-visible {
	outline: 2px solid var(--g-accent);
	outline-offset: 2px;
}

.g-image-carousel {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.g-image-carousel__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.g-image-carousel__slide:first-child {
	position: relative;
}

.g-image-carousel__slide.is-active {
	opacity: 1;
}

.g-image-carousel__nav {
	position: absolute;
	left: 50%;
	bottom: 12px;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 10px;
	z-index: 3;
}

.g-image-carousel__prev,
.g-image-carousel__next {
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255, 255, 255, .45);
	border-radius: 50%;
	background: rgba(13, 16, 22, .7);
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.g-image-carousel__dots {
	display: flex;
	gap: 6px;
}

.g-image-carousel__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .7);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.g-image-carousel__dot.is-active {
	background: var(--g-accent);
	border-color: var(--g-accent);
}

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 767px) {
	.g-hero-carousel__nav {
		bottom: 1rem;
		gap: 0.6rem;
	}

	.g-hero-carousel__prev,
	.g-hero-carousel__next {
		width: 38px;
		height: 38px;
	}

	.g-hero-carousel__dot {
		width: 8px;
		height: 8px;
	}
}

/* --- Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	.g-hero-carousel__slide {
		transition: none;
	}

	.g-hero-carousel__prev,
	.g-hero-carousel__next {
		transition: none;
	}

	.g-hero-carousel__dot {
		transition: none;
	}
}

/* --------------------------------------------------------------------------
   6. Per-section styling: padding, bg image, bg video, overlay
   -------------------------------------------------------------------------- */

/* -- Padding variants ----------------------------------------------------- */
.g-sb--pad-none>.g-container {
	--g-pad: 0;
}

.g-sb--pad-sm>.g-container {
	--g-pad: 32px;
}

.g-sb--pad-md>.g-container {
	--g-pad: 56px;
}

.g-sb--pad-lg>.g-container {
	--g-pad: 96px;
}

.g-sb--pad-xl>.g-container {
	--g-pad: 128px;
}

/* -- Background image ----------------------------------------------------- */
.g-sb--has-bg {
	background-repeat: no-repeat;
}

/* -- Background video ----------------------------------------------------- */
.g-sb__bg-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	pointer-events: none;
}

.g-sb--has-video>.g-container,
.g-sb--has-video>.g-sb__overlay {
	position: relative;
	z-index: 1;
}

/* -- Dark overlay for bg image / video ------------------------------------ */
.g-sb--overlay::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 0;
	pointer-events: none;
}

.g-sb--overlay>.g-container,
.g-sb--overlay>.g-sb__bg-video {
	position: relative;
	z-index: 1;
}

/* ==========================================================================
   Shape: Clip-path borders
   ========================================================================== */

.g-sb--shape-wave.g-sb--shape-side-top::before,
.g-sb--shape-wave.g-sb--shape-side-both::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: var(--g-shape-h, 80px);
	background: var(--g-shape-color, var(--g-dark));
	clip-path: ellipse(55% 100% at 50% 0%);
	z-index: 0;
}

.g-sb--shape-wave.g-sb--shape-side-bottom::after,
.g-sb--shape-wave.g-sb--shape-side-both::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: var(--g-shape-h, 80px);
	background: var(--g-shape-color, var(--g-dark));
	clip-path: ellipse(55% 100% at 50% 100%);
	z-index: 0;
}

.g-sb--shape-tilt.g-sb--shape-side-top::before,
.g-sb--shape-tilt.g-sb--shape-side-both::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: var(--g-shape-h, 80px);
	background: var(--g-shape-color, var(--g-dark));
	clip-path: polygon(0 0, 100% 0, 100% 30%);
	z-index: 0;
}

.g-sb--shape-tilt.g-sb--shape-side-bottom::after,
.g-sb--shape-tilt.g-sb--shape-side-both::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: var(--g-shape-h, 80px);
	background: var(--g-shape-color, var(--g-dark));
	clip-path: polygon(0 70%, 100% 0, 100% 100%, 0 100%);
	z-index: 0;
}

.g-sb--shape-triangle.g-sb--shape-side-top::before,
.g-sb--shape-triangle.g-sb--shape-side-both::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: var(--g-shape-h, 80px);
	background: var(--g-shape-color, var(--g-dark));
	clip-path: polygon(0 0, 50% 100%, 100% 0);
	z-index: 0;
}

.g-sb--shape-triangle.g-sb--shape-side-bottom::after,
.g-sb--shape-triangle.g-sb--shape-side-both::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: var(--g-shape-h, 80px);
	background: var(--g-shape-color, var(--g-dark));
	clip-path: polygon(0 100%, 50% 0, 100% 100%);
	z-index: 0;
}

.g-sb--shape-curve.g-sb--shape-side-top::before,
.g-sb--shape-curve.g-sb--shape-side-both::before {
	content: '';
	position: absolute;
	top: 0;
	left: -5%;
	right: -5%;
	height: var(--g-shape-h, 80px);
	background: var(--g-shape-color, var(--g-dark));
	clip-path: ellipse(60% 100% at 50% 0%);
	z-index: 0;
}

.g-sb--shape-curve.g-sb--shape-side-bottom::after,
.g-sb--shape-curve.g-sb--shape-side-both::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: -5%;
	right: -5%;
	height: var(--g-shape-h, 80px);
	background: var(--g-shape-color, var(--g-dark));
	clip-path: ellipse(60% 100% at 50% 100%);
	z-index: 0;
}

.g-sb--shape-angle.g-sb--shape-side-top::before,
.g-sb--shape-angle.g-sb--shape-side-both::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: var(--g-shape-h, 80px);
	background: var(--g-shape-color, var(--g-dark));
	clip-path: polygon(0 0, 100% 0, 100% 40%, 70% 100%, 0 100%);
	z-index: 0;
}

.g-sb--shape-angle.g-sb--shape-side-bottom::after,
.g-sb--shape-angle.g-sb--shape-side-both::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: var(--g-shape-h, 80px);
	background: var(--g-shape-color, var(--g-dark));
	clip-path: polygon(0 0, 30% 0, 100% 60%, 100% 100%, 0 100%);
	z-index: 0;
}

.g-sb--shape-zigzag.g-sb--shape-side-top::before,
.g-sb--shape-zigzag.g-sb--shape-side-both::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: var(--g-shape-h, 80px);
	background: var(--g-shape-color, var(--g-dark));
	clip-path: polygon(0 0, 10% 100%, 20% 0, 30% 100%, 40% 0, 50% 100%, 60% 0, 70% 100%, 80% 0, 90% 100%, 100% 0);
	z-index: 0;
}

.g-sb--shape-zigzag.g-sb--shape-side-bottom::after,
.g-sb--shape-zigzag.g-sb--shape-side-both::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: var(--g-shape-h, 80px);
	background: var(--g-shape-color, var(--g-dark));
	clip-path: polygon(0 100%, 10% 0, 20% 100%, 30% 0, 40% 100%, 50% 0, 60% 100%, 70% 0, 80% 100%, 90% 0, 100% 100%);
	z-index: 0;
}

.g-sb--shape-flip::before,
.g-sb--shape-flip::after {
	transform: scaleX(-1);
}

/* ==========================================================================
   Shape: Decorative background shapes
   ========================================================================== */

.g-sb--decor-circle::after,
.g-sb--decor-ellipse::after,
.g-sb--decor-ring::after,
.g-sb--decor-blob::after,
.g-sb--decor-gradient-orb::after {
	content: '';
	position: absolute;
	left: var(--g-decor-x, 50%);
	top: var(--g-decor-y, 50%);
	width: var(--g-decor-size, 300px);
	height: var(--g-decor-size, 300px);
	background: var(--g-decor-color, rgba(232, 72, 12, 0.12));
	border-radius: 50%;
	filter: blur(var(--g-decor-blur, 80px));
	opacity: var(--g-decor-opacity, 0.15);
	transform: translate(-50%, -50%);
	pointer-events: none;
	z-index: 0;
}

.g-sb--decor-ellipse::after {
	border-radius: 40% 60% 60% 40% / 50% 50% 50% 50%;
}

.g-sb--decor-ring::after {
	background: transparent;
	border: 2px solid var(--g-decor-color, rgba(232, 72, 12, 0.2));
	filter: none;
}

.g-sb--decor-blob::after {
	border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.g-sb--decor-gradient-orb::after {
	background: radial-gradient(circle, var(--g-decor-color, rgba(232, 72, 12, 0.2)), transparent 70%);
	border-radius: 50%;
}

/* ==========================================================================
   Icon Shape Modifiers
   ========================================================================== */

.g-sb--icon-circle .g-icon,
.g-sb--icon-circle .g-contact-ic,
.g-sb--icon-circle .g-trust__icon,
.g-sb--icon-circle .g-feature-card__icon {
	border-radius: 50% !important;
	background: var(--g-icon-bg, transparent);
	color: var(--g-icon-color, inherit);
	width: var(--g-icon-size, auto);
	height: var(--g-icon-size, auto);
}

.g-sb--icon-square .g-icon,
.g-sb--icon-square .g-contact-ic,
.g-sb--icon-square .g-trust__icon,
.g-sb--icon-square .g-feature-card__icon {
	border-radius: 0 !important;
	background: var(--g-icon-bg, transparent);
	color: var(--g-icon-color, inherit);
}

.g-sb--icon-rounded .g-icon,
.g-sb--icon-rounded .g-contact-ic,
.g-sb--icon-rounded .g-trust__icon,
.g-sb--icon-rounded .g-feature-card__icon {
	border-radius: 8px !important;
	background: var(--g-icon-bg, transparent);
	color: var(--g-icon-color, inherit);
}

.g-sb--icon-pill .g-icon,
.g-sb--icon-pill .g-contact-ic,
.g-sb--icon-pill .g-trust__icon,
.g-sb--icon-pill .g-feature-card__icon {
	border-radius: 999px !important;
	background: var(--g-icon-bg, transparent);
	color: var(--g-icon-color, inherit);
}

/* ==========================================================================
   Text Color + Size Variables
   ========================================================================== */

.g-section-block .g-kicker {
	color: var(--g-kicker-color, var(--g-accent));
}

.g-section-block .g-kicker--pill {
	color: var(--g-kicker-color, #fff);
}

.g-section-block h2,
.g-section-block h3,
.g-section-block .g-hero__title,
.g-section-block .g-mini-card__title,
.g-section-block .g-feature-card h3,
.g-section-block .g-benefit-card h3,
.g-section-block .g-service-card h3,
.g-section-block .g-flow-card h3,
.g-section-block .g-stage-card h3,
.g-section-block .g-problem-card h3,
.g-section-block .g-bento h3,
.g-section-block .g-cta__title,
.g-section-block .g-review__title {
	color: var(--g-title-color, inherit);
	font-size: var(--g-title-size, inherit);
}

.g-section-block .g-hero__subtitle,
.g-section-block .g-bento__lead,
.g-section-block .g-prose--modern>p {
	color: var(--g-subtitle-color, inherit);
	font-size: var(--g-subtitle-size, inherit);
}

.g-section-block p,
.g-section-block .g-prose,
.g-section-block .g-checklist,
.g-section-block .g-mini-card__text,
.g-section-block .g-feature-card p,
.g-section-block .g-benefit-card p,
.g-section-block .g-service-card p,
.g-section-block .g-accordion__body,
.g-section-block .g-flow-card p,
.g-section-block .g-review__text,
.g-section-block .g-stage-card p {
	color: var(--g-text-color, inherit);
	font-size: var(--g-text-size, inherit);
}

.g-section-block .g-pricecard__price,
.g-section-block .g-bento__price {
	color: var(--g-price-color, var(--g-accent));
	font-size: var(--g-price-size, inherit);
}

/* -------------------------------------------------------------------------
   Builder element options — image / text shapes (STEP 4B.5).
   Applied via reusable classes on the existing semantic element; the numeric
   radius is also emitted inline by the PHP helpers, these classes reinforce
   the angled/blob/circle silhouettes and guarantee a visible result.
   ---------------------------------------------------------------------- */
.g-opt-img--rounded {
	border-radius: 16px;
	overflow: hidden;
}

.g-opt-img--circle {
	border-radius: 50%;
	overflow: hidden;
}

.g-opt-img--blob {
	border-radius: 58% 42% 51% 49% / 47% 55% 45% 53%;
	overflow: hidden;
}

.g-opt-img--angled {
	border-radius: 0;
	clip-path: polygon(26px 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%, 0 26px);
}

.g-opt-txt--rounded {
	border-radius: 16px;
	overflow: hidden;
}

.g-opt-txt--soft {
	border-radius: 24px;
	overflow: hidden;
}

.g-opt-txt--accent {
	border-radius: 8px;
	overflow: hidden;
}

.g-opt-txt--angled {
	border-radius: 0;
	clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.g-opt-txt--bevel {
	border-radius: 0;
	clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
}

.g-opt-txt--notch {
	border-radius: 0;
	clip-path: polygon(0 0, calc(50% - 9px) 0, 50% 9px, calc(50% + 9px) 0, 100% 0, 100% 100%, 0 100%);
}

.g-opt-txt--hexagon {
	border-radius: 0;
	clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 18px 100%, 0 50%);
}

.g-opt-txt--ticket {
	border-radius: 0;
	clip-path: polygon(0 0, 100% 0, 100% 36%, calc(100% - 8px) 50%, 100% 64%, 100% 100%, 0 100%, 0 64%, 8px 50%, 0 36%);
}

.g-opt-txt--slant {
	border-radius: 0;
	clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

.g-opt-txt--tag {
	border-radius: 0;
	clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
}

.g-opt-txt--bracket {
	border-left: 3px solid var(--g-accent, #e51212) !important;
	border-right: 3px solid var(--g-accent, #e51212) !important;
	border-radius: 0;
}

.g-opt-txt--underline {
	padding-bottom: .22em;
	background-image: linear-gradient(90deg, var(--g-accent, #e51212), rgba(229, 18, 18, .18));
	background-repeat: no-repeat;
	background-position: left bottom;
	background-size: 100% 3px;
}

.g-opt-txt--pill,
.g-opt-txt--pill-outline {
	display: inline-block;
	width: auto;
	max-width: 100%;
	padding: .38em .9em;
	border-radius: 999px;
	vertical-align: middle;
}

.g-opt-txt--pill {
	background: var(--g-accent, #e51212);
	color: #fff;
}

.g-opt-txt--pill-outline {
	border: 2px solid var(--g-accent, #e51212);
	background: transparent;
}

/* Kicker-only forms selected from the canonical "Forme du cadre" control. */
.g-kicker.g-opt-txt--diamond::before {
	display: block;
}

.g-kicker.g-opt-txt--chip {
	padding: .35rem .85rem;
	border: 1px solid var(--gl-hairline-strong);
	border-radius: 4px;
	background: rgba(229, 18, 18, .06);
}

.g-kicker.g-opt-txt--line::before {
	display: block;
	width: 24px;
	height: 2px;
	border-radius: 1px;
	transform: none;
}

.g-kicker.g-opt-txt--gradient {
	padding-bottom: .25rem;
	background-image: linear-gradient(90deg, var(--g-accent), rgba(229, 18, 18, .2));
	background-repeat: no-repeat;
	background-position: bottom left;
	background-size: 100% 2px;
}

/* Text-container presets own the readable foreground. This also overrides
 * stale inline colour spans left by the rich-text editor. */
.g-opt-txt-container--card,
.g-opt-txt-container--card *,
.g-opt-txt-container--glass,
.g-opt-txt-container--glass * {
	color: #1f2937 !important;
}

.g-opt-txt-container--dark,
.g-opt-txt-container--dark *,
.g-opt-txt-container--accent,
.g-opt-txt-container--accent * {
	color: #fff !important;
}

.g-opt-txt-container--elevated {
	box-shadow: 0 14px 34px rgba(15, 23, 42, .18) !important;
}

.g-opt-txt-container--accent-outline {
	border-color: var(--g-accent, #e51212) !important;
}

.g-opt-txt-container--tinted {
	background: #fff5f5 !important;
	border-color: #fecaca !important;
}

.g-opt-txt-container--inset {
	box-shadow: inset 0 3px 10px rgba(15, 23, 42, .14) !important;
}

.g-opt-txt-container--dashed {
	border-style: dashed !important;
}

.g-opt-txt-container--top-accent {
	border-top: 4px solid var(--g-accent, #e51212) !important;
}

.g-opt-txt-container--left-accent {
	border-left: 4px solid var(--g-accent, #e51212) !important;
}

.g-opt-txt-container--gradient-dark,
.g-opt-txt-container--gradient-dark * {
	color: #fff !important;
}

.g-opt-txt-container--gradient-dark {
	background: linear-gradient(135deg, #111827, #374151) !important;
}

/* Text alignment also positions shrink-wrapped elements (kickers, pills and
 * card CTAs); text-align alone cannot move an inline/inline-flex box. */
.g-section-head-row>.g-section-head {
	/* The heading shares this row with its CTA. Give it the remaining width so
	 * per-element left/centre/right alignment has real space to work within. */
	flex: 1 1 420px;
	min-width: 0;
}

.g-grid-footer-actions {
	display: flex;
	justify-content: flex-end;
	width: 100%;
	margin-top: clamp(1.25rem, 2.5vw, 2rem);
}

.g-grid-footer-actions>.g-btn,
.g-grid-footer-actions>.g-more {
	margin-right: 0 !important;
	margin-left: auto !important;
}

.g-opt-txt-align--left {
	text-align: left !important;
}

.g-opt-txt-align--center {
	text-align: center !important;
}

.g-opt-txt-align--right {
	text-align: right !important;
}

.g-kicker.g-opt-txt-align--left,
.g-btn.g-opt-txt-align--left,
.g-more.g-opt-txt-align--left,
.g-opt-txt--pill.g-opt-txt-align--left,
.g-opt-txt--pill-outline.g-opt-txt-align--left {
	margin-left: 0 !important;
	margin-right: auto !important;
}

.g-kicker.g-opt-txt-align--center,
.g-btn.g-opt-txt-align--center,
.g-more.g-opt-txt-align--center,
.g-opt-txt--pill.g-opt-txt-align--center,
.g-opt-txt--pill-outline.g-opt-txt-align--center {
	margin-left: auto !important;
	margin-right: auto !important;
}

.g-kicker.g-opt-txt-align--right,
.g-btn.g-opt-txt-align--right,
.g-more.g-opt-txt-align--right,
.g-opt-txt--pill.g-opt-txt-align--right,
.g-opt-txt--pill-outline.g-opt-txt-align--right {
	margin-left: auto !important;
	margin-right: 0 !important;
}

.g-kicker[class*="g-opt-txt-align--"] {
	display: flex !important;
}

.g-btn[class*="g-opt-txt-align--"],
.g-more[class*="g-opt-txt-align--"] {
	display: flex !important;
}

.g-kicker[class*="g-opt-txt-align--"]:not([style*="width:"]),
.g-btn[class*="g-opt-txt-align--"]:not([style*="width:"]),
.g-more[class*="g-opt-txt-align--"]:not([style*="width:"]),
.g-opt-txt--pill[class*="g-opt-txt-align--"]:not([style*="width:"]),
.g-opt-txt--pill-outline[class*="g-opt-txt-align--"]:not([style*="width:"]) {
	width: fit-content !important;
}

/* -------------------------------------------------------------------------
   Price element markup (STEP 4D).
   Rendered by garage_render_price() for dynamic Service/Problem cards when a
   section.priceOpts[target] bucket exists. Fits inside the existing
   .g-service-foot flex row beside the CTA. Colors/sizes driven by inline CSS
   custom properties so only safe, sanitized values are ever emitted.
   ---------------------------------------------------------------------- */
.g-price {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.4rem;
	line-height: 1.25;
	vertical-align: baseline;
}

.g-price__value {
	font-weight: 800;
	font-size: 1rem;
	color: inherit;
}

.g-price__prefix,
.g-price__suffix {
	font-size: 0.9rem;
	font-weight: 600;
	color: inherit;
	opacity: 0.85;
}

.g-price__old {
	color: var(--g-old-c, rgba(22, 24, 29, 0.5));
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: line-through;
}

.g-price__old--nostrike {
	text-decoration: none;
	opacity: 0.75;
}

.g-price__badge {
	display: inline-flex;
	align-items: center;
	background: var(--g-badge-bg, var(--g-accent, #e51212));
	color: var(--g-badge-tc, #ffffff);
	border-radius: var(--g-badge-r, 999px);
	padding: 0.14rem 0.55rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.3;
}

/* Alignment within the section foot row. */
.g-price--center {
	margin-right: auto;
	margin-left: auto;
}

.g-price--right {
	margin-left: auto;
}

.g-price--left {
	margin-right: auto;
}

/* Highlight presets. */
.g-price--hl-text {
	color: var(--g-accent, #e51212);
}

.g-price--hl-text .g-price__value {
	color: var(--g-accent, #e51212);
}

.g-price--hl-pill {
	background: var(--g-accent, #e51212);
	color: #ffffff;
	padding: 0.25rem 0.85rem;
	border-radius: 999px;
}

.g-price--hl-pill .g-price__prefix,
.g-price--hl-pill .g-price__suffix,
.g-price--hl-pill .g-price__old {
	color: rgba(255, 255, 255, 0.85);
}

.g-price--hl-card {
	background: var(--g-surface, #ffffff);
	border: 1px solid var(--g-accent, #e51212);
	padding: 0.35rem 0.9rem;
	border-radius: 10px;
}

/* --------------------------------------------------------------------------
    11. Devis Page - Harmonisation du style avec Booking Wizard (.mfb-wizard)
   -------------------------------------------------------------------------- */

.g-section--booking .g-form-wrap {
	--mfb-accent: #e8480c;
	--mfb-ink: #191d24;
	--mfb-muted: #687083;
	--mfb-border: #dfe3e8;
	width: min(100%, 780px);
	margin: clamp(1rem, 3vw, 2rem) auto;
	border: 0;
	border-radius: 22px;
	box-shadow: 0 22px 65px rgba(16, 24, 40, 0.12);
	background: #fff;
	overflow: clip;
	padding: 0;
}

.g-section--booking .g-form-title {
	padding: clamp(1.2rem, 3vw, 1.8rem) clamp(1.1rem, 4vw, 2.25rem);
	background: linear-gradient(135deg, #171a20, #292e37);
	color: #fff;
	font-size: clamp(1.45rem, 4vw, 2rem);
	line-height: 1.15;
	letter-spacing: -0.025em;
	margin: 0;
}

.g-section--booking .g-form-intro {
	padding: 0.8rem clamp(1.1rem, 4vw, 2.25rem);
	background: #fafbfc;
	border-bottom: 1px solid #dfe3e8;
	color: var(--mfb-muted);
	font-size: 0.88rem;
	margin: 0;
}

.g-section--booking .g-form-notice {
	margin: 1rem clamp(1.15rem, 4vw, 2.25rem) 0;
}

.g-section--booking .g-form-service {
	margin: 1rem clamp(1.15rem, 4vw, 2.25rem) 0;
	padding: 0.8rem 1rem;
	background: #fff8f5;
	border: 1px solid #f0d8ce;
	border-radius: 10px;
	color: var(--mfb-ink);
}

.g-section--booking .g-form {
	padding: clamp(1.15rem, 4vw, 2.25rem);
}

.g-section--booking .g-field-grid {
	gap: 1.25rem 1rem;
}

.g-section--booking .g-field label {
	color: #2b3039;
	font-size: 0.87rem;
	font-weight: 700;
}

.g-section--booking .g-form input[type='text'],
.g-section--booking .g-form input[type='tel'],
.g-section--booking .g-form input[type='email'],
.g-section--booking .g-form input[type='number'],
.g-section--booking .g-form select,
.g-section--booking .g-form textarea {
	min-height: 46px;
	padding: 0.75rem;
	border: 1px solid #cfd4db;
	border-radius: 10px;
	background: #fff;
	font: inherit;
	color: var(--mfb-ink);
	transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.g-section--booking .g-form input:hover,
.g-section--booking .g-form select:hover,
.g-section--booking .g-form textarea:hover {
	border-color: #aeb5c1;
}

.g-section--booking .g-form input:focus,
.g-section--booking .g-form select:focus,
.g-section--booking .g-form textarea:focus {
	border-color: var(--mfb-accent, #e8480c);
	outline: none;
	box-shadow: 0 0 0 3px rgba(232, 72, 12, 0.13);
}

/* Fieldsets et Groupes de champs */
.g-section--booking .g-field-group,
.g-section--booking .g-field-services {
	border: 1px solid var(--mfb-border, #dfe3e8);
	border-radius: 14px;
	padding: clamp(1rem, 3vw, 1.25rem);
	margin: 0 0 0.5rem;
	background: #fbfcfd;
	grid-column: 1 / -1;
}

.g-section--booking .g-field-legend {
	padding: 0 0.45rem;
	margin-bottom: 0.75rem;
	font-weight: 800;
	font-size: 1.02rem;
	color: var(--mfb-ink);
}

.g-section--booking .g-field-group-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem 1rem;
}

@media (max-width: 680px) {
	.g-section--booking .g-field-group-grid {
		grid-template-columns: 1fr;
	}
}

/* Tuiles / Cartes de Prestations */
.g-section--booking .g-check-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.7rem;
}

@media (max-width: 680px) {
	.g-section--booking .g-check-grid {
		grid-template-columns: 1fr;
	}
}

.g-section--booking .g-check {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 4.5rem;
	padding: 0.9rem 3.1rem 0.9rem 1rem;
	border: 1px solid #dce1e7;
	border-radius: 14px;
	background: linear-gradient(180deg, #fff, #fbfcfd);
	box-shadow: 0 3px 12px rgba(23, 31, 43, 0.035);
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.g-section--booking .g-check::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 1rem;
	display: grid;
	place-items: center;
	width: 1.45rem;
	height: 1.45rem;
	transform: translateY(-50%);
	border: 2px solid #c7ced7;
	border-radius: 6px;
	background: #fff;
	color: #fff;
	font-size: 0.8rem;
	font-weight: 900;
}

.g-section--booking .g-check:hover {
	border-color: #aeb8c4;
	box-shadow: 0 7px 20px rgba(24, 34, 48, 0.08);
	transform: translateY(-1px);
}

.g-section--booking .g-check:has(input:checked) {
	border-color: #e8480c;
	background: linear-gradient(180deg, #fffaf7, #fff4ef);
	box-shadow: 0 0 0 3px rgba(232, 72, 12, 0.1), 0 8px 22px rgba(103, 44, 20, 0.08);
}

.g-section--booking .g-check:has(input:checked)::after {
	content: '✓';
	border-color: #e8480c;
	background: #e8480c;
}

.g-section--booking .g-check input[type='checkbox'] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.g-section--booking .g-check span {
	font-size: 0.95rem;
	font-weight: 750;
	color: var(--mfb-ink);
	line-height: 1.35;
}

.g-section--booking .g-field-group--message {
	background: #fffaf7;
	border-color: #f0d8ce;
}

.g-section--booking .g-field-group--message textarea {
	min-height: 120px;
	border-color: #ccd4dd;
	border-radius: 10px;
	background: linear-gradient(180deg, #fff, #fcfdfe);
	line-height: 1.5;
	resize: vertical;
}

.g-section--booking .g-field-group--message textarea:hover {
	border-color: #aeb9c5;
}

.g-section--booking .g-field-group--message textarea:focus {
	border-color: #e8480c;
	box-shadow: 0 0 0 3px rgba(232, 72, 12, 0.11);
}

/* Boutons et soumission */
.g-section--booking .g-form .g-btn--primary {
	min-height: 46px;
	padding: 0.72rem 1.8rem;
	border-radius: 10px;
	border-color: #e8480c;
	background: #e8480c;
	color: #fff;
	font-weight: 800;
	box-shadow: 0 7px 18px rgba(232, 72, 12, 0.2);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	margin-top: 0.5rem;
}

.g-section--booking .g-form .g-btn--primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 9px 22px rgba(232, 72, 12, 0.26);
}

/* Carte d'indisponibilité du devis & WhatsApp CTA */
.g-devis-unavailable {
	max-width: 640px;
	margin: 2rem auto;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	background: #fff;
	border: 1px solid #dfe3e8;
	border-radius: 20px;
	box-shadow: 0 16px 50px rgba(18, 24, 36, 0.08);
	text-align: center;
	display: grid;
	justify-items: center;
	gap: 1rem;
}

.g-devis-unavailable__icon {
	display: grid;
	place-items: center;
	width: 3.8rem;
	height: 3.8rem;
	border-radius: 50%;
	background: #fff5f0;
	color: #e8480c;
	font-size: 1.8rem;
	box-shadow: 0 0 0 8px rgba(232, 72, 12, 0.08);
}

.g-devis-unavailable h2 {
	margin: 0;
	font-size: clamp(1.25rem, 3.5vw, 1.6rem);
	color: #191d24;
}

.g-devis-unavailable p {
	margin: 0;
	color: #687083;
	font-size: 0.95rem;
	max-width: 50ch;
}

.g-devis-unavailable__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	justify-content: center;
	margin-top: 0.5rem;
	width: 100%;
}

.g-devis-unavailable__cta {
	min-height: 46px;
	padding: 0.72rem 1.4rem;
	border-radius: 10px;
	font-weight: 800;
}

.g-btn--whatsapp {
	background: #25D366;
	border: 1px solid #20bd5a;
	color: #fff;
	box-shadow: 0 7px 18px rgba(37, 211, 102, 0.22);
}

.g-btn--whatsapp:hover {
	background: #20bd5a;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 9px 22px rgba(37, 211, 102, 0.3);
}


