/* ==================================================================
   Feuille de style du site
   Toutes les couleurs, polices et tailles viennent des variables ci-dessous,
   remplacées par les réglages de Admin > Apparence (balise <style id="theme-vars">).
   ================================================================== */

:root {
  --primary: #2f4f3e;
  --primary-dark: #1f3329;
  --on-primary: #ffffff;
  --accent: #d98e32;
  --on-accent: #1f2421;
  --bg: #f6f2ea;
  --surface: #ffffff;
  --text: #22272b;
  --muted: #5f625f;
  --heading: #2f4f3e;
  --header-bg: #f6f2ea;
  --header-text: #22272b;
  --footer-bg: #ffffff;
  --footer-text: #22272b;
  --tint: #ebe9e0;

  --font-title: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-base: 16px;
  --title-weight: 700;
  --title-scale: 1;
  --title-transform: none;
  --line-height: 1.55;

  --radius: 8px;
  --btn-radius: 8px;
  --container: 1200px;
  --shadow: 0 2px 10px rgba(0,0,0,.10);
  --elevation: 0 8px 24px rgba(0,0,0,.16);
  --header-position: sticky;
  --transition: .2s ease;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: var(--fs-base); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-text);
  line-height: var(--line-height);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: var(--title-weight);
  color: var(--heading);
  text-transform: var(--title-transform);
  letter-spacing: var(--title-tracking, normal);
  line-height: 1.2;
  overflow-wrap: break-word;
}
h1 { font-size: calc(2.4rem * var(--title-scale) * var(--sec-title-scale, 1)); }
h2 { font-size: calc(1.8rem * var(--title-scale) * var(--sec-title-scale, 1)); }
h3 { font-size: calc(1.25rem * var(--title-scale) * var(--sec-title-scale, 1)); }
h4 { font-size: calc(1.05rem * var(--title-scale) * var(--sec-title-scale, 1)); }
@media (max-width: 600px) {
  h1 { font-size: calc(1.9rem * var(--title-scale) * var(--sec-title-scale, 1)); }
  h2 { font-size: calc(1.5rem * var(--title-scale) * var(--sec-title-scale, 1)); }
}
a { color: var(--link, var(--primary)); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
hr { border: 0; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 300; padding: .5rem 1rem; background: var(--primary); color: var(--on-primary); }
.skip-link:focus { left: 0; color: var(--on-primary); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container--etroite { max-width: 780px; }
.container--pleine { max-width: none; }
@media (max-width: 600px) { .container { padding: 0 1rem; } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: var(--btn-pad, .7rem 1.35rem);
  border-radius: var(--btn-radius);
  border: 2px solid transparent;
  font-family: var(--font-text); font-weight: var(--btn-weight, 600); font-size: var(--btn-fs, 1rem); line-height: 1.2;
  text-transform: var(--btn-transform, none);
  cursor: pointer; text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { color: var(--on-primary); transform: translateY(-2px); box-shadow: var(--btn-elevation, var(--elevation)); }
.btn--secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--secondary:hover { background: var(--accent); color: var(--on-accent); }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { color: var(--on-accent); transform: translateY(-2px); box-shadow: var(--btn-elevation, var(--elevation)); }
.btn--clair { background: #fff; color: #1d1d1d; }
.btn--clair:hover { color: #1d1d1d; transform: translateY(-2px); box-shadow: var(--btn-elevation, var(--elevation)); }
.btn--lien { background: transparent; color: inherit; padding-left: .25rem; padding-right: .25rem; text-decoration: underline; text-underline-offset: 3px; }
.btn--lien:hover { color: var(--accent); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.sec--align-centre .btn-row { justify-content: center; }

/* ---------- En-tête (réglages : Admin > En-tête) ---------- */
.site-head { display: contents; }
.site-head--overlay { display: block; position: absolute; top: 0; left: 0; right: 0; z-index: 60; }
.site-head--overlay.site-head--fixe { position: fixed; }
.topbar { background: var(--topbar-bg); color: var(--topbar-fg); font-size: .88rem; }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .35rem 1rem; padding-top: .45rem; padding-bottom: .45rem; text-align: center; }
.topbar a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.header {
  --header-h: 72px; --logo-h: 52px; --logo-h-m: 40px; --name-size: 22px;
  --menu-fs: 16px; --menu-weight: 500; --menu-gap: 8px; --menu-transform: none;
  --menu-active: var(--primary); --menu-active-text: var(--on-primary);
  position: relative; z-index: 50;
  background: var(--header-bg); color: var(--header-text);
  transition: background var(--transition), box-shadow var(--transition);
}
.header--fixe { position: sticky; top: 0; }
.site-head--overlay .header { position: relative; }
.header--bordure { border-bottom: 1px solid color-mix(in srgb, var(--header-text) 12%, transparent); }
.header--ombre { box-shadow: 0 2px 14px rgba(0,0,0,.10); }
.header__inner {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  min-height: var(--header-h); padding: .5rem 1.5rem;
}
.header__inner.container { padding-left: 1.5rem; padding-right: 1.5rem; }
.header__logo { display: inline-flex; align-items: center; gap: .65rem; color: var(--header-text); }
.header__logo:hover { color: var(--header-text); }
.header__logo img { max-height: var(--logo-h); width: auto; }
.brand-text { font-family: var(--font-title); font-weight: var(--title-weight); font-size: var(--name-size, 1.4rem); color: inherit; letter-spacing: .01em; line-height: 1.1; }
.header__nav { display: flex; align-items: center; justify-content: flex-end; gap: calc(var(--menu-gap) + .75rem); }
.header--gauche .header__nav { justify-content: flex-start; }
.header--gauche .header__extra { margin-left: auto; }
.header--centre .header__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-top: 1rem; padding-bottom: .75rem; }
.header--centre .header__nav { justify-content: center; flex-wrap: wrap; justify-self: stretch; }

/* Dispositions de l'en-tête (Admin > En-tête > Disposition) */
.header__extra--out { display: flex; align-items: center; gap: .75rem; }
/* Logo à gauche, menu au centre, bouton à droite */
.header--milieu .header__inner { grid-template-columns: 1fr auto 1fr; }
.header--milieu .header__nav { display: contents; }
.header--milieu .header__logo { grid-column: 1; grid-row: 1; justify-self: start; }
.header--milieu .menu { grid-column: 2; grid-row: 1; justify-content: center; }
.header--milieu .header__extra { grid-column: 3; grid-row: 1; justify-self: end; }
/* Menu à gauche, logo à droite */
.header--inverse .header__inner { grid-template-columns: 1fr auto; }
.header--inverse .header__logo { grid-column: 2; grid-row: 1; }
.header--inverse .header__nav { grid-column: 1; grid-row: 1; justify-content: flex-start; }
.header--inverse .header__extra { margin-left: auto; }
/* Logo au milieu, liens de chaque côté */
.header--scinde .header__inner { grid-template-columns: 1fr auto 1fr; column-gap: 2rem; }
.header--scinde .header__nav { display: contents; }
.header--scinde .header__logo { grid-column: 2; grid-row: 1; }
.header--scinde .menu--a { grid-column: 1; grid-row: 1; justify-content: flex-end; }
.header--scinde .header__nav-b { grid-column: 3; grid-row: 1; display: flex; align-items: center; gap: calc(var(--menu-gap) + .75rem); }
.header--scinde .menu--b { justify-content: flex-start; }
.header--scinde .header__nav-b .header__extra { margin-left: auto; }
.header--scinde-bords .menu--a { justify-content: flex-start; }
.header--scinde-bords .menu--b { margin-left: auto; }
.header--scinde-bords .header__nav-b .header__extra { margin-left: 0; }
.header--scinde-egal .menu--a, .header--scinde-egal .menu--b { flex: 1; justify-content: space-evenly; }
.header--scinde-egal .header__nav-b .header__extra { margin-left: 0; }
/* Téléphone, logo centré, bouton ; menu en dessous */
.header--centre_extra .header__inner { grid-template-columns: 1fr auto 1fr; row-gap: .5rem; padding-top: .9rem; padding-bottom: .6rem; }
.header--centre_extra .header__nav, .header--centre_extra .header__extra { display: contents; }
.header--centre_extra .header__logo { grid-column: 2; grid-row: 1; }
.header--centre_extra .header__tel { grid-column: 1; grid-row: 1; justify-self: start; }
.header--centre_extra .header__extra .btn { grid-column: 3; grid-row: 1; justify-self: end; }
.header--centre_extra .menu { grid-column: 1 / -1; grid-row: 2; justify-content: center; }
/* Logo et bouton en haut, menu sur une 2e ligne */
.header--deux_lignes .header__inner { grid-template-columns: 1fr auto; row-gap: .4rem; padding-top: .75rem; padding-bottom: .5rem; }
.header--deux_lignes .header__nav { display: contents; }
.header--deux_lignes .header__logo { grid-column: 1; grid-row: 1; }
.header--deux_lignes .header__extra { grid-column: 2; grid-row: 1; justify-self: end; }
.header--deux_lignes .menu { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
/* Alignement et séparation de la ligne du menu */
.header--l2-gauche .menu, .header--l2-gauche.header--centre .header__nav { justify-content: flex-start; }
.header--l2-centre .menu, .header--l2-centre.header--centre .header__nav { justify-content: center; }
.header--l2-droite .menu, .header--l2-droite.header--centre .header__nav { justify-content: flex-end; }
.header--l2-sep.header--centre_extra .menu, .header--l2-sep.header--deux_lignes .menu, .header--l2-sep.header--centre .header__nav {
  border-top: 1px solid color-mix(in srgb, var(--header-text) 14%, transparent); padding-top: .55rem; }
/* Menu replié : fermeture par le fond, animations */
html.menu-ouvert { overflow: hidden; }
@keyframes hdr-fondu { from { opacity: 0; } to { opacity: 1; } }
@keyframes hdr-tiroir-right { from { transform: translateX(100%); } to { transform: none; } }
@keyframes hdr-tiroir-left { from { transform: translateX(-100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .header__nav, .header::before { animation: none !important; } }
.header__btn { display: none; align-items: center; justify-content: center; background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--header-text); cursor: pointer; padding: .25rem .5rem; }
.header__extra { display: flex; align-items: center; gap: .75rem; }
.header__tel { color: var(--header-text); font-weight: 600; white-space: nowrap; }
.menu { display: flex; flex-wrap: wrap; gap: var(--menu-gap); list-style: none; align-items: center; }
.menu__link {
  display: inline-block; padding: .45rem .8rem; border-radius: var(--btn-radius);
  color: var(--header-text); font-size: var(--menu-fs); font-weight: var(--menu-weight); text-transform: var(--menu-transform);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.menu-style--pastilles .menu__link { background: color-mix(in srgb, var(--header-text) 7%, transparent); }
.menu-style--pastilles .menu__link:hover, .menu-style--pastilles .menu__link.active,
.menu-style--boutons .menu__link:hover, .menu-style--boutons .menu__link.active { background: var(--menu-active); color: var(--menu-active-text); }
.menu-style--boutons .menu__link { background: color-mix(in srgb, var(--menu-active) 14%, transparent); }
.menu-style--souligne .menu__link { padding-left: .2rem; padding-right: .2rem; border-radius: 0; box-shadow: inset 0 -2px 0 transparent; }
.menu-style--souligne .menu__link:hover, .menu-style--souligne .menu__link.active { color: var(--menu-active); box-shadow: inset 0 -2px 0 var(--menu-active); }
.menu-style--texte .menu__link { padding-left: .3rem; padding-right: .3rem; }
.menu-style--texte .menu__link:hover, .menu-style--texte .menu__link.active { color: var(--menu-active); }

/* En-tête transparent au-dessus de la bannière */
.header--transparent:not(.header--scrolled) { background: transparent; color: #fff; box-shadow: none; border-bottom-color: rgba(255,255,255,.18); }
.header--transparent:not(.header--scrolled) .header__logo,
.header--transparent:not(.header--scrolled) .header__btn,
.header--transparent:not(.header--scrolled) .header__tel,
.header--transparent:not(.header--scrolled) .menu__link { color: #fff; }
.header--transparent:not(.header--scrolled).menu-style--pastilles .menu__link { background: rgba(255,255,255,.12); }
.header--transparent:not(.header--scrolled).menu-style--souligne .menu__link.active { box-shadow: inset 0 -2px 0 #fff; }
.has-transparent-header main > .sec--hero:first-child { padding-top: calc(var(--head-offset, var(--header-h, 72px)) + 2.5rem); }
.has-transparent-header main > .sec--hero.hero--min:first-child { min-height: max(var(--hero-min), calc(var(--head-offset, 0px) + 20rem)); }

/* ---------- Sections ---------- */
.sec { position: relative; background: var(--sec-bg, transparent); }
.sec--fg { color: var(--sec-fg); }
.sec--fg h1, .sec--fg h2, .sec--fg h3, .sec--fg h4,
.sec--fg .prose a, .sec--fg .card__link { color: inherit; }
.sec--pad-aucun   { padding: 0; }
.sec--pad-compact { padding: calc(1.75rem * var(--sec-space, 1)) 0; }
.sec--pad-normal  { padding: calc(3.5rem * var(--sec-space, 1)) 0; }
.sec--pad-large   { padding: calc(5.5rem * var(--sec-space, 1)) 0; }
@media (max-width: 600px) {
  .sec--pad-normal { padding: calc(2.5rem * var(--sec-space, 1)) 0; }
  .sec--pad-large { padding: calc(3.75rem * var(--sec-space, 1)) 0; }
}
.sec--align-centre { text-align: center; }
.sec--align-droite { text-align: right; }
.sec--align-droite .btn-row { justify-content: flex-end; }
.sec--align-droite .sec__intro, .sec--align-droite .cta__text { margin-left: auto; }
.sec__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.sec__veil { position: absolute; inset: 0; background: #000; z-index: 0; }
.sec--has-bgimg { overflow: hidden; }
.sec--has-bgimg > .container { position: relative; z-index: 1; }
.sec--parallax .sec__bg { background-attachment: fixed; }
@media (hover: none) { .sec--parallax .sec__bg { background-attachment: scroll; } }
.sec--heading-color .sec__title, .sec--heading-color .hero__title, .sec--heading-color .media-text__title,
.sec--heading-color .callout__title, .sec--heading-color .card__title, .sec--heading-color .col h3,
.sec--heading-color .prose h2, .sec--heading-color .prose h3 { color: var(--sec-heading) !important; }
@media (max-width: 767px) { .hide-mobile { display: none !important; } }
@media (min-width: 768px) { .hide-desktop { display: none !important; } }
.js .reveal { opacity: 0; transition: opacity .7s ease, transform .7s ease; }
.js .reveal--montee { transform: translateY(28px); }
.js .reveal--zoom { transform: scale(.96); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.sec--align-centre .sec__intro, .sec--align-centre .cta__text, .sec--align-centre .hero__text { margin-left: auto; margin-right: auto; }
.sec__title { margin-bottom: 1rem; }
.sec__intro { max-width: 65ch; margin-bottom: 2rem; font-size: 1.05rem; opacity: .9; }
.sec__title + .cards, .sec__title + .gallery, .sec__title + .cols { margin-top: 1.5rem; }

/* Boutons dans une section colorée : inversés pour rester lisibles */
.sec--colored .btn--primary { background: var(--sec-fg); color: var(--sec-bg); }
.sec--colored .btn--primary:hover { color: var(--sec-bg); }
.sec--colored .btn--secondary { color: var(--sec-fg); border-color: currentColor; }
.sec--colored .btn--secondary:hover { background: var(--sec-fg); color: var(--sec-bg); }

/* Texte enrichi */
.prose > * + * { margin-top: .85em; }
.prose h2 { font-size: calc(1.45rem * var(--title-scale)); margin-top: 1.6em; }
.prose h3 { font-size: calc(1.2rem * var(--title-scale)); margin-top: 1.4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.sec--align-centre .prose ul, .sec--align-centre .prose ol { display: inline-block; text-align: left; }
.prose li + li { margin-top: .3em; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote { border-left: 4px solid var(--accent); padding: .25rem 0 .25rem 1rem; font-style: italic; }

/* ---------- Bannière (hero) ---------- */
.sec--hero { overflow: hidden; }
.sec--hero.sec--bg-primary:not(.hero--image), .sec--hero:not(.hero--image):not(.sec--has-bgimg).sec--colored {
  background: linear-gradient(160deg, var(--sec-bg) 0%, color-mix(in srgb, var(--sec-bg) 70%, #000) 100%);
}
.hero__media, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; background-size: cover; background-position: center; object-fit: cover; }
.hero__veil { position: absolute; inset: 0; background: #000; }
/* Carrousel de photos en fond */
.hero__slides { position: absolute; inset: 0; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slides--glissement .hero__slide { opacity: 1; transform: translateX(100%); transition: transform .9s cubic-bezier(.65, 0, .35, 1); }
.hero__slides--glissement .hero__slide.is-before { transform: translateX(-100%); }
.hero__slides--glissement .hero__slide.is-active { transform: none; }
.hero__slide.no-anim { transition: none !important; }
.hero__slides--zoom .hero__slide.is-active, .hero__slides--zoom .hero__slide.is-leaving { animation: hero-zoom calc(var(--slide-ms, 6000ms) + 1.5s) linear forwards; }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.12); } }
.hero__bodies { display: grid; }
.hero__bodies > .hero__body { grid-area: 1 / 1; transition: opacity .8s ease, visibility .8s; }
.hero__bodies > .hero__body:not(.is-active) { opacity: 0; visibility: hidden; }
.hero__arrow { position: absolute; top: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0 0 .2rem;
  transform: translateY(-50%); border: 0; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; transition: background var(--transition); }
.hero__arrow:hover { background: rgba(0,0,0,.6); }
.hero__arrow--prev { left: 1rem; }
.hero__arrow--next { right: 1rem; }
.hero__bar { position: absolute; left: 0; right: 0; bottom: 1.1rem; z-index: 2; display: flex; justify-content: center; align-items: center; min-height: 2.1rem; padding: 0 1rem; pointer-events: none; }
.hero__bar > * { pointer-events: auto; }
.hero__dots { display: flex; gap: .55rem; }
.hero__dot { width: .75rem; height: .75rem; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; opacity: .85; cursor: pointer; }
.hero__dot[aria-current="true"] { background: #fff; opacity: 1; }
.hero__pause { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); width: 2.1rem; height: 2.1rem; padding: 0; border: 0; border-radius: 50%;
  background: rgba(0,0,0,.35); color: #fff; font-size: .72rem; line-height: 1; cursor: pointer; }
.hero__pause:hover { background: rgba(0,0,0,.6); }
.hero__arrow:focus-visible, .hero__dot:focus-visible, .hero__pause:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 600px) { .hero__arrow { display: none; } }
/* Vidéo YouTube / Vimeo en fond : agrandie pour remplir la bannière, sans interaction */
.hero__embed { position: absolute; inset: 0; overflow: hidden; container-type: size; pointer-events: none; }
.hero__embed iframe { position: absolute; top: 50%; left: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); transform: translate(-50%, -50%); border: 0; }
.hero__embed--top iframe { top: 0; transform: translate(-50%, 0); }
.hero__embed--bottom iframe { top: auto; bottom: 0; transform: translate(-50%, 0); }
.hero__embed--left iframe { left: 0; transform: translate(0, -50%); }
.hero__embed--right iframe { left: auto; right: 0; transform: translate(0, -50%); }
.js .hero__embed iframe { opacity: 0; transition: opacity 1s ease; }
.js .hero__embed iframe.is-ready { opacity: 1; }
@media (max-width: 700px) { .hero__video[data-mobile-image], .hero__embed[data-mobile-image] { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero__slide, .hero__bodies > .hero__body { transition: none !important; }
  .hero__slides--zoom .hero__slide { animation: none !important; }
}
.hero__content { position: relative; z-index: 1; }
.hero--min { display: flex; min-height: var(--hero-min); }
.hero--min > .hero__content { width: 100%; }
.hero--v-centre { align-items: center; }
.hero--v-haut { align-items: flex-start; }
.hero--v-bas { align-items: flex-end; }
.hero__body { max-width: var(--hero-content, 760px); }
.sec--align-centre .hero__body { margin-left: auto; margin-right: auto; }
.sec--align-droite .hero__body { margin-left: auto; }
.hero__eyebrow { font-family: var(--font-title); font-weight: var(--title-weight); color: var(--hero-eyebrow, var(--accent)); text-transform: uppercase; letter-spacing: .08em; font-size: calc(.95rem * var(--hero-text-scale, 1)); margin-bottom: .9rem; }
.hero--image .hero__eyebrow { color: var(--hero-eyebrow, inherit); opacity: .95; }
.hero__title { font-size: calc(2.9rem * var(--title-scale) * var(--hero-title-scale, 1)); margin-bottom: 1rem; }
@media (max-width: 600px) { .hero__title { font-size: calc(2rem * var(--title-scale) * var(--hero-title-scale, 1)); } }
.hero__text { max-width: 62ch; font-size: calc(1.1rem * var(--hero-text-scale, 1)); opacity: .92; }
.sec--align-centre .hero__text { margin-left: auto; margin-right: auto; }
.hero__split { display: grid; grid-template-columns: minmax(0, 1fr) var(--hero-img-w, 50%); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero__split--gauche { grid-template-columns: var(--hero-img-w, 50%) minmax(0, 1fr); }
.hero__split--gauche .hero__figure { order: -1; }
.hero__split .hero__body { max-width: var(--hero-content, 760px); }
.hero__figure { margin: 0; width: 100%; }
.hero__figure--arrondi { border-radius: calc(var(--radius) * 1.5); box-shadow: var(--elevation); }
@media (max-width: 800px) {
  .hero__split, .hero__split--gauche { grid-template-columns: 1fr; }
  .hero__split--gauche .hero__figure { order: 0; }
}

/* ---------- Grilles ---------- */
.grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.grid--2 { --cols: 2; } .grid--3 { --cols: 3; } .grid--4 { --cols: 4; } .grid--5 { --cols: 5; }
@media (max-width: 1000px) { .grid--4, .grid--5 { --cols: 3; } }
@media (max-width: 800px)  { .grid--3, .grid--4, .grid--5 { --cols: 2; } .cards.grid--3, .cols.grid--3 { --cols: 1; } }
@media (max-width: 600px)  { .grid--2, .cards.grid { --cols: 1; } .cols.grid { --cols: 1; } }

/* Ratios d'image */
.ratio { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--primary), var(--primary-dark)); }
.ratio > img, .ratio > a > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ratio > a { position: absolute; inset: 0; display: block; }
.ratio--paysage { aspect-ratio: 4 / 3; }
.ratio--large { aspect-ratio: 16 / 9; }
.ratio--carre { aspect-ratio: 1 / 1; }
.ratio--portrait { aspect-ratio: 3 / 4; }
.ratio--original { aspect-ratio: auto; background: none; }
.ratio--original > img { position: static; height: auto; }

/* ---------- Cartes ---------- */
.card {
  display: flex; flex-direction: column;
  background: var(--surface); color: var(--text);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: inherit;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--elevation); }
.card h3, .sec--fg .card h3 { color: var(--heading); }
.card__icon { padding: 1.75rem 1.25rem 0; color: var(--icon-color, var(--accent)); }
.card__icon .icon { width: var(--icon-size, 56px); height: var(--icon-size, 56px); display: inline-block; }
.cards--style-bordure .card { box-shadow: none; border: 1px solid color-mix(in srgb, var(--text) 14%, transparent); }
.cards--style-plat .card { box-shadow: none; }
.cards--style-transparent .card { background: transparent; box-shadow: none; color: inherit; }
.cards--style-transparent .card h3, .sec--fg .cards--style-transparent .card h3 { color: inherit; }
.cards--style-transparent .card__body { padding-left: 0; padding-right: 0; }
.cards--style-bordure .card:hover, .cards--style-plat .card:hover, .cards--style-transparent .card:hover { box-shadow: none; }
.card__body { padding: 1.25rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.cards--icone .card__body { padding-top: 1rem; }
.card__text { font-size: .95rem; }
.card__link, .sec--fg .card__link { margin-top: auto; padding-top: .5rem; font-weight: 600; color: var(--primary); }

/* Colonnes de texte */
.col h3 { margin-bottom: .6rem; }

/* ---------- Image + texte ---------- */
.media-text {
  --mt-img-w: 50%;
  display: grid; grid-template-columns: var(--mt-img-w) minmax(0, 1fr); align-items: center;
  background: var(--surface); color: var(--text);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.sec--fg .media-text h2 { color: var(--heading); }
.media-text--droite { grid-template-columns: minmax(0, 1fr) var(--mt-img-w); }
.media-text--droite .media-text__img { order: 2; }
.media-text--v-haut { align-items: start; }
.media-text--v-bas { align-items: end; }
.media-text__img { align-self: stretch; height: 100%; min-height: 240px; margin: 0; }
/* Image à côté du texte : remplit sa colonne (le format donne la hauteur minimale, l'image est recadrée si le texte est plus haut) */
.media-text--gauche .media-text__img, .media-text--droite .media-text__img { width: 100%; height: auto; }
.media-text__body { padding: 2rem; text-align: left; }
.media-text__title { margin-bottom: .75rem; font-size: calc(1.55rem * var(--title-scale) * var(--sec-title-scale, 1)); }
.media-text--no-img, .media-text--haut { grid-template-columns: 1fr; }
.media-text--haut .media-text__img { height: auto; min-height: 0; }
.media-text--fond { position: relative; grid-template-columns: 1fr; min-height: 380px; padding: 2.5rem; background: #1d1d1d; }
.media-text--fond .media-text__img { position: absolute; inset: 0; height: 100%; }
.media-text--fond .media-text__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-text--fond .media-text__body { position: relative; z-index: 1; max-width: 560px; background: color-mix(in srgb, var(--surface) 94%, transparent); border-radius: var(--radius); box-shadow: var(--elevation); }
.media-text--fond.media-text--v-haut { align-content: start; } .media-text--fond.media-text--v-bas { align-content: end; } .media-text--fond.media-text--v-centre { align-content: center; }
.sec--align-centre .media-text--fond .media-text__body { margin: 0 auto; }
.sec--align-droite .media-text--fond .media-text__body { margin-left: auto; }
.media-text--transparent { background: transparent; box-shadow: none; color: inherit; gap: 2.5rem; overflow: visible; }
/* Image + texte : carrousel de photos */
.media-text__img--carrousel { position: relative; overflow: hidden; }
.mt-carousel { position: absolute; inset: 0; overflow: hidden; }
.mt-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.mt-slide.is-active { opacity: 1; z-index: 1; }
.mt-slide > a, .mt-slide img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.mt-slide img { object-fit: cover; }
.mt-slide > a { cursor: zoom-in; }
.mt-carousel--glissement .mt-slide { opacity: 1; transform: translateX(100%); transition: transform .7s cubic-bezier(.65, 0, .35, 1); }
.mt-carousel--glissement .mt-slide.is-before { transform: translateX(-100%); }
.mt-carousel--glissement .mt-slide.is-active { transform: none; }
.mt-slide.no-anim { transition: none !important; }
.mt-slide__caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.75rem 1rem .8rem; background: linear-gradient(transparent, rgba(0,0,0,.62));
  color: #fff; font-size: .92rem; line-height: 1.35; text-align: left; pointer-events: none; }
.media-text__img--points .mt-slide__caption { padding-bottom: 2.6rem; }
.mt-arrow { position: absolute; top: 50%; z-index: 3; display: flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; padding: 0 0 .15rem;
  transform: translateY(-50%); border: 0; border-radius: 50%; background: rgba(0,0,0,.42); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; transition: background var(--transition); }
.mt-arrow:hover { background: rgba(0,0,0,.68); }
.mt-arrow--prev { left: .6rem; }
.mt-arrow--next { right: .6rem; }
.mt-bar { position: absolute; left: 0; right: 0; bottom: .65rem; z-index: 3; display: flex; justify-content: center; align-items: center; min-height: 1.9rem; pointer-events: none; }
.mt-bar > * { pointer-events: auto; }
.mt-dots { display: flex; gap: .45rem; padding: .32rem .6rem; border-radius: 99px; background: rgba(0,0,0,.28); }
.mt-dot { width: .6rem; height: .6rem; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.mt-dot[aria-current="true"] { background: #fff; }
.mt-pause { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); width: 1.9rem; height: 1.9rem; padding: 0; border: 0; border-radius: 50%;
  background: rgba(0,0,0,.42); color: #fff; font-size: .62rem; line-height: 1; cursor: pointer; }
.mt-arrow:focus-visible, .mt-dot:focus-visible, .mt-pause:focus-visible, .mt-slide > a:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
@media (prefers-reduced-motion: reduce) { .mt-slide { transition: none !important; } }
.media-text--transparent .media-text__body { padding: 0; }
.media-text--transparent .media-text__img { border-radius: var(--radius); overflow: hidden; }
.sec--fg .media-text--transparent h2 { color: inherit; }
.media-text--transparent.media-text--fond { padding: 2.5rem; overflow: hidden; }
.media-text--transparent.media-text--fond .media-text__body { padding: 2rem; }
@media (max-width: 800px) {
  .media-text, .media-text--droite { grid-template-columns: 1fr; }
  .media-text--droite .media-text__img { order: 0; }
  .media-text__body { padding: 1.5rem; }
  .media-text--fond { padding: 1.25rem; min-height: 300px; }
}

/* Tableau des prix */
.price-table { width: 100%; border-collapse: collapse; margin-top: 1.25rem; font-size: .95rem; }
.price-table th, .price-table td { padding: .55rem .5rem; text-align: left; border-bottom: 1px solid color-mix(in srgb, var(--text) 10%, transparent); }
.price-table th { color: var(--heading); font-weight: 600; }
.price-table__price { font-weight: 700; color: var(--accent); white-space: nowrap; text-align: right !important; }
.price-table th:last-child { text-align: right; }

/* ---------- Bandeau et encadré ---------- */
.cta__text { max-width: 62ch; font-size: 1.08rem; opacity: .92; }
.callout { border-radius: var(--radius); padding: 1.75rem 2rem; text-align: left; }
.callout--accent { background: color-mix(in srgb, var(--accent) 16%, var(--surface)); }
.callout--primary { background: color-mix(in srgb, var(--primary) 10%, var(--surface)); }
.callout--neutre { background: var(--surface); box-shadow: var(--shadow); }
.callout, .sec--fg .callout { color: var(--text); }
.callout__title, .sec--fg .callout__title { color: var(--heading); font-size: calc(1.4rem * var(--title-scale)); margin-bottom: .75rem; }
.callout--accent .callout__title { color: color-mix(in srgb, var(--accent) 70%, var(--text)); }
@media (max-width: 600px) { .callout { padding: 1.25rem; } }

/* ---------- Image seule / vidéo ---------- */
.figure { margin: 0 auto; }
.figure--moyenne { max-width: 640px; }
.figure--large { max-width: 100%; }
.figure img { width: 100%; border-radius: var(--radius); }
.figure--pleine img { border-radius: 0; }
.figure figcaption { margin-top: .6rem; font-size: .9rem; opacity: .8; }
.figure--video { max-width: 960px; }
/* Vidéos de la galerie : chaque vidéo occupe toute sa colonne (sans marges automatiques, qui la réduisaient à une largeur nulle) */
.gallery-videos { align-items: start; }
.gallery .figure, .gallery-videos > .figure { width: 100%; max-width: none; min-width: 0; margin: 0; }
.gallery + .gallery-videos { margin-top: 1.5rem; }
.gallery-videos figcaption { margin-top: .5rem; font-size: .92rem; opacity: .85; }
@media (max-width: 600px) { .gallery-videos.grid { --cols: 1; } }
.video { position: relative; width: 100%; overflow: hidden; border-radius: var(--radius); background: #000; }
.video--16-9 { aspect-ratio: 16 / 9; }
.video--4-3 { aspect-ratio: 4 / 3; }
.video--1-1 { aspect-ratio: 1 / 1; max-width: 640px; margin: 0 auto; }
.video--9-16 { aspect-ratio: 9 / 16; max-width: 400px; margin: 0 auto; }
.video video, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.video__facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: #111; }
.video__facade img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity var(--transition); }
.video__facade:hover img { opacity: 1; }
.video__play { position: absolute; top: 50%; left: 50%; width: 72px; transform: translate(-50%, -50%); }
.video__play svg { width: 100%; fill: rgba(0,0,0,.75); transition: fill var(--transition); }
.video__facade:hover .video__play svg, .video__facade:focus-visible .video__play svg { fill: #e00; }
.video__notice { position: absolute; left: .6rem; bottom: .5rem; font-size: .75rem; color: #fff; background: rgba(0,0,0,.55); padding: .1rem .45rem; border-radius: 4px; }

/* Grille de vidéos (1 à 4 colonnes) */
.video-grid { display: grid; grid-template-columns: repeat(var(--vcols, 1), minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.video-grid--1 { --vcols: 1; max-width: 960px; margin: 0 auto; }
.video-grid--2 { --vcols: 2; }
.video-grid--3 { --vcols: 3; }
.video-grid--4 { --vcols: 4; gap: 1.1rem; }
.video-grid--9-16.video-grid--1 { max-width: 420px; }
.video-item { margin: 0; min-width: 0; }
.video-item .video--9-16, .video-item .video--1-1 { max-width: none; }
.video-item__title { font-size: calc(1.1rem * var(--title-scale) * var(--sec-title-scale, 1)); margin-bottom: .6rem; }
.video-item figcaption { margin-top: .55rem; font-size: .9rem; opacity: .8; }
@media (max-width: 900px) { .video-grid--3, .video-grid--4 { --vcols: 2; } }
@media (max-width: 600px) { .video-grid { --vcols: 1; } }

/* ---------- Galerie ---------- */
.gallery { gap: 1rem; }
.gallery__item { border-radius: var(--radius); box-shadow: var(--shadow); }
.gallery__item img { transition: transform .4s ease; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none;
  padding: .45rem .7rem; font-size: .8rem; text-align: left;
  background: color-mix(in srgb, var(--primary) 85%, transparent); color: var(--on-primary);
}
.gallery-videos { margin-top: 2rem; }
.empty-note { padding: 1rem 1.25rem; background: color-mix(in srgb, var(--text) 5%, transparent); border-radius: var(--radius); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.92); }
.lightbox.lightbox-open { display: flex; }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; width: 100%; height: 100%; padding: 3.5rem 4rem 1.5rem; }
.lightbox__img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: var(--radius); }
.lightbox__caption { color: #fff; font-size: .95rem; text-align: center; max-width: 70ch; }
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2; border: 0; cursor: pointer;
  background: rgba(255,255,255,.92); color: #222; display: inline-flex; align-items: center; justify-content: center;
}
.lightbox__close { top: .75rem; right: .75rem; width: 40px; height: 40px; border-radius: 8px; font-size: 1.5rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; font-size: 1.8rem; }
.lightbox__nav--prev { left: .75rem; }
.lightbox__nav--next { right: .75rem; }
@media (max-width: 600px) {
  .lightbox__figure { padding: 3.5rem .5rem 4.5rem; }
  .lightbox__nav { top: auto; bottom: 1rem; transform: none; }
}
.no-scroll { overflow: hidden; }

/* ---------- Formulaires ---------- */
.form { text-align: left; }
.form__group { display: grid; gap: .4rem; margin-bottom: 1rem; }
.form__group label { font-weight: 600; font-size: .92rem; }
.form__group input, .form__group textarea, .form__group select {
  width: 100%; padding: .65rem .8rem;
  border: 1px solid color-mix(in srgb, var(--text) 22%, transparent); border-radius: var(--radius);
  background: var(--surface); color: var(--text); font: inherit;
}
.form__group textarea { resize: vertical; min-height: 130px; }
.form__group input:focus, .form__group textarea:focus, .form__group select:focus { outline: 2px solid var(--accent); border-color: transparent; }
.checkbox { display: flex; gap: .55rem; align-items: flex-start; font-weight: 400 !important; font-size: .92rem; }
.checkbox input[type="checkbox"] { width: auto; flex: none; margin-top: .2rem; }
.form__note { font-size: .82rem; margin-top: .6rem; opacity: .75; }
.form__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { margin: 0 0 1.25rem; padding: .85rem 1.1rem; border-radius: var(--radius); font-size: .95rem; text-align: left; }
.alert ul { margin-left: 1.1rem; }
.alert--error { background: #fbe9e7; color: #8a1f11; border: 1px solid #f2c4bd; }
.alert--success { background: #e8f3ec; color: #1f4a30; border: 1px solid #bfdcc8; }

/* ---------- Séparateur ---------- */
.spacer--petite { padding: .75rem 1.5rem; }
.spacer--moyenne { padding: 1.75rem 1.5rem; }
.spacer--grande { padding: 3.5rem 1.5rem; }

/* ---------- Pied de page (réglages : Admin > Pied de page) ---------- */
.footer {
  --footer-link: var(--accent); --footer-title: var(--footer-text);
  --footer-bar-bg: var(--footer-bg); --footer-bar-text: var(--footer-text); --footer-bar-link: var(--accent);
  --footer-cols: 3; --footer-logo-h: 52px;
  background: var(--footer-bg); color: var(--footer-text); font-size: .92rem;
}
.footer--bordure { border-top: 1px solid color-mix(in srgb, var(--footer-text) 14%, transparent); }
.footer--txt-petite { font-size: .84rem; }
.footer--txt-grande { font-size: 1rem; }
.footer a { color: var(--footer-link); }
.footer a:hover { color: var(--footer-text); text-decoration: underline; }
.footer__content { display: grid; grid-template-columns: repeat(var(--footer-cols), minmax(0, 1fr)); gap: 2rem 2.5rem; align-items: start; padding-top: 2.75rem; padding-bottom: 2rem; }
.footer--pad-compact .footer__content { padding-top: 1.5rem; padding-bottom: 1.25rem; }
.footer--pad-large .footer__content { padding-top: 4.5rem; padding-bottom: 3rem; }
.footer__col { display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
.footer__col--double { grid-column: span 2; }
.footer--centre .footer__col { align-items: center; text-align: center; }
.footer__logo img { max-height: var(--footer-logo-h); width: auto; }
.footer__logo .brand-text { color: var(--footer-title); font-size: calc(var(--footer-logo-h) * .42); }
.footer__title { font-size: 1rem; color: var(--footer-title); text-transform: var(--title-transform); letter-spacing: .02em; }
.footer__text { opacity: .9; }
.footer__text a { text-decoration: underline; }
.footer__nav { display: flex; flex-wrap: wrap; gap: var(--footer-gap, 8px); }
.footer__nav--h { flex-direction: row; align-items: center; }
.footer__nav--v { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; }
.footer--centre .footer__nav { justify-content: center; }
.footer--centre .footer__nav--v { align-items: center; }
.footer__nav--pastilles a {
  padding: .35rem .75rem; border-radius: var(--btn-radius); font-weight: 500; font-size: .9em;
  background: color-mix(in srgb, var(--footer-text) 8%, transparent); color: var(--footer-text);
}
.footer__nav--pastilles a:hover, .footer__nav--pastilles a.active { background: var(--primary); color: var(--on-primary); text-decoration: none; }
.footer__nav--liste a { color: var(--footer-text); opacity: .9; }
.footer__nav--liste.footer__nav--h { column-gap: calc(var(--footer-gap, 8px) + .75rem); }
.footer__nav--liste a:hover, .footer__nav--liste a.active { color: var(--footer-link); opacity: 1; }

.footer__contact { font-style: normal; display: grid; gap: .45rem; }
.footer__contact-line a { color: var(--footer-text); }

.social { display: flex; flex-wrap: wrap; gap: var(--footer-gap, 8px); }
.footer--centre .social { justify-content: center; }
.social--v { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; }
.footer--centre .social--v { align-items: center; }
.social--v.social--les_deux .social__link, .social--v.social--texte .social__link { justify-content: flex-start; }
.social__link {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-width: 38px; height: 38px; padding: 0 .55rem; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--footer-text) 25%, transparent);
  color: var(--footer-text) !important; font-size: .88em; font-weight: 500;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.social__link svg { width: 20px; height: 20px; flex: none; }
.social--icones .social__link { width: 38px; padding: 0; }
.social__link:hover { background: var(--footer-link); border-color: var(--footer-link); color: var(--footer-bg) !important; text-decoration: none !important; }

.footer__bar { background: var(--footer-bar-bg); color: var(--footer-bar-text); font-size: .85em; }
.footer__bar a { color: var(--footer-bar-link); }
.footer__bar-links { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; }
.footer__bar-links--h a + a::before { content: "·"; display: inline-block; margin-right: .5rem; color: var(--footer-bar-text); opacity: .6; }
.footer__bar-links--v { flex-direction: column; align-items: flex-start; gap: .3rem; }
.footer--centre .footer__bar-links { justify-content: center; }
.footer--centre .footer__bar-links--v { align-items: center; }
.footer__bar .social__link { color: var(--footer-bar-text) !important; min-width: 32px; height: 32px; }
.footer__bar .social--icones .social__link { width: 32px; }
.footer__bar .social__link svg { width: 17px; height: 17px; }
.footer__bar-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem;
  padding-top: .9rem; padding-bottom: .9rem;
  border-top: 1px solid color-mix(in srgb, var(--footer-bar-text) 10%, transparent);
}
.footer__content + .footer__bar .footer__bar-inner { border-top-color: color-mix(in srgb, var(--footer-bar-text) 10%, transparent); }
.footer--centre .footer__bar-inner { justify-content: center; flex-direction: column; text-align: center; }
@media (max-width: 900px) {
  .footer__content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__col--double { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer__content { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer__bar-inner { flex-direction: column; align-items: flex-start; }
  .footer--centre .footer__bar-inner { align-items: center; }
}
.preview-placeholder { padding: 3rem 1rem; text-align: center; border: 2px dashed color-mix(in srgb, var(--text) 20%, transparent); border-radius: var(--radius); opacity: .6; }

/* ---------- Variantes de disposition des sections ---------- */
/* Texte : titre à gauche, colonnes de texte */
.title-left { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2.5rem; align-items: start; text-align: left; }
.title-left .sec__title { margin-bottom: 0; }
.prose--cols-2 { column-count: 2; column-gap: 2.5rem; }
.prose--cols-3 { column-count: 3; column-gap: 2.25rem; }
.prose--cols-2 > *, .prose--cols-3 > * { break-inside: avoid-column; }
.prose--cols-2 h2, .prose--cols-2 h3, .prose--cols-3 h2, .prose--cols-3 h3 { break-after: avoid-column; }
@media (max-width: 800px) { .title-left { grid-template-columns: 1fr; gap: .75rem; } .prose--cols-3 { column-count: 2; } }
@media (max-width: 600px) { .prose--cols-2, .prose--cols-3 { column-count: 1; } }

/* Cartes : liste, texte sur l'image, défilement */
.cards--disp-liste .card { flex-direction: row; text-align: left; align-items: stretch; }
.cards--disp-liste .card__img { flex: 0 0 38%; aspect-ratio: auto; min-height: 160px; }
.cards--disp-liste .card__icon { padding: 1.5rem 0 1.5rem 1.5rem; }
.cards--disp-liste .card__body { padding: 1.25rem 1.5rem; justify-content: center; }
.cards--disp-superposee .card { position: relative; min-height: 300px; justify-content: flex-end; color: #fff; }
.cards--disp-superposee .card__img { position: absolute; inset: 0; aspect-ratio: auto; }
.cards--disp-superposee .card__body { position: relative; z-index: 1; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0)); padding-top: 4rem; flex: 0; }
.cards--disp-superposee .card h3, .sec--fg .cards--disp-superposee .card h3, .cards--disp-superposee .card__link { color: #fff !important; }
.cards--disp-defilement, .gallery--defilement {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 .25rem; padding-bottom: .75rem;
  scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.cards--disp-defilement > .card, .gallery--defilement > .gallery__item {
  flex: 0 0 calc((100% - (var(--cols, 3) - 1) * 1.5rem) / var(--cols, 3) - .5rem); min-width: 220px; scroll-snap-align: start;
}
.gallery--defilement { gap: 1rem; }
.gallery--defilement > .gallery__item { flex-basis: calc((100% - (var(--cols, 4) - 1) * 1rem) / var(--cols, 4) - .5rem); min-width: 180px; }
@media (max-width: 600px) {
  .cards--disp-liste .card { flex-direction: column; }
  .cards--disp-liste .card__img { min-height: 0; aspect-ratio: 16 / 9; }
  .cards--disp-defilement > .card { flex-basis: 80%; }
  .gallery--defilement > .gallery__item { flex-basis: 70%; }
}

/* Colonnes de texte : encadrées ou séparées */
.cols--cartes .col { background: var(--surface); color: var(--text); padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.sec--fg .cols--cartes .col h3 { color: var(--heading); }
.cols--separateurs { column-gap: 0; }
.cols--separateurs .col { padding: 0 1.75rem; border-left: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.cols--separateurs .col:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 600px) { .cols--separateurs .col { border-left: 0; padding: 0 0 1.25rem; border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent); } }

/* Bandeau en ligne */
.cta--ligne { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; text-align: left; }
.cta--ligne .cta__content { flex: 1 1 360px; }
.cta--ligne .btn-row { margin-top: 0; flex: 0 0 auto; }
.cta--ligne .cta__text { margin-left: 0 !important; }
.sec--align-centre .cta--ligne { text-align: left; }
@media (max-width: 700px) { .cta--ligne { flex-direction: column; align-items: flex-start; } .cta--ligne .cta__content { flex-basis: auto; } }

/* Encadré : styles et icône */
.callout--style-bordure { background: var(--surface); border-left: 5px solid var(--accent); box-shadow: var(--shadow); }
.callout--style-bordure.callout--primary { border-left-color: var(--primary); }
.callout--style-bordure.callout--neutre { border-left-color: color-mix(in srgb, var(--text) 30%, transparent); }
.callout--style-contour { background: transparent; border: 2px solid var(--accent); box-shadow: none; }
.callout--style-contour.callout--primary { border-color: var(--primary); }
.callout--style-contour.callout--neutre { border-color: color-mix(in srgb, var(--text) 25%, transparent); }
.callout--style-contour, .sec--fg .callout--style-contour { color: inherit; }
.callout--avec-icone { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.callout__icon { width: 44px; height: 44px; color: var(--accent); }
.callout--primary .callout__icon { color: var(--primary); }

/* Galerie mosaïque */
.gallery--mosaique { column-count: var(--gal-cols, 4); column-gap: 1rem; }
.gallery--mosaique .gallery__item { break-inside: avoid; margin-bottom: 1rem; display: block; }
.gallery--mosaique .gallery__item img { width: 100%; height: auto; }
.gallery--mosaique .ratio > a { position: static; display: block; }
.gallery--mosaique .ratio > a > img { position: static; height: auto; }
.gallery--mosaique .gallery__item { position: relative; overflow: hidden; }
@media (max-width: 900px) { .gallery--mosaique { column-count: min(var(--gal-cols, 4), 3); } }
@media (max-width: 600px) { .gallery--mosaique { column-count: 2; } }

/* Prix : cartes et liste à points de suite */
.price-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .9rem; margin-top: 1.25rem; }
.price-card { display: flex; flex-direction: column; gap: .4rem; padding: 1.1rem 1.2rem; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--text) 12%, transparent); background: color-mix(in srgb, var(--primary) 4%, var(--surface)); }
.price-card__name { font-weight: 600; }
.price-card__price { font-family: var(--font-title); font-size: 1.4rem; font-weight: var(--title-weight); color: var(--accent); }
.price-list { list-style: none; margin-top: 1.25rem; display: grid; gap: .55rem; }
.price-list li { display: flex; align-items: baseline; gap: .5rem; }
.price-list__dots { flex: 1; border-bottom: 2px dotted color-mix(in srgb, var(--text) 30%, transparent); transform: translateY(-.25rem); min-width: 1.5rem; }
.price-list__price { font-weight: 700; color: var(--accent); white-space: nowrap; }

/* Contact avec texte à côté */
.contact-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 2.5rem; align-items: start; text-align: left; }
.contact-split--droite .contact-split__text { order: 2; }
.contact-split__text { padding: 1.5rem; border-radius: var(--radius); background: color-mix(in srgb, var(--primary) 6%, var(--surface)); }
.contact-split .container { max-width: none; padding: 0; }
@media (max-width: 800px) { .contact-split { grid-template-columns: 1fr; } .contact-split--droite .contact-split__text { order: 0; } }

/* ---------- Gabarits de page (Admin > Pages > Disposition de la page) ---------- */
.layout { --layout-w: 1200px; --side-w: 30%; --layout-gap: 40px; }
.layout__box {
  max-width: var(--layout-w); margin: 2.5rem auto; overflow: hidden;
  background: var(--box-bg, var(--surface)); border-radius: calc(var(--radius) * 1.5); box-shadow: var(--elevation);
}
.layout__narrow { max-width: var(--layout-w); margin: 0 auto; }
.layout__box .container, .layout__narrow .container { max-width: none; }
.layout__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--side-w); gap: var(--layout-gap); align-items: start;
  max-width: var(--layout-w); margin: 0 auto; padding: 2.5rem 1.5rem 3.5rem;
}
.layout__grid--gauche { grid-template-columns: var(--side-w) minmax(0, 1fr); }
.layout__grid--gauche .layout__side { order: -1; }
.layout__main, .layout__side { min-width: 0; container-type: inline-size; display: flex; flex-direction: column; gap: 1.25rem; }
.layout__side.is-sticky { position: sticky; top: calc(var(--header-h, 72px) + 1rem); }
.layout__main .container, .layout__side .container { max-width: none; padding-left: 0; padding-right: 0; }
.layout__main .sec, .layout__side .sec { border-radius: var(--radius); }
.layout__main .sec--pad-normal, .layout__main .sec--pad-large { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.layout__side .sec--pad-compact, .layout__side .sec--pad-normal, .layout__side .sec--pad-large { padding-top: 1rem; padding-bottom: 1rem; }
.layout__main .sec:not(.sec--bg-aucun), .layout__side .sec:not(.sec--bg-aucun) { padding-left: 1.25rem; padding-right: 1.25rem; }
.layout__main > .sec:first-child, .layout__side > .sec:first-child { padding-top: 0; }
.layout__main > .sec:not(.sec--bg-aucun):first-child, .layout__side > .sec:not(.sec--bg-aucun):first-child { padding-top: 1.25rem; }
.layout__side h2 { font-size: calc(1.3rem * var(--title-scale) * var(--sec-title-scale, 1)); }
/* Mises en page compactes quand la colonne est étroite */
@container (max-width: 820px) {
  .grid--3, .grid--4, .grid--5 { --cols: 2; }
  .video-grid--3, .video-grid--4 { --vcols: 2; }
}
@container (max-width: 560px) {
  .grid { --cols: 1 !important; }
  .video-grid { --vcols: 1 !important; }
  .media-text, .media-text--gauche, .media-text--droite { grid-template-columns: 1fr !important; }
  .media-text--droite .media-text__img { order: 0; }
  .hero__split, .hero__split--gauche { grid-template-columns: 1fr; }
  .title-left, .contact-split, .callout--avec-icone { grid-template-columns: 1fr !important; }
  .cta--ligne { flex-direction: column; align-items: flex-start; }
  .cta--ligne .cta__content { flex-basis: auto; }
  .prose--cols-2, .prose--cols-3 { column-count: 1; }
}
@media (max-width: 900px) {
  .layout__grid, .layout__grid--gauche { grid-template-columns: 1fr; padding: 1.25rem 1rem 2rem; }
  .layout__side { order: 1; }
  .layout--side-avant .layout__side { order: -1; }
  .layout--side-masquee .layout__side { display: none; }
  .layout__side.is-sticky { position: static; }
}
@media (max-width: 760px) { .layout__box { margin: 0; border-radius: 0; box-shadow: none; } }

/* ---------- Mode administrateur ---------- */
.admin-bar {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 150;
  display: flex; gap: .25rem; padding: .35rem; border-radius: 999px;
  background: #1d2a23; box-shadow: 0 6px 20px rgba(0,0,0,.3); font-family: system-ui, sans-serif; font-size: .85rem;
}
.admin-bar a { color: #fff; padding: .45rem .8rem; border-radius: 999px; }
.admin-bar a:hover { background: rgba(255,255,255,.15); color: #fff; }
.admin-bar a:first-child { background: #d98e32; }
.preview-flag { display: block; text-align: center; background: #fff3cd; color: #6b4c00; font: 600 .85rem system-ui, sans-serif; padding: .4rem; }
.preview-flag--section { position: absolute; top: 0; left: 0; z-index: 3; padding: .25rem .6rem; border-radius: 0 0 6px 0; }
.sec--hidden-preview { outline: 3px dashed #e0a800; outline-offset: -3px; opacity: .7; }

/* ---------- Composants partagés avec l'administration ---------- */
.login { max-width: 380px; margin: 3rem auto; padding: 2rem; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.login__form { display: flex; flex-direction: column; gap: .5rem; }
.dashboard__content { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.25rem; }
.dashboard__card { padding: 1.25rem; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.dashboard__card h3 { font-size: 1rem; margin-bottom: .4rem; }
.dashboard__card p { font-size: 1.6rem; font-weight: 700; color: var(--accent); margin-bottom: .9rem; }
.logo__preview img { max-width: 300px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   Boutique (offre Commerce)
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn--small { padding: .5rem 1rem; font-size: .9rem; }
.header__cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; color: var(--header-text, inherit); }
.header__cart:hover { background: color-mix(in srgb, currentColor 10%, transparent); color: var(--header-text, inherit); }
.header__cart-n { position: absolute; top: 1px; right: -2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: var(--on-accent, #fff); font-size: .72rem; font-weight: 700; line-height: 19px; text-align: center; }

.shop-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; }
.sec--align-centre .shop-filters { justify-content: center; }
.shop-filters a { padding: .4rem .95rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--text) 18%, transparent); color: inherit; text-decoration: none; font-size: .92rem; }
.shop-filters a:hover { border-color: var(--primary); color: var(--primary); }
.shop-filters a.active { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }

.product-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); text-align: left; }
.product-grid--2 { --cols: 2; } .product-grid--3 { --cols: 3; } .product-grid--4 { --cols: 4; }
@media (max-width: 960px) { .product-grid--3, .product-grid--4 { --cols: 2; } }
@media (max-width: 560px) { .product-grid { --cols: 1 !important; } }
.product-card { display: flex; flex-direction: column; background: var(--surface); color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.product-card__img { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--tint); overflow: hidden; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-card__img img { transform: scale(1.04); }
.product-card__noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: color-mix(in srgb, var(--text) 35%, transparent); }
.product-card__flag { position: absolute; top: .75rem; left: .75rem; padding: .2rem .6rem; border-radius: 4px; background: #1f2421; color: #fff; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.product-card__flag--promo { background: var(--accent); color: var(--on-accent, #fff); }
.product-card.is-out .product-card__img img { opacity: .55; }
.product-card__body { display: flex; flex-direction: column; gap: .4rem; padding: 1rem 1.1rem 1.2rem; flex: 1; }
.product-card__title { font-size: 1.05rem; margin: 0; }
.product-card__title a { color: inherit; text-decoration: none; }
.product-card__text { font-size: .92rem; opacity: .8; margin: 0; }
.product-card__price { margin: auto 0 .35rem; font-size: 1.05rem; }
.product-card__price strong { color: var(--primary); }
.product-card__old, .product__price s { opacity: .55; font-weight: 400; }
.product-card .btn { align-self: flex-start; }

.shop-page { padding: 2.5rem 0 4rem; }
.shop-wrap--narrow { max-width: 860px; }
.shop-title { font-size: calc(2rem * var(--title-scale)); margin-bottom: 1.25rem; }
.shop-crumbs { font-size: .9rem; margin-bottom: 1.25rem; opacity: .85; }
.shop-crumbs a { color: inherit; }
.shop-test-banner { background: #fff4d6; color: #6b4a00; border-bottom: 1px solid #f3d98b; text-align: center; padding: .55rem 1rem; font-size: .92rem; margin: -2.5rem 0 2rem; }

.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
@media (max-width: 820px) { .product { grid-template-columns: 1fr; gap: 1.5rem; } }
.product__main { aspect-ratio: 1 / 1; background: var(--tint); border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.product__main img { width: 100%; height: 100%; object-fit: cover; }
.product__thumbs { display: flex; gap: .6rem; margin-top: .75rem; flex-wrap: wrap; }
.product__thumb { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: calc(var(--radius) * .6); overflow: hidden; cursor: pointer; background: var(--tint); }
.product__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product__thumb.active { border-color: var(--primary); }
.product__cat { text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; opacity: .7; margin-bottom: .35rem; }
.product__title { font-size: calc(2rem * var(--title-scale)); margin-bottom: .6rem; }
.product__price { font-size: 1.5rem; margin-bottom: 1rem; }
.product__price strong { color: var(--primary); }
.product__price small { font-size: .8rem; opacity: .7; }
.product__lead { margin-bottom: 1rem; }
.product__stock { font-size: .92rem; font-weight: 600; margin-bottom: 1.1rem; }
.product__stock::before { content: "●"; margin-right: .4rem; }
.product__stock--ok { color: #23824a; } .product__stock--warn { color: #b26b00; } .product__stock--out { color: #b42318; }
.product__form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.product__form select, .product__qty input, .checkout input[type="text"], .checkout input[type="email"], .checkout input[type="tel"], .checkout select, .checkout textarea, .cart__qty {
  width: 100%; padding: .7rem .85rem; border: 1px solid color-mix(in srgb, var(--text) 22%, transparent); border-radius: calc(var(--radius) * .75); font: inherit; background: var(--surface); color: var(--text);
}
.product__form select { margin-bottom: 1rem; }
.product__buy { display: flex; gap: .75rem; align-items: flex-end; }
.product__qty { width: 96px; flex: none; margin: 0 !important; }
.product__qty span { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.product__buy .btn { flex: 1; justify-content: center; }
.product__buy .btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.product__more { margin-top: .6rem; background: none; border: 0; padding: 0; font: inherit; font-size: .9rem; color: inherit; text-decoration: underline; cursor: pointer; opacity: .8; }
.product__reassure { list-style: none; margin: 1.5rem 0 0; padding: 1rem 0 0; border-top: 1px solid color-mix(in srgb, var(--text) 12%, transparent); font-size: .9rem; display: grid; gap: .35rem; }
.product__reassure li::before { content: "✓"; color: var(--primary); font-weight: 700; margin-right: .5rem; }
.product__desc { margin-top: 3rem; max-width: 820px; }

.cart__table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cart__table th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; padding: .8rem 1rem; background: var(--tint); }
.cart__table td { padding: .85rem 1rem; border-top: 1px solid color-mix(in srgb, var(--text) 10%, transparent); vertical-align: middle; }
.cart__item { display: flex; gap: .85rem; align-items: center; }
.cart__item a { color: inherit; font-weight: 600; text-decoration: none; }
.cart__item small { display: block; opacity: .7; }
.cart__img { width: 56px; height: 56px; object-fit: cover; border-radius: calc(var(--radius) * .5); flex: none; }
.cart__qty { width: 76px; padding: .45rem .5rem; }
.cart__remove { background: none; border: 0; font-size: 1rem; cursor: pointer; color: inherit; opacity: .55; padding: .3rem; }
.cart__remove:hover { opacity: 1; color: #b42318; }
.cart__default { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cart__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 1rem 0 2.5rem; flex-wrap: wrap; }
.cart__subtotal { font-size: 1.1rem; }
@media (max-width: 640px) {
  .cart__table thead { display: none; }
  .cart__table tr { display: grid; grid-template-columns: 1fr auto; padding: .75rem; border-top: 1px solid color-mix(in srgb, var(--text) 10%, transparent); }
  .cart__table td { border: 0; padding: .25rem; }
  .cart__table td.cart__item { grid-column: 1 / -1; }
  .cart__table td[data-label]::before { content: attr(data-label) " : "; font-size: .85rem; opacity: .7; }
}
.shop-empty { text-align: center; padding: 3rem 1rem; background: var(--surface); border-radius: var(--radius); }

.checkout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } }
.checkout__box { border: 0; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem 1.4rem 1.4rem; margin-bottom: 1.25rem; }
.checkout__box legend { font-family: var(--font-title); font-weight: var(--title-weight); font-size: 1.15rem; padding: 0; float: left; width: 100%; margin-bottom: 1rem; color: var(--heading); }
.checkout__box legend + * { clear: both; }
.checkout label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .85rem; }
.checkout label input, .checkout label select { margin-top: .3rem; font-weight: 400; }
.checkout__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.checkout__row--cp { grid-template-columns: 140px 1fr; }
@media (max-width: 560px) { .checkout__row, .checkout__row--cp { grid-template-columns: 1fr; } }
.checkout__mode { display: flex !important; gap: .75rem; align-items: flex-start; padding: .85rem 1rem; border: 1px solid color-mix(in srgb, var(--text) 16%, transparent); border-radius: calc(var(--radius) * .75); cursor: pointer; font-weight: 400 !important; }
.checkout__mode:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.checkout__mode input { margin-top: .3rem; accent-color: var(--primary); }
.checkout__mode span { flex: 1; }
.checkout__mode small { display: block; opacity: .75; font-size: .85rem; }
.checkout__mode em { font-style: normal; font-weight: 700; white-space: nowrap; }
.checkout__address { margin-top: 1rem; }
.checkout__summary { position: sticky; top: calc(var(--header-h, 72px) + 1rem); background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem; }
.checkout__summary h2 { font-size: 1.2rem; margin-bottom: 1rem; }
.checkout__summary dl { display: grid; grid-template-columns: 1fr auto; gap: .45rem 1rem; margin-bottom: 1rem; }
.checkout__summary dd { text-align: right; }
.checkout__total { font-weight: 700; font-size: 1.15rem; padding-top: .5rem; border-top: 1px solid color-mix(in srgb, var(--text) 14%, transparent); }
.checkout__check { display: flex !important; gap: .6rem; font-weight: 400 !important; font-size: .88rem !important; }
.checkout__check input { margin-top: .2rem; accent-color: var(--primary); flex: none; }
.checkout__pay { width: 100%; justify-content: center; margin-top: .5rem; font-size: 1.05rem; }
.checkout__secure { font-size: .82rem; opacity: .75; text-align: center; margin-top: .6rem; }

.shop-thanks { text-align: center; margin-bottom: 1.5rem; }
.order-box { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem 1.5rem; margin: 1.25rem 0; }
.order-box__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.order-box__items { width: 100%; border-collapse: collapse; }
.order-box__items td { padding: .6rem .25rem; border-bottom: 1px solid color-mix(in srgb, var(--text) 10%, transparent); vertical-align: top; }
.order-box__items .num { text-align: right; white-space: nowrap; }
.order-box__items .btn { margin-top: .5rem; }
.order-box__total td { font-weight: 700; font-size: 1.1rem; border-bottom: 0; }
.order-box__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.25rem; }
.order-box__cols h2 { font-size: 1rem; margin-bottom: .4rem; }
@media (max-width: 640px) { .order-box__cols { grid-template-columns: 1fr; } }
.shop-badge { display: inline-block; padding: .25rem .7rem; border-radius: 999px; font-size: .82rem; font-weight: 700; background: #eceff3; color: #374151; white-space: nowrap; }
.shop-badge--payee, .shop-badge--preparation { background: #e0ecff; color: #1d4ed8; }
.shop-badge--expediee, .shop-badge--prete, .shop-badge--livree { background: #dcf5e5; color: #166534; }
.shop-badge--attente { background: #fff4d6; color: #8a5a00; }
.shop-badge--annulee, .shop-badge--echec, .shop-badge--remboursee { background: #fde7e7; color: #9f1d1d; }
