/* =================================================================
   Nacrélia — feuille de style

   Parti pris : blanc, rose #fbe7e7 et acier. Les aplats restent très pâles
   pour laisser parler les photos ; le gris froid de l'acier brossé ne sert
   qu'aux filets et aux détails. Le site assume un seul univers visuel
   (clair) : toutes les couleurs sont peintes explicitement.

   1.  Variables & réinitialisation
   2.  Typographie
   3.  Mise en page
   4.  Actions, étiquettes, formulaires
   5.  En-tête & navigation
   6.  Sections
   7.  Bande d'affiche & catalogue
   8.  Pied de page
   9.  Animations & accessibilité
   10. Impression
   ================================================================= */

/* -----------------------------------------------------------------
   1. Variables & réinitialisation
   ----------------------------------------------------------------- */
:root {
  /* Le rose de la maison, et ses deux dilutions. Tout le site en découle. */
  --rose: #fbe7e7;
  --rose-clair: #fdf1f1; /* dilué à 60 % dans le blanc */
  --rose-fonce: #f3cfcf; /* le même rose, plus dense : lavis et ombres */

  /* Fonds : du blanc au rose plein */
  --fond: #ffffff;
  --fond-2: var(--rose-clair);
  --fond-3: var(--rose);

  /* Encre prune : un noir adouci, accordé au rose */
  --encre: #2b2329;
  --encre-2: #63565d;
  --encre-3: #7e6e76;

  /* Filets */
  --trait: rgba(43, 35, 41, 0.12);
  --trait-fort: rgba(43, 35, 41, 0.3);

  /* Acier — la seule couleur « active » du site : le gris froid de l'inox
     brossé, en écho à la matière des bijoux.
     Les contrastes indiqués sont mesurés sur fond blanc. */
  --acier-1: #3d4650; /* 9,6:1 — filets et texte */
  --acier-2: #6b7684; /* 4,6:1 — reflet lisible même en petit */
  --acier-3: #7d8896; /* 3,6:1 — reflet clair, grands textes uniquement */
  --acier: linear-gradient(90deg, var(--acier-1), var(--acier-2) 45%, #454f5b);
  /* Reflet plus marqué, réservé au très grand texte : c'est ce qui
     distingue l'acier d'un aplat de gris. */
  --acier-doux: linear-gradient(100deg, #39424c, var(--acier-3) 42%, #454f5b);

  --succes: #2f7255;
  --erreur: #a53d33;

  /* Le serif ne sert qu'aux grandes tailles : ses déliés se cassent en petit. */
  --police-titre: 'Bodoni Moda', Didot, 'Bodoni MT', 'Times New Roman', serif;
  --police-texte: 'Archivo', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  --largeur: 1280px;
  --gouttiere: clamp(1.25rem, 5vw, 4rem);
  --transition: 260ms cubic-bezier(0.2, 0.6, 0.3, 1);
  --entete-h: 72px;
}

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--entete-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--fond);
  color: var(--encre-2);
  font-family: var(--police-texte);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg,
picture {
  display: block;
  max-width: 100%;
  /* Sans cela, les attributs width/height du HTML l'emportent sur
     aspect-ratio et déforment les images. */
  height: auto;
}

/* -----------------------------------------------------------------
   2. Typographie
   ----------------------------------------------------------------- */
h1,
h2 {
  font-family: var(--police-titre);
  font-weight: 400;
  color: var(--encre);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.9rem, 7vw, 5.6rem);
}

h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
}

/* Les titres intermédiaires restent en sans : plus lisibles, moins décoratifs. */
h3,
h4 {
  font-family: var(--police-texte);
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--encre);
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

strong {
  font-weight: 500;
  color: var(--encre);
}

.mention {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--encre-3);
  margin-bottom: 1.5rem;
}

.mention--acier {
  background: var(--acier-doux);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.chapeau {
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  color: var(--encre-2);
  max-width: 60ch;
}

.mesure {
  max-width: 68ch;
}

/* -----------------------------------------------------------------
   3. Mise en page
   ----------------------------------------------------------------- */
.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.section {
  padding-block: clamp(4rem, 8vw, 7.5rem);
}

/* Aplat rose : le #fbe7e7 en plein, éclairci d'un côté et densifié de
   l'autre. Deux lavis de la même teinte, jamais d'autre couleur. */
.section--rose {
  background:
    radial-gradient(70% 90% at 10% 6%, rgba(255, 255, 255, 0.6) 0%, transparent 62%),
    radial-gradient(55% 75% at 90% 34%, rgba(243, 207, 207, 0.55) 0%, transparent 60%),
    var(--rose);
}

.section--filet {
  border-top: 1px solid var(--trait);
}

/* Bande sombre de clôture : un seul contraste fort, en fin de page. */
.section--encre {
  background: var(--encre);
  color: rgba(255, 250, 252, 0.74);
}

.section--encre h2 {
  color: var(--fond);
}

.section--encre .chapeau {
  color: rgba(255, 250, 252, 0.76);
}

.section--encre .mention {
  color: rgba(255, 250, 252, 0.58);
}

.section--encre .action {
  --a-fond: var(--fond);
  --a-texte: var(--encre);
  --a-bord: var(--fond);
}

.section--encre .action:hover {
  --a-fond: transparent;
  --a-texte: var(--fond);
}

.section--encre .action--ligne {
  --a-fond: transparent;
  --a-texte: var(--fond);
  --a-bord: rgba(255, 250, 252, 0.38);
}

.section--encre .action--ligne:hover {
  --a-fond: var(--fond);
  --a-texte: var(--encre);
  --a-bord: var(--fond);
}

.entete-section {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

@media (max-width: 900px) {
  .duo {
    grid-template-columns: 1fr;
  }
}

.filet {
  border: 0;
  height: 1px;
  background: var(--trait);
}

/* -----------------------------------------------------------------
   4. Actions, étiquettes, formulaires
   ----------------------------------------------------------------- */

/*
 * Langage d'action du site : angles vifs (aucun arrondi), casse normale,
 * et une flèche qui avance au survol plutôt qu'un bouton qui se soulève.
 */
.action {
  --a-fond: var(--encre);
  --a-texte: var(--fond);
  --a-bord: var(--encre);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.6rem;
  min-height: 50px;
  border: 1px solid var(--a-bord);
  border-radius: 0;
  background: var(--a-fond);
  color: var(--a-texte);
  font-family: var(--police-texte);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.005em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.action .fleche {
  display: inline-block;
  transition: transform var(--transition);
}

.action:hover .fleche,
.action:focus-visible .fleche {
  transform: translateX(5px);
}

.action:hover {
  --a-fond: transparent;
  --a-texte: var(--encre);
}

.action--ligne {
  --a-fond: transparent;
  --a-texte: var(--encre);
  --a-bord: var(--trait-fort);
}

.action--ligne:hover {
  --a-fond: var(--encre);
  --a-texte: var(--fond);
  --a-bord: var(--encre);
}

.action--large {
  width: 100%;
  justify-content: center;
}

.action--compacte {
  padding: 0.6rem 1.1rem;
  min-height: 42px;
  font-size: 0.87rem;
}

.action[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Lien texte : le filet passe en acier au survol. */
.lien {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 3px;
  color: var(--encre);
  font-size: 0.95rem;
}

.lien::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--trait-fort);
  transition: background var(--transition);
}

.lien:hover::after {
  background: var(--acier);
}

.lien .fleche {
  transition: transform var(--transition);
}

.lien:hover .fleche {
  transform: translateX(4px);
}

/* Formulaires */
.champ {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.champ label,
.legende {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--encre-3);
}

.champ .requis {
  color: var(--acier-1);
}

.champ input,
.champ select,
.champ textarea {
  width: 100%;
  padding: 0.85rem 0;
  font-family: var(--police-texte);
  font-size: 1rem;
  font-weight: 300;
  color: var(--encre);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--trait);
  border-radius: 0;
  transition: border-color var(--transition);
}

.champ textarea {
  min-height: 130px;
  resize: vertical;
}

.champ select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234C515A' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
  padding-right: 2rem;
}

.champ input::placeholder,
.champ textarea::placeholder {
  color: var(--encre-3);
  opacity: 0.85;
}

.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-bottom-color: transparent;
  border-image: var(--acier) 1;
  border-image-slice: 1;
}

.champ input[aria-invalid='true'],
.champ textarea[aria-invalid='true'],
.champ select[aria-invalid='true'] {
  border-bottom-color: var(--erreur);
}

.champ-erreur {
  font-size: 0.78rem;
  color: var(--erreur);
}

.champ-aide {
  font-size: 0.78rem;
  color: var(--encre-3);
}

.case {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.86rem;
  color: var(--encre-2);
  line-height: 1.5;
  cursor: pointer;
}

.case input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--acier-1);
  flex: none;
}

.case a {
  color: var(--encre);
  border-bottom: 1px solid var(--trait-fort);
}

.pot-de-miel {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  pointer-events: none;
}

/* -----------------------------------------------------------------
   5. En-tête & navigation
   ----------------------------------------------------------------- */
.annonce {
  background: var(--encre);
  color: rgba(255, 250, 252, 0.72);
  font-size: 0.74rem;
}

.annonce .conteneur {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.3rem 2rem;
  padding-block: 0.55rem;
  text-align: center;
}

.annonce strong {
  font-weight: 400;
  color: var(--fond);
}

.entete {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.entete.est-collee {
  border-bottom-color: var(--trait);
  background: rgba(255, 255, 255, 0.96);
}

.entete .conteneur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--entete-h);
}

.logo {
  display: flex;
  align-items: center;
  flex: none;
}

/*
 * Le mot-symbole reprend le logo de la marque : capitales, serif à fort
 * contraste, largement espacées. Le É porte son accent au-dessus de la
 * ligne de capitale, d'où la marge haute.
 */
.logo-nom {
  display: block;
  font-family: var(--police-titre);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-transform: uppercase;
  color: var(--encre);
  line-height: 1.1;
}

.logo-lieu {
  display: block;
  font-size: 0.56rem;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  text-transform: uppercase;
  color: var(--encre-3);
  margin-top: 5px;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.2rem);
}

.nav a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--encre-2);
  padding-block: 0.4rem;
  transition: color var(--transition);
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--acier);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--encre);
}

.nav a:hover::after,
.nav a[aria-current='page']::after {
  transform: scaleX(1);
}

.actions-entete {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}

/* Bascule de langue : le bouton affiche la langue vers laquelle on va. */
.langue {
  min-width: 42px;
  height: 42px;
  padding: 0 0.6rem;
  background: transparent;
  border: 1px solid var(--trait);
  border-radius: 0;
  color: var(--encre-2);
  font-family: var(--police-texte);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}

.langue:hover {
  border-color: var(--encre-3);
  color: var(--encre);
}

/* WhatsApp : bouton dans l'en-tête sur grand écran, entrée de menu sinon. */
.nav-wa {
  display: none;
}

.bascule {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--trait);
  border-radius: 0;
  cursor: pointer;
}

.bascule span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--encre);
  transition: transform var(--transition), opacity var(--transition);
}

.bascule[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.bascule[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.bascule[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 940px) {
  .bascule {
    display: flex;
  }

  .action--wa {
    display: none;
  }

  .nav-wa {
    display: block;
  }

  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--entete-h);
    background: var(--fond);
    border-bottom: 1px solid var(--trait);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }

  .nav.est-ouverte {
    max-height: 70vh;
    overflow-y: auto;
  }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gouttiere) 1.5rem;
  }

  .nav li + li {
    border-top: 1px solid var(--trait);
  }

  .nav a {
    display: block;
    padding: 1rem 0;
    font-size: 1.05rem;
  }

  .nav a::after {
    display: none;
  }
}

/* -----------------------------------------------------------------
   6. Sections
   ----------------------------------------------------------------- */

/* Accueil : titre hors norme à gauche, visuel plein cadre à droite. */
.ouverture {
  background:
    radial-gradient(60% 75% at 16% 6%, rgba(251, 231, 231, 0.95) 0%, transparent 64%),
    radial-gradient(52% 68% at 88% 20%, rgba(243, 207, 207, 0.55) 0%, transparent 62%),
    var(--fond);
}

.ouverture .conteneur {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 6.5rem);
}

.ouverture h1 {
  margin-bottom: 1.75rem;
}

.ouverture h1 .eclat {
  background: var(--acier-doux);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.ouverture-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.5rem;
}

.ouverture-visuel img {
  width: 100%;
  height: clamp(340px, 50vw, 560px);
  object-fit: cover;
}

.reperes {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 5vw, 4rem);
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--trait);
}

.repere strong {
  display: block;
  font-family: var(--police-titre);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--encre);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.repere span {
  font-size: 0.8rem;
  color: var(--encre-3);
}

@media (max-width: 900px) {
  .ouverture .conteneur {
    grid-template-columns: 1fr;
  }

  .ouverture-visuel {
    order: -1;
  }

  .ouverture-visuel img {
    height: clamp(260px, 60vw, 380px);
  }
}

/* Engagements : liste séparée par des filets, pas de cartes. */
.engagements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(1.75rem, 3vw, 3rem);
}

.engagement {
  padding-top: 1.25rem;
  border-top: 1px solid var(--trait-fort);
}

.engagement h3 {
  margin-bottom: 0.5rem;
}

.engagement p {
  font-size: 0.92rem;
  color: var(--encre-2);
}

/* La maison */
.maison-visuel img {
  width: 100%;
  height: clamp(340px, 46vw, 520px);
  object-fit: cover;
}

.valeurs {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.valeurs li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.5rem 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--trait);
}

.valeurs .indice {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--encre-3);
  font-variant-numeric: tabular-nums;
}

.valeurs p {
  grid-column: 2;
  font-size: 0.93rem;
  color: var(--encre-2);
  margin-top: 0.35rem;
}

/* Étapes : la numérotation encode un ordre réel. */
.etapes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(1.75rem, 3vw, 3rem);
  counter-reset: etape;
}

.etape {
  padding-top: 1.5rem;
  border-top: 1px solid var(--trait-fort);
}

.etape::before {
  counter-increment: etape;
  content: 'Étape ' counter(etape);
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--encre-3);
  margin-bottom: 0.9rem;
}

.etape h3 {
  font-family: var(--police-titre);
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}

.etape p {
  font-size: 0.93rem;
}

/* Showroom */
.showroom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

@media (max-width: 900px) {
  .showroom {
    grid-template-columns: 1fr;
  }
}

.bloc + .bloc {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--trait);
}

.bloc-titre {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1.5rem;
}

.bloc-titre h3 {
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--encre-3);
}

.adresse {
  font-style: normal;
  font-family: var(--police-titre);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.3;
  color: var(--encre);
}

/* Le passage à la ligne est structurel, pas décoratif : « Lot 6 » suivi de
   « 8 rue de la Haie Coq » sur une même ligne se lit « Lot 68 rue de la
   Haie Coq ». La règle vaut donc partout, pied de page compris. */
.secondaire {
  display: block;
}

.adresse .secondaire {
  font-family: var(--police-texte);
  font-size: 0.95rem;
  color: var(--encre-2);
  margin-top: 0.5rem;
}

.acces {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--encre-2);
}

.acces li {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
}

.acces li::before {
  content: '—';
  color: var(--encre-3);
}

/* Carte du showroom : même langage que les photos — angles vifs, filet fin,
   aucun arrondi. Le fond rose tient la place pendant le chargement différé. */
.carte {
  margin: 1.75rem 0 0;
}

.carte-cadre {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--trait);
  background: var(--rose-clair);
  touch-action: none;
}

/* Viser l'image fixe et elle seule : un sélecteur sur `img` attraperait
   aussi les tuiles, qui seraient étirées à la taille du cadre. */
.carte-cadre [data-carte] {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Carte manipulable : n'existe qu'une fois les tuiles arrivées. */
.carte-cadre.est-vive {
  cursor: grab;
}

.carte-cadre.est-saisie {
  cursor: grabbing;
}

.carte-cadre.est-vive [data-carte] {
  visibility: hidden;
}

.carte-tuiles {
  position: absolute;
  inset: 0;
}

.carte-tuile {
  position: absolute;
  top: 0;
  left: 0;
  width: 256px;
  height: 256px;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Le repère est ancré par sa pointe : c'est elle qui désigne l'adresse. */
.carte-repere {
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  /* La pointe doit tomber exactement sur l'adresse. Après la rotation de
     45°, elle se trouve à 11√2 ≈ 15,6 px du centre du losange : on remonte
     donc le carré de 11 + 15,6 px. */
  margin: -26.6px 0 0 -11px;
  border-radius: 50% 50% 50% 0;
  /* La rotation est posée par le script, à la suite du déplacement : la
     propriété `rotate` s'applique AVANT `transform`, si bien qu'un
     translate écrit à part serait calculé dans un repère incliné à 45°. */
  background: var(--encre);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  display: none;
}

.carte-repere::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #fff;
}

.carte-cadre.est-vive .carte-repere {
  display: block;
}

.carte-outils {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  display: none;
  flex-direction: column;
  gap: 1px;
}

.carte-cadre.est-vive .carte-outils {
  display: flex;
}

.carte-bouton {
  width: 34px;
  height: 34px;
  border: 1px solid var(--trait);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.94);
  color: var(--encre);
  font-family: var(--police-texte);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition);
}

.carte-bouton:hover:not([disabled]) {
  background: #fff;
}

.carte-bouton[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.carte-attribution {
  position: absolute;
  right: 0;
  bottom: 0;
  display: none;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--encre-2);
  font-size: 0.7rem;
}

.carte-cadre.est-vive .carte-attribution {
  display: block;
}

.carte figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 0.85rem;
}

.carte-credit {
  font-size: 0.76rem;
  color: var(--encre-3);
}

.carte-credit a {
  border-bottom: 1px solid var(--trait);
}

/* Horaires : tableau aligné, chiffres tabulaires. */
.horaires {
  display: grid;
}

.horaires li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.62rem 0;
  border-bottom: 1px solid var(--trait);
  font-size: 0.95rem;
}

.horaires li:last-child {
  border-bottom: 0;
}

.horaires .jour {
  color: var(--encre-2);
}

.horaires .heures {
  color: var(--encre);
  font-variant-numeric: tabular-nums;
}

.horaires .est-aujourdhui .jour,
.horaires .est-aujourdhui .heures {
  color: var(--encre);
  font-weight: 500;
}

.horaires .est-aujourdhui {
  position: relative;
}

.horaires .est-aujourdhui::before {
  content: '';
  position: absolute;
  left: -0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 1.1rem;
  background: var(--acier);
}

.horaires .ferme {
  color: var(--encre-3);
}

.statut {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--encre-3);
}

.statut .point {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--encre-3);
  flex: none;
}

.statut.est-ouvert {
  color: var(--succes);
}

.statut.est-ouvert .point {
  background: var(--succes);
}

.note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--encre-3);
}

.showroom-visuel img {
  width: 100%;
  height: clamp(240px, 32vw, 340px);
  object-fit: cover;
  margin-bottom: 2.5rem;
}

.conditions {
  display: grid;
}

.conditions li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--trait);
  font-size: 0.93rem;
}

.conditions li:last-child {
  border-bottom: 0;
}

.conditions .intitule {
  color: var(--encre-3);
}

.conditions .valeur {
  color: var(--encre);
  text-align: right;
}

.conditions .valeur--fort {
  font-family: var(--police-titre);
  font-size: 1.4rem;
  line-height: 1;
}

/* Questions fréquentes */
.questions {
  display: grid;
  max-width: 900px;
}

.questions details {
  border-top: 1px solid var(--trait);
}

.questions details:last-of-type {
  border-bottom: 1px solid var(--trait);
}

.questions summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  cursor: pointer;
  font-size: 1.08rem;
  color: var(--encre);
  list-style: none;
}

.questions summary::-webkit-details-marker {
  display: none;
}

.questions summary .signe {
  flex: none;
  font-size: 1.2rem;
  color: var(--encre-3);
  transition: transform var(--transition), color var(--transition);
}

.questions details[open] summary .signe {
  transform: rotate(45deg);
  color: var(--encre);
}

.questions .reponse {
  padding: 0 0 1.5rem;
  max-width: 72ch;
  font-size: 0.95rem;
  color: var(--encre-2);
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

@media (max-width: 900px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

.canaux {
  display: grid;
  margin-top: 2.5rem;
}

.canaux a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--trait);
  transition: padding-left var(--transition);
}

.canaux a:last-child {
  border-bottom: 1px solid var(--trait);
}

.canaux a:hover {
  padding-left: 0.5rem;
}

.canaux .intitule {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--encre-3);
  margin-bottom: 0.2rem;
}

.canaux .valeur {
  color: var(--encre);
  font-size: 1.05rem;
}

.canaux .fleche {
  color: var(--encre-3);
  transition: transform var(--transition), color var(--transition);
}

.canaux a:hover .fleche {
  transform: translateX(4px);
  color: var(--encre);
}

.formulaire {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1.75rem;
}

.formulaire .pleine {
  grid-column: 1 / -1;
}

@media (max-width: 620px) {
  .formulaire {
    grid-template-columns: 1fr;
  }
}





.message {
  grid-column: 1 / -1;
  display: none;
  padding: 1rem 1.15rem;
  border: 1px solid var(--trait-fort);
  font-size: 0.92rem;
}

.message.est-visible {
  display: block;
}

.message.succes {
  border-color: var(--succes);
  color: var(--succes);
}

.message.erreur {
  border-color: var(--erreur);
  color: var(--erreur);
}

/* Rappel de fin de page */
.rappel {
  text-align: center;
}

.rappel .chapeau {
  margin-inline: auto;
}

.rappel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  margin-top: 2.5rem;
}

/* -----------------------------------------------------------------
   7. Bande d'affiche défilante
   ----------------------------------------------------------------- */

/*
 * Les photos défilent en continu, sans fin visible : la piste contient deux
 * copies de la série, et l'animation la décale exactement d'une copie.
 * Le défilement se met en pause au survol et au focus clavier.
 *
 * Sans JavaScript (piste non doublée), la bande reste simplement
 * parcourable au doigt ou à la molette.
 */
.bande {
  position: relative;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-block: 0.5rem;
  --bande-gap: clamp(0.6rem, 1.4vw, 1.1rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

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

.bande.est-animee {
  overflow: hidden;
}

.bande-piste {
  display: flex;
  gap: var(--bande-gap);
  width: max-content;
  padding-inline: var(--bande-gap);
}

.bande-piste.est-doublee {
  animation: defiler var(--duree, 70s) linear infinite;
}

.bande:hover .bande-piste.est-doublee,
.bande:focus-within .bande-piste.est-doublee {
  animation-play-state: paused;
}

@keyframes defiler {
  to {
    /* Une copie complète = la moitié de la piste, plus la moitié d'un écart. */
    transform: translateX(calc(-50% - var(--bande-gap) / 2));
  }
}

.bande figure {
  flex: none;
  width: clamp(180px, 22vw, 290px);
}

.bande img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--fond-3);
}

@media (prefers-reduced-motion: reduce) {
  .bande {
    overflow-x: auto;
  }

  .bande-piste.est-doublee {
    animation: none;
  }
}

/* Catalogue : le QR renvoie vers la boutique en ligne. */
.catalogue {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

@media (max-width: 860px) {
  .catalogue {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

.qr {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin: 0;
}

.qr img {
  width: clamp(220px, 28vw, 300px);
  background: var(--rose-clair);
  border: 1px solid var(--trait);
}

.qr figcaption {
  font-size: 0.82rem;
  color: var(--encre-3);
  text-align: center;
  max-width: 26ch;
}

/* -----------------------------------------------------------------
   8. Pied de page
   ----------------------------------------------------------------- */
.pied {
  background: var(--rose-clair);
  border-top: 1px solid var(--trait);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: 0.92rem;
  color: var(--encre-2);
}

.pied-grille {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}

@media (max-width: 860px) {
  .pied-grille {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  }
}

.pied h3 {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--encre-3);
  margin-bottom: 1.15rem;
}

.pied ul {
  display: grid;
  gap: 0.6rem;
}

.pied a:hover {
  color: var(--encre);
}

.pied address {
  font-style: normal;
  line-height: 1.7;
}

.pied-marque p {
  margin-top: 1rem;
  max-width: 32ch;
  color: var(--encre-3);
}

.reseaux {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.reseaux a {
  font-size: 0.88rem;
  color: var(--encre-2);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--trait);
}

.reseaux a:hover {
  color: var(--encre);
  border-bottom-color: var(--encre-3);
}

.pied-bas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--trait);
  font-size: 0.82rem;
  color: var(--encre-3);
}

.pied-bas ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* -----------------------------------------------------------------
   9. Animations & accessibilité
   ----------------------------------------------------------------- */
.reveler {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.6, 0.3, 1);
}

.reveler.est-visible {
  opacity: 1;
  transform: none;
}

.evitement {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 0.85rem 1.5rem;
  background: var(--encre);
  color: var(--fond);
  font-size: 0.85rem;
}

.evitement:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--acier-1);
  outline-offset: 3px;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveler {
    opacity: 1;
    transform: none;
  }
}

/* -----------------------------------------------------------------
   10. Impression
   ----------------------------------------------------------------- */
@media print {
  .entete,
  .annonce,
  .rappel {
    display: none !important;
  }

  .bande {
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .bande-piste {
    flex-wrap: wrap;
    width: auto;
    animation: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
    padding-bottom: 0;
  }

  .section--rose,
  .section--encre,
  .ouverture,
  .pied {
    background: #fff !important;
    color: #000;
  }

  .section {
    padding-block: 1.25rem;
    break-inside: avoid;
  }

  .reveler {
    opacity: 1 !important;
    transform: none !important;
  }
}
