/* ALX Builder — styles du site. (C) 2026 ALXSystems — GPL v2 ou ultérieure. */

.alxb-page {
  --alxb-primary: #2563eb; --alxb-secondary: #0f766e; --alxb-accent: #f59e0b;
  --alxb-dark: #111827; --alxb-light: #f3f4f6; --alxb-container: 1200px; --alxb-gap: 30px;
  --alxb-radius: 8px; --alxb-text-muted: #6b7280;
  container: alxb / inline-size;
  position: relative;
  overflow-x: clip;
}
.alxb-page *, .alxb-page *::before, .alxb-page *::after { box-sizing: border-box; }
.alxb-page img { max-width: 100%; height: auto; }
.alxb-content { display: block; }

/* ---------------------------------------------------------------- grille */
.alxb-section { position: relative; display: flex; flex-direction: column; justify-content: center; }
.alxb-container { position: relative; z-index: 1; width: 100%; max-width: var(--alxb-container); margin-inline: auto; padding-inline: calc(var(--alxb-gap) / 2); }
.alxb-layout-stretch > .alxb-container { max-width: none; }
.alxb-layout-boxed { max-width: var(--alxb-container); margin-inline: auto; width: 100%; }
.alxb-bleed { width: 100vw; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }
.alxb-row { display: flex; flex-wrap: wrap; margin-inline: calc(var(--alxb-gap) / -2); row-gap: var(--alxb-gap); }
.alxb-col { position: relative; flex: 0 0 100%; max-width: 100%; min-width: 0; padding-inline: calc(var(--alxb-gap) / 2); display: flex; }
.alxb-col-inner { position: relative; width: 100%; display: flex; flex-direction: column; min-width: 0; }
.alxb-col-inner > .alxb-el + .alxb-el { margin-top: 20px; }
.alxb-col-inner > .alxb-el:only-child { flex: 1 1 auto; }
/* Les templates qui imposent la couleur des titres avec !important */
.alxb-page .alxb-slide-title, .alxb-page .alxb-flip h3, .alxb-page .alxb-cta-title { color: inherit !important; }
.alxb-sticky > .alxb-col-inner { position: sticky; top: 20px; height: auto; align-self: flex-start; }
.alxb-el { position: relative; min-width: 0; }

/* fond, voile, vidéo */
.alxb-has-overlay { position: relative; isolation: isolate; }
.alxb-overlay, .alxb-bg-video { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.alxb-bg-video { width: 100%; height: 100%; object-fit: cover; }
.alxb-has-overlay > :not(.alxb-overlay):not(.alxb-bg-video):not(.alxb-ui) { position: relative; z-index: 1; }

/* formes décoratives */
.alxb-shape { position: absolute; left: 0; right: 0; line-height: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.alxb-shape svg { display: block; width: 100%; height: 60px; }
.alxb-shape-top { top: -1px; }
.alxb-shape-bottom { bottom: -1px; transform: rotate(180deg); }
.alxb-shape-top.alxb-shape-flip svg { transform: scaleX(-1); }
.alxb-shape-bottom.alxb-shape-flip { transform: rotate(180deg) scaleX(-1); }

/* ombres */
.alxb-shadow-sm { box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06); }
.alxb-shadow-md { box-shadow: 0 6px 16px rgba(0,0,0,.1); }
.alxb-shadow-lg { box-shadow: 0 14px 36px rgba(0,0,0,.14); }
.alxb-shadow-xl { box-shadow: 0 24px 60px rgba(0,0,0,.2); }

/* affichage par appareil */
@container alxb (min-width: 992px) { .alxb-hide-d { display: none !important; } }
@container alxb (min-width: 768px) and (max-width: 991.98px) { .alxb-hide-t { display: none !important; } }
@container alxb (max-width: 767.98px) {
  .alxb-hide-m { display: none !important; }
  .alxb-reverse-m > .alxb-container > .alxb-row { flex-direction: column-reverse; }
}

/* animations */
.alxb-anim-ready .alxb-anim:not(.alxb-in) { opacity: 0; }
.alxb-anim-ready .alxb-anim { transition: opacity var(--alxb-adur, 700ms) ease var(--alxb-ad, 0ms), transform var(--alxb-adur, 700ms) cubic-bezier(.2,.7,.2,1) var(--alxb-ad, 0ms); }
.alxb-anim-ready .alxb-anim[data-anim="up"]:not(.alxb-in) { transform: translateY(40px); }
.alxb-anim-ready .alxb-anim[data-anim="down"]:not(.alxb-in) { transform: translateY(-40px); }
.alxb-anim-ready .alxb-anim[data-anim="left"]:not(.alxb-in) { transform: translateX(-50px); }
.alxb-anim-ready .alxb-anim[data-anim="right"]:not(.alxb-in) { transform: translateX(50px); }
.alxb-anim-ready .alxb-anim[data-anim="zoom"]:not(.alxb-in) { transform: scale(.85); }
.alxb-anim-ready .alxb-anim[data-anim="flip"]:not(.alxb-in) { transform: perspective(800px) rotateX(35deg); }
@media (prefers-reduced-motion: reduce) {
  .alxb-anim-ready .alxb-anim, .alxb-anim-ready .alxb-anim:not(.alxb-in) { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------------------------------------- utilitaires */
.alxb-sr, .alxb-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.alxb-empty { padding: 24px; border: 1px dashed #cbd5e1; border-radius: var(--alxb-radius); color: var(--alxb-text-muted); text-align: center; font-size: 14px; }
.alxb-text > :first-child { margin-top: 0; }
.alxb-text > :last-child { margin-bottom: 0; }
/* Tableaux collés depuis Word : jamais plus larges que l'écran */
.alxb-text table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.alxb-text table[width], .alxb-text table[style*="width"] { width: auto !important; }
.alxb-text img { height: auto; }
.alxb-subtitle { font-size: .875rem; line-height: 1.4; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--alxb-primary); margin-bottom: 8px; }
.alxb-heading { margin: 0; }
.alxb-heading a { color: inherit; text-decoration: none; }
.alxb-deco-line::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--alxb-deco, var(--alxb-primary)); margin-top: .45em; margin-inline: var(--alxb-deco-m, 0); }
.alxb-deco-side { border-left: 4px solid var(--alxb-deco, var(--alxb-primary)); padding-left: .6em; }

/* ---------------------------------------------------------------- boutons */
.alxb-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.alxb-btn {
  --b: var(--alxb-primary); --c: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.4em; border: 2px solid var(--b); border-radius: var(--alxb-radius);
  background: var(--b); color: var(--c); font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, filter .15s ease, background .15s ease, color .15s ease;
}
.alxb-btn:hover, .alxb-btn:focus-visible { filter: brightness(1.08); transform: translateY(-1px); color: var(--c); text-decoration: none; }
.alxb-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--b) 45%, transparent); outline-offset: 2px; }
.alxb-btn-secondary { --b: var(--alxb-secondary); }
.alxb-btn-accent { --b: var(--alxb-accent); --c: #111; }
.alxb-btn-dark { --b: var(--alxb-dark); }
.alxb-btn-light { --b: #fff; --c: var(--alxb-dark); }
.alxb-btn-outline { background: transparent; --c: var(--alxb-primary); }
.alxb-btn-outline:hover { background: var(--alxb-primary); --c: #fff; }
.alxb-btn-ghost { background: transparent; --b: currentColor; --c: inherit; border-color: rgba(255,255,255,.7); color: #fff; }
.alxb-btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.alxb-btn-link { background: transparent; border-color: transparent; --c: var(--alxb-primary); padding-inline: 0; }
.alxb-btn-link:hover { text-decoration: underline; transform: none; }
.alxb-btn-sm { font-size: .85rem; padding: .45em 1em; }
.alxb-btn-lg { font-size: 1.1rem; padding: .85em 1.8em; }
.alxb-btn-xl { font-size: 1.25rem; padding: 1em 2.2em; }
.alxb-btn-block { width: 100%; }
.alxb-more { display: inline-flex; gap: .4em; align-items: center; margin-top: 12px; font-weight: 600; color: var(--alxb-primary); text-decoration: none; }
.alxb-more:hover i { transform: translateX(3px); }
.alxb-more i { transition: transform .15s; }

/* ------------------------------------------------------------------ image */
.alxb-figure { margin: 0; max-width: 100%; }
.alxb-figure-img { overflow: hidden; line-height: 0; }
.alxb-figure img { display: block; width: 100%; transition: transform .4s ease, filter .4s ease; }
.alxb-crop img { object-fit: cover; }
.alxb-figure figcaption, .alxb-gallery-item figcaption { margin-top: 8px; font-size: .875em; color: var(--alxb-text-muted); text-align: center; line-height: 1.4; }
.alxb-hover-zoom :is(.alxb-figure-img, .alxb-gallery-item):hover img { transform: scale(1.06); }
.alxb-hover-gray img { filter: grayscale(1); }
.alxb-hover-gray :is(.alxb-figure-img, .alxb-gallery-item):hover img { filter: none; }
.alxb-hover-lift .alxb-figure-img { transition: transform .25s, box-shadow .25s; }
.alxb-hover-lift .alxb-figure-img:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(0,0,0,.15); }

/* ------------------------------------------------------------------ icônes */
.alxb-icon { display: inline-flex; align-items: center; justify-content: center; line-height: 1; color: var(--alxb-primary); }
.alxb-icon:not(.alxb-shape-none) { width: 2em; height: 2em; }
.alxb-shape-circle.alxb-icon { border-radius: 50%; }
.alxb-shape-rounded.alxb-icon { border-radius: 25%; }
.alxb-number { font-weight: 800; font-size: .8em; }
.alxb-icon-wrap a { text-decoration: none; }

/* -------------------------------------------------------------- séparateur */
.alxb-divider { display: flex; align-items: center; gap: 14px; }
.alxb-divider-line { flex: 1; height: 0; }
.alxb-divider-mid { display: inline-flex; gap: 8px; align-items: center; color: var(--alxb-text-muted); white-space: nowrap; }

/* --------------------------------------------------------------- bloc icône */
.alxb-iconbox { display: flex; flex-direction: column; gap: 14px; height: 100%; transition: transform .25s, box-shadow .25s; }
.alxb-iconbox-left { flex-direction: row; text-align: left !important; }
.alxb-iconbox-right { flex-direction: row-reverse; text-align: right !important; }
.alxb-iconbox-media { flex: 0 0 auto; }
.alxb-iconbox-img img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.alxb-iconbox-title { margin: 0 0 6px; font-size: 1.25em; }
.alxb-iconbox-title a { color: inherit; text-decoration: none; }
.alxb-lift { transition: transform .25s, box-shadow .25s; }
.alxb-lift:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(0,0,0,.12); }

/* ------------------------------------------------------------------ carte */
.alxb-card { display: flex; flex-direction: column; height: 100%; border-radius: 12px; overflow: hidden; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
a.alxb-card:hover { color: inherit; text-decoration: none; }
.alxb-card-img { position: relative; overflow: hidden; }
.alxb-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.alxb-card:hover .alxb-card-img img { transform: scale(1.04); }
.alxb-badge { position: absolute; top: 12px; left: 12px; background: var(--alxb-accent); color: #111; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.alxb-card-body { display: flex; flex-direction: column; gap: 10px; padding: 22px; flex: 1; }
.alxb-card-body > .alxb-btn { align-self: flex-start; margin-top: auto; }
.alxb-card-title { margin: 0; font-size: 1.2em; }

/* --------------------------------------------------------- liste à icônes */
.alxb-iconlist { list-style: none; margin: 0; padding: 0; display: grid; column-gap: 24px; }
.alxb-iconlist li { display: block; }
.alxb-iconlist li > *, .alxb-iconlist li > a { display: flex; gap: 10px; align-items: baseline; color: inherit; text-decoration: none; }
.alxb-iconlist-ic { flex: 0 0 1.2em; text-align: center; }
.alxb-iconlist-sep li { border-bottom: 1px solid rgba(0,0,0,.08); padding-bottom: 10px; }

/* -------------------------------------------------------------- citation */
.alxb-quote { margin: 0; --alxb-q: var(--alxb-primary); }
.alxb-quote-border { border-left: 4px solid var(--alxb-q); padding: 6px 0 6px 20px; font-size: 1.15em; font-style: italic; }
.alxb-quote-large { position: relative; padding-top: 40px; font-size: 1.3em; }
.alxb-quote-large::before { content: "\201C"; position: absolute; top: -20px; left: -4px; font-size: 5em; line-height: 1; color: var(--alxb-q); opacity: .35; font-family: Georgia, serif; }
.alxb-quote-box { background: color-mix(in srgb, var(--alxb-q) 8%, #fff); border-radius: 12px; padding: 24px 28px; }
.alxb-quote cite { display: block; margin-top: 10px; font-style: normal; font-weight: 600; font-size: .85em; color: var(--alxb-text-muted); }
.alxb-quote cite::before { content: "— "; }

/* ---------------------------------------------------------------- tableau */
.alxb-table-wrap { overflow-x: auto; }
.alxb-table { width: 100%; border-collapse: collapse; }
.alxb-table th, .alxb-table td { padding: 10px 14px; text-align: left; vertical-align: top; }
.alxb-table thead th { font-weight: 700; }
.alxb-table tbody tr { border-bottom: 1px solid rgba(0,0,0,.08); }
.alxb-striped tbody tr:nth-child(odd) { background: rgba(0,0,0,.03); }
.alxb-bordered :is(th, td) { border: 1px solid rgba(0,0,0,.12); }

/* ------------------------------------------------------------------ alerte */
.alxb-alert { --a: #2563eb; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 10px; border-left: 4px solid var(--a); background: color-mix(in srgb, var(--a) 9%, #fff); color: #1f2937; }
.alxb-alert-success { --a: #16a34a; }
.alxb-alert-warning { --a: #d97706; }
.alxb-alert-danger { --a: #dc2626; }
.alxb-alert-ic { color: var(--a); font-size: 1.3em; margin-top: 2px; }
.alxb-alert-body { flex: 1; }
.alxb-alert-title { display: block; margin-bottom: 4px; }
.alxb-alert-close { background: none; border: 0; font-size: 1.5em; line-height: 1; cursor: pointer; color: inherit; opacity: .6; }
.alxb-alert-close:hover { opacity: 1; }

/* ------------------------------------------------------------------- frise */
.alxb-timeline { --alxb-tl: var(--alxb-primary); list-style: none; margin: 0; padding: 0; position: relative; }
.alxb-timeline-left, .alxb-timeline-alt { padding-left: 34px; }
.alxb-timeline-left::before, .alxb-timeline-alt::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: color-mix(in srgb, var(--alxb-tl) 30%, transparent); }
.alxb-tl-item { position: relative; padding-bottom: 28px; }
.alxb-tl-dot { position: absolute; left: -34px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--alxb-tl); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; box-shadow: 0 0 0 4px #fff; }
.alxb-tl-date { display: inline-block; font-size: .8em; font-weight: 700; color: var(--alxb-tl); text-transform: uppercase; letter-spacing: .05em; }
.alxb-tl-title { margin: 2px 0 6px; font-size: 1.1em; }
.alxb-timeline-h { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 24px; overflow-x: auto; padding-top: 34px; }
.alxb-timeline-h::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: color-mix(in srgb, var(--alxb-tl) 30%, transparent); }
.alxb-timeline-h .alxb-tl-dot { left: 0; top: -34px; }
@container alxb (min-width: 768px) {
  .alxb-timeline-alt { padding-left: 0; }
  .alxb-timeline-alt::before { left: 50%; }
  .alxb-timeline-alt .alxb-tl-item { width: 50%; padding-right: 40px; text-align: right; }
  .alxb-timeline-alt .alxb-tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 28px 40px; text-align: left; }
  .alxb-timeline-alt .alxb-tl-dot { left: auto; right: -12px; }
  .alxb-timeline-alt .alxb-tl-item:nth-child(even) .alxb-tl-dot { right: auto; left: -12px; }
}

/* ------------------------------------------------------------- témoignage */
.alxb-testimonial { margin: 0; height: 100%; display: flex; flex-direction: column; gap: 14px; }
.alxb-testimonial-card { background: #fff; border-radius: 14px; padding: 26px; box-shadow: 0 4px 20px rgba(0,0,0,.06); color: #1f2937; }
.alxb-testimonial-center { text-align: center; align-items: center; }
.alxb-testimonial blockquote { margin: 0; font-style: italic; flex: 1; }
.alxb-stars { color: var(--alxb-accent); display: flex; gap: 3px; }
.alxb-testimonial-center .alxb-stars { justify-content: center; }
.alxb-person { display: flex; gap: 12px; align-items: center; }
.alxb-person span { display: flex; flex-direction: column; line-height: 1.3; }
.alxb-person small { color: var(--alxb-text-muted); }
.alxb-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }

/* ------------------------------------------------------------------ équipe */
.alxb-team { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; height: 100%; }
.alxb-team-card { background: #fff; border-radius: 14px; padding: 26px; box-shadow: 0 4px 20px rgba(0,0,0,.06); color: #1f2937; }
.alxb-team-side { flex-direction: row; text-align: left; align-items: flex-start; }
.alxb-team-photo { flex: 0 0 auto; max-width: 100%; overflow: hidden; }
.alxb-team-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.alxb-photo-circle { border-radius: 50%; }
.alxb-photo-rounded { border-radius: 16px; }
.alxb-team-name { margin: 0; font-size: 1.15em; }
.alxb-team-role { color: var(--alxb-primary); font-weight: 600; font-size: .9em; }
.alxb-team-contact { display: flex; flex-direction: column; gap: 4px; font-size: .9em; }
.alxb-team-contact a { color: inherit; }
.alxb-team .alxb-social { justify-content: center; margin-top: 6px; }
.alxb-team-side .alxb-social { justify-content: flex-start; }

/* ------------------------------------------------------------------- tarifs */
.alxb-pricing { --alxb-p: var(--alxb-primary); position: relative; display: flex; flex-direction: column; gap: 18px; padding: 32px 28px; border-radius: 16px; background: #fff; border: 1px solid #e5e7eb; text-align: center; color: #1f2937; height: 100%; }
.alxb-pricing.is-featured { border: 2px solid var(--alxb-p); box-shadow: 0 20px 40px color-mix(in srgb, var(--alxb-p) 20%, transparent); transform: scale(1.03); }
.alxb-pricing-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--alxb-p); color: #fff; padding: 4px 14px; border-radius: 99px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.alxb-pricing-head h3 { margin: 0; font-size: 1.3em; }
.alxb-pricing-head p { margin: 4px 0 0; color: var(--alxb-text-muted); font-size: .9em; }
.alxb-pricing-price { display: flex; justify-content: center; align-items: baseline; gap: 4px; color: var(--alxb-p); }
.alxb-amount { font-size: 3em; font-weight: 800; line-height: 1; }
.alxb-currency { font-size: 1.4em; font-weight: 700; }
.alxb-period { color: var(--alxb-text-muted); font-size: .95em; }
.alxb-pricing-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; text-align: left; flex: 1; }
.alxb-pricing-list li { display: flex; gap: 10px; align-items: baseline; }
.alxb-pricing-list .is-on i { color: #16a34a; }
.alxb-pricing-list .is-off { color: #9ca3af; text-decoration: line-through; }
.alxb-pricing .alxb-btn { --b: var(--alxb-p); }

/* ----------------------------------------------------------- appel à l'action */
.alxb-cta { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.alxb-cta-stack { flex-direction: column; text-align: center; }
.alxb-cta-stack .alxb-btns { justify-content: center; }
.alxb-cta-text { flex: 1 1 320px; }
.alxb-cta-stack .alxb-cta-text { flex: 0 1 auto; }
.alxb-cta-title { margin: 0 0 6px; font-size: 1.6em; }

/* ------------------------------------------------------- carte retournable */
.alxb-flip { perspective: 1200px; height: 300px; outline: none; }
.alxb-flip-inner { position: relative; width: 100%; height: 100%; transition: transform .7s cubic-bezier(.4,.2,.2,1); transform-style: preserve-3d; }
.alxb-flip:hover .alxb-flip-inner, .alxb-flip:focus-within .alxb-flip-inner, .alxb-flip.is-flipped .alxb-flip-inner { transform: rotateY(180deg); }
.alxb-flip-v:hover .alxb-flip-inner, .alxb-flip-v:focus-within .alxb-flip-inner, .alxb-flip-v.is-flipped .alxb-flip-inner { transform: rotateX(180deg); }
.alxb-flip-front, .alxb-flip-back { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 28px; border-radius: 14px; backface-visibility: hidden; -webkit-backface-visibility: hidden; color: #fff; background-size: cover; background-position: center; }
.alxb-flip-back { transform: rotateY(180deg); }
.alxb-flip-v .alxb-flip-back { transform: rotateX(180deg); }
.alxb-flip-front h3, .alxb-flip-back h3 { color: inherit; margin: 10px 0 8px; }
.alxb-flip-ic { font-size: 2.6em; }
.alxb-flip .alxb-btn { margin-top: 12px; }

/* ----------------------------------------------------------------- vidéo */
.alxb-video { position: relative; width: 100%; overflow: hidden; background: #000; border-radius: inherit; }
.alxb-video iframe, .alxb-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.alxb-video-facade { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; background: linear-gradient(135deg, #1f2937, #111827); background-size: cover; background-position: center; cursor: pointer; }
.alxb-video-play { width: 74px; height: 74px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #111; font-size: 26px; cursor: pointer; display: flex; align-items: center; justify-content: center; padding-left: 5px; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .2s; }
.alxb-video-facade:hover .alxb-video-play { transform: scale(1.08); }
.alxb-video-note { color: #fff; font-size: 12px; background: rgba(0,0,0,.5); padding: 4px 10px; border-radius: 99px; }
.alxb-video-empty { display: flex; align-items: center; justify-content: center; color: #9ca3af; background: #1f2937; }

/* ---------------------------------------------------------------- galerie */
.alxb-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.alxb-gallery-item { margin: 0; overflow: hidden; position: relative; }
.alxb-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s, filter .4s; }
.alxb-gallery a { display: block; line-height: 0; height: 100%; }
.alxb-masonry { display: block; column-gap: 12px; }
.alxb-masonry .alxb-gallery-item { break-inside: avoid; margin-bottom: 12px; }
.alxb-masonry img { height: auto; }

/* --------------------------------------------------------------- diaporama */
.alxb-carousel { --alxb-pv: 1; position: relative; overflow: hidden; }
.alxb-track { display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); touch-action: pan-y; }
.alxb-slide { position: relative; flex: 0 0 calc(100% / var(--alxb-pv)); height: 480px; overflow: hidden; }
.alxb-carousel-fade .alxb-track { display: grid; transform: none !important; }
.alxb-carousel-fade .alxb-slide { grid-area: 1 / 1; opacity: 0; transition: opacity .8s ease; visibility: hidden; }
.alxb-carousel-fade .alxb-slide.is-active { opacity: 1; visibility: visible; }
.alxb-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 6s ease; }
.alxb-slide.is-active .alxb-slide-bg { transform: scale(1.04); }
.alxb-slide-bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.alxb-slide-content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding: 40px 70px; color: #fff; text-align: center; }
.alxb-slide-title { margin: 0; color: inherit; font-size: clamp(1.4rem, 4cqi, 2.6rem); }
.alxb-slide-content p { margin: 0; max-width: 680px; }
.alxb-car-prev, .alxb-car-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: #111; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.alxb-car-prev:hover, .alxb-car-next:hover { background: #fff; }
.alxb-car-prev { left: 14px; }
.alxb-car-next { right: 14px; }
.alxb-car-dots { position: absolute; bottom: 14px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.alxb-car-dots button { width: 10px; height: 10px; padding: 0; border-radius: 99px; border: 0; background: rgba(255,255,255,.55); cursor: pointer; transition: width .25s, background .25s; }
.alxb-car-dots button.is-active { width: 26px; background: #fff; }

/* ------------------------------------------------------------------ carte */
.alxb-map { width: 100%; height: 400px; overflow: hidden; background: #e5e7eb; position: relative; z-index: 0; }
.alxb-map-consent { display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(45deg, #e5e7eb, #e5e7eb 12px, #eef0f3 12px, #eef0f3 24px); }
.alxb-map-load { border: 0; background: #fff; padding: 12px 20px; border-radius: 99px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.12); }

/* -------------------------------------------------------------- accordéon */
.alxb-accordion { --alxb-acc: var(--alxb-primary); display: flex; flex-direction: column; }
.alxb-acc-h { margin: 0; font-size: 1em; }
.alxb-acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 20px; background: transparent; border: 0; color: inherit; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.alxb-acc-item.is-open > .alxb-acc-h .alxb-acc-btn { color: var(--alxb-acc); }
.alxb-acc-body { padding: 0 20px 18px; }
.alxb-acc-boxed { border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; }
.alxb-acc-boxed .alxb-acc-item + .alxb-acc-item { border-top: 1px solid #e5e7eb; }
.alxb-acc-line .alxb-acc-item { border-bottom: 1px solid #e5e7eb; }
.alxb-acc-line .alxb-acc-btn, .alxb-acc-line .alxb-acc-body { padding-inline: 0; }
.alxb-acc-separate { gap: 10px; }
.alxb-acc-separate .alxb-acc-item { background: #fff; border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.alxb-acc-ic { flex: 0 0 auto; width: 14px; height: 14px; position: relative; transition: transform .25s; }
.alxb-acc-chevron::before { content: ""; position: absolute; inset: 1px 3px 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.alxb-acc-item.is-open .alxb-acc-chevron { transform: rotate(180deg); }
.alxb-acc-plus::before, .alxb-acc-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: currentColor; transition: transform .25s; }
.alxb-acc-plus::after { transform: rotate(90deg); }
.alxb-acc-item.is-open .alxb-acc-plus::after { transform: rotate(0); }

/* ---------------------------------------------------------------- onglets */
.alxb-tabs { --alxb-tab: var(--alxb-primary); }
.alxb-tabs-nav { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 20px; }
.alxb-tabs-center .alxb-tabs-nav { justify-content: center; }
.alxb-tabs-justify .alxb-tab { flex: 1; justify-content: center; }
.alxb-tab { display: inline-flex; gap: 8px; align-items: center; padding: 10px 18px; background: none; border: 0; font: inherit; font-weight: 600; color: inherit; cursor: pointer; opacity: .75; }
.alxb-tab.is-active, .alxb-tab:hover { opacity: 1; }
.alxb-tabs-line .alxb-tabs-nav { border-bottom: 2px solid #e5e7eb; gap: 0; }
.alxb-tabs-line .alxb-tab { border-bottom: 3px solid transparent; margin-bottom: -2px; }
.alxb-tabs-line .alxb-tab.is-active { border-color: var(--alxb-tab); color: var(--alxb-tab); }
.alxb-tabs-pills .alxb-tab { border-radius: 99px; }
.alxb-tabs-pills .alxb-tab.is-active { background: var(--alxb-tab); color: #fff; }
.alxb-tabs-boxed .alxb-tabs-nav { margin-bottom: 0; gap: 0; }
.alxb-tabs-boxed .alxb-tab { border: 1px solid transparent; border-bottom: 0; border-radius: 8px 8px 0 0; }
.alxb-tabs-boxed .alxb-tab.is-active { border-color: #e5e7eb; background: #fff; color: var(--alxb-tab); }
.alxb-tabs-boxed .alxb-tabs-panels { border: 1px solid #e5e7eb; border-radius: 0 8px 8px 8px; padding: 22px; background: #fff; }
@container alxb (min-width: 768px) {
  .alxb-tabs-vertical { display: flex; gap: 28px; }
  .alxb-tabs-vertical .alxb-tabs-nav { flex-direction: column; flex: 0 0 220px; border: 0; margin: 0; }
  .alxb-tabs-vertical .alxb-tab { justify-content: flex-start; border-bottom: 0; border-left: 3px solid transparent; }
  .alxb-tabs-vertical.alxb-tabs-line .alxb-tab.is-active { border-left-color: var(--alxb-tab); }
  .alxb-tabs-vertical .alxb-tabs-panels { flex: 1; }
}

/* ---------------------------------------------------------------- compteur */
.alxb-counter-num { font-size: 48px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.alxb-counter-ic { font-size: 32px; margin-bottom: 8px; }
.alxb-counter-title { margin-top: 6px; opacity: .85; }

/* --------------------------------------------------------- progression */
.alxb-progress { display: flex; flex-direction: column; gap: 16px; }
.alxb-progress-label { display: flex; justify-content: space-between; font-weight: 600; font-size: .9em; margin-bottom: 6px; }
.alxb-progress-track { height: 10px; border-radius: 99px; overflow: hidden; background: #e5e7eb; }
.alxb-progress-bar { height: 100%; width: 0; border-radius: inherit; transition: width 1.4s cubic-bezier(.2,.7,.2,1); }
.alxb-progress.is-in .alxb-progress-bar, .alxb-editing .alxb-progress-bar { width: var(--v); }
.alxb-striped-bar .alxb-progress-bar { background-image: linear-gradient(45deg, rgba(255,255,255,.22) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.22) 50%, rgba(255,255,255,.22) 75%, transparent 75%); background-size: 18px 18px; }

/* --------------------------------------------------------- compte à rebours */
.alxb-countdown { display: flex; flex-wrap: wrap; gap: 12px; }
.alxb-cd-box { min-width: 84px; padding: 14px 10px; border-radius: 12px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.alxb-cd-num { font-size: 2.2em; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.alxb-cd-label { font-size: .75em; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.alxb-cd-expired { font-size: 1.3em; font-weight: 700; margin: 0; }

/* ------------------------------------------------------------------ social */
.alxb-social { --alxb-s: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.alxb-social-sm { --alxb-s: 34px; }
.alxb-social-link { --alxb-brand: var(--alxb-dark); width: var(--alxb-s); height: var(--alxb-s); display: inline-flex; align-items: center; justify-content: center; font-size: calc(var(--alxb-s) * .45); text-decoration: none; background: var(--alxb-brand); color: #fff; border: 2px solid var(--alxb-brand); border-radius: 50%; transition: transform .2s, opacity .2s; }
.alxb-social-link:hover { transform: translateY(-3px); color: #fff; opacity: .9; }
.alxb-social-outline .alxb-social-link { background: transparent; color: var(--alxb-brand); }
.alxb-social-outline .alxb-social-link:hover { background: var(--alxb-brand); color: #fff; }
.alxb-social-plain .alxb-social-link { background: transparent; border-color: transparent; color: var(--alxb-brand); }
.alxb-shape-rounded .alxb-social-link { border-radius: 25%; }
.alxb-shape-square .alxb-social-link { border-radius: 0; }

/* -------------------------------------------------------------- formulaire */
.alxb-form-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.alxb-field { flex: 1 1 100%; display: flex; flex-direction: column; gap: 6px; }
.alxb-half { flex: 1 1 calc(50% - 8px); }
@container alxb (max-width: 575.98px) { .alxb-half { flex-basis: 100%; } }
.alxb-field label { font-weight: 600; font-size: .9em; }
.alxb-field-check label { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; }
.alxb-field-check input { margin-top: .3em; }
.alxb-form :is(input:not([type=checkbox]), textarea, select) { width: 100%; padding: 11px 14px; border: 1px solid #d1d5db; border-radius: 8px; font: inherit; color: #111827; background: #fff; transition: border-color .15s, box-shadow .15s; }
.alxb-form :is(input, textarea, select):focus { outline: none; border-color: var(--alxb-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--alxb-primary) 20%, transparent); }
.alxb-form.was-validated :is(input, textarea, select):invalid { border-color: #dc2626; }
.alxb-req { color: #dc2626; }
.alxb-form-foot { margin-top: 18px; }
.alxb-form-msg { margin-top: 12px; font-weight: 600; }
.alxb-form-msg.is-success { color: #15803d; }
.alxb-form-msg.is-error { color: #b91c1c; }

/* ---------------------------------------------------------------- articles */
.alxb-articles-grid { --alxb-cols: 3; display: grid; grid-template-columns: repeat(var(--alxb-cols), minmax(0, 1fr)); gap: 24px; }
@container alxb (max-width: 991.98px) { .alxb-articles-grid { grid-template-columns: repeat(min(2, var(--alxb-cols)), minmax(0, 1fr)); } }
@container alxb (max-width: 575.98px) { .alxb-articles-grid { grid-template-columns: 1fr; } }
.alxb-articles-list { display: flex; flex-direction: column; gap: 22px; }
.alxb-article { display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.08); color: #1f2937; }
.alxb-articles-list .alxb-article { flex-direction: row; }
.alxb-article-img { display: block; aspect-ratio: 16/10; overflow: hidden; }
.alxb-articles-list .alxb-article-img { flex: 0 0 34%; aspect-ratio: auto; }
.alxb-article-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.alxb-article:hover .alxb-article-img img { transform: scale(1.04); }
.alxb-article-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.alxb-article-meta { font-size: .8em; color: var(--alxb-text-muted); }
.alxb-article-title { margin: 0; font-size: 1.15em; }
.alxb-article-title a { color: inherit; text-decoration: none; }
.alxb-article-title a:hover { color: var(--alxb-primary); }
.alxb-article-intro { margin: 0; color: #4b5563; font-size: .95em; }
.alxb-article-more { margin-top: auto; font-weight: 600; color: var(--alxb-primary); text-decoration: none; }

/* -------------------------------------------------------------- visionneuse */
.alxb-lb-open { overflow: hidden; }
.alxb-lightbox { position: fixed; inset: 0; z-index: 100000; background: rgba(10,10,12,.92); display: flex; align-items: center; justify-content: center; padding: 40px 70px; animation: alxb-fade .2s ease; }
.alxb-lightbox figure { margin: 0; text-align: center; max-width: 100%; max-height: 100%; }
.alxb-lightbox img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.alxb-lightbox figcaption { color: #e5e7eb; margin-top: 12px; }
.alxb-lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; }
.alxb-lightbox button:hover { background: rgba(255,255,255,.25); }
.alxb-lb-close { top: 16px; right: 16px; }
.alxb-lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.alxb-lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.alxb-lb-count { position: absolute; top: 24px; left: 24px; color: #d1d5db; font-size: 14px; }
@keyframes alxb-fade { from { opacity: 0; } to { opacity: 1; } }

/* --------------------------------------------------------- petits écrans */
@container alxb (max-width: 767.98px) {
  .alxb-iconbox-left, .alxb-iconbox-right { flex-direction: column; text-align: inherit !important; }
  .alxb-team-side { flex-direction: column; align-items: center; text-align: center; }
  .alxb-articles-list .alxb-article { flex-direction: column; }
  .alxb-pricing.is-featured { transform: none; }
  .alxb-slide-content { padding: 30px 50px; }
  .alxb-car-prev, .alxb-car-next { width: 36px; height: 36px; }
}
