/* Amvame Couture — version épurée : ivoire, brun, noir, or discret */
:root {
  --ivory: #faf7f2;
  --paper: #ffffff;
  --sand: #efe8de;
  --taupe: #a8957f;
  --brown: #5b3f2c;
  --ink: #1f1712;
  --muted: #7d6c5e;
  --line: #e7dfd3;
  --gold: #b08028;
  --gold-soft: #d4a650;
  --espresso: #2a1d15;
  --night: #15100c;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 300 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
/* Images : jamais étirées — la hauteur suit toujours la largeur. */
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--ivory); padding: 10px 16px; }
.skip:focus { left: 8px; }
main { outline: none; min-height: 60vh; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; }
.eyebrow { font: 400 11px/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }

/* ---------- boutons & liens ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border: 1px solid var(--ink); background: var(--ink); color: var(--ivory); font: 400 11.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; transition: background .3s, color .3s; }
.btn:hover { background: transparent; color: var(--ink); }
.btn.block { width: 100%; }
.btn.light { background: var(--ivory); color: var(--espresso); border-color: var(--ivory); }
.btn.light::before { background: var(--gold-soft); }
.btn.light:hover { background: var(--ivory); color: var(--espresso); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--ink); color: var(--ivory); }
.link-u { font: 400 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 5px; }
.link-u:hover { color: var(--gold); }
.section-head h2 em { font-style: italic; color: var(--brown); }

/* ---------- bandeau + en-tête ---------- */
.announce { background: var(--ink); color: var(--ivory); text-align: center; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; padding: 8px 16px; }
.header { position: sticky; top: 0; z-index: 40; height: var(--header-h); background: rgba(250, 247, 242, .96); border-bottom: 1px solid transparent; transition: border-color .3s; }
.header.scrolled { border-color: var(--line); }
.header-in { height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; flex: none; margin-right: auto; }
.brand img { height: 34px; width: auto; max-width: none; }
.logo-light { display: none !important; }
.nav { display: flex; gap: 34px; }
.nav a { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav a:hover, .nav a[aria-current="page"] { border-color: currentColor; }
.nav .nav-ig { display: none; }
/* Sur les pages à haut sombre : en-tête transparent et logo ivoire, puis clair au défilement. */
body.on-dark main { margin-top: calc(-1 * var(--header-h)); }
body.on-dark .header:not(.scrolled) { background: transparent; color: var(--ivory); }
body.on-dark .header:not(.scrolled) .logo-light { display: block !important; }
body.on-dark .header:not(.scrolled) .logo-dark { display: none !important; }
body.on-dark .header.scrolled { background: rgba(250, 247, 242, .96); }
.header { transition: background .4s, border-color .4s, color .4s; }
.header-actions { display: flex; align-items: center; margin-right: -10px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; background: none; border: 0; position: relative; color: inherit; }
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.cart-count { position: absolute; top: 7px; right: 5px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--ink); color: var(--ivory); font-size: 9.5px; font-weight: 500; line-height: 16px; text-align: center; }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.3); } }
.menu-btn { display: none; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1px; background: currentColor; transition: transform .3s var(--ease); }
.menu-btn span:first-child { transform: translateY(-4px); }
.menu-btn span:last-child { transform: translateY(4px); }
.menu-btn[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.nav-backdrop { display: none; }

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .menu-btn { display: inline-grid; z-index: 3; }
  .brand img { height: 28px; }
  .header-in { gap: 8px; }
  body.nav-open .header { color: var(--ink) !important; background: var(--ivory) !important; }
  body.nav-open .logo-light { display: none !important; }
  body.nav-open .logo-dark { display: block !important; }
  .nav { position: fixed; z-index: 2; top: 0; right: 0; bottom: 0; width: min(84vw, 340px); flex-direction: column; gap: 0; padding: calc(var(--header-h) + 20px) 28px 32px; background: var(--ivory); transform: translateX(102%); transition: transform .45s var(--ease); overflow-y: auto; color: var(--ink); }
  .nav a { font: 400 26px/1.2 var(--serif); letter-spacing: 0; text-transform: none; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-color: var(--line); color: var(--gold); }
  .nav .nav-ig { display: block; margin-top: auto; border: 0; font: 400 11px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
  body.nav-open .nav { transform: none; }
  .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 39; background: rgba(31, 23, 18, .35); opacity: 0; pointer-events: none; transition: opacity .35s; }
  body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
}

/* ---------- visuels : cadre 3:4 (format des photos), recadrage sans déformation ---------- */
.visual { position: relative; overflow: hidden; background: var(--sand); aspect-ratio: 3 / 4; }
.visual img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: opacity .5s; }
.visual img.photo + img.photo { opacity: 0; }
.card:hover .visual img.photo + img.photo { opacity: 1; }
.ph { position: absolute; inset: 0; display: grid; place-items: center; background: var(--sand); }
.ph span { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }

/* ---------- accueil ---------- */
.intro-band { position: relative; background: var(--espresso); color: var(--ivory); overflow: hidden; }
.intro-band::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(55% 60% at 78% 40%, rgba(176, 128, 40, .22), transparent 70%),
  radial-gradient(70% 70% at 5% 100%, rgba(91, 63, 44, .75), transparent 70%),
  linear-gradient(180deg, #1b130e 0%, #2a1d15 60%, #33241a 100%); }
.intro { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: calc(var(--header-h) + clamp(28px, 5vw, 64px)); padding-bottom: clamp(56px, 7vw, 96px); }
.intro h1 { font-size: clamp(46px, 6vw, 88px); font-weight: 300; margin: 18px 0 22px; }
.intro h1 em { font-style: italic; color: var(--gold-soft); }
.intro p { color: rgba(250, 247, 242, .75); font-size: 17px; max-width: 26em; margin: 0 0 34px; }
.intro-art { position: relative; width: min(100%, 440px); justify-self: center; }
.intro-art::before { content: ''; position: absolute; inset: -16px -16px 16px 16px; border: 1px solid rgba(212, 166, 80, .5); animation: rise 1.4s var(--ease) 1s both; }
.intro-photo { position: relative; background: #3a2a1f; aspect-ratio: 3 / 4; overflow: hidden; }
.intro-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
@media (max-width: 760px) {
  .intro { grid-template-columns: 1fr; gap: 36px; padding-top: calc(var(--header-h) + 16px); }
  .intro-art { order: -1; width: min(84%, 360px); }
  .intro-text { text-align: center; }
  .intro p { margin-left: auto; margin-right: auto; }
}
.section-sm { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.look { display: grid; gap: clamp(8px, 1.5vw, 20px); }
.look-3 { grid-template-columns: repeat(3, 1fr); }
.look-2 { grid-template-columns: repeat(2, 1fr); }
.look figure { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand); }
.look img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
@media (max-width: 640px) { .look-3 { grid-template-columns: 1fr 1fr; } .look-3 figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 5; } }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px, 4vw, 44px); flex-wrap: wrap; }
.section-head h2 { font-size: clamp(32px, 3.6vw, 46px); font-weight: 300; }
.about { background: var(--paper); text-align: center; padding: clamp(64px, 9vw, 120px) 0; }
.about-bee { width: 46px; margin: 0 auto 22px; }
.about blockquote { margin: 0 auto 18px; max-width: 18em; font: italic 300 clamp(30px, 3.8vw, 50px)/1.15 var(--serif); color: var(--espresso); }
.about p { color: var(--muted); max-width: 32em; margin: 0 auto 30px; }

/* ---------- grille produits ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(32px, 3vw, 48px) clamp(12px, 1.6vw, 24px); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .grid, .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .grid, .grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
.card { display: block; }
.card .visual { margin-bottom: 14px; }
.card .badge { position: absolute; z-index: 2; top: 10px; left: 10px; background: var(--paper); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; padding: 5px 8px; }
.card-coll { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-size: clamp(18px, 1.5vw, 21px); margin: 4px 0; }
.price { font-size: 14px; letter-spacing: .04em; }
.price s { color: var(--muted); margin-left: 8px; }
.empty { text-align: center; color: var(--muted); padding: 48px 0; grid-column: 1 / -1; }

/* ---------- boutique ---------- */
.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 44px); text-align: center; }
.page-head h1 { font-size: clamp(40px, 5vw, 66px); font-weight: 300; margin: 12px 0 10px; }
.page-head p { color: var(--muted); max-width: 34em; margin: 0 auto; }
.filters { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin-bottom: 36px; flex-wrap: wrap; }
.chips { display: flex; gap: 22px; flex-wrap: wrap; }
.chip { border: 0; border-bottom: 1px solid transparent; background: none; padding: 6px 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.chip[aria-pressed="true"], .chip:hover { color: var(--ink); border-color: var(--ink); }
.sort { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.sort select { font: inherit; font-size: 13px; color: var(--ink); background: transparent; border: 0; padding: 6px 2px; }

/* ---------- fiche produit ---------- */
.crumbs { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 22px 0; }
.crumbs a:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 80px); align-items: start; padding-bottom: 88px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gallery .visual:first-child { grid-column: 1 / -1; }
.gallery.single .visual { grid-column: 1 / -1; }
.buy { position: sticky; top: calc(var(--header-h) + 24px); }
.buy h1 { font-size: clamp(34px, 3.2vw, 46px); margin: 10px 0; }
.buy .price { font-size: 17px; }
.buy .accroche { color: var(--muted); margin: 16px 0 24px; }
.buy .couleur { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.buy .couleur b { font-weight: 400; color: var(--ink); }
.sizes-label { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; }
.sizes-label span { color: var(--muted); letter-spacing: .04em; text-transform: none; font-size: 13px; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.size { min-width: 52px; height: 46px; padding: 0 14px; border: 1px solid var(--line); background: var(--paper); font-size: 13.5px; }
.size:hover:not([disabled]) { border-color: var(--ink); }
.size[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.size[disabled] { color: var(--taupe); text-decoration: line-through; background: transparent; cursor: not-allowed; }
.stock-note { font-size: 13px; color: var(--brown); min-height: 1.5em; margin-bottom: 16px; }
.reassure { display: grid; gap: 8px; margin: 22px 0 10px; font-size: 13.5px; color: var(--muted); }
.reassure div { display: flex; gap: 10px; align-items: center; }
.reassure svg { width: 17px; height: 17px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.2; }
details.acc { border-top: 1px solid var(--line); }
details.acc:last-of-type { border-bottom: 1px solid var(--line); }
details.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: '+'; font: 300 20px/1 var(--sans); transition: transform .3s; }
details.acc[open] summary::after { transform: rotate(45deg); }
details.acc .acc-body { padding: 0 0 18px; color: var(--muted); white-space: pre-line; font-size: 15px; }
@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; }
  .buy { position: static; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 6px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery .visual { flex: 0 0 88%; scroll-snap-align: center; }
  .gallery.single .visual { flex-basis: 100%; }
}

/* ---------- pages éditoriales ---------- */
.story-hero { position: relative; background: var(--espresso); color: var(--ivory); text-align: center; padding: calc(var(--header-h) + 64px) 0 80px; overflow: hidden; }
.story-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 0%, rgba(176, 128, 40, .24), transparent 70%); }
.story-hero .wrap { position: relative; }
.story-hero img { width: 60px; margin: 0 auto 22px; animation: rise 1.1s var(--ease) both; }
.story-hero h1 { font-size: clamp(42px, 6vw, 84px); font-weight: 300; margin: 14px 0 0; animation: rise 1.1s var(--ease) .2s both; }
.story-hero h1 em { color: var(--gold-soft); }
.prose { max-width: 680px; margin: 0 auto; font-size: 17px; }
.prose h2 { font-size: clamp(28px, 3vw, 36px); margin: 48px 0 14px; }
.prose h3 { font-size: 22px; margin: 32px 0 8px; font-weight: 500; }
.prose p, .prose li { color: #4a3c31; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 64px auto 0; max-width: 980px; text-align: center; }
.values b { display: block; font: 400 24px/1.1 var(--serif); margin: 8px 0; }
.values p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 720px) { .values { grid-template-columns: 1fr; } }

/* contact */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); padding-bottom: 100px; }
.contact-info h2 { font-size: 28px; margin-bottom: 14px; }
.contact-info dl { margin: 0; }
.contact-info dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 20px; }
.contact-info dd { margin: 4px 0 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select { font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #cfc3b3; padding: 10px 0; border-radius: 0; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); }
.form-note { font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } }

/* merci / 404 */
.thanks { text-align: center; padding: clamp(64px, 9vw, 120px) 0; }
.thanks img { width: 56px; margin: 0 auto 22px; }
.thanks h1 { font-size: clamp(40px, 5.5vw, 68px); font-weight: 300; margin: 12px 0 16px; }
.thanks p { color: var(--muted); max-width: 34em; margin: 0 auto 10px; }
.thanks ul { list-style: none; padding: 0; margin: 26px auto; max-width: 420px; text-align: left; border-top: 1px solid var(--line); }
.thanks li { padding: 13px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }

/* ---------- panier ---------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(31, 23, 18, .35); opacity: 0; pointer-events: none; transition: opacity .35s; }
.drawer { position: fixed; z-index: 61; top: 0; right: 0; bottom: 0; width: min(100%, 440px); background: var(--ivory); display: flex; flex-direction: column; transform: translateX(102%); transition: transform .45s var(--ease); }
body.cart-open .drawer { transform: none; }
body.cart-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
body.cart-open { overflow: hidden; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 14px 16px 26px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 26px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 4px 26px; }
.drawer-foot { padding: 18px 26px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line .ph span { display: none; }
.line h3 { font-size: 18px; font-weight: 500; }
.line .meta { font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
.line-row { display: flex; justify-content: space-between; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 32px; height: 32px; border: 0; background: none; }
.qty span { min-width: 24px; text-align: center; font-size: 14px; }
.remove { border: 0; background: none; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 8px 0; }
.ship-choice { display: grid; gap: 8px; margin-bottom: 16px; }
.ship-opt { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); padding: 11px 13px; cursor: pointer; font-size: 14px; }
.ship-opt:has(input:checked) { border-color: var(--ink); }
.ship-opt input { accent-color: var(--ink); margin-top: 4px; }
.ship-opt > span { flex: 1; }
.ship-opt b { font-weight: 400; display: flex; justify-content: space-between; gap: 8px; }
.ship-opt small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.45; margin-top: 2px; }
.totals { display: grid; gap: 5px; font-size: 14px; margin-bottom: 16px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 16px; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 4px; }
.franco { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.franco-bar { height: 1px; background: var(--line); margin-top: 8px; }
.franco-bar i { display: block; height: 100%; background: var(--ink); transition: width .5s var(--ease); }
.cart-err { color: #a3261e; font-size: 13.5px; margin: 10px 0 0; }
.cart-empty { text-align: center; padding: 64px 0; color: var(--muted); }
.cart-empty img { width: 44px; margin: 0 auto 16px; opacity: .7; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 11.5px; color: var(--muted); margin-top: 12px; text-align: center; }
.secure svg { width: 14px; height: 14px; stroke: currentColor; fill: none; flex: none; }

/* ---------- pied de page ---------- */
.footer { background: var(--night); color: rgba(250, 247, 242, .7); padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); text-align: center; }
.footer-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.footer-logo { width: 120px; margin: 0 auto 28px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin-bottom: 28px; }
.footer-links a { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-copy { font-size: 12px; color: rgba(250, 247, 242, .45); margin: 0; }

/* toast */
.toast { position: fixed; z-index: 80; left: 50%; bottom: 22px; transform: translate(-50%, 160%); background: var(--ink); color: var(--ivory); padding: 13px 20px; font-size: 14px; max-width: calc(100% - 32px); transition: transform .4s var(--ease); }
.toast.show { transform: translate(-50%, 0); }

/* apparitions */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.view-enter { animation: fadein .5s var(--ease); }
@keyframes fadein { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- animations ---------- */
/* Rideau : la photo se dévoile de bas en haut, avec un lent dézoom. */
@keyframes curtain { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes logo-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.brand img { animation: logo-in 1.1s var(--ease) both; }
.intro-photo { animation: curtain 1.5s cubic-bezier(.7, 0, .2, 1) .15s both; }
.intro-photo img { animation: settle 2.6s cubic-bezier(.2, .6, .2, 1) .15s both; }
.intro-text > * { animation: rise 1.1s var(--ease) both; }
.intro-text > :nth-child(1) { animation-delay: .55s; }
.intro-text > :nth-child(2) { animation-delay: .7s; }
.intro-text > :nth-child(3) { animation-delay: .85s; }
.intro-text > :nth-child(4) { animation-delay: 1s; }

/* Révélations au défilement, en cascade (--i posé par le script). */
.reveal { transition-delay: calc(var(--i, 0) * 90ms); }
.look figure.reveal, .card.reveal .visual { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s cubic-bezier(.7, 0, .2, 1); transition-delay: calc(var(--i, 0) * 110ms); }
.look figure.reveal img { transform: scale(1.12); transition: transform 2s cubic-bezier(.2, .6, .2, 1); transition-delay: calc(var(--i, 0) * 110ms); }
.look figure.reveal.in, .card.reveal.in .visual { clip-path: inset(0 0 0 0); }
.look figure.reveal.in img { transform: scale(1); }
.look figure.reveal { opacity: 1; transform: none; }

/* Survol : zoom lent des photos, titre souligné, bouton qui se remplit. */
.visual img.photo { transition: opacity .6s, transform 1.4s cubic-bezier(.2, .6, .2, 1); }
.card:hover .visual img.photo { transform: scale(1.045); }
.card h3 { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; display: inline; transition: background-size .5s var(--ease); }
.card:hover h3 { background-size: 100% 1px; }
.card h3 + .price { display: block; margin-top: 4px; }
.look figure { overflow: hidden; }
@media (hover: hover) { .look figure:hover img { transform: scale(1.04) !important; transition-delay: 0s !important; } }
.btn { position: relative; overflow: hidden; z-index: 0; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ivory); transform: scaleX(0); transform-origin: right; transition: transform .55s cubic-bezier(.7, 0, .2, 1); }
.btn:hover { background: var(--ink); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { color: var(--ink); }
.btn[disabled]::before { display: none; }

/* Transition douce entre les pages. */
.view-enter { animation: fadein .6s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .intro-art::before, .story-hero img, .story-hero h1,
  .intro-photo, .intro-photo img, .intro-text > *, .brand img { animation: none !important; }
  .look figure.reveal, .card.reveal .visual { clip-path: none !important; }
  .look figure.reveal img { transform: none !important; }
}
