/* Choutek — styles des modules publics (galeries, flexbox, actualités, avis, bandeau, FAQ).
   Tout est préfixé « ck- » et hérite de la police et des couleurs du site qui l'accueille.
   Pour accorder à un site sans toucher à ce fichier, définir dans le CSS du site (ou dans l'admin) :
   :root { --ck-accent: #b4001e; --ck-arrondi: 0px; --ck-police: "Ma police", sans-serif; } */
.ck, .ck-blog { --a: var(--ck-accent, currentColor); --r: var(--ck-arrondi, 14px); --trait: color-mix(in srgb, currentColor 16%, transparent); --voile: color-mix(in srgb, currentColor 6%, transparent); }
.ck { font-family: var(--ck-police, inherit); color: inherit; box-sizing: border-box; line-height: 1.55; }
.ck *, .ck *::before, .ck *::after { box-sizing: border-box; }
.ck img { max-width: 100%; display: block; }
.ck :focus-visible, .ck-blog :focus-visible { outline: 3px solid var(--a); outline-offset: 3px; }
.ck-titre { font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem); line-height: 1.15; margin: 0 0 1.1em; text-align: center; font-weight: 700; letter-spacing: -.01em; }
.ck-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: calc(var(--r) * .8); border: 2px solid var(--ck-accent, var(--ck-texte, #1d2524)); background: var(--ck-accent, var(--ck-texte, #1d2524)); color: var(--ck-fond, #fff); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.ck-btn--discret { background: none; color: inherit; border-color: var(--trait); }

/* ----- Galeries ----- */
.ck-gal { position: relative; margin: 1.6em 0; }
.ck-gal-item { display: block; overflow: hidden; border-radius: var(--r); background: var(--voile); cursor: zoom-in; }
.ck-gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ck-gal-item:hover img { transform: scale(1.04); }
.ck-gal--grille { --cols: 3; --gap: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.ck-gal--grille .ck-gal-item { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); aspect-ratio: 1; }
@media (max-width: 560px) { .ck-gal--grille { --cols: 2; --gap: 8px; } }   /* la dernière rangée incomplète reste centrée */
.ck-gal--mosaique { columns: 3 200px; column-gap: 10px; }
.ck-gal--mosaique .ck-gal-item { margin-bottom: 10px; break-inside: avoid; }
.ck-gal--mosaique img { height: auto; }
.ck-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; border-radius: var(--r); }
.ck-track::-webkit-scrollbar { display: none; }
.ck-track > * { flex: none; scroll-snap-align: center; }
.ck-gal--defilement { --vue: 3; }
.ck-gal--defilement .ck-track { gap: 12px; }
/* Un nombre entier de photos remplit exactement la largeur : on ne voit jamais un morceau de photo sur les bords. */
.ck-gal--defilement .ck-gal-item { width: calc((100% - (var(--vue) - 1) * 12px) / var(--vue)); aspect-ratio: 3 / 4; scroll-snap-align: start; }
.ck-gal--defilement .ck-gal-item:first-child { margin-left: auto; }   /* moins de photos que de places : elles restent centrées */
.ck-gal--defilement .ck-gal-item:last-child { margin-right: auto; }
@media (max-width: 640px) { .ck-gal--defilement { --vue: 2; } }
.ck-arrow { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ck-fond, #fff); color: var(--ck-texte, #16201f); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 18px rgba(0, 0, 0, .22); display: grid; place-items: center; padding: 0 0 3px; }
.ck-prev { left: 10px; } .ck-next { right: 10px; }
.ck-arrow[disabled] { opacity: 0; pointer-events: none; }
@media (hover: none) { .ck-arrow { display: none; } }

/* ----- Agrandissement d'une photo ----- */
.ck-zoom { position: fixed; inset: 0; z-index: 2147483000; background: rgba(8, 12, 12, .94); display: grid; place-items: center; padding: 16px; }
.ck-zoom img { max-width: 100%; max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); object-fit: contain; border-radius: 6px; }
.ck-zoom button { position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; }
.ck-zoom .ck-zoom-p { left: 14px; top: 50%; translate: 0 -50%; } .ck-zoom .ck-zoom-n { right: 14px; top: 50%; translate: 0 -50%; }
/* Fermer : en bas à droite, jamais caché par l'en-tête d'un site */
.ck-zoom .ck-zoom-x { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: auto; height: 48px; padding: 0 18px 0 14px; border-radius: 999px; gap: 6px; display: inline-flex; align-items: center; font: 600 15px/1 system-ui, sans-serif; background: #fff; color: #111; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.ck-zoom .ck-zoom-x::before { content: "×"; font-size: 1.6rem; line-height: 1; margin-top: -2px; }

/* ----- Flexbox : image d'un côté, texte de l'autre ----- */
.ck-flex { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(18px, 4vw, 48px); align-items: center; margin: 2.2em 0; text-align: left; }
.ck-flex img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.ck-flex p { margin: 0; font-size: 1.05em; line-height: 1.7; }
.ck-flex--droite img { order: 2; }
@media (max-width: 640px) { .ck-flex { grid-template-columns: 1fr; } .ck-flex--droite img { order: 0; } .ck-flex img { aspect-ratio: 4 / 3; } }

/* ----- FAQ (accordéons insérés dans les articles) ----- */
.interp-acc { border-bottom: 1px solid color-mix(in srgb, currentColor 16%, transparent); text-align: left; }
.interp-acc:first-of-type, br + .interp-acc { border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent); }
.interp-accbtn { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 16px 2px; background: none; border: 0; font: inherit; font-weight: 700; color: inherit; text-align: left; cursor: pointer; }
.interp-chev { flex: none; transition: rotate .2s; color: var(--ck-accent, currentColor); }
.interp-accbtn[aria-expanded=true] .interp-chev { rotate: 90deg; }
.interp-panel { display: none; padding: 0 2px 16px; }
.interp-accbtn[aria-expanded=true] + .interp-panel { display: block; }
.interp-panel .accor_text { margin: 0; }
.interp-acc + br { display: none; }

/* ----- Légendes de photos (galeries de l'accueil) ----- */
.ck-gal-fig { margin: 0; display: grid; gap: 8px; align-content: start; }
.ck-gal-fig figcaption { font-size: .92em; text-align: center; opacity: .85; padding: 0 4px; }
.ck-gal--grille > .ck-gal-fig { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
.ck-gal--grille > .ck-gal-fig .ck-gal-item { aspect-ratio: 1; }
.ck-gal--mosaique > .ck-gal-fig { margin-bottom: 10px; break-inside: avoid; }
.ck-gal--mosaique > .ck-gal-fig .ck-gal-item { margin: 0; }
.ck-gal--defilement .ck-gal-fig { width: calc((100% - (var(--vue) - 1) * 12px) / var(--vue)); scroll-snap-align: start; }
.ck-gal--defilement .ck-gal-fig .ck-gal-item { width: 100%; }
.ck-gal--defilement .ck-gal-fig:first-child { margin-left: auto; } .ck-gal--defilement .ck-gal-fig:last-child { margin-right: auto; }
.ck-mod { margin-block: clamp(28px, 5vw, 56px); }
.ck-mod > .ck-gal { margin: 0; }

/* ----- Actualités : Cartes, À la une, Fil ----- */
.ck-actus { text-align: left; }
.ck-actu { margin: 0; min-width: 0; }
.ck-actu-texte { margin: 0; white-space: pre-line; line-height: 1.65; }
.ck-actu-media { display: grid; gap: 8px; }
.ck-actu-photo { aspect-ratio: 4 / 3; }
.ck-actu-plus { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
.ck-actu-plus .ck-gal-item { aspect-ratio: 1; border-radius: calc(var(--r) * .6); }
/* Cartes : des cartes qui occupent toute la largeur, photo en haut et texte dessous */
.ck-actus-cartes { display: grid; gap: clamp(14px, 2.4vw, 24px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: start; }
.ck-actus--cartes .ck-actu { display: grid; align-content: start; overflow: hidden; border-radius: calc(var(--r) + 2px); background: var(--ck-fond, #fff); border: 1px solid var(--trait); box-shadow: 0 10px 28px -14px rgba(0, 0, 0, .35); }
.ck-actus--cartes .ck-actu-media { gap: 6px; }
.ck-actus--cartes .ck-actu-photo { border-radius: 0; aspect-ratio: 4 / 3; max-height: 440px; width: 100%; }
.ck-actus--cartes .ck-actu-plus { padding: 0 12px; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); }
.ck-actus--cartes .ck-actu-texte { padding: 14px 16px 18px; font-size: .97em; }
.ck-actus--cartes .ck-actu:not(:has(.ck-actu-media)) { border-top: 4px solid var(--a); }
/* À la une : mise en page magazine — grande photo et texte en grand côte à côte, les précédentes dessous */
.ck-actus-une { display: grid; gap: clamp(22px, 4vw, 40px); }
.ck-actu--grande { display: grid; gap: clamp(16px, 3vw, 36px); align-items: center; }
@media (min-width: 760px) { .ck-actu--grande:has(.ck-actu-media) { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.ck-actu--grande .ck-actu-photo { aspect-ratio: 4 / 3; border-radius: calc(var(--r) + 4px); }
.ck-actu--grande .ck-actu-plus { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
.ck-actu--grande .ck-actu-texte { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; }
.ck-actu--grande .ck-actu-texte::before { content: "À la une"; display: block; width: max-content; margin-bottom: .8em; padding: 5px 12px; border-radius: 999px; background: var(--ck-accent, var(--ck-texte, #1d2524)); color: var(--ck-fond, #fff); font-size: .62em; font-weight: 700; letter-spacing: .04em; line-height: 1.2; }
.ck-actu--grande:not(:has(.ck-actu-media)) { padding: clamp(22px, 4vw, 36px); background: var(--voile); border-radius: var(--r); border-left: 5px solid var(--a); }
.ck-actus-liste { display: grid; gap: 0 clamp(16px, 3vw, 32px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); border-top: 1px solid var(--trait); }
.ck-actu--petite { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--trait); }
.ck-actu--petite:not(:has(.ck-actu-media)) { grid-template-columns: minmax(0, 1fr); }
.ck-actu--petite .ck-actu-photo { aspect-ratio: 1; border-radius: calc(var(--r) * .7); }
.ck-actu--petite .ck-actu-texte { font-size: .95em; }
/* Fil */
.ck-actus-fil { display: grid; gap: clamp(18px, 3vw, 28px); max-width: 760px; margin-inline: auto; padding-left: 28px; position: relative; }
.ck-actus-fil::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--trait); border-radius: 2px; }
.ck-actus--fil .ck-actu { position: relative; display: grid; gap: 12px; }
.ck-actus--fil .ck-actu::before { content: ""; position: absolute; left: -28px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--ck-fond, #fff); border: 4px solid var(--a); }
.ck-actus--fil .ck-actu-media { grid-template-columns: repeat(auto-fill, minmax(min(46%, 150px), 1fr)); order: 2; }
.ck-actus--fil .ck-actu-plus { display: contents; }
.ck-actus--fil .ck-actu-plus .ck-gal-item, .ck-actus--fil .ck-actu-photo { aspect-ratio: 4 / 3; border-radius: calc(var(--r) * .7); }

/* ----- Avis : Cartes, Grande citation, Mur d'avis ----- */
.ck-avis { position: relative; }
.ck-etoiles { color: #e0a100; letter-spacing: 3px; font-size: 1.05rem; line-height: 1; }
.ck-etoiles-vides { opacity: .22; color: currentColor; }
.ck-avis-carte { margin: 0; padding: clamp(20px, 3vw, 26px); border-radius: var(--r); border: 1px solid var(--trait); background: var(--ck-fond, transparent); display: grid; gap: 12px; align-content: start; text-align: left; }
.ck-avis-carte blockquote { margin: 0; line-height: 1.6; }
.ck-avis-carte figcaption { font-weight: 700; } .ck-avis-carte figcaption span { font-weight: 400; opacity: .65; margin-left: 8px; }
/* Cartes */
.ck-avis--cartes .ck-track { gap: 16px; padding: 4px; }
.ck-avis--cartes .ck-avis-carte { width: min(86%, 380px); }
/* Grande citation */
.ck-avis-scene { display: grid; max-width: 820px; margin-inline: auto; }
.ck-avis--citation .ck-avis-carte { grid-area: 1 / 1; border: 0; background: none; text-align: center; justify-items: center; gap: 18px; padding: 8px 4px; }
.ck-avis--citation blockquote { font-size: clamp(1.15rem, 1rem + 1vw, 1.6rem); line-height: 1.45; font-weight: 500; position: relative; }
.ck-avis--citation blockquote::before { content: "\201C"; display: block; font: 700 4.2rem/0.6 Georgia, serif; color: var(--a); margin-bottom: .2em; }
[data-ck-citation].is-pret .ck-avis-carte { opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
[data-ck-citation].is-pret .ck-avis-carte.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.ck-avis-points { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.ck-avis-points button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: var(--trait); cursor: pointer; transition: width .3s, background .3s; }
.ck-avis-points button[aria-selected="true"] { width: 28px; border-radius: 6px; background: var(--a); }
.ck-avis-points button::after { content: ""; display: block; margin: -12px; height: 34px; }   /* zone de toucher plus grande */
[data-ck-citation]:not(.is-pret) .ck-avis-scene { gap: 28px; }
[data-ck-citation]:not(.is-pret) .ck-avis-carte { grid-area: auto; }
[data-ck-citation]:not(.is-pret) .ck-avis-points { display: none; }
/* Mur d'avis */
.ck-avis-moyenne { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px; margin: -.4em 0 1.6em; }
.ck-avis-note { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.ck-avis-moyenne .ck-etoiles { font-size: 1.3rem; }
.ck-avis-nb { opacity: .7; }
.ck-avis-mur { columns: 3 260px; column-gap: 16px; }
.ck-avis-mur .ck-avis-carte { break-inside: avoid; margin-bottom: 16px; }

/* ----- Zone d'intervention : Pastilles, Colonnes, Phrase ----- */
.ck-zone-liste { list-style: none; margin: 0; padding: 0; }
.ck-zone a { color: inherit; }
/* Pastilles */
.ck-zone--pastilles .ck-zone-liste { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ck-zone--pastilles .ck-zone-ville { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px 9px 12px; border-radius: 999px; border: 1px solid var(--trait); background: var(--ck-fond, transparent); text-decoration: none; font-weight: 600; transition: border-color .2s, background .2s; }
.ck-zone--pastilles .ck-zone-ville::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--ck-accent, currentColor); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.ck-zone--pastilles a.ck-zone-ville:hover { border-color: var(--ck-accent, currentColor); background: var(--voile); }
/* Colonnes */
.ck-zone--colonnes .ck-zone-liste { columns: 4 170px; column-gap: clamp(18px, 4vw, 40px); max-width: 980px; margin-inline: auto; }
.ck-zone--colonnes li { break-inside: avoid; border-bottom: 1px solid var(--trait); }
.ck-zone--colonnes .ck-zone-ville { display: flex; justify-content: space-between; gap: 10px; padding: 10px 2px; text-decoration: none; }
.ck-zone--colonnes a.ck-zone-ville::after { content: "›"; color: var(--ck-accent, currentColor); font-weight: 700; }
.ck-zone--colonnes a.ck-zone-ville:hover { color: var(--ck-accent, inherit); }
/* Phrase */
.ck-zone-phrase { max-width: 760px; margin: 0 auto; text-align: center; font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); line-height: 1.7; }
.ck-zone-phrase a { text-decoration-color: var(--ck-accent, currentColor); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ----- Tarifs : Liste, Cartes, Onglets ----- */
/* Bouton d'appel flottant */
.ck-appel { position: fixed; z-index: 70; bottom: max(16px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.ck-appel--d { right: 16px; } .ck-appel--g { left: 16px; align-items: flex-start; }
.ck-appel-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 58px; height: 58px; padding: 0 17px; border-radius: 999px;
  background: var(--ck-accent, #1d2524); color: #fff; text-decoration: none; font-weight: 700; font-size: 1rem; box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .45); transition: transform .15s ease; }
.ck-appel-btn:hover { transform: translateY(-2px); } .ck-appel-btn:active { transform: scale(.96); }
.ck-appel-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px var(--ck-accent, #1d2524); }
.ck-appel-btn--wa { background: #1f8f4e; }
.ck-appel .ck-appel-btn, .ck-appel .ck-appel-btn:visited, .ck-appel .ck-appel-btn:hover { color: #fff; text-decoration: none; }   /* plus fort que la couleur des liens des pages */
.ck-appel-btn svg { width: 26px; height: 26px; flex: 0 0 auto; fill: currentColor; }
.ck-appel--rond .ck-appel-txt, .ck-appel--pulse .ck-appel-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ck-appel--rond .ck-appel-btn, .ck-appel--pulse .ck-appel-btn { width: 60px; height: 60px; padding: 0; }
.ck-appel--pulse .ck-appel-btn::before, .ck-appel--pulse .ck-appel-btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; z-index: -1; animation: ck-pulse 2.2s ease-out infinite; }
.ck-appel--pulse .ck-appel-btn::after { animation-delay: 1.1s; }
@keyframes ck-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.9); opacity: 0; } }
.ck-appel--pulse .ck-appel-btn--tel svg { animation: ck-sonne 3.3s ease-in-out infinite; }
@keyframes ck-sonne { 0%, 82%, 100% { transform: rotate(0); } 85% { transform: rotate(-14deg); } 88% { transform: rotate(14deg); } 91% { transform: rotate(-10deg); } 94% { transform: rotate(8deg); } }
.ck-appel--onglet { bottom: auto; top: 50%; transform: translateY(-50%); gap: 6px; }
.ck-appel--onglet.ck-appel--d { right: 0; } .ck-appel--onglet.ck-appel--g { left: 0; }
.ck-appel--onglet .ck-appel-btn { writing-mode: vertical-rl; height: auto; min-width: 0; width: 50px; padding: 18px 0; gap: 10px; }
.ck-appel--onglet.ck-appel--d .ck-appel-btn { border-radius: 14px 0 0 14px; } .ck-appel--onglet.ck-appel--g .ck-appel-btn { border-radius: 0 14px 14px 0; transform: none; }
.ck-appel--onglet .ck-appel-btn svg { transform: none; }
.ck-appel--onglet .ck-appel-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* onglet : l'icône seule */
.ck-appel--onglet .ck-appel-btn { padding: 16px 0; }
.ck-appel--onglet .ck-appel-btn:hover { transform: none; }
@media (max-width: 760px) {
  .ck-appel--barre { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; align-items: stretch; box-shadow: 0 -6px 20px -8px rgba(0, 0, 0, .35); }
  .ck-appel--barre .ck-appel-btn { flex: 1; height: 58px; border-radius: 0; box-shadow: none; padding-bottom: env(safe-area-inset-bottom); }
  .ck-appel--barre .ck-appel-btn:hover { transform: none; }
  body:has(.ck-appel--barre) { padding-bottom: 58px; }
}
.ck-appel--mobile { display: none; }
@media (hover: hover) and (pointer: fine) { .ck-appel-btn--tel { display: none; } .ck-appel:not(:has(.ck-appel-btn--wa)) { display: none; } }   /* ordinateur : on ne peut pas appeler, seul WhatsApp reste */
.ck-apercu .ck-appel-btn--tel { display: inline-flex; } .ck-apercu .ck-appel { display: flex; }   /* aperçu de l'admin : on montre le rendu téléphone */
@media (max-width: 760px) { .ck-appel--mobile { display: flex; } }
@media (prefers-reduced-motion: reduce) { .ck-appel--pulse .ck-appel-btn::before, .ck-appel--pulse .ck-appel-btn::after, .ck-appel--pulse .ck-appel-btn--tel svg { animation: none; } }
@media print { .ck-appel { display: none; } }

/* Formulaire de devis */
.ck-devis { text-align: left; scroll-margin-top: 90px; }
.ck-devis-accroche .ck-titre { margin-bottom: .3em; }
.ck-devis-intro { margin: 0 0 .4em; opacity: .85; }
.ck-devis-tel { margin: 0 0 1em; font-weight: 600; } .ck-devis-tel a { color: var(--a); }
.ck-devis-form { display: grid; gap: 14px; }
.ck-devis-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.ck-devis-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95em; }
.ck-devis-lab em { font-style: normal; font-weight: 400; opacity: .65; font-size: .9em; margin-left: 4px; }
.ck-devis-form input[type=text], .ck-devis-form input[type=tel], .ck-devis-form input[type=email], .ck-devis-form textarea {
  width: 100%; box-sizing: border-box; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--trait); border-radius: 12px; background: var(--ck-fond, #fff); color: inherit; font: inherit; font-weight: 400; }
.ck-devis-form textarea { min-height: 120px; resize: vertical; }
.ck-devis-form input:focus, .ck-devis-form textarea:focus { outline: 2px solid var(--a); outline-offset: 1px; border-color: transparent; }
.ck-devis-accord { display: flex !important; grid-template-columns: none; gap: 10px !important; align-items: flex-start; font-weight: 400 !important; font-size: .9em !important; }
.ck-devis-accord input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; accent-color: var(--a); }
.ck-devis-btn { justify-self: start; min-height: 50px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--ck-accent, #1d2524); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.ck-devis-btn:hover { filter: brightness(1.08); }
/* Site exporté sans PHP : la demande de devis part par la messagerie du visiteur. */
.ck-devis--mail .ck-devis-corps { display: grid; align-content: center; gap: 8px; }
.ck-devis-mail { margin: 0; } .ck-devis-mail .ck-devis-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.ck-devis--carte .ck-devis-mail .ck-devis-btn { display: flex; }
.ck-devis-mail-adr { margin: 0; opacity: .75; font-size: .92em; overflow-wrap: anywhere; }
.ck-devis-piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ck-devis-msg { margin: 0 0 14px; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.ck-devis-msg--ok { background: color-mix(in srgb, #1f9d55 14%, transparent); border: 1px solid color-mix(in srgb, #1f9d55 45%, transparent); }
.ck-devis-msg--err { background: color-mix(in srgb, #c0392b 12%, transparent); border: 1px solid color-mix(in srgb, #c0392b 45%, transparent); }
.ck-devis--carte { max-width: 760px; margin-inline: auto; padding: clamp(20px, 4vw, 36px); border: 1px solid var(--trait); border-radius: calc(var(--r) + 4px); background: var(--voile); }
.ck-devis--carte .ck-devis-accroche { text-align: center; } .ck-devis--carte .ck-devis-btn { justify-self: stretch; }
.ck-devis--bande { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 48px); align-items: start; padding: clamp(24px, 5vw, 56px); border-radius: calc(var(--r) + 6px); background: var(--ck-accent, #1d2524); color: #fff; }
.ck-devis--bande .ck-titre { color: #fff; text-align: left; } .ck-devis--bande .ck-devis-tel a { color: #fff; }
.ck-devis--bande .ck-devis-corps { background: var(--ck-fond, #fff); color: var(--ck-texte, #16201f); padding: clamp(18px, 3vw, 28px); border-radius: calc(var(--r) + 2px); }
@media (max-width: 760px) { .ck-devis--bande { grid-template-columns: 1fr; } }

/* Horaires */
.ck-hor { text-align: left; padding: 10px; }
.ck-hor--tableau, .ck-hor--carte { max-width: 640px; margin-inline: auto; }
.ck-hor--tableau .ck-hor-etat { display: flex; width: fit-content; margin-inline: auto; }
.ck-hor-etat { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 1em; padding: 6px 14px; border-radius: 999px; font-weight: 650; background: var(--voile); }
.ck-hor-etat i { width: 10px; height: 10px; border-radius: 50%; background: #c0392b; flex: 0 0 auto; }
.ck-hor-etat.is-ouvert i { background: #1f9d55; box-shadow: 0 0 0 4px color-mix(in srgb, #1f9d55 22%, transparent); }
.ck-hor-jours { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--trait); }
.ck-hor-jours li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 11px 4px; border-bottom: 1px solid var(--trait); }
.ck-hor-jours li.is-auj { font-weight: 700; background: var(--voile); border-radius: 6px; }
.ck-hor-j em { font-style: normal; font-weight: 600; font-size: .78em; color: var(--a); margin-left: 6px; }
.ck-hor-h { font-variant-numeric: tabular-nums; text-align: right; }
.ck-hor-note { margin: 1em 0 0; padding: 10px 14px; border-left: 4px solid var(--a); background: var(--voile); border-radius: 0 8px 8px 0; }
.ck-hor--carte .ck-hor-boite { padding: clamp(18px, 3vw, 28px); border-radius: calc(var(--r) + 2px); border: 1px solid var(--trait); background: var(--voile); }
.ck-hor--carte .ck-hor-etat { background: var(--ck-fond, #fff); font-size: 1.05em; }
.ck-hor-auj { margin: 0; }
.ck-hor-semaine { margin-top: 1em; } .ck-hor-semaine summary { cursor: pointer; font-weight: 600; color: var(--a); padding: 4px 0; }
.ck-hor-semaine .ck-hor-jours { margin-top: .6em; }
.ck-hor--ligne { margin-block: 12px; }
.ck-hor-ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; margin: 0; }
.ck-hor-ligne .ck-hor-etat { margin: 0; }
.ck-hor--ligne .ck-hor-note { text-align: center; border: 0; border-radius: 8px; }
/* Annonce */
.ck-annonce { position: relative; display: flex; align-items: center; gap: 10px; }
.ck-annonce-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; flex: 1; }
.ck-annonce-in p { margin: 0; }
.ck-annonce-lien { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; font-weight: 650; text-decoration: none; background: var(--ck-fond, #fff); color: var(--ck-accent, #222); }
.ck-annonce-x { flex: 0 0 auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.ck-annonce-x:hover { background: rgba(255, 255, 255, .18); }
.ck-annonce--bandeau { padding: 10px 12px 10px 18px; text-align: center; background: var(--ck-accent, #1d2524); color: #fff; font-weight: 550; }
.ck-annonce--encart { padding: clamp(18px, 3vw, 28px); border-radius: calc(var(--r) + 2px); background: var(--voile); border: 2px solid var(--a); text-align: center; font-size: 1.08em; font-weight: 600; }
.ck-annonce--encart .ck-annonce-lien { background: var(--ck-accent, #222); color: #fff; }
.ck-annonce--flottant { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 420px; margin-left: auto; padding: 14px 10px 14px 18px; border-radius: calc(var(--r) + 2px);
  background: var(--ck-accent, #1d2524); color: #fff; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45); animation: ck-annonce-in .4s ease both; }
.ck-annonce--flottant .ck-annonce-in { justify-content: flex-start; }
@keyframes ck-annonce-in { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) { .ck-annonce--flottant { animation: none; } }
/* Offres et promotions */
.ck-offres-liste { display: grid; gap: clamp(14px, 2.4vw, 24px); align-items: start; }
.ck-offre { position: relative; overflow: hidden; border-radius: calc(var(--r) + 2px); border: 1px solid var(--trait); background: var(--ck-fond, #fff); display: grid; align-content: start; }
.ck-offre-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ck-offre-corps { padding: 16px 18px 18px; display: grid; gap: 6px; align-content: start; }
.ck-offre-etiq { justify-self: start; padding: 3px 11px; border-radius: 999px; background: var(--ck-accent, #1d2524); color: #fff; font-size: .8em; font-weight: 700; }
.ck-offre-media + .ck-offre-corps .ck-offre-etiq { position: absolute; top: 12px; left: 12px; }
.ck-offre-titre { margin: 0; font-size: 1.12em; line-height: 1.25; }
.ck-offre-texte { margin: 0; opacity: .85; }
.ck-offre-prix { margin: 4px 0 0; font-size: 1.25em; } .ck-offre-prix del { opacity: .55; font-size: .8em; margin-right: 4px; } .ck-offre-prix strong { color: var(--a); }
.ck-offre-fin { margin: 0; font-size: .85em; opacity: .7; }
.ck-offres--cartes .ck-offres-liste { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; }   /* cartes centrées, même hauteur par rangée */
.ck-offres--cartes .ck-offre { flex: 0 1 min(100%, 320px); }
.ck-offres--liste .ck-offres-liste { grid-auto-rows: 1fr; align-items: stretch; }   /* toutes les lignes à la même hauteur */
.ck-offres--liste .ck-offre { grid-template-columns: min(32%, 220px) 1fr; } .ck-offres--liste .ck-offre--sans { grid-template-columns: 1fr; }
.ck-offres--liste .ck-offre-media { position: relative; min-height: 130px; }   /* la photo remplit sa case sans dicter la hauteur */
.ck-offres--liste .ck-offre-media img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.ck-offres--une .ck-offres-liste { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.ck-offres--une .ck-offre--grande { grid-column: 1 / -1; }
@media (min-width: 700px) { .ck-offres--une .ck-offre--grande:not(.ck-offre--sans) { grid-template-columns: 1.2fr 1fr; } .ck-offres--une .ck-offre--grande .ck-offre-media img { height: 100%; aspect-ratio: auto; }
  .ck-offres--une .ck-offre--grande .ck-offre-corps { align-content: center; padding: clamp(20px, 3vw, 36px); } .ck-offres--une .ck-offre--grande .ck-offre-titre { font-size: 1.5em; } }
/* Accordéon du site : <details> natifs (marchent sans JavaScript), sur toute la largeur */
.ck-acc { text-align: left; padding-block: 10px; }   /* prend la largeur de son conteneur, comme les autres blocs */
.ck-acc-liste { display: grid; }
.ck-acc-item summary { display: flex; align-items: center; gap: 14px; cursor: pointer; list-style: none; padding: 16px 4px; font-weight: 600; font-size: 1.05em; line-height: 1.35; }
.ck-acc-item summary::-webkit-details-marker { display: none; }
.ck-acc-item summary span { flex: 1; }
.ck-acc-item summary:focus-visible { outline: 2px solid var(--a); outline-offset: 2px; border-radius: 6px; }
.ck-acc-signe { position: relative; flex: 0 0 18px; height: 18px; }
.ck-acc-signe::before, .ck-acc-signe::after { content: ""; position: absolute; left: 2px; right: 2px; top: 8px; height: 2px; border-radius: 2px; background: var(--a); transition: transform .2s ease; }
.ck-acc-signe::after { transform: rotate(90deg); }
.ck-acc-item[open] .ck-acc-signe::after { transform: rotate(0deg); }
.ck-acc-texte { padding: 0 4px 18px; line-height: 1.6; opacity: .9; }
.ck-acc-texte p { margin: 0 0 .8em; } .ck-acc-texte p:last-child { margin-bottom: 0; }
.ck-acc--lignes .ck-acc-liste { border-top: 1px solid var(--trait); }
.ck-acc--lignes .ck-acc-item { border-bottom: 1px solid var(--trait); }
.ck-acc--cartes .ck-acc-liste { gap: 10px; }
.ck-acc--cartes .ck-acc-item { border: 1px solid var(--trait); border-radius: var(--r); background: var(--voile); padding: 0 clamp(12px, 2.5vw, 20px); }
.ck-acc--cartes .ck-acc-item[open] { border-color: color-mix(in srgb, var(--a) 45%, transparent); }
@media (prefers-reduced-motion: reduce) { .ck-acc-signe::before, .ck-acc-signe::after { transition: none; } }
.ck-tarifs { text-align: left; }
.ck-tarifs ul { list-style: none; margin: 0; padding: 0; }
.ck-tarifs-titre { margin: 0 0 .7em; font-size: 1.15em; font-weight: 700; line-height: 1.25; }
.ck-tarif { display: grid; grid-template-columns: auto minmax(12px, 1fr) auto; align-items: baseline; column-gap: 8px; padding: 9px 0; }
.ck-tarif-nom { min-width: 0; }
.ck-tarif-points { border-bottom: 2px dotted var(--trait); transform: translateY(-4px); }
.ck-tarif-prix { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ck-tarif-detail { grid-column: 1 / -1; font-size: .88em; opacity: .7; margin-top: 2px; }
.ck-tarifs-note { margin: 1.4em 0 0; font-size: .9em; opacity: .75; text-align: center; }
@media (max-width: 480px) { .ck-tarif { grid-template-columns: minmax(0, 1fr) auto; } .ck-tarif-points { display: none; } }
/* Liste : les catégories en colonnes sur grand écran */
.ck-tarifs--liste .ck-tarifs-cats { columns: 2 340px; column-gap: clamp(28px, 5vw, 64px); }
.ck-tarifs--liste .ck-tarifs-cat { break-inside: avoid; margin-bottom: 1.8em; }
.ck-tarifs--liste .ck-tarifs-cats--une { columns: auto; }
.ck-tarifs--liste .ck-tarifs-titre { padding-bottom: .45em; border-bottom: 2px solid var(--a); }
/* Cartes : une carte par catégorie */
.ck-tarifs--cartes .ck-tarifs-cats { display: grid; gap: clamp(14px, 2.4vw, 24px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: start; }
.ck-tarifs--cartes .ck-tarifs-cat { padding: clamp(18px, 3vw, 26px); border-radius: calc(var(--r) + 2px); background: var(--voile); border-top: 4px solid var(--a); }
.ck-tarifs--cartes .ck-tarif { grid-template-columns: minmax(0, 1fr) auto; border-bottom: 1px solid var(--trait); }
.ck-tarifs--cartes .ck-tarif:last-child { border-bottom: 0; }
.ck-tarifs--cartes .ck-tarif-points { display: none; }
/* Onglets : une catégorie à la fois */
.ck-onglets { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 1.4em; }
.ck-onglets button { font: inherit; font-weight: 600; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--trait); background: none; color: inherit; cursor: pointer; }
.ck-onglets button[aria-selected="true"] { background: var(--ck-accent, var(--ck-texte, #1d2524)); border-color: transparent; color: var(--ck-fond, #fff); }
.ck-tarifs--onglets .ck-tarifs-cats { max-width: 760px; margin-inline: auto; }
.ck-tarifs--onglets .ck-tarif { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 14px; border-radius: calc(var(--r) * .6); }
.ck-tarifs--onglets .ck-tarif:nth-child(odd) { background: var(--voile); }
.ck-tarifs--onglets .ck-tarif-points { display: none; }
[data-ck-onglets].is-pret .ck-tarifs-cat[hidden] { display: none; }
[data-ck-onglets].is-pret .ck-tarifs-titre { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[data-ck-onglets]:not(.is-pret) .ck-onglets { display: none; }
[data-ck-onglets]:not(.is-pret) .ck-tarifs-cat + .ck-tarifs-cat { margin-top: 1.8em; }

/* ----- Bandeau de mots : Ruban, Grand titre, Pastilles ----- */
.ck-bandeau { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ck-bandeau-piste { display: flex; align-items: center; width: max-content; animation: ck-defile 28s linear infinite; }
.ck-bandeau:hover .ck-bandeau-piste { animation-play-state: paused; }
.ck-bandeau span { white-space: nowrap; position: relative; }
/* Ruban */
.ck-bandeau--ruban { padding: 14px 0; border-block: 1px solid var(--trait); }
.ck-bandeau--ruban span { padding: 0 26px; font-weight: 700; font-size: 1.15em; }
.ck-bandeau--ruban span::after { content: ""; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--a); translate: 0 -50%; }
/* Grand titre : un mot sur deux en contour */
.ck-bandeau--titre { padding: 6px 0; }
.ck-bandeau--titre .ck-bandeau-piste { animation-duration: 46s; }
.ck-bandeau--titre span { padding: 0 .45em; font-size: clamp(2.2rem, 1.2rem + 5vw, 5.2rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; }
.ck-bandeau--titre span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--a); }
@supports not (-webkit-text-stroke: 1px red) { .ck-bandeau--titre span:nth-child(even) { color: var(--a); } }
/* Pastilles */
.ck-bandeau--pastilles { padding: 8px 0; }
.ck-bandeau--pastilles .ck-bandeau-piste { gap: 12px; padding-inline: 6px; animation-duration: 36s; }
.ck-bandeau--pastilles span { padding: 10px 20px; border-radius: 999px; background: color-mix(in srgb, var(--a) 12%, transparent); border: 1px solid color-mix(in srgb, var(--a) 30%, transparent); font-weight: 600; }
@keyframes ck-defile { to { translate: -50% 0; } }
@media (prefers-reduced-motion: reduce) {
  .ck-bandeau { -webkit-mask-image: none; mask-image: none; }
  .ck-bandeau-piste { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 10px; }
  .ck-bandeau .ck-dup { display: none; }
  .ck-bandeau--titre span { font-size: clamp(1.6rem, 1rem + 3vw, 3rem); }
  .ck-gal-item img, .interp-chev { transition: none; }
  [data-ck-citation].is-pret .ck-avis-carte { transition: none; }
}

/* ----- Images placées dans un article : petite, moyenne, grande ----- */
.ck-texte img.ck-img-p { width: max(33%, 150px); }
.ck-texte img.ck-img-m { width: 66%; }
.ck-texte img.ck-img-g { width: 100%; }
@media (max-width: 520px) { .ck-texte img.ck-img-m { width: 86%; } }

/* ----- Galerie « À la une » : une grande photo et ses miniatures ----- */
.ck-gal--une { display: grid; gap: 10px; }
.ck-une-scene { position: relative; aspect-ratio: 3 / 2; max-height: 72vh; width: 100%; border-radius: var(--r); overflow: hidden; background: var(--voile); touch-action: pan-y; }
.ck-une-grande { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.ck-une-grande img { width: 100%; height: 100%; object-fit: cover; }
.ck-une-grande img.ck-une-in { animation: ck-une-in .35s ease; }
@keyframes ck-une-in { from { opacity: .25; } to { opacity: 1; } }
.ck-une-compteur { position: absolute; left: 12px; bottom: 12px; padding: 4px 11px; border-radius: 99px; background: rgba(0, 0, 0, .55); color: #fff; font-size: .82rem; font-weight: 600; font-variant-numeric: tabular-nums; pointer-events: none; }
.ck-une-legende { margin: 0; min-height: 1.4em; text-align: center; font-size: .95rem; line-height: 1.4; opacity: .85; }
.ck-une-vignettes { position: relative; display: flex; gap: 8px; overflow-x: auto; padding: 3px; scrollbar-width: none; }
.ck-une-vignettes::-webkit-scrollbar { display: none; }
.ck-une-vignette { flex: 0 0 auto; width: clamp(64px, 13%, 108px); aspect-ratio: 1; border-radius: calc(var(--r) * .6); overflow: hidden; opacity: .55; transition: opacity .2s; outline-offset: 2px; }
.ck-une-vignette:first-child { margin-left: auto; } .ck-une-vignette:last-child { margin-right: auto; }   /* peu de miniatures : rangée centrée */
.ck-une-vignette img { width: 100%; height: 100%; object-fit: cover; }
.ck-une-vignette:hover { opacity: .85; }
.ck-une-vignette[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--ck-fond, #fff), 0 0 0 4px var(--a); }
@media (max-width: 560px) { .ck-une-scene { aspect-ratio: 4 / 3; } }
@media (prefers-reduced-motion: reduce) { .ck-une-grande img.ck-une-in { animation: none; } .ck-une-vignette { transition: none; } }

/* ----- Galerie « Pile de photos » ----- */
.ck-pile-photo { margin: 0; padding: 10px 10px 38px; background: #fff; border-radius: 3px; box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 10px 26px rgba(0, 0, 0, .18); }
.ck-pile-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #eee; }
.ck-pile-img img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
/* Sans JavaScript : les tirages côte à côte */
.ck-gal--pile .ck-pile-zone { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 22px; padding: 10px; }
.ck-gal--pile .ck-pile-photo { transform: rotate(var(--rot)); }
/* Avec JavaScript : la pile */
.ck-gal--pile.is-pile .ck-pile-zone { display: block; position: relative; width: min(100%, 520px); margin: 0 auto; aspect-ratio: 1 / .9; padding: 0; }
.is-pile .ck-pile-photo { position: absolute; left: 7%; right: 7%; top: 6%; transform: rotate(var(--rot)) translateY(var(--dy, 0)); transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .35s; }
.is-pile .ck-pile-photo.is-top { transform: rotate(calc(var(--rot) * .4)); cursor: grab; touch-action: pan-y; }
.is-pile .ck-pile-photo.is-top:active { cursor: grabbing; }
.is-pile .ck-pile-photo.is-deep { opacity: 0; }
.is-pile .ck-pile-photo.is-drag { transition: none; }
.is-pile .ck-pile-photo.is-out { transform: translate(calc(var(--dir, 1) * 115%), -6%) rotate(calc(var(--dir, 1) * 22deg)); opacity: 0; }
.is-pile .ck-pile-photo.is-in { transform: translate(-115%, -6%) rotate(-22deg); opacity: 0; transition: none; }
.is-pile .ck-pile-img { cursor: inherit; }
.ck-gal--pile:not(.is-pile) .ck-pile-barre { display: none; }
.ck-pile-barre { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 18px; }
.ck-pile-btn { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--trait); background: none; color: inherit; font: inherit; font-weight: 700; font-size: 1.05rem; cursor: pointer; }
.ck-pile-btn:hover { border-color: currentColor; }
.ck-pile-zoom { font-size: .9rem; margin-left: 6px; }
.ck-pile-compteur { min-width: 56px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; opacity: .8; }
@media (min-width: 900px) { .ck-gal--pile.is-pile .ck-pile-zone { width: min(100%, 640px); } }   /* un peu plus grand sur ordinateur */
@media (prefers-reduced-motion: reduce) { .is-pile .ck-pile-photo { transition: none; } }

/* ----- Animations discrètes (option de l'admin) ----- */
@keyframes ck-titre { from { opacity: 0; transform: translateY(-28px); } }
.ck-anim .ck-hero h1, .ck-anim .ck-hero-accroche { animation: ck-titre .9s cubic-bezier(.16, .84, .3, 1) .1s both; }
.ck-anim .ck-hero--accroche h1 { animation-delay: .25s; }   /* l'accroche d'abord, le titre juste après */
.ck-reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.ck-reveal.ck-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ck-anim .ck-hero h1, .ck-anim .ck-hero-accroche { animation: none; }
  .ck-reveal { opacity: 1; transform: none; transition: none; }
}

/* ----- Galerie « Avant / après » ----- */
.ck-ba-paire { margin: 0; }
.ck-ba-paire + .ck-ba-paire { margin-top: 16px; }
/* Sans JavaScript : les deux photos côte à côte */
.ck-gal--ba { max-width: 760px; margin-left: auto; margin-right: auto; }
.ck-gal--ba .ck-ba-cadre { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ck-gal--ba .ck-ba-cadre img { width: 100%; height: auto; border-radius: var(--r); }
.ck-gal--ba .ck-ba-tag, .ck-gal--ba .ck-ba-poignee, .ck-gal--ba .ck-ba-curseur, .ck-gal--ba .ck-ba-nav { display: none; }
/* Avec JavaScript : la comparaison */
.ck-gal--ba.is-ba .ck-ba-paire[data-ck-later] { display: none; }
.ck-gal--ba.is-ba .ck-ba-paire.is-on { display: block; }
.ck-gal--ba.is-ba .ck-ba-paire + .ck-ba-paire { margin-top: 0; }
.is-ba .ck-ba-cadre { display: block; position: relative; overflow: hidden; border-radius: var(--r); background: var(--voile); user-select: none; -webkit-user-select: none; }
.is-ba .ck-ba-cadre img { border-radius: 0; }
.is-ba .ck-ba-avant { display: block; width: 100%; height: auto; }
.is-ba .ck-ba-apres { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.is-ba .ck-ba-apres img { width: 100%; height: 100%; object-fit: cover; }
.is-ba .ck-ba-tag { display: block; position: absolute; top: 12px; padding: 4px 11px; border-radius: 99px; background: rgba(0, 0, 0, .55); color: #fff; font-size: .8rem; font-weight: 700; pointer-events: none; transition: opacity .2s; }
.ck-ba-tag--avant { left: 12px; } .ck-ba-tag--apres { right: 12px; }
.is-ba .ck-ba-paire.is-avant-cache .ck-ba-tag--avant, .is-ba .ck-ba-paire.is-apres-cache .ck-ba-tag--apres { opacity: 0; }
.is-ba .ck-ba-poignee { display: block; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15), 0 0 12px rgba(0, 0, 0, .35); pointer-events: none; }
.is-ba .ck-ba-poignee::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #16201f; font: 700 1.05rem/46px system-ui, sans-serif; text-align: center; letter-spacing: 3px; box-shadow: 0 4px 16px rgba(0, 0, 0, .3); }
.is-ba .ck-ba-curseur { display: block; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none; }
.is-ba .ck-ba-curseur:focus-visible + .ck-ba-poignee, .is-ba .ck-ba-cadre:focus-within .ck-ba-poignee::after { outline: 3px solid var(--a); outline-offset: 2px; }
.is-ba .ck-ba-nav { display: flex; }

/* Éléments masqués selon la date (site exporté) : toujours cachés, quel que soit le style. */
.ck[hidden], .ck [hidden] { display: none !important; }
