/* =====================================================================
   ACE BARBER — "The Ace Experience"
   Refonte éditoriale : graphite profond + ivoire chaud + vert émeraude
   (couleur signature dérivée du mur végétal réel du salon).
   ===================================================================== */

/* Polices auto-hébergées (aucune requête vers Google Fonts -> RGPD + perf) */
@font-face { font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/anton-latin.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/fraunces-italic-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/fraunces-italic-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/inter-300-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/inter-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/inter-600-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/inter-700-latin.woff2") format("woff2"); }

:root {
  /* Palette */
  --ink: #0B0C0D;
  --graphite: #121417;
  --graphite-2: #191C20;
  --graphite-3: #21252A;
  --ivory: #ECE7DB;
  --ivory-2: #B9B4A8;
  --ivory-dim: rgba(236, 231, 219, .55);
  --ace: #4C9A73;         /* vert signature */
  --ace-bright: #6DBE93;
  --ace-deep: #0F3A2C;
  --line: rgba(236, 231, 219, .12);
  --line-strong: rgba(236, 231, 219, .22);

  /* Typo */
  --display: "Anton", "Haettenschweiler", "Arial Narrow Bold", Impact, sans-serif;
  --ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --edit: "Fraunces", Georgia, serif;

  /* Layout & motion */
  --wrap: 1240px;
  --pad: clamp(20px, 5vw, 60px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.4, 0, .2, 1);
}

* , *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis-lock, body.menu-open { overflow: hidden; }

body {
  font-family: var(--ui);
  background: var(--ink);
  color: var(--ivory);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ace); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: -999px; top: 0; z-index: 300;
  background: var(--ace); color: var(--ink); padding: 12px 18px; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--ace-bright); outline-offset: 3px; }

/* Index labels (01 — …) */
.idx {
  display: inline-block; font-size: .74rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ace-bright); font-weight: 600; margin-bottom: 22px;
}

/* =====================================================================
   BOUTONS
   ===================================================================== */
.btn {
  --py: 14px; --px: 26px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--py) var(--px); font-weight: 600; font-size: .88rem;
  letter-spacing: .04em; border: 1px solid transparent; overflow: hidden;
  transition: color .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease), transform .5s var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn--lg { --py: 18px; --px: 34px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn:active { transform: scale(.98); }

.btn--solid { background: var(--ivory); color: var(--ink); }
.btn--solid::after {
  content: ""; position: absolute; inset: 0; background: var(--ace); z-index: 0;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn--solid span, .btn--solid { position: relative; }
.btn--solid > * { position: relative; z-index: 1; }
.btn--solid:hover { color: var(--ink); }
.btn--solid:hover::after { transform: translateY(0); }

.btn--line { border-color: var(--line-strong); color: var(--ivory); }
.btn--line:hover { border-color: var(--ace); color: var(--ace-bright); }

.btn--ghost { border-color: var(--line-strong); color: var(--ivory); }
.btn--ghost:hover { background: var(--ivory); color: var(--ink); }

/* =====================================================================
   MICRO-INTRO
   ===================================================================== */
.intro {
  position: fixed; inset: 0; z-index: 250; background: var(--ink);
  display: grid; place-items: center;
  animation: introOut .5s var(--ease) 1s forwards;
}
.intro__word {
  font-family: var(--display); font-size: clamp(3rem, 14vw, 9rem); color: var(--ivory);
  letter-spacing: .04em; opacity: 0;
  animation: introWord .8s var(--ease) .1s forwards;
}
.intro__word::after { content: ""; }
@keyframes introWord {
  0% { opacity: 0; transform: translateY(18px) scale(.98); letter-spacing: .3em; }
  100% { opacity: 1; transform: none; letter-spacing: .04em; }
}
@keyframes introOut {
  0% { clip-path: inset(0 0 0 0); opacity: 1; }
  100% { clip-path: inset(0 0 100% 0); opacity: 1; visibility: hidden; }
}
.intro.is-done { display: none; }

/* =====================================================================
   CURSEUR PERSONNALISÉ (desktop only, activé par JS)
   ===================================================================== */
.cursor {
  position: fixed; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--ace-bright); pointer-events: none; z-index: 400;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  transition: width .3s var(--ease), height .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), opacity .3s;
  opacity: 0; mix-blend-mode: difference; display: none;
}
body.has-cursor .cursor { display: block; }
body.has-cursor .cursor.is-active { opacity: 1; }
body.has-cursor .cursor.is-hover { width: 56px; height: 56px; background: var(--ivory); border-color: var(--ivory); }
body.has-cursor a, body.has-cursor button, body.has-cursor .menu-line { cursor: none; }
body.has-cursor { cursor: none; }

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  padding: clamp(14px, 2vw, 22px) 0;
  transition: background-color .45s var(--ease), backdrop-filter .45s var(--ease), padding .45s var(--ease), border-color .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 12, 13, .8); backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line); padding: 12px 0;
}
.nav__row { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--ace); color: var(--ace-bright);
  font-family: var(--display); font-size: 1.15rem; line-height: 1; padding-top: 2px;
}
.brand__word { font-family: var(--ui); font-weight: 700; letter-spacing: .2em; font-size: .82rem; }
/* Logo image (affiché dès que assets/img/logo.jpg est présent ; sinon repli sur le monogramme).
   Le logo est un disque sombre : on l'entoure d'un léger anneau ivoire pour le détacher du
   header sombre, et on conserve le mot-clé « ACE BARBER » à côté pour la lisibilité. */
.brand__logo { width: 44px; height: 44px; flex: none; object-fit: cover; border-radius: 50%; display: none;
  box-shadow: inset 0 0 0 1px rgba(240, 237, 230, .35), 0 0 0 1px rgba(240, 237, 230, .12); }
.brand__fallback { display: inline-flex; align-items: center; gap: 12px; }
.brand--has-logo .brand__logo { display: block; }
.brand--has-logo .brand__mark { display: none; }

.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-size: .82rem; font-weight: 500; letter-spacing: .03em; color: var(--ivory-2);
  position: relative; padding: 4px 0; transition: color .3s var(--ease);
}
.nav__links a span { color: var(--ace-bright); font-size: .68rem; margin-right: 4px; font-weight: 600; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0; background: var(--ace); transition: width .4s var(--ease); }
.nav__links a:hover { color: var(--ivory); }
.nav__links a:hover::after { width: 100%; }
.nav__links a.is-current { color: var(--ivory); }
.nav__links a.is-current::after { width: 100%; background: var(--ace-bright); }

.nav__end { display: flex; align-items: center; gap: 18px; }
.link-phone { font-size: .82rem; font-weight: 600; letter-spacing: .03em; color: var(--ivory); position: relative; }
.link-phone::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%; background: var(--line-strong); transition: background-color .3s; }
.link-phone:hover::after { background: var(--ace); }

.burger { display: none; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ivory); transition: transform .35s var(--ease), opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Menu mobile plein écran */
.menu {
  position: fixed; inset: 0; z-index: 110; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 100px var(--pad) 40px; animation: menuIn .5s var(--ease);
}
.menu[hidden] { display: none; }
@keyframes menuIn { from { opacity: 0; } to { opacity: 1; } }
.menu__nav { display: flex; flex-direction: column; gap: 6px; }
.menu__nav a {
  font-family: var(--display); font-size: clamp(2.4rem, 11vw, 4rem); color: var(--ivory);
  letter-spacing: .01em; line-height: 1.05; display: flex; align-items: baseline; gap: 14px;
  transition: color .3s var(--ease); text-transform: uppercase;
}
.menu__nav a span { font-family: var(--ui); font-size: .8rem; color: var(--ace-bright); font-weight: 600; }
.menu__nav a:active { color: var(--ace-bright); }
.menu__foot { display: flex; flex-direction: column; gap: 12px; }
.menu__addr { margin-top: 8px; color: var(--ivory-2); font-size: .85rem; }

/* =====================================================================
   01 · HERO
   ===================================================================== */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: clamp(90px, 12vh, 140px) var(--pad) clamp(28px, 5vh, 54px);
  background:
    radial-gradient(130% 80% at 50% -10%, rgba(76,154,115,.10), transparent 55%),
    linear-gradient(180deg, var(--ink), #08090a 80%);
}
.hero__grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero > * { position: relative; z-index: 2; }

.hero__meta { display: flex; flex-direction: column; gap: 2px; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory-2); }
.hero__meta--tl { grid-row: 1; justify-self: start; }
.hero__meta--tr { grid-row: 1; justify-self: end; text-align: right; position: absolute; right: var(--pad); top: clamp(90px, 12vh, 140px); }
.hero__rate { color: var(--ivory); font-size: .95rem; letter-spacing: .05em; }
.hero__rate em { color: var(--ace-bright); font-style: normal; }

.hero__center { grid-row: 2; display: grid; place-items: center; text-align: center; }
.hero__title { display: flex; flex-direction: column; align-items: center; line-height: .82; }
.hero__ace {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(6rem, 30vw, 26rem); letter-spacing: .01em;
  /* Fallback si background-clip:text non supporté */
  color: var(--ivory);
  display: block;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__ace {
    color: transparent; -webkit-text-fill-color: transparent;
    background-image: linear-gradient(rgba(11,12,13,.26), rgba(11,12,13,.5)), url("../img/IMG_3389.jpeg");
    background-image: linear-gradient(rgba(11,12,13,.26), rgba(11,12,13,.5)), image-set(url("../img/IMG_3389.webp") type("image/webp"), url("../img/IMG_3389.jpeg") type("image/jpeg"));
    background-size: cover, cover;
    background-position: center, center 34%;
    background-repeat: no-repeat;
    -webkit-background-clip: text; background-clip: text;
    filter: saturate(1.06) contrast(1.02);
  }
}
.hero__barber {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(2.4rem, 12.5vw, 11rem); letter-spacing: .06em; color: transparent;
  -webkit-text-stroke: 1px var(--ivory-2); margin-top: -.06em;
}

.hero__foot { grid-row: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hero__tag { font-family: var(--edit); font-style: italic; font-size: clamp(1rem, 1.8vw, 1.4rem); color: var(--ivory); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__scroll { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 3; height: 46px; width: 1px; overflow: hidden; }
.hero__scroll-line { position: absolute; inset: 0; background: var(--line-strong); }
.hero__scroll-line::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 40%; background: var(--ace-bright); animation: scrollLine 1.9s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(250%); } }

/* =====================================================================
   02 · MANIFESTO — respiration claire (fond ivoire, texte sombre)
   ===================================================================== */
.manifesto { background: var(--ivory); color: var(--ink); padding: clamp(90px, 15vw, 190px) 0; }
.manifesto .idx { color: var(--ace); }
.manifesto__text {
  font-family: var(--display); text-transform: uppercase; line-height: .98; letter-spacing: .005em;
  font-size: clamp(2.2rem, 7vw, 6rem); max-width: 16ch;
}
.manifesto__em { color: var(--ace); }
.manifesto__sub { margin-top: 34px; max-width: 46ch; color: #3a3d3f; font-size: clamp(1rem, 1.4vw, 1.15rem); }

/* Mots révélés (stagger) */
.reveal-word { display: inline-block; }

/* =====================================================================
   SECTION HEADERS
   ===================================================================== */
.sec-head { margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.sec-title {
  font-family: var(--display); text-transform: uppercase; line-height: .92;
  font-size: clamp(2.6rem, 7vw, 6rem); letter-spacing: .01em; text-wrap: balance;
}

/* Décalage d'ancre : les titres ne passent plus sous la nav fixe */
.manifesto, .services, .work, .place, .rep { scroll-margin-top: 84px; }

/* =====================================================================
   03 · SERVICES — menu premium
   ===================================================================== */
.services { padding: clamp(80px, 12vw, 160px) 0; background: var(--ink); }
.menu-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.menu-line {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px;
  padding: clamp(20px, 3vw, 34px) 4px; border-bottom: 1px solid var(--line);
  position: relative; transition: padding-left .45s var(--ease), color .35s var(--ease);
}
.menu-line::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--ace);
  opacity: .10; transition: width .45s var(--ease); z-index: 0;
}
.menu-line > * { position: relative; z-index: 1; }
.menu-line__no { font-family: var(--ui); font-size: .8rem; font-weight: 600; color: var(--ace-bright); letter-spacing: .1em; transition: color .35s; align-self: center; }
.menu-line__name { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.6rem, 4vw, 3rem); letter-spacing: .01em; line-height: 1; }
.menu-line__name em { font-family: var(--ui); font-style: normal; text-transform: none; font-size: .5em; font-weight: 500; color: var(--ace-bright); letter-spacing: .02em; }
.menu-line__go { font-size: 1.3rem; color: var(--ivory-2); opacity: .35; transition: opacity .35s var(--ease), transform .45s var(--ease), color .35s; }
@media (hover: hover) {
  .menu-line:hover { padding-left: 26px; cursor: pointer; }
  .menu-line:hover::before { width: 100%; }
  .menu-line:hover .menu-line__no { color: var(--ace-bright); }
  .menu-line:hover .menu-line__go { opacity: 1; color: var(--ace-bright); transform: translateX(6px); }
}

.services__note { margin-top: 34px; display: flex; gap: 8px 20px; flex-wrap: wrap; align-items: baseline; color: var(--ivory-2); font-size: 1rem; }
.services__note a { color: var(--ace-bright); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color .3s; }
.services__note a:hover { border-bottom-color: var(--ace); }

/* =====================================================================
   04 · WORK — galerie éditoriale (couleurs conservées)
   ===================================================================== */
.work { padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 8vw, 120px); background: var(--graphite); }
.work__lead { max-width: 34ch; color: var(--ivory-2); font-size: clamp(1rem, 1.3vw, 1.12rem); }
.work__gallery {
  max-width: var(--wrap); margin: clamp(20px,4vw,50px) auto 0; padding-inline: var(--pad);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 28px); align-items: end;
}
.work__item { margin: 0; }
.work__item--a { grid-column: 1 / span 5; }
.work__item--b { grid-column: 6 / span 4; transform: translateY(-8%); }
.work__item--c { grid-column: 10 / span 3; }
.work__frame { position: relative; overflow: hidden; background: var(--graphite-2); border: 1px solid var(--line); }
.work__item--a .work__frame { aspect-ratio: 4/5; }
.work__item--b .work__frame { aspect-ratio: 3/4; }
.work__item--c .work__frame { aspect-ratio: 3/4; }
.work__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transition: transform 1s var(--ease); }
.work__item:hover .work__frame img { transform: scale(1.05); }
.work__item figcaption { margin-top: 14px; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ivory-2); display: flex; gap: 10px; }
.work__item figcaption span { color: var(--ace-bright); font-weight: 600; }

/* =====================================================================
   05 · THE PLACE
   ===================================================================== */
.place { display: grid; grid-template-columns: 1.05fr .95fr; background: var(--ink); }
.place__media { position: relative; min-height: 60vh; overflow: hidden; }
.place__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.place__media > picture:first-child { display: block; height: 100%; }
.place__media-2 {
  position: absolute; right: 5%; bottom: 6%; width: 34%; aspect-ratio: 3/4;
  border: 3px solid var(--ink); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); overflow: hidden;
}
.place__media-2 img { object-position: center 40%; }
.place__panel { padding: clamp(60px, 8vw, 120px) var(--pad); display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); }
.place__panel .sec-title { margin-bottom: clamp(30px, 4vw, 48px); }
.place__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 24px; }
.place__block--wide { grid-column: 1 / -1; }
.place__block h3 { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ace-bright); font-weight: 600; margin-bottom: 10px; }
.place__link { font-size: 1.08rem; line-height: 1.5; transition: color .3s; }
a.place__link:hover { color: var(--ace-bright); }
.place__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: clamp(30px, 4vw, 48px); }

.hours { width: 100%; max-width: 420px; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 9px 0; font-size: .95rem; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 500; color: var(--ivory-2); }
.hours td { text-align: right; color: var(--ivory); font-variant-numeric: tabular-nums; }
.hours .is-closed { color: rgba(236,231,219,.3); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ace-bright); font-weight: 700; }

/* =====================================================================
   06 · REPUTATION
   ===================================================================== */
.rep { padding: clamp(90px, 13vw, 180px) 0; background: var(--graphite); border-top: 1px solid var(--line); }
.rep__hero { display: flex; align-items: center; gap: clamp(24px, 5vw, 60px); flex-wrap: wrap; }
.rep__score { font-family: var(--display); font-size: clamp(6rem, 22vw, 18rem); line-height: .8; color: var(--ivory); }
.rep__side { display: flex; flex-direction: column; gap: 16px; }
.rep__stars { color: var(--ace-bright); font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: .18em; }
.rep__line { font-family: var(--edit); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 2rem); max-width: 20ch; color: var(--ivory); }
.rep__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
.rep__stat { padding-top: 26px; display: flex; flex-direction: column; gap: 8px; }
.rep__stat strong { font-family: var(--display); font-size: clamp(3.4rem, 8vw, 6rem); color: var(--ivory); font-weight: 400; letter-spacing: .01em; line-height: .92; }
.rep__stat > span { color: var(--ivory-2); font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; }
.rep__stat strong span { font: inherit; color: inherit; letter-spacing: inherit; }

/* =====================================================================
   07 · FINAL CTA
   ===================================================================== */
.final { position: relative; padding: clamp(100px, 18vw, 240px) 0; background: radial-gradient(120% 90% at 50% 120%, rgba(76,154,115,.16), transparent 60%), var(--ink); overflow: hidden; text-align: center; }
.final__grain { position: absolute; inset: 0; opacity: .4; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.final__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.final__kicker { font-family: var(--edit); font-style: italic; color: var(--ace-bright); font-size: clamp(1rem, 1.6vw, 1.3rem); margin-bottom: 20px; }
.final__title { font-family: var(--display); text-transform: uppercase; line-height: .92; font-size: clamp(2.6rem, 9vw, 8rem); letter-spacing: .01em; }
.final__em { color: transparent; -webkit-text-stroke: 1.4px var(--ace-bright); }
.final__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: clamp(36px, 5vw, 60px); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.foot { background: var(--ink); border-top: 1px solid var(--line); padding-top: clamp(50px, 7vw, 90px); }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px 30px; padding-bottom: clamp(40px, 5vw, 70px); border-bottom: 1px solid var(--line); }
.foot__brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.foot__brand .foot__ig { flex-basis: 100%; }
/* Logo en pied de page (même traitement qu'en en-tête : anneau ivoire sur fond sombre) */
.foot__logo { width: 52px; height: 52px; flex: none; object-fit: cover; border-radius: 50%; display: none;
  box-shadow: inset 0 0 0 1px rgba(240, 237, 230, .35), 0 0 0 1px rgba(240, 237, 230, .12); }
.foot__brand.has-logo .foot__logo { display: block; }
.foot__brand.has-logo .foot__mark { display: none; }
.foot__link-btn { background: none; border: 0; cursor: pointer; }
.foot__name { font-weight: 700; letter-spacing: .2em; }
.foot__tag { color: var(--ivory-2); font-size: .8rem; margin-top: 4px; }
.foot__col h4 { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ace-bright); margin-bottom: 16px; font-weight: 600; }
.foot__col a, .foot__col span { display: block; color: var(--ivory-2); font-size: .9rem; margin-bottom: 10px; transition: color .3s; }
.foot__col a:hover { color: var(--ivory); }
.foot__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 24px 0 34px; color: rgba(236,231,219,.5); font-size: .78rem; }
.foot__sign { display: inline-flex; align-items: center; gap: 12px; }
.foot__sign-logo { width: 30px; height: 30px; flex: none; object-fit: cover; border-radius: 50%; display: none;
  box-shadow: inset 0 0 0 1px rgba(240, 237, 230, .35), 0 0 0 1px rgba(240, 237, 230, .12); }
.foot__sign.has-logo .foot__sign-logo { display: block; }

/* =====================================================================
   DOCK MOBILE
   ===================================================================== */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; gap: 10px;
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
  background: rgba(11,12,13,.9); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  transform: translateY(120%); transition: transform .45s var(--ease);
}
.dock.is-visible { transform: none; }
.dock__btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; font-weight: 700; font-size: .88rem; letter-spacing: .03em; }
.dock__btn--call { border: 1px solid var(--line-strong); color: var(--ivory); flex: 0 0 40%; }
.dock__btn--book { background: var(--ace); color: var(--ink); }

/* =====================================================================
   INSTAGRAM
   ===================================================================== */
.nav__ig { display: inline-flex; align-items: center; color: var(--ivory-2); transition: color .3s var(--ease); }
.nav__ig:hover { color: var(--ace-bright); }
.menu__ig { display: inline-flex; align-items: center; gap: 10px; color: var(--ivory-2); font-size: .95rem; padding: 4px 0; }
.menu__ig:hover { color: var(--ivory); }
.foot__ig { display: inline-flex; align-items: center; gap: 8px; color: var(--ivory-2); font-size: .85rem; margin-top: 16px; transition: color .3s; }
.foot__ig:hover { color: var(--ace-bright); }

/* =====================================================================
   RÉPUTATION — bouton "Voir tous nos avis Google" + note de sync
   ===================================================================== */
.rep__cta { margin-top: clamp(28px, 4vw, 44px); }
.rep__note { margin-top: 20px; color: var(--ivory-2); font-size: .82rem; letter-spacing: .02em; }

/* =====================================================================
   CARTE (OpenStreetMap, affichée directement — aucun cookie)
   ===================================================================== */
.place__map { margin-top: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius, 4px); overflow: hidden; background: var(--graphite-2); }
.place__map iframe { display: block; width: 100%; height: 320px; border: 0; filter: grayscale(35%); }

/* =====================================================================
   PAGES LÉGALES
   ===================================================================== */
.legal { padding: clamp(110px, 16vh, 170px) 0 clamp(60px, 9vw, 110px); }
.legal__wrap { max-width: 820px; }
.legal__back { display: inline-flex; align-items: center; gap: 8px; color: var(--ivory-2); font-size: .85rem; margin-bottom: 30px; transition: color .3s; }
.legal__back:hover { color: var(--ace-bright); }
.legal h1 { font-family: var(--display); text-transform: uppercase; font-size: clamp(2.2rem, 6vw, 4rem); letter-spacing: .01em; line-height: .95; margin-bottom: 10px; }
.legal__updated { color: var(--ivory-2); font-size: .82rem; margin-bottom: 40px; }
.legal h2 { font-family: var(--ui); font-size: 1.15rem; font-weight: 700; letter-spacing: .01em; margin: 40px 0 12px; color: var(--ivory); }
.legal h3 { font-size: 1rem; font-weight: 600; margin: 22px 0 8px; }
.legal p, .legal li { color: rgba(236,231,219,.78); font-size: .96rem; line-height: 1.7; }
.legal ul { padding-left: 20px; margin: 10px 0; display: grid; gap: 6px; }
.legal a { color: var(--ace-bright); border-bottom: 1px solid transparent; transition: border-color .3s; }
.legal a:hover { border-bottom-color: var(--ace); }
.legal .todo { color: var(--ace-bright); background: rgba(76,154,115,.12); border: 1px solid rgba(76,154,115,.35); padding: 1px 7px; border-radius: 3px; font-size: .86em; font-weight: 600; white-space: nowrap; }
.legal__note { margin-top: 46px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 5px; background: var(--graphite); color: var(--ivory-2); font-size: .9rem; }

/* =====================================================================
   REVEAL SYSTEM (progressive enhancement)
   Contenu visible par défaut ; masqué/animé seulement si le JS confirme.
   ===================================================================== */
.reveal, .reveal-word { opacity: 1; transform: none; }
.reveal-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-ready .reveal.is-in { opacity: 1; transform: none; }
.reveal-ready .reveal-word { opacity: 0; transform: translateY(110%); }
.reveal-ready .reveal-word.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); }
.manifesto__text, .final__title { overflow: hidden; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .place { grid-template-columns: 1fr; }
  .place__media { min-height: 56vh; }
  .place__panel { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .nav__end .link-phone, .nav__end .btn--solid { display: none; }
  .burger { display: flex; }
  .hero__meta--tr { position: static; grid-row: 1; }
  .work__gallery { grid-template-columns: 1fr 1fr; }
  .work__item--a { grid-column: 1 / -1; }
  .work__item--a .work__frame { aspect-ratio: 16/10; }
  .work__item--b { grid-column: 1 / span 1; transform: none; }
  .work__item--c { grid-column: 2 / span 1; }
  .work__item--b .work__frame, .work__item--c .work__frame { aspect-ratio: 3/4; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .dock { display: flex; }
  body { padding-bottom: 74px; }
}

/* =====================================================================
   MOBILE — composition dédiée (≤ 560px)
   Objectif : même impact premium que desktop, pensé pour l'écran vertical.
   ===================================================================== */
@media (max-width: 560px) {
  /* Rythme vertical resserré mais aéré */
  .services, .rep { padding-block: 64px; }
  .work { padding: 64px 0 44px; }
  .manifesto { padding: 72px 0; }
  .final { padding: 82px 0; }
  .sec-head { margin-bottom: 32px; }

  /* ---------- HERO : ACE BARBER seul en grand (centré), CTA ancré en bas ---------- */
  .hero { min-height: 100svh; padding-top: 68px; padding-bottom: 30px;
          grid-template-rows: 1fr auto; align-content: stretch; row-gap: 0; }
  .hero__meta { display: none; }
  .hero__center { grid-row: 1; align-self: center; }
  .hero__foot { grid-row: 2; align-self: end; }
  .hero__title { line-height: .78; }
  .hero__ace { font-size: clamp(6rem, 44vw, 14rem); background-position: center, center 42%; }
  .hero__barber { font-size: clamp(3rem, 19vw, 7.5rem); -webkit-text-stroke-width: .7px; margin-top: -.04em; }
  .hero__tag { font-size: 1.05rem; }
  .hero__foot { flex-direction: column; align-items: stretch; gap: 18px; }
  .hero__cta { width: 100%; flex-direction: column; gap: 10px; }
  .hero__cta .btn { width: 100%; }
  .hero__scroll { display: none; }

  /* ---------- SERVICES ---------- */
  .menu-line { gap: 16px; padding: 22px 2px; }
  .menu-line__name { font-size: 1.9rem; }
  .menu-line--feature .menu-line__name em { display: block; margin-top: 6px; font-size: .42em; }
  .menu-line__go { opacity: .5; }
  .services__note { margin-top: 26px; }

  /* ---------- WORK : grandes images verticales, caption alternée ---------- */
  .work__gallery { grid-template-columns: 1fr; gap: 22px; }
  .work__item, .work__item--a, .work__item--b, .work__item--c { grid-column: 1 / -1; transform: none; }
  .work__item .work__frame { aspect-ratio: 4 / 5; }
  .work__item figcaption { justify-content: flex-start; font-size: .78rem; }
  .work__item--b figcaption { justify-content: flex-end; }

  /* ---------- PLACE ---------- */
  .place__media { min-height: 54vh; }
  .place__media-2 { width: 40%; right: 6%; bottom: 5%; border-width: 3px; }
  .place__panel { padding: 52px var(--pad) 58px; }
  .place__grid { grid-template-columns: 1fr; gap: 24px; }

  /* ---------- REPUTATION ---------- */
  .rep__hero { gap: 16px; }
  .rep__stats { grid-template-columns: 1fr; gap: 0; }
  .rep__stat { border-bottom: 1px solid var(--line); padding: 20px 0; }

  /* ---------- FINAL ---------- */
  .final__title { font-size: clamp(2.6rem, 12vw, 5rem); }

  /* ---------- FOOTER ---------- */
  .foot__grid { grid-template-columns: 1fr; gap: 30px; }
  .menu__foot .btn { width: 100%; }
}

/* Petits écrans (≤ 400px : iPhone SE / Android 360) */
@media (max-width: 400px) {
  .hero__ace { font-size: 41vw; }
  .hero__meta--tr { font-size: .62rem; }
  .hero__meta--tl { font-size: .62rem; }
  .menu-line__name { font-size: 1.7rem; }
  .sec-title { font-size: 2.35rem; }
  .final__title { font-size: 2.4rem; }
  .manifesto__text { font-size: 2rem; }
}

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .intro { display: none !important; }
  .reveal-ready .reveal, .reveal-ready .reveal-word { opacity: 1 !important; transform: none !important; }
  .hero__scroll-line::after { display: none; }
}

/* =====================================================================
   RESPONSIVE — composants de finalisation (carte)
   ===================================================================== */
@media (max-width: 560px) {
  .place__map iframe { height: 240px; }
}
