/*
Theme Name: Modulo
Theme URI: https://modulo-velo.fr
Author: Manon Renevier
Description: Thème sur-mesure pour Modulo, marque lyonnaise de vélos urbains personnalisables. Thème à blocs (éditeur de site), conforme à la maquette Figma : pages Accueil, Comment ça marche ?, À propos et Contact, configurateur interactif, carrousel, options, FAQ et formulaire. Léger (aucune bibliothèque externe), responsive et accessible.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: modulo
Tags: full-site-editing, block-patterns, custom-colors, accessibility-ready, one-column
*/

/* ==========================================================================
   1. Variables (charte graphique Modulo)
   ========================================================================== */
:root {
	--bl: #89D2F6;
	--pk: #F6B7C5;
	--an: #202126;
	--bc: #FFF9F4;
	--wh: #FFFFFF;
	--gr: #58595C;
	--bl3: #E2F4FD;
	--pk3: #FDEDF1;
	--sb: #F5ECE2;
	--line: #E9DDCF;
	--muted: #909093;
	--err: #B3261E;
	--ff-t: Montserrat, "Segoe UI", Arial, sans-serif;
	--ff-p: Poppins, "Segoe UI", Arial, sans-serif;
	--shadow: 0 16px 32px rgba(32, 33, 38, .12);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--ico-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--ico-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
	--ico-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
	--ico-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E");
	--ico-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 3.5h3l1.5 4-2 1.5a11 11 0 0 0 6 6l1.5-2 4 1.5v3a2 2 0 0 1-2 2A16 16 0 0 1 4.5 5.5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
	--ico-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2'/%3E%3Cpath d='M3.5 7l8.5 6 8.5-6'/%3E%3C/svg%3E");
	--ico-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
	--ico-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
	--ico-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23202126' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
}

/* ==========================================================================
   2. Base
   ========================================================================== */
html { scroll-padding-top: 104px; }
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.wp-site-blocks > * { margin-block-start: 0; }
.m-main { overflow-x: clip; }
.wp-block-post-content > .alignfull { margin-block: 0; }
img, svg { max-width: 100%; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--an);
	outline-offset: 3px;
	box-shadow: 0 0 0 6px var(--bl);
	border-radius: 6px;
}
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
	width: 1px; word-wrap: normal !important;
}
.skip-link.screen-reader-text:focus {
	clip: auto !important; clip-path: none; height: auto; width: auto; z-index: 100000;
	background: var(--an); color: var(--bc); padding: 12px 20px; left: 12px; top: 12px; border-radius: 999px;
}
strong, b { color: var(--an); }
p { margin-block: 0; }
h1, h2, h3, h4 { margin-block: 0; text-wrap: balance; }
.m-h3 { font-size: var(--wp--preset--font-size--titre-s) !important; line-height: 1.36; }

/* Sections ---------------------------------------------------------------- */
.m-sec { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.m-sec--tight { padding-top: 48px; padding-bottom: 48px; }
.m-sec--top0 { padding-top: 0; }
.m-sec.is-white { background: var(--wh); }
.m-sec.is-sable { background: var(--sb); }
.m-sec > .wp-block-heading { margin-top: 14px; }
.m-intro { max-width: 680px; }
/* Éléments plus étroits que la grille : alignés à gauche de la colonne de 1200 px */
.is-layout-constrained > .m-eyebrow,
.is-layout-constrained > .m-intro,
.is-layout-constrained > .m-lead,
.is-layout-constrained > .m-breadcrumb,
.m-pagehead.is-layout-constrained > .wp-block-heading {
	margin-left: max(0px, calc((100% - 1200px) / 2)) !important; margin-right: auto !important;
}
.m-lead { font-size: 18px; line-height: 28px; max-width: 600px; }
.m-small { font-size: 14px; line-height: 20px; }

/* Surtitre (pastille) */
.m-eyebrow {
	width: fit-content; background: var(--pk3); color: var(--an);
	font: 600 14px/20px var(--ff-p); letter-spacing: 1px; text-transform: uppercase;
	padding: 7px 17px; border-radius: 17px;
}
.m-eyebrow.is-blue { background: var(--bl3); }

/* Boutons ----------------------------------------------------------------- */
.wp-block-button__link { display: inline-flex; align-items: center; gap: 10px; transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus-visible { background: var(--pk); color: var(--an); }
.m-arrow .wp-block-button__link::after {
	content: ""; width: 20px; height: 20px; flex: none; background: currentColor;
	-webkit-mask: var(--ico-arrow) center / contain no-repeat; mask: var(--ico-arrow) center / contain no-repeat;
	transition: transform .25s var(--ease);
}
.m-arrow .wp-block-button__link:hover::after { transform: translateX(4px); }
.wp-block-buttons { gap: 16px; }
.m-btns { margin-top: 32px; }
.m-btns-center { justify-content: center; margin-top: 48px; }
.m-btns-col { flex-direction: column; align-items: flex-start; margin-top: 32px; }

/* ==========================================================================
   3. En-tête et navigation
   ========================================================================== */
.m-header-part {
	position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50;
	background: var(--bc); border-bottom: 1px solid var(--line);
	transition: box-shadow .3s var(--ease);
}
.m-header-part.is-scrolled { box-shadow: 0 6px 24px rgba(32, 33, 38, .08); }
.m-header__in { min-height: 88px; gap: 24px; }
.m-logo { display: inline-flex; line-height: 0; border-radius: 4px; }
.m-logo img { width: 185px; height: auto; }

.m-nav { font: 500 16px/24px var(--ff-p); color: var(--an); }
.m-nav .wp-block-navigation__container { gap: 40px; align-items: center; }
.m-nav .wp-block-navigation-item__content { color: var(--an); text-decoration: none; padding: 8px 0; position: relative; }
.m-nav .wp-block-navigation-item:not(.m-nav-cta) .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px;
	background: var(--an); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.m-nav .wp-block-navigation-item:not(.m-nav-cta) .wp-block-navigation-item__content:hover::after { transform: scaleX(1); }
.m-nav .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1) !important; background: var(--bl) !important; }
.m-nav .m-nav-cta { margin-left: 8px; }
.m-nav .m-nav-cta > .wp-block-navigation-item__content {
	background: var(--an); color: var(--bc); border-radius: 999px; padding: 10px 20px; font-size: 15px;
	transition: background-color .25s var(--ease), color .25s var(--ease);
}
.m-nav .m-nav-cta > .wp-block-navigation-item__content:hover { background: var(--bl); color: var(--an); }

/* Menu mobile / tablette (en dessous de 1024 px) */
.m-nav .wp-block-navigation__responsive-container-open,
.m-nav .wp-block-navigation__responsive-container-close {
	width: 48px; height: 48px; border-radius: 24px; align-items: center; justify-content: center; color: var(--an);
}
.m-nav .wp-block-navigation__responsive-container-open svg,
.m-nav .wp-block-navigation__responsive-container-close svg { width: 28px; height: 28px; }
@media (max-width: 1023.98px) {
	.m-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.m-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.m-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { display: flex; }
	.m-header__in { min-height: 64px; }
	.m-logo img { width: 150px; }
}
.m-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--bc) url("assets/img/motif-menu.svg") center bottom 24px / 360px auto no-repeat !important;
	color: var(--an); padding: 12px clamp(20px, 5vw, 40px) 220px;
}
.m-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 64px; }
.m-nav .is-menu-open .wp-block-navigation__container { gap: 0 !important; width: 100%; align-items: stretch !important; }
.m-nav .is-menu-open .wp-block-navigation-item { width: 100%; }
.m-nav .is-menu-open .wp-block-navigation-item:not(.m-nav-cta) .wp-block-navigation-item__content {
	display: flex !important; justify-content: space-between; align-items: center; width: 100%;
	font: 700 22px/30px var(--ff-t); padding: 20px 0; border-bottom: 1px solid var(--line);
}
.m-nav .is-menu-open .wp-block-navigation-item:not(.m-nav-cta) .wp-block-navigation-item__content::after {
	position: static; width: 24px; height: 24px; transform: none; background: var(--an);
	-webkit-mask: var(--ico-arrow) center / contain no-repeat; mask: var(--ico-arrow) center / contain no-repeat;
}
.m-nav .is-menu-open .current-menu-item > .wp-block-navigation-item__content { color: var(--an); }
.m-nav .is-menu-open .current-menu-item > .wp-block-navigation-item__content::after { background: var(--an) !important; }
.m-nav .is-menu-open .m-nav-cta { margin: 32px 0 0; }
.m-nav .is-menu-open .m-nav-cta > .wp-block-navigation-item__content { box-sizing: border-box; display: flex !important; justify-content: center; width: 100%; padding: 14px 20px; font-size: 16px; }

/* ==========================================================================
   4. Accueil
   ========================================================================== */
.m-hero { padding-top: clamp(32px, 5vw, 72px); padding-bottom: clamp(48px, 6vw, 72px); }
.m-hero__cols { gap: clamp(32px, 6vw, 80px); align-items: center !important; }
.m-hero__txt { flex-basis: 46% !important; flex-grow: 0 !important; }
.m-hero__txt h1 { margin-top: 24px; }
.m-hero__txt .m-lead { margin-top: 20px; }
.m-herovis { position: relative; width: 100%; max-width: 620px; margin-inline: auto; aspect-ratio: 620 / 580; }
.m-herovis__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-herovis__bike { position: absolute; left: 1.6%; top: 34.5%; width: 96.8%; height: auto; }
.m-tag {
	position: absolute; display: flex; align-items: center; gap: 12px; background: var(--wh);
	border-radius: 16px; padding: 10px 18px 10px 14px; box-shadow: 0 10px 24px rgba(32, 33, 38, .12);
	font-family: var(--ff-p); white-space: nowrap;
}
.m-tag small { display: block; font-size: 12px; line-height: 18px; color: var(--gr); }
.m-tag strong { display: block; font-size: 15px; line-height: 22px; font-weight: 600; }
.m-tag__dot { width: 28px; height: 28px; border-radius: 50%; background: var(--pk); flex: none; }
.m-tag__check { width: 28px; height: 28px; border-radius: 50%; background: var(--an); flex: none; position: relative; }
.m-tag__check::after { content: ""; position: absolute; inset: 5px; background: var(--bc); -webkit-mask: var(--ico-check) center / contain no-repeat; mask: var(--ico-check) center / contain no-repeat; }
.m-tag--cadre { left: 0; top: 12%; }
.m-tag--option { right: 0; bottom: 5%; }
@media (prefers-reduced-motion: no-preference) {
	.m-tag--cadre { animation: m-float 5s ease-in-out infinite; }
	.m-tag--option { animation: m-float 5s ease-in-out 1.2s infinite; }
}
@keyframes m-float { 50% { transform: translateY(-8px); } }

.m-checks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font: 500 14px/24px var(--ff-p); color: var(--an); }
.m-checks li { position: relative; padding-left: 30px; }
.m-checks li::before { content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 24px; background: var(--an); -webkit-mask: var(--ico-check) center / 20px no-repeat; mask: var(--ico-check) center / 20px no-repeat; }

/* Anneaux (module de la marque) */
.m-ring { box-sizing: border-box; --d: 48px; --r: var(--bl); --h: var(--pk); display: block; width: var(--d); height: var(--d); border-radius: 50%; border: calc(var(--d) * .22) solid var(--r); position: relative; flex: none; background: var(--wh); }
.m-ring::after { content: ""; position: absolute; inset: 0; margin: auto; width: calc(var(--d) * .28); height: calc(var(--d) * .28); border-radius: 50%; background: var(--h); }
.m-ring--lg { --d: 64px; }
.m-ring--sm { --d: 38px; }
.m-ring--rose-bleu { --r: var(--pk); --h: var(--bl); }
.m-ring--anth-bleu { --r: var(--an); --h: var(--bl); }
.m-ring--bleu-anth { --r: var(--bl); --h: var(--an); }
.m-ring--anth-rose { --r: var(--an); --h: var(--pk); }

/* Valeurs (bandeau) */
.m-values { border-top: 1px solid var(--line); }
.m-value { display: grid !important; grid-template-columns: 48px 1fr; column-gap: 16px; align-content: start; }
.m-value > * { margin: 0 !important; }
.m-value .m-ring { grid-row: span 2; }
.m-value h3 { font-size: 18px; line-height: 26px; }
.m-value p { font-size: 14px; line-height: 20px; margin-top: 4px !important; }

/* Cartes */
.m-cards { margin-top: 40px !important; gap: 24px !important; }
.m-card {
	background: var(--wh); border: 1.5px solid var(--line); border-radius: 20px; padding: 32px;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.m-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--an); }
.m-card.is-hover-bleu:hover { background: var(--bl3); }
.m-card.is-hover-rose:hover { background: var(--pk3); }
.m-card.is-hover-sable:hover { background: var(--sb); }
.m-card h3 { margin-top: 32px; }
.m-card p { font-size: 15px; line-height: 24px; }
.m-card__top { display: flex; align-items: center; gap: 16px; }
.m-card__num { font: 700 24px/32px var(--ff-t); color: var(--an); }
.m-grid4 .m-card h3 { margin-top: 28px; }

/* Carrousel de témoignages */
.m-carousel { margin-top: 40px; background: var(--wh); border: 1.5px solid var(--line); border-radius: 28px; padding: 16px; position: relative; }
.m-carousel__track { display: grid; touch-action: pan-y; }
.m-slide {
	grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 48px; align-items: start;
	opacity: 0; visibility: hidden; transform: translateX(24px);
	transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.m-slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.m-slide__vis { position: relative; border-radius: 20px; aspect-ratio: 560 / 408; overflow: hidden; }
.m-slide__vis.is-rose { background: var(--pk3); }
.m-slide__vis.is-bleu { background: var(--bl3); }
.m-slide__vis.is-sable { background: var(--sb); }
.m-slide__ring { position: absolute; width: 53.6%; aspect-ratio: 1; left: 23.2%; top: 9.8%; border-radius: 50%; border: clamp(20px, 3vw, 36px) solid var(--wh); }
.m-slide__vis .m-bike { position: absolute; left: 8.9%; bottom: 8%; width: 82%; height: auto; }
.m-slide__txt { padding: 40px 32px 0 0; }
.m-slide__count { font: 600 14px/20px var(--ff-p); color: var(--gr); }
.m-slide__quote { margin: 16px 0 0; }
.m-slide__quote p { font: 600 clamp(19px, 2vw, 26px)/1.46 var(--ff-t); color: var(--an); }
.m-slide__who { margin-top: 32px; font-weight: 600; color: var(--an); }
.m-slide__model { font-size: 14px; line-height: 20px; }
.m-carousel__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 16px 16px calc(min(560px, 50%) + 48px); margin-top: -76px; position: relative; z-index: 2; }
.m-dots { display: flex; align-items: center; gap: 4px; }
.m-dot { border: 0; background: none; padding: 6px 4px; cursor: pointer; display: inline-flex; align-items: center; }
.m-dot::before { content: ""; display: block; width: 12px; height: 12px; border-radius: 6px; background: #C7C8C9; transition: width .3s var(--ease), background-color .3s; }
.m-dot.is-active::before { width: 28px; background: var(--an); }
.m-dot:hover::before { background: var(--muted); }
.m-dot.is-active:hover::before { background: var(--an); }
.m-carousel__hint { display: none; font: 500 13px/20px var(--ff-p); color: var(--gr); }
.m-arrows { display: flex; gap: 16px; }
.m-round {
	width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--an); background: var(--an); color: var(--bc);
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
	transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.m-round.is-outline { background: transparent; color: var(--an); }
.m-round svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.m-round:hover { background: var(--bl); color: var(--an); border-color: var(--bl); }
.m-round:active { transform: scale(.94); }

/* Blocs image + texte */
.m-split { gap: clamp(32px, 7vw, 80px) !important; }
.m-split__media { flex-basis: 46% !important; flex-grow: 0 !important; }
.m-split__txt > * + * { margin-top: 20px; }
.m-split__txt .wp-block-heading { margin-top: 14px; }
.m-photo { display: block; width: 100%; height: auto; border-radius: 28px; }
.m-photo--facade { aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; }

/* Listes d'informations (adresse, horaires…) */
.m-infos { list-style: none; padding: 0; margin: 28px 0 0; font: 500 16px/24px var(--ff-p); color: var(--an); }
.m-infos li { position: relative; padding-left: 36px; margin-bottom: 18px; }
.m-infos li::before { content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 24px; background: var(--an); -webkit-mask: var(--ico-pin) center / contain no-repeat; mask: var(--ico-pin) center / contain no-repeat; }
.m-infos li.is-clock::before { -webkit-mask-image: var(--ico-clock); mask-image: var(--ico-clock); }
.m-infos li.is-phone::before { -webkit-mask-image: var(--ico-phone); mask-image: var(--ico-phone); }
.m-infos li.is-mail::before { -webkit-mask-image: var(--ico-mail); mask-image: var(--ico-mail); }
.m-infos a { color: var(--an); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Bandeau d'appel à l'action avec motif */
.m-cta { background: url("assets/img/motif-bandeau.svg") center / 1440px 360px repeat-x; padding-top: 100px; padding-bottom: 100px; }
.m-cta__card { max-width: 720px; margin-inline: auto; background: var(--bc); border-radius: 28px; padding: 48px clamp(24px, 6vw, 60px); box-shadow: 0 12px 40px rgba(32, 33, 38, .10); }
.m-cta__card .wp-block-heading { margin-top: 0; }
.m-cta__card .wp-block-buttons { margin-top: 24px; }

/* ==========================================================================
   5. Pages intérieures
   ========================================================================== */
.m-pagehead { padding-top: 56px; padding-bottom: clamp(48px, 6vw, 72px); }
.m-pagehead > .wp-block-heading, .m-pagehead .wp-block-heading { margin-top: 24px; max-width: 700px; }
.m-pagehead .m-lead { margin-top: 20px; max-width: 640px; }
.m-pagehead.has-motif { background: url("assets/img/motif-entete.svg") no-repeat right max(40px, calc((100vw - 1200px) / 2)) top 40px / 440px 280px; }
@media (max-width: 1100px) { .m-pagehead.has-motif { background: none; } }
.m-breadcrumb { font: 500 14px/20px var(--ff-p); color: var(--gr); display: flex; flex-wrap: wrap; gap: 10px; }
.m-breadcrumb a { color: var(--gr); text-decoration: none; }
.m-breadcrumb a:hover { color: var(--an); text-decoration: underline; }
.m-breadcrumb [aria-current] { color: var(--an); font-weight: 600; }
.m-head-split { gap: clamp(32px, 6vw, 80px) !important; }
.m-head-split__vis { flex-basis: 40% !important; flex-grow: 0 !important; }
.m-symbolbox { background: var(--bl); border-radius: 28px; aspect-ratio: 460 / 320; display: flex; align-items: center; justify-content: center; }
.m-symbolbox img { width: 50%; height: auto; }

/* Étapes numérotées (parcours en boutique) */
.m-steps { list-style: none; counter-reset: etape; padding: 0; margin: 28px 0 0; }
.m-steps li { counter-increment: etape; position: relative; padding-left: 64px; min-height: 44px; font-size: 15px; line-height: 24px; }
.m-steps li + li { margin-top: 28px; }
.m-steps li::before {
	content: counter(etape); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
	background: var(--bl); color: var(--an); font: 700 16px/44px var(--ff-t); text-align: center;
}
.m-steps li:nth-child(even)::before { background: var(--pk); }
.m-steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 50px; width: 2px; height: calc(100% - 22px); background: #C7C8C9; }
.m-steps strong { display: block; font: 700 17px/24px var(--ff-t); }

/* Configurateur */
.m-config { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: 40px; align-items: start; }
.m-config__preview { background: var(--wh); border: 1.5px solid var(--line); border-radius: 28px; padding: 32px; position: sticky; top: 112px; }
.m-config__label { font: 600 14px/20px var(--ff-p); }
.m-config__stage { position: relative; aspect-ratio: 536 / 400; margin-top: 8px; }
.m-config__ring { position: absolute; width: 56%; aspect-ratio: 1; left: 22%; top: 6%; border-radius: 50%; border: clamp(22px, 3.4vw, 40px) solid var(--bl3); }
.m-config__bike { position: absolute; left: 3%; bottom: 0; width: 94%; height: auto; }
.m-bike path, .m-bike circle, .m-bike line, .m-bike ellipse, .m-bike rect, .m-bike polyline { transition: stroke .4s var(--ease), fill .4s var(--ease); }
.m-config__color { margin-top: 20px; font: 700 20px/28px var(--ff-t); color: var(--an); }
.m-config__summary { margin-top: 6px; font-size: 14px; line-height: 22px; }
.m-config__title { font-size: 24px; line-height: 32px; }
.m-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.m-tab, .m-next {
	font: 600 15px/22px var(--ff-p); color: var(--an); background: var(--wh); border: 1.5px solid var(--muted);
	border-radius: 999px; padding: 9px 18px; cursor: pointer; transition: background-color .25s var(--ease), color .25s, border-color .25s;
}
.m-tab:hover { border-color: var(--an); }
.m-tab.is-active, .m-tab[aria-selected="true"] { background: var(--an); color: var(--bc); border-color: var(--an); }
.m-panel { margin-top: 24px; background: var(--bl3); border-radius: 20px; padding: 24px 28px; }
.m-panel:not([hidden]) { animation: m-in .4s var(--ease); }
@keyframes m-in { from { opacity: 0; transform: translateY(8px); } }
.m-panel__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.m-panel__title { font-size: 20px; line-height: 28px; }
.m-panel__head p { font-size: 14px; line-height: 22px; margin-top: 6px; }
.m-panel__head .m-icon { width: 64px; height: 64px; flex: none; }
.m-chips, .m-swatches { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.m-chips legend, .m-swatches legend { font: 600 14px/20px var(--ff-p); color: var(--an); padding: 0; margin-bottom: 10px; float: left; width: 100%; }
.m-chips legend + *, .m-swatches legend + * { clear: left; }
.m-chip, .m-swatch { display: inline-flex; position: relative; margin: 0 6px 8px 0; cursor: pointer; }
.m-chip input, .m-swatch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.m-chip span {
	font: 500 14px/20px var(--ff-p); color: var(--an); background: var(--wh); border: 1.5px solid var(--muted);
	border-radius: 18px; padding: 7px 14px; transition: background-color .2s var(--ease), color .2s, border-color .2s;
}
.m-chip:hover span { border-color: var(--an); }
.m-chip input:checked + span { background: var(--an); color: var(--bc); border-color: var(--an); }
.m-chip input:focus-visible + span, .m-swatch input:focus-visible + span { outline: 3px solid var(--an); outline-offset: 3px; box-shadow: 0 0 0 6px var(--bl); }
.m-swatch { margin-right: 12px; }
.m-swatch span:not(.screen-reader-text) { display: block; width: 36px; height: 36px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(32, 33, 38, .15); transition: outline-color .2s; outline: 2.5px solid transparent; outline-offset: 3px; }
.m-swatch input:checked + span { outline-color: var(--an); }
.m-panel__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 8px; }
.m-next { font-size: 14px; padding: 8px 18px; border-color: var(--an); background: transparent; }
.m-next:hover { background: var(--pk); }
.m-panel__step { font: 600 14px/20px var(--ff-p); }

/* Options */
.m-options { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.m-option {
	width: 100%; height: 100%; min-height: 236px; text-align: left; display: flex; flex-direction: column; align-items: flex-start;
	background: var(--wh); border: 1.5px solid var(--line); border-radius: 20px; padding: 20px; position: relative; cursor: pointer;
	font-family: var(--ff-p); color: var(--gr);
	transition: transform .3s var(--ease), border-color .3s, background-color .3s, box-shadow .3s;
}
.m-option:hover { transform: translateY(-4px); border-color: var(--an); box-shadow: var(--shadow); }
.m-option.is-on { background: var(--pk3); border: 2px solid var(--an); padding: 19.5px; }
.m-option .m-icon { width: 56px; height: 56px; }
.m-switch { position: absolute; top: 24px; right: 20px; width: 44px; height: 26px; border-radius: 13px; background: #C7C8C9; transition: background-color .3s var(--ease); }
.m-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--wh); transition: transform .3s var(--ease); }
.m-option.is-on .m-switch { background: var(--an); }
.m-option.is-on .m-switch::after { transform: translateX(18px); }
.m-option__title { margin-top: 16px; font: 700 18px/26px var(--ff-t); color: var(--an); }
.m-option__desc { margin-top: 4px; font-size: 14px; line-height: 20px; }
.m-option__status { margin-top: auto; padding-top: 20px; font: 600 14px/20px var(--ff-p); color: var(--an); }

/* FAQ (accordéon) */
.m-faqwrap { gap: clamp(32px, 6vw, 80px) !important; }
.m-faqwrap .wp-block-buttons { margin-top: 24px; }
.m-faq > * + * { margin-top: 12px !important; }
.m-faq .wp-block-details { background: var(--wh); border: 1.5px solid var(--line); border-radius: 16px; transition: background-color .3s var(--ease), border-color .3s; }
.m-faq .wp-block-details[open] { background: var(--bl3); border-color: var(--bl); }
.m-faq summary { list-style: none; position: relative; padding: 22px 72px 22px 24px; font: 600 17px/26px var(--ff-t); color: var(--an); cursor: pointer; border-radius: 16px; }
.m-faq summary::-webkit-details-marker { display: none; }
.m-faq summary::after { content: ""; position: absolute; right: 24px; top: 21px; width: 28px; height: 28px; background: var(--an); -webkit-mask: var(--ico-plus) center / contain no-repeat; mask: var(--ico-plus) center / contain no-repeat; transition: transform .3s var(--ease); }
.m-faq [open] summary::after { -webkit-mask-image: var(--ico-minus); mask-image: var(--ico-minus); }
.m-faq .wp-block-details > p { margin: 0; padding: 0 72px 22px 24px; font-size: 15px; line-height: 24px; }

/* Frise chronologique */
.m-timeline { position: relative; margin-top: 56px !important; gap: 60px !important; }
.m-timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 2px; background: var(--an); }
.m-timeline > .wp-block-column { position: relative; }
.m-timeline .m-ring { z-index: 1; }
.m-year { margin-top: 24px; font: 700 28px/36px var(--ff-t); color: var(--an); }
.m-timeline h3 { font-size: 18px; line-height: 26px; margin-top: 6px; }
.m-timeline p:not(.m-year) { font-size: 15px; line-height: 24px; margin-top: 6px; }

/* Équipe */
.m-team { margin-top: 40px !important; gap: 24px !important; }
.m-portrait { position: relative; aspect-ratio: 384 / 300; border-radius: 24px; overflow: hidden; background: var(--bl); }
.m-portrait.is-rose { background: var(--pk); }
.m-portrait.is-sable { background: var(--sb); }
.m-portrait__head { position: absolute; width: 20.8%; aspect-ratio: 1; left: 39.6%; top: 23.3%; border-radius: 50%; background: var(--an); }
.m-portrait__body { position: absolute; width: 41.7%; aspect-ratio: 1; left: 29.2%; top: 56%; border-radius: 50%; background: var(--an); }
.m-portrait__badge { position: absolute; width: 14.6%; aspect-ratio: 1; right: 6.25%; top: 8%; border-radius: 50%; border: clamp(7px, 1vw, 12px) solid var(--wh); transition: transform .5s var(--ease); }
.m-team > .wp-block-column:hover .m-portrait__badge { transform: rotate(180deg) scale(1.15); }
.m-team h3 { margin-top: 20px; font-size: 20px; line-height: 28px; }
.m-team p { font-size: 15px; }

/* Contact */
.m-contact { gap: clamp(32px, 6vw, 80px) !important; align-items: flex-start !important; }
.m-formcol { flex-basis: 54% !important; flex-grow: 0 !important; }
.m-formcol .m-small { margin-top: 8px; }
.m-form { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.m-field { grid-column: 1 / -1; display: flex; flex-direction: column; margin-bottom: 8px; }
.m-field--half { grid-column: span 1; }
.m-field label, .m-check label { font: 500 14px/20px var(--ff-p); color: var(--an); margin-bottom: 8px; }
.m-field input, .m-field select, .m-field textarea {
	font: 400 16px/24px var(--ff-p); color: var(--an); background: var(--wh); border: 1.5px solid var(--muted); border-radius: 12px;
	padding: 14px 16px; min-height: 56px; width: 100%; box-sizing: border-box; transition: border-color .2s, box-shadow .2s;
}
.m-field textarea { min-height: 150px; resize: vertical; }
.m-field select { appearance: none; -webkit-appearance: none; background: var(--wh) var(--ico-chev) right 16px center / 24px no-repeat; padding-right: 52px; }
.m-field input::placeholder, .m-field textarea::placeholder { color: var(--gr); opacity: 1; }
.m-field input:focus, .m-field select:focus, .m-field textarea:focus { outline: none; border: 2px solid var(--an); box-shadow: 0 0 0 4px var(--bl); }
.m-field.is-invalid input, .m-field.is-invalid textarea { border-color: var(--err); }
.m-field__msg { min-height: 20px; font-size: 13px; line-height: 20px; color: var(--err); margin-top: 2px; }
.m-form__error { grid-column: 1 / -1; background: var(--pk3); border: 1.5px solid var(--err); border-radius: 12px; padding: 12px 16px; color: var(--an); margin-bottom: 16px; }
.m-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.m-check { grid-column: 1 / -1; display: grid; grid-template-columns: 24px 1fr; gap: 0 16px; align-items: start; margin: 8px 0 16px; }
.m-check input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; border: 2px solid var(--an); border-radius: 6px; background: var(--wh); cursor: pointer; display: grid; place-content: center; }
.m-check input:checked { background: var(--an) var(--ico-check) center / 18px no-repeat; }
.m-check input:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFF9F4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.m-check label { margin: 2px 0 0; font-weight: 400; }
.m-check .m-field__msg { grid-column: 2; }
.m-form .wp-block-button { grid-column: 1 / -1; }
.m-form .wp-block-button__link { border: 0; cursor: pointer; }
.m-infocard { background: var(--wh); border: 1.5px solid var(--line); border-radius: 28px; padding: 40px !important; }
.m-infocard .m-infos { margin-top: 24px; }
.m-map { display: block; position: relative; margin-top: 12px; border-radius: 12px; overflow: hidden; line-height: 0; }
.m-map img { width: 100%; height: auto; transition: transform .5s var(--ease); }
.m-map:hover img { transform: scale(1.03); }
.m-map__label { position: absolute; right: 12px; bottom: 12px; line-height: 20px; background: var(--an); color: var(--bc); font: 500 14px/20px var(--ff-p); padding: 8px 14px; border-radius: 999px; }
.m-confirm { background: var(--wh); border: 1.5px solid var(--line); border-radius: 28px; padding: 48px !important; }
.m-confirm__check { display: block; width: 96px; height: 96px; border-radius: 50%; background: var(--bl3); position: relative; margin-bottom: 32px; }
.m-confirm__check::after { content: ""; position: absolute; inset: 24px; background: var(--an); -webkit-mask: var(--ico-check) center / contain no-repeat; mask: var(--ico-check) center / contain no-repeat; }
.m-confirm p { margin-top: 16px; }
@media (prefers-reduced-motion: no-preference) {
	.m-confirm__check { animation: m-pop .6s var(--ease) both; }
}
@keyframes m-pop { from { transform: scale(.4); opacity: 0; } }

/* Pages légales */
.m-legal h2 { font-size: 22px; margin-top: 32px; }
.m-legal p { margin-top: 12px; }

/* 404 */
.m-404 > * + * { margin-top: 20px; }

/* ==========================================================================
   6. Pied de page
   ========================================================================== */
.m-footer { background: var(--an); color: #C7C8C9; padding-top: 72px; padding-bottom: 40px; }
.m-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.m-footer__brand p { margin-top: 20px; max-width: 300px; font-size: 15px; line-height: 24px; }
.m-footer__col h2 { font: 700 16px/24px var(--ff-t); color: var(--bc); margin: 0 0 16px; }
.m-footer__col ul { list-style: none; padding: 0; margin: 0; }
.m-footer__col li { font-size: 15px; line-height: 24px; color: #E9DDCF; margin-bottom: 10px; }
.m-footer a { color: #E9DDCF; text-decoration: none; }
.m-footer a:hover { color: var(--bc); text-decoration: underline; }
.m-footer :focus-visible { outline-color: var(--bc); }
.m-footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #3A3B41; font-size: 13px; line-height: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.m-footer__bottom a { color: #C7C8C9; text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   7. Apparition au défilement (désactivée si « réduire les animations »)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
	.js .m-rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
	.js .m-rv.is-in { opacity: 1; transform: none; }
}

/* ==========================================================================
   8. Responsive (tablette et mobile)
   ========================================================================== */
@media (max-width: 1023.98px) {
	.m-config { grid-template-columns: 1fr; }
	.m-config__preview { position: static; }
	.m-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.m-footer__grid { grid-template-columns: 1fr 1fr; }
	.m-slide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
	.m-carousel__nav { margin-top: 20px; padding: 0 8px 8px; }
	.m-slide__txt { padding: 24px 8px 0 0; }
}
@media (max-width: 781.98px) {
	.m-hero__cols { align-items: stretch !important; }
	.m-hero__cols > .wp-block-column { flex-basis: 100% !important; }
	.m-herovis { max-width: 460px; }
	.m-tag { padding: 8px 14px 8px 10px; }
	.m-tag strong { font-size: 13px; }
	.m-grid4 { flex-wrap: wrap !important; gap: 24px 16px !important; }
	.wp-block-columns.m-grid4 > .wp-block-column { flex-basis: calc(50% - 8px) !important; flex-grow: 0 !important; }
	.m-value { grid-template-columns: 1fr; row-gap: 12px; }
	.m-value .m-ring { grid-row: auto; }
	.m-slide { grid-template-columns: 1fr; gap: 0; }
	.m-slide__txt { padding: 24px 8px 0; }
	.m-carousel__hint { display: block; }
	.m-arrows { display: none; }
	.m-timeline::before { left: 18px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
	.m-timeline > .wp-block-column { padding-left: 64px; }
	.m-timeline .m-ring { position: absolute; left: 0; top: 0; }
	.m-timeline .m-year { margin-top: 0; }
	.m-form { grid-template-columns: 1fr; }
	.m-field--half { grid-column: 1 / -1; }
	.m-infocard, .m-confirm { padding: 28px 24px !important; }
	.m-head-split__vis { order: -1; }
	.m-cta { background-size: 960px 240px; padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 599.98px) {
	.m-options { gap: 12px; }
	.m-option { min-height: 236px; padding: 16px; }
	.m-option.is-on { padding: 15.5px; }
	.m-option .m-icon { width: 44px; height: 44px; }
	.m-switch { top: 16px; right: 14px; }
	.m-option__title { font-size: 16px; line-height: 22px; }
	.m-option__desc { font-size: 13px; }
	.m-option__status { font-size: 13px; }
	.m-panel { padding: 20px 16px; }
	.m-panel__head .m-icon { width: 44px; height: 44px; }
	.m-config__preview { padding: 20px; }
	.m-tab { font-size: 14px; padding: 8px 14px; }
	.m-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
	.m-footer__brand { grid-column: 1 / -1; }
	.m-faq summary { font-size: 16px; padding-right: 60px; }
	.m-faq summary::after { right: 18px; }
	.m-faq .wp-block-details > p { padding-right: 24px; }
	.m-card { padding: 24px; }
	.m-cards .m-card h3 { margin-top: 20px; }
}
