/* Thème : Maison Lame (démo) — noir, or, typographie à empattements */
:root {
  --bg: #0e0d0b; --bg-alt: #161411; --ink: #f3ede2; --muted: #a39b8c; --line: rgba(243,237,226,.12);
  --accent: #c9a24b; --accent-ink: #15120c; --accent-soft: rgba(201,162,75,.14); --card: #1b1915;
  --radius: 6px; --font-title: "Didot", "Bodoni MT", Georgia, "Times New Roman", serif;
}
body { background: var(--bg); }
.top { background: rgba(14,13,11,.82); }
.brand { font-weight: 400; font-size: 24px; letter-spacing: .02em; }
.brand .pole-mini { width: 12px; height: 26px; border-radius: 6px; background: repeating-linear-gradient(135deg, #c9a24b 0 5px, #f3ede2 5px 10px, #8f2b22 10px 15px); background-size: 100% 30px; animation: pole 1.4s linear infinite; }
.btn { border-radius: 2px; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; }
.btn.ghost { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); }
.status { background: rgba(201,162,75,.12); color: var(--ink); }
@media (max-width: 520px) { .top .status { font-size: 0; padding: 8px; gap: 0; } }
.head h2 { font-weight: 400; }
.head h2 em { color: var(--accent); }
.kicker { letter-spacing: .24em; }

/* Héro */
.hero { position: relative; min-height: calc(100svh - 110px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 40px var(--gutter) 70px; overflow: hidden; --mx: 70%; --my: 40%; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(480px circle at var(--mx) var(--my), rgba(201,162,75,.18), transparent 60%); pointer-events: none; transition: background .2s; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 60px; } }
.hero h1 { font-size: clamp(54px, 9vw, 120px); font-weight: 400; line-height: .98; letter-spacing: -.03em; }
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(40px) rotate(4deg); animation: wordIn .9s var(--ease) forwards; }
.hero h1 .w:nth-child(2) { animation-delay: .12s; } .hero h1 .w:nth-child(4) { animation-delay: .24s; } .hero h1 .w:nth-child(5) { animation-delay: .36s; }
.hero h1 em { font-style: italic; color: var(--accent); }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.hero .lead { color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.6; margin-top: 24px; max-width: 44ch; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.since { display: flex; gap: 30px; margin-top: 44px; color: var(--muted); font-size: 14px; }
.since b { display: block; font-family: var(--font-title); font-size: 34px; color: var(--ink); font-weight: 400; }

.pole-wrap { justify-self: center; display: grid; place-items: center; position: relative; }
.pole { width: 120px; height: min(60vh, 460px); border-radius: 60px; position: relative; overflow: hidden; box-shadow: 0 0 0 10px #1b1915, 0 0 0 11px rgba(201,162,75,.5), 0 50px 80px -30px rgba(201,162,75,.4); background: repeating-linear-gradient(135deg, #f3ede2 0 26px, #8f2b22 26px 52px, #f3ede2 52px 78px, #1f3d73 78px 104px); background-size: 100% 147px; animation: pole 3s linear infinite; }
.pole::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(255,255,255,.25) 35%, rgba(255,255,255,0) 55%, rgba(0,0,0,.5)); }
.pole-cap { width: 150px; height: 34px; border-radius: 17px; background: linear-gradient(#e2c27a, #8a6a26); }
@keyframes pole { to { background-position: 0 147px; } }
@media (max-width: 860px) { .pole-wrap { display: none; } }

/* Bandeau défilant */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee span { font-weight: 400; font-style: italic; color: var(--accent); }
.marquee span:nth-child(even) { color: var(--ink); font-style: normal; }

/* Carte */
.carte { max-width: 820px; }
.prices { background: transparent; box-shadow: none; padding: 0; }
.row { border-bottom: 1px dashed var(--line); }
.row span { font-family: var(--font-title); font-size: 22px; }
.row span small { font-family: -apple-system, "Segoe UI", sans-serif; font-size: 14px; }
.row strong { font-family: var(--font-title); font-weight: 400; font-size: 24px; color: var(--accent); }
.row .dur { color: var(--muted); font-size: 13px; margin-left: 8px; font-family: -apple-system, "Segoe UI", sans-serif; }
.tabs button { border-radius: 2px; background: transparent; box-shadow: inset 0 0 0 1px var(--line); letter-spacing: .06em; text-transform: uppercase; font-size: 13px; }
.tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }

/* Réservation */
.booking { display: grid; grid-template-columns: 1.4fr .6fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .booking { grid-template-columns: 1fr; } }
.booking .card { padding: 30px; }
.booking h3 { font-size: 26px; font-weight: 400; margin-bottom: 18px; }
.choice button { background: var(--bg-alt); border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line); }
.choice button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--accent); background: var(--accent-soft); }
.choice .price-tag { float: right; color: var(--accent); }
.barbers button { display: flex; align-items: center; gap: 12px; }
.av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-title); font-size: 18px; color: var(--accent-ink); flex: none; }
.av.k { background: linear-gradient(135deg, #e2c27a, #8a6a26); }
.av.h { background: linear-gradient(135deg, #f3ede2, #a39b8c); }
.av.s { background: linear-gradient(135deg, #b77a5b, #5e3221); color: #f3ede2; }
.av.any { background: var(--bg); box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
.days button { flex: none; width: 70px; border: none; border-radius: 4px; padding: 12px 4px; background: var(--bg-alt); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.days button b { display: block; font-family: var(--font-title); font-size: 24px; font-weight: 400; }
.days button small { color: var(--muted); font-size: 12px; text-transform: capitalize; }
.days button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--accent); background: var(--accent-soft); }
.days button:disabled { opacity: .3; cursor: not-allowed; text-decoration: line-through; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; margin-top: 18px; }
.slots button { border: none; border-radius: 4px; padding: 11px 0; background: var(--bg-alt); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; }
.slots button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.slots button:disabled { opacity: .25; text-decoration: line-through; cursor: not-allowed; }
.slots-empty { color: var(--muted); margin-top: 16px; font-size: 14px; }
.recap { position: sticky; top: 90px; }
.recap h4 { font-family: var(--font-title); font-weight: 400; font-size: 22px; }
.recap dl { margin-top: 14px; display: grid; gap: 12px; }
.recap dt { color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.recap dd { font-weight: 600; min-height: 1.3em; }
.recap .total { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; display: flex; justify-content: space-between; align-items: baseline; }
.recap .total b { font-family: var(--font-title); font-size: 34px; font-weight: 400; color: var(--accent); }
.stepper span.done { background: var(--accent); }
.field input { background: var(--bg-alt); color: var(--ink); border-color: var(--line); border-radius: 4px; }

/* Équipe : cartes qui se retournent */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .team { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.flip { perspective: 1200px; height: 360px; background: none; border: none; padding: 0; text-align: left; }
.flip-inner { position: relative; width: 100%; height: 100%; transition: transform .8s var(--ease); transform-style: preserve-3d; }
.flip:hover .flip-inner, .flip.on .flip-inner { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; border-radius: 6px; backface-visibility: hidden; -webkit-backface-visibility: hidden; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.face.front { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.face.front .big-av { position: absolute; top: 28px; left: 28px; width: 120px; height: 120px; font-size: 48px; }
.face.front h3 { font-size: 34px; font-weight: 400; }
.face.front p { color: var(--muted); margin-top: 4px; }
.face.front .hint { position: absolute; top: 28px; right: 28px; font-size: 12px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.face.back { transform: rotateY(180deg); background: linear-gradient(160deg, #2a2418, #120f0a); box-shadow: inset 0 0 0 1px var(--accent); justify-content: center; }
.face.back h4 { font-family: var(--font-title); font-weight: 400; font-size: 26px; color: var(--accent); }
.face.back ul { list-style: none; margin-top: 14px; display: grid; gap: 8px; color: var(--ink); }
.face.back li::before { content: "— "; color: var(--accent); }
.face.back .quote { margin-top: 18px; font-family: var(--font-title); font-style: italic; color: var(--muted); }

/* Galerie + visionneuse */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 10px; }
@media (max-width: 760px) { .gal { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } }
.gal button { border: none; border-radius: 4px; position: relative; overflow: hidden; display: grid; place-items: center; font-size: 54px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.gal button:nth-child(1) { grid-row: span 2; grid-column: span 2; font-size: 110px; background: radial-gradient(circle at 30% 30%, #3a2f1a, #120f0a); }
.gal button:nth-child(4) { grid-row: span 2; background: linear-gradient(160deg, #2a2418, #0e0d0b); }
.gal button span { transition: transform .5s var(--ease); }
.gal button:hover span { transform: scale(1.18) rotate(-5deg); }
.gal button::after { content: attr(data-cap); position: absolute; left: 12px; bottom: 10px; font-size: 13px; color: var(--ink); opacity: 0; transform: translateY(8px); transition: .3s; }
.gal button:hover::after { opacity: 1; transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.92); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox .lb-img { font-size: min(40vw, 260px); transform: scale(.85); transition: transform .4s var(--ease); }
.lightbox.open .lb-img { transform: none; }
.lightbox .lb-cap { position: absolute; bottom: 40px; left: 0; right: 0; text-align: center; font-family: var(--font-title); font-size: 22px; color: var(--accent); }
.lightbox button { position: absolute; background: none; border: none; color: var(--ink); font-size: 34px; padding: 16px; }
.lb-close { top: 10px; right: 14px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* Carte de fidélité */
.loyal { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .loyal { grid-template-columns: 1fr; } }
.stamp-card { background: linear-gradient(140deg, #2a2418, #120f0a 70%); border-radius: 14px; padding: 28px; box-shadow: inset 0 0 0 1px rgba(201,162,75,.5), 0 40px 70px -30px rgba(201,162,75,.35); transform: rotate(-3deg); }
.stamp-card header { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-title); font-size: 24px; }
.stamp-card header small { font-family: -apple-system, "Segoe UI", sans-serif; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 22px; }
.stamps i { aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(201,162,75,.5); display: grid; place-items: center; font-style: normal; font-size: 20px; }
.stamps i.on { border-style: solid; background: var(--accent); color: var(--accent-ink); transform: scale(0) rotate(-40deg); }
.loyal.in .stamps i.on { animation: stamp .45s var(--ease) forwards; animation-delay: calc(var(--n) * 120ms); }
.stamps i.gift { border-color: var(--accent); color: var(--accent); font-size: 12px; font-weight: 700; text-align: center; }
@keyframes stamp { to { transform: none; } }

/* Infos */
.hours tr.today td { background: var(--accent-soft); }
.hours tr.today td:first-child::after { color: var(--accent); }
.access { list-style: none; display: grid; gap: 12px; margin-top: 14px; color: var(--muted); }
.access b { color: var(--ink); }

.slide blockquote { font-weight: 400; font-style: italic; }
.dots button[aria-current="true"] { background: var(--accent); }
.faq summary::after { color: var(--accent); }
.callbar .ghost { background: var(--card); }
