/* ==========================================================================
   KIT — SITE VITRINE (MOTEUR COMMUN, NE PAS MODIFIER PAR CLIENT)
   Couleurs, polices, formes et gabarits viennent de vitrine-config.js :
   vitrine.js les pose sur les variables ci-dessous et sur <html class="…">.
   Personnalisation libre d'un client : bloc <style data-perso> de son index.html.
   ========================================================================== */

:root {
  --v-bg: #faf6ef;
  --v-surface: #fffdf9;
  --v-surface-2: #f1e9dc;
  --v-text: #1c1410;
  --v-soft: #4a3c33;
  --v-muted: #75685a;
  --v-accent: #6b1f2a;
  --v-accent-deep: #4f1620;
  --v-on-accent: #fffdf9;
  --v-metal: #b08d57;
  --v-line: #e4d8c4;
  --v-shadow: #1c1410;
  --v-serif: "Fraunces", Georgia, serif;
  --v-sans: "Work Sans", system-ui, sans-serif;
  --v-r: 18px;          /* arrondi des cartes et images */
  --v-btn-r: 999px;     /* arrondi des boutons */
  --v-gap: 96px;        /* espace entre sections (ordinateur) */
  --v-max: 1160px;
  --v-ease: cubic-bezier(0.32, 0.72, 0, 1);
  --v-safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--v-bg); color: var(--v-text); font: 16px/1.6 var(--v-sans); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--v-accent); outline-offset: 3px; border-radius: 6px; }

.v-wrap { max-width: var(--v-max); margin: 0 auto; padding: 0 20px; }
.v-section { padding: calc(var(--v-gap) * .62) 0; }
@media (min-width: 900px) { .v-section { padding: calc(var(--v-gap) / 2) 0; } }
.dense { --v-gap: 64px; }

/* ---------- Titres ---------- */
.v-kicker { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--v-metal); }
.v-h2 { margin: 0 0 14px; font: 400 clamp(30px, 6vw, 48px)/1.08 var(--v-serif); letter-spacing: -0.015em; text-wrap: balance; }
.v-lead { margin: 0; color: var(--v-soft); max-width: 58ch; }
.titres-maj .v-h2, .titres-maj .v-hero__title, .titres-maj .v-banner__title, .titres-maj .v-brand__name { text-transform: uppercase; letter-spacing: .04em; }
.titres-ital .v-h2, .titres-ital .v-hero__title, .titres-ital .v-banner__title { font-style: italic; }

/* ---------- Boutons ---------- */
.v-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: var(--v-btn-r); border: 1px solid transparent; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background 200ms, color 200ms, transform 200ms var(--v-ease); }
.v-btn:active { transform: scale(.97); }
.v-btn--accent { background: var(--v-accent); color: var(--v-on-accent); }
.v-btn--accent:hover { background: var(--v-accent-deep); }
.v-btn--line { border-color: currentColor; background: transparent; }
.v-btn--light { background: var(--v-surface); color: var(--v-text); }
.v-btn svg { width: 19px; height: 19px; fill: currentColor; }
.v-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- En-tête ---------- */
.v-top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--v-bg) 82%, transparent); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); border-bottom: 1px solid transparent; transition: border-color 200ms; }
.v-top.is-scrolled { border-bottom-color: var(--v-line); }
.v-top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 66px; }
.v-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.v-brand img { height: 40px; width: auto; max-width: 180px; object-fit: contain; }
.v-brand__name { font: italic 500 22px/1.1 var(--v-serif); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-nav { display: none; gap: 26px; font-size: 14px; }
.v-nav a { text-decoration: none; color: var(--v-soft); }
.v-nav a:hover { color: var(--v-text); }
@media (min-width: 900px) { .v-nav { display: flex; } }
.v-top .v-btn { min-height: 42px; padding: 0 18px; font-size: 14px; }

/* ---------- Bannières (créateur) ---------- */
.v-banners { padding-top: 12px; }
.v-banners__grid { display: grid; gap: 12px; }
@media (min-width: 760px) { .v-banners--duo .v-banners__grid { grid-template-columns: 1fr 1fr; } }
.v-banner { position: relative; overflow: hidden; border-radius: var(--v-r); background: var(--v-surface-2); min-height: 340px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.v-banners--solo .v-banner { min-height: min(72vh, 620px); }
.v-banners--duo .v-banner { min-height: 380px; }
.v-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.v-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, var(--voile, .45))); }
.v-banner__body { padding: 28px 24px; max-width: 620px; }
.v-banner--centre { align-items: center; justify-content: center; text-align: center; }
.v-banner--centre::after { background: rgba(0, 0, 0, var(--voile, .35)); }
.v-banner--centre .v-banner__body .v-btns { justify-content: center; }
.v-banner__title { margin: 0 0 10px; font: 400 clamp(30px, 6.5vw, 58px)/1.04 var(--v-serif); letter-spacing: -0.015em; text-wrap: balance; }
.v-banner__text { margin: 0 0 18px; font-size: 15px; opacity: .9; max-width: 46ch; }
.v-banner--centre .v-banner__text { margin-left: auto; margin-right: auto; }
.v-banner .v-btn--line { color: #fff; }

.v-slider { position: relative; }
.v-slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--v-r); }
.v-slider__track::-webkit-scrollbar { display: none; }
.v-slider__track .v-banner { flex: 0 0 100%; scroll-snap-align: start; border-radius: 0; min-height: min(72vh, 620px); }
.v-slider__dots { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 6px; padding: 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.v-slider__dots button { width: 7px; height: 7px; border-radius: 999px; border: 0; padding: 0; background: rgba(255, 255, 255, .55); cursor: pointer; transition: width 300ms var(--v-ease), background 300ms; }
.v-slider__dots button[aria-current="true"] { width: 22px; background: #fff; }
.v-slider__nav { display: none; position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; cursor: pointer; place-items: center; }
.v-slider__nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.v-slider__nav--prev { left: 14px; } .v-slider__nav--next { right: 14px; }
@media (hover: hover) and (pointer: fine) { .v-slider__nav { display: grid; } }

/* ---------- Accroche (3 gabarits) ---------- */
.v-hero { padding: 48px 0 24px; }
.v-hero__title { margin: 0 0 18px; font: 400 clamp(40px, 10vw, 84px)/1.0 var(--v-serif); letter-spacing: -0.025em; text-wrap: balance; }
.v-hero__text { margin: 0 0 26px; color: var(--v-soft); font-size: 17px; max-width: 48ch; }
.v-hero__media { border-radius: var(--v-r); overflow: hidden; background: var(--v-surface-2); }
.v-hero__media img { width: 100%; height: 100%; object-fit: cover; }

.hero-editorial .v-hero__grid { display: grid; gap: 28px; align-items: center; }
.hero-editorial .v-hero__media { aspect-ratio: 4 / 5; max-height: 640px; }
@media (min-width: 900px) { .hero-editorial .v-hero__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } .hero-editorial .v-hero { padding-top: 64px; } }

.hero-centre .v-hero { text-align: center; padding-top: 72px; }
.hero-centre .v-hero__title { margin-left: auto; margin-right: auto; max-width: 16ch; }
.hero-centre .v-hero__text { margin-left: auto; margin-right: auto; }
.hero-centre .v-btns { justify-content: center; }
.hero-centre .v-hero__media { margin-top: 40px; aspect-ratio: 16 / 8; }

.hero-plein .v-hero { padding: 12px 0 0; }
.hero-plein .v-hero__grid { position: relative; border-radius: var(--v-r); overflow: hidden; min-height: min(78vh, 680px); display: flex; align-items: flex-end; color: #fff; isolation: isolate; background: var(--v-text); }
.hero-plein .v-hero__media { position: absolute; inset: 0; border-radius: 0; z-index: -2; }
.hero-plein .v-hero__grid::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, .55)); }
.hero-plein .v-hero__copy { padding: 30px 24px; }
.hero-plein .v-hero__text { color: rgba(255, 255, 255, .88); }
.hero-plein .v-btn--line { color: #fff; }
.hero-plein .v-kicker { color: rgba(255, 255, 255, .8); }

/* ---------- Atouts ---------- */
.v-atouts { display: grid; gap: 1px; background: var(--v-line); border: 1px solid var(--v-line); border-radius: var(--v-r); overflow: hidden; margin-top: 30px; }
@media (min-width: 720px) { .v-atouts { grid-template-columns: repeat(var(--n, 3), 1fr); } }
.v-atout { background: var(--v-surface); padding: 26px 22px; }
.v-atout__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--v-metal); color: var(--v-metal); font: italic 500 15px/1 var(--v-serif); margin-bottom: 16px; }
.v-atout h3 { margin: 0 0 6px; font: 500 20px/1.2 var(--v-serif); }
.v-atout p { margin: 0; color: var(--v-soft); font-size: 14.5px; }

/* ---------- Sélection du catalogue ---------- */
.v-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.v-picks { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 6px; }
.v-picks::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .v-picks { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; gap: 26px 18px; } }
@media (min-width: 1040px) { .v-picks { grid-template-columns: repeat(4, 1fr); } }
.v-pick { scroll-snap-align: start; text-decoration: none; min-width: 0; }
.v-pick__img { aspect-ratio: 3 / 4; border-radius: var(--v-r); overflow: hidden; background: var(--v-surface-2); }
.v-pick__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--v-ease); }
.v-pick:hover .v-pick__img img { transform: scale(1.04); }
.v-pick h3 { margin: 10px 0 2px; font: 500 16px/1.25 var(--v-serif); }
.v-pick p { margin: 0; font-size: 13.5px; color: var(--v-muted); }
.v-skel { aspect-ratio: 3 / 4.4; border-radius: var(--v-r); background: linear-gradient(100deg, var(--v-surface-2) 30%, var(--v-surface) 50%, var(--v-surface-2) 70%) 0 0 / 200% 100%; animation: vsh 1.4s ease-in-out infinite; }
@keyframes vsh { to { background-position: -200% 0; } }

/* ---------- À propos ---------- */
.v-about { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .v-about { grid-template-columns: .9fr 1.1fr; gap: 64px; } .v-about--sans-image { grid-template-columns: 1fr; max-width: 760px; } }
.v-about__img { aspect-ratio: 4 / 5; border-radius: var(--v-r); overflow: hidden; background: var(--v-surface-2); }
.v-about__img img { width: 100%; height: 100%; object-fit: cover; }
.v-about__text p { margin: 0 0 14px; color: var(--v-soft); white-space: pre-line; }

/* ---------- Galerie ---------- */
.v-gallery { columns: 2; column-gap: 12px; }
@media (min-width: 900px) { .v-gallery { columns: 3; column-gap: 18px; } }
.v-gallery button { display: block; width: 100%; padding: 0; border: 0; margin: 0 0 12px; border-radius: var(--v-r); overflow: hidden; background: var(--v-surface-2); cursor: zoom-in; break-inside: avoid; }
@media (min-width: 900px) { .v-gallery button { margin-bottom: 18px; } }
.v-gallery img { width: 100%; height: auto; }
.v-zoom { position: fixed; inset: 0; z-index: 90; background: rgba(10, 8, 6, .94); display: grid; place-items: center; padding: 20px; animation: vfade 200ms both; }
.v-zoom img { max-width: 100%; max-height: 88vh; border-radius: 12px; }
.v-zoom button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); color: #fff; font-size: 22px; cursor: pointer; }
@keyframes vfade { from { opacity: 0; } }

/* ---------- Infos pratiques & contact ---------- */
.v-infos { display: grid; gap: 12px; }
@media (min-width: 760px) { .v-infos { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.v-info { background: var(--v-surface); border: 1px solid var(--v-line); border-radius: var(--v-r); padding: 22px; }
.v-info h3 { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--v-metal); }
.v-info p { margin: 0; white-space: pre-line; }
.v-info a { text-underline-offset: 3px; }

.v-cta { background: var(--v-text); color: var(--v-bg); border-radius: calc(var(--v-r) + 6px); padding: 44px 26px; text-align: center; }
.v-cta .v-h2 { color: var(--v-bg); }
.v-cta .v-lead { color: color-mix(in srgb, var(--v-bg) 75%, transparent); margin: 0 auto 24px; }
.v-cta .v-btns { justify-content: center; }
.v-cta .v-btn--line { color: var(--v-bg); }
.v-socials { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.v-socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--v-bg) 30%, transparent); }
.v-socials svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.v-foot { padding: 30px 0 calc(110px + var(--v-safe-b)); color: var(--v-muted); font-size: 13px; }
.v-foot__in { display: flex; justify-content: space-between; gap: 8px 18px; flex-wrap: wrap; border-top: 1px solid var(--v-line); padding-top: 18px; }
.v-foot p { margin: 0; }
.v-foot a { color: var(--v-soft); }

/* ---------- Barre flottante « liquid glass » ---------- */
.v-dock { position: fixed; left: 0; right: 0; margin: 0 auto; bottom: calc(14px + var(--v-safe-b)); z-index: 40; width: min(380px, calc(100% - 32px)); display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 999px; isolation: isolate; overflow: hidden;
  background: color-mix(in srgb, var(--v-surface) 55%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 12px 32px -8px color-mix(in srgb, var(--v-shadow) 30%, transparent); }
.v-dock::before { content: ""; position: absolute; inset: 0 0 50% 0; border-radius: 999px 999px 40% 40% / 999px 999px 100% 100%; background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0)); pointer-events: none; z-index: -1; }
.v-dock a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--v-text); }
.v-dock a:first-child { background: var(--v-text); color: var(--v-bg); }
.v-dock svg { width: 19px; height: 19px; fill: currentColor; }
.v-dock svg.st { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) { .v-dock { display: none; } .v-foot { padding-bottom: 40px; } }

.theme-sombre { color-scheme: dark; }
.theme-sombre .v-dock { border-color: color-mix(in srgb, var(--v-metal) 35%, transparent); }
.theme-sombre .v-dock::before { background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0)); }
.theme-sombre .v-cta { background: var(--v-surface); color: var(--v-text); border: 1px solid var(--v-line); }
.theme-sombre .v-cta .v-h2 { color: var(--v-text); }
.theme-sombre .v-cta .v-lead { color: var(--v-soft); }
.theme-sombre .v-cta .v-btn--line { color: var(--v-text); }
.theme-sombre .v-socials a { border-color: var(--v-line); }

/* Apparition douce au défilement */
.v-reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--v-ease), transform 700ms var(--v-ease); }
.v-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
  .v-reveal { opacity: 1; transform: none; }
}

/* ---------- Médias animés : GIF ou vidéo en boucle ---------- */
.v-banner video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.v-hero__media video, .v-about__img video { width: 100%; height: 100%; object-fit: cover; display: block; }
.v-gallery video { width: 100%; height: auto; display: block; }
.v-zoom video { max-width: 100%; max-height: 88vh; border-radius: 12px; }

/* ---------- Avis clients ---------- */
.v-avg { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--v-muted); font-size: 14px; }
.v-avg b { font: 500 34px/1 var(--v-serif); color: var(--v-text); }
.v-stars { color: var(--v-metal); letter-spacing: 2px; font-size: 15px; }
.v-stars i { font-style: normal; color: var(--v-line); }
.v-reviews { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px 8px; }
.v-reviews::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .v-reviews { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); overflow: visible; margin: 0; padding: 0; align-items: start; } }
.v-review { scroll-snap-align: start; margin: 0; background: var(--v-surface); border: 1px solid var(--v-line); border-radius: var(--v-r); padding: 22px; display: grid; gap: 12px; align-content: start; }
.v-review blockquote { margin: 0; font: 400 18px/1.45 var(--v-serif); color: var(--v-text); }
.v-review blockquote::before { content: "« "; color: var(--v-metal); }
.v-review blockquote::after { content: " »"; color: var(--v-metal); }
.v-review figcaption { font-size: 13.5px; color: var(--v-muted); }
.v-review figcaption b { color: var(--v-text); font-weight: 600; }
.v-review__shot { display: block; width: 100%; padding: 0; border: 0; border-radius: calc(var(--v-r) * .6); overflow: hidden; background: var(--v-surface-2); cursor: zoom-in; }
.v-review__shot img, .v-review__shot video { width: 100%; height: auto; display: block; max-height: 420px; object-fit: cover; object-position: top; }
.v-review--shot { padding: 10px; }

/* ---------- Animation d'ouverture ---------- */
@keyframes vUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes vZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes vFade { from { opacity: 0; } to { opacity: 1; } }
.anim .v-top { animation: vFade .9s var(--v-ease) both; }
.anim .v-banners .v-banner, .anim .v-hero__copy > *, .anim .v-hero__media { animation: vUp 1s var(--v-ease) both; }
.anim .v-hero__copy > :nth-child(1) { animation-delay: .10s; }
.anim .v-hero__copy > :nth-child(2) { animation-delay: .22s; }
.anim .v-hero__copy > :nth-child(3) { animation-delay: .36s; }
.anim .v-hero__copy > :nth-child(4) { animation-delay: .48s; }
.anim .v-hero__media { animation-delay: .3s; }
.anim .v-banner img, .anim .v-banner video, .anim .v-hero__media img, .anim .v-hero__media video { animation: vZoom 7s cubic-bezier(.2, .6, .2, 1) both; }
.anim .v-dock { animation: vUp .9s var(--v-ease) .7s both; }
/* rideau : le contenu attend la levée de l'écran de marque */
.anim-rideau:not(.is-revealed) .v-top, .anim-rideau:not(.is-revealed) main, .anim-rideau:not(.is-revealed) .v-dock { animation-play-state: paused; }
.v-intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--v-text); color: var(--v-bg); transition: transform 1s cubic-bezier(.76, 0, .24, 1); }
.v-intro.is-out { transform: translateY(-100%); }
.v-intro__in { display: grid; justify-items: center; gap: 14px; padding: 24px; text-align: center; }
.v-intro__in img { max-width: 180px; max-height: 120px; object-fit: contain; animation: vUp .9s var(--v-ease) .1s both; }
.v-intro__name { font: italic 400 clamp(40px, 11vw, 76px)/1 var(--v-serif); letter-spacing: -0.02em; animation: vUp .9s var(--v-ease) .1s both; }
.v-intro__in small { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: color-mix(in srgb, var(--v-bg) 70%, transparent); animation: vFade .8s ease .5s both; }
.v-intro__line { display: block; width: 0; height: 1px; background: var(--v-metal); animation: vLine 1.1s cubic-bezier(.76, 0, .24, 1) .3s forwards; }
@keyframes vLine { to { width: 120px; } }
@media (prefers-reduced-motion: reduce) { .v-intro { display: none; } }

/* ---------- Boutons réglables ---------- */
.v-btn--link { min-height: auto; padding: 6px 2px; border: 0; background: none; color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.v-dock--solo { grid-template-columns: 1fr; width: min(260px, calc(100% - 32px)); }
.v-bubble { position: fixed; right: 16px; bottom: calc(16px + var(--v-safe-b)); z-index: 41; display: inline-flex; align-items: center; gap: 8px; height: 56px; min-width: 56px; padding: 0 16px; justify-content: center;
  border-radius: 999px; background: #1f8f55; color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); }
.v-bubble svg { width: 26px; height: 26px; fill: currentColor; }
.v-bubble--dock { bottom: calc(86px + var(--v-safe-b)); }
@media (min-width: 900px) { .v-bubble--dock { bottom: 24px; } .v-bubble { right: 24px; } }
.sans-dock .v-foot { padding-bottom: 40px; }

/* ---------- Ouvertures : logo animé et vidéo ---------- */
.v-intro--logo, .v-intro--video { transition: opacity .9s ease, transform 1s cubic-bezier(.76, 0, .24, 1); }
.v-intro--logo.is-out, .v-intro--video.is-out { transform: none; opacity: 0; }
.v-intro__logo { max-width: min(220px, 60vw); max-height: 160px; object-fit: contain; }
.effet-zoom .v-intro__logo, .effet-zoom .v-intro__name { animation: vLogoZoom 1.6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes vLogoZoom { from { opacity: 0; transform: scale(.6); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
.effet-cercle .v-intro__in { animation: vCercle 1.4s cubic-bezier(.76, 0, .24, 1) both; }
@keyframes vCercle { from { clip-path: circle(0% at 50% 50%); } to { clip-path: circle(75% at 50% 50%); } }
.effet-lumiere .v-intro__in { position: relative; overflow: hidden; animation: vFade .6s ease both; }
.effet-lumiere .v-intro__in::after { content: ""; position: absolute; inset: -20% auto -20% -60%; width: 40%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); animation: vLumiere 1.4s ease .5s both; }
@keyframes vLumiere { to { left: 130%; } }
.effet-battement .v-intro__logo, .effet-battement .v-intro__name { animation: vBat 1.6s ease both; }
@keyframes vBat { 0% { opacity: 0; transform: scale(.85); } 35% { opacity: 1; transform: scale(1.04); } 55% { transform: scale(.98); } 75% { transform: scale(1.02); } 100% { transform: none; } }
.v-intro--logo small { animation: vFade .8s ease .9s both; }
.v-intro--video { background: #000; }
.v-intro--video video, .v-intro__gif { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v-intro--centre video, .v-intro--centre .v-intro__gif { object-fit: contain; }
.v-intro__skip { position: absolute; right: 16px; bottom: calc(18px + var(--v-safe-b)); z-index: 2; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45);
  background: rgba(0, 0, 0, .35); color: #fff; font: 600 14px/1 var(--v-sans); cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* ---------- Bannières : format, point d'intérêt, image entière, pleine largeur ---------- */
.v-banner img, .v-banner video { object-position: var(--pos, 50% 50%); }
@media (max-width: 759px) { .v-banners .v-banner.has-rm, .v-slider__track .v-banner.has-rm { min-height: 0; aspect-ratio: var(--rm); } }
@media (min-width: 760px) { .v-banners .v-banner.has-rd, .v-slider__track .v-banner.has-rd { min-height: 0; aspect-ratio: var(--rd); } }
.v-banner--entiere { background: var(--fond-b, var(--v-surface-2)); }
.v-banner--entiere img, .v-banner--entiere video { object-fit: contain; }
.v-banner--haut { align-items: flex-start; }
.v-banner--haut::after { background: linear-gradient(0deg, transparent 30%, rgba(0, 0, 0, var(--voile, .45))); }
.v-banners--bloc { padding: calc(var(--v-gap) * .3) 0; }
.v-banners--plein > .v-wrap { max-width: none; padding: 0; }
.v-banners--plein .v-banner, .v-banners--plein .v-slider__track { border-radius: 0; }
.v-banners--plein .v-banners__grid { gap: 0; }

/* ---------- Widgets intégrés (Elyqen ou autre) ---------- */
.v-widget__box { border-radius: var(--v-r, 18px); overflow: hidden; }
.v-widget__box iframe { display: block; width: 100%; border: 0; background: transparent; transition: height .3s ease; }
.v-widget--nu { padding-top: 12px; padding-bottom: 12px; }
.v-widget--plein .v-widget__box { border-radius: 0; }
.v-widget .v-h2 { margin-bottom: 18px; }

/* ---------- Dégradés du thème (si choisis dans l'atelier) ---------- */
:root { --v-text-0: var(--v-text); --v-soft-0: var(--v-soft); --v-muted-0: var(--v-muted); --v-line-0: var(--v-line); }
html.g-fond body { background: var(--v-fond-paint); }
html.g-accent .v-btn--accent { background: var(--v-accent-paint); }
html.g-accent .v-btn--accent:hover { background: var(--v-accent-paint); filter: brightness(.92); }
html.g-surface .v-atout, html.g-surface .v-info, html.g-surface .v-review { background: var(--v-surface-paint); }
html.g-metal .v-intro__line { background: var(--v-metal-paint); }
html.g-texte .v-h2, html.g-texte .v-hero__title, html.g-texte .v-intro__name {
  background: var(--v-texte-paint); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}

/* ---------- Arrière-plan par section : couleur / dégradé, photo, GIF ou vidéo ---------- */
.v-fond { position: relative; isolation: isolate; overflow: clip; background: var(--fond-c, transparent); }
.v-banners.v-fond, .v-hero.v-fond { padding-top: calc(var(--v-gap) * .42); padding-bottom: calc(var(--v-gap) * .42); }
.v-fond__media { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.v-fond__media img, .v-fond__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.v-fond__media::after { content: ""; position: absolute; inset: 0; background: rgba(var(--fond-voile-c, 0,0,0), var(--fond-voile, .35)); }
.v-fond--clair { --v-text: #fff; --v-soft: rgba(255,255,255,.86); --v-muted: rgba(255,255,255,.7); --v-line: rgba(255,255,255,.24); color: var(--v-text); }
.v-fond--fonce { --v-text: #16110e; --v-soft: rgba(22,17,14,.82); --v-muted: rgba(22,17,14,.64); --v-line: rgba(22,17,14,.16); color: var(--v-text); }
.v-fond--clair .v-kicker { color: rgba(255,255,255,.82); }
/* les cartes gardent les couleurs du thème */
.v-fond .v-atout, .v-fond .v-info, .v-fond .v-review { --v-text: var(--v-text-0); --v-soft: var(--v-soft-0); --v-muted: var(--v-muted-0); --v-line: var(--v-line-0); color: var(--v-text); }
html.g-texte .v-fond .v-h2, html.g-texte .v-fond .v-hero__title { background: none; color: var(--v-text); -webkit-text-fill-color: currentColor; }

/* Étiquette « Nouveau » sur la sélection */
.v-pick__img { position: relative; }
.v-pick__new {
  position: absolute; top: 10px; left: 10px; padding: 5px 10px; border-radius: 999px;
  background: var(--v-accent-paint, var(--v-accent)); color: var(--v-on-accent);
  font: 600 10.5px/1 var(--v-sans); letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .35);
}
