/* OpenSite — mise en forme du texte choisie dans l'éditeur (2026.11.20.5).
   Ajoutée avant la feuille de style du thème (qui peut la redéfinir) et chargée dans l'éditeur. */
.os-fs-xs { font-size: .75em; }
.os-fs-s { font-size: .875em; }
.os-fs-l { font-size: 1.25em; line-height: 1.4; }
.os-fs-xl { font-size: 1.6em; line-height: 1.25; }
.os-fs-xxl { font-size: 2.2em; line-height: 1.12; }
.os-c-accent { color: var(--accent, var(--color-accent, #2f6fb5)); }
.os-c-muted { opacity: .65; }
.os-c-red { color: #c0392b; }
.os-c-orange { color: #d9822b; }
.os-c-yellow { color: #c9a200; }
.os-c-green { color: #2e8b57; }
.os-c-blue { color: #2f6fb5; }
.os-c-violet { color: #7b52ab; }
.os-c-pink { color: #c4467d; }
.os-c-grey { color: #6b7280; }
.os-c-black { color: #111; }
.os-c-white { color: #fff; }
mark, .os-hl-yellow { background: #fff2a8; color: inherit; padding: 0 .12em; border-radius: 2px; }
.os-hl-green { background: #d3f3d3; }
.os-hl-blue { background: #d6e8ff; }
.os-hl-pink { background: #ffd9e6; }
.os-hl-grey { background: #e7e7e4; }
.os-al-left { text-align: left; }
.os-al-center { text-align: center; }
.os-al-right { text-align: right; }
.os-al-justify { text-align: justify; hyphens: auto; }
.os-upper { text-transform: uppercase; letter-spacing: .06em; }

/* Hauteur de section en % de l'écran (« Personnalisée », 2026.11.20.6) : prioritaire sur les hauteurs du thème. */
.os-section.os-hp-20 { min-height: 20vh; min-height: 20svh; }
.os-section.os-hp-25 { min-height: 25vh; min-height: 25svh; }
.os-section.os-hp-30 { min-height: 30vh; min-height: 30svh; }
.os-section.os-hp-35 { min-height: 35vh; min-height: 35svh; }
.os-section.os-hp-40 { min-height: 40vh; min-height: 40svh; }
.os-section.os-hp-45 { min-height: 45vh; min-height: 45svh; }
.os-section.os-hp-50 { min-height: 50vh; min-height: 50svh; }
.os-section.os-hp-55 { min-height: 55vh; min-height: 55svh; }
.os-section.os-hp-60 { min-height: 60vh; min-height: 60svh; }
.os-section.os-hp-65 { min-height: 65vh; min-height: 65svh; }
.os-section.os-hp-70 { min-height: 70vh; min-height: 70svh; }
.os-section.os-hp-75 { min-height: 75vh; min-height: 75svh; }
.os-section.os-hp-80 { min-height: 80vh; min-height: 80svh; }
.os-section.os-hp-85 { min-height: 85vh; min-height: 85svh; }
.os-section.os-hp-90 { min-height: 90vh; min-height: 90svh; }
.os-section.os-hp-95 { min-height: 95vh; min-height: 95svh; }
.os-section.os-hp-100 { min-height: 100vh; min-height: 100svh; }

/* OpenSite — thème Swiss Pneus 2026.11.23.4 (blocs : Base 2026.11.16.19) */
:root {
  --color-text: #1b1d21; --color-background: #fff; --color-accent: #0b5cad; --color-muted: #6b6f76;
  --font-body: system-ui, sans-serif; --font-heading: system-ui, sans-serif;
  --measure: 720px; --wide: 1100px; --gap: clamp(1rem, 3vw, 2rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--color-background); color: var(--color-text); font: 1.0625rem/1.65 var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-underline-offset: .15em; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; margin: 2rem 0 .75rem; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); }
h3 { font-size: 1.25rem; }
p, ul, ol, blockquote { margin: 0 0 1rem; }
blockquote { border-left: 3px solid var(--color-accent); padding-left: 1.25rem; color: var(--color-muted); font-style: italic; }

.skip { position: absolute; left: -999px; top: 0; background: var(--color-text); color: var(--color-background); padding: .5rem 1rem; }
.skip:focus { left: 1rem; z-index: 10; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gap); }

.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.site-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; color: var(--color-text); text-decoration: none; margin-right: auto; }
.site-nav ul { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav a { color: var(--color-text); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--color-accent); }
.site-nav a[aria-current] { text-decoration: underline; }
.lang-switch { display: flex; gap: .5rem; text-transform: uppercase; font-size: .85rem; }
.lang-switch a { color: var(--color-muted); text-decoration: none; }
.lang-switch a[aria-current] { color: var(--color-text); font-weight: 700; }

main { padding: 1rem 0 4rem; }
main > :not(.os-section) { max-width: var(--measure); margin-left: auto; margin-right: auto; padding-left: var(--gap); padding-right: var(--gap); }
main > :not(.os-section).os-size-wide { max-width: var(--wide); }
.page-title { margin-top: 2rem; }
.os-block { margin-bottom: 2rem; }

.os-image { margin-top: 0; }
.os-image img { border-radius: 4px; }
.os-image figcaption { font-size: .875rem; color: var(--color-muted); margin-top: .5rem; }
.os-size-small { max-width: 420px; }
main > .os-size-full { max-width: none; padding: 0; }
.os-size-full img { border-radius: 0; width: 100%; }
main > .os-size-full figcaption { max-width: var(--measure); margin-left: auto; margin-right: auto; padding: 0 var(--gap); }

/* Sections */
.os-section { position: relative; isolation: isolate; overflow: hidden; }
.os-section-inner { position: relative; margin: 0 auto; padding-left: var(--gap); padding-right: var(--gap); }
.os-w-content .os-section-inner { max-width: var(--measure); }
.os-w-wide .os-section-inner { max-width: var(--wide); }
.os-w-full .os-section-inner { max-width: none; }
.os-pad-none { padding: 0; } .os-pad-s { padding: 2rem 0; } .os-pad-m { padding: 4rem 0; } .os-pad-l { padding: 7rem 0; }
.os-section-inner > :last-child { margin-bottom: 0; }
.os-align-center { text-align: center; }
.os-align-center .os-image img { margin-left: auto; margin-right: auto; }
.os-h-half, .os-h-screen { display: flex; align-items: center; }
.os-h-half { min-height: 50vh; } .os-h-screen { min-height: 100vh; min-height: 100svh; }
.os-h-half .os-section-inner, .os-h-screen .os-section-inner { width: 100%; }
.os-bg-alt { background: color-mix(in srgb, var(--color-text) 5%, var(--color-background)); }
.os-bg-dark { background: var(--color-text); color: var(--color-background); }
.os-bg-accent { background: var(--color-accent); color: #fff; }
.os-bg-dark a:not(.os-button), .os-bg-accent a:not(.os-button), .os-bg-image a:not(.os-button) { color: inherit; }
.os-bg-image { color: #fff; background: #111; }
.os-section-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.os-section-overlay { position: absolute; inset: 0; background: #000; z-index: -1; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 1rem; }

/* Colonnes */
.os-columns { display: grid; gap: var(--col-gap, 2rem); }
.os-gap-s { --col-gap: 1rem; } .os-gap-m { --col-gap: 2rem; } .os-gap-l { --col-gap: 4rem; }
.os-valign-center { align-items: center; } .os-valign-bottom { align-items: end; }
.os-col > :last-child { margin-bottom: 0; }
@media (min-width: 760px) {
  .os-cols-50-50 { grid-template-columns: 1fr 1fr; }
  .os-cols-33-67 { grid-template-columns: 1fr 2fr; }
  .os-cols-67-33 { grid-template-columns: 2fr 1fr; }
  .os-cols-40-60 { grid-template-columns: 2fr 3fr; }
  .os-cols-60-40 { grid-template-columns: 3fr 2fr; }
  .os-cols-33-33-33 { grid-template-columns: repeat(3, 1fr); }
  .os-cols-25-25-25-25 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 560px) and (max-width: 759px) {
  .os-cols-25-25-25-25 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 759px) {
  .os-reverse-mobile > :first-child { order: 2; }
}

/* Boutons */
.os-button-wrap.os-align-center { text-align: center; } .os-button-wrap.os-align-right { text-align: right; }
.os-button { display: inline-block; padding: .75rem 1.5rem; border-radius: 4px; font-weight: 600; text-decoration: none; transition: opacity .15s; }
.os-button:hover { opacity: .85; }
.os-button-primary { background: var(--color-accent); color: #fff; }
.os-button-secondary { border: 1.5px solid currentColor; color: inherit; background: transparent; cursor: pointer; font: inherit; font-weight: 600; }
.os-button-link { padding-left: 0; padding-right: 0; color: var(--color-accent); }
.os-bg-accent .os-button-primary { background: #fff; color: var(--color-accent); }

/* Formulaires */
.os-form { max-width: var(--measure); }
.os-form-align-center { margin-left: auto; margin-right: auto; }
.os-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.os-form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.os-field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: .35rem; }
@media (min-width: 600px) { .os-field-half { grid-column: span 1; } }
.os-field label { font-size: .9rem; font-weight: 600; }
.os-field-checkbox label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.os-req { color: var(--color-accent); }
.os-field input:not([type=checkbox]), .os-field textarea, .os-field select { width: 100%; padding: .7rem .8rem; font: inherit; color: inherit; background: var(--color-background); border: 1px solid color-mix(in srgb, var(--color-text) 25%, transparent); border-radius: 4px; }
:is(.os-bg-dark, .os-bg-accent, .os-bg-image, .os-bg-video) .os-field :is(input:not([type=checkbox]):not([type=radio]), textarea, select) { background: color-mix(in srgb, currentColor 8%, transparent); border-color: color-mix(in srgb, currentColor 32%, transparent); }
:is(.os-bg-dark, .os-bg-accent, .os-bg-image, .os-bg-video) .os-field select option { color: #111; }
.os-field input:focus, .os-field textarea:focus, .os-field select:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; border-color: var(--color-accent); }
.os-field [aria-invalid] { border-color: #c0392b !important; }
.os-field textarea { resize: vertical; min-height: 8rem; }
.os-form-consent { font-size: .85rem; color: var(--color-muted); margin: 1rem 0 0; }
.os-form-status { margin: 1rem 0 0; min-height: 1.4em; font-size: .95rem; }
.os-form-status.is-ok { color: #1e7d45; font-weight: 600; }
.os-form-status.is-error { color: #c0392b; }
.os-form-actions { margin-top: 1rem; }
.os-form-align-center .os-form-actions, .os-form-align-center .os-form-status, .os-form-align-center .os-form-consent { text-align: center; }
.os-form-align-center .os-field { text-align: left; }
.os-form.is-sent .os-form-fields, .os-form.is-sent .os-form-actions, .os-form.is-sent .os-form-consent { display: none; }
.os-form button[disabled] { opacity: .6; cursor: wait; }

/* Espacements */
.os-spacer-s { height: 1rem; } .os-spacer-m { height: 2.5rem; } .os-spacer-l { height: 5rem; } .os-spacer-xl { height: 8rem; }

/* Menu : élément mis en avant */
.site-nav .is-button a { padding: .4rem 1rem; border-radius: 4px; background: var(--color-accent); color: #fff; }

.site-footer { border-top: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent); color: var(--color-muted); font-size: .875rem; }
.site-footer .wrap { padding-top: 2rem; padding-bottom: 2rem; }
.site-footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; }
.site-footer p { margin: 0; }
.site-footer a { color: inherit; }
.site-socials { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.site-socials a { display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; }
.site-socials .os-social-icon { width: 18px; height: 18px; }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

/* Collections (2026.11.16.3) */
.os-collection { --card-gap: 1.25rem; }
.os-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.os-filters button, .os-filters a { font: inherit; font-size: .9rem; padding: .4rem .9rem; border-radius: 99px; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); background: none; color: inherit; cursor: pointer; }
.os-filters button.is-active, .os-filters a.is-active { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.os-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--card-gap); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) {
  .os-cards.os-cols-1 { grid-template-columns: 1fr; } .os-cards.os-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .os-cards.os-cols-3 { grid-template-columns: repeat(3, 1fr); } .os-cards.os-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .os-cards.os-cols-5 { grid-template-columns: repeat(5, 1fr); } .os-cards.os-cols-6 { grid-template-columns: repeat(6, 1fr); }
}
.os-card[hidden] { display: none; }
.os-card-link { display: flex; flex-direction: column; gap: .5rem; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
div.os-card-link { cursor: default; }
.os-card-media { display: block; overflow: hidden; border-radius: 4px; background: color-mix(in srgb, currentColor 8%, transparent); }
.os-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.os-ratio-poster .os-card-media { aspect-ratio: 2 / 3; }
.os-ratio-landscape .os-card-media { aspect-ratio: 16 / 9; }
.os-ratio-square .os-card-media { aspect-ratio: 1; }
a.os-card-link:hover img, button.os-card-link:hover img { transform: scale(1.04); }
.os-card-title { display: block; font-weight: 600; line-height: 1.3; }
.os-card-sub { display: block; font-size: .875rem; opacity: .7; }
/* Liste */
.os-display-list .os-cards { grid-template-columns: 1fr !important; gap: .75rem; }
.os-display-list .os-card-link { flex-direction: row; align-items: center; }
.os-display-list .os-card-media { width: 120px; flex: none; }
/* Carrousel */
.os-cards-wrap { position: relative; }
.os-display-carousel .os-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .25rem; }
.os-display-carousel .os-cards::-webkit-scrollbar { display: none; }
.os-display-carousel .os-card { flex: 0 0 calc((100% - var(--card-gap) * 1) / 2); scroll-snap-align: start; }
@media (min-width: 760px) {
  .os-display-carousel .os-cols-3 .os-card { flex-basis: calc((100% - var(--card-gap) * 2) / 3); }
  .os-display-carousel .os-cols-4 .os-card { flex-basis: calc((100% - var(--card-gap) * 3) / 4); }
  .os-display-carousel .os-cols-5 .os-card { flex-basis: calc((100% - var(--card-gap) * 4) / 5); }
  .os-display-carousel .os-cols-6 .os-card { flex-basis: calc((100% - var(--card-gap) * 5) / 6); }
}
.os-nav { position: absolute; top: 40%; z-index: 2; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; background: var(--color-background); color: var(--color-text); box-shadow: 0 2px 8px rgba(0,0,0,.2); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.os-nav-prev { left: 0; } .os-nav-next { right: 0; }
/* Flèches à côté des cartes, jamais par-dessus */
.os-has-sides { padding: 0 3.25rem; }
@media (max-width: 700px) { .os-has-sides { padding: 0; } .os-has-sides .os-nav { display: none; } }
/* Fenêtres */
.os-dialog { width: min(960px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 8px; background: var(--color-background); color: var(--color-text); }
.os-dialog-wide { width: min(1200px, 96vw); }
.os-dialog::backdrop { background: rgba(0, 0, 0, .7); }
.os-dialog-inner { position: relative; padding: clamp(1.25rem, 3vw, 2.5rem); }
.os-dialog-close { position: sticky; top: 0; float: right; margin: -.5rem -.5rem 0 1rem; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 0; background: color-mix(in srgb, currentColor 10%, transparent); color: inherit; font-size: 1rem; cursor: pointer; z-index: 3; }
.os-dialog-title { margin-top: 0; }
html.os-noscroll { overflow: hidden; }
/* Fiche d'un élément */
.os-item { display: grid; gap: 1.5rem; }
.os-item-title { margin-top: 0; }
.os-item-meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; opacity: .75; }
.os-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.os-tag { font-size: .8rem; padding: .15rem .6rem; border-radius: 99px; background: color-mix(in srgb, currentColor 10%, transparent); }
/* Fiche d'élément : galerie, coordonnées, éléments liés, documents (champs de collection) */
.os-item-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .6rem; list-style: none; margin: 1.2rem 0; padding: 0; }
.os-item-gallery a { display: block; border-radius: 8px; overflow: hidden; }
.os-item-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; transition: transform .3s; }
.os-item-gallery a:hover img { transform: scale(1.03); }
.os-item-meta-label { opacity: .75; }
.os-item-contacts { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: .3rem; }
.os-item-contact-label { opacity: .7; font-size: .88em; margin-right: .3rem; }
.os-item-related { margin: 1.2rem 0; }
.os-item-related-title { font-size: 1rem; margin: 0 0 .4rem; }
.os-item-related ul { margin: 0; padding-left: 1.1rem; }
.os-item-files { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.os-item-links { display: flex; flex-wrap: wrap; gap: .75rem; }
.os-item-image { border-radius: 4px; }
.os-video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden; }
.os-video iframe, .os-video-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.os-video-play { padding: 0; background: #000; cursor: pointer; }
.os-video-play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.os-play-icon { position: absolute; top: 50%; left: 50%; width: 4.5rem; height: 4.5rem; margin: -2.25rem 0 0 -2.25rem; border-radius: 50%; background: rgba(0,0,0,.6); }
.os-play-icon::after { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-style: solid; border-width: .9rem 0 .9rem 1.5rem; border-color: transparent transparent transparent #fff; }
.os-video-play:hover .os-play-icon { background: var(--color-accent); }
.os-item-page { max-width: var(--wide) !important; }

/* Médias (2026.11.16.11) */
.os-gallery-list { display: grid; gap: var(--g-gap, .75rem); grid-template-columns: repeat(2, 1fr); }
.os-ggap-none { --g-gap: 0; --card-gap: 0; } .os-ggap-s { --g-gap: .5rem; --card-gap: .5rem; } .os-ggap-m { --g-gap: 1.25rem; --card-gap: 1.25rem; }
.os-gallery-item figure { margin: 0; }
.os-gallery-item img { width: 100%; display: block; border-radius: 2px; }
.os-gallery-item a { display: block; overflow: hidden; cursor: zoom-in; }
.os-gallery-item a img { transition: transform .35s ease; }
.os-gallery-item a:hover img { transform: scale(1.03); }
.os-gallery-item figcaption, .os-video-block figcaption { font-size: .85rem; opacity: .75; margin-top: .35rem; }
.os-gallery.os-ratio-square .os-gallery-item img { aspect-ratio: 1; object-fit: cover; }
.os-gallery.os-ratio-landscape .os-gallery-item img { aspect-ratio: 3 / 2; object-fit: cover; }
.os-gallery.os-ratio-portrait .os-gallery-item img { aspect-ratio: 2 / 3; object-fit: cover; }
/* Mosaïque : colonnes de hauteur libre */
.os-gallery-masonry .os-gallery-list { display: block; columns: 2; column-gap: var(--g-gap, .75rem); }
.os-gallery-masonry .os-gallery-item { break-inside: avoid; margin-bottom: var(--g-gap, .75rem); }
@media (min-width: 760px) {
  .os-gallery-masonry .os-cols-3 { columns: 3; } .os-gallery-masonry .os-cols-4 { columns: 4; }
  .os-gallery-masonry .os-cols-5 { columns: 5; } .os-gallery-masonry .os-cols-6 { columns: 6; }
}
.os-gallery-carousel .os-gallery-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.os-gallery-carousel .os-gallery-list::-webkit-scrollbar { display: none; }
.os-gallery-carousel .os-gallery-item { flex: 0 0 80%; scroll-snap-align: start; }
@media (min-width: 760px) {
  .os-gallery-carousel .os-cols-2 .os-gallery-item { flex-basis: calc((100% - var(--card-gap, .75rem)) / 2); }
  .os-gallery-carousel .os-cols-3 .os-gallery-item { flex-basis: calc((100% - var(--card-gap, .75rem) * 2) / 3); }
  .os-gallery-carousel .os-cols-4 .os-gallery-item { flex-basis: calc((100% - var(--card-gap, .75rem) * 3) / 4); }
  .os-gallery-carousel .os-cols-5 .os-gallery-item { flex-basis: calc((100% - var(--card-gap, .75rem) * 4) / 5); }
  .os-gallery-carousel .os-cols-6 .os-gallery-item { flex-basis: calc((100% - var(--card-gap, .75rem) * 5) / 6); }
}
main > .os-gw-wide { max-width: var(--wide); }
main > .os-gw-full { max-width: none; padding: 0; }
.os-image a[data-os-lightbox] { cursor: zoom-in; display: block; }
/* Visionneuse */
.os-lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .94); color: #fff; }
.os-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.os-lightbox::backdrop { background: transparent; }
.os-lightbox figure { margin: 0; max-width: 92vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; }
.os-lightbox img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; object-fit: contain; }
.os-lightbox figcaption { margin-top: .75rem; font-size: .9rem; opacity: .8; text-align: center; }
.os-lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 3rem; height: 3rem; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.os-lightbox button:hover { background: rgba(255,255,255,.25); }
.os-lb-close { top: 1rem; right: 1rem; font-size: 1.1rem !important; }
.os-lb-prev { left: 1rem; top: 50%; margin-top: -1.5rem; }
.os-lb-next { right: 1rem; top: 50%; margin-top: -1.5rem; }
.os-lightbox.is-single .os-lb-prev, .os-lightbox.is-single .os-lb-next { display: none; }
/* Vidéo */
.os-vr-21-9 { aspect-ratio: 21 / 9 !important; } .os-vr-4-3 { aspect-ratio: 4 / 3 !important; }
.os-vr-1-1 { aspect-ratio: 1 !important; } .os-vr-9-16 { aspect-ratio: 9 / 16 !important; max-width: 420px; margin: 0 auto; }
.os-video-block { margin-top: 0; }
.os-video-bg img, .os-video-bg iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.os-video-bg iframe { opacity: 0; transition: opacity .8s; pointer-events: none; }
.os-video-bg iframe.is-loaded { opacity: 1; }
/* Section avec vidéo de fond (cadrage « cover » d'un lecteur 16:9) */
.os-bg-video { color: #fff; background: #111; }
.os-section-video { position: absolute; top: 50%; left: 50%; z-index: -2; width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh; transform: translate(-50%, -50%); border: 0; pointer-events: none; opacity: 0; transition: opacity 1s; }
.os-section-video.is-loaded { opacity: 1; }
.os-bg-video a:not(.os-button) { color: inherit; }
/* Fenêtres libres */
.os-popup-s { width: min(520px, 94vw); } .os-popup-m { width: min(820px, 94vw); } .os-popup-l { width: min(1200px, 96vw); }
.os-popup .os-dialog-inner > :last-child { margin-bottom: 0; }
.os-popup .os-block { max-width: none; padding: 0; }

/* Carrousels : réglages (2026.11.16.13) */
.os-carousel-ui { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1rem; }
.os-cbtn { width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 25%, transparent); background: none; color: inherit; font-size: 1.2rem; line-height: 1; cursor: pointer; flex: none; }
.os-cbtn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.os-carousel-ind { flex: 1; max-width: 420px; }
.os-dots { display: flex; justify-content: center; gap: .5rem; flex: none; max-width: none; }
.os-dots button { width: .5rem; height: .5rem; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, currentColor 25%, transparent); cursor: pointer; transition: transform .2s, background .2s; }
.os-dots button.is-active { background: var(--color-accent); transform: scale(1.3); }
.os-bar { position: relative; height: 1.5rem; cursor: pointer; touch-action: none; }
.os-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: color-mix(in srgb, currentColor 18%, transparent); border-radius: 2px; }
.os-bar span { position: absolute; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: var(--color-accent); }

/* Styles de texte et colonnes en cartes (2026.11.16.13) */
.os-eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--color-accent); margin-bottom: .5rem; }
.os-eyebrow + h2, .os-eyebrow + h1 { margin-top: 0; }
.os-lead { font-size: 1.2rem; color: var(--color-muted); max-width: 60ch; }
.os-small { font-size: .85rem; }
.os-accent { color: var(--color-accent); }
.os-cols-style-boxed { gap: 1px !important; background: color-mix(in srgb, currentColor 15%, transparent); border: 1px solid color-mix(in srgb, currentColor 15%, transparent); }
.os-cols-style-boxed > .os-col { background: var(--color-background); padding: 2rem 1.75rem; }

/* Annonce en bandeau (bas de l'écran) */
.os-announce-bar { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 150; display: flex; align-items: center; gap: 1rem; max-width: 760px; margin: 0 auto; padding: .85rem 1rem .85rem 1.25rem; background: var(--color-text); color: var(--color-background); border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.os-announce-bar[hidden] { display: none; }
.os-announce-bar p { margin: 0; flex: 1; font-size: .95rem; }
.os-announce-bar a { color: inherit; font-weight: 700; margin-left: .35rem; }
.os-announce-close { border: 0; background: none; color: inherit; font-size: 1rem; cursor: pointer; opacity: .7; }
.os-announce-close:hover { opacity: 1; }

/* Bandeau de consentement (seulement si Google Analytics est choisi) */
.os-consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; max-width: 760px; margin: 0 auto; padding: 1rem 1.25rem; background: var(--color-background); color: var(--color-text); border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.os-consent p { margin: 0; flex: 1 1 18rem; font-size: .9rem; }
.os-consent .os-button { padding: .5rem 1rem; border: 0; cursor: pointer; font: inherit; }

/* Campagne de financement */
.os-campaign { border: 1px solid color-mix(in srgb, var(--color-text) 15%, transparent); border-radius: 8px; overflow: hidden; background: var(--color-background); }
.os-campaign-wide { display: grid; }
@media (min-width: 760px) { .os-campaign-wide { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.os-campaign-media img { width: 100%; height: 100%; object-fit: cover; }
.os-campaign-body { padding: 1.25rem 1.5rem 1.5rem; }
.os-campaign-title { margin: 0 0 .4rem; }
.os-campaign-text { color: var(--color-muted); }
.os-campaign-amount { margin: .5rem 0; }
.os-campaign-amount strong { font-size: 1.6rem; }
.os-campaign-amount span { color: var(--color-muted); }
.os-campaign-bar { height: 8px; border-radius: 8px; background: color-mix(in srgb, var(--color-text) 12%, transparent); overflow: hidden; }
.os-campaign-bar span { display: block; height: 100%; border-radius: 8px; background: var(--color-accent); transition: width 1.2s ease; }
.os-campaign-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: .7rem 0 0; font-size: .9rem; color: var(--color-muted); }
.os-campaign-meta strong { color: var(--color-text); }
.os-campaign-cta { margin: 1.1rem 0 0; }

/* Galerie mosaïque (1 grande verticale, 1 large, les autres carrées) */
.os-gallery-mosaic .os-gallery-list { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; grid-auto-flow: dense; }
.os-gallery-mosaic .os-gallery-item:nth-child(6n+1) { grid-column: span 2; }
@media (min-width: 900px) {
  .os-gallery-mosaic .os-gallery-list { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; }
  .os-gallery-mosaic .os-gallery-item:nth-child(6n+1) { grid-column: auto; grid-row: span 2; }
  .os-gallery-mosaic .os-gallery-item:nth-child(6n+2) { grid-column: span 2; }
}
.os-gallery-mosaic .os-gallery-item, .os-gallery-mosaic .os-gallery-item figure, .os-gallery-mosaic .os-gallery-item a { height: 100%; margin: 0; }
.os-gallery-mosaic .os-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.os-gallery-item[hidden] { display: none !important; }
.os-gallery-more { text-align: center; margin: 2.5rem 0 0; }
/* Deux images côte à côte (ex. portrait + photo de tournage) */
.os-col:has(> .os-size-duo) { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: end; }
.os-col > .os-size-duo { margin: 0; }
.os-col > .os-size-duo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: center top; }
.os-col > .os-size-duo + .os-size-duo img { aspect-ratio: 3 / 4; object-position: center 30%; margin-top: 2rem; }
@media (max-width: 899px) { .os-col:has(> .os-size-duo) { grid-template-columns: 1fr; } .os-col > .os-size-duo + .os-size-duo { display: none; } }

/* En-tête des grandes fenêtres */
.os-close-label { display: none; }
.os-dialog-head { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.5rem; background: var(--color-background); border-bottom: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent); }
.os-dialog-head-left { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.2rem; }
.os-dialog-head-title { font-size: 1.3rem; font-weight: 700; }
.os-dialog-head-sub, .os-dialog-head-count { font-size: .85rem; color: var(--color-muted); }
.os-dialog-head .os-dialog-close { position: static; }
dialog:focus, dialog:focus-visible { outline: none; }

/* Cartes « texte sur l’image » et surtitre */
.os-card-eyebrow { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; margin-bottom: .3rem; }
.os-cardstyle-overlay .os-card-link { position: relative; }
.os-cardstyle-overlay .os-card-text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.25rem; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.05) 60%, transparent); pointer-events: none; }
.os-cardstyle-overlay .os-card-media { position: relative; }
.os-card-play { position: absolute; top: 50%; left: 50%; z-index: 2; width: 52px; height: 52px; margin: -26px 0 0 -26px; border: 2px solid rgba(255,255,255,.7); border-radius: 50%; opacity: 0; transition: opacity .25s; pointer-events: none; }
.os-card-play::before { content: ""; position: absolute; top: 50%; left: 50%; margin: -8px 0 0 -4px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; }
.os-card-link:hover .os-card-play, .os-card-link:focus-visible .os-card-play { opacity: 1; }


/* ===== Boutique (OpenSite 2026.11.17.4) ===== */
.os-shop { --sh-accent: var(--color-accent, var(--accent, #0b5cad)); --sh-bg: var(--color-background, var(--bg, #fff)); --sh-text: var(--color-text, var(--text, #1b1d21)); --sh-line: color-mix(in srgb, currentColor 18%, transparent); }
.os-shop-grid { display: grid; gap: clamp(1rem, 2.5vw, 2rem); grid-template-columns: repeat(var(--sh-cols, 3), minmax(0, 1fr)); }
.os-shop-grid.os-cols-1 { --sh-cols: 1; } .os-shop-grid.os-cols-2 { --sh-cols: 2; } .os-shop-grid.os-cols-4 { --sh-cols: 4; }
@media (max-width: 900px) { .os-shop-grid { --sh-cols: 2 !important; } }
@media (max-width: 560px) { .os-shop-grid { --sh-cols: 1 !important; } }
.os-shop-grid .os-shop-note, .os-shop-card .os-shop-note, .os-shop-wide .os-shop-note { grid-column: 1 / -1; }
.os-shop-card { max-width: 420px; }
.os-product { display: flex; flex-direction: column; border: 1px solid var(--sh-line, color-mix(in srgb, currentColor 18%, transparent)); border-radius: 8px; overflow: hidden; }
.os-shop-wide .os-product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 700px) { .os-shop-wide .os-product { grid-template-columns: 1fr; } }
.os-product-media img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.os-product-body { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem 1.2rem 1.25rem; flex: 1; }
.os-product-name { margin: 0; font-size: 1.15rem; }
.os-product-when { margin: 0; font-size: .85rem; opacity: .75; }
.os-product-summary { margin: 0; font-size: .95rem; opacity: .85; }
.os-product-buy { margin-top: auto; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; padding-top: .5rem; }
.os-product-price { margin: 0; font-size: 1.15rem; font-weight: 600; flex: 1 1 100%; }
.os-product-stock { margin-left: .4rem; font-size: .75rem; font-weight: 600; padding: .1rem .5rem; border-radius: 99px; background: color-mix(in srgb, var(--color-accent, var(--accent, #0b5cad)) 15%, transparent); vertical-align: middle; }
.os-product-qty { display: flex; align-items: center; gap: .4rem; font-size: .85rem; }
.os-product-qty select, .os-product-other input { padding: .45rem .5rem; font: inherit; color: inherit; background: transparent; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 4px; }
.os-product-qty select option { color: #111; }
.os-product-add { margin-left: auto; }
.os-product.is-soldout .os-product-media img { filter: grayscale(1); opacity: .6; }
.os-product-add:disabled { opacity: .45; cursor: not-allowed; }
.os-product-amounts { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; flex: 1 1 100%; }
.os-product-amounts legend { font-size: .85rem; margin-bottom: .35rem; padding: 0; }
.os-chip { position: relative; display: inline-flex; }
.os-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.os-chip span { padding: .4rem .8rem; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 99px; font-size: .9rem; cursor: pointer; }
.os-chip input:checked + span { background: var(--color-accent, var(--accent, #0b5cad)); border-color: var(--color-accent, var(--accent, #0b5cad)); color: #fff; }
.os-chip input:focus-visible + span { outline: 2px solid var(--color-accent, var(--accent, #0b5cad)); outline-offset: 2px; }
.os-product-other { display: flex; flex-direction: column; gap: .2rem; font-size: .8rem; flex: 1 1 100%; }
.os-shop-note { font-size: .8rem; opacity: .65; margin: .25rem 0 0; }

/* Bouton panier et fenêtre panier */
.os-cart-fab { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 60; display: inline-flex; align-items: center; gap: .45rem; padding: .7rem 1rem; border: 0; border-radius: 99px; background: var(--color-accent, var(--accent, #0b5cad)); color: #fff; font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.os-cart-fab[hidden] { display: none; }
.os-cart-fab-icon { width: 1.1rem; height: 1rem; border: 2px solid currentColor; border-top: 0; border-radius: 0 0 4px 4px; position: relative; }
.os-cart-fab-icon::before { content: ""; position: absolute; left: 50%; top: -.45rem; width: .55rem; height: .45rem; margin-left: -.3rem; border: 2px solid currentColor; border-bottom: 0; border-radius: 6px 6px 0 0; }
.os-cart.os-dialog { width: min(520px, 96vw); margin-right: 0; margin-top: 0; height: 100dvh; max-height: 100dvh; border-radius: 0; }
.os-cart-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; background: inherit; border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent); }
.os-cart-head h2 { margin: 0; font-size: 1.2rem; }
.os-cart-head .os-dialog-close { position: static; float: none; margin: 0; }
.os-cart-body { padding: 1rem 1.25rem 2rem; }
.os-cart-lines { list-style: none; padding: 0; margin: 0 0 1rem; }
.os-cart-lines li { display: grid; grid-template-columns: 1fr auto auto; gap: .35rem .75rem; align-items: center; padding: .75rem 0; border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent); }
.os-cart-name { grid-column: 1; font-weight: 600; }
.os-cart-qty { grid-column: 2; display: inline-flex; align-items: center; gap: .4rem; }
.os-cart-qty button { width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); background: transparent; color: inherit; cursor: pointer; font: inherit; line-height: 1; }
.os-cart-qty button:disabled { opacity: .3; cursor: default; }
.os-cart-price { grid-column: 3; text-align: right; white-space: nowrap; }
.os-cart-remove { grid-column: 1; justify-self: start; padding: 0; border: 0; background: none; color: inherit; opacity: .6; font: inherit; font-size: .8rem; text-decoration: underline; cursor: pointer; }
.os-cart-sum { display: flex; justify-content: space-between; gap: 1rem; margin: .5rem 0; font-size: 1.05rem; }
.os-cart-total { font-size: 1.15rem; padding-top: .75rem; border-top: 1px solid color-mix(in srgb, currentColor 15%, transparent); }
.os-cart-hint, .os-cart-secure { font-size: .82rem; opacity: .7; margin: .25rem 0; }
.os-cart-msg { padding: .6rem .8rem; border-radius: 6px; background: color-mix(in srgb, #d33 14%, transparent); font-size: .9rem; margin: 0 0 1rem; }
.os-cart-msg[hidden] { display: none; }
.os-cart-empty { opacity: .7; }
.os-cart-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; margin-top: 1.25rem; }
.os-cart-form { display: flex; flex-direction: column; gap: .8rem; }
.os-cart-form .os-field { display: flex; flex-direction: column; gap: .3rem; font-size: .88rem; }
.os-cart-form .os-field input, .os-cart-form .os-field textarea, .os-cart-form .os-field select { width: 100%; padding: .6rem .7rem; font: inherit; font-size: 1rem; color: inherit; background: transparent; border: 1px solid color-mix(in srgb, currentColor 28%, transparent); border-radius: 4px; }
.os-cart-form select option { color: #111; }
.os-cart-row { display: grid; grid-template-columns: 7rem 1fr; gap: .6rem; }
.os-cart-row .os-field { grid-column: auto; }
.os-cart-address[hidden] { display: none; }
.os-cart-ship { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.os-cart-ship legend { font-size: .88rem; margin-bottom: .35rem; padding: 0; }
.os-cart-ship .os-chip span { display: block; border-radius: 6px; width: 100%; }
.os-cart-terms { display: flex; gap: .5rem; align-items: flex-start; font-size: .88rem; }
.os-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.is-busy { opacity: .6; pointer-events: none; }

/* Page de retour après paiement */
.os-shop-result { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; }
.os-shop-result-box { width: min(560px, 100%); }
.os-shop-result h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
.os-shop-lines { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.os-shop-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent); }
.os-shop-lines .os-shop-total { font-weight: 700; border-bottom: 0; }
.os-cart:focus { outline: none; }
/* Variantes (2026.11.17.5) */
.os-product-option { display: flex; flex-direction: column; gap: .25rem; font-size: .85rem; flex: 1 1 100%; }
.os-product-option select { padding: .5rem .55rem; font: inherit; font-size: .95rem; color: inherit; background: transparent; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 4px; }
.os-product-option select option { color: #111; }
.os-product-option select option:disabled { color: #999; }
.os-cart-variant { display: block; font-weight: 400; font-size: .85rem; opacity: .75; }

/* ===== Réservations (OpenSite 2026.11.17.7) ===== */
.os-booking-list { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.os-booking { border: 1px solid color-mix(in srgb, currentColor 18%, transparent); border-radius: 8px; overflow: hidden; }
.os-booking-head { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 1.25rem; padding: 1.25rem; align-items: start; }
.os-booking-head:not(:has(.os-booking-media)) { grid-template-columns: 1fr; }
@media (max-width: 600px) { .os-booking-head { grid-template-columns: 1fr; } }
.os-booking-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.os-booking-name { margin: 0 0 .35rem; font-size: 1.25rem; }
.os-booking-meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin: 0 0 .5rem; font-size: .88rem; opacity: .8; }
.os-booking-meta span + span::before { content: "·"; margin-right: .9rem; opacity: .6; }
.os-booking-summary { margin: 0; font-size: .95rem; opacity: .85; }
.os-booking-app { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: 1.5rem; padding: 0 1.25rem 1.5rem; }
@media (max-width: 760px) { .os-booking-app { grid-template-columns: 1fr; } }
.os-bk-step { margin: 0 0 .6rem; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.os-bk-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .4rem; }
.os-bk-month { text-transform: capitalize; }
.os-bk-nav { width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 25%, transparent); background: transparent; color: inherit; font-size: 1.1rem; cursor: pointer; }
.os-bk-nav:disabled { opacity: .3; cursor: default; }
.os-bk-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.os-bk-days[aria-busy] { opacity: .5; }
.os-bk-wd { text-align: center; font-size: .72rem; opacity: .55; padding: .2rem 0; text-transform: uppercase; }
.os-bk-day { aspect-ratio: 1; border: 0; border-radius: 50%; background: transparent; color: inherit; font: inherit; font-size: .9rem; opacity: .35; cursor: default; }
.os-bk-day.is-open { opacity: 1; cursor: pointer; font-weight: 600; background: color-mix(in srgb, var(--color-accent, var(--accent, #0b5cad)) 14%, transparent); }
.os-bk-day.is-open:hover { background: color-mix(in srgb, var(--color-accent, var(--accent, #0b5cad)) 28%, transparent); }
.os-bk-day.is-on { background: var(--color-accent, var(--accent, #0b5cad)) !important; color: #fff; }
.os-bk-empty { grid-column: 1 / -1; font-size: .88rem; opacity: .7; margin: .6rem 0 0; }
.os-bk-slots .os-bk-step { text-transform: none; letter-spacing: 0; font-size: .95rem; }
.os-bk-slots .os-bk-step::first-letter { text-transform: uppercase; }
.os-bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.2rem, 1fr)); gap: .45rem; margin-bottom: 1rem; }
.os-bk-time { display: flex; flex-direction: column; align-items: center; padding: .55rem .3rem; border: 1px solid color-mix(in srgb, currentColor 28%, transparent); border-radius: 6px; background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.os-bk-time small { font-weight: 400; font-size: .7rem; opacity: .7; }
.os-bk-time:hover { border-color: var(--color-accent, var(--accent, #0b5cad)); }
.os-bk-time.is-on { background: var(--color-accent, var(--accent, #0b5cad)); border-color: var(--color-accent, var(--accent, #0b5cad)); color: #fff; }
.os-bk-right { min-width: 0; }
.os-bk-details { display: flex; flex-direction: column; gap: .7rem; max-width: 460px; }
.os-bk-details .os-field { display: flex; flex-direction: column; gap: .3rem; font-size: .88rem; }
.os-bk-details input, .os-bk-details textarea, .os-bk-details select { width: 100%; padding: .6rem .7rem; font: inherit; font-size: 1rem; color: inherit; background: transparent; border: 1px solid color-mix(in srgb, currentColor 28%, transparent); border-radius: 4px; }
.os-bk-details select option { color: #111; }
.os-bk-details .os-button { align-self: flex-start; }
.os-bk-done { padding: .9rem 1rem; border-radius: 6px; background: color-mix(in srgb, #2a9d5c 16%, transparent); font-weight: 600; }

/* 2026.11.17.11 — Bouton « Fermer » sur sa propre ligne en haut de la fenêtre : il ne recouvre plus la vidéo ni l'image. */
.os-dialog:not(.os-dialog-wide):not(.has-head) > .os-dialog-inner > .os-dialog-close { float: none; display: flex; align-items: center; justify-content: center; margin: -.5rem -.5rem .75rem auto; background: color-mix(in srgb, var(--color-background) 85%, currentColor 15%); }

/* 2026.11.17.18 — catégories en pages (liens) */
.os-filters a { display: inline-block; text-decoration: none; }

/* =====================================================================
   Swiss Pneus — thème sur mesure pour swiss-pneus.ch (SwissPneus, garage)
   2026.11.23.4 · Loswald
   Base OpenSite (blocs) ci-dessus + habillage Swiss Pneus ci-dessous.
   Variables posées sur <body> (passent devant les réglages globaux sur :root).
   Réglage du thème : --sp-orange. Ancres utilisées par la page d'accueil :
   #accueil, #services, #marques, #galerie, #garage, #contact.
   ===================================================================== */

/* ---------- Polices hébergées ---------- */
@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url(fonts/montserrat-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-display: swap; src: url(fonts/montserrat-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url(fonts/montserrat-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url(fonts/poppins-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url(fonts/poppins-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Arimo"; font-weight: 400; font-display: swap; src: url(fonts/arimo-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Arimo"; font-weight: 700; font-display: swap; src: url(fonts/arimo-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 500; font-display: swap; src: url(fonts/roboto-latin-500-normal.woff2) format("woff2"); }

/* ---------- Palette et mesures ---------- */
body.sp {
  --orange: var(--sp-orange, #ffb600);
  --ink: #333;
  --body: #666;
  --night: #1f1f1f;
  --grey: #eaeaea;
  --light: #f8f8f8;
  --font-title: "Poppins", system-ui, sans-serif;
  --font-ui: "Montserrat", system-ui, sans-serif;
  --color-text: var(--body);
  --color-background: #fff;
  --color-accent: var(--orange);
  --color-muted: #8d8d8d;
  --font-body: "Arimo", system-ui, sans-serif;
  --font-heading: "Poppins", system-ui, sans-serif;
  --measure: 820px;
  --wide: 1230px;
  --gap: clamp(1rem, 3vw, 1.875rem);
  --sp-header-h: 92px;
  font: 400 .9375rem/1.75 var(--font-body);
  letter-spacing: .03em;
  color: var(--body);
  -webkit-font-smoothing: antialiased;
}
.sp-wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gap); }

/* ---------- Titres ---------- */
.sp h1, .sp h2, .sp h3, .sp h4, .sp h5, .sp h6 { color: var(--ink); letter-spacing: .03em; }
.sp h1 { font-family: var(--font-title); font-weight: 700; font-size: clamp(2rem, 4.5vw, 3rem); }
/* Titre de section : « NOS SERVICES » — gras foncé + reste en orange, capitales */
.sp h2 { font-family: var(--font-title); font-weight: 400; font-size: clamp(1.6rem, 3vw, 1.875rem); line-height: 1.3; text-transform: uppercase; color: var(--orange); margin: 0 0 2.5rem; }
.sp h2 :is(b, strong) { font-weight: 700; color: var(--ink); }
.sp h3 { font-family: var(--font-ui); font-weight: 700; font-size: 1.375rem; line-height: 1.3; margin: 0 0 1.5rem; }
.sp h4 { font-family: var(--font-ui); font-weight: 700; font-size: 1.0625rem; line-height: 1.4; margin: 1.5rem 0 1rem; }
.sp h4 a { color: inherit; text-decoration: none; }
.sp h4 a:hover { color: var(--orange); }
.sp h5 { font-family: var(--font-ui); font-weight: 400; font-size: 1rem; color: var(--orange); margin: 0 0 1rem; }
.sp h6 { font-family: var(--font-ui); font-weight: 400; font-size: 1rem; margin: 0 0 .25rem; }
.sp p { color: var(--body); }
.sp a { color: var(--orange); text-decoration: none; }
.sp a:hover { color: var(--ink); }
.sp blockquote { border-left-color: var(--orange); }
.sp .os-text ul { padding-left: 0; list-style: none; }
.sp .os-text ul li { position: relative; padding-left: 1.4rem; margin: .35rem 0; font-size: .8125rem; line-height: 1.6; }
.sp .os-text ul li::before { content: ""; position: absolute; left: .1rem; top: .45em; width: .55rem; height: .3rem; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }

/* Classes de texte de l'éditeur */
.sp .os-eyebrow { font-family: var(--font-ui); font-size: .8125rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.sp .os-lead { font-family: "Roboto", var(--font-body); font-weight: 500; font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.4; color: var(--ink); letter-spacing: 0; }
.sp .os-accent { color: var(--orange); }

/* ---------- Bandeau noir (téléphone, e-mail, horaires) ---------- */
.sp-topbar { background: var(--night); color: #8d8d8d; font-size: .75rem; }
.sp-topbar-in { display: flex; flex-wrap: wrap; align-items: stretch; min-height: 49px; }
.sp-tb-item { display: inline-flex; align-items: center; gap: .65rem; padding: .5rem 2.25rem; color: #8d8d8d !important; border-right: 1px solid #333; }
.sp-tb-item:first-child { padding-left: 0; }
.sp-tb-item:last-child { border-right: 0; }
.sp-tb-item:hover { color: #fff !important; }
.sp-ico { width: 13px; height: 13px; fill: var(--orange); flex: none; }

/* ---------- En-tête blanc : logo à gauche, menu en capitales ---------- */
.sp-header { position: relative; z-index: 50; background: #fff; }
.sp-sticky .sp-header { position: sticky; top: 0; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.sp-header-in { display: flex; align-items: center; gap: 2rem; min-height: var(--sp-header-h); }
.sp-logo { display: inline-flex; align-items: center; margin-right: auto; }
.sp-logo img { display: block; width: auto; height: auto; max-height: 34px; max-width: 200px; }
.sp-logo-text { font-family: var(--font-title); font-weight: 700; font-size: 1.4rem; color: var(--orange); text-transform: uppercase; }
.sp-nav { display: flex; align-items: center; gap: 1.5rem; margin-right: auto; }
.sp-links { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.sp-links li { padding: 0; margin: 0; }
.sp-links li::before { display: none; }
.sp-links a { display: block; padding: 0 1.1rem; line-height: var(--sp-header-h); font-family: var(--font-ui); font-size: .875rem; font-weight: 500; letter-spacing: .01em; text-transform: uppercase; color: var(--ink) !important; }
.sp-links a:hover, .sp-links a[aria-current] { color: var(--orange) !important; }
.sp-links .sp-cta { margin-left: .5rem; padding: .6rem 1.25rem; line-height: 1.3; background: var(--orange); color: #fff !important; }
.sp-lang { display: flex; gap: .6rem; font-family: var(--font-ui); font-size: .75rem; font-weight: 500; text-transform: uppercase; }
.sp-lang a { color: #999 !important; }
.sp-lang a.is-active { color: var(--orange) !important; }

/* Menu téléphone sans JavaScript */
.sp-burger-cb { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.sp-burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.sp-burger-lines, .sp-burger-lines::before, .sp-burger-lines::after { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .2s, background .2s; }
.sp-burger-lines { position: relative; }
.sp-burger-lines::before, .sp-burger-lines::after { content: ""; position: absolute; left: 0; }
.sp-burger-lines::before { top: -7px; } .sp-burger-lines::after { top: 7px; }
.sp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sp-burger-cb:focus-visible + .sp-burger { outline: 2px solid var(--orange); }
@media (max-width: 991px) {
  body.sp { --sp-header-h: 70px; }
  .sp-topbar { display: none; }
  .sp-burger { display: inline-flex; }
  .sp-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: .5rem 0 1rem; background: #fff; box-shadow: 0 12px 20px rgba(0,0,0,.08); display: none; }
  .sp-burger-cb:checked ~ .sp-nav { display: flex; }
  .sp-burger-cb:checked + .sp-burger .sp-burger-lines { background: transparent; }
  .sp-burger-cb:checked + .sp-burger .sp-burger-lines::before { transform: translateY(7px) rotate(45deg); }
  .sp-burger-cb:checked + .sp-burger .sp-burger-lines::after { transform: translateY(-7px) rotate(-45deg); }
  .sp-links { flex-direction: column; align-items: stretch; }
  .sp-links a { line-height: 1; padding: 1rem var(--gap); }
  .sp-lang { padding: .75rem var(--gap) 0; }
}

/* ---------- Contenu ---------- */
.sp main { padding: 0; }
.sp main > :last-child:not(.os-section) { margin-bottom: 4rem; }
.sp .sp-page-head { text-align: center; padding: 4rem var(--gap) 1rem; }
.sp .sp-page-head .page-title { margin: 0; }
.sp [id] { scroll-margin-top: calc(var(--sp-header-h) - 1px); }
.sp .os-image img, .sp .os-card-media, .sp .os-gallery-item img, .sp .os-video { border-radius: 0; }

/* Sections */
.sp .os-pad-s { padding: 2.5rem 0; } .sp .os-pad-m { padding: 5.5rem 0; } .sp .os-pad-l { padding: 7.5rem 0; }
.sp .os-bg-alt { background: var(--grey); }
.sp .os-bg-dark { background: var(--night); color: #fff; }
.sp .os-bg-accent { background: var(--orange); color: #fff; }
.sp :is(.os-bg-dark, .os-bg-accent, .os-bg-image, .os-bg-video) :is(h1, h2, h3, h4, h5, h6, p, li, .os-lead) { color: inherit; }
.sp :is(.os-bg-dark, .os-bg-accent, .os-bg-image, .os-bg-video) h2 :is(b, strong) { color: inherit; }
.sp .os-bg-accent h2 { text-transform: none; }

/* Grand visuel : titre-logo orange + « Le garage de votre région » */
.sp :is(.os-bg-image, .os-bg-video) .os-image { margin-left: auto; margin-right: auto; max-width: 1000px; }
.sp :is(.os-bg-image, .os-bg-video) .os-lead { font-size: clamp(2.2rem, 5.5vw, 5rem); line-height: 1.15; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.sp :is(.os-bg-image, .os-bg-video) .os-size-wide img { width: 100%; }

/* Titre de section centré (« NOS SERVICES », « NOTRE GARAGE »…) même dans une section alignée à gauche */
.sp .os-section-inner > .os-text:first-child h2 { text-align: center; }
.sp .os-align-center .os-columns .os-col { text-align: left; }
.sp .os-align-center .os-columns .os-button-wrap { text-align: left; }

/* Colonnes */
.sp .os-gap-m { --col-gap: 1.875rem; }
.sp .os-col > .os-image { margin-bottom: 0; }

/* ---------- Boutons ---------- */
.sp .os-button { border-radius: 0; padding: .85rem 2.4rem; font-family: var(--font-ui); font-size: .8125rem; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; transition: background .2s, color .2s; }
.sp .os-button:hover { opacity: 1; }
.sp .os-button-primary { background: #000; color: #fff; }
.sp .os-button-primary:hover { background: var(--orange); color: #fff; }
.sp .os-button-secondary { border: 1px solid currentColor; }
.sp .os-button-secondary:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.sp .os-button-link { padding: 0; font-family: var(--font-ui); font-size: .875rem; font-weight: 400; letter-spacing: .03em; text-transform: none; color: var(--orange); }
.sp .os-button-link:hover { color: var(--ink); }
.sp .os-button-wrap { margin-top: 1.5rem; }

/* ---------- Services : photo coupée en biais, titre, liste cochée ---------- */
.sp #services .os-col > .os-image img { aspect-ratio: 370 / 241; object-fit: cover; width: 100%; clip-path: polygon(0 0, 100% 0, 100% 91%, 0 100%); }
.sp #services .os-col h4 { margin-top: 1.75rem; }

/* ---------- Marques : logos en carrousel ---------- */
.sp #marques .os-gallery-item img, .sp .sp-logos .os-gallery-item img { aspect-ratio: auto; height: 70px; width: 100%; object-fit: contain; padding: 0 .75rem; }
.sp .os-ggap-none { --card-gap: 0px; }

/* ---------- Galerie photos sur fond orange ---------- */
.sp #galerie h2 { color: #fff; margin-bottom: 2.5rem; }
.sp #galerie .os-gallery-item img { aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Notre garage ---------- */
.sp #garage { background: var(--light); }
.sp .sp-stat, .sp #garage h3:first-child { font-family: var(--font-ui); font-weight: 700; font-size: clamp(2.8rem, 5vw, 3.75rem); line-height: 1; color: var(--orange); margin: 0 0 .25rem; }
.sp #garage h4 { font-family: var(--font-title); font-weight: 400; font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.12; margin: 2rem 0 0; }
.sp #garage h4 :is(b, strong) { font-weight: 700; }
.sp #garage p { font-size: .8125rem; line-height: 1.9; }

/* ---------- Contact : coordonnées avec pictos orange + formulaire ---------- */
.sp #contact h3 { color: var(--orange); }
.sp #contact .os-col:last-child h3 { color: var(--ink); font-family: var(--font-title); text-transform: uppercase; }
.sp #contact h6 { position: relative; padding-left: 4.4rem; margin-top: 2rem; min-height: 2.2rem; }
.sp #contact h6 + p { padding-left: 4.4rem; font-size: .8125rem; line-height: 1.7; margin: 0; }
.sp #contact h6::before { content: ""; position: absolute; left: 0; top: -.1rem; width: 52px; height: 52px; background: var(--orange); }
.sp #contact h6::after { content: ""; position: absolute; left: 16px; top: calc(-.1rem + 16px); width: 20px; height: 20px; background: #fff;
  -webkit-mask: var(--sp-i) center / contain no-repeat; mask: var(--sp-i) center / contain no-repeat; }
.sp #contact h6:nth-of-type(1) { --sp-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l9 8h-3v9h-4v-6h-4v6H6v-9H3z'/%3E%3C/svg%3E"); }
.sp #contact h6:nth-of-type(2) { --sp-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.sp #contact h6:nth-of-type(3) { --sp-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm9 7.2L4.4 7H4v.6l8 5.4 8-5.4V7h-.4z'/%3E%3C/svg%3E"); }
.sp #contact h6:nth-of-type(4) { --sp-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20zm1 5h-2v6l5 3 1-1.7-4-2.3z'/%3E%3C/svg%3E"); }
.sp .os-field label { font-family: var(--font-ui); font-size: .75rem; font-weight: 500; color: var(--ink); }
.sp .os-field input:not([type=checkbox]), .sp .os-field textarea, .sp .os-field select { border-radius: 0; border: 1px solid transparent; background: #fafafa; padding: .95rem 1rem; font-size: .8125rem; }
.sp .os-bg-alt .os-field input:not([type=checkbox]), .sp .os-bg-alt .os-field textarea { background: #fafafa; }
.sp .os-field input:focus, .sp .os-field textarea:focus { outline: 0; border-color: var(--orange); }
.sp .os-form-fields { gap: .3rem .3rem; }
.sp .os-form-actions .os-button, .sp .os-form button[type=submit] { background: #000; color: #fff; border-radius: 0; }

/* ---------- Pied de page ---------- */
.sp-footer { background: #fff; border-top: 1px solid #eee; text-align: center; font-size: .75rem; color: #666; }
.sp-footer-in { padding: 1.6rem var(--gap); display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.sp-footer p { margin: 0; }
.sp-socials { display: flex; gap: 1rem; }
.sp-social { color: #999 !important; }
.sp-social:hover { color: var(--orange) !important; }
.sp-socials svg { width: 18px; height: 18px; }

/* ---------- Divers ---------- */
.sp ::selection { background: var(--orange); color: #fff; }
.sp .os-dots button.is-active, .sp .os-bar span { background: var(--orange); }
.sp .os-filters button, .sp .os-filters a { border-radius: 0; font-family: var(--font-ui); }

/* 2026.11.23.2 — réglages après comparaison avec swiss-pneus.ch */
.sp #services .os-col > .os-image { max-width: none; width: 100%; margin: 0; }
.sp #services .os-col > .os-image img { width: 100%; margin: 0; }
.sp #galerie { padding-bottom: 0; }
.sp #galerie .os-section-inner { max-width: 1300px; }
.sp #garage .os-section-inner { max-width: 1020px; }
.sp #garage { padding-bottom: 8rem; }
.sp :is(.os-bg-image, .os-bg-video) .os-image { max-width: 1170px; }
.sp .sp-logo img { max-height: 32px; }
/* Formulaire de contact : textes d'aide dans les champs, sans libellé visible (comme l'original) */
.sp #contact .os-field > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sp .os-field ::placeholder { font-style: italic; color: #999; }
.sp #contact .os-form-actions { margin-top: .4rem; }
.sp #contact .os-columns { --col-gap: 2.5rem; }
.sp #contact .os-col:first-child a { color: var(--body); }
.sp #contact .os-col:first-child a:hover { color: var(--orange); }

/* 2026.11.23.4 — Notre garage : titre au-dessus du texte de droite, aligné sur lui ; les deux colonnes centrées en hauteur (réglage « centré » du bloc Colonnes) */
.sp #garage .os-col .os-text > :first-child { margin-top: 0; }
.sp #garage .os-col h2 { text-align: left; margin-bottom: 1.5rem; }

/* ---------- Téléphone ---------- */
@media (max-width: 759px) {
  .sp .os-pad-m { padding: 4rem 0; } .sp .os-pad-l { padding: 5rem 0; }
  .sp #services .os-col + .os-col { margin-top: 1rem; }
  .sp #contact .os-col + .os-col { margin-top: 2rem; }
}

/* Couleurs et tailles du thème pour l'éditeur */
.os-c-t1{color:#ffb600}.os-hl-t1{background:#ffb60033;background:color-mix(in srgb,#ffb600 28%,transparent);color:inherit;padding:0 .12em;border-radius:2px}.os-c-t2{color:#333333}.os-hl-t2{background:#33333333;background:color-mix(in srgb,#333333 28%,transparent);color:inherit;padding:0 .12em;border-radius:2px}.os-c-t3{color:#666666}.os-hl-t3{background:#66666633;background:color-mix(in srgb,#666666 28%,transparent);color:inherit;padding:0 .12em;border-radius:2px}.os-c-t4{color:#eaeaea}.os-hl-t4{background:#eaeaea33;background:color-mix(in srgb,#eaeaea 28%,transparent);color:inherit;padding:0 .12em;border-radius:2px}.os-c-t5{color:#1f1f1f}.os-hl-t5{background:#1f1f1f33;background:color-mix(in srgb,#1f1f1f 28%,transparent);color:inherit;padding:0 .12em;border-radius:2px}.os-c-t6{color:#ffffff}.os-hl-t6{background:#ffffff33;background:color-mix(in srgb,#ffffff 28%,transparent);color:inherit;padding:0 .12em;border-radius:2px}.os-fs-l{font-size:clamp(1.2rem, 2vw, 1.375rem)}.os-fs-xl{font-size:clamp(1.75rem, 3.4vw, 2.5rem)}.os-fs-xxl{font-size:clamp(2.5rem, 6vw, 5rem)}

