/* === Beloria — tokens & base (palette craie · Georgia) === */
:root {
  --bg: #ffffff;
  --ink: #3a322a;
  --ink-soft: #6a6359;
  --ink-mute: #9c9489;
  --line: #ece5d8;
  --line-soft: #f3ede2;
  --paper: #f5efe5;
  --paper-2: #ebe4d4;
  --chalk: #fcfaf6;
  --gold: #a88a55;
  --gold-deep: #8a6a3b;
  --gold-light: #c9a96b;
  --accent: var(--gold);
  --shadow-sm: 0 1px 0 rgba(42, 38, 32, 0.04);
  --shadow-md: 0 24px 60px -28px rgba(42, 38, 32, 0.22);
  --radius-sm: 2px;
  --radius-md: 4px;
  --serif: "Didot", "GFS Didot", "Bodoni 72", "Cormorant Garamond", Georgia, serif;
  --sans: "EB Garamond", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  /* Off-canvas panels (mobile nav drawer, RDV panel) sit translated off the
     right edge when closed; clip horizontal overflow so they never create a
     horizontal scrollbar. `clip` (not `hidden`) keeps the sticky header working. */
  overflow-x: clip;
  /* The announce bar animates its height (0↔36px) at the top of the sticky
     header on scroll. Default scroll anchoring nudges scrollY to compensate
     during that animation, which re-crosses the scrolled threshold and makes
     the header flicker near the top. Disable anchoring to break the loop. */
  overflow-anchor: none;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
img { max-width: 100%; display: block; }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: 0; }
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 400;
}
.divider {
  width: 24px; height: 1px; background: var(--accent); display: inline-block; vertical-align: middle;
}

/* === Placeholder imagery === */
.ph {
  position: relative;
  background:
    linear-gradient(135deg, #f0e9d8 0%, #ebe2cc 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(168, 138, 85, 0.18);
}
.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 25%, rgba(255,255,255,0.5) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(168, 138, 85, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.ph-label {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  background: rgba(247, 242, 233, 0.86);
  padding: 8px 16px;
  text-align: center;
  max-width: 70%;
  border: 1px solid rgba(168, 138, 85, 0.18);
  backdrop-filter: blur(2px);
}
.ph.dark { background: linear-gradient(135deg, #1c1815 0%, #15110e 100%); }
.ph.dark::before { border-color: rgba(201,169,107,0.22); }
.ph.dark .ph-label { background: rgba(20, 16, 12, 0.7); color: #c9a96b; border-color: rgba(201,169,107,0.2); }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid #f4eede;
  background: #f4eede;
  color: var(--ink);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  font-weight: 500;
  cursor: pointer;
}
.btn:hover { background: #fdfbf8; border-color: #fdfbf8; }
.btn--ghost {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn--ghost:hover { background: #d9c4a1; }
.btn--quiet {
  background: transparent; color: var(--ink); border: 0; padding: 12px 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
}
.btn--quiet:hover { color: var(--ink); border-bottom-color: var(--gold); }
.btn--gold { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn--cream { background: #f4eede; color: var(--ink); border-color: #f4eede; }
.btn--cream:hover { background: #fbf7f0; border-color: #fbf7f0; }
.btn .arrow { display: inline-block; transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* === Boutons façon fiche produit — réutilisables (panier, compte, …) ===
   Primaire (« Ajouter au panier ») : fond blanc, se remplit d'encre au survol.
   Secondaire (« Essayer en boutique » / « Demander conseil ») : fond chalk,
   même remplissage encre au survol. Hauteur unifiée pour s'aligner en paire. */
.btn--pdp, .btn--pdp-alt {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  color: var(--ink); cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn--pdp {
  font-size: 12px;
  border: 1px solid rgba(58, 50, 42, 0.42);
  background: #fff;
}
.btn--pdp-alt {
  font-size: 11px;
  border: 1px solid rgba(58, 50, 42, 0.36);
  background: var(--chalk);
}
.btn--pdp:hover, .btn--pdp-alt:hover {
  background: var(--ink); color: #fff; border-color: var(--ink);
}

/* === Accueil — CTA : couleur figée au survol + ombre stable === */
.home-cta-anim {
  transition: box-shadow 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
/* Pas de déplacement du bouton : il ne peut donc jamais « perdre » le survol,
   l'ombre reste posée pendant tout le survol. */
.btn.home-cta-anim:hover {
  box-shadow: 0 5px 14px -6px rgba(28, 24, 21, 0.6);
}
.home-cta-anim svg { transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1); }
.btn.home-cta-anim:hover svg { transform: translateX(9px); }
.home-cta-anim svg { transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1); }
.btn.home-cta-anim:hover svg { transform: translateX(9px); }

/* La couleur ne change pas au survol : on rétablit la teinte de base de chaque bouton */
.btn.disc-coll-btn.home-cta-anim:hover,
.btn.amour-cta-btn.home-cta-anim:hover {
  background: #f4eede !important;
  border-color: #f4eede !important;
}
@media (min-width: 821px) {
  .btn.amour-cta-btn.home-cta-anim:hover {
    background: #ffffff !important;
    border-color: #ffffff !important;
  }
}
@media (max-width: 820px) {
  .btn.sm-cta-btn.home-cta-anim:hover {
    background: #ffffff !important;
    border-color: #ffffff !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-cta-anim, .home-cta-anim svg { transition: none; }
  .btn.home-cta-anim:hover { transform: none; }
}

/* === La Maison — CTA cards « Démarrer un projet » / « Venez nous voir » === */
.maison-cta {
  cursor: pointer;
  transition:
    transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    background 0.5s ease, border-color 0.5s ease;
  will-change: transform;
}
.maison-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 50px -22px rgba(28, 24, 21, 0.4);
}
.maison-cta:active { transform: translateY(-1px); }
.maison-cta svg { transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1); }
.maison-cta:hover svg { transform: translateX(9px); }
@media (prefers-reduced-motion: reduce) {
  .maison-cta, .maison-cta svg { transition: none; }
  .maison-cta:hover { transform: none; }
}

/* === Social icons (footer) — glyph zooms on hover, circle stays === */
.social-link svg { transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1); transform-origin: center; }
.social-link:hover svg { transform: scale(1.122); }

/* === Ascenseur des filtres produits — dans les tons du site === */
.cat-filters-scroll { scrollbar-width: thin; scrollbar-color: rgba(58,50,42,0.32) transparent; }
.cat-filters-scroll::-webkit-scrollbar { width: 8px; }
.cat-filters-scroll::-webkit-scrollbar-track { background: transparent; }
.cat-filters-scroll::-webkit-scrollbar-thumb {
  background: rgba(58,50,42,0.28);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.cat-filters-scroll::-webkit-scrollbar-thumb:hover { background: rgba(58,50,42,0.5); background-clip: padding-box; border: 2px solid transparent; }

/* === Carousel arrows — circular outline (Notre sélection) === */
.arrow-circle {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}
.arrow-circle svg { width: 16px; height: 16px; }
.arrow-circle:not(:disabled):hover { background: var(--ink); color: #fff; }
.arrow-circle:disabled { opacity: 0.22; cursor: default; }

/* === Layout helpers === */
.container { width: 80%; max-width: none; margin: 0 auto; padding: 0; }
/* Listing Fiançailles / Alliances / Bijoux : SEUL le bloc produits (grille de
   prévisualisations) est élargi et centré en pleine page ; l'en-tête garde sa largeur.
   ≤ 1920px : pleine largeur (100vw). > 1920px : largeur figée à 1920px et centrée →
   4 colonnes conservées, seules les marges augmentent quand la fenêtre s'agrandit. */
.cat-listing-wide .cat-grid {
  width: min(100vw, 1920px);
  margin-left: 50%;
  transform: translateX(-50%);
}
/* Header-bar listing (mode types) : marges latérales de 10 % = alignement du bouton
   Filtres sur « Avignon » et de « Afficher » sur le panier (le bandeau du header fait
   80 % de large, centré → ses bords sont à 10 % de chaque côté). Appliqué dès 1600px. */
@media (min-width: 1600px) {
  .cat-header-strip { padding-left: 10% !important; padding-right: 10% !important; }
}
/* Écrans 2560×1440 — pages Fiançailles / Alliances / Bijoux.
   Mesuré en conditions réelles : à cette résolution le viewport de l'app est ~1909px
   CSS (échelle d'affichage ~1.15) ; le seuil est donc fixé à 1850px, pas 2560. */
@media (min-width: 1850px) {
  /* Images + cadres du header-bar : +10 % (66 → 72.6px) */
  .cat-header-strip .chstrip-ring { width: 72.6px !important; height: 72.6px !important; }
  /* Images des styles (nav de types sur la page) + cadres : +10 % (89 → 97.9px) */
  .cat-listing-wide .stylenav-ring { width: 97.9px !important; height: 97.9px !important; }
  /* Bouton Filtres (contrôles listing) : +10 % */
  .cat-listing-wide .listctl-filters { font-size: 12.1px !important; padding: 13.2px 22px !important; gap: 13.2px !important; }
  .cat-listing-wide .listctl-filters svg { width: 15.4px !important; height: 15.4px !important; }
  /* « Affichage » + menu déroulant (contrôles listing) : +10 % */
  .cat-listing-wide .listctl-afficher { gap: 17.6px !important; }
  .cat-listing-wide .listctl-afficher > .eyebrow { font-size: 12.1px !important; }
  .cat-listing-wide .listctl-afficher button { font-size: 14.3px !important; padding: 9.9px 15.4px !important; min-width: 184.8px !important; }
}
/* Header-bar listing (mode types de bijoux) — écrans 1366×768 uniquement :
   contrôles (Filtres · Trier par · Afficher + menu) réduits de 12 %,
   pastilles d'images + cadres réduits de 10 %. Les cibles portent des styles
   inline → !important obligatoire pour les surcharger. */
@media (min-width: 1300px) and (max-width: 1400px) and (max-height: 800px) {
  .cat-header-strip .chstrip-filters { font-size: 11px !important; padding: 8.8px 15.84px !important; gap: 9.68px !important; }
  .cat-header-strip .chstrip-filters svg { width: 14.08px !important; height: 14.08px !important; }
  .cat-header-strip .chstrip-sort { font-size: 10.56px !important; }
  .cat-header-strip .chstrip-afficher { gap: 11.44px !important; }
  .cat-header-strip .chstrip-afficher > span { font-size: 10.56px !important; }
  .cat-header-strip .chstrip-afficher button { font-size: 11.44px !important; padding: 7.92px 12.32px !important; min-width: 147.84px !important; }
  .cat-header-strip .chstrip-ring { width: 59.4px !important; height: 59.4px !important; }
}
.container-tight { width: 80%; max-width: none; margin: 0 auto; padding: 0; }
/* Fiche produit : marges latérales inchangées jusqu'à 1080p (1920px), puis on
   ajoute progressivement jusqu'à +25 % de marge (12,5 % de chaque côté) une fois
   la fenêtre élargie à 3440px (écrans 3440×1440). box-sizing: border-box. */
.container.product-container { padding-inline: clamp(0px, (100vw - 1920px) * 0.283, 430px); }
/* Fiche produit ≤ 1080p (1101–1920px) : page à 90 % — seule la galerie (gauche) s'élargit
   pour combler la largeur ; le bloc config (droite) garde sa largeur. Les onglets
   (Description, Caractéristiques…) restent dans le conteneur normal (marges inchangées). */
/* Fiche produit ≤ 1080p (1101–1920px) : la galerie (gauche) va jusqu'au bord gauche
   de la fenêtre (~8px) et s'élargit ; le bloc config (droite) garde taille et marges. */
@media (min-width: 1101px) and (max-width: 1920px) {
  .product-grid {
    width: calc(95vw - 8px);
    margin-left: calc(8px - 10vw);
    grid-template-columns: 1fr 51.5vw !important;
  }
}
/* Au-delà de 1080p : bloc config (droite) figé à 989px ; galerie (gauche) ramenée à la
   même largeur que le bloc de droite (989px). L'espace restant va aux marges. */
@media (min-width: 1921px) {
  .product-grid {
    width: 1986px;
    margin-left: calc((100% - 1986px) / 2);
    grid-template-columns: 989px 989px !important;
  }
}
/* Page « Nous contacter » : conteneur à 70 % sur desktop (le responsif standard reprend ≤ 1100px) */
@media (min-width: 1101px) { .container-contact { width: 70%; } }
/* Pages Services (détail : alliances & fiançailles, sur-mesure, réparation, achat d'or) :
   contenu resserré à 65 % sur desktop (≤ 1100px : responsif standard 92/94 %). */
@media (min-width: 1101px) { .container-service { width: 65%; } }
/* Rail de tags des cartes (\u2264 1080p) : d\u00e9filement horizontal sans barre visible. */
.tagrail-scroller { scrollbar-width: none; -ms-overflow-style: none; }
.tagrail-scroller::-webkit-scrollbar { display: none; height: 0; }
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }

/* Nav « styles » Fiançailles : défilement horizontal sans scrollbar visible */
.style-nav-row { scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.style-nav-row::-webkit-scrollbar { width: 0; height: 0; display: none; }

/* Catalogue : grille produits — 4 colonnes sur desktop */
.cat-grid { grid-template-columns: repeat(4, 1fr); }
/* Au-delà du 1080p (largeur > 1920px) : on GARDE 4 colonnes ; la grille est plafonnée
   à 1920px et centrée → l'espace supplémentaire part dans les marges (couvre aussi les
   pages Collections, dont la grille .cat-grid vit dans le conteneur à 80 %). */
@media (min-width: 1921px) {
  .cat-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
  }
}
/* Grille produits : JAMAIS 3 colonnes — 4 colonnes tant que l'en-tête est complet,
   puis 2 dès que l'en-tête passe en mode compact (menu hamburger à ≤900px). */
@media (max-width: 900px) {
  .cat-grid, .related-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Fiche produit : empilage mobile (la colonne galerie 540px débordait à droite) */
@media (max-width: 820px) {
  .product-grid { grid-template-columns: 1fr !important; gap: 0 !important; padding-bottom: 48px !important; }
  .product-gallery { max-width: none !important; }
  .product-config { align-self: auto !important; margin-top: 8px; }
  .product-config-inner { position: static !important; padding: 28px 20px !important; }
  .product-config-inner.has-collection { padding-top: 44px !important; }
  /* Onglets : tous visibles (repliés sur plusieurs lignes) au lieu de déborder */
  .product-tabs { justify-content: center !important; flex-wrap: wrap; overflow-x: visible; }
  .product-tabs button { padding: 12px 12px !important; font-size: 10px !important; letter-spacing: 0.12em !important; }
  /* « Dans le même esprit » : 2 colonnes sur mobile */
  .related-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* === Bandeau collections — défilement horizontal (5ᵉ carte masquée) === */
.home-coll-strip {
  display: flex;
  gap: 8px;
  width: 100%;
  /* Pas de padding latéral ici : le gouttière fixe est portée par .home-coll-wrap
     (qui ne défile pas), pour que la marge gauche reste intacte au défilement. */
  padding: 0;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: none;
  scroll-padding-left: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}
.home-coll-strip::-webkit-scrollbar { width: 0; height: 0; display: none; }

/* Flèches latérales : superposées AUX IMAGES, donc décalées vers l'intérieur
   de la gouttière (108px sur PC) pour chevaucher les photos plutôt que la marge blanche. */
.home-coll-arrow--prev { left: 16px; }
.home-coll-arrow--next { right: 16px; }
@media (min-width: 821px) {
  .home-coll-arrow--prev { left: 124px; }
  .home-coll-arrow--next { right: 124px; }
}

/* Marges latérales du bloc + masque blanc à droite (PC uniquement) :
   cache la carte suivante qui dépasse. En responsive, on laisse le « peek ».
   Au-delà d'un écran 1080p (1920px), le bloc est figé : les images ne grandissent plus. */
.home-coll-wrap { position: relative; max-width: 1920px; margin-left: auto; margin-right: auto; }
.home-coll-rmask { display: none; }
@media (min-width: 821px) {
  .home-coll-wrap { padding: 0 108px; }
  .home-coll-rmask {
    display: block;
    position: absolute;
    top: 0; bottom: 0; right: 0;
    width: 106px;
    background: #fff;
    pointer-events: none;
    z-index: 3;
  }
}
.home-coll-card {
  flex: 0 0 calc((100% - 24px) / 4);
  scroll-snap-align: start;
}
@media (max-width: 820px) {
  .home-coll-card { flex-basis: calc((100% - 8px) / 2); }
}
@media (max-width: 520px) {
  .home-coll-card { flex-basis: calc((100% - 16px) * 0.7); }
}

/* === Responsive home fixes === */
@media (max-width: 820px) {
  /* Hero mobile : les 2 photos principales empilées (1 au-dessus de l'autre),
     remplissant toute la hauteur de l'écran (50vh chacune). Cadrage ciblé sur
     les bijoux : la 1ère photo a ses bagues sur la droite, la 2nde au centre. */
  .hero-imgs { flex-direction: column !important; }
  .hero-img-a, .hero-img-b { display: block !important; width: 100% !important; height: 50% !important; }
  .hero-img-a { object-position: 80% center !important; }
  .hero-img-b { object-position: 46% center !important; }
  .hero-img-mobile { display: none !important; }
  .home-hero { height: 100vh !important; aspect-ratio: auto !important; min-height: 540px !important; }
  .home-hero .container { padding-top: 80px !important; }
  /* Collections : pas de flèches superposées aux images (on glisse au doigt) */
  .home-coll-arrow { display: none !important; }
  /* Collections : images réduites de 30 % sur mobile */
  .home-coll-card { flex-basis: calc((100% - 8px) / 2 * 0.7); }
  /* Catalogue : 2 colonnes sur mobile */
  .cat-grid { grid-template-columns: repeat(2, 1fr) !important; }
  /* Bandeau Mon Amour : on rogne les bords (zoom ~1,6×) pour agrandir les bijoux */
  .amour-band { overflow: hidden; }
  .amour-band-grid { width: 160% !important; margin-left: -30% !important; height: auto !important; }
  .amour-band-grid > div > div { transform: none !important; }

  /* Notre sélection : rendre tous les onglets atteignables (défilement horizontal) */
  .nsel-tabs {
    justify-content: center !important;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .nsel-tabs::-webkit-scrollbar { width: 0; height: 0; display: none; }
  .nsel-tab {
    flex: 0 0 auto;
    padding: 12px 9px !important;
    letter-spacing: 0.06em !important;
    font-size: 10px !important;
  }
  /* La ligne continue passe sur le bord HAUT du cadre (et non sous les onglets,
     dont le conteneur scrollable rognait le 1px) → l'onglet actif n'a plus de
     bordure inférieure visible, et le dernier onglet ne dépasse plus du cadre. */
  /* La ligne continue ne vit plus sur le conteneur scrollable (qui rognait le 1px) :
     chaque onglet INACTIF porte sa propre bordure basse, l'onglet ACTIF n'en a pas
     → l'onglet sélectionné se raccorde proprement au cadre, sans ligne sous lui. */
  /* Onglets : la ligne continue vit sur le bord HAUT du cadre (pleine largeur, jamais
     rognée par le conteneur scrollable). La rangée d'onglets chevauche ce bord de 1px ;
     l'onglet ACTIF (au-dessus via z-index, fond blanc) masque la ligne sous lui → pas de
     bordure inf. visible. Les onglets inactifs (transparents) laissent voir la ligne.
     La ligne étant sur le cadre, le dernier onglet ne fait plus déborder de trait. */
  .nsel-tabs { border-bottom-color: transparent !important; margin-bottom: -1px !important; }
  .nsel-frame { border-top: 1px solid var(--line) !important; }
  .nsel-tab { margin-bottom: 0 !important; }
  .nsel-tab[aria-current="page"] { position: relative; z-index: 1; background: #fff !important; border-bottom-color: #fff !important; }
  /* En-tête : 8px d'air entre la barre défilante et le grand logo */
  .header-bar { margin-top: 8px; }
  /* La boutique : « Itinéraire » plus proche de l'adresse + un peu d'air avant « Prendre rendez-vous » */
  .boutique-cta-stack { margin-top: 6px !important; gap: 22px !important; }

  /* Système de défilement Collections : mêmes marges latérales que « Notre sélection »
     (qui vit dans .container, soit ~4% de marge à ce palier). */
  .home-coll-strip { padding-left: 4% !important; padding-right: 4% !important; }
}

/* Au palier téléphone, .container passe à 94% → marge 3% : on aligne Collections dessus. */
@media (max-width: 560px) {
  .home-coll-strip { padding-left: 3% !important; padding-right: 3% !important; }
}

/* Sur mesure — conteneur : pleine largeur (photo collée à gauche de l'écran) jusqu'à
   1080p, puis figé à 1920px et centré au-delà (des marges se forment autour du bloc). */
.sm-outer { width: 80%; max-width: none; margin: 0 auto; }
@media (min-width: 1101px) { .sm-outer { width: min(100%, 1920px); } }
@media (max-width: 1100px) { .sm-outer { width: 92%; } }
@media (max-width: 560px) { .sm-outer { width: 94%; } }

/* Sur mesure : la grande photo est au format carré 1:1 sur tout le desktop
   (≥ 1101px) ; le bloc est plafonné à 1920px, donc rendu identique au-delà. */
@media (min-width: 1101px) {
  .sm-photo-wrap { position: relative !important; inset: auto !important; margin: 0 !important; width: 100% !important; max-width: 100% !important; aspect-ratio: 1 / 1 !important; height: auto !important; }
  .sm-grid { min-height: 0 !important; }
}

/* Sur mesure : garder le cadre de la 2e photo visible quand la grille passe en 1 colonne */
@media (max-width: 1100px) {
  .sm-badge { right: 3% !important; }
  /* On annule le minimum grand-écran et on repasse la photo dans le flux normal */
  .sm-grid { min-height: 0 !important; }
  .sm-photo-wrap { position: relative !important; inset: auto !important; margin: 0 !important; }
  /* La photo reprend ses proportions naturelles et toute la largeur (plus de recadrage en hauteur) */
  .sm-photo-col, .sm-photo-wrap { height: auto !important; }
  .sm-photo-wrap { width: 100% !important; aspect-ratio: auto !important; min-height: 0 !important; }
  .sm-photo { height: auto !important; object-fit: contain !important; }
}

/* Mon Amour : le bouton passe SOUS le bandeau d'images (plus de superposition) */
@media (max-width: 820px) {
  .amour-cta {
    position: static !important;
    margin-top: 18px;
  }
  /* Marges latérales sur le chapô de la collection */
  .amour-intro { padding-left: 22px !important; padding-right: 22px !important; }
  /* Sur mesure : les deux CTA passent en fond blanc + craie au survol (comme sur PC) */
  .sm-cta-btn { background: #ffffff !important; border-color: #ffffff !important; }
  .sm-cta-btn:hover { background: #F3EEE4 !important; border-color: #F3EEE4 !important; }
  /* La boutique : croquis de façade centré */
  .boutique-facade { margin-left: auto !important; margin-right: auto !important; }
  /* La boutique : section empilée et centrée sur mobile */
  .home-boutique-grid { grid-template-columns: 1fr !important; gap: 40px !important; text-align: center; }
  .home-boutique-info { grid-template-columns: 1fr !important; gap: 44px !important; }
  .home-boutique-info > div { display: flex; flex-direction: column; align-items: center; }
  .home-boutique-info > div > div { justify-content: center; align-items: center !important; }
  .home-boutique-info table { margin-left: auto; margin-right: auto; text-align: left; }
  /* Notre sélection : la barre d'indicateurs de page reste dans l'écran */
  .nsel-indicator { gap: 8px !important; max-width: 100%; }
  .nsel-dashes { flex: 1 1 auto; min-width: 0; }
  .nsel-dash { flex: 1 1 0 !important; width: auto !important; min-width: 0 !important; }
  /* Qui sommes-nous : bande de créations sur 3 colonnes */
  .qsn-strip { grid-template-columns: repeat(3, 1fr) !important; }
}

/* Mon Amour CTA — sur PC uniquement : fond blanc, craie au survol */
@media (min-width: 821px) {
  .amour-cta-btn { background: #ffffff !important; border-color: #ffffff !important; }
  .amour-cta-btn:hover { background: #F3EEE4 !important; border-color: #F3EEE4 !important; }
}

/* « Découvrir nos collections » — survol entre le crème clair et le blanc */
.disc-coll-btn:hover { background: #fdfbf8 !important; border-color: #fdfbf8 !important; }

/* === Footer responsive === */
/* Au-delà de 1920px (1080p), on fige le footer à sa largeur validée :
   le contenu ne s'étale plus, l'affichage reste identique au rendu 1080p. */
footer .container { max-width: 1536px; }
/* Footer — bloc Contact : les 4 logos (tél · WhatsApp · email · RDV) réduits de 15 % puis de 12 % supplémentaires (32 → 27.2 → 23.94px). Les icônes « Nos réseaux » (footer-brand) ne sont pas concernées. */
.footer-contact svg { width: 23.94px; height: 23.94px; }
@media (max-width: 920px) {
  .footer-vdivider { display: none !important; }
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 36px 40px !important; }
  .footer-brand { grid-column: 1 / -1; text-align: center; }
  .footer-brand p { max-width: 460px !important; margin-left: auto; margin-right: auto; }
  .footer-social { justify-content: center !important; max-width: none !important; }
}
@media (max-width: 560px) {
  /* Footer : 2 colonnes (Services à droite de Boutique, Blog à droite de La Maison) */
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 30px 24px !important; text-align: center; }
  .footer-brand p { max-width: none !important; }
  .footer-social { justify-content: center !important; }
  /* Colonnes de liens centrées */
  .footer-grid ul { align-items: center; }
  .footer-grid ul button { text-align: center !important; }
  /* Newsletter : champ recentré */
  .footer-grid .field, .footer-grid input { text-align: center; }
  /* Bas de page empilé et centré */
  .footer-bottom { flex-direction: column; justify-content: center; text-align: center; gap: 14px; }
  .footer-bottom > div:last-child { flex-wrap: wrap; justify-content: center; gap: 16px 20px; }
  /* Liens légaux : la colonne disparaît, les liens passent en ligne au-dessus du © */
  .footer-info-col { display: none !important; }
  .footer-legal-inline { display: flex !important; }
  .footer-legal-sep { display: block !important; }
  /* Rééquilibrage des espaces du haut de footer (mobile) */
  .site-footer { padding-top: 46px !important; }      /* −10px : début de footer → logo */
  .footer-logo-row { margin-bottom: 38px !important; } /* +10px : sous le logo → newsletter */
  .footer-nl-desc { margin-bottom: 8px !important; }   /* −10px : resserre le champ mail vers le haut */
  .footer-top { row-gap: 22px !important; }            /* +10px : Désinscription → Contact */
  .footer-contact-title { margin-bottom: 2px !important; } /* −10px : Contact → sa description */
}

/* Titre superposé des bandeaux Collections : suit le bord gauche du .container
   (la description en dessous) quand celui-ci passe à 92/94 % en responsive. */
@media (max-width: 1100px) { .coll-banner-title { left: 4% !important; } }
@media (max-width: 560px) { .coll-banner-title { left: 3% !important; } }

/* Survol des liens texte du menu (mega desktop + drawer mobile) : passage à l'or
   profond — même teinte que les intitulés de colonnes (« Découvrir nos univers »). */
.mega-link-txt, .mega-link-txt span { transition: color 0.2s ease; }
.mega-link:hover .mega-link-txt,
.mega-link:hover .mega-link-txt span { color: var(--gold-deep) !important; }

/* === Anchors === */
.link-u {
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.link-u:hover { border-color: var(--ink); }

/* === Form === */
.field { display: flex; flex-direction: column; gap: 4px; }
.field label {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink); font-weight: 600;
}
.field input, .field textarea, .field select {
  font: inherit;
  font-size: 14px;
  padding: 6px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
}
.field input::placeholder, .field textarea::placeholder {
  color: var(--ink-mute);
  opacity: 0.55;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 28px; line-height: 1.4; }

/* === Sub-text === */
.muted { color: var(--ink-mute); }
.tight { letter-spacing: -0.01em; }

/* Hide scrollbar in canvas-like blocks but keep wheel */
.scroll-hide::-webkit-scrollbar { display: none; }
.scroll-hide { scrollbar-width: none; }

/* Focus ring for accessibility */
:focus-visible { outline: 1px dashed var(--accent); outline-offset: 4px; }

/* Subtle entrance */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.fade-up { animation: fadeUp 0.6s ease both; }

@keyframes megaIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.mega-in { animation: megaIn 0.3s ease both; }

/* Bascule douce du contenu de la barre de pages (nav ⇄ styles bijoux) */
@keyframes hdrStripSwap {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: none; }
}
.hdr-strip-swap { animation: hdrStripSwap 0.28s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
@media (prefers-reduced-motion: reduce) {
  .hdr-strip-swap { animation: none; }
}

/* === Product image loading placeholder (BELORIA wordmark + progress bar) === */
@keyframes beloriaLoadBar {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
.beloria-loader { animation: megaIn 0.25s ease both; }
.beloria-loader__fill {
  transform-origin: left center;
  transform: scaleX(0);
}
.beloria-loader__fill--indet {
  animation: beloriaLoadBar 1.15s cubic-bezier(0.45, 0.05, 0.35, 1) infinite;
}
@media (prefers-reduced-motion: reduce) {
  .beloria-loader__fill--indet { animation-duration: 2.2s; }
}

/* Hairline */
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

/* === Catalogue — floating filter button + slide-in drawer === */
.cat-fab {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cat-fab:hover { background: #1c1815 !important; }
.cat-fab.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-12px);
}
.cat-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 24, 21, 0.42);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cat-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.cat-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(380px, 92vw);
  background: #fff;
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 20px 60px -16px rgba(28, 24, 21, 0.35);
}
.cat-drawer.is-open { transform: translateX(0); }

/* === Sur-mesure / Services — reveal animation on the 01–04 cards === */
.sm-card {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.sm-card.is-visible { opacity: 1; transform: none; }

.sm-card .sm-num {
  display: inline-block;
  position: relative;
  padding-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.sm-card .sm-num::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold-deep);
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
.sm-card.is-visible .sm-num::after { width: 56px; }

.sm-card .sm-title-wrap {
  overflow: hidden;
  display: block;
  margin-top: 14px;
}
.sm-card .sm-title-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
}
.sm-card.is-visible .sm-title-inner { transform: translateY(0); }

.sm-card .sm-body {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}
.sm-card.is-visible .sm-body { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .sm-card,
  .sm-card .sm-num::after,
  .sm-card .sm-title-inner,
  .sm-card .sm-body { transition: none !important; }
  .sm-card { opacity: 1; transform: none; }
  .sm-card .sm-num::after { width: 56px; }
  .sm-card .sm-title-inner { transform: none; }
  .sm-card .sm-body { opacity: 1; transform: none; }
}

/* === Process timeline (4 steps) reveal animation === */
.ps-step {
  position: relative;
}
.ps-step .ps-num {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px) scale(0.92);
  transform-origin: left bottom;
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.ps-step.is-visible .ps-num {
  opacity: 1;
  transform: none;
}
.ps-step .ps-body {
  position: relative;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
}
.ps-step .ps-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--ink);
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.05s;
}
.ps-step.is-visible .ps-body { opacity: 1; transform: none; }
.ps-step.is-visible .ps-body::before { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .ps-step .ps-num,
  .ps-step .ps-body,
  .ps-step .ps-body::before { transition: none !important; }
  .ps-step .ps-num { opacity: 1; transform: none; }
  .ps-step .ps-body { opacity: 1; transform: none; }
  .ps-step .ps-body::before { width: 100%; }
}


/* =====================================================================
   RESPONSIVE LAYER — Tablet & Mobile
   Site built with inline grid templates & font-sizes; we override via
   attribute selectors with !important so React inline styles stay flexible
   on desktop but collapse cleanly on smaller viewports.
   ===================================================================== */

/* ── Tablet & narrow desktop (≤ 1100px) ─────────────────────────────── */
@media (max-width: 1100px) {
  .container,
  .container-tight { width: 92%; }
  .section { padding: 84px 0; }
  .section-sm { padding: 56px 0; }

  /* Collapse asymmetric two-column grids set inline */
  [style*="grid-template-columns: 1.2fr 1fr"],
  [style*="grid-template-columns: 1fr 1.2fr"],
  [style*="grid-template-columns: 1.1fr 1fr"],
  [style*="grid-template-columns: 1.15fr 1fr"],
  [style*="grid-template-columns: 1.4fr 1fr;"],
  [style*="grid-template-columns: 1.6fr 1fr"],
  [style*="grid-template-columns: 1.4fr 1fr 1fr"],
  [style*="grid-template-columns: 1.2fr 2.4fr 0.95fr"] {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  /* Big hero serif — bring it down */
  [style*="font-size: 112px"],
  [style*="font-size: 104px"],
  [style*="font-size: 100px"],
  [style*="font-size: 92px"],
  [style*="font-size: 84px"],
  [style*="font-size: 78px"] { font-size: 62px !important; line-height: 1.02 !important; }
  [style*="font-size: 76px"],
  [style*="font-size: 72px"],
  [style*="font-size: 68px"] { font-size: 54px !important; line-height: 1.05 !important; }
}

/* ── Tablet portrait & large phone (≤ 820px) ────────────────────────── */
@media (max-width: 820px) {
  .container,
  .container-tight { width: 92%; }
  .section { padding: 64px 0; }
  .section-sm { padding: 44px 0; }

  /* 4-col grids → 2-col */
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }

  /* 3-col grids → 1-col */
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* 2-col & 50/50 grids → 1-col */
  [style*="grid-template-columns: 1fr 1fr 1fr"] { grid-template-columns: 1fr !important; gap: 24px !important; }
  [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; gap: 24px !important; }
  [style*="grid-template-columns: repeat(2, 1fr)"] { grid-template-columns: 1fr !important; gap: 24px !important; }

  /* Sidebar-style grids */
  [style*="grid-template-columns: 320px 1fr"],
  [style*="grid-template-columns: 84px 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Odd multi-column grids (account orders, checkout address) → stack */
  [style*="grid-template-columns: 1.5fr 1fr auto auto"],
  [style*="grid-template-columns: 1fr 2fr 1.4fr"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Footer 5-column → two columns on tablet portrait */
  [style*="grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px 40px !important;
  }

  /* Big serif headings */
  [style*="font-size: 112px"],
  [style*="font-size: 104px"],
  [style*="font-size: 100px"],
  [style*="font-size: 92px"],
  [style*="font-size: 84px"],
  [style*="font-size: 78px"] { font-size: 44px !important; line-height: 1.05 !important; }
  [style*="font-size: 76px"],
  [style*="font-size: 72px"],
  [style*="font-size: 68px"] { font-size: 40px !important; line-height: 1.05 !important; }
  [style*="font-size: 64px"] { font-size: 36px !important; line-height: 1.05 !important; }
  [style*="font-size: 56px"] { font-size: 32px !important; line-height: 1.1 !important; }
  [style*="font-size: 52px"],
  [style*="font-size: 48px"] { font-size: 28px !important; line-height: 1.15 !important; }
  [style*="font-size: 44px"],
  [style*="font-size: 40px"] { font-size: 26px !important; line-height: 1.2 !important; }
  [style*="font-size: 36px"] { font-size: 22px !important; line-height: 1.25 !important; }
  [style*="font-size: 32px"] { font-size: 20px !important; line-height: 1.3 !important; }
  [style*="font-size: 26px"] { font-size: 18px !important; }

  /* Body text */
  [style*="font-size: 17px"],
  [style*="font-size: 16px"] { font-size: 15px !important; }

  /* Wrappers (e.g. HomeCategories' 90% wrapper, HomeMaterials' 125% breakout) */
  [style*="width: 90%"][style*="margin: 0 auto"] { width: 100% !important; }
  [style*="width: 125%"] { width: 100% !important; margin-left: 0 !important; }

  /* Buttons less chunky */
  .btn {
    padding: 11px 18px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  /* Header nav: scroll horizontally instead of wrapping/cramming */
  header nav > div {
    overflow-x: auto;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  header nav > div::-webkit-scrollbar { display: none; }

  /* Hide auxiliary header info (left side) on very small screens — keep logo + actions */
  header > div.container > div:first-child > button:first-child span,
  header > div.container > div:first-child > span,
  header > div.container > div:first-child {
    font-size: 10px !important;
    gap: 12px !important;
  }

  /* Tighten right-side action gap */
  header > div.container > div:last-child {
    gap: 12px !important;
  }

  /* Tabs and dense rows wrap */
  [style*="display: flex"][style*="gap: 36px"],
  [style*="display: flex"][style*="gap: 32px"] {
    flex-wrap: wrap;
  }

  /* Make tall fixed-height image rows shrink */
  [style*="height: 580px"] { height: auto !important; }
  [style*="height: 700px"] { height: auto !important; }
  [style*="height: 620px"] { height: auto !important; }

  /* Sticky product configurator becomes static */
  [style*="position: sticky"][style*="top: 160px"] {
    position: static !important;
    max-height: none !important;
    overflow-y: visible !important;
    padding-right: 0 !important;
  }

  /* Search pop-up — collapse two-column intro on mobile */
  [style*="grid-template-columns: 1fr 1.4fr"] { grid-template-columns: 1fr !important; gap: 32px !important; }
  .search-results-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ── Phone (≤ 560px) ────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .container,
  .container-tight { width: 94%; }
  .section { padding: 48px 0; }
  .section-sm { padding: 32px 0; }

  /* 4-col grids → 1-col on small phones */
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  /* Hero & display text */
  [style*="font-size: 112px"],
  [style*="font-size: 104px"],
  [style*="font-size: 100px"],
  [style*="font-size: 92px"],
  [style*="font-size: 84px"] { font-size: 34px !important; }

  /* Footer → single column on phones */
  [style*="grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  [style*="font-size: 76px"],
  [style*="font-size: 72px"],
  [style*="font-size: 68px"] { font-size: 32px !important; }
  [style*="font-size: 64px"] { font-size: 30px !important; }
  [style*="font-size: 56px"] { font-size: 26px !important; }
  [style*="font-size: 52px"],
  [style*="font-size: 48px"] { font-size: 24px !important; }
  [style*="font-size: 44px"],
  [style*="font-size: 40px"] { font-size: 22px !important; }

  /* AnnounceBar — keep readable */
  .container > div[style*="letter-spacing: 0.22em"] { letter-spacing: 0.12em !important; }

  /* Header shrink */
  header > div.container[style*="height: 100px"] { height: 72px !important; }
  header > div.container[style*="height: 56px"] { height: 52px !important; }

  /* Reduce big paddings on inline-styled blocks */
  [style*="padding: 60px 48px"] { padding: 32px 22px !important; }
  [style*="padding: 80px 56px"] { padding: 40px 22px !important; }
  [style*="padding: 44px 56px"] { padding: 24px 18px !important; }
  [style*="padding: 32px 28px"] { padding: 22px 18px !important; }
}

/* ── Recherche en pop-up (modale style RDV) ── */
.search-results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
@media (max-width: 1200px) { .search-results-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .search-main { flex-direction: column; }
  .search-pop-col { flex: 0 0 auto !important; border-right: 0 !important; border-bottom: 1px solid var(--line); max-height: 38%; }
}

/* La Maison — aperçu 3 cartes */
@media (max-width: 860px) { .maison-overview-grid { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 560px) { .maison-overview-grid { grid-template-columns: 1fr !important; } }

/* Collections : +30% de marge gauche pour le bloc d'intro (sous la bannière),
   uniquement en résolution ultra-large ~3440×1440. */
@media (min-width: 3400px) and (max-width: 3520px) {
  .coll-intro { margin-left: 12.5%; margin-right: 12.5%; }
}

/* Collections : bloc « Nos autres univers » (pied de page) — marges gauche/droite
   doublées (le conteneur fait 80% → marge page 10% ; on inset 12.5% du conteneur
   de chaque côté, soit 10% de viewport, pour porter la marge visible à ~20%). */
.coll-footer { margin-left: 12.5%; margin-right: 12.5%; }
@media (max-width: 1100px) { .coll-footer { margin-left: 0; margin-right: 0; } }

/* Bandeau Collection : remonté sous le header (comme sur PC — aussi en mobile). */

/* Page Contact : fond lavande glissé sous le header, le contenu se superpose à
   l'image à sa distance habituelle du header. Desktop seulement (comme les
   bandeaux Collections) : en mobile, l'image reste en haut sous le header. */
.contact-hero-wrap { margin-top: calc(var(--header-h, 160px) * -1); padding-top: var(--header-h, 160px); }

/* Page Contact — fond fixe : la page semble immobile, seul le contenu monte.
   L'image reste calée en haut du viewport ; un « voile » fixe (même image,
   masquée en dégradé sous la barre des pages) fait s'évanouir progressivement
   le contenu qui monte, juste sous le menu — pas de coupure nette.
   Desktop seulement : en mobile, l'image reste dans le flux sous le header. */
.contact-bg-fixed { position: fixed; top: 0; left: 0; right: 0; z-index: 0; overflow: hidden; font-size: 0; pointer-events: none; }
.contact-bg-fixed img, .contact-fade-overlay img { display: block; width: 100%; height: auto; }
.contact-fade-overlay {
  position: fixed; top: 0; left: 0; right: 0; z-index: 2; overflow: hidden; font-size: 0; pointer-events: none;
  transition: opacity 0.35s ease;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(var(--header-h, 160px) + 25px), transparent calc(var(--header-h, 160px) + 100px));
  mask-image: linear-gradient(to bottom, #000 calc(var(--header-h, 160px) + 25px), transparent calc(var(--header-h, 160px) + 100px));
}
/* Mobile : image bandeau Contact recadrée (−5 % à gauche, −55 % à droite) et
   affichée plus grande ; elle reste fixe en haut (même dispositif que sur PC). */
@media (max-width: 820px) {
  .contact-bg-fixed img, .contact-fade-overlay img { width: 250%; max-width: none; margin-left: -12.5%; }
}



/* =====================================================================
   MOBILE PASS 2026-07 — ajustements demandés (mobile UNIQUEMENT)
   ===================================================================== */

/* Flash bleu au tap (Android/Chrome) sur les cartes produit : supprimé partout */
* { -webkit-tap-highlight-color: transparent; }

/* Description mobile des bandeaux listing : cachée sur desktop */
.cat-hero-desc-below, .cat-hero-below { display: none; }

@media (max-width: 820px) {
  /* ── Bandeaux listing (Fiançailles / Alliances / Bijoux) : image agrandie (+20 % suppl.),
     recadrée pour garder les bijoux sur la droite ; NOM du style superposé à l'image,
     description sous l'image. ── */
  .cat-hero-banner { overflow: hidden; }
  .cat-hero-img { width: 200.93% !important; max-width: none !important; margin-left: -86% !important; }
  /* Page Fiançailles : bandeau plus court (2172×457) → zoom porté à parité visuelle avec Bijoux
     + décalé de 10 % vers la droite (marge −97 % → −87 %) */
  .cat-hero-banner--fi .cat-hero-img { width: 226% !important; margin-left: -87% !important; }
  /* Décalages vers la droite propres à chaque bandeau de sous-style (base −87 %) */
  .cat-hero-banner--fi-toutes .cat-hero-img,
  .cat-hero-banner--fi-solitaire-classique .cat-hero-img,
  .cat-hero-banner--fi-solitaire-creatif .cat-hero-img { margin-left: -79% !important; }   /* +8 % */
  .cat-hero-banner--fi-solitaire-accompagne .cat-hero-img,
  .cat-hero-banner--fi-solitaire-double-halo .cat-hero-img { margin-left: -83% !important; } /* +4 % */
  .cat-hero-banner--fi-solitaire-trilogie .cat-hero-img,
  .cat-hero-banner--fi-toi-et-moi .cat-hero-img { margin-left: -81% !important; }            /* +6 % */
  .cat-hero-overlay { display: flex !important; }
  .cat-hero-desc { display: none !important; }            /* la description superposée est masquée (elle passe sous l'image) */
  .cat-hero-title { font-size: 30px !important; text-shadow: 0 1px 2px rgba(255,255,255,0.75), 0 0 6px rgba(255,255,255,0.5); } /* nom du style superposé, −4 crans */
  .cat-hero-below { display: block; padding: 12px 0 4px; }
  .cat-hero-below-title { display: none !important; }     /* le nom n'est plus sous l'image */
  .cat-hero-below-desc { font-size: 13.5px; line-height: 1.65; color: var(--ink-soft); margin: 0; }
  /* Zones de survol des bijoux sur les bandeaux Collection : sans objet au doigt */
  .coll-banner-spot { display: none !important; }

  /* ── Bandeaux des 4 pages Collection : zoom +25 %, recadré pour garder le bijou sur la
     droite, pleine largeur écran. (!important : bat le style inline width:100% de l'<img>) ── */
  .coll-banner { width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; }
  .coll-banner > img { width: 208.33% !important; max-width: none !important; margin-left: -77% !important; }

  /* Page « Nos Collections » (aperçu) : la photo passe TOUJOURS avant le texte */
  .coll-overview-article > div:nth-child(1) { order: 1 !important; }
  .coll-overview-article > div:nth-child(2) { order: 2 !important; }

  /* Pages Collection : le texte descriptif + les produits prennent la même largeur
     que les visualisations produits des pages Alliances / Fiançailles / Bijoux */
  .coll-intro-text { margin-right: 0 !important; }
  .cat-collection .cat-grid { width: 100vw; margin-left: 50%; transform: translateX(-50%); }
  /* Marge descriptif de collection → « Notre sélection » : divisée par 2 */
  .coll-intro { padding-bottom: 36px !important; }
  .cat-collection .cat-products-band { padding-top: 20px !important; }

  /* ── Contrôles listing (Filtres + Affichage) : +20 % + une seule ligne ── */
  .listctl-row { gap: 14px !important; flex-wrap: nowrap !important; }
  .listctl-scale { transform: scale(1.02) !important; } /* 0,85 (base) × 1,2 = +20 % */
  .listctl-afficher button[aria-haspopup] { min-width: 0 !important; }

  /* Espace « Affichage » → produits : divisé par 2 */
  .listctl-band { padding: 12px 0 8px !important; }
  .cat-listing-wide .cat-products-band { padding-top: 20px !important; }
  .cat-listing-wide .cat-products-head { margin-bottom: 0 !important; }

  /* ── CTA « Voir toutes nos alliances / bagues de fiançailles » : 2 boutons sur 1 ligne ── */
  .af-cta-grid[style] { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .af-cta-btn { width: 100% !important; justify-self: stretch !important; padding: 16px 10px !important; }
  .af-cta-btn > div { font-size: 13px !important; }

  /* ── Pages Services (alliances-fiançailles, sur-mesure, réparation, achat d'or) ── */
  .svc-hero { padding-bottom: 30px !important; }
  .svc-intro { padding-bottom: 40px !important; border-bottom: none !important; } /* un seul séparateur */
  .svc-sections { padding-top: 40px !important; }
  .svc-process { margin: 0 !important; padding: 44px 20px !important; }
  .svc-contact-band { padding-bottom: 0 !important; margin-bottom: -60px; } /* colle au footer */

  /* ── Listings Fiançailles / Alliances / Bijoux : le bandeau des vignettes de styles
     reste flottant sous le header au scroll (même dispositif que la page Guides). ── */
  #cat-stylenav {
    position: sticky;
    top: calc(var(--header-h, 90px) - 1px);
    z-index: 30;
    background: #fff;
  }
  /* Accroché sous le header : le bandeau des styles diminue de 20 % (zoom sur le contenu
     interne pour ne pas perturber le positionnement sticky de l'élément), l'espace
     au-dessus des images est divisé par 2 (22 → 11 px) et la barre se termine par un
     contour inférieur (comme le headerbar). */
  .stylenav-pinned { padding-top: 11px !important; border-bottom: 1px solid var(--line) !important; }
  .stylenav-pinned .stylenav-inner { zoom: 0.8; }
  /* Accroché : espace noms de styles → barre d'indication divisé par 1,7 (14 → 8 px) */
  .stylenav-pinned .stylenav-dots { margin-top: 8px !important; }

  /* ── Page Nous contacter ── */
  .contact-cards[style] { grid-template-columns: 1fr 1fr !important; gap: 0 !important; width: 85.71% !important; }
  .contact-cards > a, .contact-cards > button { padding: 22px 10px !important; }
  .contact-addr-line { white-space: normal !important; }
  .contact-info-grid[style] { gap: 0 !important; }
  .contact-map { min-height: 300px !important; }

  /* Page Contact : écart header → « Passez nous voir… » encore réduit de 30 % (67 → 47) */
  .contact-hero-section { padding-top: 47px !important; }

  /* Titre « Passez nous voir… » : sur 2 lignes, aligné à droite (sur le beige, hors
     lavandes), avec une légère ombre blanche pour le détacher du fond. */
  .contact-hero-title-wrap { text-align: right !important; }
  .contact-hero-title {
    display: inline-block;
    max-width: 62%;
    text-align: right;
    margin-left: auto !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.9), 0 0 8px rgba(255,255,255,0.7);
  }

  /* ── Footer : bloc Contact en 2 colonnes alignées (tél/mail · WhatsApp/RDV) ── */
  .footer-contact-grid {
    display: grid !important;
    grid-template-columns: auto auto;
    justify-content: center;
    column-gap: 56px;
    row-gap: 28px;
  }

  /* ── Guides des tailles : sommaire sur 1 ligne + flottant sous le header ── */
  #guides-toc {
    position: sticky;
    top: calc(var(--header-h, 90px) - 1px);
    z-index: 30;
    background: #fff;
  }
  #guides-toc ul { flex-wrap: nowrap !important; }
  #guides-toc button { padding: 14px 10px !important; font-size: 10px !important; letter-spacing: 0.14em !important; white-space: nowrap; }

  /* ── Fiche produit : onglets Entretien / Livraison sans mise en tableau ── */
  .prod-kv-row { grid-template-columns: 1fr !important; gap: 6px !important; }
}

/* ── Pop-up recherche (≤760 : colonne raccourcis empilée) ── */
@media (max-width: 760px) {
  .search-pop-col { max-height: 34% !important; }           /* −10 % de hauteur */
  .search-input-row { padding: 8px 18px !important; gap: 12px !important; } /* −35 % de hauteur */
  .search-input { font-size: 19px !important; }
}

/* ── Pop-ups recherche + rendez-vous : marges autour divisées par 2 (popup agrandi) ── */
@media (max-width: 700px) {
  .search-center { padding: 10px 8px !important; }
  .search-modal { width: 100% !important; height: 100% !important; }
  .rdv-center { padding: 10px 8px !important; }
  .rdv-modal { width: 100% !important; height: 100% !important; }
  .rdv-motif-btn { padding: 12px 12px !important; gap: 10px !important; }
  .rdv-motif-title { white-space: nowrap; }
  .rdv-motif-dur { display: none !important; }
  .rdv-pane-body { padding: 18px 16px !important; }
}

/* ── Footer : liens légaux sur une seule ligne (téléphone) ── */
@media (max-width: 560px) {
  .footer-legal-inline { gap: 8px 12px !important; flex-wrap: nowrap !important; }
  .footer-legal-inline button { font-size: 9.5px !important; letter-spacing: 0.08em !important; white-space: nowrap; }
}

/* === Pop-up compte : 2 colonnes → 1 en mobile (avantages masqués) === */
@media (max-width: 760px) {
  .auth-modal-grid { grid-template-columns: 1fr !important; }
  .auth-modal-benefits { display: none !important; }
}
/* === Favoris (espace client) : rangée unique, glissement horizontal, sans barre === */
.fav-scroller { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 2px; }
.fav-scroller::-webkit-scrollbar { display: none; }
