/* =========================================================================
   ARDA Solid Surface — CSS commun
   Couleurs, polices et tailles viennent de theme.json (variables --wp--preset--*).
   Sommaire : 1 Base · 2 En-tête et méga menu · 3 Menu mobile · 4 Bannières
   5 Cartes et tuiles · 6 Sections · 7 Pied de page · 8 Styles de blocs
   9 Animations au défilement · 10 Accessibilité / mouvement réduit
   ========================================================================= */

:root {
	--arda-petrole: var(--wp--preset--color--petrole);
	--arda-sarcelle: var(--wp--preset--color--sarcelle);
	--arda-ambre: var(--wp--preset--color--ambre);
	--arda-doux: var(--wp--preset--color--texte-doux);
	--arda-bordure: var(--wp--preset--color--bordure);
	--arda-rayon: 12px;
	--arda-ease: cubic-bezier(.2, .7, .2, 1);
	--arda-hdr: 130px; /* hauteur de l'en-tête, recalculée en JS */
	--arda-large: var(--wp--style--global--wide-size, 1360px);
}

/* 1. Base ---------------------------------------------------------------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--arda-hdr) + 16px); }
body { -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--arda-ambre); color: var(--arda-petrole); }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--arda-ambre); outline-offset: 3px; border-radius: 4px; }
img, video { max-width: 100%; height: auto; }
.arda-doux { color: var(--arda-doux); }
.has-petrole-background-color .arda-doux, .arda-b2b .arda-doux { color: var(--wp--preset--color--gris-clair); }
.arda-intro { font-size: var(--wp--preset--font-size--moyen); color: var(--arda-doux); padding-inline-end: max(0px, calc(100% - 720px)); box-sizing: border-box; }
.arda-surtitre, .arda-surtitre a { margin: 0; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--arda-sarcelle); text-decoration: none; }
.arda-voir, .arda-voir a { margin-top: auto; font-weight: 600; color: var(--arda-sarcelle); text-decoration: none; }
.has-petrole-background-color .arda-voir, .has-petrole-background-color .arda-voir a, .arda-b2b .arda-voir { color: var(--arda-ambre); }
.arda-main { min-height: 50vh; margin-block-start: 0 !important; }
body.arda-sans-hero .arda-main { padding-top: var(--arda-hdr); }

/* 2. En-tête fixe et méga menu (maquette Main.dc.html) --------------------- */
.arda-header-wrap { position: fixed; top: var(--wp-admin--admin-bar--height, 0px); left: 0; right: 0; z-index: 100; margin: 0; }
@media (max-width: 600px) { .admin-bar .arda-header-wrap { position: absolute; } .admin-bar.arda-defile .arda-header-wrap { position: fixed; top: 0; } }
.mm-hdr { position: relative; border-bottom: 1px solid rgba(255, 255, 255, .22); font-family: var(--wp--preset--font-family--poppins); transition: background-color .35s ease, color .35s ease, box-shadow .35s ease, border-color .35s ease; }
.mm-hdr.mm-t { background: transparent; color: #FFFFFF; }
.mm-hdr.mm-t::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(180deg, rgba(0, 20, 26, .5), rgba(0, 20, 26, 0)); pointer-events: none; z-index: -1; transition: opacity .35s; }
.mm-hdr.mm-t:hover, .mm-hdr.mm-t:focus-within { background: #FFFFFF; color: var(--arda-petrole); border-bottom-color: var(--arda-bordure); }
.mm-hdr.mm-t:hover::before, .mm-hdr.mm-t:focus-within::before { opacity: 0; }
.mm-hdr.mm-s { background: #FFFFFF; color: var(--arda-petrole); border-bottom-color: var(--arda-bordure); box-shadow: 0 8px 28px rgba(0, 26, 32, .08); }
.mm-logo { display: flex; align-items: center; flex: none; }
.mm-logo img { height: 48px; width: auto; display: block; }
.mm-logo-d { display: none !important; }
.mm-hdr.mm-s .mm-logo-d, .mm-hdr.mm-t:hover .mm-logo-d, .mm-hdr.mm-t:focus-within .mm-logo-d { display: block !important; }
.mm-hdr.mm-s .mm-logo-w, .mm-hdr.mm-t:hover .mm-logo-w, .mm-hdr.mm-t:focus-within .mm-logo-w { display: none !important; }

.mm-util { font-size: 13px; max-height: 44px; overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, .16); transition: max-height .35s ease, opacity .25s ease; }
.mm-util__in { max-width: 1360px; margin: 0 auto; padding: 9px 40px; box-sizing: border-box; display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center; }
.mm-util__liens { display: flex; gap: 22px; flex-wrap: wrap; }
.mm-util a { color: inherit; text-decoration: none; opacity: .85; }
.mm-util a:hover { opacity: 1; }
.mm-hdr.mm-s .mm-util { border-bottom-color: #EEE9E1; }
.arda-defile .mm-util { max-height: 0; opacity: 0; border-bottom-width: 0; }

.mm-main { max-width: 1360px; margin: 0 auto; padding: 0 40px; box-sizing: border-box; min-height: 76px; display: flex; gap: 16px 20px; align-items: center; justify-content: space-between; }
.mm-navwrap { flex: 1 1 auto; display: flex; justify-content: center; }
.mm-nav { display: flex; align-items: stretch; gap: 4px; margin: 0; padding: 0; list-style: none; }
.mm-item { position: static; }
.mm-top { display: flex; align-items: center; gap: 6px; height: 76px; padding: 0 11px; color: inherit; text-decoration: none; font: 600 13px/1 var(--wp--preset--font-family--poppins); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; background-image: linear-gradient(var(--arda-ambre), var(--arda-ambre)); background-size: 0 3px; background-repeat: no-repeat; background-position: 11px 100%; transition: height .35s ease, background-size .35s ease; }
.mm-top:hover { color: inherit; }
.arda-defile .mm-top { height: 66px; }
.mm-item:hover .mm-top, .mm-item:focus-within .mm-top, .mm-item.mm-tap .mm-top { background-size: calc(100% - 22px) 3px; }
.mm-top svg { transition: transform .3s ease; }
.mm-item:hover .mm-top svg, .mm-item:focus-within .mm-top svg { transform: rotate(180deg); }

.mm-panel { position: absolute; left: 0; right: 0; top: 100%; background: #FFFFFF; color: var(--arda-petrole); border-top: 1px solid var(--arda-bordure); box-shadow: 0 24px 48px rgba(0, 26, 32, .16); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s ease, transform .35s var(--arda-ease), visibility 0s linear .35s; }
.mm-item:hover .mm-panel, .mm-item:focus-within .mm-panel, .mm-item.mm-tap .mm-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mm-panel__in { max-width: 1360px; margin: 0 auto; padding: 32px 40px 36px; box-sizing: border-box; display: grid; gap: 32px; align-items: start; }
.mm-intro__titre { font-family: var(--wp--preset--font-family--playfair); font-size: 30px; font-weight: 600; line-height: 1.1; }
.mm-intro p { margin: 10px 0 18px; font-size: 14px; line-height: 1.6; color: var(--arda-doux); }
.mm-intro__lien { font-weight: 700; font-size: 14px; color: var(--arda-sarcelle); text-decoration: none; }
.mm-intro__lien:hover { text-decoration: underline; }
.mm-liste__titre { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--arda-doux); font-weight: 600; margin-bottom: 6px; }
.mm-liste ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mm-liste a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--arda-bordure); text-decoration: none; color: var(--arda-petrole); font-weight: 600; font-size: 15px; transition: color .25s, padding .25s; }
.mm-liste a:hover { color: var(--arda-sarcelle); padding-left: 4px; }
.mm-liste a span { font-weight: 400; color: var(--arda-doux); font-size: 13px; text-align: right; }
.mm-cards { display: grid; gap: 16px; }
.mm-card { display: block; text-decoration: none; color: var(--arda-petrole); }
.mm-ph { overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; background: #F1EFE8; }
.mm-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--arda-ease); }
.mm-card:hover .mm-ph img { transform: scale(1.08); }
.mm-name { margin-top: 10px; font-weight: 700; font-size: 15px; transition: color .25s; }
.mm-card:hover .mm-name { color: var(--arda-sarcelle); }
.mm-desc { font-size: 13px; color: var(--arda-doux); }
.mm-promo { position: relative; border-radius: 8px; overflow: hidden; min-height: 260px; background: var(--arda-petrole); color: #FFFFFF; }
.mm-promo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform .8s var(--arda-ease); }
.mm-promo:hover > img { transform: scale(1.06); }
.mm-promo__in { position: relative; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; box-sizing: border-box; }
.mm-promo__badge { align-self: flex-start; background: var(--arda-ambre); color: var(--arda-petrole); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.mm-promo__titre { font-family: var(--wp--preset--font-family--playfair); font-size: 22px; font-weight: 600; margin: 10px 0 4px; color: #FFFFFF; line-height: 1.2; }
.mm-promo__texte { font-size: 13px; color: #E4ECEE; margin-bottom: 12px; }
.mm-promo__go { font-size: 13px; font-weight: 700; color: var(--arda-ambre); }
.mm-item:hover .mm-panel__in > *, .mm-item:focus-within .mm-panel__in > * { animation: mm-in .5s var(--arda-ease) both; }
.mm-panel__in > :nth-child(2) { animation-delay: .05s !important; } .mm-panel__in > :nth-child(3) { animation-delay: .1s !important; } .mm-panel__in > :nth-child(4) { animation-delay: .15s !important; }
@keyframes mm-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.mm-actions { display: flex; gap: 10px; align-items: center; flex: none; }
.mm-ghost { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 999px; color: inherit; text-decoration: none; transition: background-color .25s, color .25s, border-color .25s; }
.mm-ghost:hover { background: #25D366; border-color: #25D366; color: #FFFFFF; }
.mm-cta-desk { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--arda-ambre); color: var(--arda-petrole); text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; transition: translate .35s var(--arda-ease), box-shadow .25s ease; }
.mm-cta-desk:hover { color: var(--arda-petrole); translate: 0 -2px; box-shadow: 0 10px 24px rgba(0, 26, 32, .22); }

/* Sélecteur de langue (extension Intouch Translate) */
.it-lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1; }
.it-lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 30px; padding: 0 7px; border-radius: 999px; color: inherit; text-decoration: none; opacity: .75; transition: background-color .25s, color .25s, opacity .25s; }
.it-lang a:hover { opacity: 1; color: inherit; }
.it-lang a[aria-current="true"] { background: var(--arda-ambre); color: var(--arda-petrole); opacity: 1; }

/* 3. Menu mobile (maquette : accordéon par rubrique, vignettes en 2 colonnes) */
.mm-burger { display: none; position: static; }
.mm-burger > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; }
.mm-burger > summary::-webkit-details-marker { display: none; }
.mm-burger[open] .mm-ico-open, .mm-burger:not([open]) .mm-ico-close { display: none; }
.mm-drawer { position: absolute; left: 0; right: 0; top: 100%; background: #FFFFFF; color: var(--arda-petrole); max-height: calc(100vh - 68px - var(--wp-admin--admin-bar--height, 0px)); max-height: calc(100dvh - 68px - var(--wp-admin--admin-bar--height, 0px)); overflow: auto; overscroll-behavior: contain; border-top: 1px solid var(--arda-bordure); box-shadow: 0 24px 48px rgba(0, 26, 32, .18); animation: mm-in .35s ease both; }
.mm-drawer details { border-bottom: 1px solid var(--arda-bordure); }
.mm-drawer summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 0 20px; font: 600 16px var(--wp--preset--font-family--poppins); cursor: pointer; }
.mm-drawer summary::-webkit-details-marker { display: none; }
.mm-drawer summary svg { transition: transform .3s; }
.mm-drawer details[open] summary { color: var(--arda-sarcelle); }
.mm-drawer details[open] summary svg { transform: rotate(180deg); }
.mm-sub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; padding: 4px 20px 16px; }
.mm-sub a { display: block; text-decoration: none; color: var(--arda-petrole); font-size: 14px; font-weight: 600; line-height: 1.3; }
.mm-sub__ph { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: #F1EFE8; margin-bottom: 6px; }
.mm-sub__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-sub-liste { list-style: none; margin: 0; padding: 0 20px 8px; }
.mm-sub-liste a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #EEE9E1; text-decoration: none; color: var(--arda-petrole); font-weight: 600; font-size: 15px; }
.mm-sub-liste a span { font-weight: 400; font-size: 13px; color: var(--arda-doux); }
.mm-sub-tout { display: inline-block; margin: 0 20px 18px; font-weight: 700; font-size: 14px; color: var(--arda-sarcelle); text-decoration: none; }
.mm-link { display: flex; align-items: center; min-height: 56px; padding: 0 20px; border-bottom: 1px solid var(--arda-bordure); text-decoration: none; color: var(--arda-petrole); font: 600 16px var(--wp--preset--font-family--poppins); }
.mm-drawer__cta { padding: 20px; display: grid; gap: 10px; }
.mm-drawer__btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 999px; border: 1px solid var(--arda-petrole); color: var(--arda-petrole); text-decoration: none; font-weight: 700; font-size: 15px; }
.mm-drawer__btn--plein { background: var(--arda-ambre); border-color: var(--arda-ambre); }
body.mm-ouvert { overflow: hidden; }

@media (max-width: 1240px) {
	.mm-desktop, .mm-cta-desk { display: none !important; }
	.mm-burger { display: block; }
	.mm-navwrap { flex: 0 0 0; }
}
@media (max-width: 760px) {
	.mm-util { display: none; }
	.mm-main { min-height: 68px; padding: 0 16px; gap: 8px; }
	.mm-logo img { height: 40px; }
	.mm-actions { gap: 8px; }
	.mm-ghost, .mm-burger > summary { width: 44px; height: 44px; }
	.it-lang a { min-width: 28px; min-height: 28px; padding: 0 5px; }
}
@media (max-width: 380px) { }
/* Langue : dans le bandeau sur ordinateur (place du menu), dans la barre sur mobile et tablette */
.mm-util__liens { align-items: center; }
.mm-lang--util { padding: 2px; border-color: rgba(127, 127, 127, .45); font-size: 11px; }
.mm-lang--util a { min-width: 26px; min-height: 22px; padding: 0 6px; }
@media (min-width: 1241px) { .mm-lang--barre { display: none !important; } }
@media (max-width: 1240px) { .mm-lang--util { display: none !important; } }
@media (min-width: 1241px) and (max-width: 1340px) { .mm-top { padding: 0 8px; font-size: 12px; } .mm-main { gap: 12px; } }

/* 4. Bannières de page (maquette : 440 px, contenu aligné sur la grille de 1360 px) */
.wp-block-cover.arda-banniere, .wp-block-cover.arda-hero { padding: 0; overflow: hidden; min-height: 440px !important; align-items: flex-end; margin-block: 0 !important; background: var(--arda-petrole); }
.wp-block-cover.arda-banniere .wp-block-cover__inner-container,
.wp-block-cover.arda-hero .wp-block-cover__inner-container {
	width: 100% !important; max-width: 1360px; margin: 0 auto !important; box-sizing: border-box;
	padding: 150px 40px 48px;
}
.wp-block-cover.arda-banniere .wp-block-cover__background { background: linear-gradient(90deg, rgba(0, 26, 32, .9) 0%, rgba(0, 26, 32, .62) 50%, rgba(0, 26, 32, .25) 100%) !important; opacity: 1 !important; }
.wp-block-cover.arda-hero .wp-block-cover__inner-container { padding-bottom: clamp(3rem, 8vw, 6rem); }
.arda-banniere h1, .arda-hero h1 { max-width: 820px; margin-block: 0; font-size: clamp(36px, 4vw, 52px) !important; line-height: 1.06; color: #FFFFFF; }
.arda-hero h1 { max-width: 980px; }
.arda-banniere__texte, .arda-banniere .wp-block-cover__inner-container > p:not(.arda-fil-ariane) { margin: 16px 0 0 !important; max-width: 620px; color: #E4ECEE; font-size: 17px; line-height: 1.65; }
.arda-banniere .wp-block-buttons, .arda-hero .wp-block-buttons { margin-top: 26px !important; gap: 12px; }
.arda-banniere .wp-block-button__link { min-height: 50px; display: inline-flex; align-items: center; padding: 0 24px; font-size: 15px; }
.arda-banniere .wp-block-cover__image-background, .arda-hero .wp-block-cover__image-background { animation: arda-zoom-in 1.8s var(--arda-ease) both; }
.arda-banniere .wp-block-cover__inner-container > *, .arda-hero .wp-block-cover__inner-container > * { animation: arda-monte .8s var(--arda-ease) both; }
.arda-banniere .wp-block-cover__inner-container > :nth-child(2), .arda-hero .wp-block-cover__inner-container > :nth-child(2) { animation-delay: .08s; }
.arda-banniere .wp-block-cover__inner-container > :nth-child(3), .arda-hero .wp-block-cover__inner-container > :nth-child(3) { animation-delay: .16s; }
.arda-banniere .wp-block-cover__inner-container > :nth-child(4), .arda-hero .wp-block-cover__inner-container > :nth-child(4) { animation-delay: .24s; }
@keyframes arda-zoom-in { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes arda-monte { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
	.wp-block-cover.arda-banniere, .wp-block-cover.arda-hero { min-height: 380px !important; }
	.wp-block-cover.arda-banniere .wp-block-cover__inner-container, .wp-block-cover.arda-hero .wp-block-cover__inner-container { padding: 120px 20px 36px; }
	.arda-banniere .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.arda-banniere .wp-block-button__link { width: 100%; justify-content: center; }
}

/* Fil d'Ariane */
.arda-fil-ariane { font-size: 0.875rem; color: var(--arda-doux); margin-bottom: 1rem; }
.arda-fil-ariane a { color: var(--arda-sarcelle); font-weight: 600; text-decoration: none; }
.arda-fil-ariane a:hover { text-decoration: underline; }
.arda-fil-ariane__sep { margin-inline: 4px; opacity: .6; }
.arda-banniere .arda-fil-ariane, .arda-hero .arda-fil-ariane { color: #FFFFFF; }
.arda-banniere .arda-fil-ariane a { color: var(--arda-ambre); text-decoration: underline; text-underline-offset: 3px; }
.arda-banniere .arda-fil-ariane a:hover { color: #FFFFFF; }

/* 5. Cartes et tuiles ------------------------------------------------------ */
.is-style-arda-carte { background: #FFFFFF; border: 1px solid var(--arda-bordure); border-radius: var(--arda-rayon); padding: clamp(1.25rem, 2.5vw, 1.75rem); }
.is-style-arda-carte.has-petrole-background-color { border-color: transparent; }
.is-style-arda-carte > :first-child { margin-top: 0; }
.is-style-arda-carte h3 { margin-block: 0; }
.wp-block-group.is-style-arda-carte.is-vertical { gap: 10px; }

/* Lien étiré : toute la carte est cliquable via son titre */
.arda-lien-carte { position: relative; transition: translate .35s var(--arda-ease), box-shadow .35s ease, background-color .3s; }
.wp-block-group.arda-lien-carte :is(h2, h3, .arda-voir) a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.arda-lien-carte :is(h2, h3) a { color: inherit; text-decoration: none; }
.arda-lien-carte:hover { translate: 0 -5px; box-shadow: var(--wp--preset--shadow--carte); }
.wp-block-cover.arda-lien-carte { cursor: pointer; }

.wp-block-cover.arda-tuile { border-radius: 10px; overflow: hidden; padding: 1.25rem 1.25rem 1.1rem; align-items: flex-end; }
.wp-block-cover.arda-tuile .wp-block-cover__image-background { transition: transform 1s var(--arda-ease); }
.wp-block-cover.arda-tuile:hover .wp-block-cover__image-background { transform: scale(1.07); }
.wp-block-cover.arda-tuile:hover { translate: none; }
.arda-tuile :is(h2, h3) { margin: 0; font-size: 1.3125rem; font-family: var(--wp--preset--font-family--playfair); }
.arda-tuile h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.arda-tuile p { margin: 4px 0 0; }

.arda-carte-sombre { padding: 22px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 10px; background: rgba(0, 26, 32, 0.35); backdrop-filter: blur(4px); }
.arda-carte-sombre:hover { background: rgba(0, 26, 32, 0.6); box-shadow: none; }
.arda-carte-sombre h3 { margin: 0 0 6px; font-size: 1.0625rem; }

.arda-rappel-pro { padding: 20px 28px; border-radius: var(--arda-rayon); gap: 10px 24px; }
.arda-rappel-pro p { margin: 0; }
.arda-marque { padding: clamp(1.75rem, 4vw, 2.5rem); border-radius: 14px; }
.arda-marque h3 { margin-top: 0; }

/* 6. Sections ------------------------------------------------------------- */
.arda-num { margin: 0; font-family: var(--wp--preset--font-family--playfair); font-size: 2.5rem; font-weight: 600; line-height: 1; color: var(--arda-ambre); }
.arda-etape h3 { margin: 6px 0 0; }
.arda-etape p { margin: 0; }
.arda-atout h3 { margin: 0 0 6px; }
.arda-atout p { margin: 0; }
.arda-atout { padding-top: 18px; border-top: 2px solid var(--arda-ambre); }

/* Références qui défilent (le JS duplique la piste pour une boucle continue) */
.arda-marquee { overflow: hidden; gap: 0 !important; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); padding-block: 1.5rem; }
.arda-marquee__piste { display: flex; flex: none; align-items: center; gap: 56px; padding-right: 56px; animation: arda-defile 45s linear infinite; }
.arda-marquee:hover .arda-marquee__piste { animation-play-state: paused; }
.arda-logo-nom { margin: 0; white-space: nowrap; font-family: var(--wp--preset--font-family--playfair); font-size: 1.375rem; color: var(--arda-doux); }
.arda-marquee img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.arda-marquee img:hover { filter: none; opacity: 1; }
@keyframes arda-defile { to { transform: translateX(-100%); } }

/* Bandeau d'appel à l'action */
.arda-cta { border-radius: 14px; overflow: hidden; gap: 0 !important; }
.arda-cta > .wp-block-column:last-child { align-self: stretch; }
.arda-cta .arda-cta__img { margin: 0; height: 100%; }
.arda-cta .arda-cta__img img { height: 100% !important; min-height: 260px; object-fit: cover; aspect-ratio: auto !important; }
.arda-cta h2 { margin-top: 0; }

/* Chiffres clés */
.arda-chiffre p { margin: 0; }
.arda-chiffre__n { font-family: var(--wp--preset--font-family--playfair); font-size: clamp(2.25rem, 4vw, 2.875rem); font-weight: 600; color: var(--arda-ambre); }

/* Frise chronologique (À propos) */
.arda-frise { --cols: 5; list-style: none; margin: 2.5rem 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 28px; position: relative; }
.arda-frise::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--arda-ambre); transform-origin: left; }
.arda-frise li { position: relative; padding-top: 42px; }
.arda-frise li::before { content: ""; position: absolute; top: 0; left: 0; width: 20px; height: 20px; box-sizing: border-box; border-radius: 50%; background: #FFFFFF; border: 4px solid var(--arda-ambre); }
.arda-frise__an { display: block; font-family: var(--wp--preset--font-family--playfair); font-size: 1.875rem; color: var(--arda-sarcelle); }
.arda-frise__titre { display: block; margin-top: 4px; font-weight: 600; font-size: 1.0625rem; }
.arda-frise__texte { display: block; margin-top: 4px; font-size: 0.9375rem; color: var(--arda-doux); }
@media (max-width: 900px) {
	.arda-frise { grid-template-columns: 1fr; gap: 0; margin-left: 9px; }
	.arda-frise::before { top: 0; bottom: 0; left: 0; right: auto; width: 2px; height: auto; }
	.arda-frise li { padding: 0 0 28px 32px; }
	.arda-frise li::before { left: -9px; }
}

.arda-mosaique { gap: 14px !important; }
.arda-mosaique img { border-radius: 10px; }
.arda-inverse { flex-direction: row-reverse; }
@media (max-width: 781px) { .arda-inverse { flex-direction: column; } }

/* Articles (blog) */
.arda-articles .wp-block-post-featured-image { margin-bottom: 14px; overflow: hidden; border-radius: 10px; }
.arda-articles .wp-block-post-featured-image img { transition: transform .8s var(--arda-ease); }
.arda-articles li:hover .wp-block-post-featured-image img { transform: scale(1.05); }
.arda-articles .wp-block-post-title { margin: 6px 0; }
.arda-articles .wp-block-post-title a { color: inherit; text-decoration: none; }
.arda-articles .wp-block-post-excerpt { color: var(--arda-doux); font-size: 0.9375rem; }
.arda-articles .wp-block-post-template.is-layout-grid { gap: 32px 24px; }
@media (max-width: 900px) { .arda-articles .wp-block-post-template.is-layout-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } }
.arda-puces { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 2rem; }
.arda-puces li a { display: inline-flex; min-height: 42px; align-items: center; padding: 0 16px; border: 1px solid #C8C2B8; border-radius: 999px; background: #FFFFFF; color: var(--arda-petrole); text-decoration: none; font-size: 0.875rem; font-weight: 500; }
.arda-puces li.current-cat a, .arda-puces li a:hover { background: var(--arda-petrole); border-color: var(--arda-petrole); color: #FFFFFF; }

/* Recherche */
.wp-block-search__inside-wrapper { border-radius: 999px; overflow: hidden; border: 1px solid #C8C2B8; background: #FFFFFF; padding: 4px; }
.wp-block-search__input { border: 0; padding-inline: 16px; min-height: 44px; background: transparent; }
.wp-block-search__button { border-radius: 999px; margin: 0; }

@media (max-width: 781px) { .wp-block-group.is-layout-grid.columns-2, .arda-deux-bannieres { grid-template-columns: 1fr !important; } }

/* 7. Pied de page ---------------------------------------------------------- */
.arda-footer a { color: var(--wp--preset--color--gris-clair); text-decoration: none; }
.arda-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.arda-footer__titre { margin-bottom: 10px; color: #FFFFFF; }
.arda-footer__liens { list-style: none; padding: 0; margin: 0; font-size: 0.9375rem; line-height: 2; }
.arda-logo-blanc img { filter: brightness(0) invert(1); width: auto; max-height: 48px; }
.arda-footer__bas { gap: 8px 24px; color: var(--wp--preset--color--gris-clair); }
.arda-footer__bas p { margin: 0; }
.arda-footer .wp-block-separator { margin-block: 2rem 1.25rem; border: 0; height: 1px; }
.arda-reseaux .wp-social-link { transition: transform .25s; }
.arda-reseaux .wp-social-link:hover { transform: translateY(-3px); }
@media (min-width: 600px) and (max-width: 781px) {
	.arda-footer__colonnes { display: grid !important; grid-template-columns: 1fr 1fr; }
	.arda-footer__colonnes > :first-child { grid-column: 1 / -1; }
}

/* 8. Styles de blocs ------------------------------------------------------- */
.wp-block-button.is-style-arda-contour-clair .wp-block-button__link { background: transparent; color: #FFFFFF; border: 1px solid rgba(255, 255, 255, 0.9); }
.wp-block-button.is-style-arda-contour-clair .wp-block-button__link:hover { background: rgba(255, 255, 255, 0.14); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--arda-petrole); border: 1px solid var(--arda-petrole); padding: calc(0.85rem - 1px) calc(1.6rem - 1px); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--arda-petrole); color: #FFFFFF; }
.wp-block-button__link { transition: background-color .25s, color .25s, transform .25s; }
.wp-block-button__link:active { transform: scale(.98); }

.is-style-arda-coches { list-style: none; padding-left: 0; }
.is-style-arda-coches li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.is-style-arda-coches li::before {
	content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; background: var(--arda-sarcelle);
	-webkit-mask: 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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: 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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat;
}
.has-petrole-background-color .is-style-arda-coches li::before { background: var(--arda-ambre); }
.is-style-arda-arrondi img, .wp-block-image.rv-clip img, .wp-block-image.rv-left img, .wp-block-image.rv-right img { border-radius: var(--arda-rayon); }
.is-style-arda-comparatif table { border-collapse: collapse; background: #FFFFFF; border-radius: var(--arda-rayon); overflow: hidden; }
.is-style-arda-comparatif th { background: var(--arda-petrole); color: #FFFFFF; text-align: left; }
.is-style-arda-comparatif td, .is-style-arda-comparatif th { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--arda-bordure); }

/* 9. Animations au défilement : CSS seul, pas de JavaScript.
   Classes à ajouter dans « Classe(s) CSS additionnelle(s) » ou via le panneau
   « Animation au défilement » de l'éditeur :
   rv-up (monte) · rv-left · rv-right · rv-scale · rv-clip (rideau) · rv-zoom (image)
   rv-par (parallaxe d'une image de fond) · st-up / st-scale / st-left (enfants en cascade) */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.rv-up, .rv-left, .rv-right, .rv-scale, .rv-clip, .st-up > *, .st-scale > *, .st-left > *,
		.arda-frise::before {
			animation-fill-mode: both; animation-timing-function: var(--arda-ease);
			animation-timeline: view(); animation-range: entry 0% cover 28%;
		}
		.rv-up, .st-up > * { animation-name: arda-rv-up; }
		.rv-left, .st-left > * { animation-name: arda-rv-left; }
		.rv-right { animation-name: arda-rv-right; }
		.rv-scale, .st-scale > * { animation-name: arda-rv-scale; }
		.rv-clip { animation-name: arda-rv-clip; }
		.arda-frise::before { animation-name: arda-rv-line; animation-range: entry 10% cover 45%; }
		.st-up > :nth-child(2), .st-scale > :nth-child(2), .st-left > :nth-child(2) { animation-range: entry 4% cover 32%; }
		.st-up > :nth-child(3), .st-scale > :nth-child(3), .st-left > :nth-child(3) { animation-range: entry 8% cover 36%; }
		.st-up > :nth-child(4), .st-scale > :nth-child(4), .st-left > :nth-child(4) { animation-range: entry 12% cover 40%; }
		.st-up > :nth-child(n+5), .st-scale > :nth-child(n+5), .st-left > :nth-child(n+5) { animation-range: entry 16% cover 44%; }
		.rv-zoom img { animation: arda-rv-zoom linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
		.rv-par .wp-block-cover__image-background, .rv-par > img { animation: arda-rv-par linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; scale: 1.18; }
	}
}
@keyframes arda-rv-up { from { opacity: 0; transform: translateY(42px); } to { opacity: 1; transform: none; } }
@keyframes arda-rv-left { from { opacity: 0; transform: translateX(-48px); } to { opacity: 1; transform: none; } }
@keyframes arda-rv-right { from { opacity: 0; transform: translateX(48px); } to { opacity: 1; transform: none; } }
@keyframes arda-rv-scale { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes arda-rv-clip { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes arda-rv-zoom { from { transform: scale(1.15); } to { transform: scale(1); } }
@keyframes arda-rv-par { from { transform: translateY(-7%); } to { transform: translateY(7%); } }
@keyframes arda-rv-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* 10. Mouvement réduit ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.arda-marquee { -webkit-mask-image: none; mask-image: none; }
	.arda-marquee__piste { flex-wrap: wrap; justify-content: center; }
	.arda-marquee__piste[aria-hidden="true"] { display: none; }
}

/* 11. Composants partagés par les extensions ARDA (boutons, puces, pastilles, champs) */
.arda-bouton, .arda-bouton-contour {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px;
	font: 600 0.9375rem/1.2 var(--wp--preset--font-family--poppins); text-decoration: none; text-align: center; cursor: pointer;
	transition: background-color .25s, color .25s, border-color .25s, transform .2s;
}
.arda-bouton { background: var(--arda-ambre); color: var(--arda-petrole); border: 0; }
.arda-bouton:hover { background: #FFB524; color: var(--arda-petrole); }
.arda-bouton--sombre { background: var(--arda-petrole); color: #FFFFFF; }
.arda-bouton--sombre:hover { background: var(--wp--preset--color--petrole-fonce); color: #FFFFFF; }
.arda-bouton--plein { width: 100%; min-height: 56px; font-size: 1rem; font-weight: 700; }
.arda-bouton-contour { background: transparent; color: var(--arda-petrole); border: 1px solid var(--arda-petrole); }
.arda-bouton-contour:hover { background: var(--arda-petrole); color: #FFFFFF; }
.arda-bouton:active, .arda-bouton-contour:active { transform: scale(.98); }
.arda-bouton:disabled { opacity: .6; cursor: not-allowed; }

.arda-badge { display: inline-block; padding: 6px 10px; border-radius: 999px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1; }
.arda-badge--stock { background: var(--arda-ambre); color: var(--arda-petrole); }
.arda-badge--mesure { background: var(--arda-petrole); color: #FFFFFF; }

.arda-puces { display: flex; flex-wrap: wrap; gap: 8px; }
.arda-puce { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1px solid #C8C2B8; border-radius: 999px; background: #FFFFFF; color: var(--arda-petrole); font: 500 0.875rem var(--wp--preset--font-family--poppins); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.arda-puce:hover { border-color: var(--arda-petrole); }
.arda-puce[aria-pressed="true"] { background: var(--arda-petrole); border-color: var(--arda-petrole); color: #FFFFFF; font-weight: 600; }
.arda-puce:disabled { opacity: .45; cursor: default; }
.arda-puce__n { opacity: .65; }

.arda-pastilles { display: flex; flex-wrap: wrap; gap: 10px; }
.arda-pastille { position: relative; cursor: pointer; }
.arda-pastille input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.arda-pastille > span:not(.screen-reader-text) { display: block; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .2s, transform .2s; }
.arda-pastille:hover > span:not(.screen-reader-text) { transform: scale(1.06); }
.arda-pastille input:checked + span { outline-color: var(--arda-petrole); }
.arda-pastille input:focus-visible + span { outline-color: var(--arda-ambre); }
.arda-pastilles--grandes .arda-pastille > span:not(.screen-reader-text) { width: 52px; height: 52px; }

.arda-quantite { display: inline-flex; align-items: center; border: 1px solid #C8C2B8; border-radius: 999px; background: #FFFFFF; }
.arda-quantite button { width: 48px; height: 48px; border: 0; background: transparent; font: 600 1.25rem var(--wp--preset--font-family--poppins); color: var(--arda-petrole); cursor: pointer; border-radius: 50%; }
.arda-quantite button:hover { background: var(--wp--preset--color--sable); }
.arda-quantite input { width: 44px; border: 0; background: transparent; text-align: center; font: 700 1rem var(--wp--preset--font-family--poppins); color: var(--arda-petrole); -moz-appearance: textfield; }
.arda-quantite input::-webkit-outer-spin-button, .arda-quantite input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.arda-rassurance { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; font-size: 0.75rem; }
.arda-rassurance li { display: grid; gap: 2px; padding: 12px 6px; background: #FFFFFF; border: 1px solid var(--arda-bordure); border-radius: 8px; color: var(--arda-doux); }
.arda-rassurance strong { font-size: 0.8125rem; color: var(--arda-petrole); }

.arda-achat__actions { display: flex; flex-direction: column; gap: 10px; }
.arda-achat__label { display: block; margin-bottom: 8px; font-size: 0.875rem; font-weight: 700; }
.arda-achat__teintes { border: 0; margin: 0; padding: 0; }
.arda-achat__teintes legend { padding: 0; margin-bottom: 12px; font-size: 0.875rem; font-weight: 700; }
.arda-achat__teintes legend span { font-weight: 500; color: var(--arda-doux); }
.arda-achat__grille { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; font-size: 0.8125rem; color: var(--arda-doux); }
.arda-achat__pro { font-size: 0.875rem; font-weight: 600; color: var(--arda-sarcelle); text-decoration: none; text-align: center; }
.arda-specs { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0; margin: 0; font-size: 0.9375rem; }
.arda-specs dt, .arda-specs dd { margin: 0; padding: 12px 0; border-bottom: 1px solid #EEE9E1; }
.arda-specs dt { color: var(--arda-doux); }
.arda-specs dd { font-weight: 600; text-align: right; padding-left: 16px; }
.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; width: 1px; word-wrap: normal !important; }
.arda-header .is-menu-open .wp-block-navigation__container .wp-block-navigation-item,
.arda-header .is-menu-open .wp-block-navigation__submenu-container { align-items: flex-start !important; text-align: left; justify-content: flex-start; }
.arda-header .is-menu-open .wp-block-navigation__submenu-container { columns: 2 160px; display: block !important; width: 100%; }

/* 12. Diaporama d'accueil (maquette : 860 px, texte en bas à gauche, onglets) ---- */
.arda-carrousel { position: relative; height: var(--arda-carrousel-h, 860px); max-height: 100vh; min-height: 560px; overflow: hidden; background: var(--arda-petrole); color: #FFFFFF; margin-block: 0 !important; }
.arda-carrousel__diapos { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; pointer-events: none; }
.hero-slide.is-active { pointer-events: auto; z-index: 1; }
.hero-slide__img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; opacity: 0; transform: scale(1); transition: opacity 900ms ease, transform 6500ms ease-out; }
.hero-slide.is-active .hero-slide__img { opacity: 1; transform: scale(1.06); }
.hero-slide__img { z-index: 0; }
.hero-slide::before { content: ""; position: absolute; inset: 0; background: #001A20; opacity: 0; z-index: 1; pointer-events: none; transition: opacity 900ms ease; }
.hero-slide.is-active::before { opacity: .45; }
.hero-slide__texte { position: absolute; left: 0; right: 0; bottom: 170px; z-index: 2; }
.slide-text { max-width: 1360px; margin: 0 auto; padding: 0 40px; box-sizing: border-box; opacity: 0; transform: translateY(28px); transition: opacity .7s ease .25s, transform .9s var(--arda-ease) .2s; }
.hero-slide.is-active .slide-text { opacity: 1; transform: none; }
.slide-text > * { margin-block: 0; }
.slide-text .slide-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font-size: 14px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: #FFFFFF; }
.slide-text .slide-kicker::before { content: ""; width: 48px; height: 3px; background: var(--arda-ambre); flex: none; }
.slide-text h1, .slide-text h2 { max-width: 820px; font-family: var(--wp--preset--font-family--playfair); font-weight: 600; font-size: clamp(40px, 5vw, 72px); line-height: 1.04; color: #FFFFFF; }
.slide-text .slide-texte { margin: 20px 0 32px !important; max-width: 560px; font-size: 18px; line-height: 1.6; color: #E4ECEE; }
.slide-text .wp-block-buttons { gap: 12px; }
.slide-text .wp-block-button__link { min-height: 54px; display: inline-flex; align-items: center; padding: 0 28px; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.arda-carrousel__bas { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; }
.arda-carrousel__bas-in { max-width: 1360px; margin: 0 auto; padding: 0 40px 28px; box-sizing: border-box; display: flex; align-items: flex-end; gap: 24px; }
.hero-tabs { flex: 1 1 auto; display: grid; grid-template-columns: repeat(var(--arda-carrousel-n, 4), minmax(0, 1fr)); gap: 24px; }
.hero-tab { position: relative; text-align: left; background: transparent; border: 0; padding: 20px 0 4px; cursor: pointer; font-family: var(--wp--preset--font-family--poppins); color: #FFFFFF; opacity: .7; transition: opacity .3s; }
.hero-tab:hover, .hero-tab.is-active { opacity: 1; }
.hero-tab::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255, 255, 255, .35); }
.hero-tab__barre { position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--arda-ambre); }
.hero-tab.is-active .hero-tab__barre { width: 100%; }
.arda-carrousel.is-running .hero-tab.is-active .hero-tab__barre { animation: arda-barre var(--arda-carrousel-d, 6000ms) linear both; }
@keyframes arda-barre { from { width: 0; } to { width: 100%; } }
.hero-tab__titre { display: block; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-tab__sous { display: block; font-size: 13px; margin-top: 4px; color: #D3DCDE; }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #FFFFFF; background: transparent; color: #FFFFFF; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background-color .25s, color .25s; }
.hero-arrow:hover { background: #FFFFFF; color: var(--arda-petrole); }
@media (max-width: 760px) {
	.arda-carrousel { height: min(640px, 100svh); min-height: 520px; }
	.hero-slide__texte { bottom: 92px; }
	.slide-text { padding: 0 20px; }
	.slide-text .slide-texte { font-size: 16px; margin: 14px 0 22px !important; }
	.slide-text .wp-block-buttons { flex-direction: column; align-items: flex-start; }
	.slide-text .wp-block-button__link { min-height: 48px; font-size: 13px; padding: 0 22px; }
	.arda-carrousel__bas-in { padding: 0 20px 24px; }
	.hero-tabs { gap: 10px; }
	.hero-tab { padding-top: 14px; }
	.hero-tab { padding: 10px 0 0; min-height: 24px; }
	.hero-tab__titre, .hero-tab__sous, .hero-arrows { display: none; }
}
/* Éditeur */
.arda-carrousel--editeur { position: relative; height: auto; max-height: none; min-height: 0; padding: 16px; background: #F1EFE8; color: inherit; overflow: visible; }
.arda-carrousel__aide { font-size: 13px; color: var(--arda-doux); margin: 0 0 12px; }
.arda-diapo--editeur { position: relative; margin: 0 0 16px; min-height: 320px; padding: 48px 24px 24px; background: var(--arda-petrole) center / cover; color: #FFFFFF; border-radius: 8px; }
.arda-diapo--editeur .slide-text { opacity: 1; transform: none; padding: 0; }
.arda-diapo__onglet { position: absolute; top: 12px; left: 16px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--arda-ambre); }

/* 13. Sections de la maquette v2 (préfixe m-) ------------------------------- */
.arda-main > .wp-block-post-content > :first-child { margin-top: 0 !important; }
.arda-main > .wp-block-post-content > * { margin-block: 0; }
.arda-main > .wp-block-post-content > .alignfull { margin-block: 0 !important; }
[class*="m-"] > :where(p, h1, h2, h3) { margin-block: 0; }
.m-kicker { margin: 0 0 16px !important; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--arda-sarcelle); font-weight: 600; }
.m-sombre .m-kicker { color: var(--arda-ambre); }
.m-h2 { margin: 0; font-family: var(--wp--preset--font-family--playfair); font-weight: 600; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }
.m-h2--46 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.1; }
.m-h2--44 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1; }
.m-h2--42 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; }
.m-p { margin: 20px 0 28px !important; font-size: 16px; line-height: 1.7; color: var(--arda-doux); }
.m-p a { color: var(--arda-sarcelle); font-weight: 600; }
.m-p--clair { color: #C9D3D8; margin: 16px 0 28px !important; }
.m-sous { margin-top: 12px !important; margin-bottom: 40px !important; font-size: 16px; color: var(--arda-doux); }
.m-sombre { background: var(--arda-petrole); color: #FFFFFF; }
.m-blanc { background: #FFFFFF; }
.m-bord { border-top: 1px solid var(--arda-bordure); border-bottom: 1px solid var(--arda-bordure); }
.m-bord-haut { border-top: 1px solid var(--arda-bordure); }
.m-tete { justify-content: space-between; align-items: flex-end; gap: 24px; }
.m-tete--ligne { gap: 24px 48px; }
.m-tete__p { margin: 0; max-width: 420px; font-size: 16px; line-height: 1.7; color: #C9D3D8; }
.wp-block-button.is-style-arda-sombre .wp-block-button__link { background: var(--arda-petrole); color: #FFFFFF; }
.wp-block-button.is-style-arda-sombre .wp-block-button__link:hover { background: var(--arda-sarcelle); color: #FFFFFF; }
.wp-block-buttons .wp-block-button__link { transition: translate .35s var(--arda-ease), box-shadow .25s ease, background-color .25s, color .25s; }
.wp-block-buttons .wp-block-button__link:hover { translate: 0 -2px; box-shadow: 0 10px 24px rgba(0, 26, 32, .22); }
.m-btn-maj .wp-block-button__link { letter-spacing: .04em; text-transform: uppercase; font-size: 14px; min-height: 48px; display: inline-flex; align-items: center; }

/* Cartes photo cliquables (couvertures) : le lien du titre couvre toute la carte */
.wp-block-cover.arda-lien-carte { isolation: isolate; }
.wp-block-cover.arda-lien-carte > .wp-block-cover__image-background, .wp-block-cover.arda-lien-carte > .wp-block-cover__background { z-index: -1 !important; }
.wp-block-cover.arda-lien-carte .wp-block-cover__inner-container { position: static; }
.wp-block-cover.arda-lien-carte :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
[class*="m-"].is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(min(var(--m-min, 220px), 100%), 1fr)) !important; }
.m-b2bs { --m-min: 200px; } .m-univers__grille { --m-min: 320px; } .m-etapes__grille { --m-min: 240px; } .m-chiffres { --m-min: 150px; } .m-lieux { --m-min: 300px; } .m-atouts { --m-min: 220px; }
.m-teintes.is-layout-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }

/* Présentation */
.m-intro { background: #FFFFFF; padding-block: 96px 72px; }
.m-intro__rang { gap: 32px 64px; align-items: flex-start; flex-wrap: wrap; }
.m-intro__bannieres { flex: 1 1 300px; max-width: 380px; display: flex; flex-direction: column; gap: 16px; }
.m-intro__bannieres > * { margin: 0 !important; }
.m-intro__texte { flex: 2 1 640px; min-width: 0; }
.m-intro__titre { margin: 0; font-family: var(--wp--preset--font-family--playfair); font-weight: 600; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }
.m-intro__p { margin: 24px 0 32px !important; max-width: 640px; font-size: 17px; line-height: 1.7; color: var(--arda-doux); }
.m-intro__p a { color: var(--arda-sarcelle); font-weight: 600; }
.m-chiffres { gap: 24px !important; margin-top: 56px !important; }
.m-chiffre { border-top: 1px solid #DDE3E3; padding-top: 16px; }
.m-chiffre > * { margin: 0 !important; }
.m-chiffre__n { font-family: var(--wp--preset--font-family--playfair); font-size: 38px; font-weight: 600; line-height: 1.2; }
.m-chiffre__l { font-size: 14px; color: var(--arda-doux); }
.wp-block-cover.m-bn { min-height: 230px; padding: 22px; border-radius: 12px; overflow: hidden; align-items: flex-end; color: #FFFFFF; background: var(--arda-petrole); transition: translate .35s var(--arda-ease), box-shadow .35s ease; }
.wp-block-cover.m-bn .wp-block-cover__background { background: linear-gradient(180deg, rgba(0, 26, 32, .05) 0%, rgba(0, 26, 32, .88) 100%) !important; opacity: 1 !important; }
.wp-block-cover.m-bn .wp-block-cover__image-background { transition: transform 1.1s var(--arda-ease); }
.wp-block-cover.m-bn:hover { translate: 0 -4px; box-shadow: 0 18px 36px rgba(0, 26, 32, .18); }
.wp-block-cover.m-bn:hover .wp-block-cover__image-background { transform: scale(1.07); }
.m-bn .wp-block-cover__inner-container { padding-right: 60px; box-sizing: border-box; }
.m-bn::after { content: ""; position: absolute; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--arda-ambre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23002A32' stroke-width='2'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center no-repeat; z-index: 1; transition: translate .35s var(--arda-ease); }
.m-bn--sarcelle::after { background-color: var(--arda-sarcelle); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.m-bn:hover::after { translate: 4px 0; }
.m-bn__titre { margin: 0 !important; font-family: var(--wp--preset--font-family--playfair); font-size: 28px; font-weight: 600; line-height: 1.1; color: #FFFFFF; }
.m-bn__texte { margin: 6px 0 0 !important; font-size: 14px; color: #E4ECEE; }
@media (max-width: 760px) {
	.m-intro { padding-block: 56px 48px; }
	.m-intro__bannieres { max-width: none; flex-direction: row; flex-wrap: wrap; order: 2; }
	.m-intro__bannieres > * { flex: 1 1 240px; }
	.m-chiffres { margin-top: 40px !important; grid-template-columns: 1fr !important; gap: 16px !important; }
}

/* Univers (section sombre) */
.m-univers { padding-block: 88px; }
.m-univers .m-tete { border-top: 1px solid #193838; padding-top: 40px; margin-bottom: 40px !important; }
.m-univers__grille { gap: 20px !important; }
.wp-block-cover.m-univ { min-height: 560px; padding: 0; border-radius: 4px; overflow: hidden; align-items: flex-end; }
.wp-block-cover.m-univ .wp-block-cover__image-background { transition: transform 1s var(--arda-ease); }
.wp-block-cover.m-univ:hover .wp-block-cover__image-background { transform: scale(1.07); }
.m-univ .wp-block-cover__inner-container { width: 100%; }
.m-univ__cap { padding: 28px; background: rgba(0, 26, 32, .82); }
.m-univ__cap > * { margin: 0 !important; }
.m-univ__k { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--arda-ambre); font-weight: 600; }
.m-univ__t { margin: 6px 0 8px !important; font-family: var(--wp--preset--font-family--playfair); font-size: 28px; font-weight: 600; line-height: 1.2; color: #FFFFFF; }
.m-univ__d { font-size: 14px; color: #D3DCDE; margin-bottom: 18px !important; }
.m-univ__go { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid #FFFFFF; border-radius: 999px; font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; transition: background-color .25s, color .25s; }
.m-univ:hover .m-univ__go { background: #FFFFFF; color: var(--arda-petrole); }
@media (max-width: 760px) { .m-univers { padding-block: 56px; } .wp-block-cover.m-univ { min-height: 440px; } .m-univ__t { font-size: 24px; } }

/* Le matériau */
.m-materiau { padding-block: 88px; }
.m-materiau__rang { gap: 56px; align-items: center; }
.m-materiau__txt { flex: 1 1 420px; min-width: 0; }
.m-atouts { flex: 1 1 480px; min-width: 0; gap: 16px !important; }
.m-img-badge { position: relative; margin: 0 !important; }
.m-img-badge img { width: 100%; height: 340px !important; object-fit: cover; border-radius: 8px; display: block; }
.m-img-badge figcaption { position: absolute; left: 16px; bottom: 16px; margin: 0; background: var(--arda-ambre); color: var(--arda-petrole); font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.m-atout { background: var(--wp--preset--color--sable); border-radius: 8px; padding: 28px; }
.m-atout > * { margin: 0 !important; }
.m-atout__t { margin-bottom: 8px !important; font-family: var(--wp--preset--font-family--playfair); font-size: 22px; font-weight: 600; }
.m-atout__d { font-size: 15px; line-height: 1.6; color: var(--arda-doux); }
.m-ico::before { content: ""; display: block; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 50%; background: var(--arda-petrole) var(--ico) center / 26px no-repeat; }
.m-ico--joint { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F1A208' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M4 12h16M4 12c0-3 2-5 4-5h8c2 0 4 2 4 5M4 12v4h16v-4'/%3E%3Cpath d='M12 7v10' stroke-dasharray='2 2'/%3E%3C/svg%3E"); }
.m-ico--goutte { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F1A208' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M12 3c3 4 6 7 6 11a6 6 0 0 1-12 0c0-4 3-7 6-11z'/%3E%3Cpath d='M9 15a3 3 0 0 0 3 3'/%3E%3C/svg%3E"); }
.m-ico--cle { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F1A208' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18l3 3 6.3-6.3a4 4 0 0 0 5.4-5.4l-2.6 2.6-2.4-.6-.6-2.4z'/%3E%3C/svg%3E"); }
.m-ico--courbe { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F1A208' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M3 17c4 0 4-10 9-10s5 10 9 10M3 21h18'/%3E%3C/svg%3E"); }
.m-ico--image { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F1A208' stroke-width='1.7' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M7 15l3-4 3 3 2-2 3 3'/%3E%3Ccircle cx='9' cy='9' r='1'/%3E%3C/svg%3E"); }
.m-ico--maison { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F1A208' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M4 20V9l8-5 8 5v11M9 20v-6h6v6'/%3E%3C/svg%3E"); }
@media (max-width: 760px) { .m-materiau { padding-block: 56px; } .m-img-badge img { height: 260px !important; } }

/* Étapes */
.m-etapes { padding-block: 80px; }
.m-etapes__grille { gap: 20px !important; }
.m-etape { border-top: 2px solid var(--arda-petrole); padding-top: 20px; }
.m-etape > * { margin: 0 !important; }
.m-etape__n { font-family: var(--wp--preset--font-family--playfair); font-size: 40px; line-height: 1.2; color: var(--arda-sarcelle); font-weight: 600; }
.m-etape__t { margin: 8px 0 !important; font-size: 18px; font-weight: 700; font-family: var(--wp--preset--font-family--poppins); }
.m-etape__d { font-size: 15px; line-height: 1.6; color: var(--arda-doux); }
.m-etapes__cta { margin-top: 40px !important; }
.m-etapes__cta .wp-block-button__link { min-height: 52px; display: inline-flex; align-items: center; padding: 0 28px; font-size: 16px; }

/* Nuancier */
.m-nuancier { padding-block: 80px; }
.m-nuancier__rang { gap: 48px; align-items: center; }
.m-nuancier__txt { flex: 1 1 380px; min-width: 0; }
.m-teintes { gap: 12px !important; margin-bottom: 28px !important; }
.m-teinte::before { content: ""; display: block; height: 64px; border-radius: 6px; background: var(--c); }
.m-teinte--blanc { --c: #F7F7F4; } .m-teinte--creme { --c: #EFE9DD; } .m-teinte--gris { --c: #CFCDC8; } .m-teinte--beton { --c: #8E8C88; } .m-teinte--noir { --c: #2B2B2C; }
.m-teinte--noir::before { box-shadow: inset 0 0 0 1px #547076; }
.m-teinte__nom { margin: 6px 0 0 !important; font-size: 12px; color: #C9D3D8; }
.m-nuancier__img { flex: 1 1 440px; min-width: 0; margin: 0 !important; overflow: hidden; border-radius: 8px; }
.m-nuancier__img img { width: 100%; height: 440px !important; object-fit: cover; display: block; border-radius: 8px; }
@media (max-width: 760px) { .m-nuancier { padding-block: 56px; } .m-nuancier__img img { height: 280px !important; } }

/* Réalisations */
.m-realisations { background: var(--wp--preset--color--sable); padding-block: 96px; }
@media (max-width: 760px) { .m-realisations { padding-block: 56px; } }

/* Références */
.m-references { padding-block: 72px 56px; overflow: hidden; }
.m-references .m-tete { margin-bottom: 32px !important; }
.m-references__t { max-width: 640px; }
.m-refs { margin-top: 0 !important; display: grid; gap: 12px; }
.m-refs .arda-marquee { padding-block: 0; }
.m-refs .arda-marquee__piste { gap: 16px; padding-right: 16px; animation-duration: 70s; }
.m-refs__piste--d .arda-marquee__piste { animation-direction: reverse; animation-duration: 80s; }
.m-ref { flex: 0 0 auto; display: inline-flex !important; align-items: center; height: 64px; margin: 0 !important; padding: 0 28px; border: 1px solid var(--arda-bordure); border-radius: 999px; background: #FFFFFF; font-family: var(--wp--preset--font-family--playfair); font-size: 20px; font-weight: 600; color: var(--arda-petrole); white-space: nowrap; transition: background-color .3s, color .3s, border-color .3s; }
.m-ref:hover { background: var(--arda-petrole); color: #FFFFFF; border-color: var(--arda-petrole); }
@media (max-width: 760px) { .m-ref { height: 52px; font-size: 17px; padding: 0 20px; } }

/* Professionnels (photo en fond) */
.wp-block-cover.m-pros { padding: 96px var(--wp--style--root--padding-right, 40px); min-height: 0; color: #FFFFFF; }
.m-pros .wp-block-cover__inner-container { max-width: 1280px; margin-inline: auto; width: 100%; }
.m-pros .m-tete { margin-bottom: 40px !important; }
.m-pros__intro { max-width: 680px; }
.m-pros .m-p--clair { color: #D3DCDE; font-size: 17px; margin-bottom: 0 !important; }
.m-b2bs { gap: 14px !important; }
.m-b2b { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 150px; padding: 22px; box-sizing: border-box; border: 1px solid rgba(255, 255, 255, .28); border-radius: 12px; color: #FFFFFF; background: rgba(0, 26, 32, .35); transition: background-color .35s ease, border-color .35s ease, translate .35s var(--arda-ease); }
.m-b2b > * { margin: 0 !important; }
.m-b2b__t { font-family: var(--wp--preset--font-family--poppins); font-size: 18px; font-weight: 600; color: inherit; }
.m-b2b__d { font-size: 13px; color: #D3DCDE; }
.m-b2b:hover { background: var(--arda-ambre); border-color: var(--arda-ambre); color: var(--arda-petrole); translate: 0 -4px; box-shadow: none; }
.m-b2b:hover .m-b2b__d { color: var(--arda-petrole); }
@media (max-width: 760px) { .wp-block-cover.m-pros { padding-block: 56px; } }

/* Showroom */
.m-showroom { padding-block: 80px; }
.m-showroom .m-h2 { margin-bottom: 32px !important; }
.m-lieux { gap: 20px !important; }
.m-lieu { background: #FFFFFF; border: 1px solid var(--arda-bordure); border-radius: 8px; overflow: hidden; }
.m-lieu > * { margin: 0 !important; }
.m-lieu__img img { width: 100%; height: 180px !important; object-fit: cover; display: block; }
.m-lieu__txt { padding: 24px; }
.m-lieu__t { margin: 0 0 8px !important; font-family: var(--wp--preset--font-family--poppins); font-size: 18px; font-weight: 600; }
.m-lieu__d { margin: 0 !important; font-size: 15px; line-height: 1.7; color: var(--arda-doux); }
.m-question { background: var(--arda-petrole); color: #FFFFFF; border-radius: 8px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.m-question > * { margin: 0 !important; }
.m-question .m-lieu__d { color: #C9D3D8; }
.m-question .wp-block-button, .m-question .wp-block-button__link { width: 100%; }
.m-btn-wa .wp-block-button__link { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 48px; font-weight: 700; }
.m-btn-wa .wp-block-button__link::before { content: ""; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002A32' stroke-width='1.8'%3E%3Cpath d='M21 12a8.5 8.5 0 0 1-12.6 7.4L3 21l1.6-5.2A8.5 8.5 0 1 1 21 12z'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 760px) { .m-showroom, .m-etapes { padding-block: 56px; } }
