/*
 * L'identité de Sha Tattoo.
 *
 * La mise en page (une, pages numérotées, encadrés, intro) vient de la base commune ; cette
 * feuille, chargée en dernier, lui donne la voix de Sha : celle du trait fin.
 *   Allura               le nom du salon, une écriture fine et liée, comme un lettrage fineline
 *   Cormorant Garamond   les titres : un romain à fort contraste, fin et élégant, l'italique en violet
 *   Jost                 le texte, les étiquettes et les boutons : net, moderne, aéré
 * Les filets gras du journal deviennent des traits fins ; les boutons s'arrondissent ; un brin
 * dessiné au trait signe les rubriques ; les photos ont un second trait, décalé, en violet.
 */

:root {
  --font-name: "Allura", "Segoe Script", cursive;
  --font-poster: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --font-head: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --font-text: "Jost", "Futura", "Century Gothic", "Segoe UI", sans-serif;
  --font-label: "Jost", "Futura", "Century Gothic", "Segoe UI", sans-serif;

  --line: rgba(44, 32, 56, .2);     /* le trait fin des encadrés */
  --line-strong: rgba(44, 32, 56, .55);
  --violet-soft: #e9dff0;
  --radius: 999px;

  /* Le brin au trait : la signature des rubriques. */
  --brin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 24' fill='none' stroke='%23000' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20C18 18 34 12 60 4.5'/%3E%3Cpath d='M14 17.6c1-4 4-6.5 8-6.6-1 3.6-4 6-8 6.6zM26 14.2c-.4-4 1.6-7.1 5.6-8.5.4 3.8-1.6 7-5.6 8.5zM38.5 10.6c1.5-3.6 4.8-5.3 8.6-4.6-1.5 3.4-4.8 5.2-8.6 4.6zM21.6 15.6c-3.4-1.9-4.9-4.7-4.3-8.1 3.1 1.7 4.6 4.6 4.3 8.1zM33.8 12.2c-3-2.4-3.8-5.4-2.6-8.6 2.8 2.2 3.8 5.3 2.6 8.6z'/%3E%3Ccircle cx='60.5' cy='4.2' r='1.9'/%3E%3C/svg%3E");
}

body {
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: .005em;
  /* Fond uni : le grain « papier journal » (une petite texture agrandie) paraissait flou sur
     les écrans de téléphone, derrière tout le texte. */
  background-image: none;
  -webkit-font-smoothing: auto;
}

/* Même chose pour la messagerie qui s'ouvre sur le côté. */
.chat {
  background-image: none;
}

/* ── Titres ─────────────────────────────────────────────────────────────── */

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: 0;
}

.headline {
  font-weight: 500;
  letter-spacing: .01em;
  line-height: .98;
}

/* Petit écran : les traits fins de Cormorant s'épaississent un peu pour rester nets. */
@media (max-width: 40rem) {
  .headline,
  .headline em,
  .section-title,
  .menu-group-title,
  .deck,
  .masthead-ear-slot,
  .video-titre,
  .planche-nom,
  .ev-nom {
    font-weight: 600;
  }

  body {
    font-weight: 450;
  }
}

/* Le mot fort : en italique, en violet (et non plus en écriture d'enseigne). */
.headline em {
  font-family: var(--font-head);
  font-size: 1em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  padding-inline: .02em;
}

.headline .line > .w:first-child em {
  margin-left: 0;
}

.headline:has(.line:last-child em),
.headline:has(> em) {
  padding-bottom: .08em;
}

.headline--xl { font-size: clamp(2.9rem, 7.6vw, 7rem); }
.headline--l { font-size: clamp(2.3rem, 5vw, 4.4rem); }
.lead .headline--xl { --fit-max: 7.5rem; font-size: clamp(2.6rem, 11vw, 7rem); }

.headline--m,
.headline--s {
  font-weight: 600;
}

.headline--m { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.headline--s { font-size: 1.75rem; }

/* Surtitre : un losange fin plutôt qu'un pavé */
.kicker,
.eyebrow {
  gap: .7rem;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .2em;
}

.kicker::before,
.eyebrow::before {
  width: .5rem;
  height: .5rem;
  border: 1px solid currentColor;
  background: transparent;
  transform: rotate(45deg);
}

.deck {
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  font-weight: 500;
  line-height: 1.3;
}

.dropcap > p:first-child::first-letter {
  padding: .06em .12em 0 0;
  color: var(--gold-display);
  font-family: var(--font-head);
  font-size: 4.2em;
  font-style: italic;
  font-weight: 500;
  line-height: .8;
}

.columns {
  column-rule-color: var(--line);
}

/* ── Filets : du gras du journal au trait fin ───────────────────────────── */

.folio,
.masthead-line {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .2em;
}

.masthead-line::before {
  display: none;
}

.section-bar {
  align-items: center;
  padding-block: .8rem .7rem;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.section-title {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: none;
}

/* Le brin au trait, devant chaque rubrique */
.section-title::before,
.menu-group-title::before {
  content: "";
  flex: none;
  width: 2.6rem;
  height: 1rem;
  background: var(--gold);
  -webkit-mask: var(--brin) center / contain no-repeat;
  mask: var(--brin) center / contain no-repeat;
}

.section-note {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.menu-group-title {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding-block: .8rem .2rem;
  border-top: 1px solid var(--line-strong);
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: none;
}

.house-rule {
  border-bottom: 1px solid var(--line-strong);
}

.pager {
  border-top: 1px solid var(--line-strong);
  border-bottom-color: var(--line);
}

.pager {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pager-link {
  min-width: 0;
  font-size: clamp(1.35rem, 5.4vw, 3rem);
  font-weight: 500;
  letter-spacing: .01em;
}

.pager-link > span {
  min-width: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.pager-link small {
  font-size: .72rem;
  letter-spacing: .14em;
}

/* Téléphone : « tournez la page » sur toute la largeur, une page par ligne. */
@media (max-width: 40rem) {
  .pager {
    grid-template-columns: minmax(0, 1fr);
  }

  .pager > span:empty {
    display: none;
  }

  .pager-link {
    min-height: 4.5rem;
  }

  .pager-link--prev {
    border-right: 0;
  }

  .pager-link + .pager-link {
    border-top: 1px solid var(--line);
  }
}

.pager-link--prev {
  border-right-color: var(--line);
}

/* « Une question ? » et la règle du salon : même trait fin que les autres encadrés. */
.help-band {
  margin-top: 1rem;
}

.help-band p {
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-bright);
  border-radius: 2px;
  background: var(--white);
  font-size: 1.02rem;
}

.help-band strong,
.rules strong,
.a-paraitre strong {
  font-size: .82em;
  font-weight: 600;
  letter-spacing: .14em;
}

.rules {
  border-left-width: 3px;
  border-radius: 2px;
}

.a-paraitre {
  border-color: var(--line-strong);
  border-radius: 2px;
}

/* La carte : un seul filet fin au-dessus de la liste (plus de double trait violet). (À ne pas
   confondre avec l'encadré du devis de la messagerie, « .carte.carte-devis ».) */
.carte-devis:not(.carte) {
  border-top: 0;
}

/* ── Messagerie : encadrés, avancement, pastille « Mes messages » ────────── */

.carte {
  border-color: var(--line-strong);
  border-radius: 2px;
  box-shadow: 0 .8rem 1.4rem -1rem rgba(44, 32, 56, .45);
}

.carte.carte-devis,
.carte-creneau {
  border-top: 3px solid var(--gold-bright);
}

.devis-lignes,
.devis-lignes div + div {
  border-color: var(--line-strong);
}

.devis-lignes dt {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
}

.devis-lignes dd {
  font-weight: 500;
}

/* Les bulles de messages : arrondies, avec un coin pointu du côté de qui parle. */
.msg p {
  border-radius: 1rem;
  font-size: 1rem;
}

.msg-moi p {
  border-bottom-right-radius: .3rem;
}

.msg-elle p {
  border-color: var(--line-strong);
  border-bottom-left-radius: .3rem;
}

.msg-image {
  overflow: hidden;
  border-radius: .8rem;
}

.badge {
  border-color: var(--line-strong);
  border-radius: var(--radius);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .12em;
}

.projet-ligne {
  border-bottom-color: var(--line);
}

.progression li {
  overflow: hidden;
  border-top-width: 3px;
  font-size: .68rem;
  letter-spacing: .06em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-bulle {
  border-radius: var(--radius);
  box-shadow: 0 .8rem 1.4rem -.7rem rgba(44, 32, 56, .55);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .14em;
}

@media (hover: hover) {
  .chat-bulle:hover {
    box-shadow: 0 1rem 1.6rem -.7rem rgba(44, 32, 56, .6);
  }
}

/* ── Espace salon : onglets et filtres ──────────────────────────────────── */

.onglets-espace button {
  padding: 0 .75rem;
  border-radius: var(--radius);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
}

/* Téléphone : les cinq onglets tiennent dans la largeur, sans défiler. */
@media (max-width: 52rem) {
  .onglets-espace {
    justify-content: space-between;
    gap: .1rem;
  }

  .onglets-espace button {
    min-width: 2.75rem;
    justify-content: center;
    padding: 0 .55rem;
  }
}

.filtres {
  overflow: hidden;
  border-color: var(--line-strong);
  border-radius: var(--radius);
}

.filtres button {
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .14em;
}

.filtres button + button {
  border-left-color: var(--line-strong);
}

/* Titres des pages de l'espace, rubriques des réglages : au trait fin, comme le site. */
.page-titre {
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--line-strong);
  font-weight: 500;
  line-height: .95;
}

.reglages fieldset {
  border-color: var(--line);
  border-radius: 2px;
}

.reglages legend {
  padding: .2rem .6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gold);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .16em;
}

/* La photo de profil des réglages : toujours ronde (elle s'écrasait en ovale sur téléphone). */
.profil {
  flex-wrap: wrap;
}

.profil-apercu {
  flex: none;
}

.profil-actions {
  flex: 1 1 11rem;
  min-width: 0;
}

.profil-actions .btn {
  max-width: 100%;
}

@media (max-width: 30rem) {
  .profil {
    flex-direction: column;
    align-items: flex-start;
  }

  .profil-actions {
    flex: none;
    width: 100%;
  }
}

.profil-apercu .brand-avatar {
  flex: none;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Réglages : trois champs côte à côte (le tarif des événements), et le bouton « Enregistrer »
   toujours à portée de main au bas de l'écran, le formulaire étant long. */
.reglages .trois {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
}

@media (max-width: 34rem) {
  .reglages .trois {
    grid-template-columns: minmax(0, 1fr);
  }
}

.reglages > .btn[type="submit"] {
  position: sticky;
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 5;
  box-shadow: 0 .8rem 1.6rem -.6rem rgba(44, 32, 56, .55);
}

/* Agenda de l'espace salon : le numéro de la personne sous chaque rendez-vous */
.rdv-tel {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.5rem;
  padding: 0 .2rem;
  color: var(--gold);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
}

.rdv-tel .icon {
  width: 1rem;
  height: 1rem;
}

.rdv-tel:hover {
  text-decoration: underline;
}

/* Pages légales : onglets et intertitres au trait fin */
.legal-nav a {
  min-height: 2.6rem;
  border-color: var(--line-strong);
  border-radius: var(--radius);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .14em;
}

.prose h2 {
  padding-top: .7rem;
  border-top: 1px solid var(--line-strong);
  font-size: 1.7rem;
  font-weight: 600;
}

.prose h3 {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
}

/* Bandeau de rubrique : sur deux lignes (téléphone), le renvoi « suite page… » se range à droite. */
.section-note {
  margin-left: auto;
}

/* Pied de page : le filet du titre « Paiement » sur toute la colonne, comme les autres. */
.ours-paiement .ours-title {
  justify-self: stretch;
}

/* ── Encadrés ───────────────────────────────────────────────────────────── */

.box,
.lead-index,
.masthead-ear,
.flyer {
  border-color: var(--line);
}

.box {
  padding: 1.15rem 1.3rem 1.35rem;
  border-radius: 2px;
}

.box-title {
  border-bottom-color: var(--line);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .2em;
}

.box--ink .box-title {
  border-bottom-color: rgba(241, 239, 236, .25);
}

.lead-index-title {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .2em;
}

.masthead-ear {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
}

/* « · édition du jour » : la date se coupait sur quatre lignes dans le petit encadré. */
.masthead-ear-more {
  display: none;
}

.masthead-ear-slot,
.masthead-ear--slot [data-next-slot-label] {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0;
}

.briefs li {
  border-bottom-style: solid;
  border-bottom-color: var(--line);
  font-size: .98rem;
}

.briefs strong {
  font-size: .78em;
  font-weight: 600;
  letter-spacing: .14em;
}

/* ── Boutons : arrondis, en capitales espacées ──────────────────────────── */

.btn {
  min-height: 3rem;
  padding: .5rem 1.6rem;
  border-radius: var(--radius);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .18em;
}

.btn--small {
  min-height: 2.75rem;
  padding-inline: 1.15rem;
  font-size: .76rem;
}

/* Le double du libellé (effet de survol) attend bien plus bas : avec les boutons arrondis et des
   lettres plus petites, il se voyait en transparence sous le texte. */
.btn > span[data-text]::after {
  padding-top: 3em;
}

@media (hover: hover) {
  .btn:not(:disabled):hover > span[data-text] {
    transform: translateY(calc(-100% - 3em));
  }
}

.icon-btn {
  border-radius: 50%;
}

/* ── Menu : sept rubriques, en petites capitales espacées ───────────────── */

@media (min-width: 62.01rem) {
  .site-nav ul {
    gap: clamp(.8rem, 1.6vw, 1.6rem);
  }

  .site-nav li a {
    font-size: .76rem;
    font-weight: 500;
    letter-spacing: .14em;
    white-space: nowrap;
  }

  .site-nav li a::after {
    height: 1px;
  }

  .site-nav li a.nav-book {
    min-height: 2.5rem;
    border-radius: var(--radius);
  }

  .nav-num {
    font-family: var(--font-head);
    font-size: .95rem;
    font-style: italic;
  }
}

/* Écran moyen : les numéros de page s'effacent et les lettres se resserrent un peu, pour que les
   sept rubriques (dont « Flashs & vidéos ») tiennent sur une ligne, sans défilement de côté. */
@media (min-width: 62.01rem) and (max-width: 78rem) {
  .site-nav .nav-num {
    display: none;
  }

  .site-nav ul {
    gap: clamp(.7rem, 1.3vw, 1.1rem);
  }

  .site-nav li a {
    letter-spacing: .1em;
  }
}

/* Téléphone et tablette : le sommaire plein écran, en grand mais sans déborder. */
@media (max-width: 62rem) {
  .site-nav ul {
    border-top-width: 1px;
  }

  .site-nav li a {
    font-size: clamp(1.9rem, 8.6vw, 3rem);
    font-weight: 500;
    letter-spacing: .02em;
    line-height: 1.05;
    overflow-wrap: anywhere;
    border-bottom-color: var(--line-strong);
  }
}

/* « Uniquement sur rendez-vous » : un trait de surligneur sous chaque ligne (sur deux lignes, il
   ne barre plus le texte). */
.house-rule strong {
  background: none;
  text-decoration: underline;
  text-decoration-color: var(--gold-bright);
  text-decoration-thickness: .22em;
  text-decoration-skip-ink: none;
  text-underline-offset: -.02em;
}

/* Chiffres toujours alignés : sans cela, la police des titres prend ses chiffres « à l'ancienne »
   (le 3 et le 9 descendent sous la ligne) dès qu'un style demande des chiffres de même largeur. */
body *,
.dispos-heures,
.hours td {
  font-variant-numeric: lining-nums tabular-nums;
}

/* Les heures des disponibilités : dans la police du texte, comme le tableau des horaires. */
.dispos-heures {
  font-family: var(--font-label);
  font-size: 1rem;
  font-weight: 500;
}

/* Horaires : une plage ne se coupe jamais au milieu. */
.hours td {
  white-space: nowrap;
}

.hours th {
  padding-right: .6rem;
}

@media (max-width: 24rem) {
  .hours {
    font-size: .92rem;
  }
}

/* Les noms de ville à trait d'union (Loison-sous-Lens) ne se coupent pas. */
.map-address,
address {
  hyphens: manual;
}

.map-address {
  text-wrap: balance;
}

/* La note sous les horaires (mercredi matin, samedi après-midi) */
.hours-note p {
  margin: 0;
}

.hours-note p + p {
  margin-top: .35rem;
}

.hours-note {
  margin: .6rem 0 0;
  color: var(--soft);
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.35;
}

/* ── Le nom du salon ────────────────────────────────────────────────────── */

.nameplate {
  font-size: clamp(3rem, 14.5vw, 7.6rem);
  line-height: 1.1;
}

@media (min-width: 60rem) {
  .nameplate {
    font-size: clamp(5rem, 9.5vw, 8rem);
  }
}

.brand {
  font-size: 2rem;
}

/* ── Photos : un second trait, décalé, en violet ────────────────────────── */

.frame {
  border-color: var(--line-strong);
}

.lead-photo .frame,
.planche-image,
.video-cadre {
  box-shadow: .6rem .6rem 0 -1px var(--page-bg, var(--paper)), .6rem .6rem 0 0 var(--gold-bright);
}

/* ── Bandeau défilant ───────────────────────────────────────────────────── */

.ticker {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .16em;
}

.ticker-label {
  font-weight: 600;
  letter-spacing: .18em;
}

.ticker li {
  padding-block: .6rem;
}

/* ── La carte : les spécialités, et le post-it avec son « ici » ─────────── */

.carte-liste {
  border-top-color: var(--line-strong);
}

.carte-liste li {
  gap: .9rem;
  padding-block: 1rem;
  border-bottom-color: var(--line);
  font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  font-weight: 500;
}

/* Un petit losange au trait devant chaque spécialité */
.carte-liste li::before {
  width: .5rem;
  height: .5rem;
  border: 1px solid var(--gold);
  background: transparent;
  rotate: 45deg;
  translate: 0 -.2em;
}

.post-it {
  gap: .35rem;
  font-size: clamp(2rem, 6vw, 2.35rem);
}

.post-it p {
  margin: 0;
}

.post-it span {
  font-family: var(--font-name);
}

/* « ici » : écrit à la main et entouré d'un trait de stylo violet. C'est le bouton du devis. */
.post-it-ici {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: .3rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  margin-top: .1rem;
  padding: .05em .55em .1em .6em;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--font-name);
  font-size: 1.25em;
  line-height: 1;
  cursor: pointer;
  rotate: -4deg;
  transition: color .25s ease, rotate .4s var(--ease-out), scale .4s var(--ease-out);
}

/* Le cercle tracé à la main, un peu de travers, qui ne se referme pas tout à fait */
.post-it-ici::before {
  content: "";
  position: absolute;
  inset: -.05em -.15em -.12em -.1em;
  border: 2px solid var(--gold);
  border-radius: 55% 45% 50% 50% / 60% 50% 55% 45%;
  border-top-color: transparent;
  rotate: -8deg;
  transition: background-color .25s ease, border-color .25s ease;
}

.post-it-ici::after {
  content: "";
  position: absolute;
  top: .02em;
  left: .1em;
  width: 65%;
  height: .5em;
  border-top: 2px solid var(--gold);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  rotate: -10deg;
}

.post-it-ici-mot {
  position: relative;
  color: var(--gold);
}

.post-it-ici .icon {
  position: relative;
  width: .55em;
  height: .55em;
  color: var(--gold);
  stroke-width: 2.2;
  transition: translate .4s var(--ease-out);
}

@media (hover: hover) {
  .post-it-ici:hover {
    rotate: -1deg;
    scale: 1.08;
  }

  .post-it-ici:hover::before {
    background: rgba(198, 143, 207, .28);
  }

  .post-it-ici:hover .icon {
    translate: .15em 0;
  }
}

.post-it-ici:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-radius: 2rem;
}

/* ── Pied de page ───────────────────────────────────────────────────────── */

.ours-title {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .2em;
}

.ours-reseaux {
  margin-top: .4rem;
}

.ours-paiement {
  display: grid;
  justify-items: start;
  gap: .6rem;
  margin-top: 1.4rem;
}

.ours-note {
  max-width: 18rem;
  color: var(--soft);
  font-size: .88rem;
  line-height: 1.4;
}

/* ── Réseaux sociaux ────────────────────────────────────────────────────── */

.reseaux {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reseau {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-height: 2.9rem;
  color: inherit;
  text-decoration: none;
}

.reseau-icone {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .4s var(--ease-out);
}

.reseau-icone .icon {
  width: 1.3rem;
  height: 1.3rem;
}

.reseau-texte {
  display: grid;
  line-height: 1.2;
}

.reseau-texte b {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.reseau-texte small {
  color: var(--soft);
  font-size: .9rem;
}

.reseaux--noms {
  gap: .8rem 1.8rem;
}

@media (hover: hover) {
  .reseau:hover .reseau-icone {
    border-color: var(--gold-bright);
    background: var(--gold-bright);
    color: var(--ink);
    transform: translateY(-2px);
  }
}

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

/* ── PayPal ─────────────────────────────────────────────────────────────── */

.btn-paypal-site .icon:first-child {
  width: 1.15rem;
  height: 1.15rem;
}

.acompte-box p {
  font-size: .98rem;
}

.acompte-box .btn {
  justify-self: start;
}

/* ── Vidéos TikTok ──────────────────────────────────────────────────────── */

.video-section .menu-group-title {
  margin-bottom: 1.4rem;
}

.videos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 16.5rem));
  gap: clamp(1.4rem, 3vw, 2.2rem);
  margin: 0 0 clamp(1.5rem, 3vw, 2.2rem);
  padding: 0 .6rem 0 0;
  list-style: none;
}

/* Téléphone : les vidéos défilent de côté, une et demie à l'écran. */
@media (max-width: 40rem) {
  .videos {
    grid-auto-columns: 68%;
    grid-auto-flow: column;
    grid-template-columns: none;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) .9rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .videos::-webkit-scrollbar {
    display: none;
  }

  .video {
    scroll-snap-align: start;
  }
}

.video {
  display: grid;
  align-content: start;
  gap: .8rem;
  min-width: 0;
}

.video-cadre {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--ink);
}

.video-cadre iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-facade {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(198, 143, 207, .45), transparent 70%),
    var(--ink);
  color: var(--paper);
  cursor: pointer;
  text-decoration: none;
}

/* Les exemples gardent le format vertical, sans lecteur. */
.videos--exemple .video-facade {
  aspect-ratio: 9 / 16;
  border: 1px dashed var(--gold);
  border-radius: 2px;
  background: var(--paper-2);
  color: var(--ink);
}

.video-facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out), filter .5s ease;
}

.video-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 32, 56, .72), transparent 42%);
  pointer-events: none;
}

.videos--exemple .video-facade::after {
  display: none;
}

.video-play {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 4.2rem;
  height: 4.2rem;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  background: rgba(44, 32, 56, .35);
  color: #fff;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: transform .5s var(--ease-out), background-color .3s ease;
}

.videos--exemple .video-play {
  border-color: var(--gold);
  background: transparent;
  color: var(--gold);
}

.video-play .icon {
  width: 1.6rem;
  height: 1.6rem;
  margin-left: .2rem;
  fill: currentColor;
}

.video-marque {
  position: absolute;
  bottom: .9rem;
  left: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #fff;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
}

.videos--exemple .video-marque {
  color: var(--gold);
}

.video-marque .icon {
  width: 1.05rem;
  height: 1.05rem;
}

.video-exemple {
  position: absolute;
  top: 26%;
  display: grid;
  justify-items: center;
  gap: .15rem;
  text-align: center;
}

.video-exemple b {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.video-exemple span {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-style: italic;
}

.video-exemple small {
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-style: italic;
}

@media (hover: hover) {
  .video-facade:hover img {
    transform: scale(1.04);
  }

  .video-facade:hover .video-play {
    transform: scale(1.08);
    background: var(--gold-bright);
    color: var(--ink);
  }
}

.video-facade:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: -4px;
}

.video-titre {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.25;
}

.video-pied {
  display: grid;
  gap: .9rem;
}

/* La vidéo à la une : verticale, à la place de la grande photo. */
/* La largeur décide, la hauteur suit le format vertical (sans dépasser l'écran). */
.lead-video .frame,
.lead:not(.lead--texte) .lead-video .frame {
  flex: none;
  width: min(100%, calc(min(78vh, 46rem) * 9 / 16));
  min-height: 0;
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  background: var(--ink);
}

.lead-video .frame-inner {
  inset: 0;
}

.lead-video-titre {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: 1rem;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-style: italic;
  text-align: center;
}

.lead-video-titre span {
  margin: 0;
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.lead-video-titre .icon {
  flex: none;
  width: 1rem;
  height: 1rem;
  color: var(--gold);
}

/* ── Les planches de flashs ─────────────────────────────────────────────── */

.planches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1.8rem, 4vw, 3rem) clamp(1.4rem, 3vw, 2.4rem);
  margin: clamp(1.4rem, 3vw, 2.2rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  padding: 0 .6rem 0 0;
  list-style: none;
}

.notice-line {
  border-style: solid;
  border-color: var(--line);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
}

.planche {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-width: 0;
}

.planche-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--white);
  cursor: zoom-in;
  transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out);
}

.planche-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 1s var(--ease-out);
}

@media (hover: hover) {
  .planche-image:hover {
    box-shadow: .9rem .9rem 0 -1px var(--paper), .9rem .9rem 0 0 var(--gold-bright);
    transform: translate(-2px, -2px);
  }

  .planche-image:hover img {
    transform: scale(1.025);
  }
}

.planche-image:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.planche.is-taken .planche-image img {
  opacity: .45;
  filter: grayscale(1);
}

.planche-pied {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1rem;
}

.planche-nom {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.15;
}

.planche-prix {
  color: var(--muted);
  font-size: .95rem;
}

.planche-prix b {
  color: var(--ink);
  font-weight: 600;
}

/* Les planches sont souvent petites : la visionneuse les montre à hauteur d'écran. */
.lightbox [data-lightbox-image] {
  width: auto;
  height: min(74vh, 56rem);
  max-width: 88vw;
  object-fit: contain;
  background: #fff;
}

/* Téléphone : deux planches par ligne (moins de défilement, images moins agrandies donc plus nettes). */
@media (max-width: 40rem) {
  .planches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem .9rem;
    padding-right: .35rem;
  }

  .planche {
    gap: .6rem;
  }

  .planche-image {
    box-shadow: .35rem .35rem 0 -1px var(--page-bg, var(--paper)), .35rem .35rem 0 0 var(--gold-bright);
  }

  .planche-pied {
    display: grid;
    gap: .5rem;
  }

  .planche-nom {
    font-size: 1.05rem;
  }

  .planche-pied .btn {
    width: 100%;
    padding-inline: .6rem;
  }

  .flash-taken {
    font-size: 1rem;
  }

  /* La galerie aussi : deux colonnes. */
  .masonry {
    columns: 2;
    column-gap: .8rem;
  }
}

.lightbox-action {
  display: flex;
  justify-content: center;
  margin-top: .9rem;
}

/* ── Événements ─────────────────────────────────────────────────────────── */

.ev-pour {
  display: grid;
  /* Toujours trois de front : jamais une carte seule sur sa ligne. */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ev-carte {
  display: grid;
  justify-items: center;
  gap: .9rem;
  padding: 2rem 1.2rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  text-align: center;
}

.ev-icone {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
}

.ev-icone .icon {
  width: 1.8rem;
  height: 1.8rem;
  stroke-width: 1.2;
}

.ev-nom {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.1;
}

/* Téléphone : les trois types d'événements côte à côte, en petit. */
@media (max-width: 40rem) {
  .ev-pour {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
  }

  .ev-carte {
    gap: .55rem;
    padding: 1rem .35rem .9rem;
  }

  .ev-icone {
    width: 2.8rem;
    height: 2.8rem;
  }

  .ev-icone .icon {
    width: 1.3rem;
    height: 1.3rem;
  }

  .ev-nom {
    font-size: 1.05rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
}

/* La bande sombre : « comment ça se passe » sur la page, et le renvoi depuis la une. */
.ev-bande {
  position: relative;
  margin-block: clamp(3rem, 7vw, 5.5rem);
  padding-block: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  --page-bg: var(--ink);
  --accent-text: var(--gold-bright);
  --soft: var(--muted-on-dark);
}

/* Le brin, en grand et en filigrane */
.ev-bande::before {
  content: "";
  position: absolute;
  right: -4rem;
  bottom: -1rem;
  width: min(36rem, 80vw);
  aspect-ratio: 64 / 24;
  background: var(--gold-bright);
  opacity: .13;
  -webkit-mask: var(--brin) center / contain no-repeat;
  mask: var(--brin) center / contain no-repeat;
  pointer-events: none;
}

.ev-bande .headline {
  color: var(--paper);
}

.ev-bande .headline em {
  color: var(--gold-bright);
}

.ev-bande-grille {
  position: relative;
  display: grid;
  gap: clamp(1.8rem, 4vw, 3.5rem);
}

@media (min-width: 56rem) {
  .ev-bande-grille {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
  }
}

.ev-bande-texte {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.ev-bande-pour {
  color: var(--gold-bright);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.ev-bande-prix {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
}

.ev-bande .actions {
  margin-top: .4rem;
}

.btn--clair {
  --fg: var(--paper);
  --bd: rgba(241, 239, 236, .55);
  --hover-bg: var(--paper);
  --hover-fg: var(--ink);
}

.ev-etapes {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.ev-etapes li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 1.3rem;
  padding-block: 1.3rem;
  border-top: 1px solid rgba(241, 239, 236, .2);
}

.ev-etapes li:last-child {
  border-bottom: 1px solid rgba(241, 239, 236, .2);
}

.ev-num {
  color: var(--gold-bright);
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-style: italic;
  line-height: 1;
}

.ev-etapes p {
  font-size: 1.08rem;
  line-height: 1.5;
}

.ev-tarif {
  display: grid;
  gap: 1.6rem;
  margin-top: 1.4rem;
}

.page-evenements .ev-pour {
  margin-top: 1.4rem;
}

@media (min-width: 56rem) {
  .ev-tarif {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: start;
  }

  .ev-cta {
    grid-column: 1 / -1;
  }
}

.ev-prix {
  display: grid;
  gap: .6rem;
  padding: 1.6rem 1.6rem 1.7rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-bright);
  background: var(--white);
}

.ev-prix-montant {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 500;
  line-height: 1.1;
}

.ev-reperes {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ev-reperes li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .8rem;
}

.ev-reperes .icon {
  width: 1.4rem;
  height: 1.4rem;
  margin-top: .15rem;
  color: var(--gold);
}

.ev-cta {
  display: grid;
  justify-items: start;
  gap: .7rem;
}

.page-evenements .page-head .actions {
  margin-top: 1.4rem;
}

/* La rubrique complète de la une */
.ev-une {
  position: relative;
  display: grid;
  gap: clamp(2rem, 4.5vw, 3.2rem);
}

.ev-une-tete {
  display: grid;
  gap: .9rem;
  max-width: 46rem;
}

.ev-une-chapeau {
  color: var(--muted-on-dark);
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-style: italic;
  line-height: 1.35;
}

.ev-bande .ev-carte {
  border-color: rgba(241, 239, 236, .18);
  background: rgba(241, 239, 236, .05);
}

.ev-bande .ev-icone {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.ev-sous-titre {
  margin-bottom: .4rem;
  color: var(--gold-bright);
  font-family: var(--font-label);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.ev-une-grille {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 56rem) {
  .ev-une-grille {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: start;
  }
}

.ev-une-plus {
  margin-top: 1.4rem;
}

/* La carte des tarifs : le montant en grand */
.ev-tarifs {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-bright);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  box-shadow: .7rem .7rem 0 -1px var(--page-bg, var(--paper)), .7rem .7rem 0 0 var(--gold-bright);
}

.ev-tarifs-titre {
  color: var(--gold);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.ev-montant {
  display: grid;
  gap: .15rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
  line-height: 1.1;
}

.ev-montant small {
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-style: italic;
}

.ev-montant b {
  color: var(--ink);
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1;
}

.ev-tarifs .ev-reperes li {
  font-size: 1rem;
}

.ev-tarifs-cta {
  margin: .3rem 0 0;
}

.ev-tarifs-cta .btn {
  width: 100%;
}

/* ── Les flashs en photo : la planche entière, sur fond blanc ───────────── */

img.is-planche {
  object-fit: contain !important;
  background: #fff;
}

.hgallery-item .frame:has(.is-planche),
.masonry-button:has(.is-planche) {
  background: #fff;
}

/* ── Les vidéos lues sur le site ────────────────────────────────────────── */

.video-cadre video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--ink);
}

.video-cadre[data-video] .video-facade {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.video-cadre.is-playing video {
  object-fit: contain;
}

/* ── Messagerie : la demande d'animation ────────────────────────────────── */

.choix-type {
  margin: 0;
  padding: 0;
  border: 0;
}

.choix-liste {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.field .choix-ev {
  position: relative;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.field .choix-ev input {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
}

.choix-ev span {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: .3rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: .95rem;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.choix-ev input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.choix-ev input:focus-visible + span {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.chat .deux {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0 .8rem;
}

/* ── L'agenda : les semaines à venir, jour par jour ─────────────────────── */

.agenda[data-agenda] {
  display: grid;
  align-content: start;
  gap: .9rem;
  min-width: 0;
  padding: 1.15rem 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
}

.agenda-tete {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .2rem 1rem;
  border-bottom: 1px solid var(--line);
}

.agenda-tete .box-title {
  border: 0;
}

.agenda-mois {
  margin: 0;
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-style: italic;
}

.agenda-intro {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.4;
}

.agenda-grille {
  display: grid;
  gap: .3rem;
}

.agenda-semaine {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .3rem;
}

.agenda-noms span {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

.agenda-jour {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: .1rem;
  min-width: 0;
  min-height: 3.1rem;
  padding: .3rem .1rem;
  border: 1px solid transparent;
  border-radius: 2px;
  background: none;
  color: inherit;
  font: inherit;
  line-height: 1.05;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.agenda-num {
  display: grid;
  justify-items: center;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
}

.agenda-num small {
  color: var(--gold);
  font-family: var(--font-label);
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.agenda-etat {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Libre : violet, on peut le demander */
.agenda-jour.is-libre {
  border-color: rgba(123, 47, 134, .35);
  background: var(--violet-soft);
}

.agenda-jour.is-libre .agenda-etat {
  color: var(--gold);
}

/* Complet : ouvert, mais plus de place */
.agenda-jour.is-complet {
  background: var(--paper-2);
  color: var(--muted);
}

/* Fermé (jour habituel, congés, jour férié) : barré d'un trait fin */
.agenda-jour.is-ferme {
  color: rgba(44, 32, 56, .45);
  background:
    linear-gradient(to top right, transparent calc(50% - .5px), rgba(44, 32, 56, .18) 50%, transparent calc(50% + .5px));
}

.agenda-jour.is-passe {
  color: rgba(44, 32, 56, .25);
  cursor: default;
}

/* Horaires modifiés ce jour-là : un point en coin */
.agenda-jour.is-modifie::after,
.agenda-pastille.is-modifie::after {
  content: "";
  position: absolute;
  top: .3rem;
  right: .3rem;
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: var(--gold-display);
}

.agenda-jour[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.agenda-jour[aria-pressed="true"] .agenda-etat,
.agenda-jour[aria-pressed="true"] .agenda-num small {
  color: var(--gold-bright);
}

@media (hover: hover) {
  button.agenda-jour:not([aria-pressed="true"]):hover {
    border-color: var(--ink);
  }
}

.agenda-jour:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.agenda-legende {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1rem;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: .8rem;
  list-style: none;
}

.agenda-legende li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.agenda-pastille {
  position: relative;
  width: .9rem;
  height: .9rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
}

.agenda-pastille.is-libre { border-color: rgba(123, 47, 134, .35); background: var(--violet-soft); }
.agenda-pastille.is-complet { background: var(--paper-2); }
.agenda-pastille.is-ferme { background: linear-gradient(to top right, transparent calc(50% - .5px), rgba(44, 32, 56, .4) 50%, transparent calc(50% + .5px)); }
.agenda-pastille.is-modifie { border: 0; }
.agenda-pastille.is-modifie::after { top: .25rem; right: .25rem; }

.agenda-detail {
  display: grid;
  gap: .35rem;
  padding: .9rem 1rem;
  border-left: 3px solid var(--gold-bright);
  background: var(--paper);
}

.agenda-detail p {
  margin: 0;
}

.agenda-detail-jour {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.15;
}

.agenda-detail-texte {
  font-size: .98rem;
}

.agenda-detail .actions {
  margin-top: .35rem;
}

.agenda[data-agenda] .field-hint {
  margin: 0;
}

/* Page Rendez-vous, grand écran : à gauche l'affichette puis les prochaines disponibilités, à
   droite l'agenda ; dessous, le salon et l'acompte côte à côte. */
@media (min-width: 60rem) {
  .rdv-page {
    grid-template-columns: minmax(0, 27rem) minmax(0, 32rem);
  }

  .rdv-page .flyer { grid-column: 1; grid-row: 1; }
  .rdv-page .agenda { grid-column: 2; grid-row: 1 / span 2; }
  .rdv-page .dispos { grid-column: 1; grid-row: 2; justify-self: stretch; }

  .rdv-page .how-box {
    grid-column: 1;
    grid-row: 3;
    justify-self: stretch;
    max-width: none;
  }

  .rdv-page .acompte-box { grid-column: 2; grid-row: 3; }
}

/* Très petit écran : seulement le chiffre et une pastille de couleur. */
@media (max-width: 24rem) {
  .agenda[data-agenda] {
    padding-inline: .8rem;
  }

  .agenda-etat {
    display: none;
  }
}

/* ── L'application : installation et notifications ──────────────────────── */

.ours-installer[hidden],
.rappel-notif[hidden],
.panneau-appli[hidden] {
  display: none !important;
}

.ours-installer {
  font: inherit;
}

.ours-installer .icon {
  width: 1.1rem;
  height: 1.1rem;
}

/* Messagerie : « Être prévenu(e) des réponses » */
.rappel-notif {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .4rem .7rem;
  margin: 0 0 .9rem;
  padding: .7rem .5rem .7rem .9rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-bright);
  border-radius: 2px;
  background: var(--white);
  font-size: .92rem;
  line-height: 1.35;
}

.rappel-notif > .icon {
  width: 1.3rem;
  height: 1.3rem;
  color: var(--gold);
}

.rappel-notif p {
  margin: 0;
}

.rappel-notif .btn {
  grid-column: 2;
  justify-self: start;
}

.rappel-notif-fermer {
  grid-column: 3;
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--muted);
  cursor: pointer;
}

.rappel-notif-fermer:hover {
  background: var(--paper-2);
  color: var(--ink);
}

.rappel-notif-fermer .icon {
  width: 1rem;
  height: 1rem;
}

/* Espace salon : la cloche et son panneau */
.barre-outils {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.cloche {
  position: relative;
}

.cloche--a-faire::after {
  content: "";
  position: absolute;
  top: .45rem;
  right: .45rem;
  width: .55rem;
  height: .55rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--gold-bright);
}

.panneau-appli {
  position: relative;
  z-index: 5;
  display: grid;
  gap: .7rem;
  width: min(100% - 2rem, 30rem);
  margin: 1rem 1rem 0 auto;
  padding: 1.1rem 1.2rem 1.2rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1.2rem 2.4rem -1.4rem rgba(44, 32, 56, .5);
}

.panneau-appli-corps {
  display: grid;
  gap: .7rem;
  padding-right: 2.5rem;
}

.panneau-appli-corps .box-title {
  margin: .3rem 0 0;
}

.panneau-appli-corps p {
  margin: 0;
  font-size: .95rem;
}

.panneau-appli-corps p .icon {
  display: inline-block;
  width: 1.05rem;
  height: 1.05rem;
  vertical-align: -.18em;
  color: var(--ok);
}

.panneau-appli-fermer {
  position: absolute;
  top: .6rem;
  right: .6rem;
}

/* ── Accessibilité : sans animation ─────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .video-facade img,
  .planche-image,
  .planche-image img,
  .reseau-icone {
    transition: none;
  }
}
