/* Maison Lune — galerie minimale (fiche twomuch-studio, squelette grotesque-suisse en variante galerie).
   Plateau gris, noir carbone, une seule grotesque en 500, pilules, citron rationné à une action par écran. */
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --plateau: #e5e7eb; --craie: #f4f4f4; --blanc: #fff; --carbone: #000; --beton: #dedede; --citron: #e2ff70;
  --encre-2: #3c3f45; --filet: #c4c7ce;
  --police: "Inter", "Helvetica Neue", Arial, sans-serif;
  --t-1: clamp(3rem, 1rem + 6.6vw, 6.4rem);
  --t-2: clamp(2.5rem, 1.4rem + 3.4vw, 4.6rem);
  --gouttiere: clamp(18px, 4vw, 56px); --largeur-max: 1320px; --e-section: clamp(72px, 9vw, 136px);
  --cadrage: 50% 30%; --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--plateau); color: var(--carbone); font: 500 1.0625rem/1.6 var(--police); letter-spacing: -.02em; font-synthesis: none; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
:focus-visible { outline: 2px solid var(--carbone); outline-offset: 3px; }
.contenu { width: 100%; max-width: var(--largeur-max); margin: 0 auto; padding-inline: var(--gouttiere); }
.lien-saut { position: absolute; left: -999px; top: 8px; background: var(--carbone); color: #fff; padding: 10px 18px; border-radius: 999px; z-index: 100; }
.lien-saut:focus { left: 8px; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.035em; line-height: 1; }

/* pilules : seule forme d'interaction */
.pilule { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: 0 26px; border-radius: 999px; text-decoration: none; background: var(--beton); color: var(--carbone); transition: transform 160ms var(--ease), background 200ms; white-space: nowrap; }
.pilule:hover { background: #d1d1d1; }
.pilule:active { transform: scale(.97); }
.pilule.citron { background: var(--citron); }
.pilule.citron:hover { background: #d6f55f; }
.pilule.noire { background: var(--carbone); color: #fff; }
.pilule.noire:hover { background: #222; }
.pilule.mince { min-height: 40px; padding: 0 18px; }

/* barre centrale flottante */
.entete { position: sticky; top: 0; z-index: 50; padding: 14px var(--gouttiere); display: flex; justify-content: center; pointer-events: none; }
.barre-nav { pointer-events: auto; display: flex; align-items: center; gap: 6px; background: var(--carbone); color: #fff; border-radius: 999px; padding: 6px 6px 6px 22px; max-width: 100%; }
.marque { text-decoration: none; font-weight: 500; font-size: 1.125rem; margin-right: 14px; white-space: nowrap; }
.menu { display: flex; align-items: center; gap: 2px; }
.menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; transition: background 200ms; }
.menu a:hover, .menu a[aria-current="true"] { background: #2a2a2a; }
.menu a.pilule { background: var(--citron); color: var(--carbone); margin-left: 6px; }
.menu-bouton { display: none; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #2a2a2a; color: #fff; }
.menu-mobile { display: none; }

/* hero */
.hero { padding-block: clamp(12px, 3vw, 40px) clamp(40px, 6vw, 80px); }
.hero .contenu { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 80px); min-height: 0; align-items: stretch; }
.hero-texte { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.hero h1 { font-size: var(--t-1); padding-top: clamp(8px, 2vw, 24px); }
.ligne { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.ligne > span { display: block; }
.hero-bas { display: grid; gap: 26px; justify-items: start; }
.hero-bas p { font-size: 1.1875rem; max-width: 42ch; color: var(--encre-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lune { display: flex; align-items: center; gap: 14px; font-size: .9375rem; color: var(--encre-2); }
.lune i { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--carbone); background: conic-gradient(var(--carbone) calc(var(--p) * 1%), transparent 0); }
.scene { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 12px; align-self: end; width: min(100%, calc((100svh - 250px) * 1.06)); justify-self: end; margin-bottom: 26px; }
.scene .portrait { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: 4 / 5; overflow: hidden; background: #d4d7dc; }
.portrait img, .objet img { width: 100%; height: 100%; object-fit: cover; }
.portrait img { object-position: var(--cadrage); }
/* vignettes : calées sur la grille de la scène (colonne de droite, alignées sur le haut et le bas du portrait) */
.flottant { grid-column: 2; grid-row: 1; align-self: start; aspect-ratio: 1; overflow: hidden; background: var(--plateau); }
.flottant.b { grid-row: 2; align-self: end; }
.flottant img { width: 100%; height: 100%; object-fit: cover; }
.legende-hero { margin-top: 12px; font-size: .9375rem; color: var(--encre-2); }

@keyframes monte { from { transform: translateY(108%); } to { transform: none; } }
@keyframes masque { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes zoom { from { transform: scale(1.08); } to { transform: none; } }
@keyframes pose { from { transform: translateY(16px); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero .ligne > span { animation: monte 1000ms var(--ease) both; }
  .hero .ligne:nth-child(2) > span { animation-delay: 90ms; }
  .hero .ligne:nth-child(3) > span { animation-delay: 180ms; }
  .scene .portrait { animation: masque 1200ms var(--ease) 100ms both; }
  .scene .portrait img { animation: zoom 1700ms var(--ease) 100ms both; }
  .flottant { animation: masque 900ms var(--ease) 700ms both; }
  .flottant.b { animation-delay: 880ms; }
  .hero-bas { animation: pose 900ms var(--ease) 450ms both; }
}

section[data-slot] { padding-block: var(--e-section); }
.tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.tete h2 { font-size: var(--t-2); }
.tete p { max-width: 44ch; color: var(--encre-2); font-size: 1.125rem; }

/* objets : posés sur le plateau, sans cadre */
.pieces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(16px, 2.5vw, 40px); }
.piece { display: flex; flex-direction: column; }
.objet { aspect-ratio: 1; overflow: hidden; }
.objet img { transition: transform 700ms var(--ease); }
.piece:hover .objet img { transform: scale(1.04); }
.piece h3 { font-size: 1.5rem; letter-spacing: -.03em; margin-top: 14px; }
.piece p { color: var(--encre-2); margin-top: 8px; font-size: 1rem; line-height: 1.5; max-width: 38ch; }
.piece .bas { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.prix { background: var(--blanc); border-radius: 999px; padding: 8px 16px; font-size: 1rem; }
.note { margin-top: 36px; color: var(--encre-2); }

/* atelier */
.atelier { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 110px); align-items: center; }
.atelier .portrait { aspect-ratio: 4 / 5; overflow: hidden; background: #d4d7dc; }
.atelier .portrait img { object-position: 50% 32%; }
.atelier h2 { font-size: var(--t-2); }
.atelier p { margin-top: 20px; font-size: 1.1875rem; max-width: 50ch; color: var(--encre-2); }
.reperes { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.reperes li { background: var(--craie); border-radius: 999px; padding: 10px 18px; font-size: 1rem; }

/* pièce de près */
.fiche { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; background: var(--craie); border-radius: 28px; padding: clamp(20px, 4vw, 56px); }
.fiche .objet { border-radius: 20px; }
.fiche h2 { font-size: var(--t-2); }
.fiche .lede { margin-top: 18px; color: var(--encre-2); font-size: 1.125rem; max-width: 44ch; }
.options { margin-top: 28px; }
.options > span { display: block; font-size: .9375rem; color: var(--encre-2); margin-bottom: 10px; }
.choix { display: flex; flex-wrap: wrap; gap: 8px; }
.choix button { min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--beton); transition: background 150ms; }
.choix button[aria-pressed="true"] { background: var(--carbone); color: #fff; }
.details { margin-top: 28px; display: grid; gap: 0; }
.details li { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--filet); }
.details li span:first-child { color: var(--encre-2); }
.achat { margin-top: 28px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.achat .prix-grand { font-size: 2rem; letter-spacing: -.03em; }

/* livraison */
.zone { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.tarifs li { display: flex; justify-content: space-between; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--filet); }
.tarifs li:first-child { border-top: 1px solid var(--filet); }
.tarifs small { display: block; color: var(--encre-2); font-size: .9375rem; font-weight: 500; }
.tarifs .p { white-space: nowrap; }
.retours { background: var(--craie); border-radius: 24px; padding: clamp(22px, 3vw, 36px); }
.retours h3 { font-size: 1.75rem; }
.retours p { margin-top: 14px; color: var(--encre-2); }

.faq { max-width: 860px; display: grid; gap: 10px; }
.faq details { background: var(--craie); border-radius: 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 26px; min-height: 56px; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-size: 1.25rem; letter-spacing: -.025em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 24px; color: var(--encre-2); max-width: 62ch; }

.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); }
.contact h2 { font-size: var(--t-2); }
.contact .intro { margin-top: 20px; color: var(--encre-2); font-size: 1.1875rem; max-width: 38ch; }
.coord { margin-top: 28px; display: grid; gap: 8px; }
.coord li { background: var(--craie); border-radius: 999px; padding: 12px 20px; display: flex; justify-content: space-between; gap: 12px; }
.coord li span:first-child { color: var(--encre-2); }
form { display: grid; gap: 16px; background: var(--craie); border-radius: 28px; padding: clamp(20px, 3vw, 36px); }
.champ { display: grid; gap: 6px; }
label { font-size: .9375rem; color: var(--encre-2); padding-left: 18px; }
input, select, textarea { width: 100%; min-height: 52px; border: 1px solid transparent; background: var(--blanc); border-radius: 26px; padding: 12px 20px; }
textarea { min-height: 120px; border-radius: 22px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 0; border-color: var(--carbone); }
.rgpd { display: flex; gap: 12px; align-items: flex-start; padding-left: 4px; font-size: .9375rem; color: var(--encre-2); }
.rgpd input { width: 20px; min-height: 20px; height: 20px; margin-top: 3px; accent-color: var(--carbone); flex: none; }
.erreur { font-size: .9375rem; padding-left: 18px; }
.confirmation { text-align: left; padding: 12px 6px; }
.confirmation p { font-size: 1.75rem; letter-spacing: -.03em; line-height: 1.15; }
.confirmation small { display: block; margin-top: 12px; color: var(--encre-2); font-size: .9375rem; }

.pied { padding-block: 40px 100px; font-size: .9375rem; color: var(--encre-2); }
.pied .contenu { display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; }
.pied a { color: var(--carbone); }
.barre { display: none; }

@media (max-width: 960px) {
  .menu { display: none; }
  .menu-bouton { display: inline-flex; align-items: center; }
  .entete { justify-content: stretch; }
  .barre-nav { width: 100%; justify-content: space-between; }
  .menu-mobile { display: block; position: fixed; left: var(--gouttiere); right: var(--gouttiere); top: 76px; background: var(--carbone); color: #fff; border-radius: 28px; padding: 10px; clip-path: inset(0 0 100% 0 round 28px); visibility: hidden; transition: clip-path 280ms var(--ease), visibility 0s 280ms; z-index: 49; }
  .menu-mobile.ouvert { clip-path: inset(0 0 0 0 round 28px); visibility: visible; transition: clip-path 280ms var(--ease); }
  .menu-mobile a { display: flex; align-items: center; min-height: 52px; padding: 0 16px; font-size: 1.5rem; letter-spacing: -.03em; text-decoration: none; border-radius: 999px; }
  .menu-mobile a:active { background: #2a2a2a; }
  .hero .contenu { grid-template-columns: 1fr; min-height: 0; }
  .hero-texte { display: contents; }
  .hero h1 { order: 1; padding-top: 4px; }
  .scene { order: 2; width: 100%; justify-self: stretch; margin-bottom: 20px; grid-template-columns: 1fr 1fr; }
  .scene .portrait { grid-column: 1 / -1; grid-row: 1; }
  .flottant { grid-column: 1; grid-row: 2; align-self: auto; aspect-ratio: 16 / 10; }
  .flottant.b { grid-column: 2; grid-row: 2; align-self: auto; }
  .hero-bas { order: 3; }
  .pieces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atelier, .fiche, .zone, .contact { grid-template-columns: 1fr; }
  .barre { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; background: var(--carbone); color: #fff; border-radius: 999px; padding: 6px 6px 6px 22px; justify-content: space-between; align-items: center; }
  .barre .pilule { min-height: 44px; }
}
@media (max-width: 560px) {
  .pieces { grid-template-columns: 1fr; }
  .objet { aspect-ratio: 4 / 3.4; }
  .piece .objet img { object-position: 50% 50%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
section.hero[data-slot] { padding-block: clamp(12px, 3vw, 40px) clamp(40px, 6vw, 80px); }
