/* Anselme : noir, os, rouge d'enseigne de barbier */
:root {
  --black: #0F0F10;
  --char: #18181A;
  --bone: #ECE8E1;
  --muted: #A09B93;
  --red: #D7263D;
  --line: rgb(236 232 225 / .14);
  --display: "Bebas Neue", Impact, sans-serif;
  --sans: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
body { background: var(--black); color: var(--bone); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
::selection { background: var(--red); color: var(--bone); }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 1.6rem + 4.4vw, 6rem); line-height: .92; letter-spacing: .005em; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 28px; background: var(--red); color: var(--bone); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; transition: background-color .3s, color .3s, transform .5s var(--ease); }
.btn:hover { background: var(--bone); color: var(--black); transform: translateY(-2px); }
.btn--sm { padding: 11px 18px; font-size: 12.5px; }
.btn--big { padding: 22px 38px; font-size: 15px; }

/* En-tête */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .4s; }
.top.scrolled { background: rgb(15 15 16 / .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.top__in { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: var(--display); font-size: 2rem; letter-spacing: .06em; }
.brand sup { font-family: var(--sans); font-size: .35em; color: var(--red); vertical-align: top; margin-left: 2px; }
.nav { display: flex; align-items: center; gap: 36px; font-size: 13.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.nav a:not(.btn):hover { color: var(--red); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--bone); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding-top: 120px; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; filter: grayscale(.35) contrast(1.05); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(15 15 16 / .55) 0%, rgb(15 15 16 / .15) 40%, rgb(15 15 16 / .85) 88%, var(--black) 100%); }
.hero__top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.hero__tag { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; line-height: 1.8; }
.hero__side { max-width: 330px; display: grid; gap: 22px; justify-items: start; }
.hero__side p { color: rgb(236 232 225 / .85); }
.hero__word { position: relative; z-index: 1; font-family: var(--display); font-weight: 400; font-size: 25vw; line-height: .78; letter-spacing: -.01em; text-align: center; margin-bottom: -2.2vw; color: var(--bone); }

/* Bandeau défilant */
.ticker { background: var(--red); overflow: hidden; padding: 16px 0; }
.ticker__track { display: flex; width: max-content; animation: tick 30s linear infinite; }
.ticker span { font-family: var(--display); font-size: 2.2rem; line-height: 1; letter-spacing: .04em; padding: 0 28px; white-space: nowrap; }
.ticker span::after { content: "✂"; font-family: var(--sans); font-size: .55em; margin-left: 56px; vertical-align: middle; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Tarifs */
.prices { padding: clamp(90px, 11vw, 150px) 0; }
.prices__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.prices__head p { color: var(--muted); max-width: 28ch; }
.rows { border-top: 1px solid var(--line); }
.rows li { position: relative; display: grid; grid-template-columns: 1fr auto 140px; align-items: center; gap: 24px; padding: 24px 18px; border-bottom: 1px solid var(--line); isolation: isolate; transition: color .4s; }
.rows li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bone); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.rows li:hover { color: var(--black); }
.rows li:hover::before { transform: none; }
.rows h3 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); line-height: 1; letter-spacing: .01em; }
.dur { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rows li:hover .dur { color: var(--black); }
.rows b { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); text-align: right; color: var(--red); }

/* Galerie */
.gallery { padding-bottom: clamp(90px, 11vw, 150px); }
.gallery__grid { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-areas: "chairs fade" "txt fade" "txt tools"; gap: 28px clamp(24px, 4vw, 56px); }
.g-chairs { grid-area: chairs; } .g-fade { grid-area: fade; } .g-txt { grid-area: txt; align-self: center; } .g-tools { grid-area: tools; }
.gallery img { width: 100%; object-fit: cover; filter: grayscale(.2); transition: filter .6s; }
.gallery figure:hover img { filter: none; }
.g-chairs img { aspect-ratio: 16 / 9; }
.g-fade img { aspect-ratio: 3 / 4; }
.g-tools img { aspect-ratio: 4 / 3; }
figcaption { margin-top: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.g-txt .h2 { font-size: clamp(2.6rem, 1.4rem + 3.4vw, 4.6rem); }
.g-txt .h2 span { color: var(--red); }
.g-txt p { margin-top: 22px; color: var(--muted); max-width: 42ch; }

/* Réservation */
.book { background: var(--bone); color: var(--black); padding: clamp(80px, 10vw, 140px) 0; }
.book__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.book__title { font-family: var(--display); font-weight: 400; font-size: clamp(4.4rem, 2rem + 9vw, 11rem); line-height: .85; }
.book__side { display: grid; gap: 26px; justify-items: start; }
.book__side p { font-size: 1.1rem; max-width: 30ch; }
.book .btn:hover { background: var(--black); color: var(--bone); }

/* Pied */
.foot { padding: 72px 0 40px; overflow: hidden; }
.foot__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.foot h3 { font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.foot p { color: var(--muted); }
.foot .foot__word { grid-column: 1 / -1; font-family: var(--display); font-size: 25vw; line-height: .8; color: #232326; text-align: center; margin: 30px 0 -3vw; }
.foot__meta { grid-column: 1 / -1; font-size: 13px; }

@media (max-width: 900px) {
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 22px; background: var(--black); font-family: var(--display); font-size: 3rem; letter-spacing: .04em; font-weight: 400; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav .btn { font-family: var(--sans); font-size: 14px; }
  .burger { display: block; }
  .hero__top { flex-direction: column; }
  .rows li { grid-template-columns: 1fr auto; padding: 20px 8px; }
  .dur { grid-row: 2; }
  .gallery__grid { grid-template-columns: 1fr; grid-template-areas: "chairs" "txt" "fade" "tools"; }
  .book__grid, .foot__grid { grid-template-columns: 1fr; }
  .prices__head { flex-direction: column; align-items: flex-start; }
}
