/* ==========================================================
   MG – MAISON GRANDEUR · Feuille de style
   Palette et typographies du cahier des charges (§4.1, §4.2)
   ========================================================== */
:root {
  --ivory: #F7F2E9;
  --sand: #E9D8C2;
  --brown: #59321F;
  --gold: #C49A50;
  --ink: #30343B;
  --muted: #6E645B;
  --paper: #FFFDFA;
  --line: #E8DDCF;
  --night: #2D211B;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Montserrat, Arial, sans-serif;
  --pad: clamp(22px, 7vw, 110px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 15px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--brown); line-height: 1.02; margin: 0 0 20px; }
h1 em, h2 em { font-weight: 400; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--brown); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { display: none; }

.eyebrow { font: 700 11px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }

/* Boutons */
.button { display: inline-block; background: var(--brown); color: #fff; border: 1px solid var(--brown); padding: 15px 26px; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.button:hover { background: var(--night); border-color: var(--night); }
.button.ghost { background: transparent; color: var(--brown); }
.button.ghost:hover { background: var(--brown); color: #fff; }
.button.gold { background: var(--gold); border-color: var(--gold); color: var(--night); }
.button.gold:hover { background: #d6b06a; border-color: #d6b06a; }

/* En-tête */
.topline { background: var(--brown); color: var(--ivory); text-align: center; padding: 8px; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; }
.site-header { position: sticky; top: 0; z-index: 20; height: 84px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; background: rgba(255, 253, 250, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand span { font: 600 11px/1 var(--sans); letter-spacing: .26em; color: var(--brown); }
#nav { display: flex; align-items: center; gap: 30px; }
#nav a { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brown); }
#nav a:not(.nav-cta):hover { color: var(--gold); }
.nav-cta { border: 1px solid var(--brown); padding: 11px 18px; }
.nav-cta:hover { background: var(--brown); color: #fff !important; }
.menu { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu span { display: block; width: 24px; height: 2px; background: var(--brown); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Accueil */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; background: var(--ivory); min-height: min(640px, 82vh); }
.hero-copy { align-self: center; padding: 80px 6vw 80px calc(var(--pad) + 2vw); }
.hero h1 { font-size: clamp(52px, 6.4vw, 92px); line-height: .96; }
.hero-copy > p:not(.eyebrow) { color: var(--muted); max-width: 420px; margin: 0 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; overflow: hidden; background: var(--sand); }
.hero-art > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; filter: grayscale(100%) contrast(1.08) brightness(1.03); }
.hero-mark { position: absolute; right: 26px; bottom: 22px; width: 70px; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }

/* Compte à rebours */
.countdown { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px; padding: 16px var(--pad); background: var(--sand); color: var(--brown); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.countdown strong { font: 600 22px/1 var(--serif); letter-spacing: .04em; text-transform: none; }
.countdown a { border-bottom: 1px solid var(--gold); font-weight: 700; }

/* Intention */
.intro, .values, .club { text-align: center; padding: 100px var(--pad); }
.intro h2, .values h2 { font-size: clamp(40px, 5vw, 64px); }
.intro > p:not(.eyebrow), .values .lead { max-width: 620px; margin: 0 auto; color: var(--muted); }

/* Collections */
.collections { background: #F5EFE6; padding: 90px var(--pad); }
.feature { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); min-height: 360px; margin-bottom: 80px; }
.feature-art { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--paper); }
.feature-art img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; }
.feature-art small { background: var(--paper); padding: 6px 10px; }
.feature-art small { position: absolute; top: 20px; left: 22px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--brown); }
.feature-copy { align-self: center; padding: 55px 9%; }
.feature-copy h2 { font-size: clamp(54px, 6vw, 78px); margin-bottom: 4px; }
.tagline { font: italic 22px var(--serif); color: var(--gold); margin: 0 0 18px; }
.feature-copy > p:last-child { color: var(--muted); max-width: 440px; }

.catalogue-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; margin-bottom: 34px; }
.catalogue-head h2 { font-size: clamp(40px, 4.5vw, 58px); margin: 0 0 14px; }
.cat-intro { color: var(--muted); max-width: 620px; margin: 0 0 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { background: transparent; border: 1px solid #D5C4AE; color: var(--brown); padding: 9px 16px; font: 600 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.filters button[aria-pressed="true"], .filters button:hover { background: var(--brown); border-color: var(--brown); color: #fff; }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 28px; }
.products > * { min-width: 0; }
.card { background: var(--paper); padding: 12px 12px 18px; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: 0 14px 40px rgba(73, 48, 26, .09); transform: translateY(-2px); }
.card-photo { position: relative; aspect-ratio: 2 / 3; background: #E8DDCF; overflow: hidden; border: 0; padding: 0; cursor: zoom-in; width: 100%; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.card:hover .card-photo img { transform: scale(1.03); }
.badge { position: absolute; top: 12px; left: 12px; background: var(--paper); color: var(--brown); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 9px; }
.placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; background: linear-gradient(140deg, #E8DDCF, #C8B39B); color: var(--brown); text-align: center; padding: 20px; }
.placeholder img, .card-photo .placeholder img, .pd-main .placeholder img { width: 110px; height: auto; opacity: .85; transform: none; }
.placeholder small { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.card-meta { display: flex; flex-direction: column; gap: 4px; padding: 16px 4px 12px; }
.card-meta h3 { font-size: 26px; margin: 0 0 2px; }
.card-meta small { font-size: 11px; color: var(--muted); }
.card-meta strong { font-size: 12px; color: var(--brown); }
.card-actions { display: flex; gap: 18px; padding: 0 4px; margin-top: auto; }
.textlink { background: none; border: 0; padding: 0 0 5px; cursor: pointer; color: var(--brown); font: 700 10px/1.4 var(--sans); letter-spacing: .13em; text-transform: uppercase; border-bottom: 1px solid var(--gold); }
.textlink:hover { color: var(--gold); }
.note { font-size: 11px; color: var(--muted); margin-top: 22px; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px; }

/* Tissus */
.tissus { margin-top: 90px; }
.tissus-head { text-align: center; max-width: 620px; margin: 0 auto 36px; }
.tissus-head h2 { font-size: clamp(36px, 4.2vw, 52px); margin-bottom: 10px; }
.tissus-head p:last-child { color: var(--muted); margin: 0; }
.tissus-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tissus-grid li { position: relative; aspect-ratio: 1; overflow: hidden; background: #E8DDCF; }
.tissus-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tissus-grid li:hover img { transform: scale(1.06); }
.tissus-grid span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 9px; background: linear-gradient(transparent, rgba(45, 33, 27, .78)); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

/* Notre histoire */
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 6vw; align-items: center; padding: 100px var(--pad); background: var(--paper); }
.story-photos { position: relative; padding-bottom: 14%; }
.story-main { width: 88%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.story-second { height: auto; position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 2; object-fit: cover; border: 8px solid var(--paper); }
.story-copy h2 { font-size: clamp(38px, 4.2vw, 56px); }
.story-copy h2 em { color: var(--gold); font-style: italic; }
.story-copy p:not(.eyebrow) { color: var(--muted); max-width: 470px; }
.values { background: var(--ivory); }

/* L'Expérience */
.topline a { color: inherit; }
.topline u { text-decoration-color: var(--gold); text-underline-offset: 3px; }
.experience { display: grid; grid-template-columns: 1.15fr .85fr; background: var(--brown); color: var(--ivory); }
.exp-copy { align-self: center; padding: 90px 6vw 90px calc(var(--pad) + 2vw); }
.experience h2 { color: var(--ivory); font-size: clamp(42px, 5vw, 66px); margin-bottom: 12px; }
.experience h2 em { color: var(--gold); }
.exp-tagline { font: italic 24px/1.3 var(--serif); color: var(--sand); margin: 0 0 18px; }
.exp-copy p:not(.eyebrow) { color: #E5D8CA; max-width: 520px; }
.exp-infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px 26px; margin: 30px 0 34px; max-width: 560px; }
.exp-infos div { border-top: 1px solid rgba(196, 154, 80, .5); padding-top: 10px; }
.exp-infos dt { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.exp-infos dd { margin: 4px 0 0; font: 500 20px/1.25 var(--serif); color: var(--ivory); }
.exp-infos dd small { display: block; font: 12px/1.4 var(--sans); color: #CDBBA8; margin-top: 2px; }
.exp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.exp-phone { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--sand); border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.exp-photo { position: relative; margin: 0; min-height: 420px; }
.exp-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.exp-photo figcaption { position: absolute; left: -38px; bottom: 48px; width: 108px; height: 108px; border-radius: 50%; background: var(--gold); color: var(--night); display: grid; place-content: center; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.exp-photo figcaption strong { font: 600 40px/1 var(--serif); }
.exp-photo figcaption span { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.programme { background: var(--ivory); padding: 90px var(--pad); text-align: center; }
.programme h2 { font-size: clamp(34px, 4vw, 50px); max-width: 720px; margin: 0 auto 50px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 30px; text-align: left; }
.timeline li { border-top: 1px solid var(--gold); padding-top: 14px; }
.timeline time { font: 700 12px var(--sans); letter-spacing: .14em; color: var(--gold); }
.timeline h3 { font-size: 26px; margin: 6px 0 6px; }
.timeline p { margin: 0; color: var(--muted); font-size: 14px; }
.programme .note { margin-top: 36px; }

/* Film de marque */
.brand-film { max-width: 980px; margin: 56px auto 0; }
.brand-film video { width: 100%; height: auto; display: block; background: var(--night); box-shadow: 0 20px 50px rgba(73, 48, 26, .18); }
.brand-film figcaption { margin-top: 14px; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.reveal { border-left: 2px solid var(--gold); padding-left: 14px; color: var(--brown) !important; }

/* Valeurs */
.valuegrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; text-align: left; margin-top: 56px; }
.valuegrid article { border-top: 1px solid var(--gold); padding-top: 16px; }
.valuegrid small { color: var(--gold); font-weight: 700; }
.valuegrid h3 { font-size: 30px; margin: 6px 0; }
.valuegrid p { color: var(--muted); margin: 0; }

/* Précommande */
.orders { display: grid; grid-template-columns: .85fr 1.15fr; gap: 7vw; background: var(--ivory); padding: 95px var(--pad); }
.orders h2 { font-size: clamp(42px, 4.6vw, 60px); }
.orders > div > p:not(.eyebrow) { color: var(--muted); }
.reminder { border-left: 2px solid var(--gold); padding: 8px 0 8px 16px; color: var(--brown) !important; }
.orders form { background: var(--paper); padding: 34px; display: grid; gap: 16px; box-shadow: 0 12px 40px rgba(73, 48, 26, .06); }
.orders label { display: grid; gap: 7px; color: var(--brown); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.orders label.check { display: flex; gap: 10px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 12px; color: var(--muted); }
.orders label.check a { text-decoration: underline; }
.check input { width: auto; flex: none; margin-top: 4px; accent-color: var(--brown); }
input, select, textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 14px var(--sans); border-radius: 0; }
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.orders form > small { font-size: 11px; color: var(--muted); }
.status { margin: 0; font-size: 13px; color: var(--brown); }
.status:empty { display: none; }

/* Formulaire : choix, aides, paiement */
.order-box { min-width: 0; }
.orders form[hidden], .pay-panel[hidden] { display: none; }
.choices { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.choices legend { padding: 0; margin-bottom: 8px; color: var(--brown); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.orders label.choice, .ticket-dialog label.choice { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 14px; color: var(--ink); }
.choice input { width: auto; flex: none; margin-top: 4px; accent-color: var(--brown); }
.choice strong { display: block; font-weight: 600; color: var(--brown); }
.choice small { display: block; color: var(--muted); font-size: 12px; }
.choice:has(input:checked) { border-color: var(--brown); background: #FBF6EE; }
.reveal-box { display: grid; gap: 14px; padding: 14px; background: var(--ivory); }
.reveal-box[hidden] { display: none; }
.info { margin: 0; font-size: 12px; color: var(--muted); }
.closed-note { margin: 0; padding: 12px 14px; background: var(--ivory); border-left: 2px solid var(--gold); color: var(--brown); font-size: 13px; }
.size-help { font-size: 12px; color: var(--muted); }
.size-help > p { margin: 0 0 6px; }
.size-help summary { cursor: pointer; color: var(--brown); font-weight: 600; font-size: 12px; }
.size-help details p { margin: 8px 0 0; }
.table-scroll { overflow-x: auto; margin-top: 8px; }
.size-table { width: 100%; border-collapse: collapse; font-size: 12px; white-space: nowrap; }
.size-table th, .size-table td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.size-table thead th { color: var(--brown); font-weight: 700; }
.autocomplete { position: relative; }
.suggestions { position: absolute; z-index: 5; left: 0; right: 0; top: 100%; margin: 2px 0 0; padding: 0; list-style: none; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(73, 48, 26, .12); }
.suggestions li { padding: 11px 13px; font-size: 13px; cursor: pointer; }
.suggestions li:hover, .suggestions li[aria-selected="true"] { background: var(--ivory); }
.total { margin: 0; padding: 14px 16px; background: var(--ivory); display: grid; gap: 2px; font-size: 13px; color: var(--muted); }
.total strong { font: 500 26px/1.2 var(--serif); color: var(--brown); }
.total small { font-size: 11px; }
.button:disabled { opacity: .5; cursor: not-allowed; }
.pay-panel { background: var(--paper); box-shadow: 0 12px 40px rgba(73, 48, 26, .06); }
.pay-panel:focus { outline: none; }
.pay-panel h3 { font-size: 36px; margin-bottom: 12px; }
.pay-panel img { width: 64px; margin: 0 auto 18px; }
.pay-panel p { color: var(--muted); }
.pay-panel a:not(.button) { color: var(--brown); text-decoration: underline; }
.pay-wait::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: var(--gold); animation: mg-pulse 1.2s ease-in-out infinite; }
@keyframes mg-pulse { 50% { opacity: .25; } }
.done-ref strong { color: var(--brown); letter-spacing: .06em; }
.textlink { background: none; border: 0; padding: 0; font: inherit; color: var(--brown); text-decoration: underline; cursor: pointer; }

/* Panneau de paiement Mobile Money : attente / échec */
.pay-panel { text-align: left; padding: 40px clamp(22px, 4vw, 44px); }
.pay-view { display: grid; gap: 14px; justify-items: start; }
.pay-view[hidden] { display: none; }
.pay-view .eyebrow { margin: 0; }
.pay-view h3 { font-size: clamp(30px, 3.2vw, 38px); line-height: 1.08; margin: 0; }
.pay-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory); color: var(--brown); position: relative; }
.pay-icon::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--gold); opacity: .6; animation: mg-ring 1.8s ease-out infinite; }
.pay-icon.fail { background: #F7E7E2; color: #8A2E1F; }
.pay-icon.fail::after { display: none; }
@keyframes mg-ring { from { transform: scale(.9); opacity: .7; } to { transform: scale(1.25); opacity: 0; } }
.pay-panel .pay-amount { margin: 0; font: 500 34px/1.1 var(--serif); color: var(--brown); }
.pay-panel .pay-to { margin: -6px 0 0; font-size: 13px; color: var(--muted); }
.pay-to:empty { display: none; }
.pay-steps { margin: 4px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 10px; width: 100%; }
.pay-steps li { counter-increment: step; display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 14px; color: var(--ink); }
.pay-steps li::before { content: counter(step); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory); color: var(--brown); font: 600 12px/1 var(--sans); }
.pay-panel .pay-wait { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--brown); }
.pay-help, .pay-ref, .pay-keep, .pay-left { margin: 0; font-size: 13px; color: var(--muted); }
.pay-ref, .pay-left { font-size: 12px; padding-top: 12px; border-top: 1px solid var(--line); width: 100%; }
.pay-panel .pay-reason { margin: 0; padding: 12px 14px; width: 100%; background: #F7E7E2; border-left: 3px solid #8A2E1F; color: #5E1F14; font-size: 14px; }
.pay-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.pay-actions .button { padding: 15px 22px; }
.pay-actions .button:disabled { opacity: .6; cursor: progress; }
.ticket-dialog .pay-panel { padding: 24px 0 0; }
#order-done, .ticket-dialog [data-panel="done"] { text-align: center; }

/* Numéro Mobile Money : indicatif + numéro */
.phone-field { display: grid; gap: 7px; }
.orders .phone-field > label, .ticket-dialog .phone-field > label { color: var(--brown); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.dial-row { display: flex; gap: 8px; }
.dial-row select { flex: none; width: 132px; font-variant-numeric: tabular-nums; }
.dial-row input { flex: 1; min-width: 0; }

/* Réservation L'Expérience */
.exp-seats { flex-basis: 100%; margin: 0; font-size: 12px; letter-spacing: .08em; color: var(--sand); }
.ticket-dialog { width: min(560px, 94vw); max-height: 92vh; padding: 0; border: 0; background: var(--paper); color: var(--ink); overflow-y: auto; }
.ticket-dialog::backdrop { background: rgba(45, 33, 27, .65); }
.ticket-body { padding: 44px 32px 32px; }
.ticket-body h2 { font-size: 40px; }
.ticket-dialog form { display: grid; gap: 16px; }
.ticket-dialog form[hidden] { display: none; }
.ticket-dialog form > label:not(.check), .ticket-dialog .twocol label, .ticket-dialog .reveal-box label { display: grid; gap: 7px; color: var(--brown); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ticket-dialog label.check { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--muted); }
.ticket-dialog label.check a, .ticket-alt a { text-decoration: underline; }
.ticket-alt { font-size: 11px; color: var(--muted); }
.ticket-dialog .pay-panel { box-shadow: none; padding: 20px 0 0; }

/* Fenêtre de précommande plein écran */
html.modal-open { overflow: hidden; }
.order-dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--ivory); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; scroll-padding-top: 72px; }
.order-dialog[open] { display: block; }
.order-dialog::backdrop { background: var(--ivory); }
.order-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; padding: 0 var(--pad); background: rgba(255, 253, 250, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.order-close { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; background: transparent; border: 1px solid var(--brown); color: var(--brown); font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.order-close span { font: 300 22px/1 var(--sans); }
.order-close:hover { background: var(--brown); color: #fff; }
.order-dialog .orders { min-height: calc(100% - 72px); }
@media (max-width: 860px) {
  .order-bar { height: 64px; }
  .order-bar .brand span { display: none; }
  .order-dialog .orders { padding-top: 36px; }
}

/* Newsletter */
.club { background: var(--sand); }
.club h2 { font-size: clamp(36px, 4.4vw, 54px); max-width: 760px; margin-inline: auto; }
.club > p:not(.eyebrow) { color: var(--muted); max-width: 540px; margin: 0 auto 28px; }
.club-form { display: flex; max-width: 520px; margin: 0 auto 14px; }
.club-form input { border-color: #D5C4AE; }
.club-form .button { white-space: nowrap; }
.club > small { font-size: 11px; color: var(--muted); }
.club > small a { text-decoration: underline; }

/* Pied de page */
.site-footer { background: var(--night); color: var(--sand); text-align: center; padding: 60px 20px 28px; }
.footer-logo { width: 170px; height: auto; margin: 0 auto 10px; }
.site-footer > p { font: italic 22px var(--serif); margin: 0 0 24px; }
.footer-links, .footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.footer-links a:hover, .footer-legal a:hover { color: var(--gold); }
.footer-legal { margin: 26px 0 18px; font-size: 10px; color: #B9A997; }
.site-footer > small { font-size: 10px; color: #9C8C7B; }

/* Fiche produit (dialog) */
.product-dialog { width: min(980px, 94vw); max-height: 92vh; padding: 0; border: 0; background: var(--paper); color: var(--ink); }
.product-dialog::backdrop { background: rgba(45, 33, 27, .65); }
.product-dialog[open] { display: grid; grid-template-columns: 1.05fr .95fr; }
.dialog-close { position: absolute; top: 8px; right: 12px; z-index: 2; background: var(--paper); border: 0; font: 300 34px/1 var(--sans); color: var(--brown); cursor: pointer; width: 44px; height: 44px; }
.pd-gallery { background: #F5EFE6; padding: 16px; }
.pd-main { position: relative; aspect-ratio: 2 / 3; max-height: 78vh; margin: 0 auto; overflow: hidden; background: #E8DDCF; cursor: zoom-in; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.pd-main.zoom img { transform: scale(2); cursor: zoom-out; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.pd-thumbs button { width: 62px; aspect-ratio: 2 / 3; padding: 0; border: 1px solid transparent; background: #E8DDCF; cursor: pointer; }
.pd-thumbs button[aria-current="true"] { border-color: var(--brown); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { padding: 46px 38px 36px; overflow-y: auto; }
.pd-info h2 { font-size: 46px; margin-bottom: 4px; }
.pd-ref { font-size: 11px; color: var(--muted); margin: 0 0 14px; }
.pd-price { font-weight: 600; color: var(--brown); }
.pd-label { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brown); margin: 24px 0 10px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes button { min-width: 46px; padding: 10px 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 600 12px var(--sans); cursor: pointer; }
.sizes button[aria-checked="true"] { background: var(--brown); border-color: var(--brown); color: #fff; }
.pd-extra { margin: 24px 0; font-size: 13px; }
.pd-extra dt { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brown); margin-top: 14px; }
.pd-extra dd { margin: 4px 0 0; color: var(--muted); }

/* Pages légales / secondaires */
.page { max-width: 780px; margin: 0 auto; padding: 80px 24px 100px; }
.page h1 { font-size: clamp(42px, 6vw, 62px); }
.page h2 { font-size: 30px; margin-top: 44px; }
.page p, .page li { color: var(--ink); }
.page .todo { background: #FFF3D6; padding: 0 4px; }
.center-page { min-height: 70vh; display: grid; place-content: center; text-align: center; padding: 60px 24px; }
.center-page img { width: 120px; margin: 0 auto 26px; }

/* Mobile */
@media (max-width: 860px) {
  html { scroll-padding-top: 76px; }
  .site-header { height: 72px; }
  .brand img { height: 38px; }
  .brand span { display: none; }
  .menu { display: block; }
  #nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 22px; }
  #nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  #nav .nav-cta { margin-top: 14px; text-align: center; border: 1px solid var(--brown); }
  .menu[aria-expanded="true"] + #nav { display: flex; }
  .menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero, .feature, .experience, .orders { grid-template-columns: 1fr; }
  .hero-art { order: -1; aspect-ratio: 4 / 4.2; }
  .hero-mark { width: 54px; right: 18px; bottom: 16px; }
  .hero-copy { padding: 30px var(--pad) 64px; text-align: center; }
  .hero-copy > p:not(.eyebrow) { margin-inline: auto; }
  .actions { justify-content: center; }
  .intro, .values, .club { padding: 72px var(--pad); }
  .collections { padding: 70px var(--pad); }
  .feature { margin-bottom: 60px; }
  .feature-art img { min-height: 140px; }
  .tissus { margin-top: 64px; }
  .tissus-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .story { grid-template-columns: 1fr; padding: 72px var(--pad); gap: 40px; }
  .feature-copy { padding: 38px 8%; }
  .experience { grid-template-columns: minmax(0, 1fr); }
  .experience > * { min-width: 0; }
  .exp-infos { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
  .exp-copy { padding: 70px var(--pad) 60px; }
  .exp-photo { order: -1; min-height: 0; aspect-ratio: 4 / 4.4; }
  .exp-photo figcaption { left: auto; right: 18px; bottom: -40px; width: 92px; height: 92px; }
  .exp-photo figcaption strong { font-size: 32px; }
  .programme { padding: 70px var(--pad); }
  .timeline { grid-template-columns: 1fr; gap: 22px; }
  .brand-film { margin-top: 40px; }
  .valuegrid { grid-template-columns: 1fr; gap: 22px; margin-top: 36px; }
  .orders { padding: 70px var(--pad); gap: 26px; }
  .orders form { padding: 24px 18px; }
  .pay-panel { padding: 32px 20px; }
  .ticket-body { padding: 40px 18px 24px; }
  .club-form { flex-direction: column; gap: 10px; }
  .product-dialog[open] { grid-template-columns: 1fr; overflow-y: auto; }
  .pd-info { padding: 26px 22px 30px; overflow: visible; }
  .pd-info h2 { font-size: 38px; }
}
@media (max-width: 420px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-meta small { overflow-wrap: anywhere; }
  .card { padding: 6px 6px 14px; }
  .card-meta { flex-direction: column; gap: 2px; padding: 10px 2px 8px; }
  .card-meta h3 { font-size: 20px; }
  .card-actions { flex-direction: column; gap: 10px; }
  .twocol { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
