@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/cormorant-garamond-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/cormorant-garamond-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-style: italic; font-display: swap; src: url(/fonts/cormorant-garamond-latin-500-italic.woff2) format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 100 900; font-style: normal; font-display: swap; src: url(/fonts/outfit-latin-wght-normal.woff2) format('woff2'); }

:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-2: #f4efe7;
  --border: #e8e0d3;
  --text: #221d19;
  --muted: #776c62;
  --accent: #8a6a3b;
  --accent-strong: #6f532b;
  --accent-soft: #f3ebdd;
  --ok: #3f7d5b;
  --ok-soft: #e7f2ea;
  --danger: #b4423a;
  --radius: 16px;
  --shadow: 0 18px 50px -24px rgba(60, 44, 20, .28);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; font-variant-numeric: lining-nums; }
body:has(dialog[open]) { overflow: hidden; }
img, video, iframe { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: var(--accent-strong); }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: 1.5rem; }
[hidden] { display: none !important; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .74rem; font-weight: 600; color: var(--accent); margin: 0 0 .7rem; }
.muted { color: var(--muted); }
.lead { color: var(--muted); font-size: 1.05rem; margin: .4rem 0 1.6rem; max-width: 62ch; }

/* ------------------------------------------------------------ Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 1px solid transparent;
  border-radius: 999px; padding: .75rem 1.4rem; font-weight: 500; text-decoration: none; letter-spacing: .01em;
  transition: background .2s, border-color .2s, transform .15s, box-shadow .2s, opacity .2s;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--primary { background: var(--text); color: #fff; }
.btn--primary:hover:not(:disabled) { background: var(--accent-strong); box-shadow: 0 10px 26px -12px rgba(111, 83, 43, .7); }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); }
.btn--lg { padding: .95rem 1.8rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: rgba(255, 255, 255, .9); font-size: 1.5rem; line-height: 1; display: grid; place-items: center; }
.icon-btn:hover { border-color: var(--accent); }

.badge { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); }
.badge--ok { background: var(--ok-soft); color: var(--ok); }

/* ------------------------------------------------------------ En-tête */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(250, 247, 242, .9); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.topbar.is-scrolled { border-bottom-color: var(--border); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.topbar__logo img { height: 30px; width: auto; }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__phone { text-decoration: none; color: var(--muted); font-size: .95rem; }
@media (max-width: 640px) { .topbar__phone { display: none; } .topbar__right .btn { padding: .55rem 1rem; font-size: .9rem; } }

/* ------------------------------------------------------------ Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(70px, 12vw, 140px) 0 clamp(60px, 9vw, 110px); text-align: center; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 40%, rgba(250, 247, 242, .82), rgba(250, 247, 242, .94) 70%), linear-gradient(transparent 70%, var(--bg)); }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); margin-bottom: 1.1rem; }
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.hero__subtitle { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); max-width: 52ch; margin: 0 auto 2.2rem; }
.hero__points { list-style: none; padding: 0; margin: 2.6rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; color: var(--muted); font-size: .95rem; }
.hero__points li::before { content: '✦'; color: var(--accent); margin-right: .5rem; }

/* ------------------------------------------------------------ Configurateur */
.config { padding: 20px 0 90px; scroll-margin-top: 70px; }
.config__grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; align-items: start; }

.stepper { display: flex; gap: 6px; margin-bottom: 18px; }
.stepper li { flex: 1; list-style: none; }
.stepper button {
  width: 100%; border: 0; background: none; padding: 0 0 8px; text-align: left; font-size: .78rem; color: var(--muted);
  border-bottom: 3px solid var(--border); cursor: default; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stepper .is-done button { border-color: var(--accent); color: var(--text); cursor: pointer; }
.stepper .is-current button { border-color: var(--text); color: var(--text); font-weight: 600; }
.stepper-mobile { display: none; font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.stepper-mobile b { color: var(--text); }
@media (max-width: 860px) { .stepper { display: none; } .stepper-mobile { display: block; } }
.progress { height: 3px; background: var(--border); border-radius: 3px; overflow: hidden; margin-top: 8px; }
.progress span { display: block; height: 100%; background: var(--accent); transition: width .4s ease; }

.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.panel h2 { margin-bottom: .3rem; }
.panel[data-anim] { animation: enter .35s ease; }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border); }
.nav .btn--primary { min-width: 160px; }
.form-error { color: var(--danger); margin: 14px 0 0; font-size: .94rem; min-height: 1.2em; }

/* Calendrier */
.cal { max-width: 460px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; text-transform: capitalize; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow { text-align: center; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 6px 0; }
.cal__day {
  aspect-ratio: 1; border: 1px solid transparent; border-radius: 12px; background: var(--surface-2); font-size: .98rem;
  display: grid; place-items: center; transition: background .15s, border-color .15s, color .15s;
}
.cal__day:hover:not(:disabled) { border-color: var(--accent); background: #fff; }
.cal__day:disabled { background: none; color: #c9bfb2; cursor: not-allowed; }
.cal__day.is-full { text-decoration: line-through; color: #c3a9a5; }
.cal__day.is-selected, .cal__day.is-selected:hover:not(:disabled) { background: var(--text); color: #fff; border-color: var(--text); }
.cal__day.is-loading { opacity: .4; }
.cal__legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; font-size: .84rem; color: var(--muted); }
.cal__legend span::before { content: ''; display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; background: var(--surface-2); }
.cal__legend .full::before { background: none; border: 1px solid #d8c9c6; }
.cal__legend .sel::before { background: var(--text); }
.date-chosen { margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong); font-weight: 500; }
.date-chosen:empty { display: none; }

/* Formulaires */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-size: .88rem; color: var(--muted); font-weight: 500; }
input, textarea, select {
  font: inherit; color: var(--text); background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: .78rem .95rem; width: 100%;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
input[aria-invalid="true"] { border-color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fieldset-title { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--text); margin: 18px 0 10px; grid-column: 1 / -1; }

.choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.choice__item { position: relative; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: #fff; padding: 0; text-align: left; transition: border-color .2s, box-shadow .2s; }
.choice__item:hover { border-color: var(--accent); }
.choice__item[aria-checked="true"] { border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.choice__item[aria-checked="true"]::after { content: '✓'; position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--text); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.choice__media { aspect-ratio: 16 / 9; background: var(--surface-2); }
.choice__media img, .choice__media video { width: 100%; height: 100%; object-fit: cover; }
.choice__body { padding: 12px 14px; display: grid; }
.choice__body b { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.choice__body small { color: var(--muted); }

.autocomplete { position: relative; }
.autocomplete ul { position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); max-height: 280px; overflow-y: auto; }
.autocomplete li { padding: 9px 12px; border-radius: 8px; cursor: pointer; color: var(--text); }
.autocomplete li small { color: var(--muted); margin-left: 6px; }
.autocomplete li[aria-selected="true"], .autocomplete li:hover { background: var(--accent-soft); }

/* Trajet */
.price-note { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); font-size: .9rem; color: var(--accent-strong); }

/* Forfait */
.forfait { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.forfait__media { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.forfait__media img, .forfait__media video { width: 100%; height: 100%; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; }
.checklist li::before { content: '✓'; color: var(--accent); font-weight: 700; }
.checklist li.is-gift { color: var(--accent-strong); font-weight: 600; }
.checklist li.is-gift::before { content: '🎁'; }
.price-tag { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.price-tag strong { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; }
@media (max-width: 760px) { .forfait { grid-template-columns: 1fr; } }

/* Questions */
.question { padding: 18px 0; border-bottom: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; }
.question p { margin: 0; font-weight: 500; max-width: 46ch; }
.question small { display: block; color: var(--muted); font-weight: 400; }
.yesno { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; padding: 3px; background: var(--surface-2); }
.yesno button { border: 0; background: none; padding: .5rem 1.3rem; border-radius: 999px; font-weight: 500; color: var(--muted); }
.yesno button[aria-pressed="true"] { background: var(--text); color: #fff; }
.times { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: end; padding-top: 22px; }
.times label { min-width: 200px; }
.team-time { padding: 12px 16px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong); }
.team-time b { font-size: 1.15rem; }

/* Options */
.shelf { margin-top: 26px; }
.shelf h3 { font-size: 1.35rem; margin-bottom: 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.card:hover { box-shadow: var(--shadow); }
.card.is-in { border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.card__media { position: relative; aspect-ratio: 4 / 3; border: 0; padding: 0; background: var(--surface-2); overflow: hidden; }
.card__media img, .card__media video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card__media img.yt { scale: 1.34; } /* les miniatures YouTube ont des bandes noires intégrées */
.card:hover .card__media img, .card:hover .card__media video { transform: scale(1.04); }
.card__media .badge { position: absolute; top: 10px; left: 10px; background: rgba(255, 255, 255, .92); }
.media-tag { position: absolute; bottom: 8px; right: 8px; font-size: .72rem; font-weight: 600; padding: .22rem .6rem; border-radius: 999px; background: rgba(34, 29, 25, .72); color: #fff; }
.placeholder { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.4rem; color: var(--accent); background: radial-gradient(circle at 30% 25%, #fff, var(--accent-soft)); }
.card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; gap: 4px; }
.card h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.3; }
.card h4 button { all: unset; cursor: pointer; }
.card h4 button:hover { text-decoration: underline; text-underline-offset: 3px; }
.card p { color: var(--muted); font-size: .88rem; margin: 0 0 8px; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 600; font-size: 1.05rem; }
.price small { font-weight: 400; color: var(--muted); font-size: .78rem; }
.check {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 999px; padding: .42rem .9rem .42rem .5rem;
  background: #fff; font-size: .9rem; font-weight: 500;
}
.check::before { content: ''; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #bcae9d; display: grid; place-items: center; font-size: .8rem; color: #fff; }
.check[aria-checked="true"] { background: var(--text); border-color: var(--text); color: #fff; }
.check[aria-checked="true"]::before { content: '✓'; border-color: #fff; }
.stepper-qty { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; background: var(--text); color: #fff; padding: 3px; }
.stepper-qty button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); color: inherit; font-weight: 700; }
.stepper-qty button:disabled { opacity: .35; }
.stepper-qty b { min-width: 1.6em; text-align: center; }
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card p { display: none; }
  .card__foot { flex-direction: column; align-items: stretch; gap: 6px; }
  .check { justify-content: center; }
}

/* Packs : en tête des options, visuel sombre « soirée » pour se détacher des options simples */
.shelf--packs h3 { color: var(--accent-strong); }
.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.pack {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); border-radius: 18px; overflow: hidden;
  background: linear-gradient(140deg, #2a231d, #17120f); color: #f4ead9; border: 1px solid #2a231d; transition: box-shadow .2s;
}
.pack:hover { box-shadow: var(--shadow); }
.pack.is-in { box-shadow: 0 0 0 3px var(--accent); }
.pack__media { position: relative; border: 0; padding: 0; background: #2a231d; min-height: 200px; overflow: hidden; }
.pack__media img, .pack__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pack__media .placeholder { background: radial-gradient(circle at 30% 25%, #4a3c2c, #1c1612); color: #d9b97e; }
.pack__ribbon {
  position: absolute; top: 12px; left: 12px; padding: .25rem .75rem; border-radius: 999px; font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; background: #d9b97e; color: #221d19;
}
.pack__body { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pack h4 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.15; }
.pack h4 button { all: unset; cursor: pointer; }
.pack__body > p { margin: 0; color: #cbbca6; font-size: .9rem; }
.pack__items { list-style: none; padding: 0; margin: 6px 0 10px; display: grid; gap: 6px; flex: 1; font-size: .92rem; }
.pack__items li { display: flex; align-items: center; gap: 10px; }
.pack__thumb { flex: none; width: 34px; height: 34px; border-radius: 8px; overflow: hidden; display: grid; place-items: center; background: #3a2f25; color: #d9b97e; font-size: .8rem; }
.pack__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pack .price { color: #fff; font-size: 1.25rem; display: grid; }
.pack .price small { color: #cbbca6; }
.pack .save, .product__info .save { color: #d9b97e; font-weight: 600; font-size: .8rem; }
.product__info .save { color: var(--ok); font-size: .92rem; }
.product__info .pack__items { font-size: .95rem; }
.product__info .pack__items li::before { content: '✓'; color: var(--accent); font-weight: 700; }
.pack .check { background: transparent; border-color: #6d5c49; color: #f4ead9; }
.pack .check[aria-checked="true"] { background: #d9b97e; border-color: #d9b97e; color: #221d19; }
.pack .check[aria-checked="true"]::before { border-color: #221d19; color: #221d19; }
.included { white-space: nowrap; font-size: .8rem; font-weight: 600; color: var(--ok); background: var(--ok-soft); padding: .35rem .7rem; border-radius: 999px; text-align: center; }
@media (max-width: 560px) {
  .pack { grid-template-columns: 1fr; }
  .pack__media { min-height: 0; aspect-ratio: 16 / 9; }
}

/* Vidéo YouTube / Vimeo : rien n'est chargé chez eux avant le clic */
.facade { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: #17120f; color: #fff; display: grid; place-items: center; }
.facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.facade__play { position: relative; width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #221d19; display: grid; place-items: center; font-size: 1.6rem; padding-left: 5px; transition: transform .2s; }
.facade:hover .facade__play { transform: scale(1.08); }
.facade__note { position: absolute; left: 12px; right: 12px; bottom: 12px; font-size: .78rem; text-align: center; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }

.linklike { all: unset; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.summary__reset { display: block; margin-top: 14px; font-size: .8rem; color: var(--muted); }

/* Récapitulatif */
.recap-table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.recap-table th { text-align: left; font-weight: 500; color: var(--muted); padding: 8px 16px 8px 0; vertical-align: top; width: 38%; font-size: .92rem; }
.recap-table td { padding: 8px 0; vertical-align: top; }
.recap-section { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin: 26px 0 4px; }
.lines { margin-top: 8px; }
.lines div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--border); }
.lines .is-gift, .summary__lines .is-gift { color: var(--accent-strong); }
.lines .total { border: 0; padding-top: 16px; font-weight: 600; font-size: 1.1rem; }
.lines .total b { font-family: var(--serif); font-size: 2rem; }
.disclaimer { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); color: var(--muted); font-size: .9rem; }
.consent { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-weight: 400; margin-top: 16px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--text); }

.done { text-align: center; padding: 20px 0; }
.done__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: var(--ok-soft); color: var(--ok); font-size: 1.8rem; }
.done p { max-width: 54ch; margin: 14px auto; color: var(--muted); font-size: 1.05rem; }
.done .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }

/* Résumé latéral */
.summary { position: sticky; top: 88px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.summary h3 { font-size: 1.4rem; margin-bottom: 10px; }
.summary dl { margin: 0; display: grid; gap: 8px; font-size: .9rem; }
.summary dt { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.summary dd { margin: 0 0 4px; }
.summary__lines { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); display: grid; gap: 6px; font-size: .9rem; }
.summary__lines div { display: flex; justify-content: space-between; gap: 10px; }
.summary__lines span { color: var(--muted); }
.summary__total { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: baseline; }
.summary__total strong { font-family: var(--serif); font-size: 2rem; font-weight: 600; }
.summary__hint { color: var(--muted); font-size: .86rem; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--border); }
.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.06); } }

.totalbar { display: none; }
@media (max-width: 1000px) {
  .config__grid { grid-template-columns: minmax(0, 1fr); }
  .summary { display: none; }
  .totalbar {
    position: fixed; z-index: 50; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center;
    justify-content: space-between; gap: 10px; padding: 10px 12px 10px 20px; border-radius: 999px; background: rgba(34, 29, 25, .94); color: #fff;
    box-shadow: var(--shadow); backdrop-filter: blur(10px);
  }
  .totalbar span { font-size: .85rem; opacity: .8; }
  .totalbar strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; }
  .config { padding-bottom: 120px; }
}

/* ------------------------------------------------------------ Modale fiche option */
.modal { border: 0; border-radius: 22px; padding: 0; background: var(--surface); color: var(--text); width: min(1000px, 100% - 24px); max-height: calc(100dvh - 24px); overflow: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .25); }
.modal::backdrop { background: rgba(34, 29, 25, .55); backdrop-filter: blur(4px); }
.modal[open] { animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 3; }
.product { display: grid; grid-template-columns: 1.3fr 1fr; }
.product__media { background: #111; display: flex; flex-direction: column; }
/* Les médias sont en absolu : une vidéo verticale (téléphone) est cadrée, sans agrandir la fiche. */
.product__stage { position: relative; flex: 1; min-height: min(60vh, 520px); }
.product__stage > img, .product__stage > video, .product__stage > iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border: 0; }
.thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; background: #1d1915; }
.thumb { flex: none; width: 72px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #000; }
.thumb:hover { border-color: var(--accent); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-video { display: grid; place-items: center; background: var(--accent); color: #fff; }
.product__info { padding: 34px 30px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.product__info h2 { font-size: 2rem; }
.product__price { font-family: var(--serif); font-size: 2rem; font-weight: 600; margin: 0; }
.product__price small { font-family: var(--sans); font-size: .9rem; color: var(--muted); font-weight: 400; }
.product__desc { color: var(--muted); margin: 0; }
.notice { font-size: .85rem; color: var(--muted); padding: 10px 12px; border-left: 3px solid var(--accent); background: var(--surface-2); border-radius: 0 8px 8px 0; }
@media (max-width: 760px) {
  .product { grid-template-columns: 1fr; }
  .product__stage { flex: none; min-height: 0; aspect-ratio: 4 / 3; max-height: 55vh; width: 100%; }
  .product__info { padding: 22px 20px 26px; }
}

/* ------------------------------------------------------------ Pied de page */
.footer { border-top: 1px solid var(--border); padding: 40px 0; font-size: .92rem; }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.footer img { height: 30px; width: auto; margin-bottom: 8px; }
.footer a { color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
@media (max-width: 1000px) { .footer { padding-bottom: 110px; } }

/* Pages simples (estimation, confidentialité) */
.page { padding: 50px 0 80px; }
.page .panel { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; margin: 1.6em 0 .4em; }
.prose p, .prose li { color: #4a413a; }
