/* Le Petit Salon, Maison Leonce. Palette sampled by Lens from the salon's own
   photographs: cobalt shopfront, gold fascia lettering, pine plank walls,
   near-black ceiling, cream and black chequerboard floor, dark stained wood.
   Gold on cobalt measures about 2.4:1, so gold is never used for body text on
   blue: it carries rules, monograms and stars only. Text on cobalt is white
   (5.2:1) or cream (4.9:1). */

:root {
  --cobalt: #1A6DC4;
  --cobalt-deep: #12508F;
  --gold: #D4A820;
  --gold-lit: #E9C25A;
  --cream: #F0EDE8;
  --ink: #23201C;
  --char: #1C1C1C;
  --pine: #C8A882;
  --wood: #3D2314;
  --line: rgba(61, 35, 20, .18);
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: .01em; }

a { color: var(--cobalt-deep); }

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

.sprite { position: absolute; width: 0; height: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 9;
  background: var(--char); color: var(--gold-lit);
  padding: 12px 16px; text-decoration: none;
}
.skip:focus { left: 0; }

.ic { width: .72em; height: .72em; fill: currentColor; vertical-align: .02em; }

/* ---------- masthead: the cobalt shopfront ---------- */

.masthead {
  background: var(--cobalt);
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.07) 0 42%, rgba(0,0,0,.16) 100%),
    repeating-linear-gradient(90deg, rgba(0,0,0,.07) 0 1px, transparent 1px 84px);
  color: #fff;
  text-align: center;
  padding: 26px 18px 30px;
  border-bottom: 5px solid var(--gold);
}

.fascia {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-lit);
}

.cartouche {
  max-width: 22rem;
  margin: 0 auto;
  padding: 18px 14px 16px;
  border: 2px solid var(--gold);
  border-radius: 46% 46% 46% 46% / 12% 12% 12% 12%;
  box-shadow: inset 0 0 0 4px rgba(18, 80, 143, .55), inset 0 0 0 5px rgba(212, 168, 32, .5);
  background: rgba(12, 46, 82, .42);
}

.c-over {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-style: italic;
  font-size: .95rem;
  color: var(--gold-lit);
}

.masthead h1 {
  margin: 0;
  font-size: clamp(2.1rem, 11vw, 3.4rem);
  line-height: .98;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .28);
}
.c-le { display: block; font-size: .52em; letter-spacing: .22em; text-transform: uppercase; }
.c-sa { display: block; }

.c-tag {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-lit);
}

.strap { margin: 22px auto 0; max-width: 30rem; font-size: 1.05rem; }

.when {
  display: inline-block;
  margin: 18px 0 0;
  padding: 9px 16px;
  border-top: 1px solid rgba(255,255,255,.45);
  border-bottom: 1px solid rgba(255,255,255,.45);
  font-size: .97rem;
  font-weight: 600;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 24rem;
  margin: 22px auto 0;
}

.btn {
  display: block;
  min-height: 52px;
  padding: 14px 18px;
  border-radius: 3px;
  font: 600 1.02rem/1.35 var(--sans);
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.btn:active { transform: translateY(1px); }

.btn-call { background: var(--gold); color: #1a1206; box-shadow: 0 2px 0 #8f6f0f; }
.btn-call:hover { background: var(--gold-lit); }

.btn-book, .btn-map {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .8);
}
.btn-book:hover, .btn-map:hover { background: #fff; color: var(--cobalt-deep); }

.cta-line { margin: 20px 0 0; }
.cta-line .btn { max-width: 24rem; }
.services .btn-call { box-shadow: 0 2px 0 #8f6f0f; }

/* ---------- the chequerboard floor, as a divider ---------- */

.chequer {
  height: 22px;
  background:
    repeating-conic-gradient(var(--char) 0 25%, var(--cream) 0 50%) 0 0 / 22px 22px;
}

/* ---------- body sections ---------- */

main { display: block; }

section { padding: 34px 18px; max-width: 62rem; margin: 0 auto; }

h2 {
  margin: 0 0 14px;
  font-size: 1.5rem;
  color: var(--wood);
}
h2 .ic { color: var(--gold); }

.lede { margin: 0 0 12px; font-size: 1.12rem; font-family: var(--serif); }
p { margin: 0 0 12px; }

.marks {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.marks li {
  padding: 10px 12px 10px 14px;
  background: rgba(200, 168, 130, .26);
  border-left: 4px solid var(--gold);
  font-size: .98rem;
}

/* services */

.services { background: #fff; max-width: none; }
.services > * { max-width: 62rem; margin-left: auto; margin-right: auto; }

.cards { display: grid; gap: 14px; }

.card {
  padding: 16px 18px 18px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-top: 4px solid var(--cobalt);
}
.card h3 { margin: 0 0 10px; font-size: 1.18rem; color: var(--cobalt-deep); }
.card ul { margin: 0; padding-left: 1.1em; }
.card li { margin-bottom: 4px; }
.card-note { margin: 12px 0 0; font-size: .93rem; font-style: italic; }

.card-dark {
  background: var(--char);
  color: var(--cream);
  border-color: var(--char);
  border-top-color: var(--gold);
}
.card-dark h3 { color: var(--gold); }

.tarifs {
  margin-top: 22px;
  padding: 14px 16px;
  background: rgba(26, 109, 196, .1);
  border-left: 4px solid var(--cobalt);
  font-size: 1rem;
}

/* ---------- photographs, and slots for the ones we do not have ----------
   .shot holds a real photograph of the salon. .slot is a designed frame
   standing in for a photograph the owner still has to send us. They share a
   border treatment so the page reads as one thing while it is part real and
   part placeholder. */

.shot { margin: 30px auto; padding: 0 18px; max-width: 62rem; }

.shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--cobalt-deep);
  border: 3px solid var(--gold);
  outline: 1px solid var(--cobalt-deep);
  outline-offset: 4px;
}

.shot figcaption,
.slot figcaption {
  margin-top: 14px;
  font-size: .93rem;
  font-style: italic;
  color: #4d463c;
}

/* the shopfront is the brand, so it runs taller than a 4:3 on a phone */
.shot-front img { aspect-ratio: 5 / 4; }

/* the work pair: one real photograph, one slot we need filling */
.work { display: grid; gap: 22px; margin: 28px 0 0; }
.work .shot, .work .slot { margin: 0; padding: 0; max-width: none; }
.work .shot img, .work .frame { aspect-ratio: 4 / 3; }

.slot { margin: 0; padding: 0 18px; max-width: 62rem; }
.slot-wide { margin: 30px auto; }

.frame {
  position: relative;
  display: grid;
  place-items: center;
  background: var(--cobalt-deep);
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 12px, transparent 12px 24px);
  border: 3px solid var(--gold);
  outline: 1px solid var(--cobalt-deep);
  outline-offset: 4px;
  aspect-ratio: 3 / 2;
}
.slot-tall .frame { aspect-ratio: 3 / 4; }

.mono {
  font: 700 clamp(2.4rem, 14vw, 4.6rem)/1 var(--serif);
  letter-spacing: .12em;
  color: rgba(233, 194, 90, .82);
  text-indent: .12em;
}

.slot figcaption {
  margin-top: 12px;
  font-size: .93rem;
  font-style: italic;
  color: #4d463c;
}

/* ---------- practical facts ---------- */

.visit { background: var(--cream); }

.facts { display: grid; gap: 0; margin: 0; }
.facts > div { padding: 14px 0; border-top: 1px solid var(--line); }
.facts > div:last-of-type { border-bottom: 1px solid var(--line); }

dt {
  font: 600 .78rem/1.4 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #6a5b46;
  margin-bottom: 4px;
}
dd { margin: 0; }
/* 44px minimum on every tappable link, not just the footer. These two (the
   phone number and the booking link) were the pair measuring under 44px. */
dd a { display: inline-block; min-height: 44px; padding: 11px 0; font-weight: 600; }
.hint { display: inline-block; margin-top: 4px; font-size: .9rem; font-style: italic; color: #4d463c; }

/* ---------- footer ---------- */

footer {
  background: var(--char);
  color: var(--cream);
  text-align: center;
  padding: 30px 18px 34px;
  border-top: 5px solid var(--gold);
}
.f-mark {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: .82rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}
.f-name { margin: 0 0 14px; font: 700 1.6rem/1.1 var(--serif); color: #fff; }
.f-list { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 6px; max-width: 26rem; }
.f-list a { color: var(--gold-lit); display: inline-block; min-height: 44px; padding: 10px 6px; }
.f-tag { margin: 16px 0 0; font-family: var(--serif); font-style: italic; color: var(--pine); }

/* ---------- wider screens ---------- */

@media (min-width: 720px) {
  body { font-size: 18px; }
  .masthead { padding: 40px 24px 44px; }
  .actions { flex-direction: row; justify-content: center; max-width: none; flex-wrap: wrap; }
  .btn { min-width: 15rem; }
  section { padding: 52px 24px; }
  h2 { font-size: 1.85rem; }
  .marks { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
  .facts > div:nth-last-of-type(-n+2) { border-bottom: 1px solid var(--line); }
  .slot { padding: 0 24px; }
  .shot { padding: 0 24px; }
  .work { grid-template-columns: 1fr 1fr; align-items: start; }
}

@media (min-width: 1040px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
  .masthead h1 { font-size: 3.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
