/* =========================================================
   Nail Venus Onglerie — inspiré du site « Buttermax »
   Une couleur pleine (rouge cerise vernis), un wordmark géant
   grotesk + script, des objets 3D flottants, de l'encre liquide.
   ========================================================= */

:root {
  --cherry: #e3172d;
  --cherry-deep: #a10b1f;
  --ink: #1c0710;
  --milk: #fbede6;
  --blush: #f6c6cf;
  --plum: #4a1630;
  --gold: #f3d98f;

  --f-grot: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-script: "Mr Dafoe", "Brush Script MT", cursive;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--cherry);
  color: var(--ink);
  font-family: var(--f-grot);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--cherry); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Petits textes uppercase façon Buttermax */
.label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.label--mt { margin-top: 40px; }

.big {
  margin: 0;
  font-size: clamp(56px, 13vw, 220px);
  font-weight: 850;
  font-stretch: 92%;
  line-height: .82;
  letter-spacing: -.055em;
  text-transform: none;
}

.link {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .45s var(--ease);
}
.link:hover, .link:focus-visible { background-size: 100% 1.5px; }

/* split text */
.char, .word { display: inline-block; will-change: transform; }
.char--space { width: .26em; }
.line-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .04em; }

/* ---------------- Loader ---------------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink); color: var(--milk);
  display: grid; place-items: center;
}
.loader__drop {
  width: 28px; height: 28px;
  background: var(--cherry);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.loader__count {
  position: absolute; left: var(--gutter); bottom: 2vh;
  font-size: clamp(80px, 18vw, 260px); font-weight: 850; letter-spacing: -.06em; line-height: .8;
}
.loader__label {
  position: absolute; right: var(--gutter); bottom: 4vh; margin: 0;
  font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .7;
}

/* ---------------- Encre ---------------- */
.ink {
  position: fixed; inset: 0; z-index: 2;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* ---------------- Nav ---------------- */
.nav {
  position: fixed; z-index: 50; inset: 0 0 auto 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--gutter);
  color: var(--ink);
  transition: color .4s;
}
.nav.is-light { color: var(--milk); }
.nav__mark { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; }
.nav__mark svg { transition: transform .6s var(--ease); }
.nav__mark:hover svg { transform: rotate(90deg); }
.nav__badge {
  display: grid; place-items: center;
  width: 74px; height: 34px;
  border: 1.5px solid currentColor; border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--cherry), inset 0 0 0 5.5px currentColor;
  text-decoration: none; font-size: 10px; font-weight: 800; letter-spacing: .14em;
  transition: box-shadow .4s;
}
.nav.is-light .nav__badge { box-shadow: inset 0 0 0 4px var(--ink), inset 0 0 0 5.5px currentColor; }
.nav__pills { justify-self: end; display: flex; gap: 6px; }
.pill {
  display: inline-flex; align-items: center;
  height: 32px; padding: 0 14px;
  border: 1.5px solid currentColor; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  white-space: nowrap;
  transition: background .3s, color .3s;
}
.pill:hover { background: var(--ink); color: var(--cherry); border-color: var(--ink); }
.nav.is-light .pill:hover { background: var(--milk); color: var(--ink); border-color: var(--milk); }
.pill--solid { background: var(--ink); color: var(--milk); border-color: var(--ink); }
.pill--solid:hover { background: var(--milk); color: var(--ink); border-color: var(--milk); }
.nav.is-light .pill--solid { background: var(--cherry); color: var(--ink); border-color: var(--cherry); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 620px;
  overflow: hidden;
  padding: 0 var(--gutter);
}
.hero__waves {
  position: absolute; inset: -20%;
  background:
    repeating-radial-gradient(ellipse at 50% 85%, rgba(28,7,16,.09) 0 1.2px, transparent 1.6px 13px);
  opacity: .9;
  pointer-events: none;
}
.hero__title {
  position: relative; z-index: 1;
  margin: 0; padding-top: clamp(92px, 15vh, 160px);
  font-weight: 400;
  line-height: .8;
}
.hero__grot {
  display: block;
  font-size: clamp(64px, 16.2vw, 300px);
  font-weight: 850;
  font-stretch: 88%;
  letter-spacing: -.065em;
  white-space: nowrap;
}
.hero__script {
  position: absolute;
  right: 1vw; top: calc(clamp(92px, 15vh, 160px) + .5 * clamp(64px, 16.2vw, 300px));
  font-family: var(--f-script);
  font-size: clamp(70px, 15vw, 280px);
  line-height: 1;
  transform: rotate(-7deg);
  white-space: nowrap;
  clip-path: inset(0 0 0 0);
}
.hero__sub {
  position: relative; z-index: 1;
  max-width: 30ch;
  margin: clamp(18px, 3vh, 34px) 0 0 .4vw;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.hero__object {
  position: absolute; z-index: 3;
  left: 50%; top: 60%;
  width: clamp(190px, 21vw, 360px); aspect-ratio: 360 / 500;
  transform: translate(-50%, -50%);
  perspective: 900px;
}
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; visibility: hidden;
  filter: drop-shadow(0 30px 40px rgba(28,7,16,.35));
  user-select: none; -webkit-user-drag: none;
}
.hero__img.is-active { opacity: 1; visibility: visible; }
.hero__meta {
  position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: 22px;
  display: flex; justify-content: space-between; align-items: end; gap: 20px;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.hero__meta p { margin: 0; }
.hero__shade { display: flex; align-items: center; gap: 8px; }
.hero__shade .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.hero__scroll span { display: inline-block; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* ---------------- Cherry Vibes ---------------- */
.vibes { position: relative; }
.vibes__pin {
  position: relative; height: 100vh; overflow: hidden;
}
.vibes__frame {
  position: absolute; inset: 0;
  clip-path: inset(30% 34% 30% 34% round 26px);
  will-change: clip-path;
}
.vibes__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); }
.vibes__word {
  position: absolute; z-index: 1; top: 50%; margin: 0;
  transform: translateY(-50%);
  font-size: clamp(64px, 15vw, 280px); font-weight: 850; font-stretch: 88%;
  letter-spacing: -.06em; line-height: .8;
  color: var(--milk);
  pointer-events: none;
}
.vibes__word--l { right: 52%; }
.vibes__word--r { left: 52%; font-family: var(--f-script); font-weight: 400; letter-spacing: 0; font-size: clamp(70px, 14vw, 260px); }
.vibes__cap {
  position: absolute; z-index: 1; bottom: 26px; margin: 0;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--milk);
}
.vibes__cap--l { left: var(--gutter); }
.vibes__cap--r { right: var(--gutter); text-align: right; }

/* ---------------- About ---------------- */
.about { position: relative; padding: clamp(110px, 20vh, 220px) var(--gutter) clamp(90px, 14vh, 160px); }
.about__text {
  margin: 24px 0 0;
  font-size: clamp(30px, 4.7vw, 84px);
  font-weight: 850; font-stretch: 90%;
  line-height: .96; letter-spacing: -.035em;
  text-transform: uppercase;
}
.about__text .indent { display: inline-block; width: 28vw; }
.about__text .word { opacity: .16; }
.about__foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 40px;
  margin-top: clamp(50px, 8vh, 90px);
}
.about__sign { margin: 0; font-family: var(--f-script); font-size: clamp(70px, 9vw, 150px); line-height: .8; transform: rotate(-6deg); }
.about__stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 70px); }
.about__stats li { display: grid; gap: 4px; border-top: 1.5px solid var(--ink); padding-top: 12px; min-width: 150px; }
.about__stats strong { font-size: clamp(38px, 4.4vw, 70px); font-weight: 850; letter-spacing: -.05em; line-height: .9; }
.about__stats span { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* ---------------- Services ---------------- */
.services { position: relative; padding: clamp(60px, 10vh, 120px) var(--gutter) clamp(120px, 18vh, 200px); }
.services__head { display: grid; gap: 18px; margin-bottom: clamp(40px, 8vh, 100px); }
.services__intro { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(16px, 4vw, 80px); row-gap: clamp(30px, 6vh, 80px);
}
.svc {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center;
  text-align: left; width: 100%;
}
.svc:nth-child(3n+2) { margin-top: clamp(40px, 12vh, 160px); }
.svc:nth-child(3n) { margin-top: clamp(10px, 4vh, 50px); }
.svc__stage { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; }
.svc__blob {
  position: absolute; inset: 12%;
  border-radius: 46% 54% 38% 62% / 55% 38% 62% 45%;
  transform: scale(0) rotate(-20deg);
  transition: transform .7s var(--ease), border-radius 1.2s var(--ease);
}
.svc:hover .svc__blob, .svc:focus-visible .svc__blob {
  transform: scale(1) rotate(0); border-radius: 58% 42% 55% 45% / 42% 60% 40% 58%;
}
.svc__img {
  position: relative; width: 72%;
  filter: drop-shadow(0 24px 30px rgba(28,7,16,.3));
  transition: transform .7s var(--ease);
}
.svc:hover .svc__img, .svc:focus-visible .svc__img { transform: scale(1.08) rotate(-6deg); }
.svc__meta {
  width: 100%;
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: baseline;
  border-top: 1.5px solid var(--ink); padding-top: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.svc__name { font-size: clamp(18px, 1.7vw, 26px); letter-spacing: -.02em; text-transform: none; font-weight: 800; }
.svc:focus-visible { outline: 2px dashed var(--ink); outline-offset: 8px; }

/* ---------------- Drawer ---------------- */
.drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.drawer.is-open { pointer-events: auto; }
.drawer__bg { position: absolute; inset: 0; background: rgba(28,7,16,.55); opacity: 0; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(540px, 100vw);
  background: var(--milk); color: var(--ink);
  padding: 28px clamp(20px, 3vw, 40px) 40px;
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%);
  outline: none;
}
.drawer__close {
  position: sticky; top: 0; float: right;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--milk);
  transition: transform .5s var(--ease);
}
.drawer__close:hover { transform: rotate(90deg); }
.drawer__img { width: 46%; margin: 10px 0 18px; filter: drop-shadow(0 18px 24px rgba(28,7,16,.25)); }
.drawer__title { margin: 8px 0 6px; font-size: clamp(40px, 5vw, 64px); font-weight: 850; letter-spacing: -.05em; line-height: .9; }
.drawer__note { margin: 0 0 22px; font-size: 14px; opacity: .75; }
.drawer__list { list-style: none; margin: 0 0 30px; padding: 0; }
.drawer__list li {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px;
  padding: 14px 0; border-top: 1.5px solid var(--ink);
}
.drawer__list li:last-child { border-bottom: 1.5px solid var(--ink); }
.drawer__list .n { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.drawer__list .p { font-weight: 850; font-size: 20px; letter-spacing: -.03em; white-space: nowrap; }
.drawer__list .d { grid-column: 1 / -1; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .6; }
.drawer__cta { height: 48px; padding: 0 22px; font-size: 12px; }

/* ---------------- Galerie ---------------- */
.gallery { position: relative; background: var(--ink); color: var(--milk); }
.gallery__pin {
  position: relative; height: 100vh; min-height: 620px;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 5vh, 50px);
  overflow: hidden;
}
.gallery__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 0 var(--gutter); }
.gallery__head .big { color: var(--cherry); }
.gallery__track {
  display: flex; gap: clamp(14px, 2vw, 28px);
  padding: 0 var(--gutter);
  width: max-content;
  will-change: transform;
}
.shot { position: relative; z-index: 3; margin: 0; width: clamp(230px, 24vw, 380px); flex: none; }
.shot img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 22px;
  transition: border-radius .6s var(--ease);
}
.shot:hover img { border-radius: 120px 22px 120px 22px; }
.shot figcaption {
  display: flex; gap: 10px; margin-top: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.shot figcaption span { color: var(--cherry); }
.shot--cta {
  display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 4 / 5; height: auto; padding: 26px;
  border-radius: 22px; background: var(--cherry); color: var(--ink);
  text-decoration: none; font-size: clamp(28px, 2.6vw, 42px); font-weight: 850; letter-spacing: -.04em; line-height: .95;
  transition: background .4s;
}
.shot--cta .arrow { align-self: end; font-size: 1.6em; transition: transform .5s var(--ease); }
.shot--cta:hover { background: var(--milk); }
.shot--cta:hover .arrow { transform: translate(6px, -6px); }

/* ---------------- Avis ---------------- */
.reviews { position: relative; padding: clamp(100px, 16vh, 180px) 0 clamp(80px, 12vh, 140px); overflow: hidden; }
.reviews__score { padding: 0 var(--gutter); margin-bottom: clamp(40px, 7vh, 80px); }
.reviews__big {
  margin: 10px 0 0;
  font-size: clamp(110px, 26vw, 460px); font-weight: 850; font-stretch: 85%;
  letter-spacing: -.07em; line-height: .78;
}
.reviews__big small { font-size: .22em; letter-spacing: -.03em; margin-left: .1em; }
.reviews__src { margin: 14px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.marquee { overflow: hidden; position: relative; z-index: 3; }
.marquee__row { display: flex; gap: 18px; width: max-content; padding: 6px 0; }
.review {
  margin: 0; width: clamp(270px, 28vw, 420px); flex: none;
  padding: 26px; border-radius: 24px;
  background: var(--milk);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.review:nth-child(3n+2) { background: var(--ink); color: var(--milk); }
.review:nth-child(3n) { background: var(--blush); }
.review p { margin: 0; font-size: clamp(18px, 1.5vw, 23px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.review cite { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }

/* ---------------- Infos ---------------- */
.infos {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 120px);
  padding: clamp(60px, 10vh, 120px) var(--gutter) clamp(120px, 18vh, 200px);
}
.hours { margin: 20px 0 0; }
.hours div {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 14px 12px; border-top: 1.5px solid var(--ink);
  font-weight: 700;
  transition: background .3s;
}
.hours div:last-child { border-bottom: 1.5px solid var(--ink); }
.hours dt { font-size: clamp(18px, 1.6vw, 24px); font-weight: 850; letter-spacing: -.02em; }
.hours dd { margin: 0; text-align: right; font-size: 14px; font-variant-numeric: tabular-nums; }
.hours .is-today { background: var(--ink); color: var(--milk); border-radius: 12px; }
.hours .is-today dt::after { content: " · aujourd'hui"; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cherry); }
.infos__addr {
  margin: 20px 0 12px; font-style: normal;
  font-size: clamp(30px, 3.4vw, 54px); font-weight: 850; letter-spacing: -.045em; line-height: .95;
}
.infos__list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.infos__list li { padding-left: 22px; position: relative; font-weight: 600; }
.infos__list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--ink); }

/* ---------------- Footer ---------------- */
.footer {
  position: relative;
  background: var(--ink); color: var(--cherry);
  padding: 90px var(--gutter) 24px;
  overflow: hidden;
  border-radius: clamp(24px, 4vw, 60px) clamp(24px, 4vw, 60px) 0 0;
}
.footer__top {
  display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: center;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--milk);
}
.footer__cta {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  margin: clamp(50px, 10vh, 120px) 0 10px;
  text-decoration: none;
}
.footer__word {
  position: relative; z-index: 1;
  font-size: clamp(64px, 15.5vw, 300px); font-weight: 850; font-stretch: 86%;
  letter-spacing: -.065em; line-height: .8;
}
.footer__hand {
  position: relative; z-index: 4;
  width: clamp(110px, 15vw, 260px); margin: 0 -2.5vw;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.5));
  transform-origin: 50% 90%;
}
.footer__sub {
  margin: 18px 0 0; text-align: center; color: var(--milk);
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .75;
}
.footer__bottom {
  display: flex; justify-content: space-between; gap: 20px; margin-top: clamp(60px, 12vh, 140px);
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--milk); opacity: .7;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .nav__pills .pill:not(.pill--solid) { display: none; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .svc:nth-child(n) { margin-top: 0; }
  .svc:nth-child(2n) { margin-top: 60px; }
  .infos { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { grid-template-columns: auto 1fr auto; gap: 10px; }
  .nav__badge { justify-self: center; }
  .hero__title { padding-top: 120px; }
  .hero__grot { font-size: 19vw; }
  .hero__script { font-size: 22vw; top: calc(120px + 15vw); right: 0; }
  .hero__sub { max-width: 24ch; margin-top: 26vw; }
  .loader__label { top: 24px; bottom: auto; }
  .hero__object { top: 66%; width: 52vw; }
  .hero__hint { display: none; }
  .vibes__frame { clip-path: inset(32% 18% 32% 18% round 20px); }
  .about__text .indent { width: 12vw; }
  .services__grid { column-gap: 14px; }
  .svc__meta { grid-template-columns: 1fr auto; }
  .svc__idx { display: none; }
  .gallery__pin { height: auto; min-height: 0; padding: 100px 0; }
  .gallery__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
  .gallery__track::-webkit-scrollbar { display: none; }
  .shot { width: 72vw; scroll-snap-align: center; }
  .footer__cta { flex-direction: column; }
  .footer__hand { margin: -4vw 0; width: 40vw; order: -1; }
  .footer__word { font-size: 24vw; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .about__text .word { opacity: 1; }
  .vibes__frame { clip-path: none; }
}
