/* Gaëtan.D coiffeur coloriste — tokens taken from the salon itself */
:root {
  --pierre: #EEECE7;      /* whitewashed stone wall */
  --pierre-2: #F7F6F2;    /* sign plaque */
  --encre: #1D2227;       /* sign ink */
  --encre-soft: #4A4F53;
  --volet: #33403E;       /* grey-green shutters */
  --volet-2: #2A3533;
  --cognac: #8A4F1F;      /* leather sofa, darkened for contrast */
  --miel: #C9A27A;        /* honey parquet */
  --fleur: #D9622B;       /* flowers around the sign */
  --line: rgba(29, 34, 39, .16);

  --f-sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --f-sig: "Nothing You Could Do", "Segoe Script", cursive;

  --t-sm: .875rem;
  --t-base: 1.0625rem;
  --t-md: 1.25rem;
  --t-lg: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  --t-xl: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);

  --wrap: 72rem;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: var(--t-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--encre);
  background: var(--pierre);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.15; letter-spacing: -.01em; }
h2 { font-size: var(--t-xl); font-weight: 300; }
p { margin: 0 0 1em; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--cognac); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--encre); color: #fff; padding: .75rem 1rem; }
.skip:focus { top: 1rem; }

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

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .7rem 1.4rem;
  font: 500 1rem/1.2 var(--f-sans); letter-spacing: .01em;
  text-decoration: none; border-radius: 2px; border: 1.5px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--ink { background: var(--encre); color: var(--pierre-2); }
.btn--ink:hover { background: var(--cognac); }
.btn--line { border-color: currentColor; color: inherit; }
.btn--line:hover { background: rgba(255,255,255,.08); }
.btn--sm { min-height: 44px; padding: .5rem 1.1rem; font-size: .95rem; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  display: flex; align-items: center; gap: 2rem;
  padding-inline: var(--pad);
  background: var(--pierre);
  border-bottom: 1px solid var(--line);
}
.top__brand { font-family: var(--f-sig); font-size: 1.6rem; text-decoration: none; line-height: 1; padding: .5rem 0; }
.top__nav { display: none; gap: 1.75rem; margin-left: auto; }
.top__nav a { text-decoration: none; padding: .6rem 0; font-size: .98rem; }
.top__nav a:hover { color: var(--cognac); text-decoration: underline; text-underline-offset: 6px; }
.top__cta { margin-left: auto; }
@media (min-width: 860px) {
  .top__nav { display: flex; }
  .top__cta { margin-left: 0; }
}

/* Hero: the street sign on its shutters, beside Gaëtan at work */
.hero { display: grid; background: var(--volet); color: var(--pierre-2); }
.hero__photo { position: relative; height: 58svh; min-height: 340px; overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 42%; }
.hero__panel {
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad) 3rem;
  /* shutter slats */
  background:
    repeating-linear-gradient(180deg, transparent 0 22px, rgba(0,0,0,.09) 22px 24px),
    var(--volet);
}
.sign {
  position: relative;
  margin-top: -4.5rem;
  align-self: flex-start;
  width: min(100%, 25rem);
  padding: 1.6rem 1.6rem 1.3rem;
  background: var(--pierre-2);
  color: var(--encre);
  box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 18px 40px -20px rgba(0,0,0,.6);
}
.sign::after { /* a single flower from the sign's garland */
  content: ""; position: absolute; top: -9px; right: 22px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--fleur);
  box-shadow: 14px 8px 0 -3px var(--pierre-2), -10px 10px 0 -5px var(--fleur);
}
.sign__name { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sign__script {
  font-family: var(--f-sig);
  font-size: clamp(3rem, 2.2rem + 4vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: 0;
  padding: .1em .15em 0;
}
.sign__trade {
  margin-top: .35rem;
  font-size: .8rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .32em;
  padding-left: .32em; /* optical centring of tracked caps */
}
.sign__tel {
  display: block; width: max-content; margin: 1rem auto 0;
  padding: .55rem .5rem; min-height: 44px;
  font-size: .95rem; font-weight: 500; letter-spacing: .12em;
  text-decoration: none; color: var(--encre);
}
.sign__tel:hover { color: var(--cognac); }
.hero__promise { margin: 2rem 0 1.6rem; font-size: var(--t-md); font-weight: 300; line-height: 1.45; max-width: 30ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero .btn--ink { background: var(--pierre-2); color: var(--encre); }
.hero .btn--ink:hover { background: var(--miel); }
.hero__meta {
  margin: 2rem 0 0; display: flex; flex-direction: column; gap: .2rem;
  font-size: .95rem; color: #D7DCD9;
}
.hero__meta a { color: var(--miel); text-underline-offset: 4px; padding: .35rem 0; }

@media (min-width: 900px) {
  .hero { grid-template-columns: 5fr 6fr; min-height: calc(100svh - var(--header-h)); }
  .hero__photo { order: 2; height: auto; min-height: 0; }
  .hero__photo img { position: absolute; inset: 0; }
  .hero__panel { order: 1; padding: 3rem clamp(2rem, 5vw, 5rem); }
  .sign { margin-top: 0; }
}

/* Signature: the page's one orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
  .sign__script { animation: sign-in 1.3s cubic-bezier(.6,.05,.3,1) .2s both; }
  @keyframes sign-in {
    from { clip-path: inset(0 100% 0 0); }
    to   { clip-path: inset(0 0 0 0); }
  }
}

/* Section scaffolding */
section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.hero { padding-block: 0; }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head p { margin-top: 1rem; color: var(--encre-soft); font-size: 1.05rem; }

/* Nuancier */
.swatches {
  list-style: none; margin: 0 auto; padding: 0 var(--pad);
  max-width: var(--wrap);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1rem;
}
.swatch:nth-child(even) { margin-top: 2.5rem; }
.swatch figure {
  display: grid; grid-template-columns: 1fr 14px; column-gap: 8px;
}
.swatch__img { aspect-ratio: 3 / 4; overflow: hidden; background: #DDD8CF; }
.swatch__img img { width: 100%; height: 100%; object-fit: cover; }
.swatch__strip {
  border-radius: 999px;
  background: linear-gradient(180deg, var(--s1), var(--s2) 35%, var(--s3) 70%, var(--s4));
}
.swatch figcaption {
  grid-column: 1 / -1; margin-top: .8rem;
  font-size: clamp(.95rem, .9rem + .3vw, 1.05rem); line-height: 1.3;
  display: flex; align-items: center; gap: .6rem;
}
.swatch figcaption::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%; flex: none;
  background: var(--s3); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
}
.nuancier__more { margin-top: 2rem; color: var(--encre-soft); }
.nuancier__more a { color: var(--cognac); text-underline-offset: 4px; display: inline-block; padding: .4rem 0; }

@media (min-width: 900px) {
  .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
  .swatch:nth-child(even) { margin-top: 0; }
  .swatch:nth-child(3n+2) { margin-top: 4rem; }
  .swatch:nth-child(3n+3) { margin-top: 2rem; }
}

/* Salon */
.salon { border-top: 1px solid var(--line); }
.salon__grid { display: grid; gap: 2.5rem; }
.salon__text { max-width: 36rem; }
.salon__text h2 { margin-bottom: 1.5rem; }
.salon__text .lead { font-size: var(--t-md); line-height: 1.5; color: var(--encre); }
.salon__text p { color: var(--encre-soft); }
.salon__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.salon__sign { display: none; }
@media (min-width: 900px) {
  .salon__grid { grid-template-columns: 5fr 6fr; grid-template-rows: auto auto; gap: 0 4rem; align-items: start; }
  .salon__text { grid-row: 1 / 3; padding-top: 1rem; }
  .salon__photo { grid-column: 2; }
  .salon__sign {
    display: block; grid-column: 2; justify-self: start;
    width: 42%; margin: -5rem 0 0 -2.5rem;
    border: 8px solid var(--pierre);
  }
  .salon__sign img { aspect-ratio: 3 / 4; object-fit: cover; }
}

/* Tarifs */
.tarifs { background: var(--pierre-2); }
.notice {
  display: flex; gap: .8rem; align-items: baseline;
  max-width: 40rem; margin-bottom: 3rem;
  padding: 1rem 1.2rem; border-left: 3px solid var(--cognac);
  background: var(--pierre);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--fleur); flex: none; transform: translateY(-1px); }
.price-groups { display: grid; gap: 2.75rem 4rem; }
@media (min-width: 760px) { .price-groups { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .price-groups { grid-template-columns: repeat(3, 1fr); } }
.price-group { padding: 0; }
.price-group h3 { font-size: var(--t-lg); font-weight: 300; margin-bottom: .9rem; color: var(--cognac); }
.price-desc, .price-note { font-size: .95rem; color: var(--encre-soft); margin: .2rem 0 .6rem; }
.price-note { margin-top: .7rem; }
.prices { margin: 0; }
.prices div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .7rem 0; border-bottom: 1px solid var(--line);
}
.prices div:first-child { border-top: 1px solid var(--encre); }
.prices dt { font-weight: 400; }
.prices dd { margin: 0; white-space: nowrap; font-weight: 500; font-variant-numeric: tabular-nums; }
.tarifs__cta { margin-top: 3.5rem; }

/* Avis */
.avis { background: var(--volet); color: var(--pierre-2); }
.avis__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: 3rem; }
.avis__head h2 { max-width: 14ch; }
.avis__score { display: flex; align-items: center; gap: 1rem; margin: 0; line-height: 1.3; color: #D7DCD9; }
.avis__num { font-size: clamp(3.5rem, 2.5rem + 4vw, 5.5rem); font-weight: 300; color: var(--miel); line-height: 1; }
.quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.5rem 4rem; }
@media (min-width: 760px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quotes blockquote { margin: 0; padding-top: 1.2rem; border-top: 1px solid rgba(247,246,242,.28); }
.quotes p { font-size: var(--t-md); font-weight: 300; line-height: 1.5; max-width: 34ch; }
.quotes footer { font-family: var(--f-sig); font-size: 1.5rem; color: var(--miel); }

/* Infos */
.infos__grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .infos__grid { grid-template-columns: 5fr 6fr; gap: 5rem; align-items: start; } }
.infos h2 { margin-bottom: 1.5rem; }
.infos__addr { font-style: normal; font-size: var(--t-md); line-height: 1.45; margin-bottom: 1rem; }
.infos__line { margin: 0 0 .4rem; color: var(--encre-soft); }
.link-strong { display: inline-block; padding: .4rem 0; font-size: var(--t-md); font-weight: 500; color: var(--cognac); text-underline-offset: 5px; }
.infos__sub { margin: 2.2rem 0 .6rem; font-size: var(--t-md); font-weight: 500; }
.hours { border-collapse: collapse; width: 100%; max-width: 24rem; }
.hours th, .hours td { padding: .55rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 500; color: var(--cognac); }
.hours tr.is-today th::after { content: " (aujourd'hui)"; font-weight: 400; font-size: .9rem; }

.map { position: relative; min-height: 400px; align-self: stretch; overflow: hidden; background: #E4E1DA; }
.map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__pin {
  position: absolute; left: 50%; top: 30%;
  width: 26px; height: 26px; margin: -26px 0 0 -13px;
  background: var(--fleur); border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  box-shadow: 0 0 0 4px rgba(217,98,43,.22);
}
.map__pin::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--pierre-2); }
.map__card {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  padding: 1.1rem 1.2rem; background: var(--pierre-2);
  box-shadow: 0 0 0 1px var(--line);
}
.map__card p { margin: 0 0 .3rem; }
.map__name { font-family: var(--f-sig); font-size: 1.6rem; line-height: 1.2; }
.map__links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.map__links a { display: inline-block; padding: .55rem 0; color: var(--cognac); font-weight: 500; text-underline-offset: 4px; }

/* Footer */
.foot { background: var(--encre); color: #C9CCCD; padding: 3.5rem 0 2rem; }
.foot a { color: var(--pierre-2); text-underline-offset: 4px; display: inline-block; padding: .3rem 0; }
.foot__grid { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .foot__grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.foot__sig { font-family: var(--f-sig); font-size: 2.4rem; padding-left: .2em; color: var(--pierre-2); line-height: 1; }
.foot__credit { margin-top: 2rem; font-size: .85rem; color: #9DA2A4; }

/* Mobile action bar */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr 1.2fr;
  background: var(--encre);
  padding-bottom: env(safe-area-inset-bottom);
}
.mbar a {
  display: flex; align-items: center; justify-content: center;
  min-height: 56px; color: var(--pierre-2); text-decoration: none; font-weight: 500;
  border-right: 1px solid rgba(255,255,255,.12);
}
.mbar__main { background: var(--miel); color: var(--encre) !important; border-right: 0 !important; }
.mbar a:focus-visible { outline-color: var(--miel); outline-offset: -4px; }
body { padding-bottom: 56px; }
@media (min-width: 760px) {
  .mbar { display: none; }
  body { padding-bottom: 0; }
}

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