/* Hospitality Print -- feuille unique, FR et EN.
   Parti pris : fond ardoise, texte clair, un seul accent cuivre. Les PHOTOS de
   produit portent la page ; la typographie se tait pour les laisser parler. */

:root {
  --fond: #0e1113;
  --fond-2: #161a1d;
  --fond-3: #1e2429;
  --bord: #2b3238;
  --texte: #f2f4f5;
  --texte-2: #a4aeb5;
  --cuivre: #e9963f;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0; letter-spacing: -.02em; }

.enveloppe { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- en-tete ---------- */

.entete {
  position: sticky; top: 0; z-index: 40;
  background: rgba(14, 17, 19, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bord);
}
.entete-in {
  max-width: var(--max); margin: 0 auto; padding: 13px 24px;
  display: flex; align-items: center; gap: 26px;
}
.marque { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.marque strong { font-size: 15px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.marque i { width: 8px; height: 8px; background: var(--cuivre); border-radius: 50%; display: block; flex: none; }

.nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.nav a {
  text-decoration: none; font-size: 13.5px; color: var(--texte-2);
  padding: 6px 0; border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--texte); border-bottom-color: var(--cuivre); }

.langue { display: inline-flex; border: 1px solid var(--bord); border-radius: 3px; overflow: hidden; }
.langue a {
  padding: 5px 10px; font-size: 11.5px; letter-spacing: .08em; font-weight: 700;
  text-decoration: none; border: 0; color: var(--texte-2);
}
.langue a[aria-current] { background: var(--cuivre); color: #14181a; }

.btn-panier {
  border: 1px solid var(--bord); background: var(--fond-2); color: var(--texte);
  border-radius: 3px; padding: 8px 14px; font: inherit; font-size: 13px;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}
.btn-panier:hover { border-color: var(--cuivre); }
.pastille {
  background: var(--cuivre); color: #14181a; border-radius: 3px;
  min-width: 20px; height: 19px; font-size: 11.5px; font-weight: 800;
  display: inline-grid; place-items: center; padding: 0 5px;
}

/* ---------- banniere ---------- */

.heros { border-bottom: 1px solid var(--bord); padding: 66px 0 52px; }
.heros-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sur-titre {
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--cuivre); font-weight: 700; margin: 0 0 16px;
}
.heros h1 { font-size: clamp(36px, 5.2vw, 58px); font-weight: 800; margin: 0 0 18px; }
.heros h1 em { font-style: normal; color: var(--cuivre); }
.heros p.chapo { font-size: 17.5px; color: var(--texte-2); margin: 0 0 28px; max-width: 48ch; }

.boutons { display: flex; gap: 11px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; border-radius: 3px;
  padding: 13px 24px; font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: inherit; border: 1px solid transparent;
}
.btn-plein { background: var(--cuivre); color: #14181a; }
.btn-plein:hover { background: #f5a651; }
.btn-vide { background: transparent; color: var(--texte); border-color: var(--bord); }
.btn-vide:hover { border-color: var(--cuivre); }

.preuves { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 30px; }
.preuves div { font-size: 12.5px; color: var(--texte-2); max-width: 18ch; }
.preuves strong {
  display: block; font-size: 25px; color: var(--texte); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.25;
}

/* mosaique de la banniere : quatre photos produit, aucune legende */
.mosaique { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mosaique div {
  aspect-ratio: 4 / 3; background: var(--fond-2); border: 1px solid var(--bord);
  border-radius: 4px; overflow: hidden;
}
.mosaique img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- barre de familles ---------- */

.familles { background: var(--fond-2); border-bottom: 1px solid var(--bord); }
.familles-in { display: flex; gap: 6px; flex-wrap: wrap; padding: 12px 0; }
.familles button {
  background: transparent; border: 1px solid transparent; color: var(--texte-2);
  font: inherit; font-size: 13px; padding: 8px 15px; border-radius: 3px; cursor: pointer;
}
.familles button:hover { color: var(--texte); }
.familles button[aria-pressed="true"] {
  background: var(--fond-3); border-color: var(--bord); color: var(--cuivre); font-weight: 600;
}

/* ---------- catalogue ---------- */

.section { padding: 54px 0; }
.tete-section {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 24px; flex-wrap: wrap;
}
.titre-section { font-size: clamp(26px, 3.2vw, 34px); font-weight: 800; }
.sous-section { color: var(--texte-2); margin: 8px 0 0; max-width: 66ch; }
.compte { font-size: 13px; color: var(--texte-2); }
.compte b { color: var(--cuivre); }

.grille { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); }

.carte {
  background: var(--fond-2); border: 1px solid var(--bord); border-radius: 5px;
  overflow: hidden; display: flex; flex-direction: column; text-align: left;
  padding: 0; font: inherit; color: inherit; cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
}
.carte:hover { border-color: var(--cuivre); transform: translateY(-3px); }
.carte-photo { aspect-ratio: 4 / 3; background: var(--fond-3); position: relative; }
.carte-photo img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.carte-photo .attente {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 0;
  color: #566169; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
}
.etiquette {
  position: absolute; top: 10px; left: 10px; background: rgba(14,17,19,.86);
  border: 1px solid var(--bord); color: var(--texte-2);
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 3px; font-weight: 700;
}
.carte-corps { padding: 15px 16px 16px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.carte h3 { font-size: 17.5px; font-weight: 700; }
.carte .format { font-size: 12.5px; color: var(--texte-2); }
.carte-bas {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin-top: auto; padding-top: 13px; border-top: 1px solid var(--bord);
}
.des { font-size: 11.5px; color: var(--texte-2); }
.des b { font-size: 20px; color: var(--texte); font-weight: 800; letter-spacing: -.02em; }
.fleche { color: var(--cuivre); font-size: 18px; font-weight: 700; }

/* ---------- fiche produit ---------- */

.voile {
  position: fixed; inset: 0; background: rgba(6, 8, 9, .74); z-index: 50;
  opacity: 0; pointer-events: none; transition: opacity .18s ease;
}
.voile[data-ouvert="1"] { opacity: 1; pointer-events: auto; }

.fiche {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center;
  padding: 20px; pointer-events: none; opacity: 0; transition: opacity .18s ease;
}
.fiche[data-ouvert="1"] { opacity: 1; pointer-events: auto; }
.fiche-boite {
  position: relative; background: var(--fond-2); border: 1px solid var(--bord);
  border-radius: 6px; width: min(940px, 100%); max-height: 88vh; overflow-y: auto;
  display: grid; grid-template-columns: 1fr 1fr;
}
.fiche-photo { background: var(--fond-3); }
.fiche-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.fiche-corps { padding: 26px 28px 28px; }
.fiche-corps h2 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.fiche-corps .format { color: var(--texte-2); font-size: 13.5px; margin: 0 0 4px; }
.fiche-corps .fournisseur { color: var(--texte-2); font-size: 12.5px; margin: 0; }
.fiche-corps .fournisseur b { color: var(--texte); }

.bloc-titre {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--texte-2); font-weight: 700; margin: 20px 0 9px;
}
.paliers { display: grid; gap: 7px; }
.palier {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--fond-3); border: 1px solid var(--bord); border-radius: 4px;
  padding: 11px 14px; cursor: pointer; font: inherit; color: inherit; text-align: left;
}
.palier:hover { border-color: #3d474e; }
.palier[aria-pressed="true"] { border-color: var(--cuivre); background: #23282c; }
.palier .q { font-weight: 700; font-size: 14.5px; }
.palier .u { font-size: 11.5px; color: var(--texte-2); }
.palier .p { font-weight: 800; font-size: 17px; }

.choix { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.choix button {
  background: var(--fond-3); border: 1px solid var(--bord); border-radius: 4px;
  padding: 11px 12px; font: inherit; font-size: 12.5px; color: var(--texte-2);
  cursor: pointer; text-align: left; line-height: 1.35;
}
.choix button b { display: block; color: var(--texte); font-size: 13.5px; margin-bottom: 2px; }
.choix button[aria-pressed="true"] { border-color: var(--cuivre); background: #23282c; }

/* depot du fichier client */
.depot { margin-top: 12px; }
.depot input[type="file"] { position: absolute; left: -9999px; width: 1px; height: 1px; }
.depot-etat { margin: 8px 0 0; font-size: 13px; color: var(--texte-2); word-break: break-word; }
.depot-etat[data-ok="1"] { color: #8fd6a5; }
.depot-etat[data-ok="0"] { color: #ff9a7a; }
.depot-vue { margin-top: 10px; border: 1px solid var(--bord); border-radius: 8px;
  overflow: hidden; background: #0b0e10; }
.depot-vue img { display: block; width: 100%; max-height: 280px; object-fit: contain; }
.depot-vue iframe { display: block; width: 100%; height: 300px; border: 0; background: #fff; }
.depot-vue .vue-pied { padding: 8px 11px; font-size: 12px; color: var(--texte-2);
  border-top: 1px solid var(--bord); }
.depot-vue .vue-motif svg { display: block; width: 100%; height: auto; max-height: 280px; }
.depot-vue { cursor: pointer; }

.motifs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 9px; }
.motifs button {
  background: #0b0e10; border: 1px solid var(--bord); border-radius: 4px;
  padding: 0; cursor: pointer; overflow: hidden; aspect-ratio: 4 / 5;
}
.motifs button[aria-pressed="true"] { border-color: var(--cuivre); }
.motifs svg { width: 100%; height: 100%; }

.note {
  background: var(--fond-3); border-left: 2px solid var(--cuivre); border-radius: 3px;
  padding: 11px 13px; font-size: 12.5px; color: var(--texte-2); margin-top: 12px;
}

.fiche-pied {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--bord); flex-wrap: wrap;
}
.fiche-total { font-size: 12px; color: var(--texte-2); }
.fiche-total b { display: block; font-size: 25px; color: var(--texte); font-weight: 800; }

.fermer {
  position: absolute; top: 12px; right: 14px; background: rgba(14,17,19,.82);
  border: 1px solid var(--bord); color: var(--texte); width: 32px; height: 32px;
  border-radius: 3px; font-size: 19px; line-height: 1; cursor: pointer; z-index: 2;
}

/* ---------- devis pro ---------- */

.pro { background: var(--fond-2); border-top: 1px solid var(--bord); border-bottom: 1px solid var(--bord); }
.pro-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pro p { color: var(--texte-2); }
.pro ul { list-style: none; padding: 0; margin: 18px 0 0; }
.pro li { padding: 12px 0; border-top: 1px solid var(--bord); font-size: 14px; color: var(--texte-2); }
.pro li b { display: block; color: var(--texte); font-size: 15.5px; margin-bottom: 2px; font-weight: 700; }

/* ---------- panier ---------- */

.tiroir {
  position: fixed; top: 0; right: 0; height: 100%; width: min(430px, 100%);
  background: var(--fond-2); z-index: 70; transform: translateX(100%);
  transition: transform .22s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; border-left: 1px solid var(--bord);
}
.tiroir[data-ouvert="1"] { transform: translateX(0); }
.tiroir-tete {
  padding: 18px 22px; border-bottom: 1px solid var(--bord);
  display: flex; align-items: center; justify-content: space-between;
}
.tiroir-tete h2 { font-size: 19px; font-weight: 700; }
.tiroir-tete button { background: none; border: 0; color: var(--texte-2); font-size: 24px; cursor: pointer; line-height: 1; }
.tiroir-corps { flex: 1; overflow-y: auto; padding: 6px 22px; }
.ligne { display: flex; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--bord); }
.ligne .vign { width: 64px; height: 52px; background: var(--fond-3); border-radius: 3px; flex: none; overflow: hidden; }
.ligne .vign img, .ligne .vign svg { width: 100%; height: 100%; object-fit: cover; }
.ligne .nom { font-size: 14.5px; font-weight: 700; }
.ligne .meta { font-size: 12px; color: var(--texte-2); margin-top: 2px; }
.ligne .prix { font-weight: 800; font-size: 15px; margin-top: 4px; }
.ligne .oter {
  background: none; border: 0; color: var(--texte-2); font-size: 12px;
  cursor: pointer; padding: 4px 0; text-decoration: underline;
}
.tiroir-pied { padding: 18px 22px; border-top: 1px solid var(--bord); }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.total b { font-size: 24px; font-weight: 800; }
.mention { font-size: 11.5px; color: var(--texte-2); margin: 0 0 13px; }
.btn-payer {
  width: 100%; background: var(--cuivre); color: #14181a; border: 0;
  padding: 14px; font: inherit; font-size: 14.5px; font-weight: 800;
  cursor: pointer; border-radius: 3px;
}
.btn-payer:hover:not(:disabled) { background: #f5a651; }
.btn-payer:disabled { opacity: .35; cursor: not-allowed; }
.vide { text-align: center; color: var(--texte-2); padding: 56px 0; font-size: 13.5px; }
.erreur { color: #f08a7a; font-size: 12.5px; margin: 10px 0 0; }

/* ---------- pied ---------- */

.pied { padding: 44px 0 30px; font-size: 13.5px; color: var(--texte-2); border-top: 1px solid var(--bord); }
.pied-grille { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.pied h4 { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--texte); margin: 0 0 11px; }
.pied a { display: block; text-decoration: none; padding: 3px 0; }
.pied a:hover { color: var(--cuivre); }
.pied-bas { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--bord); font-size: 12px; }

/* pages legales : texte long sur fond sombre */
main.texte h2 { font-size: 19px; font-weight: 700; margin: 30px 0 8px; }
main.texte p { margin: 0 0 12px; color: var(--texte-2); }
main.texte a { color: var(--cuivre); }

@media (max-width: 900px) {
  .heros-grille, .pro-grille { grid-template-columns: 1fr; gap: 30px; }
  .pied-grille { grid-template-columns: 1fr 1fr; gap: 26px; }
  .fiche-boite { grid-template-columns: 1fr; }
  .fiche-photo img { min-height: 190px; max-height: 220px; }
  .nav a:not(.nav-cle) { display: none; }
  .heros { padding: 40px 0 34px; }
  .choix { grid-template-columns: 1fr; }
}
