/* =========================================================================
   OCSIA2 — feuille de style du site public
   Les couleurs, polices et tailles viennent de /theme.css (charte graphique).
   Chaque site ajoute son habillage dans assets/site/habillage.css.
   ========================================================================= */

/* Valeurs de secours seulement : « :where » leur donne une priorité nulle, pour que /theme.css (chargé avant)
   l'emporte toujours. Avant le 12/10/2026, ce bloc écrasait la charte du client (couleurs, polices, tailles). */
:where(:root) {
  --c-primaire: #4b176f; --c-secondaire: #c9a24d; --c-accent: #7d5f17; --c-fond: #fbfaf6; --c-surface: #fff; --c-texte: #24152b; --c-doux: #5e5468;
  --c-primaire-txt: #fff; --c-secondaire-txt: #111;
  --police-titres: ui-serif, Georgia, serif; --police-texte: system-ui, sans-serif;
  --taille-base: 1.125rem; --rayon: 10px; --largeur: 1200px; --densite: 1;
  --t-xs: .64rem; --t-s: .8rem; --t-m: 1rem; --t-l: 1.25rem; --t-xl: 1.56rem; --t-xxl: clamp(1.4rem, 1.2rem + 1.5vw, 1.95rem); --t-xxxl: clamp(1.8rem, 1.4rem + 2vw, 2.44rem); --t-h1: clamp(2.2rem, 1.6rem + 3vw, 3.05rem); --t-geant: clamp(2.6rem, 1.8rem + 4.5vw, 3.8rem); --t-mega: clamp(2.4rem, 1.9rem + 4vw, 4.77rem); --t-titan: clamp(3rem, 2.4rem + 5vw, 5.96rem);
  --espace: calc(clamp(3rem, 2rem + 4vw, 6rem) * var(--densite));
  --marge: clamp(1rem, .5rem + 2.5vw, 2.5rem);
  --bordure: color-mix(in srgb, var(--c-texte) 14%, transparent);
  --ombre: 0 1px 2px rgb(0 0 0 / .06), 0 8px 24px rgb(0 0 0 / .06);
  --transition: 180ms cubic-bezier(.2, .7, .2, 1);
  color-scheme: light dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--c-fond); color: var(--c-texte); font-family: var(--police-texte); font-size: var(--taille-base); line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, picture, video, svg, model-viewer { display: block; max-width: 100%; height: auto; }
picture img { width: 100%; }
h1, h2, h3, h4 { font-family: var(--police-titres); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-xxxl); }
h3 { font-size: var(--t-xl); }
h4 { font-size: var(--t-l); }
p, ul, ol, blockquote, figure, dl { margin: 0 0 1em; }
p { text-wrap: pretty; }
a { color: var(--c-primaire-sur-fond, var(--c-primaire)); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--c-secondaire) 45%, transparent); }
hr, .separateur { border: 0; border-top: 1px solid var(--bordure); margin: 2rem 0; }
code { font-family: ui-monospace, monospace; font-size: .9em; }
small { font-size: var(--t-s); }

.visuellement-cache { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lien-evitement { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--c-texte); color: var(--c-fond); padding: .6rem 1rem; border-radius: var(--rayon); }
.lien-evitement:focus { top: 1rem; }
.piege { position: absolute !important; left: -9999px; }
.icone { width: 1.25em; height: 1.25em; flex: none; }
.cache-mobile { } .cache-ordi { }
@media (max-width: 760px) { .cache-mobile { display: none !important; } }
@media (min-width: 761px) { .cache-ordi { display: none !important; } }

/* ---------- Boutons ---------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: .7em 1.35em; border-radius: var(--rayon); border: 2px solid transparent; font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform var(--transition), background var(--transition), box-shadow var(--transition); }
.bouton:hover { transform: translateY(-1px); }
.bouton:active { transform: translateY(0); }
.bouton--principal { background: var(--c-primaire); color: var(--c-primaire-txt); }
.bouton--principal:hover { box-shadow: 0 6px 18px color-mix(in srgb, var(--c-primaire) 35%, transparent); }
.bouton--secondaire, .bouton--contour { background: transparent; color: var(--c-primaire-sur-fond, var(--c-primaire)); border-color: currentColor; }
.bouton--lien { background: none; border: 0; padding: .3em 0; min-height: 0; color: var(--c-primaire-sur-fond, var(--c-primaire)); text-decoration: underline; }
.bouton--danger { background: #b42318; color: #fff; }
.boutons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.boutons.a-centre { justify-content: center; } .boutons.a-droite { justify-content: flex-end; }
.lien { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- En-tête et menus ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--c-fond) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--bordure); }
.entete__in { max-width: var(--largeur); margin: 0 auto; padding: .6rem var(--marge); display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--c-texte); font-family: var(--police-titres); font-weight: 700; font-size: var(--t-l); margin-right: auto; }
.logo__img img, .logo picture img { max-height: 44px; width: auto; }
.nav__liste { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; align-items: center; }
.nav__liste a, .nav__groupe summary { display: inline-flex; align-items: center; gap: .4em; padding: .55rem .8rem; min-height: 44px; border-radius: var(--rayon); color: var(--c-texte); text-decoration: none; font-weight: 500; cursor: pointer; }
.nav__liste a:hover, .nav__groupe summary:hover { background: color-mix(in srgb, var(--c-texte) 6%, transparent); }
.nav__liste a[aria-current="page"] { color: var(--c-primaire-sur-fond, var(--c-primaire)); box-shadow: inset 0 -2px 0 var(--c-primaire); }
.nav__liste a.bouton { color: var(--c-primaire-txt); }
.nav__groupe { position: relative; } .nav__groupe summary { list-style: none; } .nav__groupe summary::-webkit-details-marker { display: none; }
.nav__groupe summary::after { content: "▾"; font-size: .8em; }
.nav__groupe ul { position: absolute; top: 100%; left: 0; min-width: 14rem; list-style: none; margin: .25rem 0 0; padding: .4rem; background: var(--c-surface); border: 1px solid var(--bordure); border-radius: var(--rayon); box-shadow: var(--ombre); }
.nav__groupe ul a { display: flex; width: 100%; }
.entete__outils { display: flex; align-items: center; gap: .25rem; }
.entete__outils > a, .bouton-theme, .bouton-menu, .langues summary { display: inline-flex; align-items: center; gap: .3em; justify-content: center; min-width: 44px; min-height: 44px; border-radius: var(--rayon); background: none; border: 0; color: var(--c-texte); cursor: pointer; font: inherit; list-style: none; }
.langues { position: relative; } .langues summary::-webkit-details-marker { display: none; }
.langues ul { position: absolute; right: 0; top: 100%; list-style: none; padding: .4rem; margin: .25rem 0 0; background: var(--c-surface); border: 1px solid var(--bordure); border-radius: var(--rayon); box-shadow: var(--ombre); min-width: 10rem; }
.langues ul a { display: block; padding: .5rem .75rem; text-decoration: none; color: var(--c-texte); border-radius: 6px; }
.entete__panier { position: relative; }
.panier-nb { position: absolute; top: 4px; right: 2px; min-width: 1.2rem; height: 1.2rem; padding: 0 .3rem; border-radius: 1rem; background: var(--c-accent); color: #fff; font-size: .7rem; display: grid; place-items: center; }
.bouton-menu { display: none; }
@media (max-width: 900px) {
  .bouton-menu { display: inline-flex; }
  .nav { position: fixed; inset: 64px 0 auto 0; max-height: calc(100dvh - 64px); overflow: auto; background: var(--c-fond); border-bottom: 1px solid var(--bordure); padding: 1rem var(--marge) 2rem; transform: translateY(-110%); visibility: hidden; transition: transform var(--transition), visibility var(--transition); }
  .nav.ouvert { transform: none; visibility: visible; }
  .nav__liste { flex-direction: column; align-items: stretch; }
  .nav__liste a, .nav__groupe summary { font-size: var(--t-l); }
  .nav__groupe ul { position: static; box-shadow: none; border: 0; padding-left: 1rem; }
}
/* Style centré */
.menu-centre .entete__in { flex-wrap: wrap; justify-content: center; }
.menu-centre .logo { margin: 0 auto; width: 100%; justify-content: center; }
@media (min-width: 901px) { .menu-centre .nav { width: 100%; display: flex; justify-content: center; } .menu-centre .entete__outils { position: absolute; right: var(--marge); top: .6rem; } }
/* Style latéral : le menu glisse depuis le côté, à toutes les tailles */
.menu-lateral .bouton-menu { display: inline-flex; }
.menu-lateral .nav { position: fixed; inset: 0 0 0 auto; width: min(24rem, 88vw); background: var(--c-surface); box-shadow: -10px 0 40px rgb(0 0 0 / .15); padding: 5rem 1.5rem 2rem; transform: translateX(105%); visibility: hidden; transition: transform var(--transition), visibility var(--transition); z-index: 60; }
.menu-lateral .nav.ouvert { transform: none; visibility: visible; }
.menu-lateral .nav__liste { flex-direction: column; align-items: stretch; }
.menu-lateral .nav__liste a { font-family: var(--police-titres); font-size: var(--t-xl); }
/* Style palette : un champ qui cherche partout (⌘K) */
.palette-bouton { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: .4rem .9rem; border: 1px solid var(--bordure); border-radius: 999px; background: var(--c-surface); color: var(--c-doux); font: inherit; cursor: pointer; flex: 1; max-width: 26rem; }
.palette-bouton kbd { margin-left: auto; font-size: .75rem; border: 1px solid var(--bordure); border-radius: 4px; padding: 0 .35rem; }
.menu-palette .nav { display: none; }
.menu-palette .bouton-menu { display: none; }
.palette { width: min(40rem, 94vw); max-height: 70dvh; border: 0; border-radius: calc(var(--rayon) * 1.5); padding: 0; background: var(--c-surface); color: var(--c-texte); box-shadow: 0 30px 80px rgb(0 0 0 / .35); }
.palette::backdrop { background: rgb(0 0 0 / .35); backdrop-filter: blur(4px); }
.palette input { width: 100%; border: 0; border-bottom: 1px solid var(--bordure); padding: 1.1rem 1.25rem; font: inherit; font-size: var(--t-l); background: transparent; color: inherit; }
.palette input:focus { outline: none; }
.palette__liste { list-style: none; margin: 0; padding: .5rem; overflow: auto; max-height: 55dvh; }
.palette__liste a { display: block; padding: .7rem .9rem; border-radius: var(--rayon); text-decoration: none; color: var(--c-texte); }
.palette__liste a:hover, .palette__liste a[aria-selected="true"] { background: color-mix(in srgb, var(--c-primaire) 10%, transparent); }
.palette__liste small { display: block; color: var(--c-doux); }
.palette__vide { padding: 1rem 1.25rem; color: var(--c-doux); }
/* Style dock : barre flottante en bas, comme une application */
@media (max-width: 900px) {
  .menu-dock .bouton-menu { display: none; }
  .menu-dock .nav { position: fixed; inset: auto 50% calc(.8rem + env(safe-area-inset-bottom)) auto; transform: translateX(50%); visibility: visible; width: auto; max-width: 94vw; padding: .35rem; border-radius: 999px; background: color-mix(in srgb, var(--c-surface) 92%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 10px 40px rgb(0 0 0 / .2); border: 1px solid var(--bordure); overflow-x: auto; }
  .menu-dock .nav__liste { flex-direction: row; }
  .menu-dock .nav__liste a { flex-direction: column; gap: .1rem; font-size: .72rem; padding: .4rem .8rem; border-radius: 999px; white-space: nowrap; }
  .menu-dock main { padding-bottom: 5rem; }
}

/* ---------- Blocs ---------- */
.bloc { position: relative; padding-block: var(--espace); isolation: isolate; }
.bloc__in { max-width: var(--largeur); margin: 0 auto; padding-inline: var(--marge); }
.bloc + .bloc:not([class*="fond-"]) { padding-top: calc(var(--espace) * .5); }
.espace-s { padding-block: calc(var(--espace) * .4); } .espace-m { padding-block: calc(var(--espace) * .7); } .espace-l { padding-block: var(--espace); } .espace-xl { padding-block: calc(var(--espace) * 1.6); } .espace-0 { padding-block: 0; }
.largeur-etroit .bloc__in, .bloc__in.largeur-etroit { max-width: 46rem; } .largeur-large .bloc__in { max-width: calc(var(--largeur) + 200px); } .largeur-plein .bloc__in { max-width: none; padding-inline: 0; }
.align-centre { text-align: center; } .align-centre .boutons { justify-content: center; } .align-centre .section-titre, .align-centre .riche { margin-inline: auto; }
.hauteur-ecran { min-height: 100dvh; display: grid; align-items: center; } .hauteur-grande { min-height: 75dvh; display: grid; align-items: center; }
.bordure-haut { border-top: 1px solid var(--bordure); } .bordure-bas { border-bottom: 1px solid var(--bordure); }
.bloc__fond { position: absolute; inset: 0; z-index: -1; } .bloc__fond img { width: 100%; height: 100%; object-fit: cover; } .bloc__fond::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .25), rgb(0 0 0 / .55)); }
.bloc:has(.bloc__fond) { color: #fff; } .bloc:has(.bloc__fond) a:not(.bouton) { color: inherit; }
[class*="fond-"] { color: inherit; }
.texte-clair { color: #fff; } .texte-clair a:not(.bouton) { color: inherit; }
/* Petit texte d'appui, facultatif et vide par défaut : pas de capitales espacées « par défaut » (un tic des sites générés). */
.surtitre { font-size: var(--t-s); font-weight: 600; color: var(--c-doux, var(--c-primaire)); margin-bottom: .6rem; }
.section-titre { max-width: 46rem; margin-bottom: 2rem; }
.riche { max-width: 70ch; } .riche > :last-child { margin-bottom: 0; }
.align-centre .riche { margin-inline: auto; }
.riche blockquote { border-left: 4px solid var(--c-secondaire); margin-left: 0; padding-left: 1.25rem; font-style: italic; }
.riche ul.liste-coches, .riche ul.liste-fleches { list-style: none; padding-left: 0; }
.riche ul.liste-coches li::before { content: "✓"; color: var(--c-primaire-sur-fond, var(--c-primaire)); font-weight: 700; margin-right: .6rem; }
.riche ul.liste-fleches li::before { content: "→"; color: var(--c-primaire-sur-fond, var(--c-primaire)); margin-right: .6rem; }
.lettrine::first-letter { float: left; font-family: var(--police-titres); font-size: 3.6em; line-height: .8; margin: .08em .1em 0 0; color: var(--c-primaire-sur-fond, var(--c-primaire)); }
.encadre { background: color-mix(in srgb, var(--c-secondaire) 18%, transparent); border-radius: var(--rayon); padding: 1rem 1.25rem; }
.note { color: var(--c-doux); font-size: var(--t-s); }
.deux-colonnes { columns: 2 20rem; column-gap: 3rem; max-width: none; }
.media img { border-radius: var(--rayon); }
.taille-s { max-width: 240px; } .taille-m { max-width: 420px; } .taille-l { max-width: 720px; } .taille-plein { max-width: none; }
.align-centre .media { margin-inline: auto; }
/* Mise en forme des textes (barre d'édition) */
.a-gauche { text-align: left; } .a-centre { text-align: center; } .a-droite { text-align: right; } .a-justifie { text-align: justify; hyphens: auto; }
.t-xs { font-size: var(--t-xs); } .t-s { font-size: var(--t-s); } .t-m { font-size: var(--t-m); } .t-l { font-size: var(--t-l); } .t-xl { font-size: var(--t-xl); } .t-xxl { font-size: var(--t-xxl); } .t-xxxl { font-size: var(--t-xxxl); } .t-h1 { font-size: var(--t-h1); } .t-geant { font-size: var(--t-geant); } .t-mega { font-size: var(--t-mega); } .t-titan { font-size: var(--t-titan); }
.g-300 { font-weight: 300; } .g-400 { font-weight: 400; } .g-500 { font-weight: 500; } .g-600 { font-weight: 600; } .g-700 { font-weight: 700; } .g-800 { font-weight: 800; }
.i-oui { font-style: italic; } .maj { text-transform: uppercase; letter-spacing: .06em; } .souligne { text-decoration: underline; } .barre { text-decoration: line-through; }
mark { background: color-mix(in srgb, var(--c-secondaire) 55%, transparent); color: inherit; padding: 0 .15em; border-radius: 3px; }

/* Hero */
.hero { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero__titre { font-size: var(--t-geant); }
.hero__intro { font-size: var(--t-l); color: var(--c-doux); }
.v-centre .hero { text-align: center; justify-items: center; } .v-centre .hero .boutons { justify-content: center; } .v-centre .hero__intro { margin-inline: auto; }
.v-centre .hero .media { width: 100%; margin-top: 1rem; }
@media (min-width: 900px) { .v-scinde .hero { grid-template-columns: 1.05fr 1fr; } }
.v-scinde .hero .media img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: calc(var(--rayon) * 2); }
.bloc--hero.v-plein { padding: 0; min-height: min(92dvh, 900px); display: grid; color: #fff; }
.v-plein .bloc__in { display: grid; align-items: end; padding-block: calc(var(--espace) * 1.2); width: 100%; }
.v-plein .hero { position: relative; } .v-plein .hero__intro { color: rgb(255 255 255 / .9); }
.v-plein .hero .media { position: absolute; inset: calc(-1 * var(--espace) * 1.2) calc(-1 * var(--marge)); z-index: -1; height: calc(100% + var(--espace) * 2.4); max-width: none; }
.v-plein .hero .media img, .v-plein .hero .media picture { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.v-plein .hero .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / .65), rgb(0 0 0 / .1) 60%); }
.v-plein .surtitre { color: var(--c-secondaire); }
.v-plein .bouton--secondaire { color: #fff; }
/* Pas encore de photo : la couleur principale du site, pour que le texte blanc reste lisible (18/10/2026). */
.bloc--hero.v-plein:not(:has(.media img)) { background: var(--c-primaire); color: var(--c-primaire-txt, #fff); }
.v-plein:not(:has(.media img)) .hero .media::after { display: none; }
.v-minimal .hero__titre { font-size: var(--t-h1); max-width: 18ch; }
/* Fond du grand titre (R96) : diaporama et mini-vidéo posés sur l'image, dans sa boîte. L'image reste dessous (repli). */
.hero__media--anime { position: relative; overflow: hidden; }
.hero__diapo, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__diapo-img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__diapo-img picture, .hero__diapo-img img, .hero__video { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.hero__diapo-img--active { opacity: 1; }
.hero__video { opacity: 0; transition: opacity .6s ease; } .hero__video--prete { opacity: 1; }
.v-scinde .hero__diapo-img img, .v-scinde .hero__video { border-radius: calc(var(--rayon) * 2); }
@media (prefers-reduced-motion: reduce) { .hero__diapo, .hero__video { display: none; } }

/* En-tête de page */
.entete-page { max-width: 52rem; }
.v-couverture .entete-page, .v-magazine .entete-page { max-width: none; }
.entete-page__resume { font-size: var(--t-l); color: var(--c-doux); max-width: 46rem; }
.entete-page__date { color: var(--c-doux); font-size: var(--t-s); }
.entete-page .media { margin-top: 2rem; } .entete-page .media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.v-magazine .entete-page { display: grid; gap: 2rem; } @media (min-width: 900px) { .v-magazine .entete-page { grid-template-columns: 1fr 1fr; align-items: end; } .v-magazine .entete-page .media { grid-row: 1 / 5; grid-column: 2; margin: 0; } .v-magazine .entete-page .media img { aspect-ratio: 3 / 4; } }

/* Texte + image */
.texte-image { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
@media (min-width: 900px) { .v-droite .texte-image, .v-gauche .texte-image { grid-template-columns: 1fr 1fr; } .v-gauche .texte-image .media { order: -1; } }
.texte-image .media img { border-radius: calc(var(--rayon) * 1.5); }
.v-superpose .texte-image { position: relative; } .v-superpose .texte-image__texte { position: relative; z-index: 1; background: var(--c-surface); padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--rayon); box-shadow: var(--ombre); max-width: 36rem; margin-top: -6rem; margin-inline: auto; }
.v-superpose .texte-image .media { order: -1; }

/* Section libre (colonnes et éléments) */
.libre { display: grid; gap: clamp(1.25rem, 3vw, 3rem); }
@media (min-width: 760px) {
  .colonnes-1-1 { grid-template-columns: 1fr 1fr; } .colonnes-2-1 { grid-template-columns: 2fr 1fr; } .colonnes-1-2 { grid-template-columns: 1fr 2fr; }
  .colonnes-1-1-1 { grid-template-columns: repeat(3, 1fr); } .colonnes-1-1-1-1 { grid-template-columns: repeat(2, 1fr); }
  /* Cinq et six colonnes (R96) : trois par ligne sur tablette, une seule au téléphone (sous 760 px). */
  .colonnes-1-1-1-1-1, .colonnes-1-1-1-1-1-1 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) { .colonnes-1-1-1-1 { grid-template-columns: repeat(4, 1fr); } .colonnes-1-1-1-1-1 { grid-template-columns: repeat(5, 1fr); } .colonnes-1-1-1-1-1-1 { grid-template-columns: repeat(6, 1fr); } }
.colonne { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.el { min-width: 0; } .el > :last-child { margin-bottom: 0; }
.el.align-centre { text-align: center; } .el.align-droite { text-align: right; }
.el.fond-carte, .el--carte .carte { background: var(--c-surface); border-radius: var(--rayon); padding: 1.25rem; box-shadow: var(--ombre); }
.el.arrondi-rond img { border-radius: 50%; } .el.ombre-oui { box-shadow: var(--ombre); border-radius: var(--rayon); }
.el-icone { display: flex; align-items: center; gap: .6rem; font-weight: 600; } .el-icone__pic .icone { width: 1.75rem; height: 1.75rem; color: var(--c-primaire-sur-fond, var(--c-primaire)); }
.ajouts--haut { margin-bottom: 1.5rem; } .ajouts--bas { margin-top: 1.5rem; }

/* Cartes */
.cartes { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1rem, 2vw, 1.75rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.carte { position: relative; background: var(--c-surface); border-radius: calc(var(--rayon) * 1.4); padding: clamp(1.25rem, 2.5vw, 2rem); box-shadow: var(--ombre); border: 1px solid var(--bordure); transition: transform var(--transition), box-shadow var(--transition); }
.carte:has(.carte__lien):hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgb(0 0 0 / .1); }
.carte__img img { border-radius: var(--rayon); aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 1rem; }
.carte__icone { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: color-mix(in srgb, var(--c-primaire) 12%, transparent); color: var(--c-primaire-sur-fond, var(--c-primaire)); margin-bottom: 1rem; }
.carte__titre { font-size: var(--t-l); }
.carte__lien { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end; padding: 1rem; color: var(--c-primaire-sur-fond, var(--c-primaire)); }
.v-liste .cartes { grid-template-columns: 1fr; } .v-liste .carte { display: grid; grid-template-columns: auto 1fr; gap: 1rem; box-shadow: none; }
@media (min-width: 900px) { .v-bento .cartes { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(12rem, auto); } .v-bento .carte:nth-child(5n + 1) { grid-column: span 2; grid-row: span 2; } .v-bento .carte:nth-child(5n + 4) { grid-column: span 2; } }
.v-defilement .cartes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; } .v-defilement .carte { flex: 0 0 min(80%, 20rem); scroll-snap-align: start; }

/* Étapes */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; counter-reset: etape; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.etape { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.etape__num { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--c-primaire); color: var(--c-primaire-txt); font-weight: 700; font-family: var(--police-titres); }
.v-frise .etapes { grid-template-columns: 1fr; border-left: 2px solid var(--bordure); padding-left: 1.5rem; } .v-frise .etape__num { margin-left: -2.9rem; }
.v-chemin .etapes { grid-template-columns: 1fr; max-width: 40rem; } .v-chemin .etape:nth-child(even) { margin-left: auto; text-align: right; grid-template-columns: 1fr auto; } .v-chemin .etape:nth-child(even) .etape__num { order: 2; }

/* Chiffres */
.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: 1.5rem; margin: 0; }
.chiffres .chiffre { display: flex; flex-direction: column-reverse; }
.chiffres dd { margin: 0; } .chiffre__valeur { font-family: var(--police-titres); font-size: var(--t-xxxl); font-weight: 700; color: var(--c-primaire-sur-fond, var(--c-primaire)); line-height: 1; }
.chiffres dt { color: var(--c-doux); }
.v-grand .chiffre__valeur { font-size: var(--t-geant); }

/* Galerie */
.galerie { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }
.galerie figure { margin: 0; } .galerie img { aspect-ratio: 1; object-fit: cover; border-radius: var(--rayon); }
.galerie figcaption { font-size: var(--t-s); color: var(--c-doux); margin-top: .35rem; }
.v-mosaique .galerie { columns: 3 14rem; display: block; } .v-mosaique .galerie li { break-inside: avoid; margin-bottom: .75rem; } .v-mosaique .galerie img { aspect-ratio: auto; }
.v-carrousel .galerie { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; } .v-carrousel .galerie li { flex: 0 0 min(85%, 34rem); scroll-snap-align: center; } .v-carrousel .galerie img { aspect-ratio: 4 / 3; }
.v-pleine .galerie { grid-template-columns: 1fr; } .v-pleine .galerie img { aspect-ratio: auto; }

/* Vidéo (façade : rien ne charge avant le clic) */
.video-facade__bouton { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; border-radius: var(--rayon); overflow: hidden; cursor: pointer; aspect-ratio: 16 / 9; }
.video-facade__bouton img, .video-facade__bouton picture { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-facade__vide { position: absolute; inset: 0; background: linear-gradient(135deg, var(--c-primaire), var(--c-texte)); }
.video-facade__play { position: absolute; inset: 0; margin: auto; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: rgb(255 255 255 / .92); }
.video-facade__play::after { content: ""; position: absolute; left: 1.8rem; top: 1.35rem; border-left: 1.4rem solid var(--c-texte); border-top: .9rem solid transparent; border-bottom: .9rem solid transparent; }
.video-facade__note { font-size: var(--t-xs); color: var(--c-doux); margin-top: .4rem; }
.video-facade iframe, .video video { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--rayon); }

/* Objet 3D */
.objet3d { display: grid; gap: 2rem; align-items: center; } @media (min-width: 900px) { .v-cote .objet3d { grid-template-columns: 1fr 1.3fr; } }
.objet3d__scene model-viewer { width: 100%; height: clamp(320px, 55vh, 620px); background: radial-gradient(circle at 50% 40%, var(--c-surface), color-mix(in srgb, var(--c-texte) 6%, var(--c-fond))); border-radius: calc(var(--rayon) * 1.5); --poster-color: transparent; }

/* Citation */
.citation { margin: 0; max-width: 46rem; } .citation blockquote { margin: 0; font-family: var(--police-titres); font-size: var(--t-xl); line-height: 1.35; }
.v-grande .citation blockquote { font-size: var(--t-xxxl); } .citation figcaption { margin-top: 1rem; display: flex; flex-direction: column; }
.citation__auteur { font-weight: 700; } .citation__role { color: var(--c-doux); font-size: var(--t-s); }
.citation__photo img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; }
.align-centre .citation { margin-inline: auto; } .align-centre .citation__photo img { margin-inline: auto; }

/* Avis */
.avis { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.avis__carte { background: var(--c-surface); border-radius: var(--rayon); padding: 1.5rem; border: 1px solid var(--bordure); }
.avis__note { color: #c58a00; letter-spacing: .1em; } .avis__auteur { font-weight: 700; margin: 0; } .avis__meta { font-size: var(--t-xs); color: var(--c-doux); margin: 0; }
.avis blockquote { margin: 0 0 1rem; }

/* FAQ */
.faq { max-width: 52rem; } .align-centre .faq { margin-inline: auto; text-align: left; }
.faq__item { border-bottom: 1px solid var(--bordure); }
.faq__item summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; cursor: pointer; font-weight: 600; font-size: var(--t-l); list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.4em; line-height: 1; color: var(--c-primaire-sur-fond, var(--c-primaire)); transition: transform var(--transition); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item .riche { padding-bottom: 1.25rem; }
/* Déroulant hors FAQ (élément posé, articles en résumé, R96) : replié seulement quand JavaScript tourne. */
.deroulant { border-bottom: 1px solid var(--bordure); }
.deroulant__titre:where(:not(.deroulant__titre--repris)) { margin: 0; font-size: var(--t-l); }
.deroulant__bouton { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; margin: 0; background: none; border: 0; color: inherit; font: inherit; font-weight: 600; text-align: left; cursor: pointer; min-height: 44px; }
.deroulant__bouton:focus-visible { outline: 2px solid var(--c-secondaire); outline-offset: 3px; border-radius: 4px; }
.deroulant__signe { flex: none; width: .7em; height: .7em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-25%) rotate(45deg); color: var(--c-primaire-sur-fond, var(--c-primaire)); transition: transform var(--transition); }
.deroulant--ouvert .deroulant__signe { transform: translateY(15%) rotate(-135deg); }
.deroulant__contenu { padding-bottom: 1.1rem; }
.deroulant__formulaire { margin-top: 1rem; }
.js .deroulant:not(.deroulant--ouvert) > .deroulant__contenu { display: none; }
@media (prefers-reduced-motion: reduce) { .deroulant__signe { transition: none; } }
/* Option « Replier » (R105) : une section ou un élément dans un déroulant. Le titre repris garde sa balise, ses classes et
   donc sa typographie ; le bouton n'ajoute rien de visible (zone de toucher de 45 px par un padding compensé par une marge). */
.deroulant--repris { border-bottom: 0; }
.deroulant--repris > .deroulant__titre { display: flow-root; }
.deroulant--repris > .deroulant__titre > .deroulant__bouton { display: inline-flex; width: auto; max-width: 100%; justify-content: flex-start; gap: .45em; min-height: 0; padding: 8px 0; margin: -8px 0; padding: max(0px, calc((45px - 1lh) / 2)) 0; margin: min(0px, calc((45px - 1lh) / -2)) 0; font-weight: inherit; line-height: inherit; letter-spacing: inherit; word-spacing: inherit; text-transform: inherit; text-align: inherit; text-wrap: inherit; }
.deroulant--repris > .deroulant__titre .deroulant__signe { width: max(.36em, 9px); height: max(.36em, 9px); border-width: 0 max(2px, .07em) max(2px, .07em) 0; }
.deroulant--replier > .deroulant__contenu { padding-bottom: 0; }
/* Le grand titre centré se centre par son encadré « .hero », que le titre quitte en devenant le bouton : on lui rend son centrage. */
.bloc--hero.v-centre .deroulant--repris > .deroulant__titre { text-align: center; }
.v-deux .faq { max-width: none; columns: 2 22rem; column-gap: 3rem; } .v-deux .faq__item { break-inside: avoid; }

/* Équipe */
.equipe { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.personne__photo img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rayon); margin-bottom: 1rem; }
.personne__role { color: var(--c-doux); margin-top: -.4rem; }

/* Tarifs */
.tarifs { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); align-items: stretch; }
.tarif { display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--bordure); border-radius: calc(var(--rayon) * 1.4); padding: 2rem; }
.tarif--avant { border: 2px solid var(--c-primaire); box-shadow: var(--ombre); }
.tarif__prix { font-family: var(--police-titres); font-size: var(--t-xxxl); font-weight: 700; margin: .25rem 0 1rem; } .tarif__periode { font-size: var(--t-m); color: var(--c-doux); font-weight: 400; }
.tarif__inclus { flex: 1; } .tarif .bouton { margin-top: 1.5rem; }
.tarifs__note { margin-top: 1.5rem; color: var(--c-doux); font-size: var(--t-s); }

/* Appel à l'action */
.appel { max-width: 46rem; } .align-centre .appel, .v-bandeau .appel { margin-inline: auto; text-align: center; } .v-bandeau .appel .boutons { justify-content: center; }
.bloc--appel.v-bandeau { background: var(--c-primaire); color: var(--c-primaire-txt); } .v-bandeau .bouton--principal { background: var(--c-secondaire); color: var(--c-secondaire-txt); } .v-bandeau .bouton--secondaire { color: inherit; }
.v-carte .appel { background: var(--c-surface); border-radius: calc(var(--rayon) * 2); padding: clamp(2rem, 5vw, 4rem); box-shadow: var(--ombre); max-width: 52rem; margin-inline: auto; }
.appel__ps { margin-top: 2rem; font-style: italic; }

/* Articles */
.articles { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.article-carte { position: relative; } .article-carte img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--rayon); margin-bottom: 1rem; }
.article-carte h3 a { color: var(--c-texte); text-decoration: none; } .article-carte h3 a::after { content: ""; position: absolute; inset: 0; }
/* La suite d'un résumé (R96) passe au-dessus du lien qui couvre la carte : son bouton ou son lien se clique. */
.article-carte .deroulant, .article-carte__suite { position: relative; z-index: 1; } .article-carte .deroulant { margin-top: .5rem; border-top: 1px solid var(--bordure); }
.article-carte .deroulant__titre { font-size: var(--t-m); } .article-carte__suite { margin-top: .75rem; } .article-carte__complet { margin-top: .75rem; font-weight: 600; } .article-carte__suite a:not(.bouton) { font-weight: 600; }
.article-carte__date { color: var(--c-doux); font-size: var(--t-s); margin-bottom: .25rem; }
.v-liste .articles { grid-template-columns: 1fr; gap: 1rem; } .v-liste .article-carte { border-bottom: 1px solid var(--bordure); padding-bottom: 1rem; } .v-liste .article-carte .media { display: none; }
@media (min-width: 900px) { .v-une .articles { grid-template-columns: 2fr 1fr 1fr; } .v-une .article-carte:first-child { grid-row: span 2; } }

/* Formulaires */
.bloc-formulaire { display: grid; gap: 2rem; } @media (min-width: 900px) { .v-cote .bloc-formulaire { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.v-carte .bloc-formulaire__champ { background: var(--c-surface); padding: clamp(1.25rem, 3vw, 2.5rem); border-radius: calc(var(--rayon) * 1.5); box-shadow: var(--ombre); }
.formulaire { display: grid; gap: 1.1rem; max-width: 40rem; }
.formulaire fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1.1rem; min-width: 0; }
.formulaire [hidden] { display: none; } /* étapes suivantes, champs conditionnels, formulaire envoyé */
.formulaire legend { font-weight: 600; margin-bottom: .5rem; padding: 0; }
.champ { display: grid; gap: .35rem; }
.champ label, .champ > fieldset > legend { font-weight: 600; }
.champ__aide { color: var(--c-doux); font-size: var(--t-s); margin: 0; }
.requis { color: var(--c-accent-sur-fond, var(--c-accent)); }
input:not([type="checkbox"], [type="radio"], [type="range"], [type="color"]), select, textarea { width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1.5px solid color-mix(in srgb, var(--c-texte) 25%, transparent); border-radius: calc(var(--rayon) * .8); background: var(--c-surface); color: var(--c-texte); font: inherit; font-size: max(16px, 1rem); transition: border-color var(--transition), box-shadow var(--transition); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--c-primaire); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-primaire) 18%, transparent); }
textarea { min-height: 8rem; resize: vertical; }
[aria-invalid="true"] { border-color: #b42318 !important; }
.champ__erreur { color: #b42318; font-size: var(--t-s); font-weight: 600; margin: 0; }
.case { display: flex; gap: .65rem; align-items: flex-start; cursor: pointer; line-height: 1.4; min-height: 44px; padding-block: .3rem; }
.case input { width: 1.25rem; height: 1.25rem; margin-top: .1rem; accent-color: var(--c-primaire); flex: none; }
.case--carte { border: 1.5px solid var(--bordure); border-radius: var(--rayon); padding: .8rem 1rem; } .case--carte:has(input:checked) { border-color: var(--c-primaire); background: color-mix(in srgb, var(--c-primaire) 6%, transparent); }
.case--carte small { display: block; color: var(--c-doux); font-weight: 400; }
.echelle { display: flex; gap: .5rem; flex-wrap: wrap; }
.echelle label { position: relative; } .echelle input { position: absolute; opacity: 0; }
.echelle span { display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid var(--bordure); border-radius: 50%; cursor: pointer; font-weight: 600; transition: all var(--transition); }
.echelle input:checked + span { background: var(--c-primaire); color: var(--c-primaire-txt); border-color: var(--c-primaire); }
.echelle input:focus-visible + span { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.echelle__legendes { display: flex; justify-content: space-between; font-size: var(--t-s); color: var(--c-doux); margin: .2rem 0 0; }
input[type="range"] { width: 100%; accent-color: var(--c-primaire); }
.formulaire__progression { display: grid; gap: .3rem; font-size: var(--t-s); color: var(--c-doux); } .formulaire__progression progress { width: 100%; accent-color: var(--c-primaire); }
.formulaire__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.formulaire__message { padding: .9rem 1rem; border-radius: var(--rayon); background: color-mix(in srgb, var(--c-primaire) 10%, transparent); font-weight: 600; }
.formulaire__message.erreur { background: #fde8e7; color: #8f1c13; }
.formulaire__mention { font-size: var(--t-xs); color: var(--c-doux); }
/* Mention de confidentialité près du bouton d'envoi (controle.md § 7) : discrète mais lisible, 12 px au moins, sous le bouton. */
.mention-confidentialite, .formulaire .mention-confidentialite { flex: 1 0 100%; margin: .5rem 0 0; font-size: max(12px, var(--t-s)); line-height: 1.5; color: var(--c-doux); text-wrap: pretty; }
.mention-confidentialite a, .formulaire .mention-confidentialite a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.mention-confidentialite[hidden], .formulaire .mention-confidentialite[hidden] { display: none; }
.champ-produit { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; } .champ-produit__img img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.champ-produit input[type="number"] { max-width: 6rem; }
.champ-produit__barre { color: var(--c-doux); font-size: .9em; } .champ-produit__places { margin: .25rem 0 0; font-size: .9em; font-weight: 600; color: var(--c-primaire-sur-fond, var(--c-primaire)); }
.champ-produit__nom { margin: 0; }
.choix-paiement__test, .formulaire-apercu { margin: .4rem 0 0; padding: .5rem .75rem; border-radius: 8px; border: 1px dashed currentColor; font-size: .9em; }
.formulaire-apercu { margin-bottom: 1rem; }
.suivi-reprendre, .suivi-continuer { margin: 1rem 0; }
/* Rétractation en ligne (« renoncer au contrat ici ») et son lien dans le suivi, le compte et le pied de page. */
.retractation__commande { color: var(--c-doux); margin-top: -.25rem; }
.retractation__titre { font-size: var(--t-l); margin: 1.5rem 0 .5rem; }
.retractation__form { margin-top: 1.25rem; }
.retractation__exclu { display: grid; gap: .15rem; margin: 0; padding: .7rem 1rem; border: 1.5px dashed var(--bordure); border-radius: var(--rayon); color: var(--c-doux); }
.retractation__exclu small { font-size: var(--t-s); }
.retractation__preuve, .retractation__delai, .produit-fiche__retractation { color: var(--c-doux); font-size: var(--t-s); line-height: 1.5; }
.retractation__preuve small, .retractation__delai small, .produit-fiche__retractation small { font-size: inherit; }
.produit-fiche__retractation { margin-top: .9rem; }
.retractation__delai { margin-top: 1.5rem; }
.retractation__recue:focus { outline: none; }
.retractation__recap { display: grid; grid-template-columns: minmax(7rem, 30%) 1fr; gap: .4rem 1rem; margin: 0 0 1.5rem; }
.retractation__recap dt { color: var(--c-doux); } .retractation__recap dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 30rem) { .retractation__recap { grid-template-columns: 1fr; } .retractation__recap dd { margin-bottom: .5rem; } }
p.lien-retractation { margin: 1rem 0; } .liste-simple .lien-retractation { font-size: var(--t-s); }
.champ--demi { display: inline-grid; width: calc(50% - .6rem); }
.choix-paiement { display: grid; gap: .6rem; }

/* Contact */
.contact { display: grid; gap: clamp(2rem, 5vw, 4rem); } @media (min-width: 900px) { .v-cote .contact { grid-template-columns: 1fr 1.2fr; } }
.coordonnees { list-style: none; padding: 0; display: grid; gap: .9rem; } .coordonnees li { display: flex; gap: .75rem; align-items: flex-start; } .coordonnees .icone { color: var(--c-primaire-sur-fond, var(--c-primaire)); margin-top: .2rem; }

/* Réseaux */
.reseaux { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.reseaux a { display: inline-flex; align-items: center; gap: .5rem; min-width: 44px; min-height: 44px; justify-content: center; text-decoration: none; color: inherit; }
.reseau-pastille { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1.5px solid currentColor; font-weight: 700; font-size: .9rem; }
.reseaux--boutons a { border: 1px solid var(--bordure); border-radius: 999px; padding: .3rem 1rem .3rem .3rem; }
.reseau-pastille--icone svg { width: 1.15rem; height: 1.15rem; } /* icônes dessinées des réseaux (Contenu/IconesReseaux) */
.reseau-pastille { transition: background-color var(--transition); } .reseaux a:hover .reseau-pastille { background: color-mix(in srgb, currentColor 12%, transparent); }

/* Espaces */
.bloc--espace { padding: 0; } .v-petit .espace { height: 2rem; } .v-grand .espace { height: 6rem; } .vague { width: 100%; height: 60px; color: var(--c-surface); }

/* Boutique */
.produits { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.produit-carte { display: flex; flex-direction: column; gap: .4rem; } .produit-carte__lien { color: inherit; text-decoration: none; }
.produit-carte img { aspect-ratio: 1; object-fit: cover; border-radius: var(--rayon); margin-bottom: .6rem; transition: transform var(--transition); } .produit-carte__lien:hover img { transform: scale(1.02); }
.produit-carte h3 { font-size: var(--t-l); margin: 0; } .produit-carte__prix { font-weight: 700; margin: 0; } .produit-carte__prix s { color: var(--c-doux); font-weight: 400; } .produit-carte__epuise { color: var(--c-doux); font-weight: 600; }
.produit-fiche { display: grid; gap: clamp(2rem, 5vw, 4rem); } @media (min-width: 900px) { .produit-fiche { grid-template-columns: 1.1fr 1fr; align-items: start; } .produit-fiche__infos { position: sticky; top: 6rem; } }
.produit-fiche__visuels { display: grid; gap: 1rem; } .produit-fiche__visuels img { border-radius: var(--rayon); }
.produit-fiche__3d { width: 100%; height: 60vh; border-radius: var(--rayon); background: var(--c-surface); }
.produit-fiche__prix { font-size: var(--t-xxl); font-weight: 700; margin: 0; } .produit-fiche__tva { color: var(--c-doux); font-size: var(--t-s); }
.produit-fiche__achat { margin-top: 1.5rem; }
.tableau { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; } .tableau th, .tableau td { text-align: left; padding: .75rem .5rem; border-bottom: 1px solid var(--bordure); vertical-align: middle; }
.tableau input[type="number"] { max-width: 5rem; min-height: 40px; }
.en-ligne { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; } .en-ligne input:not([type="checkbox"]) { width: auto; flex: 1; min-width: 8rem; }
.alerte { padding: 1rem 1.25rem; border-radius: var(--rayon); background: color-mix(in srgb, var(--c-secondaire) 20%, transparent); margin-bottom: 1rem; }
.alerte--erreur { background: #fde8e7; color: #8f1c13; }
.statut { display: inline-block; padding: .3rem .8rem; border-radius: 999px; background: color-mix(in srgb, var(--c-primaire) 12%, transparent); font-weight: 600; }
.liste-simple { padding-left: 1.2rem; } .liste-resultats { list-style: none; padding: 0; } .liste-resultats li { padding: 1rem 0; border-bottom: 1px solid var(--bordure); }
.recherche-form { display: flex; gap: .5rem; max-width: 34rem; margin: 1.5rem 0; } .align-centre .recherche-form, .v-centre .recherche-form { margin-inline: auto; }

/* Résultats de quiz */
.resultat-barres { list-style: none; padding: 0; display: grid; gap: 1rem; margin: 2rem 0; }
.resultat-barres li { display: grid; grid-template-columns: 1fr auto; gap: .35rem .75rem; align-items: center; }
.resultat-barres__barre { grid-column: 1 / -1; height: .75rem; background: color-mix(in srgb, var(--c-primaire) 14%, transparent); border-radius: 999px; overflow: hidden; }
.resultat-barres__barre span { display: block; height: 100%; background: var(--c-primaire); border-radius: inherit; }
.resultat-barres details { grid-column: 1 / -1; font-size: var(--t-s); }

/* Pied de page */
.pied { background: color-mix(in srgb, var(--c-texte) 4%, var(--c-fond)); border-top: 1px solid var(--bordure); margin-top: var(--espace); }
.pied__in { max-width: var(--largeur); margin: 0 auto; padding: 3rem var(--marge) 2rem; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.pied__nom { font-family: var(--police-titres); font-size: var(--t-l); font-weight: 700; }
.pied address { font-style: normal; display: grid; gap: .3rem; color: var(--c-doux); } .pied address a { color: inherit; }
.pied__liens { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; } .pied__liens a, .pied__liens .lien { color: var(--c-doux); font-size: var(--t-s); }
.pied__propulse { grid-column: 1 / -1; font-size: var(--t-xs); color: var(--c-doux); border-top: 1px solid var(--bordure); padding-top: 1.25rem; margin: 0; }

/* Bandeau cookies et chatbot */
.cookies { position: fixed; inset: auto 1rem 1rem auto; z-index: 70; max-width: 26rem; background: var(--c-surface); color: var(--c-texte); border-radius: var(--rayon); box-shadow: 0 20px 60px rgb(0 0 0 / .25); padding: 1.25rem; border: 1px solid var(--bordure); }
.cookies p { font-size: var(--t-s); } .cookies .boutons { margin: 0; } .cookies .bouton { flex: 1; }
/* Refuser et accepter : même taille, même poids, au premier niveau ; « Choisir » en lien, sur sa propre ligne. */
.cookies { max-width: min(26rem, calc(100vw - 2rem)); }
.cookies__titre { font-weight: 600; font-size: var(--t-base, 1rem); margin-bottom: .35rem; }
.cookies__boutons { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.cookies__boutons .cookies__choisir { grid-column: 1 / -1; justify-self: center; min-height: 44px; }
.cookies__choix { display: grid; gap: .25rem; margin: .5rem 0 .75rem; }
.cookies__choix[hidden], .panier-nb[hidden] { display: none; } /* « display » ne doit jamais écraser « hidden » */
.cookies__choix small { display: block; color: var(--c-doux); font-size: var(--t-s); line-height: 1.4; }
@media (max-width: 480px) { .cookies { inset: auto .75rem calc(.75rem + env(safe-area-inset-bottom)) .75rem; max-width: none; } }
/* Lien vers l'espace de gestion : discret dans le pied, ou visible dans l'en-tête (au choix du client). */
.pied__gestion { color: inherit; }
.entete__gestion span { font-size: var(--t-s); }
@media (max-width: 600px) { .entete__gestion span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
/* Parcours sur plusieurs jours (cadeau, défi, programme) : où en est la personne, avant le formulaire du jour. */
.parcours-etat { display: grid; gap: .6rem; padding: 1rem 1.1rem; margin-bottom: 1.25rem; border: 1px solid var(--bordure); border-radius: var(--rayon); background: color-mix(in srgb, var(--c-primaire) 5%, var(--c-surface)); }
.parcours-etat p { margin: 0; }
.parcours-etat__jour { font-weight: 600; }
.parcours-etat__jours { display: flex; gap: .3rem; }
.parcours-etat__jours span { flex: 1; height: .5rem; border-radius: 999px; background: color-mix(in srgb, var(--c-primaire) 14%, transparent); }
.parcours-etat__jours span.fait { background: var(--c-primaire); }
.parcours-etat__jours span.courant { background: color-mix(in srgb, var(--c-primaire) 45%, transparent); }
.resultat-provisoire { font-size: var(--t-s); color: var(--c-doux); }
.chatbot-bouton { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 65; border-radius: 999px; box-shadow: 0 10px 30px rgb(0 0 0 / .25); }
.menu-dock .chatbot-bouton { bottom: 5.5rem; }
.chatbot-bouton--logo { display: inline-flex; align-items: center; gap: .55rem; padding-inline-start: .35rem; }
.chatbot-bouton--logo .chatbot__logo, .chatbot-bouton--logo .chatbot__logo img { width: 2.25rem; height: 2.25rem; border-radius: 50%; background: #fff; object-fit: contain; display: block; }
.chatbot__tete .chatbot__logo, .chatbot__tete .chatbot__logo img { width: 2rem; height: 2rem; border-radius: 50%; background: #fff; object-fit: contain; display: block; flex: none; }
.chatbot__tete strong { flex: 1; margin-inline-start: .6rem; }
.chatbot { position: fixed; right: 1rem; bottom: 5rem; z-index: 66; width: min(24rem, calc(100vw - 2rem)); max-height: min(34rem, 75dvh); display: flex; flex-direction: column; background: var(--c-surface); color: var(--c-texte); border-radius: calc(var(--rayon) * 1.4); box-shadow: 0 30px 80px rgb(0 0 0 / .3); border: 1px solid var(--bordure); overflow: hidden; }
.chatbot__tete { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1rem; background: var(--c-primaire); color: var(--c-primaire-txt); } .chatbot__tete button { background: none; border: 0; color: inherit; font-size: 1.5rem; min-width: 44px; min-height: 44px; cursor: pointer; }
.chatbot__fil { flex: 1; overflow: auto; padding: 1rem; display: grid; gap: .6rem; align-content: start; }
.bulle { max-width: 88%; padding: .6rem .85rem; border-radius: 1rem; font-size: .95rem; line-height: 1.45; }
.bulle--bot { background: color-mix(in srgb, var(--c-texte) 7%, transparent); border-bottom-left-radius: .3rem; }
.bulle--moi { background: var(--c-primaire); color: var(--c-primaire-txt); justify-self: end; border-bottom-right-radius: .3rem; }
.bulle a.bouton { min-height: 36px; padding: .35rem .8rem; margin: .4rem .3rem 0 0; font-size: .9rem; }
.suggestions { display: flex; flex-wrap: wrap; gap: .35rem; } .suggestions button { border: 1px solid var(--bordure); background: var(--c-surface); border-radius: 999px; padding: .35rem .75rem; font: inherit; font-size: .85rem; cursor: pointer; color: inherit; min-height: 36px; }
.chatbot__saisie { display: flex; gap: .4rem; padding: .6rem; border-top: 1px solid var(--bordure); } .chatbot__saisie input { min-height: 44px; }

.message-page { padding: 2rem 0; font-size: var(--t-l); }

/* Animations douces, désactivées si l'utilisateur le demande */
@media (prefers-reduced-motion: no-preference) {
  .anime-apparition { animation: apparition .7s cubic-bezier(.2, .7, .2, 1) both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  @keyframes apparition { from { opacity: 0; transform: translateY(24px); } }
}

@media print {
  .entete, .pied, .chatbot-bouton, .cookies, .boutons, .ed-barre, video, model-viewer { display: none !important; }
  body { background: #fff; color: #000; } .bloc { padding-block: 1rem; } a { color: #000; }
}

/* ---------- Gestion visible sur le site : compteur, équipe à jour, organigramme, budget ---------- */
.compteur { text-align: center; max-width: 44rem; margin-inline: auto; }
.compteur__chiffres p { margin: .3rem 0; } .compteur__montant { font-size: clamp(2rem, 6vw, 3.4rem); font-family: var(--f-titres, inherit); color: var(--c-primaire-sur-fond, var(--c-primaire)); }
.compteur__barre { height: 14px; border-radius: 999px; background: color-mix(in srgb, var(--c-texte) 10%, transparent); overflow: hidden; margin: 1rem 0 .3rem; }
.compteur__barre span { display: block; height: 100%; border-radius: inherit; background: var(--c-primaire); transition: width 1s ease; }
.compteur__pourcent { font-weight: 700; } .compteur--chiffres .compteur__barre { display: none; }
.personne__initiales { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--c-primaire) 15%, transparent); color: var(--c-primaire-sur-fond, var(--c-primaire)); font-size: 2rem; font-weight: 700; max-width: 9rem; margin-inline: auto; }
.equipe__groupe { margin: 2rem 0 1rem; }
.organigramme { overflow-x: auto; padding-bottom: 1rem; }
.organigramme ul { display: flex; justify-content: center; gap: 1.5rem; list-style: none; margin: 0; padding: 1.5rem 0 0; position: relative; }
.organigramme > ul { padding-top: 0; }
.organigramme li { display: flex; flex-direction: column; align-items: center; position: relative; min-width: 9rem; text-align: center; }
.organigramme ul ul li::before { content: ""; position: absolute; top: -1.5rem; height: 1.5rem; border-left: 2px solid color-mix(in srgb, var(--c-texte) 20%, transparent); }
.organigramme .personne__photo, .organigramme .personne__initiales { width: 6rem; height: 6rem; border-radius: 50%; object-fit: cover; font-size: 1.4rem; }
.organigramme h3 { font-size: 1rem; margin: .4rem 0 0; }
.budget { width: 100%; border-collapse: collapse; } .budget td, .budget th { padding: .5rem; border-bottom: 1px solid color-mix(in srgb, var(--c-texte) 12%, transparent); text-align: left; } .budget td:last-child { text-align: right; }
.budget__barres { list-style: none; padding: 0; display: grid; gap: .8rem; max-width: 44rem; } .budget__barres li { display: grid; gap: .3rem; }
.budget__barre { height: 10px; border-radius: 999px; background: color-mix(in srgb, var(--c-texte) 10%, transparent); overflow: hidden; } .budget__barre span { display: block; height: 100%; background: var(--c-primaire); }
.note-admin { padding: .8rem 1rem; border: 2px dashed var(--c-primaire); border-radius: 10px; font-size: .9rem; }

/* ---------- Pages d'erreur (404, 403, page expirée, problème technique) : dans le gabarit et la charte du client ---------- */
.page-erreur { min-height: max(26rem, 58vh); display: grid; align-content: center; }
.page-erreur__in { width: 100%; }
.page-erreur__in > * { max-width: 40rem; }
.page-erreur h1 { margin-bottom: .4em; }
.page-erreur__texte { font-size: var(--t-l); color: var(--c-doux); text-wrap: pretty; margin: 0; }
.page-erreur__recherche { margin: 2rem 0 0; }
.page-erreur__recherche { flex-wrap: wrap; }
.page-erreur__recherche input { flex: 1 1 14rem; min-width: 0; }
.page-erreur__recherche .bouton { flex: none; }
.page-erreur__sous-titre { font-family: var(--police-texte); font-size: var(--t-m); font-weight: 600; letter-spacing: 0; margin: 2.25rem 0 .6rem; }
.page-erreur__liens { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(13rem, 100%), 1fr)); gap: .1rem 1.5rem; }
.page-erreur__liens li { min-height: 44px; display: flex; align-items: center; }
.page-erreur__liens--forts { grid-template-columns: 1fr; font-size: var(--t-l); }
.page-erreur__reference { margin: 1.5rem 0 0; color: var(--c-doux); }
.page-erreur__reference strong { color: var(--c-texte); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.page-erreur__actions { margin-top: 2rem; align-items: center; }
.page-erreur__plan { margin-top: 1rem; padding-top: .25rem; border-top: 1px solid var(--bordure); }
@media (max-width: 20rem) { .page-erreur__recherche { flex-direction: column; } .page-erreur__recherche .bouton { width: 100%; } }

/* ---------- Envoi en cours (formulaires) : le bouton garde son texte, le logo du site tourne à côté ----------
   R19 (3.1.1) : plus de rond générique. Le logo vient de theme.css (Theme::logoChargementCss : icône ou logo du site, sinon
   le symbole OCSIA2 tant que le site n'a pas sa charte, sinon rien) ; rotation avec élan, un tour en 1 s ; arrêt net si le
   visiteur demande moins d'animations. */
.bouton[aria-busy="true"] { cursor: progress; opacity: .85; }
.bouton[aria-busy="true"]::after {
  content: ""; flex: none; width: var(--logo-chargement-taille, 0); height: var(--logo-chargement-taille, 0);
  background: var(--logo-chargement, none) center / contain no-repeat var(--logo-chargement-fond, transparent);
  -webkit-mask: var(--logo-chargement-masque, none) center / contain no-repeat; mask: var(--logo-chargement-masque, none) center / contain no-repeat;
  animation: ocsia-tourne-bouton 1s cubic-bezier(.65, 0, .35, 1) infinite;
}
@keyframes ocsia-tourne-bouton { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) { .bouton[aria-busy="true"]::after { animation: none !important; } }

/* ---------- Commentaires du site (Messages et demandes) : aux couleurs du site ---------- */
.commentaires__liste, .commentaire__reponses { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.commentaires__liste { margin-bottom: 2.5rem; }
.commentaire { display: grid; gap: .35rem; scroll-margin-top: 5rem; }
.commentaire__tete { margin: 0; color: var(--c-doux); font-size: var(--t-s); }
.commentaire__tete strong { color: var(--c-texte); font-weight: 650; }
.commentaire__texte { overflow-wrap: anywhere; max-width: 65ch; }
.commentaire__reponses { margin-top: .5rem; padding-left: 1rem; border-left: 1px solid var(--bordure); }
.commentaire--equipe { padding: .8rem 1rem; border-radius: var(--rayon); background: color-mix(in srgb, var(--c-primaire) 7%, var(--c-surface)); }
.commentaires__nb, .commentaires__vide { color: var(--c-doux); }
.commentaires__vide { margin-bottom: 2rem; }
.commentaires__form h3 { margin-bottom: 0; }
:target.commentaire { animation: commentaire-ici 2s ease-out; }
@keyframes commentaire-ici { from { background: color-mix(in srgb, var(--c-secondaire) 30%, transparent); } }
@media (prefers-reduced-motion: reduce) { :target.commentaire { animation: none; } }

/* ---------- Produit à axes : choix axe par axe (chantier N, 13/10/2026) ----------
   Un groupe par axe, les valeurs en pastilles aux couleurs de la charte. Choix impossible : barré, en pointillés,
   non cliquable (et « indisponible » lu par les lecteurs d'écran). Le prix suit avec un fondu court (retour visuel). */
.choix-variantes { display: grid; gap: 1.1rem; margin: 0 0 1.25rem; }
.choix-variantes .choix-axe { display: block; border: 0; margin: 0; padding: 0; min-width: 0; }
.choix-variantes .choix-axe__titre { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; padding: 0; margin: 0 0 .55rem; font-weight: 600; }
.choix-axe__valeur { font-weight: 400; color: var(--c-doux); }
.choix-axe__options { display: flex; flex-wrap: wrap; gap: .5rem; }
.choix-option__radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.choix-option { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem 1rem; border: 1.5px solid color-mix(in srgb, var(--c-texte) 22%, transparent); border-radius: var(--rayon); background: var(--c-surface); color: var(--c-texte); font-size: var(--t-m); line-height: 1.2; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: border-color var(--transition), background-color var(--transition), color var(--transition), transform 120ms ease-out; }
@media (hover: hover) and (pointer: fine) { .choix-option:hover { border-color: var(--c-primaire); } }
.choix-option:active { transform: scale(.97); }
.choix-option__radio:checked + .choix-option { border-color: var(--c-primaire); background: var(--c-primaire); color: var(--c-primaire-txt); }
.choix-option__radio:focus-visible + .choix-option { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.choix-option.est-indispo, .choix-option__radio:disabled + .choix-option { border-style: dashed; color: var(--c-doux); background: transparent; text-decoration: line-through; text-decoration-thickness: 1px; cursor: not-allowed; opacity: .7; }
.choix-option.est-indispo:active { transform: none; }
.choix-variantes__etat { margin: 0; min-height: 1.4em; font-size: var(--t-s); font-weight: 600; color: var(--c-primaire-sur-fond, var(--c-primaire)); }
.choix-variantes__etat:empty { min-height: 0; }
.prix-change { display: inline-block; animation: prix-change 180ms cubic-bezier(.23, 1, .32, 1); }
@keyframes prix-change { from { opacity: .35; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.produit-fiche__panier { display: grid; grid-template-columns: minmax(5rem, 7rem) 1fr; gap: .4rem .75rem; align-items: end; }
.produit-fiche__panier label { grid-column: 1 / -1; font-weight: 600; }
.produit-fiche__panier .bouton { width: 100%; }
.produit-fiche__panier .bouton:disabled { opacity: .55; cursor: not-allowed; }
.produit-fiche__message { margin: .6rem 0 0; font-size: var(--t-s); color: #8f1c13; }
.champ-produit .choix-variantes { grid-column: 1 / -1; margin: .25rem 0 0; }
.panier__choix { display: block; color: var(--c-doux); font-size: var(--t-s); }
.panier__alerte { display: block; color: #8f1c13; font-size: var(--t-s); font-weight: 600; }
/* Panier au téléphone : une ligne par article, le nom et le choix en entier, puis quantité, total et « Retirer ». */
@media (max-width: 600px) {
  .tableau.panier thead { display: none; }
  .tableau.panier, .tableau.panier tbody, .tableau.panier tfoot { display: block; }
  .tableau.panier tr { display: grid; grid-template-columns: 1fr auto auto; gap: .5rem 1rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--bordure); }
  .tableau.panier td, .tableau.panier th { display: block; padding: 0; border: 0; }
  .tableau.panier td:empty { display: none; }
  .tableau.panier tbody td:first-child { grid-column: 1 / -1; }
  .tableau.panier tbody td:nth-child(2) .en-ligne input { min-width: 0; max-width: 5rem; flex: none; }
  .tableau.panier tbody td:nth-child(3) { text-align: right; font-weight: 600; }
  .tableau.panier tfoot tr { grid-template-columns: 1fr auto; }
  .tableau.panier tfoot td { text-align: right; font-weight: 700; }
}
/* Produit sans photo ni objet 3D : pas de colonne vide, la fiche se lit sur une seule colonne. */
@media (min-width: 900px) { .produit-fiche:has(.produit-fiche__visuels:empty) { grid-template-columns: minmax(0, 44rem); } }

/* Code intégré : un cadre isolé, sans bordure, à la largeur du contenu (13/10/2026). */
.integration { margin: 1rem 0; }
.integration iframe { width: 100%; border: 0; display: block; background: transparent; }
.integration__vide { padding: 1.5rem; border: 1px dashed currentColor; border-radius: 12px; opacity: .7; text-align: center; }
.champ--code .integration { margin: .5rem 0 0; }
/* Bloc « Avis » : le bouton « Laisser un avis » ouvre le formulaire sur place (13/10/2026). */
.avis__laisser { margin-top: 1.25rem; }
.avis__laisser > summary { list-style: none; display: inline-flex; cursor: pointer; }
.avis__laisser > summary::-webkit-details-marker { display: none; }
.avis__laisser[open] > summary { margin-bottom: 1rem; }
.avis__formulaire { max-width: 40rem; }

/* =========================================================================
   Ajouts du 13/10/2026 (site ocsia2.com, utiles à tous les sites)
   ========================================================================= */

/* ---------- Menu « feuille » : sur téléphone, le menu monte du bas de l'écran (à portée de pouce) ---------- */
.nav__poignee { display: none; }
@media (max-width: 900px) {
  .menu-feuille .nav { inset: auto 0 0 0; max-height: 86dvh; padding: .5rem var(--marge) calc(1.5rem + env(safe-area-inset-bottom)); border: 0; border-radius: calc(var(--rayon) * 2.4) calc(var(--rayon) * 2.4) 0 0; background: var(--c-surface); box-shadow: 0 -20px 50px -20px rgb(0 0 0 / .35); transform: translateY(105%); transition: transform 320ms cubic-bezier(.32, .72, 0, 1), visibility 320ms; z-index: 70; }
  .menu-feuille .nav.ouvert { transform: none; }
  .menu-feuille .nav__poignee { display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--bordure); margin: .35rem auto 1rem; }
  .menu-feuille .nav__liste { gap: .2rem; }
  .menu-feuille .nav__liste a { min-height: 52px; font-size: var(--t-l); }
  .menu-feuille .nav__liste a[aria-current="page"] { box-shadow: none; background: color-mix(in srgb, var(--c-primaire) 10%, transparent); }
  .menu-feuille .nav__liste a.bouton { justify-content: center; margin-top: .75rem; }
  /* Le flou de l'en-tête ferait de lui le cadre de la feuille (position: fixed) : sans flou, la feuille se cale sur l'écran. */
  .menu-feuille .entete { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-feuille.menu-ouvert .entete { z-index: 70; }
  .menu-feuille.menu-ouvert::after { content: ""; position: fixed; inset: 0; z-index: 60; background: rgb(0 0 0 / .4); animation: feuille-voile 320ms ease both; }
  @keyframes feuille-voile { from { opacity: 0; } }
}

/* ---------- Logo du mode sombre (réglage site.logo_sombre) ---------- */
.logo__clair, .logo__sombre { display: inline-flex; }
.logo__sombre { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="clair"]) .logo__sombre { display: inline-flex; } :root:not([data-theme="clair"]) .logo__clair { display: none; } }
:root[data-theme="sombre"] .logo__sombre { display: inline-flex; } :root[data-theme="sombre"] .logo__clair { display: none; }

/* ---------- Mouvement lié au défilement (option « Au défilement » d'une section) : statique sans support ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .anime-defilement > .bloc__in { animation: defilement linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  }
}
@keyframes defilement { from { opacity: .001; transform: translateY(2.5rem); } }

/* ---------- Questionnaires : sommaire des étapes, réponses gardées, « Je ne sais pas encore », outils, récapitulatif ---------- */
.formulaire__sommaire ol { list-style: none; margin: 0; padding: 0 0 .6rem; display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: none; position: relative; }
.formulaire__sommaire ol::-webkit-scrollbar { display: none; }
.formulaire__sommaire button { min-height: 44px; padding: .45rem .9rem; border: 1px solid var(--bordure); border-radius: 999px; background: transparent; color: var(--c-doux); font: inherit; white-space: nowrap; cursor: pointer; }
.formulaire__sommaire button[aria-current="step"] { color: var(--c-texte); font-weight: 600; border-color: var(--c-primaire); background: color-mix(in srgb, var(--c-primaire) 10%, transparent); }
.formulaire__garde { font-size: var(--t-s); color: var(--c-doux); display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: center; }
.formulaire__garde .lien { min-height: 44px; }
.formulaire__effacer[data-confirmer] { color: #b42318; font-weight: 600; }
.formulaire__annuler { font-weight: 700; color: var(--c-texte); }
.champ__nsp { justify-self: start; min-height: 44px; padding: .3rem .85rem; border: 1px dashed var(--bordure); border-radius: 999px; background: transparent; color: var(--c-doux); font: inherit; font-size: var(--t-s); cursor: pointer; }
.champ__nsp[aria-pressed="true"] { border-style: solid; border-color: var(--c-secondaire); color: var(--c-texte); background: color-mix(in srgb, var(--c-secondaire) 18%, transparent); }
.champ--nsp > :is(input, textarea, select, fieldset, label) { opacity: .5; }
.outils { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); gap: .5rem; }
.outil { display: grid; gap: .3rem; padding: .35rem .6rem .6rem; border: 1px solid var(--bordure); border-radius: var(--rayon); }
.outil:has(input:checked) { border-color: var(--c-primaire); background: color-mix(in srgb, var(--c-primaire) 6%, transparent); }
.outil select { min-height: 40px; font-size: var(--t-s); }
.outil select:disabled { display: none; } /* le choix (garder, remplacer) n'apparaît que pour un outil coché */
.formulaire__recap { padding-top: .5rem; border-top: 1px solid var(--bordure); }
.formulaire__recap-titre { font-weight: 600; }
.formulaire__recap dl { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); margin: .5rem 0 0; }
.formulaire__recap dt, .formulaire__recap dd { margin: 0; padding-block: .55rem; border-top: 1px solid var(--bordure); }
.formulaire__recap dt { color: var(--c-doux); padding-right: 1rem; }
@media (max-width: 640px) { .formulaire__recap dl { grid-template-columns: minmax(0, 1fr); } .formulaire__recap dd { border-top: 0; padding-top: 0; } }

/* ---------- Bloc « Installer l'app » : l'appareil du visiteur d'abord ---------- */
.installer-app__vous { font-weight: 600; margin-bottom: 1rem; }
.installer-app__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); }
.installer-app__appareil { padding: 1.25rem; border: 1px solid var(--bordure); border-radius: calc(var(--rayon) * 1.4); background: var(--c-surface); display: grid; gap: .5rem; align-content: start; }
.installer-app__appareil.est-vous { border-color: var(--c-primaire); box-shadow: 0 0 0 1px var(--c-primaire); }
.installer-app__nom { font-size: var(--t-l); margin: 0; }
.installer-app__appareil .bouton { justify-self: start; margin-top: .25rem; }
.installer-app__appareil .bouton + .bouton { margin-top: 0; }
.installer-app__bientot { justify-self: start; margin: 0; padding: .3rem .75rem; border-radius: 999px; background: color-mix(in srgb, var(--c-primaire) 10%, transparent); color: var(--c-primaire); font-size: var(--t-s); font-weight: 600; }
.installer-app--detecte .installer-app__liste:first-of-type { grid-template-columns: minmax(0, 1fr); max-width: 40rem; }
.installer-app__autres { margin-top: 1.25rem; }
.installer-app__autres summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; gap: .5rem; list-style: none; }
.installer-app__autres summary::-webkit-details-marker { display: none; }
/* Le repère qui dit que la liste se déplie (le navigateur retire le sien en display: flex). */
.installer-app__autres summary::after { content: ""; width: .5rem; height: .5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 200ms cubic-bezier(.23, 1, .32, 1); }
.installer-app__autres[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.installer-app__autres .installer-app__liste { margin-top: .75rem; }
.installer-app__note { margin-top: 1.25rem; color: var(--c-doux); }

/* Lien discret vers l'espace de gestion, en pied de page : cible tactile de 44 px (mesuré à 16 px le 13/10/2026). */
.pied__gestion { display: inline-flex; align-items: center; min-height: 44px; }
/* Mouvement des questionnaires (find-animation-opportunities, 13/10/2026) : l'étape suivante et le choix d'un outil coché
   ne surgissent pas d'un coup ; 200 ms au plus, ease-out ; sous « mouvement réduit », un fondu seulement. */
.champ__nsp { transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
@media (prefers-reduced-motion: no-preference) {
  .formulaire--etapes .formulaire__etape:not([hidden]) { animation: etape-entree 200ms cubic-bezier(.23, 1, .32, 1); }
  .outil select:not(:disabled) { animation: etape-entree 160ms cubic-bezier(.23, 1, .32, 1); }
}
@media (prefers-reduced-motion: reduce) { .formulaire--etapes .formulaire__etape:not([hidden]) { animation: etape-fondu 150ms ease; } }
@keyframes etape-entree { from { opacity: 0; transform: translateY(6px); } }
@keyframes etape-fondu { from { opacity: 0; } }

/* Questionnaire rempli par son lien personnel : pour qui est la réponse (prénom et mail ne se redemandent pas). */
.formulaire__pour { margin: 0 0 1rem; font-size: .95rem; color: var(--c-gris, #5b5f66); }

/* ---------- Produits complexes : couleur et photo par valeur de variante (chantier AD2, 13/10/2026) ----------
   Pastille de la couleur dans le choix ; un axe tout en couleurs devient un nuancier rond (44 px, cible tactile) dont le
   choix porte un anneau de la couleur du site. Indisponible : la teinte pâlit, barrée d'un trait. La photo du choix
   remplace le visuel principal dans un cadre aux proportions fixes (rien ne saute) ; fondu court au clic seulement. */
.choix-option__pastille { flex: none; width: 1.05rem; height: 1.05rem; margin-right: .55rem; border-radius: 50%; background: var(--teinte); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-texte) 25%, transparent); }
.choix-option__radio:checked + .choix-option .choix-option__pastille { box-shadow: 0 0 0 2px var(--c-primaire-txt); }
.choix-axe--nuancier .choix-axe__options { gap: .65rem; padding: 4px 0 4px 4px; }
.choix-axe--nuancier .choix-axe__valeur { color: var(--c-texte); font-weight: 500; }
.choix-option--teinte { position: relative; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--teinte); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-texte) 22%, transparent); }
@media (hover: hover) and (pointer: fine) { .choix-option--teinte:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-texte) 22%, transparent), 0 0 0 2px var(--c-fond), 0 0 0 4px color-mix(in srgb, var(--c-texte) 30%, transparent); } }
.choix-option__radio:checked + .choix-option--teinte { background: var(--teinte); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-texte) 22%, transparent), 0 0 0 2px var(--c-fond), 0 0 0 4px var(--c-primaire); }
.choix-option__radio:focus-visible + .choix-option--teinte { outline-offset: 5px; }
.choix-option--teinte.est-indispo, .choix-option__radio:disabled + .choix-option--teinte { background: var(--teinte); border: 0; opacity: .38; }
.choix-option--teinte.est-indispo::after, .choix-option__radio:disabled + .choix-option--teinte::after { content: ""; position: absolute; left: 50%; top: 3px; bottom: 3px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--c-texte); transform: rotate(45deg); }

.produit-fiche__principal { position: relative; overflow: hidden; border-radius: var(--rayon); background: var(--c-surface); }
.produit-fiche__principal > img, .produit-fiche__principal picture, .produit-fiche__principal picture img { display: block; width: 100%; height: 100%; object-fit: contain; }
[data-visuel-principal][hidden] { display: none; }
.champ-produit__visuel { width: 72px; height: 72px; }
.champ-produit__visuel img { display: block; width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
@keyframes photo-arrive { from { opacity: .35; filter: blur(2px); } to { opacity: 1; filter: none; } }
@keyframes photo-arrive-doux { from { opacity: .5; } to { opacity: 1; } }
.photo-change > img { animation: photo-arrive 200ms cubic-bezier(.23, 1, .32, 1); }

/* Aperçu du choix sous les axes, au téléphone seulement (sur grand écran, la photo est à côté des choix). */
.choix-variantes__apercu { display: flex; align-items: center; gap: .85rem; margin: 0; padding: .5rem .75rem .5rem .5rem; border-radius: var(--rayon); background: color-mix(in srgb, var(--c-texte) 4%, transparent); font-size: var(--t-s); color: var(--c-doux); }
.choix-variantes__apercu img { flex: none; width: 64px; height: 64px; object-fit: cover; border-radius: min(var(--rayon), 10px); background: var(--c-surface); }
.choix-variantes__apercu[hidden] { display: none; }
@media (min-width: 900px) { .choix-variantes__apercu { display: none; } }
.panier__article { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.panier__article > :last-child { min-width: 0; }
.article-vignette { flex: none; display: block; width: 56px; height: 56px; object-fit: cover; border-radius: min(var(--rayon), 12px); background: var(--c-surface); }
.article-vignette--teinte { display: grid; place-items: center; background: transparent; }
.article-vignette--teinte::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--teinte); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-texte) 22%, transparent); }
.article-vignette--vide { background: color-mix(in srgb, var(--c-texte) 5%, transparent); }
@media (max-width: 640px) { .article-vignette { width: 48px; height: 48px; } }
@media (prefers-reduced-motion: reduce) { .photo-change > img { animation-name: photo-arrive-doux; } }  /* fondu seul, sans flou */

/* Réglages posés depuis l'éditeur (17/10/2026). Images : forme et cadrage. Boutons : forme, largeur, taille, couleur de
   la charte (variable --b et son texte lisible --b-txt, calculé par la charte). Aucune image ni script en plus. */
.media.ratio-carre img, .media.ratio-paysage img, .media.ratio-large img, .media.ratio-portrait img, .media.forme-cercle img, .media.forme-arche img { width: 100%; object-fit: cover; }
.media.ratio-carre img, .media.forme-cercle img { aspect-ratio: 1; }
.media.ratio-paysage img { aspect-ratio: 4 / 3; } .media.ratio-large img { aspect-ratio: 16 / 9; } .media.ratio-portrait img, .media.forme-arche img { aspect-ratio: 3 / 4; }
.media.forme-arrondi img { border-radius: calc(var(--rayon) * 2.4); }
.media.forme-cercle img { border-radius: 50%; }
.media.forme-arche img { border-radius: 50% 50% var(--rayon) var(--rayon) / 34% 34% var(--rayon) var(--rayon); }
.bouton.b-forme-pilule { border-radius: 999px; } .bouton.b-forme-droit { border-radius: 0; }
.bouton.b-largeur-large { min-width: min(100%, 15em); } .bouton.b-largeur-plein { width: 100%; }
.bouton.b-taille-s { min-height: 40px; padding: .45em 1em; font-size: .9em; } .bouton.b-taille-l { min-height: 54px; padding: .85em 1.8em; font-size: 1.12em; }
.bouton--principal.b-couleur { background: var(--b); color: var(--b-txt); }
.bouton--principal.b-couleur:hover { box-shadow: 0 6px 18px color-mix(in srgb, var(--b) 35%, transparent); }
.bouton--secondaire.b-couleur, .bouton--contour.b-couleur, .bouton--lien.b-couleur { color: var(--b); }
/* Galerie « Défilement continu » : deux fois la même liste, qui glisse en boucle ; arrêt au survol et au clavier,
   immobile (et à faire défiler soi-même) si le visiteur a demandé moins d'animations. */
.galerie-defile { display: flex; gap: .75rem; overflow: hidden; }
.galerie-defile .galerie { display: flex; flex: none; gap: .75rem; animation: galerie-defile calc(var(--n, 6) * 4.5s) linear infinite; }
.galerie-defile .galerie li { flex: 0 0 clamp(11rem, 26vw, 19rem); }
.galerie-defile:hover .galerie, .galerie-defile:focus-within .galerie { animation-play-state: paused; }
@keyframes galerie-defile { to { transform: translateX(calc(-100% - .75rem)); } }
@media (prefers-reduced-motion: reduce) { .galerie-defile { overflow-x: auto; } .galerie-defile .galerie { animation: none; } .galerie-defile .galerie[aria-hidden] { display: none; } }
.v-defile > .bloc__in > .galerie, .v-defile .galerie[data-liste] { display: flex; overflow-x: auto; } .v-defile .galerie[data-liste] li { flex: 0 0 clamp(11rem, 26vw, 19rem); }
/* Volet Style des textes (17/10/2026) : « Police » et « Majuscules » n'avaient pas de règle, et la taille, l'épaisseur
   ou l'alignement choisis perdaient contre le style propre de certains blocs (titre d'accroche). Le choix fait dans
   l'éditeur l'emporte. */
.f-titres { font-family: var(--police-titres) !important; } .f-texte { font-family: var(--police-texte) !important; }
.maj-oui { text-transform: uppercase; letter-spacing: .06em; }
.t-xs { font-size: var(--t-xs) !important; } .t-s { font-size: var(--t-s) !important; } .t-m { font-size: var(--t-m) !important; } .t-l { font-size: var(--t-l) !important; } .t-xl { font-size: var(--t-xl) !important; } .t-xxl { font-size: var(--t-xxl) !important; } .t-xxxl { font-size: var(--t-xxxl) !important; } .t-h1 { font-size: var(--t-h1) !important; } .t-geant { font-size: var(--t-geant) !important; } .t-mega { font-size: var(--t-mega) !important; } .t-titan { font-size: var(--t-titan) !important; }
.g-300 { font-weight: 300 !important; } .g-600 { font-weight: 600 !important; } .g-700 { font-weight: 700 !important; }
.a-gauche { text-align: left !important; } .a-centre { text-align: center !important; } .a-droite { text-align: right !important; } .a-justifie { text-align: justify !important; }
/* Recadrage, largeur et hauteur libres posés depuis l'éditeur (17/10/2026). L'image d'origine n'est jamais coupée :
   seule la partie choisie est montrée (variables --cx, --cy, --cw, --ch en %, --ar rapport de la partie gardée). */
.media.l-libre { width: var(--l); max-width: 100%; }
.media.hr-libre img { width: 100%; aspect-ratio: 100 / var(--hr) !important; object-fit: cover; }
.media.recadre { position: relative; overflow: hidden; aspect-ratio: var(--ar); border-radius: var(--rayon); }
.media.recadre img { position: absolute; max-width: none; width: calc(100% * 100 / var(--cw)) !important; height: calc(100% * 100 / var(--ch)) !important; left: calc(-100% * var(--cx) / var(--cw)); top: calc(-100% * var(--cy) / var(--ch)); aspect-ratio: auto !important; object-fit: fill !important; border-radius: 0 !important; }
.media.recadre.forme-arrondi { border-radius: calc(var(--rayon) * 2.4); } .media.recadre.forme-cercle { border-radius: 50%; } .media.recadre.forme-arche { border-radius: 50% 50% var(--rayon) var(--rayon) / 34% 34% var(--rayon) var(--rayon); }
.bouton.l-libre { width: var(--l); max-width: 100%; }
/* En-tête réglé depuis l'éditeur (17/10/2026) : taille du logo, fond de la charte (texte lisible calculé), fixe ou non. */
.entete.logo-regle .logo__img img, .entete.logo-regle .logo picture img { max-height: var(--logo-h); }
.entete.fond-perso { background: var(--entete-fond); color: var(--entete-txt); -webkit-backdrop-filter: none; backdrop-filter: none; }
.entete.fond-perso .logo, .entete.fond-perso .nav__liste a:not(.bouton), .entete.fond-perso .nav__groupe summary, .entete.fond-perso .entete__outils > * { color: var(--entete-txt); }
.entete.entete--defile { position: relative; }
/* Formulaire ouvert dans une fenêtre depuis un bouton (17/10/2026). */
.fenetre-formulaire { width: min(640px, calc(100vw - 24px)); height: min(780px, calc(100dvh - 24px)); padding: 0; border: 0; border-radius: calc(var(--rayon) * 1.4); background: var(--c-fond); box-shadow: 0 24px 70px rgb(0 0 0 / .3); overflow: hidden; }
.fenetre-formulaire::backdrop { background: rgb(20 16 24 / .5); }
.fenetre-formulaire iframe { display: block; width: 100%; height: 100%; border: 0; }
.fenetre-formulaire__fermer { position: absolute; top: 10px; right: 10px; z-index: 1; min-height: 40px; padding: .4em .9em; border: 1px solid var(--bordure); border-radius: 999px; background: var(--c-surface); color: var(--c-texte); font: inherit; font-size: var(--t-s); cursor: pointer; }
/* Pages d'achat : onglets, formulaire du code promo et bouton « Continuer » bien espacés (17/10/2026) */
.onglets-achat { margin: 0 0 1.25rem; border-bottom: 1px solid var(--bordure); }
.onglets-achat ul { display: flex; gap: .25rem 1.25rem; margin: 0; padding: 0; list-style: none; overflow-x: auto; }
.onglets-achat a { display: block; padding: .6rem 0; border-bottom: 3px solid transparent; color: var(--c-doux); text-decoration: none; white-space: nowrap; }
.onglets-achat a[aria-current="page"] { color: var(--c-texte); font-weight: 600; border-bottom-color: var(--c-primaire, currentColor); }
.onglets-achat a:hover { color: var(--c-texte); }
.tableau.panier ~ .en-ligne { margin: 1.5rem 0 0; display: grid; grid-template-columns: 1fr; gap: .5rem; }
.tableau.panier ~ .en-ligne input { width: 100%; max-width: none; flex: none; }
.tableau.panier ~ .en-ligne .bouton { justify-self: start; }
.panier__suite { margin: 1.5rem 0 0; }
.panier__suite .bouton { width: 100%; text-align: center; }
@media (min-width: 601px) {
  .tableau.panier ~ .en-ligne { grid-template-columns: auto minmax(10rem, 18rem) auto; align-items: center; }
  .panier__suite .bouton { width: auto; }
}

/* ---------- Musique (bloc « Musique », 17/10/2026) : un morceau à la fois, rien ne se lance tout seul ---------- */
.musique { display: grid; gap: calc(2.5rem * var(--densite, 1)); }
.musique__album { display: grid; gap: 1.25rem 2.5rem; align-items: start; }
.musique__pochette { width: 100%; max-width: 22rem; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--rayon) * .6); box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 12px 32px -18px rgb(0 0 0 / .35); }
.musique__nom-album { margin: 0 0 .75rem; font-size: var(--t-xl); }
.musique__annee { color: var(--c-doux); font-family: var(--police-texte); font-size: var(--t-s); font-weight: 400; font-variant-numeric: tabular-nums; }
.musique__liste { list-style: none; margin: 0; padding: 0; counter-reset: morceau; border-top: 1px solid var(--bordure); }
.morceau { counter-increment: morceau; padding: .55rem .25rem; border-bottom: 1px solid var(--bordure); border-radius: 2px; transition: background-color .2s ease; }
.morceau__ligne { display: flex; align-items: center; gap: .4rem .85rem; flex-wrap: wrap; min-height: 44px; }
.morceau__titre { flex: 1 1 10rem; min-width: 0; overflow-wrap: anywhere; }
.musique--liste .morceau__titre::before, .musique--album .morceau__titre::before { content: counter(morceau) ". "; color: var(--c-doux); font-variant-numeric: tabular-nums; }
.morceau__extrait { padding: .1em .55em; border: 1px solid var(--bordure); border-radius: 999px; color: var(--c-doux); font-size: var(--t-s); line-height: 1.4; }
.morceau__temps { color: var(--c-doux); font-size: var(--t-s); font-variant-numeric: tabular-nums; min-width: 4.5ch; text-align: right; }
.morceau__achat { margin: 0; }
.morceau__lire { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid currentColor; border-radius: 50%; background: transparent; color: var(--c-primaire-sur-fond, var(--c-primaire)); cursor: pointer; transition: transform .16s cubic-bezier(.23, 1, .32, 1), background-color .2s ease, color .2s ease; }
.morceau__lire .icone { width: 18px; height: 18px; }
.morceau__lire .morceau__icone-lire .icone { fill: currentColor; stroke: none; transform: translateX(1px); }
.morceau__lire .morceau__icone-pause, .morceau.en-lecture .morceau__icone-lire { display: none; }
.morceau.en-lecture .morceau__icone-pause { display: inline; }
.morceau__lire:active { transform: scale(.94); }
.morceau.en-lecture .morceau__lire { background: var(--c-primaire); color: var(--c-primaire-txt); border-color: var(--c-primaire); }
.morceau.en-lecture, .morceau.en-pause { background: color-mix(in srgb, var(--c-primaire) 7%, transparent); }
.morceau__position[hidden] { display: none; }
.morceau__position { display: block; width: 100%; margin: .35rem 0 .15rem; accent-color: var(--c-primaire); }
.morceau__audio { display: block; width: 100%; max-width: 32rem; margin: .4rem 0 .2rem; }
.musique.pret .morceau__audio { display: none; }
.morceau__plus { margin: .35rem 0 .2rem; }
.morceau__plus summary { cursor: pointer; color: var(--c-doux); font-size: var(--t-s); min-height: 32px; display: inline-flex; align-items: center; }
.morceau__paroles { max-width: 38rem; margin: .5rem 0; white-space: normal; line-height: 1.7; }
.morceau__credits { color: var(--c-doux); font-size: var(--t-s); }
@media (hover: hover) { .morceau__lire:hover { background: color-mix(in srgb, var(--c-primaire) 12%, transparent); } .morceau.en-lecture .morceau__lire:hover { background: var(--c-primaire); } }
@media (min-width: 760px) {
  .musique--album .musique__album--pochette { grid-template-columns: minmax(12rem, 22rem) 1fr; }
  .musique--album .musique__pochette { position: sticky; top: 6rem; }
  .musique--liste .musique__album--pochette { grid-template-columns: 8rem 1fr; }
}
.musique--liste .musique__pochette { max-width: 8rem; }

/* ---------- Bon de commande (bloc « Bon de commande », 17/10/2026) ---------- */
.bon { display: grid; gap: 1.5rem 3rem; }
.bon__tete { max-width: 46rem; }
.bon__articles { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bordure); }
.bon__article { display: flex; align-items: center; gap: .5rem 1rem; flex-wrap: wrap; padding: .7rem 0; border-bottom: 1px solid var(--bordure); }
.bon__nom { flex: 1 1 12rem; min-width: 0; overflow-wrap: anywhere; }
.bon__prix { font-variant-numeric: tabular-nums; font-weight: 600; }
.bon__ajout { margin: 0; }
.bon__liste { display: grid; gap: .9rem; align-content: start; }
.bon__mentions { margin: 0; color: var(--c-doux); font-size: var(--t-s); }
.bon__facons { display: grid; gap: 1.1rem; }
.bon__facons-titre { margin: 0; font-size: var(--t-l); }
.bon__facon { padding: 1rem 1.15rem; border: 1px solid var(--bordure); border-radius: var(--rayon); }
.bon__facon p { margin: .25rem 0 .6rem; }
.bon__facon-nom { display: block; margin: 0; font-size: var(--t-m); font-family: var(--police-texte); font-weight: 600; }
.bon__facon--formulaire summary { position: relative; padding-right: 2rem; cursor: pointer; list-style: none; }
.bon__facon--formulaire summary::-webkit-details-marker { display: none; }
.bon__facon--formulaire summary span { display: block; margin-top: .25rem; color: var(--c-doux); }
.bon__facon--formulaire summary::after { content: ""; position: absolute; top: .35em; right: .35rem; width: .55em; height: .55em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s cubic-bezier(.23, 1, .32, 1); }
.bon__facon--formulaire[open] summary::after { transform: rotate(-135deg); }
.bon__facon--formulaire[open] summary { margin-bottom: 1rem; }
.lien-fleche { display: inline-block; padding: .6rem 0; font-weight: 600; color: var(--c-primaire-sur-fond, var(--c-primaire)); }
.lien-fleche::after { content: ""; display: inline-block; margin-left: .45em; vertical-align: .1em; width: .5em; height: .5em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
@media (min-width: 900px) { .bon--cote { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; } .bon--cote .bon__tete { grid-column: 1 / -1; } .bon--cote .bon__liste { position: sticky; top: 6rem; } }

/* ---------- Mouvement du site (Creation\Directions, réglage site.mouvement) : rien sans mouvement demandé ----------
   « revelation » : les sections encore sous l'écran au chargement apparaissent quand on y arrive (site.js) ; celles déjà
   visibles ne bougent jamais. « riche » (option) : en plus, les images suivent le défilement, là où le navigateur sait faire. */
@media (prefers-reduced-motion: no-preference) {
  html[data-mouvement] .bloc.mvt-attente > .bloc__in { opacity: 0; transform: translateY(18px); }
  html[data-mouvement] .bloc.mvt-vu > .bloc__in { opacity: 1; transform: none; transition: opacity .45s cubic-bezier(.23, 1, .32, 1), transform .45s cubic-bezier(.23, 1, .32, 1); }
  @supports (animation-timeline: view()) {
    html[data-mouvement="riche"] .bloc:not(.bloc--hero) .media img { animation: mvt-image linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    html[data-mouvement="riche"] .bloc--hero .media img { animation: mvt-hero linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
  }
}
@keyframes mvt-image { from { transform: scale(1.06); } to { transform: none; } }
@keyframes mvt-hero { to { transform: translateY(6%) scale(1.03); } }
/* Grands titres : un mot plus long que l'écran du téléphone se coupe au lieu de déborder (directions à grande échelle). */
.bloc h1, .bloc h2 { overflow-wrap: break-word; hyphens: auto; }
/* Assistant IA du chatbot (17/10/2026) : étiquette « Assistant IA », réponse en attente, question transmise à l'équipe. */
.chatbot__ia { font-size: .75rem; font-weight: 600; padding: .15rem .5rem; border-radius: 999px; background: color-mix(in srgb, var(--c-primaire-txt) 18%, transparent); margin-inline-end: .4rem; white-space: nowrap; }
.chatbot__note { margin: 0; padding: .4rem .8rem .6rem; font-size: .78rem; line-height: 1.4; color: color-mix(in srgb, var(--c-texte) 70%, transparent); }
.chatbot__note a { color: inherit; }
.bulle--attente { letter-spacing: .2em; }
.chatbot__transmettre { display: grid; gap: .45rem; padding: .7rem; border: 1px solid var(--bordure); border-radius: 1rem; max-width: 92%; }
.chatbot__transmettre label { font-size: .85rem; }
.chatbot__transmettre input { min-height: 44px; width: 100%; }
.chatbot__transmettre .piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) { .bulle--attente { animation: chatbot-attente 1s ease-in-out infinite alternate; } }
@keyframes chatbot-attente { from { opacity: .45; } to { opacity: 1; } }
/* Compte à rebours et chiffre vivant (18/10/2026). Boutons animés, avec retenue : rien ne s'élève, rien ne clignote. */
.compte { display: grid; gap: .4rem; }
.compte__titre { margin: 0; color: var(--c-doux); }
.compte__nombres { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 0; }
.compte__part strong { font-family: var(--police-titres); font-size: var(--t-xxl); font-variant-numeric: tabular-nums; line-height: 1; }
.compte__part span { color: var(--c-doux); font-size: var(--t-s); }
.compte__fin--apercu { opacity: .55; font-size: var(--t-s); }
.donnee__nombre { font-variant-numeric: tabular-nums; }
/* Chiffre clé ou vivant posé seul : le nombre en grand, sa légende dessous (avant, « 0clients » sur une ligne). */
p.chiffre { display: grid; gap: .35rem; margin: 0; }
p.chiffre > span:last-child:not(.chiffre__valeur) { color: var(--c-doux); }
.bouton.b-anim-fleche::after { content: "→"; display: inline-block; transition: transform .22s cubic-bezier(.23, 1, .32, 1); }
.bouton.b-anim-fleche:hover::after, .bouton.b-anim-fleche:focus-visible::after { transform: translateX(4px); }
.bouton.b-anim-trace { background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-position: 50% calc(100% - .45em); background-repeat: no-repeat; transition: background-size .28s cubic-bezier(.23, 1, .32, 1); }
.bouton.b-anim-trace:hover, .bouton.b-anim-trace:focus-visible { background-size: calc(100% - 2.4em) 2px; }
.bouton--principal.b-anim-trace { background-image: linear-gradient(currentColor, currentColor), none; background-color: var(--b, var(--c-primaire)); }
.bouton.b-anim-halo { transition: box-shadow .25s ease; }
.bouton.b-anim-halo:hover, .bouton.b-anim-halo:focus-visible { box-shadow: 0 0 0 5px color-mix(in srgb, var(--b, var(--c-primaire)) 22%, transparent); }
@media (prefers-reduced-motion: reduce) { .bouton.b-anim-fleche::after, .bouton.b-anim-trace, .bouton.b-anim-halo { transition: none; } }

/* Tunnels de vente : offre après paiement (lot 2a, R37). Le visuel du tunnel reste à décider : ici, la forme simple du site. */
.tunnel-offre { display: grid; gap: 1rem; text-align: center; justify-items: center; }
.tunnel-offre__image { max-width: min(100%, 28rem); border-radius: var(--rayon); }
.tunnel-offre h1 { margin: 0; }
.tunnel-offre__texte, .tunnel-offre .riche { max-width: 38rem; text-align: left; }
.tunnel-offre__prix { font-size: 1.6rem; font-weight: 600; margin: 0; }
.tunnel-offre__tva { margin: 0; }
.tunnel-offre__oui { display: grid; gap: .8rem; width: min(100%, 32rem); text-align: left; }
.tunnel-offre__oui .bouton { justify-self: stretch; }
.tunnel-offre__un-clic { margin: 0; font-size: .95rem; opacity: .85; text-align: center; }
.tunnel-offre__non .bouton { font-size: .95rem; }
/* =====================================================================================================================
   RÉGLAGES FORTS (27/10/2026). Règle : sur un site qui l'a activé (réglage « site.reglages_forts », classe « reg-forts » sur <body>),
   un réglage choisi dans l'éditeur l'emporte sur la feuille propre du site (assets/site/habillage.css, chargée après celle-ci) et sur
   les règles propres à une mise en page. Sans cela, sur un site habillé, la couleur, la taille ou la forme d'un bouton « ne
   changeaient rien » (constat du 27/10/2026), pas plus que « Foncé », « Espace : Aucun » ou « Coins arrondis » d'un élément.
   Pourquoi une option et pas pour tous : sur un site déjà en ligne, une valeur choisie autrefois et écrasée sans qu'on le voie
   apparaîtrait d'un coup (mesuré sur la copie locale de Cornell : « Clair », « Foncé » et l'espace des sections changeaient).
   Les nouveaux sites l'ont activé à l'installation ; un site existant l'active après vérification de son visuel.
   Force : le suffixe :not(#_) donne le poids d'un identifiant (1,0,0) sans en exiger un par élément et bat toute règle de classes,
   quel que soit l'ordre de chargement. Ni !important (il casserait toute retouche future d'une feuille de site), ni @layer (une règle
   sans couche l'emporte toujours sur une règle en couche : il faudrait ranger tout le cœur et tous les sites en couches). Si la
   feuille d'un site a ELLE-MÊME un !important sur une de ces propriétés, on met un !important en face de cette propriété seulement,
   en le disant ici (aucun cas à ce jour : Cornell en a quatre, sur d'autres propriétés).
   Les couleurs de texte (c-…) et de fond (fond-…) sont dans /theme.css (Theme::css), avec la même règle.
   ===================================================================================================================== */
.reg-forts .bouton.b-forme-pilule:not(#_) { border-radius: 999px; } .reg-forts .bouton.b-forme-droit:not(#_) { border-radius: 0; }
.reg-forts .bouton.b-largeur-large:not(#_) { min-width: min(100%, 15em); } .reg-forts .bouton.b-largeur-plein:not(#_) { width: 100%; }
.reg-forts .bouton.b-taille-s:not(#_) { min-height: 40px; padding: .45em 1em; font-size: .9em; } .reg-forts .bouton.b-taille-l:not(#_) { min-height: 54px; padding: .85em 1.8em; font-size: 1.12em; }
.reg-forts .bouton--principal.b-couleur:not(#_) { background: var(--b); color: var(--b-txt); border-color: var(--b); }
.reg-forts .bouton--secondaire.b-couleur:not(#_), .reg-forts .bouton--contour.b-couleur:not(#_), .reg-forts .bouton--lien.b-couleur:not(#_) { color: var(--b); }
.reg-forts .bouton.b-anim-trace:not(#_) { background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-position: 50% calc(100% - .45em); background-repeat: no-repeat; }
.reg-forts .bouton.b-anim-trace:hover:not(#_), .reg-forts .bouton.b-anim-trace:focus-visible:not(#_) { background-size: calc(100% - 2.4em) 2px; }
.reg-forts .espace-s:not(#_) { padding-block: calc(var(--espace) * .4); } .reg-forts .espace-m:not(#_) { padding-block: calc(var(--espace) * .7); } .reg-forts .espace-l:not(#_) { padding-block: var(--espace); } .reg-forts .espace-xl:not(#_) { padding-block: calc(var(--espace) * 1.6); } .reg-forts .espace-0:not(#_) { padding-block: 0; }
.reg-forts .texte-clair:not(#_) { color: #fff; } .reg-forts .texte-fonce:not(#_) { color: var(--c-texte); } /* « Foncé » n'avait aucune règle */
/* Éléments posés par « + Ajouter » : « Coins arrondis » vaut pour tout élément. Sur une IMAGE, le cercle d'avant reste (règle « .el.arrondi-rond img » plus haut, inchangée). */
.reg-forts .el.align-centre:not(#_) { text-align: center; } .reg-forts .el.align-droite:not(#_) { text-align: right; }
.reg-forts .el.fond-carte:not(#_) { background: var(--c-surface); border-radius: var(--rayon); padding: 1.25rem; box-shadow: var(--ombre); }
.reg-forts .el.arrondi-rond img:not(#_) { border-radius: 50%; } /* le cercle d'avant, avec la force des réglages forts */
.reg-forts .el.arrondi-rond:not(:has(img)):not(#_) { border-radius: calc(var(--rayon) * 1.6); overflow: clip; }
.reg-forts .el--bouton.arrondi-rond .bouton:not([class*="b-forme-"]):not(#_) { border-radius: calc(var(--rayon) * 1.6); }
.reg-forts .el.ombre-oui:not(#_) { box-shadow: var(--ombre); border-radius: var(--rayon); }
.reg-forts .el--bouton.ombre-oui:not(#_) { box-shadow: none; } .reg-forts .el--bouton.ombre-oui .bouton:not(#_) { box-shadow: var(--ombre); }
/* Images : forme et cadrage l'emportent sur les règles propres à une mise en page (« .v-scinde .hero .media img » : dans l'accroche, ni « Forme » ni « Cadrage » ne changeaient rien). */
.reg-forts .media.ratio-carre img:not(#_), .reg-forts .media.forme-cercle img:not(#_) { aspect-ratio: 1; }
.reg-forts .media.ratio-paysage img:not(#_) { aspect-ratio: 4 / 3; } .reg-forts .media.ratio-large img:not(#_) { aspect-ratio: 16 / 9; } .reg-forts .media.ratio-portrait img:not(#_), .reg-forts .media.forme-arche img:not(#_) { aspect-ratio: 3 / 4; }
.reg-forts .media.forme-arrondi img:not(#_) { border-radius: calc(var(--rayon) * 2.4); }
.reg-forts .media.forme-cercle img:not(#_) { border-radius: 50%; }
.reg-forts .media.forme-arche img:not(#_) { border-radius: 50% 50% var(--rayon) var(--rayon) / 34% 34% var(--rayon) var(--rayon); }
