/* HK CMS — widgets et mise en page avancée (extension « builder »).
   Classes préfixées x-, variables du thème du socle, propriétés logiques (RTL), animations désactivées si
   l'utilisateur préfère réduire les mouvements. */

:root {
  --x-fg: var(--c-text); --x-fg-muted: var(--c-muted); --x-heading: var(--c-navy);
  --x-card: #fff; --x-card-line: var(--c-line); --x-soft: var(--c-surface-alt);
  --x-shadow: 0 1px 2px rgba(var(--c-navy-rgb, 19,34,79), .05), 0 18px 40px -26px rgba(var(--c-navy-rgb, 19,34,79), .45);
  --x-shadow-lg: 0 30px 70px -34px rgba(var(--c-navy-rgb, 19,34,79), .55);
  --x-gap: clamp(16px, 2.4vw, 28px);
  --x-ease: cubic-bezier(.2,.7,.2,1);
}
/* Fonds foncés : texte clair pour tous les widgets imbriqués */
:is(.bg--teal, .bg--navy, .x-sw--light, .x-col--bg-navy, .x-col--bg-primary, .x-area--footer, .x-nl--band) {
  --x-fg: rgba(255,255,255,.92); --x-fg-muted: rgba(255,255,255,.74); --x-heading: #fff;
  --x-card: rgba(255,255,255,.07); --x-card-line: rgba(255,255,255,.16); --x-soft: rgba(255,255,255,.08);
  --x-shadow: none;
}
:is(.x-sw--light, .x-col--bg-navy, .x-col--bg-primary) :is(h1, h2, h3, h4, .shead__title) { color: #fff; }
:is(.x-sw--light, .x-col--bg-navy, .x-col--bg-primary) .eyebrow { color: var(--c-aqua); }
:is(.x-sw--light, .x-col--bg-navy, .x-col--bg-primary) :is(.shead__intro, .prose) { color: rgba(255,255,255,.86); }
:is(.x-sw--light, .x-col--bg-navy, .x-col--bg-primary) .prose a { color: #fff; }
:is(.x-sw--light, .x-col--bg-navy, .x-col--bg-primary) .btn--ghost { --fg: #fff; --bd: rgba(255,255,255,.45); }
.x-sw--dark, .x-col--bg-white, .x-col--bg-cream, .x-col--bg-aqua, .x-col--bg-accent {
  --x-fg: var(--c-text); --x-fg-muted: var(--c-muted); --x-heading: var(--c-navy); --x-card: #fff; --x-card-line: var(--c-line); --x-soft: var(--c-surface-alt);
}

/* ------------------------------------------------------------------ conteneurs & imbrication */
.x-wide { max-width: 1440px; }
.x-full { width: 100%; padding-inline: clamp(16px, 4vw, 32px); }
.x-in { width: 100%; }
.x-nest > .blk { padding-block: 0; background: none; }
.x-nest > .blk::after { display: none; }
.x-nest > .blk + .blk { margin-top: var(--x-gap); }
.x-nest > .blk.sp--sm + .blk, .x-nest > .blk + .blk.sp--sm { margin-top: calc(var(--x-gap) * .5); }
.x-nest > .blk.sp--lg + .blk, .x-nest > .blk + .blk.sp--lg { margin-top: calc(var(--x-gap) * 2); }
.x-nest > .blk:is(.bg--cream, .bg--aqua, .bg--wall, .bg--teal, .bg--navy) { padding: clamp(18px, 2.6vw, 30px); border-radius: var(--r); }
.x-nest > .blk:is(.bg--cream) { background: var(--c-surface-alt); }
.x-nest :is(.container, .container--narrow, .container--mid) { max-width: none; padding-inline: 0; }
.x-nest .shead { margin-bottom: clamp(18px, 3vw, 32px); }
.x-nest .shead__title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); }
.x-nest .hero, .x-nest .phead { border-radius: var(--r); overflow: hidden; }
.x-nest .notice { margin-top: 0; }

.x-grid { display: grid; gap: var(--x-gap); }
@media (min-width: 640px) { .x-grid--2, .x-grid--3, .x-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .x-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .x-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.x-in .x-grid--3, .x-in .x-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.x-more { margin: 28px 0 0; text-align: center; }
.x-hl { color: var(--c-primary); }
:is(.bg--teal, .bg--navy, .x-sw--light) .x-hl { color: var(--c-accent); }
.x-hl--marker { color: inherit; background: linear-gradient(transparent 58%, color-mix(in srgb, var(--c-accent) 55%, transparent) 58% 92%, transparent 92%); padding-inline: .08em; }

/* couleurs d'accent réutilisables */
.x-c--primary { --x-acc: var(--c-primary); }
.x-c--accent { --x-acc: var(--c-accent); }
.x-c--navy { --x-acc: var(--c-navy); }
.x-c--aqua { --x-acc: color-mix(in srgb, var(--c-aqua) 70%, var(--c-primary)); }
.x-c--mint { --x-acc: color-mix(in srgb, var(--c-mint) 75%, var(--c-primary)); }
.x-c--line { --x-acc: var(--c-line); }

/* ------------------------------------------------------------------ rangée en colonnes */
.x-cols { display: grid; grid-template-columns: var(--x-cols, 1fr 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.x-cols--gap-none { gap: 0; } .x-cols--gap-sm { gap: clamp(12px, 1.6vw, 18px); } .x-cols--gap-lg { gap: clamp(28px, 5vw, 72px); }
.x-cols--v-center { align-items: center; } .x-cols--v-end { align-items: end; } .x-cols--v-stretch { align-items: stretch; }
.x-col { min-width: 0; }
.x-col--center { text-align: center; }
.x-col--center :is(.btns, .x-btns) { justify-content: center; }
.x-col--p-sm { padding: 16px; } .x-col--p-md { padding: clamp(20px, 3vw, 32px); } .x-col--p-lg { padding: clamp(28px, 4.5vw, 56px); }
.x-col:not(.x-col--bg-none) { border-radius: var(--r); }
.x-col--bg-white { background: #fff; box-shadow: var(--x-shadow); border: 1px solid var(--c-line); }
.x-col--bg-cream { background: var(--c-surface-alt); }
.x-col--bg-aqua { background: linear-gradient(160deg, color-mix(in srgb, var(--c-aqua) 30%, #fff), color-mix(in srgb, var(--c-mint) 18%, #fff)); }
.x-col--bg-primary { background: radial-gradient(500px 260px at 90% -10%, rgba(255,255,255,.16), transparent 60%), var(--c-primary); color: #fff; }
.x-col--bg-navy { background: radial-gradient(500px 260px at 10% 0%, rgba(var(--c-primary-rgb, 14,110,115), .45), transparent 60%), var(--c-navy); color: #fff; }
.x-col--bg-accent { background: var(--c-accent-soft, #FBF1D9); }
@media (min-width: 768px) and (max-width: 979px) {
  .x-cols--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x-cols--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .x-cols--m-stack, .x-cols--m-reverse { display: flex; flex-direction: column; align-items: stretch; }
  .x-cols--m-reverse { flex-direction: column-reverse; }
  .x-cols--m-keep.x-cols--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------------ section avec fond */
.blk--section_wrap, .blk--spacer, .blk--divider_fancy { padding-block: 0 !important; }
.blk--section_wrap { background: none !important; }
.x-sw { position: relative; display: flex; flex-direction: column; isolation: isolate; overflow: hidden; color: var(--x-fg); }
.x-sw--v-center { justify-content: center; } .x-sw--v-start { justify-content: flex-start; } .x-sw--v-end { justify-content: flex-end; }
.x-sw--p-sm { padding-block: calc(36px * var(--space, 1)); } .x-sw--p-md { padding-block: calc(clamp(56px, 8vw, 104px) * var(--space, 1)); }
.x-sw--p-lg { padding-block: calc(clamp(80px, 12vw, 152px) * var(--space, 1)); } .x-sw--p-none { padding-block: 0; }
.x-sw__inner { position: relative; z-index: 1; width: 100%; }
.x-sw--rounded { margin: clamp(12px, 2vw, 24px) auto; width: calc(100% - 2 * clamp(12px, 3vw, 32px)); max-width: 1376px; border-radius: calc(var(--r) * 1.6); box-shadow: var(--x-shadow-lg); }
.x-sw--c-navy { background: radial-gradient(900px 420px at 10% 0%, rgba(var(--c-primary-rgb, 14,110,115), .4), transparent 60%), var(--c-navy); }
.x-sw--c-primary { background: radial-gradient(1000px 460px at 90% -10%, rgba(255,255,255,.16), transparent 60%), var(--c-primary); }
.x-sw--c-cream { background: var(--c-surface-alt); }
.x-sw--c-aqua { background: linear-gradient(180deg, color-mix(in srgb, var(--c-aqua) 28%, #fff), color-mix(in srgb, var(--c-aqua) 10%, #fff)); }
.x-sw--c-white { background: var(--c-surface); }
.x-sw--c-accent { background: linear-gradient(160deg, var(--c-accent-soft, #FBF1D9), color-mix(in srgb, var(--c-accent) 30%, #fff)); }
.x-sw--g-ocean { background: radial-gradient(900px 500px at 85% 0%, rgba(255,255,255,.14), transparent 60%), linear-gradient(135deg, var(--c-primary) 0%, var(--c-navy) 100%); }
.x-sw--g-lagoon { background: linear-gradient(135deg, color-mix(in srgb, var(--c-aqua) 55%, #fff) 0%, color-mix(in srgb, var(--c-mint) 45%, #fff) 100%); }
.x-sw--g-sunrise { background: linear-gradient(120deg, color-mix(in srgb, var(--c-accent) 85%, #000 0%) 0%, var(--c-primary) 70%); }
.x-sw--g-night { background: radial-gradient(700px 400px at 20% 10%, rgba(var(--c-primary-rgb, 14,110,115), .35), transparent 65%), linear-gradient(180deg, var(--c-navy), color-mix(in srgb, var(--c-navy) 70%, #000)); }
.x-sw--g-paper { background: linear-gradient(180deg, var(--c-surface-alt), var(--c-surface)); }
.x-sw--img { background: var(--c-navy) var(--x-bgimg) center / cover no-repeat; }
.x-sw--img::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(var(--c-navy-rgb, 19,34,79), calc(var(--x-ov, .5) * .8)), rgba(var(--c-navy-rgb, 19,34,79), var(--x-ov, .5))); }
.x-sw--parallax { background-attachment: fixed; }
@media (hover: none), (max-width: 900px) { .x-sw--parallax { background-attachment: scroll; } }
.x-sw--light { color: rgba(255,255,255,.92); }

/* ------------------------------------------------------------------ espaceur & titre */
.x-spacer { height: var(--h, 48px); position: relative; }
.x-spacer--line::after { content: ""; position: absolute; inset-inline: 10%; top: 50%; height: 1px; background: var(--x-card-line); }
@media (max-width: 767px) { .x-spacer--half { height: calc(var(--h, 48px) / 2); } .x-spacer--hide { display: none; } }

.x-heading { position: relative; max-width: 900px; }
.x-heading--center { text-align: center; margin-inline: auto; } .x-heading--center .eyebrow { justify-content: center; }
.x-heading--end { text-align: end; margin-inline-start: auto; } .x-heading--end .eyebrow { justify-content: flex-end; }
.x-heading__title { margin: 0; color: var(--x-heading); text-wrap: balance; }
.x-heading--h1 .x-heading__title { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4rem); line-height: 1.06; }
.x-heading--h2 .x-heading__title { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.9rem); }
.x-heading--h3 .x-heading__title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
.x-heading--h4 .x-heading__title { font-size: 1.2rem; }
.x-heading--s-xl .x-heading__title { font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.6rem); line-height: 1.04; }
.x-heading--s-lg .x-heading__title { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.3rem); }
.x-heading--s-md .x-heading__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.x-heading--s-sm .x-heading__title { font-size: 1.25rem; }
.x-heading__sub { margin: .7em 0 0; font-size: 1.15rem; color: var(--x-fg-muted); max-width: 680px; }
.x-heading--center .x-heading__sub { margin-inline: auto; }
.x-heading--underline .x-heading__title::after { content: ""; display: block; width: 72px; height: 4px; border-radius: 4px; margin-top: .45em; background: linear-gradient(90deg, var(--c-accent), color-mix(in srgb, var(--c-accent) 30%, transparent)); }
.x-heading--center.x-heading--underline .x-heading__title::after { margin-inline: auto; }
.x-heading--end.x-heading--underline .x-heading__title::after { margin-inline-start: auto; }
.x-heading--side { padding-inline-start: 22px; border-inline-start: 5px solid var(--c-accent); }
.x-heading--gradient .x-heading__title { background: linear-gradient(100deg, var(--c-primary), var(--c-navy) 60%, var(--c-primary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
:is(.bg--teal, .bg--navy, .x-sw--light) .x-heading--gradient .x-heading__title { background-image: linear-gradient(100deg, #fff, var(--c-aqua)); }
.x-heading__letters { position: absolute; inset-inline-end: 0; top: -.4em; font: 700 clamp(3rem, 8vw, 6rem)/1 'El Messiri', 'Tajawal', serif; color: var(--c-primary); opacity: .07; pointer-events: none; letter-spacing: .1em; }
.x-heading--center .x-heading__letters { inset-inline: 0; text-align: center; }

/* ------------------------------------------------------------------ boîtes à icônes */
.x-ib__item { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2.4vw, 30px); border-radius: var(--r); color: var(--x-fg); text-decoration: none; transition: transform .3s var(--x-ease), box-shadow .3s var(--x-ease), border-color .3s; }
.x-ib--soft .x-ib__item { background: var(--x-soft); }
.x-ib--outline .x-ib__item { border: 1.5px solid var(--x-card-line); background: transparent; }
.x-ib--shadow .x-ib__item { background: var(--x-card); box-shadow: var(--x-shadow); border: 1px solid var(--x-card-line); }
.x-ib--filled .x-ib__item { background: var(--x-acc); color: #fff; }
.x-ib--filled .x-ib__title { color: #fff; } .x-ib--filled .x-ib__text { color: rgba(255,255,255,.86); }
.x-ib--filled .x-ib__icon { background: rgba(255,255,255,.16); color: #fff; }
a.x-ib__item:hover { transform: translateY(-4px); box-shadow: var(--x-shadow-lg); color: var(--x-fg); }
.x-ib__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; flex: none; color: var(--x-acc); background: color-mix(in srgb, var(--x-acc) 12%, transparent); transition: transform .35s var(--x-ease); }
.x-ib__icon .ic { width: 26px; height: 26px; }
a.x-ib__item:hover .x-ib__icon { transform: rotate(-6deg) scale(1.06); }
.x-ib__media img { width: 64px; height: 64px; object-fit: cover; border-radius: 16px; }
.x-ib__body { display: grid; gap: 6px; }
.x-ib__title { font-family: var(--f-head); font-size: 1.14rem; color: var(--x-heading); line-height: 1.25; }
[dir="rtl"] .x-ib__title { font-family: var(--f-head-ar, var(--f-head)); }
.x-ib__text { color: var(--x-fg-muted); font-size: .98rem; }
.x-ib__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; font-size: .92rem; color: var(--x-acc); }
.x-ib--side .x-ib__item { flex-direction: row; align-items: flex-start; }
.x-ib--centered .x-ib__item { align-items: center; text-align: center; background: none; box-shadow: none; border: 0; }
.x-ib--centered .x-ib__icon { width: 72px; height: 72px; border-radius: 50%; }
.x-ib--list { gap: 10px; }
.x-ib--list .x-ib__item { flex-direction: row; align-items: center; padding: 12px 16px; border-radius: var(--r-sm); }
.x-ib--list .x-ib__icon { width: 42px; height: 42px; border-radius: 12px; }
.x-ib--list .x-ib__icon .ic { width: 20px; height: 20px; }

/* ------------------------------------------------------------------ compteurs */
.x-counters { display: grid; gap: var(--x-gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.x-counter { display: grid; justify-items: center; gap: 6px; text-align: center; padding: clamp(18px, 2.4vw, 28px) 16px; border-radius: var(--r); }
.x-counter__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--c-primary); background: color-mix(in srgb, var(--c-primary) 12%, transparent); margin-bottom: 4px; }
.x-counter__value { font-family: var(--f-head); font-weight: 800; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); line-height: 1; color: var(--x-heading); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.x-counter__fix { font-size: .55em; font-weight: 700; color: var(--c-accent); margin-inline: .08em; }
.x-counter__label { color: var(--x-fg-muted); font-weight: 600; max-width: 240px; }
.x-counters--cards .x-counter { background: var(--x-card); border: 1px solid var(--x-card-line); box-shadow: var(--x-shadow); }
.x-counters--divided .x-counter + .x-counter { border-inline-start: 1px solid var(--x-card-line); border-radius: 0; }
@media (max-width: 640px) { .x-counters--divided .x-counter + .x-counter { border-inline-start: 0; border-top: 1px solid var(--x-card-line); } }
.x-counters--band { padding: clamp(24px, 4vw, 48px); border-radius: calc(var(--r) * 1.4); background: radial-gradient(700px 300px at 90% -20%, rgba(255,255,255,.15), transparent 60%), linear-gradient(135deg, var(--c-primary), var(--c-navy)); --x-heading: #fff; --x-fg-muted: rgba(255,255,255,.8); box-shadow: var(--x-shadow-lg); }
.x-counters--band .x-counter__icon { color: var(--c-accent); background: rgba(255,255,255,.12); }
.x-in .x-counters--band { padding: 20px; }

/* ------------------------------------------------------------------ barres de progression */
.x-bars { display: grid; gap: 20px; }
.x-bar__top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-weight: 650; color: var(--x-heading); }
.x-bar__top strong { color: var(--x-acc); font-family: var(--f-head); }
.x-bar__track { height: 14px; border-radius: 999px; background: color-mix(in srgb, var(--x-acc) 14%, var(--x-soft)); overflow: hidden; }
.x-bars--thin .x-bar__track { height: 6px; }
.x-bar__fill { display: block; height: 100%; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--x-acc) 75%, #fff), var(--x-acc)); transform-origin: left center; transition: transform 1.4s var(--x-ease); }
[dir="rtl"] .x-bar__fill { transform-origin: right center; background: linear-gradient(270deg, color-mix(in srgb, var(--x-acc) 75%, #fff), var(--x-acc)); }
.x-bars--striped .x-bar__fill { background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.22) 0 10px, transparent 10px 20px), linear-gradient(90deg, var(--x-acc), var(--x-acc)); }
.x-js .x-bar:not(.is-in) .x-bar__fill { transform: scaleX(0); }

/* ------------------------------------------------------------------ onglets */
.x-tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.x-tabs__tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: .55em 1.1em; border: 1.5px solid var(--x-card-line); border-radius: 999px; background: var(--x-card); color: var(--x-heading); font: 650 .96rem var(--f-head); cursor: pointer; transition: .2s; }
[dir="rtl"] .x-tabs__tab { font-family: var(--f-head-ar, var(--f-head)); }
.x-tabs__tab:hover { border-color: var(--c-primary); color: var(--c-primary); }
.x-tabs__tab[aria-selected="true"] { background: var(--c-primary); border-color: var(--c-primary); color: #fff; box-shadow: 0 10px 24px -14px rgba(var(--c-primary-rgb, 14,110,115), .9); }
.x-tabs--underline .x-tabs__list { gap: 0; border-bottom: 2px solid var(--x-card-line); }
.x-tabs--underline .x-tabs__tab { border: 0; border-radius: 0; background: none; margin-bottom: -2px; border-bottom: 3px solid transparent; }
.x-tabs--underline .x-tabs__tab[aria-selected="true"] { background: none; color: var(--c-primary); border-bottom-color: var(--c-accent); box-shadow: none; }
.x-tabs--boxed { border: 1px solid var(--x-card-line); border-radius: var(--r); background: var(--x-card); box-shadow: var(--x-shadow); overflow: hidden; }
.x-tabs--boxed .x-tabs__list { margin: 0; gap: 0; background: var(--x-soft); border-bottom: 1px solid var(--x-card-line); }
.x-tabs--boxed .x-tabs__tab { border: 0; border-radius: 0; background: none; flex: 1; justify-content: center; }
.x-tabs--boxed .x-tabs__tab[aria-selected="true"] { background: var(--x-card); color: var(--c-primary); box-shadow: inset 0 -3px 0 var(--c-accent); }
.x-tabs--boxed .x-tabs__panels { padding: clamp(18px, 3vw, 32px); }
@media (min-width: 800px) {
  .x-tabs--vertical { display: grid; grid-template-columns: minmax(200px, 280px) 1fr; gap: 32px; align-items: start; }
  .x-tabs--vertical .x-tabs__list { flex-direction: column; margin: 0; }
  .x-tabs--vertical .x-tabs__tab { border-radius: var(--r-sm); justify-content: flex-start; }
}
.x-tabs__panel { animation: x-fade .45s var(--x-ease); }
.x-tabs__panel:focus-visible { outline-offset: 6px; }
.x-tabs__panel--media { display: grid; gap: 24px; align-items: center; }
@media (min-width: 800px) { .x-tabs__panel--media { grid-template-columns: 1.2fr 1fr; } }
.x-tabs__img { width: 100%; height: auto; border-radius: var(--r); box-shadow: var(--x-shadow); }
@keyframes x-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ accordéon */
.x-acc { display: grid; gap: 12px; }
.x-acc__item { border-radius: var(--r-sm); background: var(--x-card); border: 1px solid var(--x-card-line); transition: box-shadow .25s, border-color .25s; }
.x-acc__item.is-open { border-color: color-mix(in srgb, var(--c-primary) 40%, var(--x-card-line)); box-shadow: var(--x-shadow); }
.x-acc--bordered { gap: 0; border: 1px solid var(--x-card-line); border-radius: var(--r); overflow: hidden; background: var(--x-card); }
.x-acc--bordered .x-acc__item { border: 0; border-radius: 0; box-shadow: none; }
.x-acc--bordered .x-acc__item + .x-acc__item { border-top: 1px solid var(--x-card-line); }
.x-acc--minimal { gap: 0; }
.x-acc--minimal .x-acc__item { background: none; border: 0; border-bottom: 1px solid var(--x-card-line); border-radius: 0; box-shadow: none; }
.x-acc__h { margin: 0; font-size: 1.06rem; }
.x-acc__btn { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 56px; padding: 16px 20px; border: 0; background: none; color: var(--x-heading); font: 650 1.04rem/1.35 var(--f-head); text-align: start; cursor: pointer; }
[dir="rtl"] .x-acc__btn { font-family: var(--f-head-ar, var(--f-head)); }
.x-acc--minimal .x-acc__btn { padding-inline: 0; }
.x-acc__btn:hover { color: var(--c-primary); }
.x-acc__sign { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: color-mix(in srgb, var(--c-primary) 12%, transparent); transition: transform .3s var(--x-ease), background .3s; }
.x-acc__sign::before, .x-acc__sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--c-primary); transition: transform .3s var(--x-ease); }
.x-acc__sign::after { transform: rotate(90deg); }
.x-acc__btn[aria-expanded="true"] .x-acc__sign { background: var(--c-primary); transform: rotate(180deg); }
.x-acc__btn[aria-expanded="true"] .x-acc__sign::before, .x-acc__btn[aria-expanded="true"] .x-acc__sign::after { background: #fff; }
.x-acc__btn[aria-expanded="true"] .x-acc__sign::after { transform: rotate(0); }
.x-acc__inner { padding: 0 20px 18px; color: var(--x-fg); }
.x-acc--minimal .x-acc__inner { padding-inline: 0; }
.x-acc__panel:not([hidden]) { animation: x-fade .35s var(--x-ease); }

/* ------------------------------------------------------------------ tableau de formules */
.x-pricing { display: grid; gap: var(--x-gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); align-items: stretch; }
.x-plan { position: relative; display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 36px); border-radius: calc(var(--r) * 1.2); background: var(--x-card); border: 1px solid var(--x-card-line); box-shadow: var(--x-shadow); transition: transform .3s var(--x-ease), box-shadow .3s; }
.x-plan:hover { transform: translateY(-4px); box-shadow: var(--x-shadow-lg); }
.x-plan--hot { background: radial-gradient(500px 240px at 100% 0%, rgba(255,255,255,.14), transparent 60%), linear-gradient(160deg, var(--c-primary), var(--c-navy)); color: #fff; border-color: transparent; --x-heading: #fff; --x-fg-muted: rgba(255,255,255,.78); --x-card-line: rgba(255,255,255,.18); }
@media (min-width: 900px) { .x-plan--hot { transform: scale(1.04); z-index: 1; } .x-plan--hot:hover { transform: scale(1.04) translateY(-4px); } }
.x-plan__badge { position: absolute; top: 16px; inset-inline-end: 16px; padding: .3em .8em; border-radius: 999px; background: var(--c-accent); color: var(--c-navy); font-weight: 800; font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; }
.x-plan__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--c-primary) 12%, transparent); color: var(--c-primary); margin-bottom: 10px; }
.x-plan--hot .x-plan__icon { background: rgba(255,255,255,.14); color: var(--c-accent); }
.x-plan__name { margin: 0; font-size: 1.3rem; color: var(--x-heading); }
.x-plan__desc { margin: 6px 0 0; color: var(--x-fg-muted); font-size: .95rem; }
.x-plan__price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; color: var(--x-heading); }
.x-plan__price strong { font: 800 clamp(2.2rem, 1.6rem + 2vw, 3rem)/1 var(--f-head); letter-spacing: -.02em; }
.x-plan__cur { font-weight: 700; }
.x-plan__price small { color: var(--x-fg-muted); }
.x-plan__features { list-style: none; margin: 0; padding: 16px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--x-card-line); flex: 1; }
.x-plan__features li { display: flex; gap: 10px; align-items: flex-start; }
.x-plan__features .ic { margin-top: 3px; flex: none; color: var(--c-primary); }
.x-plan--hot .x-plan__features .ic { color: var(--c-accent); }
.x-plan__features .is-no { color: var(--x-fg-muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.x-plan__features .is-no .ic { color: var(--x-fg-muted); }
.x-plan--hot .btn--gold { box-shadow: 0 12px 26px -14px rgba(0,0,0,.6); }
.x-plan .btn--ghost { --fg: var(--x-heading); }

/* ------------------------------------------------------------------ frise chronologique */
.x-tl { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 28px; }
.x-tl::before { content: ""; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 21px; width: 2px; background: linear-gradient(180deg, var(--c-accent), color-mix(in srgb, var(--c-primary) 40%, transparent)); border-radius: 2px; }
.x-tl__item { position: relative; padding-inline-start: 64px; }
.x-tl__dot { position: absolute; inset-inline-start: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary); color: #fff; font: 800 .95rem var(--f-head); box-shadow: 0 0 0 6px color-mix(in srgb, var(--c-primary) 14%, transparent); }
.x-tl__card { padding: 18px 22px; border-radius: var(--r); background: var(--x-card); border: 1px solid var(--x-card-line); box-shadow: var(--x-shadow); }
.x-tl__date { display: inline-block; margin-bottom: 6px; padding: .2em .7em; border-radius: 999px; background: var(--c-accent-soft, #FBF1D9); color: color-mix(in srgb, var(--c-accent) 35%, var(--c-navy)); font-weight: 750; font-size: .82rem; }
.x-tl__title { margin: 0 0 .3em; font-size: 1.15rem; color: var(--x-heading); }
.x-tl__text { margin: 0; color: var(--x-fg-muted); }
.x-tl__img { width: 100%; height: auto; border-radius: var(--r-sm); margin-bottom: 12px; }
@media (min-width: 900px) {
  .x-tl--alternate::before { inset-inline-start: calc(50% - 1px); }
  .x-tl--alternate .x-tl__item { width: 50%; padding-inline-start: 0; padding-inline-end: 56px; }
  .x-tl--alternate .x-tl__dot { inset-inline-start: auto; inset-inline-end: -22px; }
  .x-tl--alternate .x-tl__item:nth-child(even) { margin-inline-start: 50%; padding-inline-end: 0; padding-inline-start: 56px; }
  .x-tl--alternate .x-tl__item:nth-child(even) .x-tl__dot { inset-inline-end: auto; inset-inline-start: -22px; }
  .x-tl--horizontal { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 20px; }
  .x-tl--horizontal::before { top: 21px; bottom: auto; inset-inline: 22px; width: auto; height: 2px; background: linear-gradient(90deg, var(--c-accent), color-mix(in srgb, var(--c-primary) 40%, transparent)); }
  .x-tl--horizontal .x-tl__item { padding: 64px 0 0; }
}

/* ------------------------------------------------------------------ équipe */
.x-member { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--x-card); border: 1px solid var(--x-card-line); box-shadow: var(--x-shadow); transition: transform .3s var(--x-ease), box-shadow .3s; }
.x-member:hover { transform: translateY(-4px); box-shadow: var(--x-shadow-lg); }
.x-member__photo { aspect-ratio: 4 / 4.4; overflow: hidden; background: linear-gradient(160deg, color-mix(in srgb, var(--c-aqua) 40%, #fff), color-mix(in srgb, var(--c-primary) 30%, #fff)); display: grid; place-items: center; }
.x-member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--x-ease); }
.x-member:hover .x-member__photo img { transform: scale(1.05); }
.x-member__initials { font: 800 3rem var(--f-head); color: #fff; text-shadow: 0 4px 18px rgba(0,0,0,.15); }
.x-member__body { padding: 18px 20px 20px; display: grid; gap: 4px; }
.x-member__name { margin: 0; font-size: 1.1rem; color: var(--x-heading); }
.x-member__role { margin: 0; color: var(--c-primary); font-weight: 700; font-size: .9rem; }
.x-member__text { margin: 6px 0 0; color: var(--x-fg-muted); font-size: .94rem; }
.x-member__links { list-style: none; margin: 10px 0 0; padding: 0; display: flex; gap: 8px; }
.x-member__links a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--x-soft); color: var(--x-heading); transition: .2s; }
.x-member__links a:hover { background: var(--c-primary); color: #fff; }
.x-member__links .x-si { width: 18px; height: 18px; }
.x-team--round .x-member { background: none; border: 0; box-shadow: none; text-align: center; align-items: center; }
.x-team--round .x-member__photo { width: min(180px, 70%); aspect-ratio: 1; border-radius: 50%; margin-top: 4px; box-shadow: 0 0 0 6px var(--x-card), 0 0 0 8px color-mix(in srgb, var(--c-accent) 60%, transparent); }
.x-team--round .x-member__links { justify-content: center; }
.x-team--overlay .x-member { position: relative; }
.x-team--overlay .x-member__photo { aspect-ratio: 3 / 4; }
.x-team--overlay .x-member__body { position: absolute; inset: auto 0 0; padding: 60px 18px 16px; background: linear-gradient(180deg, transparent, rgba(var(--c-navy-rgb, 19,34,79), .92)); --x-heading: #fff; --x-fg-muted: rgba(255,255,255,.82); }
.x-team--overlay .x-member__role { color: var(--c-accent); }

/* ------------------------------------------------------------------ carrousel de témoignages */
.x-slider { position: relative; }
.x-slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--x-gap)) / 3); gap: var(--x-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 4px 18px; overscroll-behavior-x: contain; }
.x-slider__track::-webkit-scrollbar { display: none; }
@media (max-width: 979px) { .x-slider__track { grid-auto-columns: calc((100% - var(--x-gap)) / 2); } }
@media (max-width: 640px) { .x-slider__track { grid-auto-columns: 88%; } }
.x-in .x-slider__track { grid-auto-columns: 100%; }
.x-slider--centered .x-slider__track { grid-auto-columns: 100%; }
.x-slider__slide { scroll-snap-align: start; margin: 0; }
.x-tq { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r); background: var(--x-card); border: 1px solid var(--x-card-line); box-shadow: var(--x-shadow); }
.x-tq__stars { color: var(--c-accent); letter-spacing: .12em; font-size: 1.05rem; } .x-tq__off { opacity: .25; }
.x-tq__quote { margin: 0; flex: 1; position: relative; font-size: 1.04rem; color: var(--x-fg); }
.x-tq__quote p { margin: 0; }
.x-tq__quote::before { content: "“"; display: block; height: .55em; font: 800 4rem/1 Georgia, serif; color: var(--c-accent); opacity: .7; }
.x-tq__who { display: flex; align-items: center; gap: 12px; }
.x-tq__who strong { display: block; color: var(--x-heading); } .x-tq__who small { display: block; color: var(--x-fg-muted); }
.x-tq__initial, .x-quote__avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; object-fit: cover; }
.x-tq__initial { display: grid; place-items: center; background: var(--c-primary); color: #fff; font: 800 1.1rem var(--f-head); }
.x-slider--centered .x-tq { text-align: center; align-items: center; background: none; border: 0; box-shadow: none; max-width: 820px; margin-inline: auto; }
.x-slider--centered .x-tq__quote { font: 600 clamp(1.25rem, 1rem + 1vw, 1.7rem)/1.45 var(--f-head); color: var(--x-heading); }
.x-slider--bubble .x-tq { background: none; border: 0; box-shadow: none; padding: 0; }
.x-slider--bubble .x-tq__quote { position: relative; padding: 22px 24px; border-radius: var(--r); background: var(--x-card); border: 1px solid var(--x-card-line); box-shadow: var(--x-shadow); }
.x-slider--bubble .x-tq__quote::after { content: ""; position: absolute; bottom: -9px; inset-inline-start: 28px; width: 18px; height: 18px; background: var(--x-card); border: 1px solid var(--x-card-line); border-top: 0; border-inline-start: 0; transform: rotate(45deg); }
[dir="rtl"] .x-slider--bubble .x-tq__quote::after { transform: rotate(-45deg); }
.x-slider__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 8px; }
.x-slider__btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--x-card-line); background: var(--x-card); color: var(--x-heading); cursor: pointer; transition: .2s; }
.x-slider__btn:hover:not(:disabled) { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.x-slider__btn:disabled { opacity: .35; cursor: default; }
.x-slider__dots { display: flex; gap: 8px; }
.x-slider__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--x-heading) 25%, transparent); cursor: pointer; transition: width .3s var(--x-ease), background .3s; }
.x-slider__dots button[aria-current="true"] { width: 28px; background: var(--c-primary); }

/* ------------------------------------------------------------------ logos */
.x-logos li { display: grid; place-items: center; }
.x-logos__img { max-height: 64px; width: auto; max-width: 170px; object-fit: contain; transition: filter .3s, opacity .3s, transform .3s; }
.x-logos--gray .x-logos__img { filter: grayscale(1); opacity: .65; }
.x-logos--gray li:hover .x-logos__img { filter: none; opacity: 1; transform: scale(1.04); }
.x-logos__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 40px; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); align-items: center; }
.x-logos__viewport { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.x-logos__row { list-style: none; margin: 0; padding: 8px 0; display: flex; flex: none; gap: clamp(32px, 5vw, 64px); padding-inline-end: clamp(32px, 5vw, 64px); animation: x-marquee var(--x-dur, 30s) linear infinite; }
.x-logos__viewport:hover .x-logos__row { animation-play-state: paused; }
@keyframes x-marquee { to { transform: translateX(-100%); } }
[dir="rtl"] .x-logos__row { animation-name: x-marquee-rtl; }
@keyframes x-marquee-rtl { to { transform: translateX(100%); } }

/* ------------------------------------------------------------------ image & vidéo */
.x-img { margin: 0; display: flex; flex-direction: column; }
.x-img--center { align-items: center; text-align: center; } .x-img--start { align-items: flex-start; } .x-img--end { align-items: flex-end; text-align: end; }
.x-img__frame { position: relative; max-width: 100%; }
.x-img--lg .x-img__frame { width: min(100%, 900px); } .x-img--md .x-img__frame { width: min(100%, 600px); } .x-img--sm .x-img__frame { width: min(100%, 360px); }
.x-img__frame img { display: block; width: 100%; height: auto; }
.x-img--rounded .x-img__frame, .x-img--rounded-shadow .x-img__frame { border-radius: var(--r); overflow: hidden; }
.x-img--shadow .x-img__frame, .x-img--rounded-shadow .x-img__frame { box-shadow: var(--x-shadow-lg); }
.x-img--circle .x-img__frame { border-radius: 50%; overflow: hidden; aspect-ratio: 1; }
.x-img--circle .x-img__frame img { height: 100%; object-fit: cover; }
.x-img--arch .x-img__frame { border-radius: 999px 999px var(--r) var(--r); overflow: hidden; }
.x-img--frame .x-img__frame { padding: 0; }
.x-img--frame .x-img__frame img { border-radius: var(--r); position: relative; z-index: 1; }
.x-img--frame .x-img__frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--r); border: 3px solid var(--c-accent); z-index: 0; }
[dir="rtl"] .x-img--frame .x-img__frame::before { inset: 18px 18px -18px -18px; }
.x-img--frame .x-img__frame::after { content: ""; position: absolute; width: 90px; height: 90px; top: -18px; inset-inline-start: -18px; border-radius: 22px; background: radial-gradient(circle, color-mix(in srgb, var(--c-primary) 40%, transparent) 2px, transparent 2.5px) 0 0 / 14px 14px; z-index: 0; }
.x-img--zoom .x-img__frame { overflow: hidden; }
.x-img--zoom .x-img__frame img { transition: transform .8s var(--x-ease); }
.x-img--zoom:hover .x-img__frame img { transform: scale(1.06); }
.x-img__cap { margin-top: 12px; color: var(--x-fg-muted); font-size: .92rem; }
.x-img--frame .x-img__cap { margin-top: 30px; }

.x-video { margin: 0 auto; }
.x-video--lg { max-width: 960px; } .x-video--md { max-width: 680px; }
.x-video__frame { position: relative; overflow: hidden; background: #000; }
.x-video__frame :is(.vplayer, iframe, video) { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border: 0; border-radius: 0; aspect-ratio: auto; }
.x-video__frame video { object-fit: cover; }
.x-ratio--16x9 .x-video__frame { aspect-ratio: 16 / 9; } .x-ratio--4x3 .x-video__frame { aspect-ratio: 4 / 3; }
.x-ratio--1x1 .x-video__frame { aspect-ratio: 1; } .x-ratio--9x16 .x-video__frame { aspect-ratio: 9 / 16; max-width: 420px; margin-inline: auto; }
.x-video--rounded-shadow .x-video__frame { border-radius: var(--r); box-shadow: var(--x-shadow-lg); }
.x-video--device .x-video__frame { border-radius: calc(var(--r) * 1.2); border: 12px solid var(--c-navy); box-shadow: var(--x-shadow-lg), inset 0 0 0 1px rgba(255,255,255,.1); }
.x-video .x-img__cap { text-align: center; }

/* ------------------------------------------------------------------ avant / après */
.x-cmp { margin: 0; }
.x-cmp__stage { position: relative; overflow: hidden; border-radius: var(--r); box-shadow: var(--x-shadow-lg); user-select: none; touch-action: pan-y; }
.x-cmp__img { display: block; width: 100%; height: auto; pointer-events: none; }
.x-cmp__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.x-cmp__before .x-cmp__img { height: 100%; object-fit: cover; }
.x-cmp__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.35); pointer-events: none; }
.x-cmp__handle .ic { position: absolute; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--c-navy); }
.x-cmp__handle::before { content: ""; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.3); }
.x-cmp__handle .ic:first-of-type { left: -20px; z-index: 1; } .x-cmp__handle .ic:last-of-type { left: 3px; z-index: 1; }
.x-cmp__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.x-cmp__stage:focus-within .x-cmp__handle::before { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.x-cmp__label { position: absolute; top: 14px; padding: .3em .8em; border-radius: 999px; background: rgba(var(--c-navy-rgb, 19,34,79), .78); color: #fff; font-weight: 700; font-size: .82rem; backdrop-filter: blur(4px); }
.x-cmp__label--before { left: 14px; } .x-cmp__label--after { right: 14px; }

/* ------------------------------------------------------------------ carte */
.x-map { position: relative; height: var(--h, 400px); border-radius: var(--r); overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--c-aqua) 35%, #fff), color-mix(in srgb, var(--c-mint) 25%, #fff)); box-shadow: var(--x-shadow); }
.x-map::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 38px, rgba(255,255,255,.55) 38px 40px), repeating-linear-gradient(90deg, transparent 0 38px, rgba(255,255,255,.55) 38px 40px); opacity: .7; }
.x-map--full { border-radius: 0; }
.x-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.x-map__load { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 20px; border: 0; background: none; color: var(--c-navy); text-align: center; cursor: pointer; font: inherit; }
.x-map__load > .ic { width: 52px; height: 52px; padding: 12px; border-radius: 50%; background: var(--c-primary); color: #fff; box-shadow: 0 0 0 10px color-mix(in srgb, var(--c-primary) 18%, transparent); animation: x-pulse 2.4s ease-in-out infinite; }
.x-map__load strong { font: 700 1.1rem var(--f-head); margin-top: 8px; }
.x-map__load small { color: var(--c-muted); max-width: 360px; }
.x-map__load:hover strong { color: var(--c-primary); }
.x-map__link { margin: 14px 0 0; text-align: center; }
@keyframes x-pulse { 50% { box-shadow: 0 0 0 18px color-mix(in srgb, var(--c-primary) 6%, transparent); } }

/* ------------------------------------------------------------------ compte à rebours */
.x-cd { text-align: center; }
.x-cd__title { margin: 0 0 24px; color: var(--x-heading); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.x-cd .eyebrow { justify-content: center; }
.x-cd__grid { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(10px, 2vw, 20px); }
.x-cd__unit { display: grid; gap: 6px; min-width: clamp(76px, 16vw, 120px); padding: clamp(14px, 2vw, 22px) 10px; border-radius: var(--r); background: var(--x-card); border: 1px solid var(--x-card-line); box-shadow: var(--x-shadow); }
.x-cd__num { font: 800 clamp(2rem, 1.4rem + 2.6vw, 3.4rem)/1 var(--f-head); color: var(--c-primary); font-variant-numeric: tabular-nums; }
.x-cd__lbl { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--x-fg-muted); }
[dir="rtl"] .x-cd__lbl { letter-spacing: 0; font-size: .9rem; }
.x-cd--dark { padding: clamp(28px, 4vw, 52px) 20px; border-radius: calc(var(--r) * 1.4); background: radial-gradient(600px 300px at 50% -20%, rgba(var(--c-primary-rgb, 14,110,115), .55), transparent 70%), var(--c-navy); --x-heading: #fff; --x-fg-muted: rgba(255,255,255,.7); --x-card: rgba(255,255,255,.07); --x-card-line: rgba(255,255,255,.14); --x-shadow: none; }
.x-cd--dark .x-cd__num { color: var(--c-accent); }
.x-cd--minimal .x-cd__unit { background: none; border: 0; box-shadow: none; }
.x-cd--minimal .x-cd__unit + .x-cd__unit { border-inline-start: 1px solid var(--x-card-line); border-radius: 0; }
.x-cd__done { font: 700 1.3rem var(--f-head); color: var(--x-heading); }
.x-cd__btns { justify-content: center; margin-top: 26px; }

/* ------------------------------------------------------------------ encadré */
.x-callout { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: clamp(18px, 2.4vw, 26px); border-radius: var(--r); border: 1px solid; --x-tone: var(--c-primary); border-color: color-mix(in srgb, var(--x-tone) 28%, transparent); background: color-mix(in srgb, var(--x-tone) 8%, var(--c-surface)); color: var(--c-text); }
.x-callout::before { content: ""; position: absolute; inset-block: 14px; inset-inline-start: 0; width: 4px; border-radius: 0 4px 4px 0; background: var(--x-tone); }
[dir="rtl"] .x-callout::before { border-radius: 4px 0 0 4px; }
.x-callout--info { --x-tone: #2563EB; } .x-callout--success { --x-tone: #138A4E; } .x-callout--warning { --x-tone: #C27C0E; }
.x-callout--danger { --x-tone: #B42318; } .x-callout--tip { --x-tone: var(--c-accent); }
.x-callout--brand { --x-tone: var(--c-primary); background: radial-gradient(400px 200px at 100% 0%, color-mix(in srgb, var(--c-accent) 18%, transparent), transparent 70%), color-mix(in srgb, var(--c-primary) 9%, var(--c-surface)); }
.x-callout__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--x-tone); color: #fff; }
.x-callout--tip .x-callout__icon { color: var(--c-navy); }
.x-callout__body { flex: 1; min-width: 0; }
.x-callout__title { margin: 2px 0 4px; font: 700 1.1rem var(--f-head); color: var(--c-navy); }
.x-callout__text { margin: 0; color: color-mix(in srgb, var(--c-text) 85%, var(--x-tone)); }
.x-callout__btns { margin-top: 14px; }
.x-callout__close { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border: 0; border-radius: 50%; background: transparent; color: var(--c-muted); cursor: pointer; }
.x-callout__close:hover { background: rgba(0,0,0,.06); color: var(--c-navy); }
.x-callout.is-dismissed { display: none; }

/* ------------------------------------------------------------------ citation */
.x-quote { position: relative; margin: 0; }
.x-quote__mark { position: absolute; top: -.25em; inset-inline-start: -.05em; font: 800 clamp(5rem, 10vw, 8rem)/1 Georgia, serif; color: var(--c-accent); opacity: .35; pointer-events: none; }
.x-quote__text { margin: 0; position: relative; }
.x-quote__text p { margin: 0; font: 600 clamp(1.3rem, 1rem + 1.3vw, 2rem)/1.42 var(--f-head); color: var(--x-heading); text-wrap: pretty; }
[dir="rtl"] .x-quote__text p { font-family: var(--f-head-ar, var(--f-head)); }
.x-quote__who { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.x-quote__who strong { display: block; color: var(--x-heading); } .x-quote__who small { display: block; color: var(--x-fg-muted); }
.x-quote--large { padding-top: clamp(30px, 4vw, 48px); }
.x-quote--bordered { padding-inline-start: 26px; border-inline-start: 4px solid var(--c-accent); }
.x-quote--bordered .x-quote__mark { display: none; }
.x-quote--bordered .x-quote__text p { font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem); }
.x-quote--card { padding: clamp(26px, 4vw, 44px); border-radius: calc(var(--r) * 1.2); background: var(--x-card); border: 1px solid var(--x-card-line); box-shadow: var(--x-shadow-lg); }
.x-quote--card .x-quote__mark { top: 10px; inset-inline-start: 18px; }
.x-quote--centered { text-align: center; padding-top: 56px; }
.x-quote--centered .x-quote__mark { inset-inline: 0; }
.x-quote--centered .x-quote__who { justify-content: center; }

/* ------------------------------------------------------------------ boutons */
.x-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.x-btns--center { justify-content: center; } .x-btns--end { justify-content: flex-end; } .x-btns--start { justify-content: flex-start; }
.x-btns--stretch .btn { flex: 1 1 200px; }
.x-btns--lg .btn { min-height: 58px; padding: .9em 1.9em; font-size: 1.08rem; }
.x-btns--sm .btn { min-height: 40px; padding: .5em 1em; font-size: .9rem; }

/* ------------------------------------------------------------------ réseaux sociaux */
.x-social__title { margin: 0 0 14px; font-size: 1.1rem; color: var(--x-heading); }
.x-social__title--center { text-align: center; } .x-social__title--end { text-align: end; }
.x-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.x-social--center { justify-content: center; } .x-social--end { justify-content: flex-end; }
.x-social__a { --sz: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: var(--sz); height: var(--sz); border-radius: 50%; text-decoration: none; transition: transform .25s var(--x-ease), background .25s, color .25s, box-shadow .25s; }
.x-social--sm .x-social__a { --sz: 36px; } .x-social--lg .x-social__a { --sz: 54px; }
.x-si { width: 50%; height: 50%; max-width: 26px; max-height: 26px; flex: none; }
.x-social--pill .x-si { width: 20px; height: 20px; }
.x-social__a:hover { transform: translateY(-3px); }
.x-social--square .x-social__a { border-radius: 12px; }
.x-social--pill .x-social__a { border-radius: 999px; padding-inline: 14px 18px; font-weight: 650; font-size: .92rem; }
.x-social--plain .x-social__a { min-width: 0; width: auto; height: auto; padding: 4px; border-radius: 6px; }
.x-social--plain .x-si { width: calc(var(--sz) * .58); height: calc(var(--sz) * .58); max-width: none; max-height: none; }
.x-social--brand:not(.x-social--plain) .x-social__a { background: var(--brand); color: #fff; box-shadow: 0 8px 18px -10px var(--brand); }
.x-social--brand .x-social__a--snapchat { color: #111 !important; }
.x-social--brand.x-social--plain .x-social__a { color: var(--brand); }
.x-social--brand:not(.x-social--plain) .x-social__a--instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.x-social--theme .x-social__a { background: color-mix(in srgb, var(--c-primary) 12%, transparent); color: var(--c-primary); }
.x-social--theme .x-social__a:hover { background: var(--c-primary); color: #fff; }
.x-social--light .x-social__a { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.x-social--light .x-social__a:hover { background: #fff; color: var(--c-navy); }
.x-social--dark .x-social__a { background: var(--c-navy); color: #fff; }
.x-social--dark .x-social__a:hover { background: var(--c-primary); }
.x-social--plain.x-social--theme .x-social__a, .x-social--plain.x-social--light .x-social__a, .x-social--plain.x-social--dark .x-social__a { background: none; border: 0; }
.x-social--plain.x-social--theme .x-social__a { color: var(--c-primary); } .x-social--plain.x-social--light .x-social__a { color: #fff; } .x-social--plain.x-social--dark .x-social__a { color: var(--c-navy); }

/* ------------------------------------------------------------------ séparateur */
.x-divider { display: block; color: var(--x-acc, var(--c-primary)); line-height: 0; }
.x-divider svg { display: block; width: 100%; height: 40px; }
.x-divider--sm svg { height: 22px; } .x-divider--lg svg { height: 72px; }
.x-divider--ornament svg, .x-divider--stars svg { height: 26px; width: min(320px, 70%); margin-inline: auto; }
.x-divider--stars svg { width: min(160px, 50%); }
.x-divider--zigzag svg { height: 16px; }
.x-divider--flip svg { transform: scaleY(-1); }
.x-divider--dots span { display: block; height: 10px; width: min(220px, 60%); margin: 10px auto; background: radial-gradient(circle, currentColor 3px, transparent 3.5px) 0 50% / 20px 10px repeat-x; }
.x-divider--gradient span { display: block; height: 3px; width: min(640px, 80%); margin: 14px auto; border-radius: 3px; background: linear-gradient(90deg, transparent, currentColor 30%, var(--c-accent) 70%, transparent); }
.x-divider--lg.x-divider--gradient span { height: 5px; }

/* ------------------------------------------------------------------ coordonnées */
.x-contact { color: var(--x-fg); }
.x-contact__title { margin: 0 0 18px; font-size: 1.35rem; color: var(--x-heading); }
.x-contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.x-contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.x-contact__ic { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: color-mix(in srgb, var(--c-primary) 12%, transparent); color: var(--c-primary); }
.x-contact__v { display: grid; gap: 2px; min-width: 0; }
.x-contact__v a { color: var(--x-heading); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.x-contact__v a:hover { color: var(--c-primary); text-decoration: underline; }
.x-contact__v small { color: var(--x-fg-muted); }
.x-contact__k { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--x-fg-muted); }
[dir="rtl"] .x-contact__k { letter-spacing: 0; font-size: .88rem; }
.x-contact__map { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; color: var(--c-primary); }
.x-contact .x-social { margin-top: 18px; }
.x-contact--card, .x-contact--dark { padding: clamp(22px, 3vw, 34px); border-radius: calc(var(--r) * 1.2); background: var(--x-card); border: 1px solid var(--x-card-line); box-shadow: var(--x-shadow-lg); }
.x-contact--dark { background: radial-gradient(500px 260px at 100% 0%, rgba(var(--c-primary-rgb, 14,110,115), .5), transparent 60%), var(--c-navy); border: 0; --x-heading: #fff; --x-fg: rgba(255,255,255,.9); --x-fg-muted: rgba(255,255,255,.66); }
.x-contact--dark .x-contact__ic { background: rgba(255,255,255,.1); color: var(--c-aqua); }
.x-contact--dark .x-contact__map { color: var(--c-accent); }
.x-contact--tiles .x-contact__list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--x-gap); }
.x-contact--tiles .x-contact__list li { flex-direction: column; padding: 22px; border-radius: var(--r); background: var(--x-card); border: 1px solid var(--x-card-line); box-shadow: var(--x-shadow); }

/* ------------------------------------------------------------------ articles récents */
.x-post { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--x-card); border: 1px solid var(--x-card-line); box-shadow: var(--x-shadow); transition: transform .3s var(--x-ease), box-shadow .3s; }
.x-post:hover { transform: translateY(-4px); box-shadow: var(--x-shadow-lg); }
.x-post__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--x-soft); }
.x-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--x-ease); }
.x-post:hover .x-post__media img { transform: scale(1.05); }
.x-post__ph { display: grid; place-items: center; height: 100%; color: color-mix(in srgb, var(--c-primary) 45%, transparent); background: linear-gradient(135deg, var(--c-primary-soft, #E3F3F2), var(--c-surface-alt)); }
.x-post__ph .ic { width: 38px; height: 38px; }
.x-post__body { padding: 18px 20px 22px; display: grid; gap: 8px; }
.x-post__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; color: var(--x-fg-muted); font-size: .84rem; }
.x-post__cat { padding: .15em .65em; border-radius: 999px; background: color-mix(in srgb, var(--c-primary) 12%, transparent); color: var(--c-primary); font-weight: 750; }
.x-post__title { margin: 0; font-size: 1.12rem; line-height: 1.3; }
.x-post__title a { color: var(--x-heading); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--x-ease); }
.x-post__title a:hover { background-size: 100% 2px; }
.x-post__title a::after { content: ""; position: absolute; inset: 0; }
.x-post { position: relative; }
.x-post__ex { margin: 0; color: var(--x-fg-muted); font-size: .95rem; }
.x-posts--list, .x-posts--compact { display: grid; gap: 14px; }
.x-posts--list .x-post { flex-direction: row; align-items: stretch; }
.x-posts--list .x-post__media { flex: none; width: clamp(96px, 26%, 180px); aspect-ratio: auto; }
.x-posts--list .x-post__body { padding: 14px 18px; align-content: center; }
.x-posts--compact .x-post { background: none; border: 0; box-shadow: none; border-radius: 0; }
.x-posts--compact .x-post:hover { transform: none; }
.x-posts--compact .x-post + .x-post { border-top: 1px solid var(--x-card-line); padding-top: 12px; }
.x-posts--compact .x-post__body { padding: 0; gap: 4px; }
.x-posts--compact .x-post__title { font-size: 1rem; }
.x-posts--featured { display: grid; gap: var(--x-gap); }
@media (min-width: 900px) {
  .x-posts--featured { grid-template-columns: 1.4fr 1fr; grid-auto-rows: auto; }
  .x-posts--featured .x-post--big { grid-row: span 3; }
  .x-posts--featured .x-post:not(.x-post--big) { flex-direction: row; }
  .x-posts--featured .x-post:not(.x-post--big) .x-post__media { width: 140px; flex: none; aspect-ratio: auto; }
  .x-posts--featured .x-post:not(.x-post--big) .x-post__body { padding: 14px 16px; }
}
.x-post--big .x-post__title { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }

/* ------------------------------------------------------------------ menu */
.x-menu__title { margin: 0 0 12px; font-size: 1.1rem; color: var(--x-heading); }
.x-menu__list, .x-menu__sub { list-style: none; margin: 0; padding: 0; }
.x-menu__list { display: grid; gap: 4px; }
.x-menu__list a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; color: var(--x-fg); text-decoration: none; font-weight: 600; transition: color .2s, transform .2s; }
.x-menu__list a:hover, .x-menu__list a.is-active { color: var(--c-primary); }
.x-menu--vertical .x-menu__list > li > a::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--c-accent); transform: rotate(45deg); flex: none; }
.x-menu--vertical .x-menu__list > li > a:hover { transform: translateX(3px); }
[dir="rtl"] .x-menu--vertical .x-menu__list > li > a:hover { transform: translateX(-3px); }
.x-menu__sub { padding-inline-start: 16px; display: grid; gap: 2px; }
.x-menu__sub a { font-weight: 500; font-size: .94rem; color: var(--x-fg-muted); }
.x-menu--horizontal .x-menu__list, .x-menu--pills .x-menu__list { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.x-menu--center .x-menu__list { justify-content: center; } .x-menu--end .x-menu__list { justify-content: flex-end; }
.x-menu--center .x-menu__title { text-align: center; } .x-menu--end .x-menu__title { text-align: end; }
.x-menu--horizontal .x-menu__sub, .x-menu--pills .x-menu__sub, .x-menu--cards .x-menu__sub { display: none; }
.x-menu--pills .x-menu__list { gap: 8px; }
.x-menu--pills .x-menu__list a { padding: .45em 1em; border-radius: 999px; background: var(--x-soft); border: 1px solid var(--x-card-line); }
.x-menu--pills .x-menu__list a:hover, .x-menu--pills .x-menu__list a.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.x-menu--cards .x-menu__list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.x-menu--cards .x-menu__list a { display: flex; justify-content: space-between; padding: 16px 18px; border-radius: var(--r-sm); background: var(--x-card); border: 1px solid var(--x-card-line); box-shadow: var(--x-shadow); }
.x-menu--cards .x-menu__list a::after { content: "→"; color: var(--c-accent); font-weight: 800; }
[dir="rtl"] .x-menu--cards .x-menu__list a::after { content: "←"; }

/* ------------------------------------------------------------------ recherche */
.x-search { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 999px; background: var(--x-card); border: 1.5px solid var(--x-card-line); box-shadow: var(--x-shadow); max-width: 640px; transition: border-color .2s, box-shadow .2s; }
.x-search:focus-within { border-color: var(--c-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-primary) 16%, transparent), var(--x-shadow); }
.x-search__ic { display: grid; place-items: center; padding-inline-start: 12px; color: var(--x-fg-muted); }
.x-search input { flex: 1; min-width: 0; height: 46px; border: 0; background: none; font: inherit; color: var(--x-fg); outline: none; }
.x-search .btn { min-height: 46px; padding-block: .5em; }
.x-search--boxed { border-radius: var(--r-sm); }
.x-search--boxed .btn { border-radius: calc(var(--r-sm) - 4px); }
.x-search--hero { margin-inline: auto; max-width: 760px; padding: 8px; }
.x-search--hero input { height: 58px; font-size: 1.12rem; }
.x-search--hero .btn { min-height: 58px; padding-inline: 1.6em; }
.x-in .x-search .btn span { display: none; }
@media (max-width: 480px) { .x-search .btn span { display: none; } }
.x-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.x-result { padding: 18px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--c-line); box-shadow: var(--x-shadow); }
.x-result h2 { margin: 4px 0 6px; font-size: 1.15rem; } .x-result h2 a { color: var(--c-navy); text-decoration: none; } .x-result h2 a:hover { color: var(--c-primary); }
.x-result p { margin: 0; color: var(--c-muted); }
.x-result mark { background: color-mix(in srgb, var(--c-accent) 35%, transparent); color: inherit; border-radius: 3px; padding: 0 .1em; }
.x-result__meta { font-size: .82rem; color: var(--c-muted); font-weight: 650; }

/* ------------------------------------------------------------------ lettre d'information */
.x-nl { display: grid; gap: 20px 40px; align-items: center; }
.x-nl__title { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); color: var(--x-heading); }
.x-nl__desc { margin: 8px 0 0; color: var(--x-fg-muted); }
.x-nl__form { display: grid; gap: 12px; }
.x-nl__row { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: var(--x-shadow); border: 1px solid var(--c-line); }
.x-nl__row input { flex: 1; min-width: 0; height: 48px; padding-inline: 16px; border: 0; background: none; font: inherit; color: var(--c-text); outline: none; }
.x-nl__row .btn { min-height: 48px; }
.x-nl__consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--x-fg-muted); cursor: pointer; }
.x-nl__consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--c-accent); }
.x-nl__hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.x-nl__msg { margin: 0; display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: var(--r-sm); font-weight: 600; font-size: .92rem; }
.x-nl__msg--ok { background: #E7F6EE; color: #0F6B3C; } .x-nl__msg--err { background: #FEF3F2; color: #B42318; }
.x-nl--band { padding: clamp(28px, 4.5vw, 56px); border-radius: calc(var(--r) * 1.4); color: rgba(255,255,255,.9); background: radial-gradient(600px 320px at 100% 0%, color-mix(in srgb, var(--c-accent) 30%, transparent), transparent 65%), linear-gradient(135deg, var(--c-primary), var(--c-navy)); box-shadow: var(--x-shadow-lg); position: relative; overflow: hidden; }
.x-nl--band::after { content: ""; position: absolute; width: 260px; height: 260px; inset-inline-end: -80px; bottom: -120px; border-radius: 50%; border: 40px solid rgba(255,255,255,.06); }
.x-nl--band .eyebrow { color: var(--c-aqua); }
@media (min-width: 900px) { .x-nl--band { grid-template-columns: 1fr 1.1fr; } }
.x-nl--card { padding: clamp(22px, 3vw, 34px); border-radius: var(--r); background: var(--x-card); border: 1px solid var(--x-card-line); box-shadow: var(--x-shadow-lg); }
.x-nl--inline .x-nl__row { border-radius: var(--r-sm); }
.x-nl--inline { gap: 12px; }

/* ------------------------------------------------------------------ boutique */
.x-product { position: relative; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--x-card); border: 1px solid var(--x-card-line); box-shadow: var(--x-shadow); transition: transform .3s var(--x-ease), box-shadow .3s; }
.x-product:hover { transform: translateY(-4px); box-shadow: var(--x-shadow-lg); }
.x-product__media { position: relative; display: block; aspect-ratio: 1; background: var(--x-soft); overflow: hidden; }
.x-product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--x-ease); }
.x-product:hover .x-product__media img { transform: scale(1.05); }
.x-product__off { position: absolute; top: 12px; inset-inline-start: 12px; padding: .25em .7em; border-radius: 999px; background: #B42318; color: #fff; font-weight: 800; font-size: .8rem; }
.x-product__body { padding: 14px 16px 18px; display: grid; gap: 6px; }
.x-product__name { margin: 0; font-size: 1rem; line-height: 1.35; }
.x-product__name a { color: var(--x-heading); text-decoration: none; }
.x-product__name a::after { content: ""; position: absolute; inset: 0; }
.x-product__price { margin: 0; font-weight: 800; color: var(--c-primary); }
.x-product__price del { color: var(--x-fg-muted); font-weight: 500; font-size: .9em; }
.x-shopcats { list-style: none; margin: 0; padding: 0; }
.x-shopcats--tiles { display: grid; gap: var(--x-gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.x-shopcats--chips { display: flex; flex-wrap: wrap; gap: 10px; }
.x-shopcat { position: relative; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--x-heading); font-weight: 700; }
.x-shopcats--chips .x-shopcat { padding: .55em 1.1em; border-radius: 999px; background: var(--x-card); border: 1.5px solid var(--x-card-line); }
.x-shopcats--chips .x-shopcat:hover { border-color: var(--c-primary); color: var(--c-primary); }
.x-shopcats--tiles .x-shopcat { flex-direction: column; align-items: stretch; gap: 0; border-radius: var(--r); overflow: hidden; background: var(--x-card); border: 1px solid var(--x-card-line); box-shadow: var(--x-shadow); transition: transform .3s var(--x-ease); }
.x-shopcats--tiles .x-shopcat:hover { transform: translateY(-4px); }
.x-shopcat__media { display: grid; place-items: center; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--c-primary-soft, #E3F3F2), var(--c-surface-alt)); color: var(--c-primary); overflow: hidden; }
.x-shopcat__media .ic { width: 40px; height: 40px; }
.x-shopcat__media img { width: 100%; height: 100%; object-fit: cover; }
.x-shopcats--tiles .x-shopcat__name { padding: 14px 16px; }
.x-shopcat__n { margin-inline-start: auto; min-width: 26px; padding: 0 .5em; border-radius: 999px; background: color-mix(in srgb, var(--c-primary) 12%, transparent); color: var(--c-primary); font-size: .8rem; text-align: center; }
.x-shopcats--tiles .x-shopcat__n { position: absolute; top: 12px; inset-inline-end: 12px; background: #fff; }

/* ------------------------------------------------------------------ zones de widgets : pied de page & barres latérales */
.x-fcols { grid-column: 1 / -1; display: grid; gap: 32px 40px; padding-block: 8px 40px; }
@media (min-width: 900px) { .x-fcols { grid-template-columns: var(--x-fcols, repeat(auto-fit, minmax(200px, 1fr))); } }
@media (min-width: 600px) and (max-width: 899px) { .x-fcols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.x-fcol { min-width: 0; color: rgba(255,255,255,.82); }
.x-fcol > .blk { padding: 0 !important; background: none !important; color: inherit; }
.x-fcol > .blk + .blk { margin-top: 24px; }
.x-fcol > .blk::after { display: none; }
.x-area--footer :is(.container, .x-in) { max-width: none; padding-inline: 0; }
.x-area--footer :is(h2, h3, .x-wtitle, .x-heading__title, .shead__title) { color: #fff; }
.x-area--footer .shead { margin-bottom: 14px; text-align: start; }
.x-area--footer .shead__title { font-size: 1.05rem; }
.x-area--footer .eyebrow { color: var(--c-aqua); }
.x-area--footer .prose, .x-area--footer p { color: rgba(255,255,255,.82); }
.x-area--footer a:not(.btn) { color: #fff; }
.x-area--footer .x-heading__title { font-size: 1.05rem !important; }
.x-wtitle { margin: 0 0 16px; font-size: 1.05rem; letter-spacing: .02em; color: var(--x-heading); }
.x-wintro { margin: -6px 0 14px; color: var(--x-fg-muted); font-size: .92rem; }
.x-area--footer .x-wtitle { color: #fff; margin-bottom: 18px; }
.x-area--footer .x-nl__row { box-shadow: none; }
.x-area--footer .x-nl__row .btn { padding-inline: 1em; }
.x-area--footer .x-contact__ic { background: rgba(255,255,255,.08); color: var(--c-aqua); }
.x-area--footer .x-post__title a { color: #fff; }
.x-area--footer .x-post__meta { color: rgba(255,255,255,.6); }
.x-aside { margin-top: 40px; padding: clamp(18px, 3vw, 28px); border-radius: var(--r); background: var(--c-surface-alt); border: 1px solid var(--c-line); }
.x-aside > .blk { padding: 0 !important; background: none !important; }
.x-aside > .blk + .blk { margin-top: 24px; padding-top: 22px !important; border-top: 1px solid var(--c-line); }
.x-aside :is(.container, .x-in) { max-width: none; padding-inline: 0; }

/* ------------------------------------------------------------------ mouvement réduit & impression */
@media (prefers-reduced-motion: reduce) {
  .x-logos__row { animation: none; flex-wrap: wrap; justify-content: center; }
  .x-logos__row[aria-hidden="true"] { display: none; }
  .x-logos__viewport { -webkit-mask-image: none; mask-image: none; justify-content: center; }
  .x-map__load > .ic { animation: none; }
  .x-sw--parallax { background-attachment: scroll; }
  .x-bar__fill { transition: none; }
  .x-js .x-bar:not(.is-in) .x-bar__fill { transform: none; }
  :is(.x-ib__item, .x-plan, .x-member, .x-post, .x-product, .x-social__a):hover { transform: none; }
}
@media print {
  .x-slider__nav, .x-search, .x-nl__form, .x-map, .x-callout__close { display: none !important; }
  .x-slider__track { display: block; overflow: visible; }
  .x-tabs__panel[hidden], .x-acc__panel[hidden] { display: block !important; }
}

/* Lettre d'information dans une colonne étroite (pied de page, barre latérale) : champ et bouton empilés */
.x-nl--inline .x-nl__row, .x-in .x-nl__row { flex-wrap: wrap; padding: 0; background: none; border: 0; box-shadow: none; }
.x-nl--inline .x-nl__row input, .x-in .x-nl__row input { flex: 1 1 100%; background: #fff; border-radius: var(--r-sm); border: 1px solid var(--c-line); }
.x-nl--inline .x-nl__row .btn, .x-in .x-nl__row .btn { flex: 1 1 100%; }

/* Pied de page : quand d'autres extensions ajoutent leurs propres colonnes (ex. lettre d'information),
   les colonnes de widgets occupent les 3/4 et ces colonnes se placent à côté, sur la même ligne. */
@media (min-width: 1100px) {
  .ftr__ext:has(> .x-fcols):has(> :not(.x-fcols)) { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); align-items: start; }
  .ftr__ext:has(> .x-fcols):has(> :not(.x-fcols)) > .x-fcols { grid-column: auto; }
}

/* Encadrés posés sur le pied de page foncé : fond translucide et texte clair (contraste AA). */
.ftr .x-callout { background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.04)); border-color: rgba(255,255,255,.16); color: #EEF4F7; }
.ftr .x-callout--brand { background: radial-gradient(360px 180px at 100% 0%, color-mix(in srgb, var(--c-accent) 22%, transparent), transparent 70%), linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.04)); }
.ftr .x-callout::before { background: var(--c-accent); }
.ftr .x-callout__icon { background: var(--c-accent); color: var(--c-navy); }
.ftr .x-callout__title { color: #fff; }
.ftr .x-callout__text { color: rgba(238,244,247,.86); }
