/* =========================================================
   GUIDE RAPIDE
   1. Couleurs : modifier les variables dans :root.
   2. En-tête : bandeaux, logo et navigation.
   3. Pages : accueil, services, notions et textes centrés.
   4. Contact et réseaux sociaux : coordonnées et formulaires.
   5. Boutons : apparence des différents liens d'action.
   6. Tarifs : estimateur et fenêtre d'aide.
   7. Mobile : adaptations pour tablettes et smartphones.
   Conseil : conserver les noms des classes et vérifier chaque
   changement sur ordinateur ET sur téléphone.
   =========================================================

   FEUILLE DE STYLE DU SITE
   Les commentaires expliquent les blocs. Modifier les valeurs
   ici change l'apparence, pas le contenu HTML.
   ========================================================= */

/* 1. COULEURS DU SITE : change ici les teintes globales. */
:root {
  --fond-creme: #fdfbf6;       /* crème très clair du bandeau principal */
  --orange: #d5a34d;           /* orange doré du slogan et des liens */
  --texte: #171513;
  --gris-ligne: #E8DCC7;
  --bleu: #abded2;
  --noir: #51483f;
  --bouton1: #000;
  --verdi: #0a4f2f;
  --beige: #e8e1d8;
  --black: #000;
  --tour: transparent;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--texte);
  background: var(--fond-creme);
  font-family: Courier, Arial, sans-serif;
}

/* 2. EN-TÊTE — Petit bandeau supérieur : hauteur et couleur. */
.topbar {
  height: 36px;
  background: #abded2;
  border-bottom: 1px solid var(--texte);
  font: 15px Courier, Arial, sans-serif;
  font-weight: bold;
}
.topbar-inner {
  max-width: 1570px;
  height: 100%;
  margin: auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
}
.topbar a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.appointment { color: #242424; }

/* Logo et slogan : largeur du logo et taille de l'accroche. */
.masthead {
  height: 150px;
  background: var(--fond-creme);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 12px;
}
.logo-link {
  display: block;
  width: 515px;
  height: 120px;
  text-align: center;
}
.logo-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tagline {
  margin: 10px 0 0;
  color: var(--orange);
  font-size: 25px;
  font-style: italic;
  font-weight: bold;
  line-height: 1.3;
}

/* Menu principal : espacement, couleurs et effet au survol. */
.main-nav {
  min-height: 60px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--fond-creme);
}
.main-nav a {
  color: var(--black);
  text-decoration: none;
  font: 600 20px Courier, Arial, sans-serif;
  letter-spacing: 1px;
  white-space: nowrap;
  background-color: transparent;
  padding: 0 1ch;
  clip-path: polygon(
    8px 0,
    100% 0,
    calc(100% - 8px) 100%,
                     0 100%
  );
  border: 2px solid var(--tour);
}
.main-nav a:hover,
.main-nav a.active { color: var(--noir); background-color: var(--orange); }

/* Ancienne variante du menu, conservée en commentaire :
.main-nav a.active {
  color: var(--bleu);
  background-color: var(--orange);
  padding: 0 3ch;
  border-radius: 10px;
  border: 2px solid var(--black);
}
*/


/* Grande photo : hauteur et cadrage de la bannière. */
.wide-banner {
  height: 300px;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #e6dfd4;
}
.wide-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 48%;
}
.banner-help {
  display: none;
}
.wide-banner.no-photo {
  display: grid;
  place-items: center;
  background: #e6dfd4;
}
.wide-banner.no-photo .banner-help {
  display: block;
  color: #776b5e;
  font: 14px Courier, Arial, sans-serif;
}

/* 3. ACCUEIL — Largeur, colonnes, texte et photo. */
.home-content {
  max-width: 1050px;
  margin: 0 auto;
  padding: 74px 24px 65px;
}
.welcome-layout {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 70px;
  align-items: start;
}
.welcome-text h1 {
  margin: 0 0 10px;
  color: var(--noir);
  font-size: 23px;
  font: 23px Times New Roman, Georgia, sans-serif;
  font-style: normal;
  font-weight: bold;
  text-align: justify;
}
.welcome-text h2 {
  color: var(--noir);
  font-size: 19px;
  font: 19px Times New Roman, Georgia, sans-serif;
  font-style: normal;
  line-height: 1.65;
  font-weight: normal;
  margin: 0 0 16px;
  text-align: justify;
}
.welcome-text p {
  color: var(--noir);
  font-size: 19px;
  font: 22px Times New Roman, Georgia, sans-serif;
  font-style: normal;
  line-height: 1.65;
  margin: 0 0 10px;
  text-align: justify;
}
.welcome-text p2 {
  color: var(--noir);
  font-size: 22px;
  font: 22px Times New Roman, Georgia, sans-serif;
  font-style: normal;
  line-height: 1.65;
  margin: 0 0 10px;
  text-align: justify;
}
.welcome-text .welcome-lead { font-size: 22px; }
.content-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.photo-help {
  display: block;
  min-height: 190px;
  padding: 25px;
  border: 1px dashed #b9ad9d;
  color: #776b5e;
  font: 13px Courier, Arial, sans-serif;
}
.definition {
  margin-top: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--beige);
  border-bottom: 1px solid var(--beige);
  text-align: center;
  color: #5d554d;
  font-size: 15px;
  font-style: italic;
}
.home-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 35px 0 0;
}
.home-links a {
  color: var(--orange);
  text-decoration: none;
}

/* Pages intérieures : largeur et espacement du contenu. */
.inner-page {
  max-width: 1050px;
  min-height: 420px;
  margin: 0 auto;
  padding: 65px 24px;
  color: var(--noir);
  font-size: 17px;
  line-height: 1.7;
}
.inner-page h1,
.inner-page h2 {
  font-weight: normal;
  font-style: normal;
}

/* Pied de page : bandeau inférieur et liens. */
.site-footer {
  padding: 10px 10px;
  background: #abded2;
  color: #5b5148;
  text-align: center;
  font: 15px Courier, Arial, sans-serif;
}
.site-footer p {
  margin: 5px 0;
  line-height: 1.3;
}
.site-footer a { color: var(--orange); }

/* 7. ADAPTATION AUX ÉCRANS — Règles générales tablette/mobile. */
@media (max-width: 900px) {
  .main-nav { gap: 18px; flex-wrap: wrap; padding: 18px; }
  .main-nav a { letter-spacing: 2px; }
  .welcome-layout { gap: 30px; }
}
@media (max-width: 650px) {
  .topbar { height: auto; }
  .topbar-inner { justify-content: center; flex-wrap: wrap; gap: 8px 17px; padding: 9px; }
  .masthead {
    height: 105px;
    padding-top: 5px;
    box-sizing: border-box;
  }

  .logo-link {
    width: 190px;
    height: 105px;
  }

  .tagline {
    display: none;
  }
  .main-nav { gap: 14px 18px; }
  .main-nav a { font-size: 11px; letter-spacing: 1.5px; }
  .wide-banner { height: 190px; }
  .home-content { padding-top: 15px; }
  .welcome-layout { grid-template-columns: 1fr; gap: 25px; }
  .welcome-text p { font-size: 18px; }
  .content-photo { max-width: 420px; }
}
/* 4. PAGE SERVICES — Photo à gauche, texte à droite. */

.page-services .welcome-layout {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 40px;
  align-items: start;
}

/* Photo */
.page-services .content-photo {
  width: 100%;
  min-width: 0;
}

.page-services .content-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Texte */
.page-services .welcome-text {
  min-width: 0;
}

/* Téléphones */
@media (max-width: 650px) {
  .page-services .welcome-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* Titre Accordage personnalisé */

.page-services .welcome-text h1.grand-titre {
  font-size: 45px !important;
  color: var(--noir);
  font-style: normal;
  font-weight: normal;
}

/* Lignes de séparation identiques à la page d'accueil */

.ligne-services {
  border: none;
  border-top: 1px solid var(--beige);
  margin: 20px 0;
}



/* =====================================
 *   PAGE NOTIONS
 *   Texte à gauche et petites photos à droite
 *   ===================================== */

.page-notions .notions-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  gap: 35px;
  align-items: start;
}

/* TEXTE À GAUCHE */

.page-notions .notions-texte {
  min-width: 0;
}

/* PHOTOS À DROITE */

.page-notions .notions-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
  min-width: 0;
}

/* BLOCS PHOTOS */

.page-notions .notions-photos figure {
  margin: 0;
  min-width: 0;
}

/* IMAGES */

.page-notions .notions-photos img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

/* LÉGENDES */

.page-notions .notions-photos figcaption {
  color: var(--noir);
  text-align: center;
  font-style: italic;
  font-size: 16px;
  line-height: 1.65;
  margin-top: 8px;
}

/* TÉLÉPHONE */

@media (max-width: 650px) {

  .page-notions .notions-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-notions .notions-photos img {
    height: 130px;
  }

}

/* 6. PAGES À TEXTE CENTRÉ — Largeur et alignement. */

.texte-centre {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Titre */

.texte-centre h1 {
  font-size: 20px;
  font-weight: normal;
  font-style: normal;
  color: var(--noir);
  margin-bottom: 30px;
  font: 30px Times New Roman, Georgia, sans-serif;
}

/* Paragraphes */

.texte-centre p {
  font-size: 19px;
  line-height: 1.8;
  color: var(--noir);
  margin-bottom: 25px;
  font: 19px Times New Roman, Georgia, sans-serif;
}
@media screen and (max-width: 650px) {

  .masthead {
    height: auto !important;
    min-height: 0 !important;
    padding: 5px 0 0 !important;
    margin: 0 !important;
    gap: 0 !important;
  }

  .logo-link {
    display: block;
    width: 190px !important;
    height: 92px !important;
    margin: 0 auto !important;
  }

  .tagline {
    display: none !important;
  }

  .main-nav {
    margin: 0 !important;
    padding: 5px 18px !important;
  }
}
/* Menu plus épais sur smartphone */
@media screen and (max-width: 768px) {
  .main-nav a {
    font-weight: 800 !important;
  }
}


/* 8. MENU HAMBURGER — Affichage et ouverture du menu mobile.
   =========================================================
   MENU HAMBURGER : smartphones uniquement
   ========================================================= */

.menu-toggle {
  display: none !important;
}

@media screen and (max-width: 767px) {
  .menu-toggle {
    -webkit-appearance: none;
    appearance: none;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;                 /* ESPACE ENTRE LES 3 BARRES */
    width: 48px;
    height: 20px;
    padding: 0;
    margin: 20px auto 0px;
    border: 0 !important;
    border-radius: 0 !important;
    outline: none;
    box-shadow: none !important;
    background: transparent !important;
    color: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    flex: 0 0 3px;
    width: 34px;
    height: 3px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: var(--black);
  }

  /* Cacher les liens tant que le bouton n'a pas été activé. */
  body .main-nav {
    display: none !important;
    min-height: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0 !important;
    padding: 18px 20px 22px !important;
    background: var(--fond-creme);
  }

  body .main-nav.open {
    display: flex !important;
  }

  body .main-nav a {
    display: block;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
  }
}
/* Masquer le logo uniquement sur l'accueil mobile */

/* Variante facultative : masquer le logo sur l'accueil mobile.
   Pour l'activer, retirer les marqueurs de commentaire ci-dessous.
@media screen and (max-width: 650px) {
  .page-accueil .masthead {
    display: none !important;
  }
}
*/
/* 9. RÉSEAUX SOCIAUX — Taille et couleurs des icônes. */
/* LIEN FACEBOOK */
.facebook-link {
  margin: 15px 0 0;
}

.facebook-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #1877f2;
  color: var(--fond-creme) !important;
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50%;
  transition: background 0.2s;
}

.facebook-link a:hover {
  background: #125bb5;
}
/* LIEN INSTAGRAM */
.instagram-link {
  margin: 15px 0 0;
}

.instagram-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #E4405F;
  color: var(--fond-creme) !important;
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50%;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--fond-creme) !important;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: bold;
}

.social-links a:first-child {
  background: #1877f2;
}

.social-links a:last-child {
  background: #E4405F;
}
/* 10. CONTACT — Liens téléphone/e-mail et formulaire. */
/* LIENS TELEPHONE ET EMAIL - PAGE CONTACT */

.welcome-text a[href^="tel:"],
.welcome-text a[href^="sms:"],
.welcome-text a[href^="mailto:"] {
  color: #d5a34d !important;
  text-decoration: none !important;
}

.welcome-text a[href^="tel:"]:hover,
.welcome-text a[href^="sms:"]:hover,
.welcome-text a[href^="mailto:"]:hover {

  color: var(--noir) !important;
  text-decoration: underline !important;
}
img {
  border-radius: 20px;
}

.contact {
  max-width: 600px;
  margin: 20px auto;
  font-family: Arial, sans-serif;
}

.contact h2,
.contact p {
  text-align: center;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact input,
.contact textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 15px;
}

.contact textarea {
  resize: vertical;
}

.contact button {
  padding: 14px;
  background: #000;
  color: var(--fond-creme);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold !important;
  font: 16px Courier, Arial, sans-serif;

}

.contact button:hover {
  background: var(--bouton1);
  color: var(--fond-creme);
  border: 2px solid #000;
}

/* Taille du champ message sur ordinateur et tablette */
.champ-message {
  min-height: 200px;
}

/* Taille du champ message sur smartphone */
@media screen and (max-width: 400px) {
  .champ-message {
    min-height: 110px;
  }
}

/* 11. BOUTONS — Styles réutilisables sur les différentes pages. */
/* BOUTONS EN BAS DE PAGE */
.home-linksbutton {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 35px 0 0;
}

.home-linksbutton a {
  color: var(--black);
  text-decoration: none;
}

/* BOUTON NOIR */
.bouton-noir {
  display: inline-block;
  background-color: transparent;
  color: var(--black);
  border: 2px solid var(--black);
  border-radius: 20px;
  padding: 12px 30px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
}

.bouton-noir:hover {
  background-color: #000000;
  color: #ffffff;
}

/* BOUTON BLEU LOCATION */
.bouton-marron {
  display: inline-block;
  background-color: var(--noir);
  color: var(--fond-creme);
  border: 2px solid var(--noir);
  border-radius: 20px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 0px;
}

/* BOUTON ORANGE OCCASION */
.bouton-orange {
  display: inline-block;
  background-color: var(--orange);
  color: var(--fond-creme);
  border: 2px solid var(--orange);
  border-radius: 20px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 0px;
}

/* BOUTON BLEU VENDU */
.bouton-vendu {
  display: inline-block;
  background-color: var(--verdi);
  color: var(--fond-creme);
  border: 2px solid var(--verdi);
  border-radius: 20px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: bold !important;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 0px;
}

/* ETIQUETTE OCCASIONS */
.etiquette-occasions {
  display: inline-block;
  background-color: #000000;
  color: #ffffff;
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 13px;
  line-height: 1.2;
  width: fit-content;
  white-space: nowrap;
  margin-bottom: 12px;
}

/* Quelques règles pour l'intro des tarifs */

.tarif-intro a.lien-orange,
.tarif-intro a.lien-orange:visited {
  color: #d5a34d !important;
  text-decoration: none;
  font-weight: bold;
}

.tarif-intro a.lien-orange:hover {
  color: #b88632 !important;
  text-decoration: underline;
  font-weight: bold;
}

p.tarif-intro {
  text-align: justify !important;
  text-align-last: left;
}
/* BOUTON photo */
.bouton-photo {
  display: inline-block;
  background-color: transparent;
  color: var(--black);
  border: 2px solid var(--black);
  border-radius: 20px;
  padding: 12px 30px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  justify-content: center;
  font-family: courier, sans-serif;

}
.bouton-photo:hover {
  background-color: #000000;
  color: #ffffff;
  }

  /* 12. PAGE TARIFS — Estimateur, champs, résultat et fenêtre d'aide. */
  .tarif-page { max-width: 900px; margin: 0 auto; padding: 55px 24px 65px; color: var(--noir); }
  .tarif-page h1 { font: normal 32px "Times New Roman", Georgia, serif; text-align: center; margin: 0 0 14px; }
  .tarif-intro { text-align: justify; font: 19px/1.65 "Times New Roman", Georgia, serif; max-width: 760px; margin: 0 auto 32px; }
  .estimateur { background: #fffdf8; border: 1px solid #e8dcc7; border-radius: 22px; padding: 28px; box-shadow: 0 8px 25px rgba(81,72,63,.06); }
  .etape { margin: 0 0 26px; padding: 0 0 22px; border-bottom: 1px solid var(--beige); }
  .etape:last-of-type { border-bottom: 0; margin-bottom: 8px; }
  .etape h2 { font: normal 21px "Times New Roman", Georgia, serif; margin: 0 0 14px; color: var(--noir); }
  .choix { display: flex; flex-wrap: wrap; gap: 10px; }
  .choix button { flex: 1 1 170px; min-height: 48px; border: 2px solid var(--black); border-radius: 10px; padding: 11px 18px; background: transparent; color: var(--black); font: bold 15px Courier, Arial, sans-serif; cursor: pointer; transition: .15s ease; }
  .choix button:hover, .choix button:focus-visible { background: #d5a34d; color: white; outline: none; }
  .choix button[aria-pressed="true"] { background: #222222; border-color: #222222; color: var(--fond-creme); }
  .champs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 14px; }
  .champ label { display: block; font: bold 14px Courier, Arial, sans-serif; margin-bottom: 7px; }
  .champ select, .champ input { width: 100%; padding: 12px; border: 1px solid #cfc2ad; border-radius: 12px; background: #fff; color: #51483f; font: 16px Arial, sans-serif; }
  .aide { font: 14px/1.6 Arial, sans-serif; color: #766b60; margin: 8px 0 0; }
  .aide-bouton { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; margin-left: 5px; padding: 0; border: 1px solid #cfc2ad; border-radius: 50%; background: #fffdf8; cursor: pointer; font-size: 15px; vertical-align: middle; }
  .aide-bouton:hover, .aide-bouton:focus-visible { background: #abded2; outline: none; }
  .aide-fond { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(40,34,28,.48); }
  .aide-fond[hidden] { display: none; }
  .aide-fenetre { width: min(100%, 420px); padding: 25px; border: 1px solid #e8dcc7; border-radius: 10px; background: #fffdf8; color: #51483f; text-align: center; box-shadow: 0 8px 25px rgba(81,72,63,.18); }
  .aide-fenetre h2 { margin: 0 0 12px; font: normal 22px "Times New Roman", Georgia, serif; }
  .aide-fenetre p { margin: 0 0 20px; font: 15px/1.6 Arial, sans-serif; }
  .aide-fenetre a { color: #d5a34d; }
  .aide-fenetre a:hover, .aide-fenetre a:focus-visible { color: #b7832e; }
  .aide-fenetre button { border: 2px solid #51483f; border-radius: 10px; padding: 10px 24px; background: #222222; color: var(--fond-creme); font-weight: bold; cursor: pointer; }
  .resultat { border: 2px solid #51483f; background: transparent; border-radius: 18px; padding: 2px; text-align: center; margin-top: 10px; }
  .resultat .montant { font: bold 36px "Times New Roman", Georgia, serif; color: #51483f; margin: 6px 0; }
  .resultat p { margin: 5px 0; }
  .resultat .detail { font: 14px/1.6 Arial, sans-serif; }
  .boutons-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
  .boutons-actions button { border: 2px solid #51483f; border-radius: 10px; padding: 11px 22px; font-weight: bold; cursor: pointer; background: transparent; color: #51483f; }
  .boutons-actions button:hover { background: var(--black); color: var(--fond-creme); }
  .note-tarif { margin: 25px 0 0; padding: 16px 18px; border-left: 4px solid #d5a34d; background: #f8f1e5; font: 14px/1.65 Arial, sans-serif; }
  .retour { text-align: center; margin-top: 30px; }
  .retour a { color: #d5a34d; }
  @media(max-width:650px) { .tarif-page { padding: 28px 15px 45px; } .estimateur { padding: 18px; } .champs { grid-template-columns: 1fr; } .tarif-page h1 { font-size: 27px; } .resultat .montant { font-size: 30px; } }


  /* =========================================
   *   OCCASIONS / LOCATIONS : 2 COLONNES
   *   ========================================= */

  #instruments-list #live-items,
  #instruments-list .archived-items {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 40px 35px;
  align-items: start;
  }

  #instruments-list .welcome-layout {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: 1fr !important;
  gap: 15px;
  min-width: 0;
  margin: 0;
  }

  /* Photos */
  #instruments-list .content-photo img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  }

  /* Titres et textes */
  #instruments-list .welcome-text {
  min-width: 0;
  }

  #instruments-list .welcome-text h1 {
  font-size: 23px;
  text-align: left;
  }

  #instruments-list .welcome-text p {
  font-size: 17px;
  line-height: 1.5;
  text-align: left;
  }

  /* Suppression des séparateurs */
  #instruments-list .ligne-services {
  display: none !important;
  }

  /* Smartphone : une colonne */
  @media (max-width: 600px) {
    #instruments-list #live-items,
    #instruments-list .archived-items {
    grid-template-columns: 1fr !important;
    }

    #instruments-list .content-photo img {
    height: auto;
    max-height: 300px;
    }
  }
  /* Cadre autour de chaque fiche instrument */
  #instruments-list #live-items .welcome-layout,
  #instruments-list .archived-items .welcome-layout {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 16px;
  padding: 20px;
  margin: 0;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  box-sizing: border-box;
  }

  /* Images adaptées au cadre */
  #instruments-list .welcome-layout .content-photo img {
  border-radius: 10px;
  display: block;
  width: 100%;
  height: auto;
  }

  /* Espacement entre les fiches */
  #instruments-list #live-items,
  #instruments-list .archived-items {
  gap: 24px;
  }

  /* Masquer les séparateurs entre les fiches */
  #instruments-list #live-items > hr,
  #instruments-list .archived-items > hr {
  display: none;
  }
  /* Espace entre les boutons de catégories et les fiches */
  #instruments-list #live-items,
  #instruments-list .archived-items {
  margin-top: 30px;
  }

  /* Harmoniser la hauteur des fiches sur ordinateur */
  @media (min-width: 901px) {
    #instruments-list #live-items,
    #instruments-list .archived-items {
    grid-auto-rows: 1fr;
    align-items: stretch;
    }

    #instruments-list .welcome-layout {
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    }

    #instruments-list .welcome-layout .content-photo {
    flex: 0 0 auto;
    }

    #instruments-list .welcome-layout .welcome-text {
    flex: 1;
    }
  }
  /* Masquer les boutons Occasion et Location dans les fiches */
  #instruments-list .welcome-layout .badge {
  display: none !important;
  }

  /* Masquer les filtres LOCATION et OCCASION */
  #instruments-list .category-filters {
  display: none !important;
  }

  /* Masquer les filtres et le bouton autres modèles */
  #instruments-list .category-filters,
  #instruments-list .archive-toggle {
  display: none !important;
  }
  .topbar {
    position: sticky;
    top: 0;
    z-index: 9999;
  }
