/* Makazé — atelier rétro-industriel : corten, vert sapin, néon rose, béton ciré */
:root {
  --rust: #7A3B1E;
  --rust-deep: #4E2614;
  --sapin: #1F3A2B;
  --sapin-deep: #142820;
  --neon: #E0359B;
  --neon-soft: #F58AC6;
  --beton: #EDE6DC;
  --taupe: #CFC4B6;
  --chene: #B07A45;
  --moutarde: #D6A53A;
  --ink: #221913;
  --ink-soft: #4A3D33;
  --cream: #F6EFE4;
  --steel: #B9B5AE;

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-neon: "Yellowtail", "Brush Script MT", cursive;

  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 3rem; --s6: 5rem; --s7: 8rem;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--beton);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); font-variation-settings: "opsz" 120; }
h2 em, h1 em { font-style: italic; font-weight: 400; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--neon); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--cream); padding: .75rem 1rem; border-radius: 6px;
}
.skip:focus { top: 1rem; }

/* ---------- Néon ---------- */
.neon {
  font-family: var(--f-neon);
  font-weight: 400;
  color: #FFE3F3;
  text-shadow:
    0 0 2px #fff,
    0 0 8px var(--neon),
    0 0 18px var(--neon),
    0 0 36px rgba(224, 53, 155, .6);
  letter-spacing: 0;
  line-height: 1;
}
.neon--sm { font-size: 2rem; }
.neon--md { font-size: 2.6rem; margin: 0 0 .5rem; }
.neon--xl { display: block; font-size: clamp(4.5rem, 2.5rem + 9vw, 9rem); margin: 0 0 .1em -.04em; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.5rem;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.1 var(--f-body); text-decoration: none; letter-spacing: .01em;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s;
}
.btn--neon { background: var(--neon); color: var(--ink); box-shadow: 0 0 0 0 rgba(224,53,155,.0); }
.btn--neon:hover { transform: translateY(-2px); box-shadow: 0 0 22px rgba(224,53,155,.55); }
.btn--ghost { border-color: rgba(246,239,228,.7); color: var(--cream); }
.btn--ghost:hover { background: var(--cream); color: var(--ink); }
.btn--sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 40, 32, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--cream);
  border-bottom: 1px solid rgba(246,239,228,.1);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; padding-top: .2rem; }
.nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .85rem;
  text-decoration: none; font-weight: 500; font-size: .98rem; border-radius: 999px;
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--neon-soft); }
.nav { display: none; }
@media (min-width: 900px) { .nav { display: block; } }
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--sapin);
  color: var(--cream);
  overflow: hidden;
  padding: var(--s5) 0 var(--s6);
}
.hero-plate {
  /* tôle corten perforée, comme la façade */
  position: absolute; inset: 0 0 0 auto; width: 46%;
  background:
    radial-gradient(circle at 50% 50%, rgba(20,40,32,.9) 0 2.2px, transparent 2.8px) 0 0 / 14px 14px,
    linear-gradient(160deg, #8E4724 0%, var(--rust) 45%, var(--rust-deep) 100%);
  display: none;
}
.hero-plate::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(214,165,58,.18), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(0,0,0,.35), transparent 60%);
}
.hero-grid { position: relative; display: grid; gap: var(--s5); align-items: center; }
.eyebrow {
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--neon-soft); margin-bottom: var(--s3);
}
.hero h1 { font-weight: 500; }
.hero-line {
  display: block; font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
  font-variation-settings: "opsz" 144; max-width: 16ch;
}
.hero-lead { margin-top: var(--s3); max-width: 46ch; font-size: 1.12rem; color: #E7DDD0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: var(--s4) 0 var(--s3); }
.hero-rating { font-size: .95rem; color: #E7DDD0; margin: 0; }
.stars { color: var(--moutarde); letter-spacing: .12em; margin-right: .35rem; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 460px); }
.hero-photo {
  margin: 0; border-radius: 240px 240px 6px 6px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  border: 6px solid var(--steel);
}
.hero-photo img { width: 100%; aspect-ratio: 800 / 990; object-fit: cover; }
.mirror {
  margin: 0; border-radius: 50%; overflow: hidden;
  border: 7px solid var(--steel);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.5), 0 18px 40px -14px rgba(0,0,0,.55);
  background: var(--taupe);
}
.mirror img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.mirror--hero {
  position: absolute; width: 42%; left: -14%; bottom: -6%;
}
.mirror--hero img { object-position: 50% 30%; }
.bulbs { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); display: flex; gap: 22px; }
.bulbs i {
  width: 14px; height: 14px; border-radius: 50%;
  background: #FFF3D6;
  box-shadow: 0 0 10px 3px rgba(255, 214, 140, .8), 0 0 28px 8px rgba(255, 200, 110, .35);
}

@media (min-width: 960px) {
  .hero { padding: var(--s6) 0 var(--s7); min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; }
  .hero-plate { display: block; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .hero-visual { justify-self: end; width: min(100%, 440px); margin-right: 3%; }
  .mirror--hero { left: -30%; bottom: -8%; width: 46%; }
}

/* Néon : un clignotement au chargement */
@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: .35; text-shadow: none; }
}
[data-flicker].is-on { animation: flicker 1.6s linear 1; }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--neon); color: var(--ink);
  font-weight: 600; font-size: .98rem;
  border-block: 2px solid var(--ink);
}
.ticker p {
  margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: .35rem .9rem; padding: .7rem 1rem; text-align: center;
}
.ticker a { text-decoration: underline; text-underline-offset: 3px; display: inline-flex; min-height: 44px; align-items: center; }
.ticker .dot { font-size: .5rem; }

/* ---------- Sections ---------- */
.section { padding: var(--s6) 0; }
@media (min-width: 960px) { .section { padding: var(--s7) 0; } }
.kicker {
  font-size: .82rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--rust); margin-bottom: var(--s2);
  display: inline-flex; align-items: center; gap: .6rem;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.kicker--light { color: var(--neon-soft); }

/* Le salon */
.salon-grid { display: grid; gap: var(--s5); align-items: center; }
.salon-text h2 { margin-bottom: var(--s3); max-width: 18ch; }
.salon-text p { max-width: 58ch; color: var(--ink-soft); }
.facts { list-style: none; padding: 0; margin: var(--s4) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 2px solid var(--ink); padding-top: var(--s3); }
.facts strong { display: block; font-family: var(--f-display); font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem); font-weight: 600; color: var(--rust); line-height: 1.1; }
.facts span { font-size: .9rem; color: var(--ink-soft); line-height: 1.35; display: block; margin-top: .3rem; }
.salon-visual { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 1rem; align-items: end; }
.mirror--lg { grid-column: 1 / 2; }
.frame { margin: 0; }
.frame img { border: 6px solid var(--ink); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.frame figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: .5rem; font-style: italic; font-family: var(--f-display); }
@media (min-width: 960px) {
  .salon-grid { grid-template-columns: 1fr 1fr; gap: var(--s6); }
  .mirror--lg { transform: translateY(-18%); }
}

/* Carreaux de ciment */
.tiles {
  height: 56px;
  background-color: #EFE7E4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Crect width='56' height='56' fill='%23EFE7E4'/%3E%3Cpath d='M28 0 Q40 14 28 28 Q16 14 28 0Z M28 28 Q40 42 28 56 Q16 42 28 28Z' fill='%23CBDAD6'/%3E%3Cpath d='M0 28 Q14 16 28 28 Q14 40 0 28Z M28 28 Q42 16 56 28 Q42 40 28 28Z' fill='%23E6C9D2'/%3E%3Cellipse cx='28' cy='28' rx='7' ry='11' fill='%232B2724'/%3E%3Cellipse cx='0' cy='0' rx='7' ry='11' fill='%232B2724'/%3E%3Cellipse cx='56' cy='0' rx='7' ry='11' fill='%232B2724'/%3E%3Cellipse cx='0' cy='56' rx='7' ry='11' fill='%232B2724'/%3E%3Cellipse cx='56' cy='56' rx='7' ry='11' fill='%232B2724'/%3E%3C/svg%3E");
  background-size: 56px 56px;
  border-block: 2px solid var(--ink);
}

/* Prestations : plaque noire sur corten */
.prestations {
  position: relative; color: var(--cream);
  background:
    radial-gradient(circle at 50% 50%, rgba(0,0,0,.28) 0 1.8px, transparent 2.4px) 0 0 / 12px 12px,
    linear-gradient(170deg, #8A4423, var(--rust) 40%, var(--rust-deep));
}
.presta-grid { display: grid; gap: var(--s5); align-items: start; }
.presta-intro h2 { margin-bottom: var(--s3); }
.presta-intro p { color: #F1E2D4; max-width: 40ch; margin-bottom: var(--s4); }
.plate {
  background: #161311; color: var(--cream);
  padding: var(--s4) var(--s3);
  border-radius: 4px;
  box-shadow: 0 30px 50px -24px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.08);
  position: relative;
}
.plate::before, .plate::after {
  content: ""; position: absolute; top: 14px; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d9d5cf, #6f6a63);
}
.plate::before { left: 14px; } .plate::after { right: 14px; }
.plate-head {
  text-align: center; text-transform: uppercase; letter-spacing: .22em; font-size: .82rem; font-weight: 600;
  border-bottom: 1px solid rgba(246,239,228,.25); padding-bottom: var(--s2); margin-bottom: var(--s2);
}
.plate-head span { font-family: var(--f-neon); text-transform: none; letter-spacing: 0; font-size: 1.9rem; color: var(--neon-soft); display: block; line-height: 1.1; }
.plate-list { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.plate-list li {
  counter-increment: p;
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "n h" "n d" "n pr";
  column-gap: 1rem; padding: var(--s2) 0;
  border-bottom: 1px dashed rgba(246,239,228,.2);
}
.plate-list li:last-child { border-bottom: 0; }
.plate-list li::before {
  content: counter(p, decimal-leading-zero); grid-area: n;
  font-family: var(--f-display); font-style: italic; color: var(--moutarde); font-size: 1.1rem; padding-top: .2rem;
}
.plate-list h3 { grid-area: h; font-size: 1.35rem; font-weight: 500; }
.plate-list p { grid-area: d; margin: .25rem 0 .35rem; color: #CFC6BA; font-size: .97rem; }
.plate-list .price { grid-area: pr; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--neon-soft); }
@media (min-width: 640px) {
  .plate { padding: var(--s5) var(--s4); }
  .plate-list li { grid-template-columns: auto 1fr auto; grid-template-areas: "n h pr" "n d d"; align-items: baseline; }
  .plate-list .price { text-align: right; }
}
@media (min-width: 960px) {
  .presta-grid { grid-template-columns: .8fr 1.2fr; gap: var(--s6); }
  .presta-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* Le blond */
.blond { background: #F3E7D3; }
.blond-grid { display: grid; gap: var(--s5); align-items: center; }
.mirror--blond { width: min(100%, 440px); justify-self: center; border-width: 9px; }
.mirror--blond img { object-position: 50% 35%; }
.blond-text h2 { margin-bottom: var(--s3); max-width: 16ch; }
.blond-text p { color: var(--ink-soft); max-width: 52ch; }
.link-arrow {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; color: var(--rust); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.link-arrow:hover { color: var(--ink); }
@media (min-width: 960px) { .blond-grid { grid-template-columns: .9fr 1.1fr; gap: var(--s6); } }

/* Galerie */
.section-head { margin-bottom: var(--s5); }
.gallery { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.g { margin: 0; overflow: hidden; border-radius: 4px; background: var(--taupe); }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g:hover img { transform: scale(1.04); }
.g--wide { grid-column: 1 / -1; }
.g--wide img { aspect-ratio: 16 / 9; }
.g:not(.g--wide):not(.g--round) img { aspect-ratio: 1; }
.g--round { border-radius: 50%; border: 6px solid var(--steel); aspect-ratio: 1; }
.g--round img { aspect-ratio: 1; }
@media (min-width: 960px) {
  .gallery { grid-template-columns: repeat(6, 1fr); gap: 1.25rem; align-items: center; }
  .g--wide { grid-column: span 4; }
  .g--round { grid-column: span 2; }
  .g:not(.g--wide):not(.g--round) { grid-column: span 3; }
  .g:not(.g--wide):not(.g--round) img { aspect-ratio: 4 / 3; }
}

/* Avis */
.avis { background: var(--sapin); color: var(--cream); }
.avis-head { margin-bottom: var(--s5); }
.avis-head h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2em .4em; }
.big-score { font-size: clamp(4rem, 3rem + 5vw, 7rem); font-weight: 700; color: var(--moutarde); line-height: .9; }
.reviews { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.review {
  background: var(--sapin-deep);
  border-left: 3px solid var(--neon);
  padding: var(--s3) var(--s3) var(--s2);
}
.review blockquote { margin: 0; }
.review blockquote p { font-family: var(--f-display); font-size: 1.22rem; line-height: 1.4; font-weight: 400; margin-bottom: .8rem; }
.who { font-weight: 600; color: var(--neon-soft); margin: 0; font-size: .95rem; letter-spacing: .04em; }
.who::before { content: "— "; }
.avis-more { margin: var(--s4) 0 0; }
.avis-more a { display: inline-flex; min-height: 44px; align-items: center; color: var(--cream); font-weight: 600; text-underline-offset: 5px; }
.avis-more a:hover { color: var(--neon-soft); }
@media (min-width: 700px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .reviews { grid-template-columns: repeat(6, 1fr); }
  .review { grid-column: span 2; }
  .review:nth-child(1), .review:nth-child(2) { grid-column: span 3; }
  .review:nth-child(1) blockquote p, .review:nth-child(2) blockquote p { font-size: 1.45rem; }
}

/* Infos */
.infos-grid { display: grid; gap: var(--s5); }
.infos-text h2 { margin-bottom: var(--s4); }
.info-block { padding: var(--s3) 0; border-top: 2px solid var(--ink); }
.info-block h3 { font-family: var(--f-body); font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; color: var(--rust); font-weight: 600; margin-bottom: .6rem; }
.info-block p { margin: 0; font-size: 1.1rem; }
.tel { font-family: var(--f-display); font-size: 1.9rem; font-weight: 600; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.tel:hover { color: var(--rust); }
.hours { border-collapse: collapse; width: 100%; max-width: 380px; font-size: 1.02rem; }
.hours th, .hours td { text-align: left; padding: .35rem 0; border-bottom: 1px solid rgba(34,25,19,.12); }
.hours th { font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: var(--rust); }
.hours tr.is-today th::after { content: " · aujourd’hui"; font-weight: 500; font-size: .85rem; }
.map { display: flex; flex-direction: column; gap: .75rem; }
.map iframe { width: 100%; height: 420px; border: 6px solid var(--ink); border-radius: 4px; filter: saturate(.75) sepia(.15); background: var(--taupe); }
.map-link { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; color: var(--rust); text-underline-offset: 4px; }
@media (min-width: 960px) {
  .infos-grid { grid-template-columns: .9fr 1.1fr; gap: var(--s6); align-items: start; }
  .map { position: sticky; top: calc(var(--header-h) + 2rem); }
  .map iframe { height: 560px; }
}

/* Footer */
.site-footer { background: var(--ink); color: #D9CFC2; padding: var(--s5) 0 calc(var(--s5) + 72px); text-align: center; }
.site-footer p { margin: 0 0 .6rem; }
.site-footer a { color: var(--cream); display: inline-block; padding: .6rem .2rem; }
.site-footer .small { font-size: .85rem; color: #B5AA9C; }
@media (min-width: 760px) { .site-footer { padding-bottom: var(--s5); } }

/* Barre d’action mobile */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--sapin-deep); border-top: 1px solid rgba(246,239,228,.15);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
  min-height: 60px; color: var(--cream); text-decoration: none; font-size: .85rem; font-weight: 600;
}
.action-bar a.is-primary { background: var(--neon); color: var(--ink); }
@media (min-width: 760px) { .action-bar { display: none; } }

/* Révélations */
.reveal { opacity: 1; }
/* Révélation légère : n'efface jamais le contenu (lisible sans JS, en capture et à l'impression) */
.js .reveal.is-pending { transform: translateY(18px); transition: transform .7s var(--ease); }
.js .reveal.is-pending.is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal.is-pending { transform: none; }
}

/* Hero mobile : photo d'abord, en arche courte */
@media (max-width: 959px) {
  .hero { padding-top: var(--s3); }
  .hero-grid { gap: var(--s3); }
  .hero-visual { order: -1; width: 100%; }
  .hero-photo { border-radius: 200px 200px 6px 6px; border-width: 5px; }
  .hero-photo img { aspect-ratio: 4 / 3; object-position: 50% 62%; max-height: 38vh; }
  .bulbs { display: none; }
  .hero-visual { margin-bottom: 2.25rem; }
  .mirror--hero { width: 30%; left: auto; right: -2%; bottom: -14%; border-width: 5px; }
  .eyebrow { font-size: .74rem; margin-bottom: var(--s2); }
  .neon--xl { font-size: clamp(4rem, 2.5rem + 9vw, 6rem); }
  .hero-lead { font-size: 1.05rem; }
}
