/*
 * BUROSHOP - couche typographique (chargee apres styles.css et boutique.css).
 * Polices de la marque conservees (Inter, Montserrat), chargees en version
 * variable 400..800: les anciennes graisses 900 s'affichent en 800, plus lisible.
 */
:root {
  --body-font: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --heading-font: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

/* Titres en capitales: interligne un peu plus grand pour les accents (É, À, Ê). */
.hero-copy h1,
.about-section h2,
.product-detail-info h2,
.location-modal-body h2,
.client-section h2 {
  line-height: 1.12;
  letter-spacing: 0;
}

/* Petites capitales: leger interlettrage, evite l'effet "bloc". */
.nav-link,
.eyebrow,
.hero-points span,
.delivery-badge,
.category-card,
.service-grid em,
.service-grid strong,
.catalog-summary,
.tag,
.product-meta span,
.product-detail-meta span,
.product-detail-bottom small,
.client-form label,
.site-footer h3,
.shop-card-brand,
.catalog-toolbar label,
.product-brand,
.product-order label,
.promo-band .btn {
  letter-spacing: 0.04em;
}

.shop-card-title,
.product-card h3 {
  line-height: 1.3;
  letter-spacing: -0.005em;
}

/* Prix et quantites: chiffres de largeur egale, alignement net. */
.price,
.shop-card-price,
.product-price,
.buy-bar-price,
.cart-total,
.catalog-toolbar .price-range,
table {
  font-variant-numeric: tabular-nums;
}

/* Fiche produit: le bouton categories est un lien, centre comme le bouton de l'accueil. */
a.category-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

input,
select,
textarea,
button {
  font-family: inherit;
}

::placeholder {
  color: #7a849e;
  opacity: 1;
}

/* Un element masque par le script (lien non configure, badge vide) reste masque. */
[hidden] {
  display: none !important;
}

/* Focus clavier toujours visible (navigation au clavier), y compris dans la recherche. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #ff8800;
  outline-offset: 2px;
}

.search-box input:focus-visible,
.search-box select:focus-visible {
  outline: 3px solid #ff8800;
  outline-offset: -3px;
}