@font-face {
  font-family: "Saira";
  src: url("fonts/saira-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Saira Stencil";
  src: url("fonts/saira-stencil-one-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --crepi: #D8A68F;
  --crepi-ombre: #B98670;
  --crepi-clair: #E6BFAD;
  --noir: #141212;
  --noir-2: #2A2525;
  --blanc: #F4F1EE;
  --gris-banderole: #CFC8C2;
  --acier: #AEB7BC;
  --lame-claire: #D2D8DB;
  --rainure: #6F787D;
  --acier-moyen: #949EA3;
  --acier-reflet: #C3CACD;
  --acier-sombre: #5A6368;
  --acier-nuit: #2D3236;
  --embrasure: #9D6F5C;
  --atelier-nuit: #3B3533;
  --filet-banderole: #3A3434;
  --gris-ferme: #9C938D;
  --rouge: #C71C20;
  --rouge-fonce: #A3151A;

  --col: min(1180px, 100% - 32px);
  --texte: "Saira", "Arial Narrow", Arial, sans-serif;
  --pochoir: "Saira Stencil", "Saira", Arial, sans-serif;
  --pas: clamp(72px, 11vw, 140px);
  --oeillet: linear-gradient(var(--acier), var(--acier));
  --nom: clamp(4.25rem, 19vw, 11rem);
  --etat: clamp(1.5rem, 2.8vw, 2rem);
  /* rideau à demi levé (sans JS / mouvement réduit) : on garde visible le caisson + le nom peint */
  --rideau-ouvert: translateY(calc(-100% + 30px + 52px + 1.72 * var(--nom) + 14px + 1.1 * var(--etat) + 26px));
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  scrollbar-color: var(--noir) var(--crepi-ombre);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--crepi);
  /* le crépi de la façade : grain fin, sans image */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .24 0 0 0 0 .17 0 0 0 1.25 -.52'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--noir);
  font-family: var(--texte);
  font-size: clamp(1.0625rem, 0.4vw + 0.98rem, 1.1875rem);
  font-stretch: 100%;
  line-height: 1.55;
  font-kerning: normal;
  font-variant-numeric: lining-nums;
}

::selection { background: var(--noir); color: var(--crepi-clair); }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--noir);
  outline-offset: 3px;
}

h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- bandeau du haut ---------- */
.bandeau {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: stretch; justify-content: space-between; gap: 16px;
  min-height: 56px;
  padding-left: max(16px, (100% - 1180px) / 2);
  background: var(--noir);
  color: var(--blanc);
}
.bandeau a:focus-visible { outline-color: var(--crepi); outline-offset: -3px; }
.bandeau__nom {
  display: flex; flex-direction: column; justify-content: center;
  font-weight: 800; font-stretch: 125%; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none;
}
.bandeau__etat {
  display: block; margin-top: 2px;
  font-weight: 650; font-stretch: 100%; font-size: 0.72rem; letter-spacing: 0.08em; color: var(--gris-banderole);
}
.bandeau__etat:empty { display: none; }
.bandeau__etat.est-ouvert::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; vertical-align: 1px;
  background: var(--rouge);
}
@media (min-width: 560px) {
  .bandeau__etat { display: inline-block; margin: 0 0 0 14px; }
}
.bandeau__nav { display: none; }
.bandeau__tel {
  display: flex; align-items: center;
  padding: 0 max(16px, (100vw - 1180px) / 2) 0 20px;
  background: var(--rouge); color: #fff;
  font-weight: 700; font-stretch: 112%; font-size: 1.05rem; letter-spacing: 0.02em;
  text-decoration: none; white-space: nowrap;
}
.bandeau__tel:hover { background: var(--rouge-fonce); }
@media (min-width: 900px) {
  .bandeau__nav { display: flex; align-items: stretch; gap: 4px; margin-left: auto; }
  .bandeau__nav a {
    display: flex; align-items: center; padding: 0 14px;
    font-size: 0.95rem; font-weight: 600; font-stretch: 108%; text-decoration: none; color: var(--gris-banderole);
  }
  .bandeau__nav a:hover { color: var(--blanc); text-decoration: underline; }
}

/* ---------- banderoles (la matière noire de la façade) ---------- */
.banderole {
  position: relative;
  background-color: var(--noir);
  /* quatre œillets carrés, comme sur les bâches de la façade */
  background-image: var(--oeillet), var(--oeillet), var(--oeillet), var(--oeillet);
  background-size: 8px 8px;
  background-repeat: no-repeat;
  background-position: 10px 10px, calc(100% - 10px) 10px, 10px calc(100% - 10px), calc(100% - 10px) calc(100% - 10px);
  color: var(--blanc);
}
.banderole a:focus-visible { outline-color: var(--crepi); }

/* ---------- façade + rideau ---------- */
.facade {
  padding: clamp(16px, 3vw, 36px) max(16px, (100% - 1180px) / 2) 0;
}
.banderole--titre {
  padding: 16px 26px 18px;
  margin: 0 auto clamp(12px, 2vw, 18px);
  width: fit-content; max-width: 100%;
}
.banderole--titre p {
  font-weight: 800; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(1.25rem, 3.4vw, 2.25rem); line-height: 1; letter-spacing: 0.01em;
  text-align: center;
}
.banderole--titre span {
  display: block; margin-top: 8px;
  font-weight: 600; font-stretch: 100%; text-transform: none; letter-spacing: 0;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem); color: var(--gris-banderole);
}

.baie {
  position: relative;
  height: clamp(340px, 56svh, 520px);
  overflow: hidden;
  background: var(--atelier-nuit);
}
.baie::after { /* l'embrasure : le mur fait un retour autour de l'ouverture */
  content: ""; position: absolute; z-index: 4; inset: 0; pointer-events: none;
  border: 10px solid var(--crepi-ombre); border-bottom: 0;
  box-shadow: inset 0 0 0 2px var(--embrasure);
}
.baie picture, .baie__atelier {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.baie__atelier { object-fit: cover; object-position: 50% 62%; }
@media (min-width: 760px) {
  .baie { height: clamp(380px, 62vh, 620px); }
}

.baie__caisson {
  position: absolute; z-index: 3; left: 0; right: 0; top: 0;
  height: 30px;
  background: linear-gradient(var(--acier-moyen), var(--rainure) 70%, var(--acier-sombre));
  border-bottom: 3px solid var(--acier-nuit);
}

.rideau {
  --lame: 22px;
  position: absolute; z-index: 2; inset: 0;
  will-change: transform;
  transform: var(--rideau-ouvert);
  /* une lame = un motif de --lame de haut ; elles se resserrent en remontant */
  background:
    linear-gradient(90deg, rgb(255 255 255 / 0.14), rgb(255 255 255 / 0) 30%, rgb(0 0 0 / 0) 70%, rgb(0 0 0 / 0.12)),
    linear-gradient(to bottom,
      var(--lame-claire) 0 9%,
      var(--acier) 9% 64%,
      var(--acier-moyen) 64% 82%,
      var(--rainure) 82% 95%,
      var(--acier-reflet) 95%);
  background-size: 100% 100%, 100% var(--lame);
  background-repeat: no-repeat, repeat-y;
  background-position: 0 0, 0 100%;
}
html.js .rideau { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .rideau { transform: var(--rideau-ouvert); }
}

.rideau__peint {
  position: absolute; left: clamp(18px, 4vw, 48px); right: clamp(18px, 4vw, 48px); bottom: 52px;
  color: var(--noir);
  mix-blend-mode: multiply;
}
.rideau__nom span { display: block; }
@media (min-width: 760px) {
  :root {
    --nom: min(13.6vw, 13.5rem);
    --rideau-ouvert: translateY(calc(-100% + 30px + 52px + 0.86 * var(--nom) + 14px + 1.1 * var(--etat) + 26px));
  }
  .rideau__nom span { display: inline; }
  .bandeau__nom { flex-direction: row; align-items: center; }
}
.rideau__nom {
  font-family: var(--pochoir); font-weight: 400; white-space: nowrap;
  font-size: var(--nom);
  line-height: 0.86; letter-spacing: 0.01em;
  text-transform: uppercase;
  opacity: 0.92;
}
.rideau__etat {
  margin-top: 14px;
  font-family: var(--pochoir);
  font-size: var(--etat); line-height: 1.1;
  text-transform: uppercase; letter-spacing: 0.02em;
}
.rideau__etat b { font-weight: 400; color: var(--rouge); }

.rideau__lame-basse {
  position: absolute; left: 0; right: 0; bottom: 0; height: 26px;
  background: linear-gradient(var(--rainure), var(--acier-sombre));
  border-top: 2px solid var(--acier-reflet);
}
.rideau__lame-basse::after { /* la serrure */
  content: ""; position: absolute; left: 50%; top: 7px; width: 22px; height: 10px; margin-left: -11px;
  background: var(--acier-nuit); border: 2px solid var(--acier-moyen);
}

.actions {
  display: none; gap: 10px;
  margin-top: 18px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 26px;
  font-weight: 700; font-stretch: 112%; font-size: 1.08rem; letter-spacing: 0.01em;
  text-decoration: none; text-align: center;
  transition: background-color 160ms ease-out;
}
.btn--appel { background: var(--rouge); color: #fff; }
.btn--appel:hover { background: var(--rouge-fonce); }
.btn--route { background: var(--noir); color: var(--blanc); }
.btn--route:hover { background: var(--noir-2); }
@media (min-width: 760px) {
  .actions { display: grid; grid-template-columns: auto auto; justify-content: center; }
}
.facade__adresse {
  margin-top: 14px;
  text-align: center; font-weight: 600; font-size: 0.98rem;
}

/* ---------- sections ---------- */
main > section:not(.facade) {
  width: var(--col);
  margin: var(--pas) auto 0;
}
h2 {
  font-weight: 800; font-stretch: 118%;
  font-size: clamp(2.1rem, 5.2vw, 4rem); line-height: 1; letter-spacing: -0.01em;
}

/* intro */
.intro { display: grid; gap: 28px; }
.intro__texte { display: grid; gap: 14px; max-width: 62ch; }
.citation-cle { margin: 12px 0 0; padding-top: 22px; border-top: 3px solid var(--noir); }
.citation-cle blockquote { margin: 0; }
.citation-cle p {
  font-weight: 750; font-stretch: 110%;
  font-size: clamp(1.75rem, 4.4vw, 3.4rem); line-height: 1.06; letter-spacing: -0.01em;
}
.citation-cle p::before { content: "« "; }
.citation-cle p::after { content: " »"; }
.citation-cle figcaption, .vecu__liste span, .avis figcaption {
  font-weight: 650; font-stretch: 112%; font-size: 0.86rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.citation-cle figcaption { margin-top: 12px; }
@media (min-width: 900px) {
  .intro { grid-template-columns: 5fr 6fr; column-gap: 56px; align-items: start; }
  .citation-cle { grid-column: 1 / -1; }
}

/* prestations */
.prestations h2 { margin-bottom: 34px; }
.banderole--presta {
  display: grid;
  padding: 30px 28px 28px;
  margin-bottom: 18px;
}
.banderole--presta h3 {
  font-weight: 800; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(1.4rem, 3.4vw, 2.5rem); line-height: 1; letter-spacing: 0.005em;
  margin-bottom: 12px;
}
.banderole--presta p { max-width: 60ch; color: var(--gris-banderole); }
.banderole--photo { gap: 22px; }
.banderole--photo img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
}
@media (min-width: 760px) {
  .banderole--presta { width: 88%; }
  .banderole--presta:nth-of-type(even) { margin-left: auto; }
  .banderole--photo { grid-template-columns: 1fr 260px; align-items: center; padding-right: 30px; }
  .banderole--photo img { aspect-ratio: 1; }
}
.prestations__non {
  margin-top: 28px; padding-top: 14px;
  border-top: 3px solid var(--noir);
  font-weight: 700; font-stretch: 110%;
}

/* vécu */
.vecu h2 { margin-bottom: 28px; }
.vecu__liste { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--noir); }
.vecu__liste li {
  display: grid; gap: 8px;
  padding: 22px 0 20px;
  border-bottom: 1.5px solid var(--noir);
}
.vecu__liste p {
  font-weight: 620; font-stretch: 104%;
  font-size: clamp(1.3rem, 2.5vw, 1.85rem); line-height: 1.25;
}
.vecu__photo { margin-top: 28px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  .vecu { display: grid; grid-template-columns: 7fr 4fr; column-gap: 48px; }
  .vecu h2 { grid-column: 1 / -1; }
  .vecu__liste li { grid-template-columns: 1fr 190px; align-items: baseline; gap: 24px; }
  .vecu__liste span { text-align: right; }
  .vecu__photo { margin-top: 0; position: sticky; top: 84px; aspect-ratio: 3 / 4; }
}

/* le mot qui revient */
.mots { padding: clamp(28px, 5vw, 56px) clamp(22px, 5vw, 56px); }
.mots h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-stretch: 112%; color: var(--gris-banderole); }
.mots__liste {
  list-style: none; margin: 18px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: clamp(18px, 3vw, 40px); row-gap: 10px;
}
.mots__liste li { display: flex; align-items: baseline; gap: 10px; }
.mots__liste b {
  font-weight: 800; font-stretch: 125%;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1;
}
.mots__liste span { font-size: 0.9rem; font-weight: 600; color: var(--crepi); white-space: nowrap; }
.mots__liste .mots__un { flex-basis: 100%; gap: 18px; }
.mots__un b {
  font-weight: 900;
  font-size: clamp(5.5rem, 22vw, 15rem); line-height: 0.8; letter-spacing: -0.02em;
  color: var(--crepi);
}
.mots__un span { font-size: clamp(1rem, 2vw, 1.4rem); color: var(--blanc); }
.mots__sens { margin-top: 26px; max-width: 58ch; font-size: 1.1rem; color: var(--blanc); }
.mots__note { margin-top: 14px; font-size: 0.9rem; color: var(--gris-banderole); }

/* avis */
.avis h2 { margin-bottom: 32px; }
.avis__grille { display: grid; gap: 30px 44px; }
.avis figure { margin: 0; padding-top: 16px; border-top: 3px solid var(--noir); }
.avis blockquote { margin: 0 0 12px; }
.avis blockquote p { font-size: 1.12em; line-height: 1.45; font-weight: 500; }
.avis blockquote p::before { content: "« "; }
.avis blockquote p::after { content: " »"; }
.avis__lien { display: inline-flex; align-items: center; min-height: 44px; margin-top: 26px; font-weight: 700; font-stretch: 110%; }
@media (min-width: 760px) { .avis__grille { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .avis__grille { grid-template-columns: 1fr 1fr 1fr; } }

/* accès */
.acces { display: grid; gap: 22px; }
.acces__horaires { padding: 30px 26px 26px; }
.acces h3 {
  font-weight: 800; font-stretch: 125%; text-transform: uppercase;
  font-size: 1.35rem; line-height: 1; margin-bottom: 18px;
}
.horaires { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.horaires th, .horaires td {
  padding: 10px 8px; text-align: left; font-weight: 500;
  border-top: 1px solid var(--filet-banderole); color: var(--gris-banderole);
}
.horaires td { text-align: right; }
.horaires tr[data-jour="6"] :is(th, td), .horaires tr[data-jour="0"] :is(th, td) { color: var(--gris-ferme); }
.horaires tr.aujourdhui :is(th, td) {
  background: var(--rouge); color: #fff; font-weight: 750; font-stretch: 112%;
  border-top-color: var(--rouge);
}
.acces__infos { display: grid; gap: 14px; align-content: start; }
.acces__infos address { font-style: normal; font-size: 1.35rem; font-weight: 700; font-stretch: 108%; line-height: 1.25; }
.lien-fort { font-size: 1.35rem; font-weight: 800; font-stretch: 112%; }
.acces__infos .btn { justify-self: start; }
.acces__facade { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.acces__carte { width: 100%; height: 340px; border: 0; background: var(--crepi-ombre); }
@media (min-width: 900px) {
  .acces { grid-template-columns: 1fr 1fr; column-gap: 40px; row-gap: 36px; }
  .acces h2 { grid-column: 1 / -1; }
  .acces__carte { height: 100%; min-height: 380px; }
}

/* pied */
.pied {
  margin-top: var(--pas);
  padding: 44px max(16px, (100% - 1180px) / 2) 48px;
  background: var(--noir); color: var(--gris-banderole);
  display: grid; gap: 6px; font-size: 0.98rem;
}
.pied a:focus-visible { outline-color: var(--crepi); }
.pied__nom {
  font-family: var(--pochoir); font-size: clamp(2.4rem, 7vw, 4.2rem); line-height: 1;
  text-transform: uppercase; color: var(--crepi); margin-bottom: 10px;
}

/* barre mobile */
.barre { display: none; }
@media (max-width: 759px) {
  .barre {
    position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: 1.4fr 1fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--noir);
  }
  .barre a {
    display: flex; align-items: center; justify-content: center; min-height: 58px;
    font-weight: 750; font-stretch: 112%; font-size: 1.05rem; text-decoration: none; color: #fff;
  }
  .barre__appel { background: var(--rouge); }
  .barre a:focus-visible { outline: 3px solid var(--crepi); outline-offset: -3px; }
  .pied { padding-bottom: calc(58px + 40px + env(safe-area-inset-bottom)); }
}
