/* Enseigne La Barbière — partagé par la devanture et la planche graphiste.
   Toutes les tailles en cqw (1 cqw = 1 % de la largeur du panneau) : proportions fixes à toute taille. */
:root {
  --creme: #ede6dc;
  --creme-ombre: #c4b8a8;
}
.enseigne {
  container-type: inline-size;
  position: relative;
  width: min(1600px, 100%);
  aspect-ratio: 2.35 / 1;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0,0,0,.7);
  background: #411203 url("fond-corten-client.webp") center / cover;
}
.contenu {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; /* groupe centré : marges gauche = droite */
}

/* lettres et logo en acier découpé posés à 2-3 cm de la plaque */
.logo, .trait, .texte {
  filter:
    drop-shadow(.07cqw .07cqw 0 var(--creme-ombre))
    drop-shadow(.3cqw .45cqw .35cqw rgba(0,0,0,.65));
}

.logo { height: 84%; width: auto; flex: none; }

.trait {
  flex: none;
  width: .32cqw;
  height: 62%;
  margin: 0 4.4cqw 0 4.4cqw;
  background: var(--creme);
}

.texte { color: var(--creme); }

.ligne-haut {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: .6cqw;
}
/* Polices pilotables : --f-* famille, --w-* graisse, --st-* style, --ls-* interlettrage, --s-* échelle.
   --fit réduit tout le texte si une police large dépasse du panneau. */
.la, .nom {
  font-family: var(--f-nom, "Josefin Sans"), sans-serif;
  font-weight: var(--w-nom, 400);
  font-style: var(--st-nom, normal);
  text-transform: var(--tt-nom, uppercase);
  line-height: 1;
}
.la  { font-size: calc(7.4cqw * var(--s-nom, 1) * var(--fit, 1)); letter-spacing: var(--ls-nom, .14em); } /* même corps que BARBIÈRE */
.nom { font-size: calc(7.4cqw * var(--s-nom, 1) * var(--fit, 1)); letter-spacing: var(--ls-nom, .14em); margin-right: calc(-1 * var(--ls-nom, .14em)); }
.since {
  font-family: var(--f-since, "Josefin Sans"), sans-serif;
  font-weight: var(--w-since, 600);
  font-style: var(--st-since, normal);
  text-transform: uppercase;
  line-height: 1;
  font-size: calc(1.25cqw * var(--s-since, 1) * var(--fit, 1));
  letter-spacing: var(--ls-since, .3em);
  margin-right: calc(-1 * var(--ls-since, .3em));   /* aligné au ras du E de BARBIÈRE */
  opacity: .85;
}
.lieu {
  display: flex; align-items: center; gap: 1.4cqw;
  margin-top: 2cqw;
  font-family: var(--f-lieu, "Cormorant Garamond"), serif;
  font-style: var(--st-lieu, italic);
  font-weight: var(--w-lieu, 500);
  font-size: calc(2.6cqw * var(--s-lieu, 1) * var(--fit, 1));
  letter-spacing: var(--ls-lieu, .05em);
  line-height: 1.15;
}
.lieu::before { content: ""; width: 4cqw; height: .14cqw; background: currentColor; }

/* Touche stylisée : l'accent du È remplacé par un petit dessin (rasoir, mèche…) */
.e-touche { position: relative; display: inline-block; }
.e-touche svg {
  position: absolute; bottom: 100%;
  left: calc(50% - var(--ls-nom, .14em) / 2);
  width: .74em; height: auto; fill: currentColor;
  transform: translate(-50%, 32%) rotate(var(--rot, 26deg));
}

/* --- Variantes du filet (data-filet sur .trait) --- */
.trait[data-filet="double"]  { width: .95cqw; background: none; border-left: .2cqw solid var(--creme); border-right: .2cqw solid var(--creme); }
.trait[data-filet="losange"] { position: relative; }
.trait[data-filet="losange"]::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 1.15cqw; height: 1.15cqw;
  background: var(--creme); transform: translate(-50%, -50%) rotate(45deg);
}
.trait[data-filet="points"] { position: relative; width: .2cqw; }
.trait[data-filet="points"]::before, .trait[data-filet="points"]::after {
  content: ""; position: absolute; left: 50%; width: .9cqw; height: .9cqw; border-radius: 50%;
  background: var(--creme); transform: translateX(-50%);
}
.trait[data-filet="points"]::before { top: -.45cqw; }
.trait[data-filet="points"]::after  { bottom: -.45cqw; }
.trait[data-filet="rasoir"], .trait[data-filet="meche"] { background: none; width: 1.5cqw; }
.trait[data-filet="meche"] { width: 1.8cqw; }
.trait svg { display: block; width: 100%; height: 100%; fill: var(--creme); }
.trait[data-filet="aucun"] { background: none; }

/* --- Ornement devant « De La Réunion » (data-tiret sur .enseigne) --- */
.enseigne[data-tiret="encadre"] .lieu::after { content: ""; width: 4cqw; height: .14cqw; background: currentColor; }
.enseigne[data-tiret="losange"] .lieu::before { width: .85cqw; height: .85cqw; transform: rotate(45deg); }
.enseigne[data-tiret="aucun"] .lieu::before { display: none; }

/* --- Place de « SINCE 2019 » (data-since sur .enseigne) --- */
.enseigne[data-since="bas"] .texte { position: relative; }
.enseigne[data-since="bas"] .since { position: absolute; right: 0; bottom: .6cqw; }
.enseigne[data-since="dessous"] .texte { position: relative; }
.enseigne[data-since="dessous"] .since { position: absolute; left: 0; top: calc(100% + 1.6cqw); margin-right: 0; }
