/* ==========================================================
   The Artistery by Charlène GILLET — feuille de style
   ========================================================== */
:root {
  --cream: #f7f3ee;
  --paper: #fffdfa;
  --sand: #e9e0d4;
  --ink: #1d1b19;
  --ink-soft: #5b554f;
  --line: #ddd3c6;
  --accent: #8c2a2a;        /* bordeaux, écho au portrait */
  --accent-soft: #b5654f;
  --gold: #b89a6a;
  --radius: 4px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
@media (max-width: 600px) { .container { width: calc(100% - 32px); } }

.eyebrow {
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 em, h1 em { font-style: italic; color: var(--accent); }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 58ch; }

.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 2em;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  background: transparent; color: inherit;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--dark:hover { background: var(--accent); border-color: var(--accent); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  color: #fff;
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.is-solid,
.site-header.always-solid {
  background: rgba(247, 243, 238, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.6rem; letter-spacing: .02em; }
.brand__by { font-size: .62rem; letter-spacing: .34em; text-transform: uppercase; margin-top: 4px; opacity: .85; }

.nav { display: flex; gap: 34px; align-items: center; }
.nav a {
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 400;
  position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; padding: 10px;
}
.nav-toggle span { display: block; height: 1px; background: currentColor; margin: 7px 0; transition: transform .35s var(--ease), opacity .35s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px;
    background: var(--cream); color: var(--ink);
    opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
  }
  .nav a { font-size: 1rem; }
  .nav-open .nav { opacity: 1; pointer-events: auto; }
  .nav-open .site-header { color: var(--ink); }
  .brand__name { font-size: 1.3rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  color: #fff; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 115%; object-fit: cover;
  transform: scale(1.08); animation: heroZoom 2.4s var(--ease) forwards;
  will-change: transform;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,14,.45) 0%, rgba(20,16,14,.25) 45%, rgba(20,16,14,.6) 100%);
}
.hero__content { position: relative; z-index: 1; padding: 120px 16px 80px; }
.hero .eyebrow { color: #f1d9c6; }
.hero h1 {
  font-size: clamp(3rem, 9vw, 7.5rem);
  margin: .2em 0 .1em;
  letter-spacing: -.01em;
}
.hero h1 em { color: #fff; }
.hero__by {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 2rem);
  margin-bottom: 2.2rem;
}
.hero__by strong { font-style: normal; font-weight: 500; letter-spacing: .14em; font-size: .8em; }
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 1;
  width: 1px; height: 56px; background: rgba(255,255,255,.35); overflow: hidden;
}
.hero__scroll::after {
  content: ""; position: absolute; inset: 0; background: #fff;
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* Hero entrance */
.hero__content > * { opacity: 0; transform: translateY(24px); animation: rise 1.1s var(--ease) forwards; }
.hero__content > *:nth-child(1) { animation-delay: .3s; }
.hero__content > *:nth-child(2) { animation-delay: .45s; }
.hero__content > *:nth-child(3) { animation-delay: .6s; }
.hero__content > *:nth-child(4) { animation-delay: .75s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
section { padding: clamp(80px, 12vw, 150px) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 70px); }
.section-head--center { text-align: center; justify-items: center; }

/* Intro / salon */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.intro p { color: var(--ink-soft); }
.features { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.features li { border-top: 1px solid var(--line); padding-top: 12px; font-size: .95rem; }
.features strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--ink); }
.intro__img { position: relative; }
.intro__img img { aspect-ratio: 4/5; object-fit: cover; width: 100%; border-radius: var(--radius); }
.intro__img .tag {
  position: absolute; left: -24px; bottom: 32px;
  background: var(--paper); padding: 18px 24px; border-radius: var(--radius);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.25);
  font-family: var(--serif); font-size: 1.15rem; font-style: italic;
}
@media (max-width: 860px) {
  .intro { grid-template-columns: 1fr; }
  .intro__img .tag { left: 16px; }
}

/* Gallery — compacte, pas encombrante */
.gallery {
  display: grid; gap: 14px;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(140px, 18vw, 230px);
}
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); position: relative; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px;
  color: #fff; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  opacity: 0; transform: translateY(8px); transition: .5s var(--ease);
}
.gallery figure:hover figcaption { opacity: 1; transform: none; }
.g1 { grid-column: span 4; grid-row: span 2; }
.g2 { grid-column: span 2; }
.g3 { grid-column: span 2; }
.g4 { grid-column: span 3; }
.g5 { grid-column: span 3; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .g1 { grid-column: span 2; grid-row: span 2; }
  .g2, .g3 { grid-column: span 1; }
  .g4, .g5 { grid-column: span 1; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(15,13,12,.92);
  display: grid; place-items: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-height: 86vh; max-width: min(1400px, 100%); width: auto; border-radius: var(--radius); transform: scale(.96); transition: transform .5s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; font-size: 2rem; width: 56px; height: 56px; opacity: .8;
}
.lightbox button:hover { opacity: 1; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* Charlène */
.about { background: var(--paper); }
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.about__photo { position: relative; }
.about__photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; border-radius: 200px 200px var(--radius) var(--radius); }
.about__photo::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px;
  border: 1px solid var(--gold); border-radius: 200px 200px var(--radius) var(--radius); z-index: 0;
}
.about__photo img { position: relative; z-index: 1; }
.about blockquote {
  margin: 2rem 0; padding-left: 22px; border-left: 2px solid var(--accent);
  font-family: var(--serif); font-size: 1.6rem; font-style: italic; line-height: 1.35;
}
.signature { font-family: var(--serif); font-size: 2rem; font-style: italic; color: var(--accent); }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 420px; margin-inline: auto 40px; }
}

/* CTA cards (fin de page d'accueil) */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cta-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  min-height: 380px; display: flex; align-items: flex-end; padding: 36px; color: #fff;
}
.cta-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cta-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(20,16,14,.75)); }
.cta-card:hover img { transform: scale(1.06); }
.cta-card > div { position: relative; z-index: 1; }
.cta-card h3 { font-size: 2.4rem; margin: .2em 0 .6em; }
.cta-card .eyebrow { color: #f1d9c6; }
@media (max-width: 760px) { .cta-grid { grid-template-columns: 1fr; } .cta-card { min-height: 300px; } }

/* Infos pratiques */
.infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.infos > div { padding: 32px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.infos h3 { font-size: 1.5rem; margin-bottom: .5em; }
.infos p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) { .infos { grid-template-columns: 1fr; } }

/* ---------- Page header (page 2) ---------- */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 90px) 0 90px; color: #fff; text-align: center; overflow: hidden;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(20,16,14,.55); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); margin-top: .2em; }
.page-hero .eyebrow { color: #f1d9c6; }

.tabs { display: flex; justify-content: center; gap: 10px; margin-top: 32px; flex-wrap: wrap; }
.tabs a { border: 1px solid rgba(255,255,255,.6); border-radius: 999px; padding: .6em 1.6em; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; transition: .3s; }
.tabs a:hover { background: #fff; color: var(--ink); }

/* ---------- Tarifs ---------- */
.price-filters { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.chip {
  border: 1px solid var(--line); background: transparent; border-radius: 999px;
  padding: .55em 1.4em; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
  transition: .3s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
@media (max-width: 400px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--paper); border-radius: var(--radius); padding: 36px 32px; border: 1px solid var(--line);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.price-card.is-hidden { display: none; }
.price-card h3 { font-size: 2rem; margin-bottom: 1rem; display: flex; justify-content: space-between; align-items: baseline; }
.price-card h3 small { font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.price-list li:last-child { border-bottom: 0; }
.price-list .dots { flex: 1; }
.price-list .price { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; white-space: nowrap; }
.price-list .note { display: block; font-size: .8rem; color: var(--ink-soft); }
.price-foot { text-align: center; margin-top: 40px; color: var(--ink-soft); font-size: .9rem; }

/* ---------- Boutique ---------- */
.shop { background: var(--paper); }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.shop-bar .price-filters { margin: 0; justify-content: flex-start; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; }
.product { display: flex; flex-direction: column; }
.product__visual {
  aspect-ratio: 4/5; border-radius: var(--radius); position: relative; overflow: hidden;
  display: grid; place-items: center; background: var(--sand);
}
.product__visual svg { width: 42%; height: auto; transition: transform .8s var(--ease); }
.product:hover .product__visual svg { transform: translateY(-6px) rotate(-2deg); }
.product__badge {
  position: absolute; top: 14px; left: 14px; background: var(--paper); padding: 4px 12px; border-radius: 999px;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
}
.product__add {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  background: var(--ink); color: var(--paper); border: 0; border-radius: 999px; padding: .85em;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  transform: translateY(140%); transition: transform .45s var(--ease), background .3s;
}
.product:hover .product__add, .product__add:focus-visible { transform: none; }
.product__add:hover { background: var(--accent); }
@media (hover: none) { .product__add { transform: none; } }
.product__info { padding-top: 14px; display: flex; justify-content: space-between; gap: 12px; }
.product__info h3 { font-size: 1.35rem; }
.product__info p { margin: 2px 0 0; font-size: .85rem; color: var(--ink-soft); }
.product__price { font-family: var(--serif); font-size: 1.35rem; white-space: nowrap; }

/* Panier */
.cart-btn {
  position: relative; background: none; border: 1px solid currentColor; border-radius: 999px; color: inherit;
  padding: .5em 1.2em; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
}
.cart-count {
  position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: .7rem; letter-spacing: 0; display: grid; place-items: center;
  transform: scale(0); transition: transform .35s var(--ease);
}
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }

.drawer-backdrop { position: fixed; inset: 0; background: rgba(15,13,12,.4); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .4s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 91; width: min(420px, 100%);
  background: var(--cream); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .5s var(--ease);
}
.cart-open .drawer { transform: none; }
.cart-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.drawer header h3 { font-size: 1.8rem; }
.drawer header button { background: none; border: 0; font-size: 1.6rem; }
.drawer__items { flex: 1; overflow-y: auto; padding: 8px 28px; }
.drawer__empty { color: var(--ink-soft); text-align: center; margin-top: 60px; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line h4 { margin: 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { background: none; border: 0; width: 30px; height: 30px; }
.qty span { min-width: 22px; text-align: center; font-size: .9rem; }
.line .remove { background: none; border: 0; font-size: .75rem; color: var(--ink-soft); text-decoration: underline; justify-self: end; }
.drawer footer { padding: 24px 28px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.total { display: flex; justify-content: space-between; font-family: var(--serif); font-size: 1.5rem; }
.drawer footer small { color: var(--ink-soft); font-size: .8rem; text-align: center; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, 30px);
  background: var(--ink); color: var(--paper); padding: 12px 24px; border-radius: 999px; font-size: .85rem;
  opacity: 0; pointer-events: none; transition: .45s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfc7bd; padding: 70px 0 30px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer .brand__name { color: #fff; font-size: 2rem; }
.site-footer h4 { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: #fff; font-weight: 500; margin: 0 0 14px; }
.site-footer p { margin: 0 0 6px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid #3a3633; font-size: .78rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Animations au scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

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

/* ==========================================================
   Une section = un écran, contenu centré verticalement
   (s'adapte à la hauteur de la fenêtre)
   ========================================================== */
:root { --pad-y: clamp(24px, 5vh, 64px); --screen-h: calc(100svh - var(--header-h) - 2 * var(--pad-y)); }

main > section,
.page-hero {
  min-height: 100svh;
  padding: calc(var(--header-h) + var(--pad-y)) 0 var(--pad-y);
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
}
main > section > .container { width: min(1180px, 100% - 48px); }
.section-head { margin-bottom: clamp(20px, 4vh, 56px); gap: clamp(8px, 1.5vh, 18px); }
h2 { font-size: clamp(2rem, min(4.5vw, 6.5vh), 3.6rem); }

/* Hero : image plein écran, le header passe par-dessus */
main > section.hero { padding: 0; }

/* Le salon */
.intro__img img { max-height: var(--screen-h); }
.features { margin-top: clamp(16px, 3vh, 32px); }
.lead { font-size: clamp(1rem, 2vh, 1.12rem); }

/* Galerie : 3 rangées qui tiennent dans l'écran sous le titre */
.gallery { grid-auto-rows: clamp(110px, calc((var(--screen-h) - 170px) / 3), 260px); }

/* Charlène : portrait limité à la hauteur de l'écran */
.about__grid { align-items: center; }
.about__photo { max-width: calc(var(--screen-h) * .8); width: 100%; justify-self: center; }
.about__photo img { max-height: var(--screen-h); }
.about blockquote { font-size: clamp(1.25rem, 3vh, 1.6rem); margin: clamp(16px, 3vh, 32px) 0; }

/* Cartes Tarifs / Boutique */
.cta-card { min-height: 0; height: clamp(220px, calc(var(--screen-h) - 170px), 520px); }

/* Page 2 : en-tête plein écran */
.page-hero { justify-content: center; text-align: center; }

/* Boutique : 2 rangées de produits dans l'écran */
.product__visual { aspect-ratio: auto; height: clamp(150px, calc((var(--screen-h) - 260px) / 2), 320px); }
.shop-bar { margin-bottom: clamp(16px, 3vh, 40px); }
.price-filters { margin-bottom: clamp(20px, 4vh, 48px); }
.price-card { padding: clamp(20px, 3.5vh, 36px) 32px; }
.price-list li { padding: clamp(6px, 1.1vh, 11px) 0; }

/* Mobile / fenêtres basses : on laisse le contenu s'allonger naturellement */
@media (max-width: 860px) {
  .about__photo { max-width: 340px; margin-inline: auto; }
  .about__photo::before { inset: 16px -16px -16px 16px; }
  .intro__img img { max-height: 60svh; }
}
@media (max-height: 560px) {
  html { scroll-snap-type: none; }
}

/* ---------- Contact : infos + carte ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: stretch; }
.contact-grid .infos { grid-template-columns: 1fr; gap: 14px; text-align: left; }
.contact-grid .infos > div { padding: clamp(14px, 2.4vh, 26px) 24px; }
.contact-grid .infos h3 { font-size: 1.3rem; margin-bottom: .25em; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 300px; }
.map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; filter: grayscale(.35) contrast(1.05); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Bouton Prendre RDV (toujours visible) ---------- */
.rdv-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff; border-radius: 999px;
  padding: 14px 22px; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  box-shadow: 0 14px 34px -12px rgba(140, 42, 42, .65);
  transition: transform .35s var(--ease), background .3s;
  animation: fabIn .8s var(--ease) 1.2s both;
}
.rdv-fab:hover { transform: translateY(-3px); background: #a23434; }
@keyframes fabIn { from { opacity: 0; transform: translateY(20px); } }
.cart-open .rdv-fab, .nav-open .rdv-fab { opacity: 0; pointer-events: none; }
@media (max-width: 600px) {
  .rdv-fab { right: 16px; bottom: 16px; padding: 14px 18px; }
}

/* ---------- Page mentions légales ---------- */
.legal { padding-top: calc(var(--header-h) + 60px); }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 1.2em; }
.legal h2 { font-size: 1.6rem; margin: 2em 0 .5em; }
.legal p { color: var(--ink-soft); }
@media (max-width: 600px) { .toast { bottom: 84px; } }

/* ---------- Avant / après ---------- */
.ba-wrap { display: grid; gap: clamp(14px, 2.5vh, 24px); justify-items: center; }
.ba {
  position: relative; width: min(100%, calc((var(--screen-h) - 190px) * 1.5)); aspect-ratio: 3 / 2;
  border-radius: var(--radius); overflow: hidden; user-select: none; touch-action: pan-y;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.35);
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s var(--ease); }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__placeholder { filter: grayscale(1) brightness(.75); } /* à retirer avec les vraies photos */
.ba__label {
  position: absolute; top: 16px; padding: 5px 14px; border-radius: 999px; background: rgba(255,253,250,.9);
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; pointer-events: none;
}
.ba__label--before { left: 16px; }
.ba__label--after { right: 16px; }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none;
}
.ba__handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--accent);
  display: grid; place-items: center; font-size: 1rem; letter-spacing: 2px; box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 700px) { .ba { width: 100%; aspect-ratio: 4 / 5; } }

/* ---------- Carte cadeau ---------- */
.gift { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.giftcard {
  position: relative; aspect-ratio: 1.6; border-radius: 18px; padding: clamp(20px, 4%, 36px);
  background: linear-gradient(135deg, #8c2a2a 0%, #5e1a1c 100%); color: #f7f3ee; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 40px 70px -35px rgba(94,26,28,.8);
  transform: perspective(900px) rotateY(-8deg) rotateX(4deg); transition: transform .8s var(--ease);
  max-height: calc(var(--screen-h) - 40px);
}
.giftcard:hover { transform: perspective(900px) rotateY(0) rotateX(0); }
.giftcard::before {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -20%; top: -35%;
  border: 1px solid rgba(184,154,106,.5); border-radius: 50%;
}
.giftcard::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.14) 45%, transparent 60%);
  transform: translateX(-100%); animation: shine 4s var(--ease) infinite 1s;
}
@keyframes shine { 40%, 100% { transform: translateX(100%); } }
.giftcard__top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
.giftcard__brand { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1; }
.giftcard__brand small { display: block; font-family: var(--sans); font-size: .55rem; letter-spacing: .3em; text-transform: uppercase; margin-top: 6px; opacity: .8; }
.giftcard__label { font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: #e8cfa6; }
.giftcard__amount { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; position: relative; z-index: 1; }
.giftcard__to { font-family: var(--serif); font-style: italic; font-size: 1.15rem; position: relative; z-index: 1; min-height: 1.4em; }
.gift-form { display: grid; gap: clamp(12px, 2.2vh, 20px); }
.gift-form label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.amounts { display: flex; flex-wrap: wrap; gap: 8px; }
.gift-form input[type=text], .gift-form input[type=number] {
  width: 100%; padding: .8em 1em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
  font: inherit; color: var(--ink);
}
.gift-form input:focus { outline: none; border-color: var(--accent); }
.gift-form .btn { justify-self: start; }
@media (max-width: 860px) { .gift { grid-template-columns: 1fr; } .giftcard { transform: none; } }

/* ---------- Tableaux de tarifs (court / mi-long / long) ---------- */
.price-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 22px; }
.price-card--wide { grid-column: 1 / -1; }
.price-card h3 { font-size: clamp(1.5rem, 3.4vh, 2rem); margin-bottom: .6rem; }
.pt { list-style: none; margin: 0; padding: 0; }
.pt__head, .pt__row { display: grid; grid-template-columns: 1fr repeat(3, 62px); gap: 8px; align-items: baseline; }
.pt__row--5 { grid-template-columns: 1fr repeat(3, 62px) 52px; }
.pt__head { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.pt__head span { text-align: right; }
.pt__row { padding: clamp(5px, 1vh, 9px) 0; border-bottom: 1px dashed var(--line); }
.pt__row:last-child { border-bottom: 0; }
.pt__row--single { grid-template-columns: 1fr auto; }
.pt__n { font-size: .95rem; }
.pt__p { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; text-align: right; white-space: nowrap; }
.pt__d { font-size: .8rem; color: var(--ink-soft); text-align: right; }
@media (min-width: 1000px) {
  .price-card--wide .pt { columns: 1; }
}
@media (max-width: 520px) {
  .pt__head, .pt__row { grid-template-columns: 1fr repeat(3, 46px); gap: 4px; }
  .pt__row--5 { grid-template-columns: 1fr repeat(3, 46px); }
  .pt__row--5 .pt__d { grid-column: 1 / -1; text-align: left; margin-top: -4px; }
  .pt__head.pt__row--5 span:last-child { display: none; }
  .pt__row--single { grid-template-columns: 1fr auto; }
  .pt__p { font-size: 1.05rem; }
  .pt__n { font-size: .88rem; }
  .price-card { padding: 22px 18px; }
}
