@font-face {
  font-family: "Bree Serif";
  src: url("fonts/bree-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --enseigne: #26352F;
  --auvent: #1E4A43;
  --medaillon: #C9CDC6;
  --facade: #F0F1EE;
  --lettre: #E3E6E0;
  --rouge: #C8302B;
  --rouge-fonce: #A92521;
  --gris: #4F5C56;
  --display: "Bree Serif", Georgia, serif;
  --text: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--facade);
  color: var(--enseigne);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: 0;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--rouge); }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.nowrap { white-space: nowrap; }

.wrap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: var(--pill);
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  transition: background-color .3s, color .3s;
}
.btn--call { background: var(--rouge); color: #fff; }
.btn--line { color: var(--enseigne); box-shadow: inset 0 0 0 2px var(--enseigne); }
@media (hover: hover) and (pointer: fine) {
  .btn--call:hover { background: var(--rouge-fonce); }
  .btn--line:hover { background: var(--enseigne); color: var(--lettre); }
}

/* ---------- Top bar (desktop) ---------- */
.topbar { display: none; }
@media (min-width: 960px) {
  .topbar {
    display: block;
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--auvent);
    color: var(--lettre);
    font-size: 15px;
  }
  .topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 48px;
  }
  .topbar__call a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    margin-left: 8px;
    padding: 4px 16px;
    border-radius: var(--pill);
    background: var(--rouge);
    transition: background-color .3s;
  }
}
@media (min-width: 960px) and (hover: hover) and (pointer: fine) {
  .topbar__call a:hover { background: var(--rouge-fonce); }
}

/* ---------- The sign ---------- */
.sign__band { background: var(--enseigne); padding: 12px 0; }
.sign__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}
.sign__side {
  font-family: var(--display);
  color: var(--lettre);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
}
.sign__side span:not(.sign__dash) { display: block; }
.sign__dash { display: none; }
.sign__oval {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--medaillon);
  border-radius: var(--pill);
  padding: 6px 24px 4px;
}
.sign__name {
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
  color: var(--enseigne);
  white-space: nowrap;
}
.sign__stars {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: .3em;
  line-height: 1.4;
  color: var(--enseigne);
}
.sign__stars::before, .sign__stars::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--enseigne);
}
.sign__awning { height: 10px; background: var(--auvent); }

@media (min-width: 600px) {
  .sign__side { font-size: clamp(15px, 2.1vw, 30px); }
  .sign__side span:not(.sign__dash) { display: inline; }
  .sign__dash { display: inline; }
  .sign__band { padding: 16px 0; }
  .sign__oval { padding: 8px 40px 6px; }
  .sign__name { font-size: 48px; }
  .sign__stars { font-size: 11px; gap: 12px; }
  .sign__stars::before, .sign__stars::after { width: 48px; }
}
@media (min-width: 960px) {
  .sign__band { padding: 20px 0; }
  .sign__oval { padding: 10px clamp(40px, 5vw, 80px) 8px; }
  .sign__name { font-size: clamp(56px, 6vw, 88px); }
  .sign__stars { font-size: 14px; gap: 16px; }
  .sign__stars::before, .sign__stars::after { width: clamp(64px, 8vw, 140px); }
  .sign__awning { height: 18px; }
}

/* ---------- Hero ---------- */
.hero__grid {
  display: grid;
  gap: 24px;
  padding-top: 32px;
}
.hero h1 { font-size: 38px; max-width: 12em; }
.hero__lead { margin-top: 16px; font-size: 19px; max-width: 32em; }
.hero__proof { margin-top: 16px; font-size: 16px; color: var(--gris); }
.hero__proof strong { color: var(--enseigne); font-weight: 600; }
.hero__actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__photo { margin: 0 -24px; }
.hero__photo img { width: 100%; height: 220px; object-fit: cover; object-position: 50% 30%; }

@media (max-width: 959px) {
  .hero { min-height: calc(100svh - 112px); display: flex; flex-direction: column; }
  .hero__grid { flex: 1; grid-template-rows: auto 1fr; }
  .hero__photo { min-height: 200px; position: relative; }
  .hero__photo img { position: absolute; inset: 0; height: 100%; }
  .hero__actions .btn { flex: 1 1 140px; padding: 0 16px; }
}
@media (min-width: 600px) and (max-width: 959px) {
  .hero h1 { font-size: 52px; }
}
@media (min-width: 960px) {
  .hero { min-height: calc(100vh - 48px - 200px); display: flex; }
  .hero__grid {
    grid-template-columns: 6fr 5fr;
    align-items: center;
    gap: 64px;
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .hero h1 { font-size: clamp(48px, 4.4vw, 64px); max-width: none; }
  .hero__lead { font-size: 21px; margin-top: 24px; }
  .hero__proof { font-size: 17px; margin-top: 24px; }
  .hero__actions { margin-top: 32px; }
  .hero__photo { margin: 0; }
  .hero__photo img { height: auto; aspect-ratio: 4 / 3; }
}

/* ---------- Au comptoir ---------- */
.counter { padding: 80px 0 72px; }
.counter__grid { display: grid; gap: 40px; }
.counter h2 { font-size: 34px; }
.counter__head p { margin-top: 16px; max-width: 26em; }
.counter__list { list-style: none; margin: 0; padding: 0; }
.counter__list li {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 20px 0;
  border-top: 1px solid var(--medaillon);
}
.counter__list li:last-child { border-bottom: 1px solid var(--medaillon); }
.counter__word {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 22px;
  line-height: 1.2;
}
.counter__list li span:last-child { color: var(--gris); }
@media (min-width: 960px) {
  .counter { padding: 128px 0 120px; }
  .counter__grid { gap: 56px; }
  .counter__head { display: grid; grid-template-columns: 6fr 5fr; gap: 64px; align-items: end; }
  .counter h2 { font-size: 56px; }
  .counter__head p { font-size: 21px; margin-top: 0; }
  .counter__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
  .counter__list li { gap: 8px; padding: 28px 0 32px; }
  .counter__list li:nth-last-child(2) { border-bottom: 1px solid var(--medaillon); }
  .counter__word { font-size: 30px; }
}

/* ---------- Avis ---------- */
.reviews { background: var(--enseigne); color: var(--lettre); padding: 72px 0; }
.reviews__inner { display: grid; gap: 48px; }
.quote { margin: 0; }
.quote p { font-family: var(--display); font-size: 22px; line-height: 1.3; }
.quote--main p { font-size: 30px; line-height: 1.22; }
.quote footer { margin-top: 16px; font-size: 16px; color: var(--medaillon); }
.reviews__link { display: inline-block; margin-top: 32px; color: #fff; font-weight: 600; text-underline-offset: 4px; }
@media (min-width: 960px) {
  .reviews { padding: 128px 0; }
  .reviews__inner { grid-template-columns: 7fr 4fr; gap: 96px; align-items: end; }
  .quote p { font-size: 26px; }
  .quote.quote--main p { font-size: clamp(36px, 3.2vw, 48px); }
  .quote footer { font-size: 17px; margin-top: 24px; }
}

/* ---------- Horaires ---------- */
.hours { padding: 72px 0 80px; }
.hours__grid { display: grid; gap: 40px; }
.hours__big { display: flex; flex-direction: column; }
.hours__pre, .hours__post { font-size: 20px; color: var(--gris); }
.hours__num {
  font-family: var(--display);
  font-size: 120px;
  line-height: .9;
  margin: 8px 0 12px;
  color: var(--enseigne);
}
.hours h2 { font-size: 30px; }
.week { margin: 24px 0 0; display: grid; }
.week div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--medaillon);
}
.week div:last-child { border-bottom: 1px solid var(--medaillon); }
.week dt { font-weight: 600; }
.week dd { margin: 0; text-align: right; }
.week dd span + span::before { content: ", "; }
.week .off { color: var(--gris); }
.hours__address { margin-top: 32px; font-size: 20px; }
.hours__actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.hours__tel { font-weight: 600; font-size: 20px; text-underline-offset: 4px; }
@media (min-width: 960px) {
  .hours { padding: 128px 0; }
  .hours__grid { grid-template-columns: 6fr 5fr; gap: 96px; align-items: start; }
  .hours__address { margin-top: 48px; font-size: 22px; }
  .hours__pre, .hours__post { font-size: 26px; }
  .hours__num { font-size: clamp(160px, 15vw, 220px); margin: 8px 0 16px; }
  .hours h2 { font-size: 40px; }
}

/* ---------- Close ---------- */
.close { background: var(--medaillon); color: var(--enseigne); padding: 72px 0; }
.close__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.close h2 { font-size: 32px; max-width: 18em; }
.close__actions { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.close__tel {
  font-family: var(--display);
  font-size: 44px;
  line-height: 1;
  color: var(--enseigne);
  text-decoration: none;
  white-space: nowrap;
}
@media (min-width: 960px) {
  .close { padding: 112px 0; }
  .close__inner { gap: 40px; }
  .close h2 { font-size: 48px; }
  .close__actions { flex-direction: row; align-items: center; gap: 48px; }
  .close__tel { font-size: clamp(64px, 6.4vw, 96px); }
}

/* ---------- Footer ---------- */
.foot { background: var(--enseigne); color: var(--medaillon); padding: 48px 0 112px; font-size: 16px; }
.foot__inner { display: grid; gap: 16px; }
.foot a { color: var(--lettre); }
.foot__name { font-family: var(--display); font-size: 26px; color: var(--lettre); }
.foot__name span { font-family: var(--text); font-size: 16px; color: var(--medaillon); margin-left: 8px; }
.foot__legal a { margin-right: 16px; }
.foot__credit { color: var(--medaillon); }
@media (min-width: 960px) {
  .foot { padding: 56px 0; }
  .foot__inner { grid-template-columns: 1.2fr 1.2fr 1.4fr 1.4fr; align-items: start; gap: 32px; }
  .foot__credit { grid-column: 1 / -1; }
}

/* ---------- Pinned call (phone) ---------- */
.pin {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: var(--pill);
  background: var(--rouge);
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
}
@media (min-width: 960px) { .pin { display: none; } }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .js .counter__list[data-reveal] { opacity: 1; transform: none; }
  .js .counter__list[data-reveal] li { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; transition-delay: calc(var(--i, 0) * .08s); }
  .js .counter__list[data-reveal].in li { opacity: 1; transform: none; }
}
