@font-face {
  font-family: "Michroma";
  src: url("fonts/michroma-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Familjen Grotesk";
  src: url("fonts/familjen-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Familjen Grotesk";
  src: url("fonts/familjen-grotesk-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --laque: #141619;
  --laque-2: #2a2e34;
  --neon: #f2f3ef;
  --neon-doux: #abada9;
  --appret: #d3d1cb;
  --appret-2: #e3e1dc;
  --encre: #131416;
  --encre-doux: #45464a;
  --minium: #b9461f;
  --minium-fonce: #983717;
  --minium-vif: #e2683a;
  --gouttiere: clamp(1rem, 4vw, 2.5rem);
  --barre: 0px;
  --badge: "Michroma", "Arial Narrow", sans-serif;
  --texte: "Familjen Grotesk", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--encre-doux) var(--appret); }
body {
  margin: 0;
  background: var(--appret);
  color: var(--encre);
  font: 400 1.0625rem/1.6 var(--texte);
  text-rendering: optimizeLegibility;
}
::selection { background: var(--minium); color: #fff; }
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--minium-vif); outline-offset: 3px; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }

.saut {
  position: absolute; left: var(--gouttiere); top: -4rem; z-index: 20;
  background: var(--neon); color: var(--laque); padding: .6rem 1rem; font-weight: 600;
}
.saut:focus { top: .75rem; }

.cadre { max-width: 1180px; margin: 0 auto; padding: 0 var(--gouttiere); }

/* ——— En-tête ——— */
.tete {
  position: absolute; inset: 0 0 auto; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--gouttiere);
  color: var(--neon);
}
.tete__nom {
  font: 400 .72rem/1.45 var(--badge); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
}
.tete__tel {
  font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; min-height: 2.75rem;
  padding: .5rem .85rem; border: 1px solid rgba(242, 243, 239, .55);
  transition: background-color .2s, color .2s, border-color .2s;
}
.tete__tel:hover { background: var(--neon); color: var(--laque); border-color: var(--neon); }
.tete__tel-txt { display: none; margin-right: .3em; }
.insecable { white-space: nowrap; }

/* ——— Accueil : le panneau laqué ——— */
.panneau {
  position: relative;
  background: var(--laque);
  color: var(--neon);
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: 4.25rem;
}
.panneau__tole {
  position: relative;
  flex: 1 0 auto;
  min-height: clamp(260px, 50svh, 640px);
  display: grid; place-items: center;
  isolation: isolate;
  overflow: hidden;
}
.reflets {
  position: absolute; inset: 0; width: 100%; height: 100%;
  fill: none; stroke: var(--neon); stroke-linecap: butt;
}
.reflets path { vector-effect: non-scaling-stroke; }

.nom { position: relative; text-align: center; font-weight: 400; line-height: 1; }
.nom__metier {
  display: inline-block;
  font: 600 clamp(.8rem, 1.5vw, 1rem)/1 var(--texte);
  letter-spacing: .42em; text-transform: uppercase;
  padding: .55em .5em .55em .92em;
  background: var(--laque);
  margin-bottom: clamp(.6rem, 1.5vw, 1.1rem);
}
.nom__badge {
  display: block;
  font-family: var(--badge);
  font-size: clamp(3.3rem, 15.2vw, 11rem);
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fff;
  mix-blend-mode: difference;
}

.panneau__bas {
  display: grid; gap: 2rem;
  padding: 1.5rem var(--gouttiere) 2.25rem;
}
.lede { font-size: clamp(1.2rem, 2.2vw, 1.55rem); font-weight: 500; line-height: 1.3; max-width: 30ch; text-wrap: balance; }
.regle { margin-top: .6rem; font-style: italic; color: var(--neon-doux); max-width: 38ch; }
.preuve { margin-top: 1rem; color: var(--neon-doux); }
.preuve strong { color: var(--neon); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

.marge { display: grid; gap: 1rem; }
.marge div { border-top: 1px solid rgba(242, 243, 239, .22); padding-top: .65rem; }
.marge dt { font-weight: 600; font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.marge dd { color: var(--neon-doux); font-size: .97rem; line-height: 1.4; }
.marge--g { order: 2; }
.marge--d { order: 3; }

/* ——— Boutons ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.1rem; padding: .8rem 1.3rem;
  font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.1;
  border: 1px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--plein { background: var(--minium); color: #fff; }
.btn--plein:hover { background: var(--minium-fonce); }
.btn--trait { border-color: var(--neon); color: var(--neon); }
.btn--trait:hover { background: var(--neon); color: var(--laque); }
.btn--sombre { border-color: var(--encre); color: var(--encre); }
.btn--sombre:hover { background: var(--encre); color: var(--appret-2); }

/* ——— Titres ——— */
.titre {
  font: 400 clamp(1.45rem, 3.6vw, 2.5rem)/1.2 var(--badge);
  letter-spacing: .05em; text-transform: uppercase;
  text-wrap: balance;
  margin-bottom: 1.5rem;
}
.titre--clair { color: var(--neon); }
.sous-titre { font-size: 1.15rem; font-weight: 600; margin-bottom: .5rem; }

/* ——— Le métier ——— */
.metier { padding: clamp(4rem, 10vw, 8rem) 0; }
.chapo { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.5; max-width: 58ch; color: var(--encre); }
.lignes { margin-top: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid var(--encre); }
.ligne { display: grid; gap: .5rem; padding: 1.5rem 0 1.6rem; border-bottom: 1px solid var(--encre); }
/* les filets reprennent les épaisseurs des reflets de l'accueil */
.ligne:nth-child(2) { border-bottom-width: 4px; }
.ligne:nth-child(4) { border-bottom-width: 9px; }
.ligne__titre { font-size: 1.3rem; font-weight: 600; line-height: 1.25; }
.ligne__texte { max-width: 56ch; color: var(--encre-doux); }

/* ——— Avis ——— */
.avis { background: var(--laque); color: var(--neon); padding: clamp(4rem, 10vw, 8rem) 0; }
.citation { margin-top: clamp(1.5rem, 4vw, 3rem); }
.citation blockquote p {
  font-style: italic; font-weight: 400;
  font-size: clamp(1.65rem, 4.6vw, 3.4rem); line-height: 1.15;
  max-width: 22ch; text-wrap: balance;
}
.citation blockquote p::before { content: "« "; }
.citation blockquote p::after { content: " »"; }
.citation figcaption { display: flex; align-items: center; gap: .9rem; margin-top: 1.25rem; color: var(--neon-doux); }
.citation figcaption::before { content: ""; width: 2.5rem; height: 3px; background: var(--minium-vif); flex: none; }

.avis__grille { display: grid; gap: 3.5rem; margin-top: clamp(3.5rem, 8vw, 6rem); }
.citent__note { color: var(--neon-doux); font-size: .95rem; margin-bottom: 1.5rem; }
.tubes { display: grid; gap: 1.1rem; }
.tubes li { display: grid; grid-template-columns: 1fr auto; row-gap: .45rem; align-items: baseline; }
.tubes__mot { font-weight: 600; font-size: 1.1rem; }
.tubes__n { color: var(--neon-doux); font-size: .97rem; font-variant-numeric: tabular-nums; }
.tubes__trait {
  grid-column: 1 / -1;
  height: 5px; background: var(--neon);
  width: calc(var(--n) / 6 * 100%);
}
.tubes li:first-child .tubes__trait { height: 9px; background: var(--minium-vif); }
.note-globale { margin-top: 2.25rem; padding-top: 1rem; border-top: 1px solid rgba(242, 243, 239, .22); color: var(--neon-doux); max-width: 40ch; }
.note-globale strong { color: var(--neon); font-weight: 600; }

.temoins li { padding: 1.25rem 0; border-top: 1px solid rgba(242, 243, 239, .2); }
.temoins li:last-child { border-bottom: 1px solid rgba(242, 243, 239, .2); }
.temoins blockquote p { font-size: 1.12rem; line-height: 1.45; max-width: 52ch; }
.temoins blockquote p::before { content: "« "; }
.temoins blockquote p::after { content: " »"; }
.temoins__qui { margin-top: .4rem; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; color: var(--neon-doux); }
.avis__source { margin-top: 2.5rem; font-size: .95rem; color: var(--neon-doux); }

/* ——— Venir ——— */
.venir { background: var(--appret-2); padding: clamp(4rem, 10vw, 7rem) 0; }
.venir__grille { display: grid; gap: 2.5rem; }
.adresse { font-style: normal; font-size: 1.25rem; font-weight: 500; line-height: 1.45; }
.tel { margin-top: 1.1rem; }
.tel a {
  font: 400 clamp(1.4rem, 3.4vw, 2.1rem)/1.2 var(--badge); letter-spacing: .03em;
  display: inline-block; padding-top: .35em;
  text-decoration: none; border-bottom: 3px solid var(--minium); padding-bottom: .15em;
  white-space: nowrap;
}
.tel a:hover { color: var(--minium-fonce); }
.horaires { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--encre); max-width: 46ch; }
.horaires p, .zone { color: var(--encre-doux); }
.zone { margin-top: 1.25rem; max-width: 46ch; }
.carte { min-height: 340px; border: 1px solid var(--encre); background: var(--appret); }
.carte iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(.55) contrast(1.05); }

/* ——— Pied ——— */
.pied { background: var(--laque); color: var(--neon); padding: 3.5rem 0 calc(3.5rem + var(--barre)); }
.pied__grille { display: grid; gap: 1rem; }
.pied__nom { font: 400 clamp(2rem, 6vw, 3rem)/1 var(--badge); letter-spacing: .05em; text-transform: uppercase; }
.pied p:not(.pied__nom) { color: var(--neon-doux); }
.pied a { color: var(--neon); }
.pied__petit { font-size: .85rem; }

/* ——— Barre fixe mobile ——— */
.barre {
  position: fixed; inset: auto 0 0; z-index: 10;
  display: grid; grid-template-columns: 1fr 1fr;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--laque);
  border-top: 1px solid var(--laque-2);
}
.barre a {
  display: flex; align-items: center; justify-content: center;
  min-height: 3.5rem; font-weight: 600; text-decoration: none;
}
.barre__appel { background: var(--minium); color: #fff; }
.barre__route { color: var(--neon); }

@media (max-width: 899px) {
  :root { --barre: 3.5rem; }
}

@media (max-width: 999px) {
  .marge--g div:first-child { display: none; }
}

/* Téléphone : le monogramme est posé sur une plaque, les reflets s'arrêtent à ses bords */
@media (max-width: 599px) {
  .nom__badge { mix-blend-mode: normal; color: var(--neon); background: var(--laque); padding: .12em .14em .1em .2em; display: inline-block; }
}

@media (min-width: 560px) {
  .tete__tel-txt { display: inline; }
  .marge { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 760px) {
  .ligne { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 2rem; align-items: baseline; }
  .venir__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 4rem; align-items: stretch; }
  .pied__grille { grid-template-columns: auto 1fr; column-gap: 3rem; align-items: end; }
  .pied__petit { grid-column: 2; }
}

@media (min-width: 900px) {
  .barre { display: none; }
}

@media (min-width: 1000px) {
  .panneau__bas {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 3rem; align-items: end;
    padding-bottom: 2.75rem;
  }
  .panneau__texte { order: 2; text-align: center; }
  .panneau__texte .lede, .panneau__texte .regle { margin-left: auto; margin-right: auto; }
  .panneau__texte .actions { justify-content: center; }
  .marge, .marge--g, .marge--d { grid-template-columns: 1fr; }
  .marge--g { order: 1; }
  .marge--d { order: 3; text-align: right; }
  .preuve { display: none; }
  .avis__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 5rem; }
}

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