/* ==========================================================================
   Mix & Light — feuille de style du site
   Écrite pour Mix and Light (2026). Composants nommés, jetons maison,
   grille de 4 px. La mise en scène propre à chaque section (position des
   photos, des visuels détourés, des titres manuscrits) est donnée dans le
   HTML par des variables CSS (--x, --y, --w… et leurs variantes -t tablette,
   -m téléphone) ; cette feuille ne contient que les règles génériques.
   ========================================================================== */

/* ---------- polices ---------- */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/montserrat-300.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-500.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-700.woff2") format("woff2"); }

/* ---------- jetons ---------- */
:root {
  --black: #000;
  --ink: #1e1e1e;
  --graphite: #505050;
  --grey: #a5a5a5;
  --mist: #f5f5f5;
  --white: #fff;
  --ink-soft: rgba(30, 30, 30, .5);
  --ink-muted: rgba(30, 30, 30, .75);
  --gold: #fad278;
  --rose: #e66e78;
  --gradient: linear-gradient(90deg, var(--rose), var(--gold));

  --shadow: 0 16px 48px rgba(0, 0, 0, .25);
  --shadow-s: 0 4px 16px rgba(0, 0, 0, .25);
  --radius-s: 4px;
  --radius: 8px;
  --radius-l: 16px;
  --pill: 999px;

  --gutter: 20px;
  --content: min(1060px, calc(100vw - 2 * var(--gutter)));
  --header-h: 76px;
  --track: .15em;
  --ease: cubic-bezier(.33, 0, .2, 1);
  --speed: .3s;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Montserrat", system-ui, sans-serif; font-weight: 400; font-size: 12px; line-height: 1.25;
  color: var(--grey); background: var(--black); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
body.page--light { background: var(--white); }
body.is-locked { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; cursor: pointer; }
h1, h2, h3, p { font-size: inherit; font-weight: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { display: none; }
.icon { width: 16px; height: 16px; fill: currentColor; flex: none; }
.icon--right { transform: rotate(90deg); }
.icon--left { transform: rotate(-90deg); }
.icon--down { transform: rotate(180deg); }
.container { position: relative; width: var(--content); margin-inline: auto; }

/* ---------- typographie ---------- */
.label { font-size: 10px; font-weight: 700; line-height: 1.25; letter-spacing: var(--track); text-transform: uppercase; }
.label--tall { line-height: 1.5; }
.label--regular { font-weight: 500; }
.text { font-size: 12px; line-height: 1.25; }
.quote { font-size: 20px; font-weight: 300; line-height: 1.25; color: var(--white); }
.price { font-size: 15px; font-weight: 700; line-height: 1.25; letter-spacing: var(--track); text-transform: uppercase; color: var(--black); }
.tone-grey { color: var(--grey); }
.tone-white { color: var(--white); }
.tone-black { color: var(--black); }
.tone-ink-soft { color: var(--ink-soft); }
.tone-ink-muted { color: var(--ink-muted); }
.tone-grey-soft { color: rgba(165, 165, 165, .75); }
.align-center { text-align: center; }
.align-right { text-align: right; }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  height: 36px; padding: 0 16px; border: 2px solid transparent; border-radius: var(--pill);
  font-size: 10px; letter-spacing: var(--track); text-transform: uppercase; white-space: nowrap; line-height: 1;
  cursor: pointer; transition: background-color var(--speed), color var(--speed), border-color var(--speed), box-shadow var(--speed);
}
.btn .icon { width: 12px; height: 12px; margin-right: -4px; }
.btn--grad { border: 0; background: var(--gradient); color: var(--white); }
.btn--grad:hover { box-shadow: var(--shadow); }
.btn--line { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.btn--outline { border-color: rgba(165, 165, 165, .5); color: var(--white); }
.btn--outline-muted { border-color: rgba(165, 165, 165, .5); color: var(--grey); }
.btn--line:hover, .btn--outline:hover, .btn--outline-muted:hover { background: var(--white); border-color: var(--white); color: var(--black); box-shadow: var(--shadow); }
.on-light .btn--outline-muted:hover, .on-light .btn--sm:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.btn--ink { background: var(--ink); color: var(--grey); }
.btn--soft { background: var(--mist); color: var(--ink); }
.btn--soft.tone-ink-muted { color: var(--ink-muted); }
.btn--white { background: var(--white); color: var(--black); }
.btn--white.tone-ink-muted { color: var(--ink-muted); }
.btn--ink:hover, .btn--soft:hover, .btn--white:hover { box-shadow: var(--shadow); }
.btn--sm { height: 24px; padding: 0 8px; border-width: 1px; border-color: rgba(165, 165, 165, .5); color: var(--grey); font-weight: 700; }
.btn--sm .icon { width: 8px; height: 8px; margin: 0 2px 0 0; }
.btn--sm:hover { background: var(--white); border-color: var(--white); color: var(--black); box-shadow: var(--shadow); }
.btn--dim { opacity: .5; pointer-events: none; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; color: var(--graphite); transition: color var(--speed); }
.social .icon { width: 20px; height: 20px; }
.on-dark .social { color: var(--white); }
.social:hover { color: var(--rose); }
.round-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; color: var(--graphite); cursor: pointer; transition: opacity var(--speed), color var(--speed); }
.round-btn .icon { width: 24px; height: 24px; }
.round-btn:hover { color: var(--white); }
.on-light .round-btn:hover { color: var(--black); }
.round-btn.is-disabled { opacity: .25; pointer-events: none; }

/* ---------- en-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 200;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0 16px;
  padding: 20px calc((100vw - var(--content)) / 2);
  background: rgba(30, 30, 30, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: opacity var(--speed), background-color var(--speed);
}
.site-header--auto { opacity: 0; pointer-events: none; }
.site-header--auto.is-shown { opacity: 1; pointer-events: auto; }
.site-header.is-clear { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-fade-black { background: linear-gradient(to bottom, var(--black), transparent); }
.site-header.is-fade-graphite { background: linear-gradient(to bottom, var(--graphite), transparent); }
.site-header__nav { display: flex; align-items: center; gap: 4px; }
.site-header__nav--start { justify-content: flex-end; }
.site-header__nav--end { justify-content: flex-start; }
.site-header__logo img { height: 76px; width: auto; }
.nav-pill {
  display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: var(--pill);
  font-size: 10px; letter-spacing: var(--track); text-transform: uppercase; color: var(--white); white-space: nowrap;
  transition: background-color var(--speed), color var(--speed), box-shadow var(--speed);
}
.nav-pill:hover { background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.nav-pill--lang { background: var(--graphite); }
.nav-pill--grad { background: var(--gradient); }
.nav-pill--grad:hover { background: var(--gradient); color: var(--white); }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--white); }
.burger .icon { width: 24px; height: 24px; }
.nav-drop { position: relative; }
.nav-drop__menu {
  position: absolute; top: 100%; left: 50%; min-width: 160px; margin-top: 8px; padding: 4px 0;
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-s); box-shadow: var(--shadow-s);
  opacity: 0; visibility: hidden; transform: translate(-50%, 4px); transition: opacity var(--speed), transform var(--speed), visibility var(--speed);
}
.nav-drop__menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav-drop:hover .nav-drop__menu, .nav-drop:focus-within .nav-drop__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-drop__menu a { padding: 8px 12px; font-size: 10px; line-height: 1.5; letter-spacing: var(--track); text-transform: uppercase; text-align: center; color: var(--grey); transition: color var(--speed); }
.nav-drop__menu a:hover { color: var(--ink); }
@media (max-width: 1023px) {
  .site-header { grid-template-columns: 1fr auto 1fr; padding-inline: var(--gutter); }
  .site-header__nav--start { justify-content: flex-start; }
  .site-header__nav--end { justify-content: flex-end; }
  .site-header .nav-pill, .site-header .nav-drop { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 639px) { .site-header__logo img { height: 48px; } }

/* ---------- fenêtres (menu, contact, cookies, mentions…) ---------- */
.panel { position: fixed; inset: 0; z-index: 1000; display: none; }
.panel.is-open { display: flex; animation: fade-in .3s var(--ease) both; }
.panel--veil { align-items: center; justify-content: center; padding: var(--gutter); background: rgba(0, 0, 0, .75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.panel--clear { pointer-events: none; background: none; }
.panel__close { position: absolute; top: 0; right: 0; z-index: 2; display: inline-flex; padding: 20px; color: var(--grey); cursor: pointer; transition: color var(--speed); }
.panel__close .icon { width: 24px; height: 24px; }
.panel__close:hover { color: var(--white); }
.panel__card { position: relative; width: min(500px, 100%); max-height: 100%; overflow-y: auto; padding: 20px; text-align: center; }
.panel__card--dark { background: var(--ink); border-radius: var(--radius-l); }
.panel.is-open .panel__card { animation: grow-in .4s var(--ease) both; }
.panel__title { margin-bottom: 12px; color: var(--white); }
.panel__text { color: var(--grey); }
.panel__text a { text-decoration: underline; }

/* menu (téléphone, tablette) */
.menu { flex-direction: column; align-items: center; justify-content: center; gap: 28px; text-align: center; }
.menu__logo { height: 76px; width: auto; margin-bottom: 4px; }
.menu .btn { height: 36px; }
.menu .btn--plain { color: var(--white); }
.menu .btn--plain:hover { background: var(--white); color: var(--ink); }
.panel.menu.is-open > * { animation: slide-in .4s var(--ease) both; }

/* bandeau et préférences cookies */
.cookie-bar { text-align: center; }
.cookie-bar__logo { height: 76px; width: auto; margin: 0 auto 12px; }
.cookie-bar__text { color: var(--white); margin-bottom: 12px; }
.cookie-bar__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cookie-bar .btn--white { color: var(--black); }
.cookie-bar .btn--plain { color: var(--grey); }
.cookie-bar .btn--plain:hover { color: var(--white); }
.panel--banner .panel__card { width: min(1000px, 100%); }
.cookie-prefs { text-align: left; }
.cookie-prefs__row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 16px 0; border-top: 1px solid rgba(165, 165, 165, .25); }
.cookie-prefs__row .text { grid-column: 1 / -1; }
.cookie-prefs__save { display: flex; justify-content: center; padding-top: 12px; }

/* bulles d'information (formulaire envoyé…) */
.toast { align-items: flex-end; justify-content: flex-end; padding: var(--gutter); }
.toast__card { position: relative; width: min(376px, 100%); padding: 20px 44px 20px 20px; background: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); pointer-events: auto; animation: grow-in .4s var(--ease) both; }
.toast__card .panel__close { padding: 12px; }
.toast__card .panel__close .icon { width: 16px; height: 16px; }
.toast__title { color: var(--white); margin-bottom: 4px; }
.toast__msg + .toast__msg { margin-top: 12px; }

/* chargement */
.loader { align-items: center; justify-content: center; background: rgba(0, 0, 0, .5); }
.loader__icon { width: 48px; height: 48px; color: var(--white); animation: pulse 1.2s var(--ease) infinite; }

/* ---------- formulaires ---------- */
.field {
  display: block; width: 100%; height: 32px; padding: 0 12px; border: 0; border-radius: var(--pill);
  background: var(--graphite); color: var(--white); font-size: 12px; outline: none;
  -webkit-appearance: none; appearance: none; transition: box-shadow var(--speed);
}
.field::placeholder { color: rgba(255, 255, 255, .5); }
.field:focus { box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
textarea.field { height: auto; min-height: 64px; max-height: 160px; padding: 8px 12px; border-radius: var(--radius-l); resize: vertical; }
select.field { padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Cpath fill='%23a5a5a5' d='M25 37.4 8.3 20.7a2.6 2.6 0 0 1 3.7-3.7L25 30l13-13a2.6 2.6 0 0 1 3.7 3.7z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 12px; }
select.field:invalid { color: rgba(255, 255, 255, .5); }
.field--light { background-color: var(--mist); color: var(--ink); }
.field--light::placeholder { color: rgba(30, 30, 30, .4); }
.check { -webkit-appearance: none; appearance: none; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--white); cursor: pointer; display: grid; place-items: center; }
.check::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform var(--speed); }
.check:checked::after { transform: scale(1); }
.check:disabled { background: rgba(80, 80, 80, .25); cursor: default; }
.switch { -webkit-appearance: none; appearance: none; flex: none; width: 48px; height: 24px; border-radius: var(--pill); background: var(--graphite); position: relative; cursor: pointer; transition: background-color var(--speed); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); transition: transform var(--speed); }
.switch:checked { background: var(--gradient); }
.switch:checked::after { transform: translateX(24px); }
.switch:disabled { opacity: .5; cursor: default; }

/* formulaire de contact */
.contact-sheet { background: rgba(0, 0, 0, .9); overflow-y: auto; align-items: flex-start; justify-content: center; padding: 64px var(--gutter) 40px; }
.contact-sheet__inner { width: min(480px, 100%); margin: auto 0; text-align: center; }
.contact-sheet__intro > * + * { margin-top: 8px; }
.contact-sheet__links { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 16px 0 20px; }
.contact-form { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 8px; text-align: left; }
.contact-form__half { grid-column: span 2; }
.contact-form__wide { grid-column: span 3; }
.contact-form__narrow { grid-column: span 1; }
.contact-form__full { grid-column: 1 / -1; }
.contact-form__file { display: flex; align-items: center; gap: 8px; padding: 6px; border: 1px solid rgba(165, 165, 165, .25); border-radius: var(--pill); color: var(--white); }
.contact-form__file .btn { background: var(--graphite); border-color: transparent; color: var(--white); }
.contact-form__consent { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--white); }
.contact-form__send { display: flex; justify-content: center; }
.contact-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 639px) {
  .contact-form__half, .contact-form__wide, .contact-form__narrow { grid-column: 1 / -1; }
}

/* ---------- pied de page ---------- */
.site-footer {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 20px calc((100vw - var(--content)) / 2); background: var(--ink);
}
.site-footer__link { justify-self: end; padding: 0 8px; font-size: 10px; letter-spacing: var(--track); text-transform: uppercase; color: var(--grey); cursor: pointer; transition: color var(--speed); }
.site-footer__link:last-child { justify-self: start; }
.site-footer__link:hover { color: var(--white); }
.site-footer__logo img { height: 76px; width: auto; }
@media (max-width: 639px) { .site-footer__logo img { height: 48px; } }

/* ==========================================================================
   Moteur de sections
   Chaque section : des calques plein cadre (photo, vidéo, voiles), un cadre
   centré qui reçoit des éléments posés (photos, visuels, tracés) et un
   contenu dans le flux. Les valeurs viennent des variables de chaque élément.
   ========================================================================== */
.scene { position: relative; overflow: hidden; background: var(--bg, transparent); }
.scene--screen { min-height: 100vh; }
@media (min-width: 1024px) {
  .scene--end { --shift: calc(100vh - 900px); }
  .scene--center { --shift: calc((100vh - 900px) / 2); }
  .scene--end .scene__inner, .scene--center .scene__inner { padding-top: max(96px, calc(var(--pt) + var(--shift))); }
  .scene--end .posed, .scene--center .posed { top: calc(var(--y) + var(--shift)); }
}
.scene__inner { position: relative; width: var(--content); margin-inline: auto; padding-top: var(--pt, 0px); padding-bottom: var(--pb, 0px); z-index: 1; }
.scene__layer { position: absolute; left: 0; width: 100%; top: var(--lt, 0px); height: var(--lh, 100%); z-index: var(--lz, 0); pointer-events: none; background-position: center; background-size: cover; background-repeat: no-repeat; }
.scene__layer--bottom { top: auto; bottom: 0; }
video.scene__layer { object-fit: cover; }
.scene__inner > .flow { position: relative; z-index: 3; margin-left: var(--x, 0%); width: var(--w, 100%); margin-top: var(--mt, 0px); }
.scene__inner > .flow:first-child { margin-top: 0; }
.posed { position: absolute; z-index: var(--z, 1); left: var(--x); top: var(--y); width: var(--w); pointer-events: none; }
.posed--ratio { aspect-ratio: var(--ar); }
img.posed { height: auto; max-width: none; }
.photo { background-position: center; background-size: cover; background-repeat: no-repeat; box-shadow: var(--shadow); }
.photo__shade { position: absolute; inset: 0; }
.title-art { position: relative; height: var(--th); pointer-events: none; }
.title-art img { position: absolute; left: var(--tx); top: var(--ty); width: var(--tw); max-width: none; height: auto; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.actions.align-center { justify-content: center; }
.flow.label, .flow.text { overflow-wrap: break-word; }
.flow--logo img { width: 100%; height: auto; }

@media (max-width: 1023px) {
  .scene--screen { min-height: 0; }
  .scene__inner { padding-top: var(--pt-t, var(--pt, 0px)); padding-bottom: var(--pb-t, var(--pb, 0px)); }
  .scene__layer { top: var(--lt-t, var(--lt, 0px)); height: var(--lh-t, var(--lh, 100%)); }
  .scene__inner > .flow { margin-left: var(--x-t, var(--x, 0%)); width: var(--w-t, var(--w, 100%)); margin-top: var(--mt-t, var(--mt, 0px)); }
  .posed { left: var(--x-t, var(--x)); top: var(--y-t, var(--y)); width: var(--w-t, var(--w)); }
  .posed--ratio { aspect-ratio: var(--ar-t, var(--ar)); }
  .title-art { height: var(--th-t, var(--th)); }
  .title-art img { left: var(--tx-t, var(--tx)); top: var(--ty-t, var(--ty)); width: var(--tw-t, var(--tw)); }
}
@media (max-width: 639px) {
  .scene__inner { padding-top: var(--pt-m, var(--pt-t, var(--pt, 0px))); padding-bottom: var(--pb-m, var(--pb-t, var(--pb, 0px))); }
  .scene__layer { top: var(--lt-m, var(--lt-t, var(--lt, 0px))); height: var(--lh-m, var(--lh-t, var(--lh, 100%))); }
  .scene__inner > .flow { margin-left: var(--x-m, var(--x-t, var(--x, 0%))); width: var(--w-m, var(--w-t, var(--w, 100%))); margin-top: var(--mt-m, var(--mt-t, var(--mt, 0px))); }
  .posed { left: var(--x-m, var(--x-t, var(--x))); top: var(--y-m, var(--y-t, var(--y))); width: var(--w-m, var(--w-t, var(--w))); }
  .posed--ratio { aspect-ratio: var(--ar-m, var(--ar-t, var(--ar))); }
  .title-art { height: var(--th-m, var(--th-t, var(--th))); }
  .title-art img { left: var(--tx-m, var(--tx-t, var(--tx))); top: var(--ty-m, var(--ty-t, var(--ty))); width: var(--tw-m, var(--tw-t, var(--tw))); }
}
@media (min-width: 1024px) { .hide-d { display: none !important; } }
@media (min-width: 640px) and (max-width: 1023px) { .hide-t { display: none !important; } }
@media (max-width: 639px) { .hide-m { display: none !important; } }
picture { display: contents; }

/* voiles : dégradé ou aplat, teinte et sens donnés par classes */
.veil { --tone: 0, 0, 0; --a: 1; --from: 0%; --to: 100%; background: linear-gradient(var(--dir, to bottom), rgba(var(--tone), 0) var(--from), rgba(var(--tone), var(--a)) var(--to)); }
.veil--flat { background: rgba(var(--tone), var(--a)); }
.veil--down { --dir: to bottom; }
.veil--up { --dir: to top; }
.veil--left { --dir: to left; }
.veil--right { --dir: to right; }
.veil--white { --tone: 255, 255, 255; }
.veil--ink { --tone: 30, 30, 30; }
.veil--mist { --tone: 245, 245, 245; }

/* carte d'entrée (accueil) */
.entry-cards { display: flex; gap: 40px; padding: 20px; }
.entry-card { flex: 1 1 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 28px; transition: box-shadow var(--speed); }
.entry-card:hover { box-shadow: var(--shadow); }
.entry-card--light { background: var(--white); color: var(--black); }
.entry-card--dark { background: var(--ink); color: var(--white); }
.entry-card__head { display: flex; align-items: center; }
.entry-card__head img { height: 36px; width: auto; padding-top: 4px; }
.entry-card__head .icon { width: 16px; height: 16px; }
.entry-card--light .entry-card__head .icon { color: var(--black); }
.entry-card .text { color: var(--grey); }
@media (max-width: 639px) {
  .entry-cards { gap: 20px; padding: 10px 0; }
  .entry-card { padding: 20px; }
  .entry-card__head { flex-wrap: wrap; }
  .entry-card__head .label { width: 100%; }
  .entry-card .text { display: none; }
}

/* lien partenaire (mariages.net) */
.partner { display: inline-flex; flex-direction: column; gap: 8px; }
.partner img { width: 120px; height: auto; }
.partner.align-center { align-items: center; }

/* ---------- carrousels ---------- */
.carousel { position: relative; overflow: hidden; }
.carousel__track { display: flex; gap: 20px; transition: transform .6s var(--ease); will-change: transform; touch-action: pan-y; }
.carousel__item { flex: none; }
.carousel__arrows { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; pointer-events: none; z-index: 3; }
.carousel__arrows > * { pointer-events: auto; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; padding: 12px 0; }
.carousel__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--graphite); opacity: .25; cursor: pointer; transition: opacity var(--speed), transform var(--speed); }
.carousel__dot.is-active { opacity: 1; transform: scale(1.25); }

/* ---------- avis ---------- */
.reviews { position: relative; overflow: hidden; padding: 48px 0; background: var(--black) center / cover no-repeat; }
.reviews__inner { position: relative; width: var(--content); margin-inline: auto; z-index: 2; }
.reviews .carousel__track { gap: 0; }
.review { width: 100%; display: flex; justify-content: flex-end; align-items: center; }
.review__inner { position: relative; width: 50%; padding: 100px; }
.review__photo { position: absolute; z-index: 0; left: -300px; top: 48px; width: 448px; height: 352px; background: center / cover no-repeat; box-shadow: var(--shadow); }
.review__photo .photo__shade { background: linear-gradient(to right, transparent, rgba(0, 0, 0, .75)); }
.review__body { position: relative; z-index: 2; }
.review__body .quote { padding-top: 8px; }
.review__body figcaption { padding-top: 28px; }
.review__line { position: absolute; z-index: 1; left: -48px; bottom: 0; width: 152px; height: auto; pointer-events: none; }
.reviews .carousel__arrows { padding: 0; }
.reviews__partner { display: flex; justify-content: center; padding-top: 28px; }
.reviews .veil-top, .reviews .veil-bottom { position: absolute; left: 0; width: 100%; height: 100px; z-index: 1; pointer-events: none; }
.reviews .veil-top { top: 0; background: linear-gradient(to bottom, var(--black), transparent); }
.reviews .veil-bottom { bottom: 0; background: linear-gradient(to top, var(--black), transparent); }
@media (max-width: 1023px) {
  .review__inner { width: 75%; padding: 48px; }
  .review__photo { left: -76px; top: 0; width: 300px; height: 300px; }
  .review__line { bottom: -152px; }
}
@media (max-width: 639px) {
  .review__inner { width: 90%; padding: 48px; }
  .review__photo { left: -48px; top: 24px; width: 248px; height: 248px; }
  .review__line { left: 0; bottom: -200px; }
  .review__body .quote { font-size: 15px; }
  .reviews .carousel__arrows { display: none; }
}

/* ---------- entête des pages de prestation (DJ, sonorisation…) ---------- */
.service-hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 100vh; padding: 100px 0; background: var(--bg, var(--black)); }
.service-hero__body { flex: 0 0 40%; }
.service-hero__gallery { flex: 0 0 60%; min-width: 0; }
.service-hero__body { position: relative; z-index: 3; padding: 48px 0 48px calc((100vw - var(--content)) / 2); display: flex; flex-direction: column; align-items: flex-start; }
.service-hero__label { margin-top: 20px; width: 50%; }
.service-hero__title { position: relative; height: 176px; width: 100%; pointer-events: none; }
.service-hero__title img { position: absolute; left: -48px; top: 0; width: 450px; max-width: none; height: auto; }
.service-hero__text { margin-top: 48px; padding-right: 100px; }
.service-hero__cta { margin-top: 20px; }
.service-hero__back { margin-top: 24px; }
.service-hero__shade { position: absolute; z-index: 2; inset: 0 auto 0 0; width: 100%; height: 100%; pointer-events: none; }
.service-hero__shades { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.service-hero__shades .veil { position: absolute; inset: 0; --from: 0%; --to: 50%; }
.service-hero__gallery { position: relative; z-index: 1; }
.service-hero .carousel { height: 500px; overflow: visible; }
.service-hero .carousel__track { height: 100%; }
.service-hero .carousel__item { height: 100%; }
.service-hero .carousel__item img { height: 100%; width: auto; max-width: none; box-shadow: var(--shadow); }
.service-hero .carousel__nav { position: absolute; top: -76px; left: 0; display: flex; gap: 0; z-index: 4; }
.service-hero__visual { position: absolute; left: 0; bottom: 0; width: 300px; z-index: 3; pointer-events: none; height: auto; }
.service-hero__fade { position: absolute; left: 0; width: 100%; height: 100px; z-index: 2; pointer-events: none; bottom: 0; }
.service-hero__more { position: absolute; z-index: 4; left: 50%; bottom: 40px; transform: translateX(-50%); color: var(--grey); }
.service-hero__more .icon { width: 24px; height: 24px; }
.service-hero.on-light .service-hero__label, .service-hero.on-light .service-hero__text { color: var(--grey); }
@media (max-width: 1023px) {
  .service-hero { flex-direction: column; align-items: center; min-height: 0; padding: 100px 0; }
  .service-hero__body { flex-basis: auto; width: 60%; padding: 48px 0 48px 20px; }
  .service-hero__gallery { flex-basis: auto; width: 60%; }
  .service-hero .carousel__nav, .service-hero__fade { display: none; }
  .service-hero .carousel__item { width: 100%; display: flex; align-items: center; }
  .service-hero .carousel__item img { width: 100%; height: auto; }
}
@media (max-width: 639px) {
  .service-hero { padding: 48px 0 100px; }
  .service-hero__body, .service-hero__gallery { width: 80%; }
  .service-hero__text { padding-right: 0; }
  .service-hero__visual { width: 200px; }
}

/* ---------- scènes « texte sur carrousel photo » (éclairages) ---------- */
.stage { --tone: 0, 0, 0; position: relative; overflow: hidden; display: flex; align-items: center; height: 652px; padding: 48px 0; background: rgb(var(--tone)); }
.stage--light { --tone: 255, 255, 255; }
.stage__body { position: relative; z-index: 3; width: var(--content); margin-inline: auto; }
.stage__body > * { width: 30%; }
.stage__body .text { margin-top: 8px; }
.stage__media { position: absolute; inset: 0; z-index: 0; }
.stage .carousel, .stage .carousel__track { height: 100%; }
.stage .carousel__track { gap: 0; }
.stage .carousel__item { width: 100%; height: 100%; background: center / cover no-repeat; }
.stage__shade { position: absolute; z-index: 1; pointer-events: none; left: 0; width: 100%; }
.stage__shade--top { top: 0; height: 152px; background: linear-gradient(to bottom, rgb(var(--tone)), rgba(var(--tone), 0)); }
.stage__shade--bottom { bottom: 0; height: 152px; background: linear-gradient(to top, rgb(var(--tone)), rgba(var(--tone), 0)); }
.stage__shade--side { top: 0; height: 100%; width: 50%; background: linear-gradient(to right, rgb(var(--tone)) 50%, rgba(var(--tone), 0)); }
.stage__shade--side + .stage__shade--side { opacity: 1; }
.stage__shade--low { display: none; bottom: 0; height: 50%; background: linear-gradient(to top, rgb(var(--tone)), rgba(var(--tone), 0)); }
@media (max-width: 1023px) { .stage__body > * { width: 50%; } }
@media (max-width: 639px) {
  .stage { height: 600px; align-items: flex-end; }
  .stage__body > * { width: 80%; }
  .stage__shade--side { display: none; }
  .stage__shade--low { display: block; }
}

/* ---------- boutique ---------- */
.shop { padding: 48px 0 48px; background: var(--black); }
.shop-head { width: calc(var(--content) * .5); margin: 0 auto; text-align: center; }
.shop-head__title { position: relative; height: 252px; pointer-events: none; }
.shop-head__title img { position: absolute; left: 50%; top: 0; width: 324px; max-width: none; height: auto; transform: translateX(-50%); }
.shop-head .text + .text { margin-top: 8px; }
.shop-head__intro { margin-top: 8px; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; padding: 28px 0 8px; }
.filter { height: 36px; padding: 0 16px; border: 2px solid rgba(165, 165, 165, .5); border-radius: var(--pill); background: var(--black); color: var(--white); font-size: 10px; font-weight: 700; letter-spacing: var(--track); text-transform: uppercase; cursor: pointer; transition: background-color var(--speed), color var(--speed), border-color var(--speed); }
.filter:hover, .filter.is-active { background: var(--white); border-color: var(--white); color: var(--black); }
.shop__groups { min-height: 100vh; padding-top: 20px; }
.shop__group { width: var(--content); margin: 0 auto; }
.shop__group.is-off { display: none; }
.shop__title { padding: 20px 0 12px; color: var(--white); font-size: 15px; font-weight: 700; letter-spacing: var(--track); text-transform: uppercase; text-align: center; }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 20px; }
.product { display: flex; flex-direction: column; background: var(--white); }
.product__photo { height: 300px; background: var(--white) center / contain no-repeat; }
.product__body { display: flex; flex-direction: column; align-items: flex-start; height: 176px; padding: 40px; }
.product__name, .product__desc { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.product__name { -webkit-line-clamp: 2; }
.product__desc { -webkit-line-clamp: 3; margin-top: 8px; color: var(--grey); }
.product__ref { margin-top: 8px; color: var(--grey); white-space: nowrap; }
.product__price { margin-top: 8px; white-space: nowrap; }
@media (max-width: 1023px) {
  .shop-head { width: calc(var(--content) * .7); }
  .products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .shop-head { width: calc(var(--content) * .9); }
  .products { gap: 20px; padding: 10px; }
  .product__photo { height: 152px; }
  .product__body { padding: 20px; height: auto; min-height: 176px; }
}

/* ---------- apparitions ---------- */
.reveal { opacity: .01; }
.reveal.is-in { animation: var(--anim, fade-in) .9s var(--ease) both; animation-delay: var(--delay, 0s); }
.reveal--up { --anim: rise-in; }
.reveal--grow { --anim: grow-in; }
.reveal--slide { --anim: slide-in; }
.reveal--drift { --anim: drift; }
@keyframes fade-in { from { opacity: .01; } to { opacity: 1; } }
@keyframes rise-in { from { opacity: .01; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes grow-in { from { opacity: .01; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { opacity: .01; transform: translateX(-32px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.04); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in { opacity: 1; animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- jQuery UI : calendrier du questionnaire ---------- */
#ui-datepicker-div { z-index: 1100 !important; padding: 12px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink); font-size: 12px; }
#ui-datepicker-div .ui-datepicker-header { position: relative; display: flex; align-items: center; justify-content: center; padding: 4px 32px 12px; font-weight: 700; text-transform: capitalize; }
#ui-datepicker-div .ui-datepicker-prev, #ui-datepicker-div .ui-datepicker-next { position: absolute; top: 0; cursor: pointer; font-size: 0; width: 24px; height: 24px; }
#ui-datepicker-div .ui-datepicker-prev { left: 0; }
#ui-datepicker-div .ui-datepicker-next { right: 0; }
#ui-datepicker-div .ui-datepicker-prev::before, #ui-datepicker-div .ui-datepicker-next::before { font-size: 16px; line-height: 24px; display: block; text-align: center; }
#ui-datepicker-div .ui-datepicker-prev::before { content: "‹"; }
#ui-datepicker-div .ui-datepicker-next::before { content: "›"; }
#ui-datepicker-div table { border-collapse: collapse; }
#ui-datepicker-div th { padding: 4px; font-size: 10px; color: var(--grey); text-transform: uppercase; }
#ui-datepicker-div td { padding: 1px; text-align: center; }
#ui-datepicker-div td a, #ui-datepicker-div td span { display: block; width: 32px; line-height: 32px; border-radius: 50%; }
#ui-datepicker-div td a:hover { background: var(--mist); }
#ui-datepicker-div .ui-state-active { background: var(--gradient); color: var(--white); }
#ui-datepicker-div .ui-state-highlight { box-shadow: inset 0 0 0 1px var(--grey); }

/* ---------- compléments ---------- */
.btn--plain { color: var(--white); }
.btn--plain:hover { background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.reviews .carousel { overflow: visible; }
.reviews .round-btn { color: var(--white); }

/* ==========================================================================
   Questionnaire des mariés
   ========================================================================== */
.q-hero { position: relative; background: var(--white); padding: 100px 0; }
.q-hero__body { position: relative; width: calc(var(--content) * .5); margin: 0 auto; padding: 48px; text-align: center; }
.q-hero__photo { position: absolute; background: center / cover no-repeat; box-shadow: var(--shadow); }
.q-hero__photo:nth-child(1) { left: -300px; top: 252px; width: 300px; height: 252px; }
.q-hero__photo:nth-child(2) { left: -100px; top: -100px; width: 200px; height: 252px; }
.q-hero__photo:nth-child(3) { right: -200px; top: -48px; width: 300px; height: 200px; }
.q-hero__photo:nth-child(4) { right: -200px; top: 252px; width: 200px; height: 300px; }
.q-hero__logo { display: inline-block; }
.q-hero__logo img { height: 100px; width: auto; }
.q-hero__name { padding-top: 48px; }
.q-hero__art { position: relative; height: 152px; margin-top: 20px; pointer-events: none; }
.q-hero__art img { position: absolute; top: 0; left: calc(50% - 176px); width: 300px; max-width: none; height: auto; }
.q-hero__intro { width: 50%; margin: 0 auto; padding-top: 20px; }
.q-hero__fade { position: absolute; left: 0; bottom: 0; width: 100%; height: 100px; pointer-events: none; }
.q-section { background: var(--white); padding: 48px 0; }
.q-section form { width: var(--content); margin: 0 auto; }
.q-card { display: flex; flex-wrap: wrap; align-items: flex-start; padding: 48px; background: var(--mist); }
.q-card + .q-card, .q-card + div, div + .q-card { margin-top: 20px; }
.q-card > div:not([class]), .q-card > div.is-dim, form > div:not([class]) { display: flex; flex-wrap: wrap; width: 100%; }
.q-heading { width: 100%; padding: 20px 8px; color: var(--black); }
.q-heading--first { padding-top: 0; }
.q-subheading { width: 100%; padding: 8px; }
.q-intro { width: 100%; padding: 0 8px 20px; }
.q-intro__text { padding-top: 20px; }
.q-field { display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: 8px; }
.q-field--half { width: 50%; }
.q-field--third { width: calc(100% / 3); }
.q-field--narrow { width: 30%; }
.q-field--wide { width: 70%; }
.q-field--row { flex-direction: row; align-items: center; }
.q-field--end { justify-content: flex-end; }
.q-field--comments { padding-top: 40px; }
.q-label { padding-bottom: 8px; color: var(--grey); }
.q-label--block { width: 100%; }
.q-toggle-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; }
.q-toggle-row .q-label { padding: 0; }
.q-file-row { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 4px; width: 100%; padding: 8px; }
.q-file-hint { padding: 8px; color: var(--grey); }
.q-options { display: flex; flex-wrap: wrap; align-items: flex-start; padding-top: 4px; }
.q-option { display: flex; align-items: flex-start; gap: 8px; padding: 0 20px 20px 0; }
.q-option label { color: var(--grey); font-size: 12px; cursor: pointer; }
.q-group { display: flex; flex-wrap: wrap; align-items: flex-start; width: 100%; }
.q-dashed { width: 100%; margin-top: 20px; padding: 20px; border: 2px dashed #e1e1e1; }
.q-submit { width: 100%; padding: 48px 8px 8px; }
.q-input { display: block; width: 100%; height: 32px; padding: 0 12px; border: 0; border-radius: var(--pill); background: var(--white); color: var(--graphite); font-size: 12px; outline: none; -webkit-appearance: none; appearance: none; }
.q-input::placeholder { color: rgba(165, 165, 165, .75); }
.q-input:focus { box-shadow: 0 0 0 2px rgba(80, 80, 80, .15); }
select.q-input { padding-right: 32px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Cpath fill='%23a5a5a5' d='M25 37.4 8.3 20.7a2.6 2.6 0 0 1 3.7-3.7L25 30l13-13a2.6 2.6 0 0 1 3.7 3.7z'/%3E%3C/svg%3E") no-repeat right 12px center / 12px; }
select.q-input:invalid { color: rgba(80, 80, 80, .75); }
textarea.q-input { height: auto; min-height: 72px; padding: 8px 12px; border-radius: var(--radius); resize: vertical; }
.q-input--follow { margin-top: 8px; }
.q-input--bordered { border: 1px solid var(--mist); }
.check--light { background: var(--white); box-shadow: inset 0 0 0 1px #e1e1e1; }
.switch--light { background: var(--white); box-shadow: inset 0 0 0 1px #e1e1e1; }
.switch--light::after { background: var(--grey); }
.switch--light:checked::after { background: var(--white); }
.btn--xs { height: 24px; padding: 0 10px; border: 0; background: var(--graphite); color: var(--white); font-size: 9px; }
.btn--xs .icon { width: 8px; height: 8px; margin: 0 4px 0 0; }
.btn--solid { background: var(--ink); color: var(--white); }
.btn--solid:hover { box-shadow: var(--shadow); }
.is-dim { opacity: .5; }
.q-missing { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 48px; text-align: center; background: var(--white); }
.q-missing img { height: 100px; width: auto; margin: 0 auto; }
.q-missing .label { padding-top: 28px; }
.q-missing p + p { padding-top: 20px; }
@media (max-width: 1023px) {
  .q-hero__body { width: calc(var(--content) * .6); }
  .q-hero__intro { width: 75%; }
  .q-card { padding: 40px; }
  .q-field--t-half { width: 50%; }
  .q-field--t-full { width: 100%; }
  .q-field--narrow { width: 40%; }
  .q-field--wide { width: 60%; }
}
@media (max-width: 639px) {
  .q-hero { padding-bottom: 48px; }
  .q-hero__body { width: calc(var(--content) * .8); padding: 28px; }
  .q-hero__photo { display: none; }
  .q-hero__intro { width: 100%; }
  .q-card { padding: 20px; }
  .q-field--half, .q-field--third, .q-field--narrow, .q-field--wide, .q-field--t-half { width: 100%; }
}
.q-note { width: 100%; padding: 8px 8px 0; color: var(--grey); }
.q-hero__photos { position: absolute; inset: 48px; pointer-events: none; }
.q-field--row { flex-wrap: wrap; gap: 0 12px; }
.q-field--row .q-label { padding: 0; }
@media (max-width: 639px) { .q-hero__photos { inset: 28px; } }
.q-submit { display: flex; justify-content: center; }
