/*
==============================================================================
FABRIC'LAND V2 - STYLE PRINCIPAL
==============================================================================
Pour changer les couleurs globales, modifie uniquement :root.
Pour modifier les produits et photos, va dans /data/products.js.
==============================================================================

PLAN DU FICHIER CSS :
1) :root                     = couleurs globales et variables
2) Reset                     = base du navigateur
3) Header / navigation       = menu haut + mobile
4) Pages / hero              = structure générale des onglets
5) Catalogue                 = filtres, produits, carrousel, boutons
6) Réalisations              = exemples clients
7) Avis clients              = retours, textes, captures Etsy
8) Professionnels            = page B2B
9) Mentions légales          = page bas de site
10) Footer                   = pied de page
11) Responsive               = adaptation mobile/tablette
==============================================================================
*/

:root {
  --navy: #001E5A;
  --blue: #2F3192;
  --gold: #F9AE25;
  --cream: #FFF8ED;
  --sand: #F4E5C9;
  --white: #FFFFFF;
  --text-soft: rgba(0, 30, 90, .70);
  --text-light: rgba(0, 30, 90, .55);
  --border: rgba(0, 30, 90, .10);
  --shadow-soft: 0 14px 36px rgba(0, 30, 90, .08);
  --shadow-premium: 0 30px 90px rgba(0, 30, 90, .16);
  --radius-xl: 34px;
  --radius-2xl: 52px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy);
  background:
    radial-gradient(circle at 0% 0%, rgba(249,174,37,.25), transparent 34rem),
    radial-gradient(circle at 96% 12%, rgba(47,49,146,.13), transparent 36rem),
    linear-gradient(180deg, var(--cream) 0%, #FFF4E3 48%, var(--cream) 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0,30,90,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,30,90,.032) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.54), transparent 70%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.shell {
  width: min(1380px, calc(100% - 20px));
  margin: 0 auto;
}

/* HEADER */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(255,248,237,.86);
  backdrop-filter: blur(22px);
}

.topbar-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 245px;
  flex-shrink: 1;
}

.brand-logo {
  width: 62px;
  height: 52px;
  object-fit: contain;
}

.brand-kicker {
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
}

.brand-sub {
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-light);
  font-weight: 760;
  white-space: nowrap;
}
.tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.56);
  padding: 6px;
  box-shadow: 0 10px 26px rgba(0,30,90,.045);
}

.tab {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(0,30,90,.70);
  cursor: pointer;
  padding: 12px 15px;
  font-size: 13px;
  font-weight: 1000;
  white-space: nowrap;
  transition: color .22s var(--ease), background .22s var(--ease), transform .22s var(--ease);
}

.tab:hover { color: var(--navy); transform: translateY(-1px); }
.tab.active { color: white; background: var(--navy); box-shadow: 0 12px 26px rgba(0,30,90,.22); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  padding: 14px 20px;
  font-weight: 1000;
  line-height: 1;
  white-space: nowrap;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), background .24s var(--ease);
}

.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--navy); color: white; box-shadow: 0 18px 42px rgba(0,30,90,.22); }
.btn-primary:hover { background: var(--blue); box-shadow: 0 24px 58px rgba(0,30,90,.28); }
.btn-secondary { border: 1px solid var(--border); background: rgba(255,255,255,.70); color: var(--navy); }
.btn-secondary:hover { background: white; }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 16px 36px rgba(249,174,37,.25); }
.btn-gold:hover { background: #ffc253; }

.menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: rgba(255,255,255,.72);
  color: var(--navy);
  font-size: 24px;
  cursor: pointer;
}

.mobile-panel { display: none; border-top: 1px solid var(--border); padding: 12px 0 18px; }
.mobile-panel.open { display: block; }
.mobile-tabs { display: grid; gap: 8px; }
.mobile-tabs .tab { width: 100%; text-align: left; border-radius: 18px; background: rgba(255,255,255,.58); padding: 14px 16px; }

/* PAGES */
.page { display: none; animation: pageIn .42s var(--ease) both; }
.page.active { display: block; }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.hero {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 62px;
  padding: 76px 0 68px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  padding: 9px 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 1000;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

h1 {
  margin-top: 26px;
  font-size: clamp(46px, 7.3vw, 90px);
  line-height: .89;
  letter-spacing: -.075em;
  font-weight: 1000;
}

.lead {
  margin-top: 26px;
  max-width: 680px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.78;
  font-weight: 590;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust-line { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.trust-pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  padding: 10px 13px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 900;
}

.hero-photo-card {
  position: relative;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 52px;
  background: rgba(255,255,255,.70);
  padding: 18px;
  box-shadow: var(--shadow-premium);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.hero-photo-card::before {
  content: "";
  position: absolute;
  inset: -20px;
  z-index: -1;
  border-radius: 62px;
  background: linear-gradient(135deg, rgba(249,174,37,.32), rgba(255,255,255,.8), rgba(47,49,146,.16));
  filter: blur(28px);
}

.hero-photo {
  min-height: 520px;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  background: var(--navy);
}

.hero-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.hero-photo-overlay {
  position: absolute;
  inset: auto 20px 20px 20px;
  border-radius: 30px;
  background: rgba(0,30,90,.82);
  color: white;
  padding: 24px;
  backdrop-filter: blur(14px);
}

.hero-photo-overlay span {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-photo-overlay h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: .95;
  letter-spacing: -.055em;
  font-weight: 1000;
}

.section { padding: 70px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.kicker {
  color: var(--blue);
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.section-title {
  margin-top: 12px;
  max-width: 900px;
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: .93;
  letter-spacing: -.062em;
  font-weight: 1000;
}

.section-copy {
  max-width: 540px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 590;
}

/* CATALOGUE */
.catalogue-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

.filters-panel {
  position: sticky;
  top: 110px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.74);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.filters-panel h3 {
  margin: 8px 8px 16px;
  font-size: 24px;
  font-weight: 1000;
  letter-spacing: -.04em;
}

.filter-list { display: grid; gap: 8px; }

.filter-btn {
  width: 100%;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: var(--text-soft);
  padding: 13px 14px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 1000;
  transition: background .22s var(--ease), color .22s var(--ease), transform .22s var(--ease);
}

.filter-btn:hover { background: var(--cream); transform: translateX(2px); }
.filter-btn.active { background: var(--navy); color: white; box-shadow: 0 14px 30px rgba(0,30,90,.18); }

/*
==============================================================================
CATALOGUE MAIN FIXE
==============================================================================
Contient la barre de recherche et la grille produits.
Ne pas mettre opacity: 0 ici : sinon la recherche et les produits deviennent
présents mais invisibles.
==============================================================================
*/
.catalogue-main {
  opacity: 1;
  transform: none;
  display: block;
}

.catalogue-tools {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-bottom: 20px;
}

.searchbox { position: relative; }

.searchbox::before {
  content: "⌕";
  position: absolute;
  left: 18px;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 20px;
}

.searchbox input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  padding: 16px 18px 16px 48px;
  outline: none;
  color: var(--navy);
  font-size: 15px;
  font-weight: 850;
  box-shadow: var(--shadow-soft);
}

.catalogue-count {
  border-radius: 999px;
  background: var(--navy);
  color: white;
  padding: 16px 19px;
  font-size: 14px;
  font-weight: 1000;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 36px rgba(0,30,90,.18);
  white-space: nowrap;
}

.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.product-card {
  border: 1px solid var(--border);
  border-radius: 34px;
  background: rgba(255,255,255,.76);
  padding: 13px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}

.product-card:hover {
  transform: translateY(-7px);
  background: white;
  box-shadow: var(--shadow-premium);
}

.product-carousel {
  position: relative;
}

.product-image-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 360px;
  background: var(--sand);
}

.carousel-slide {
  display: none;
  width: 100%;
  height: 360px;
  object-fit: contain;
  object-position: center;
  transition: transform .45s var(--ease);
}

.carousel-slide.active {
  display: block;
}

.product-card:hover .carousel-slide.active {
  transform: scale(1.045);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  color: var(--navy);
  padding: 8px 11px;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(0,30,90,.10);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.50);
  border-radius: 999px;
  background: rgba(0,30,90,.72);
  color: white;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 28px;
  line-height: 1;
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
  transition: background .22s var(--ease), transform .22s var(--ease), opacity .22s var(--ease);
  opacity: .92;
}

.carousel-btn:hover {
  background: var(--navy);
  transform: translateY(-50%) scale(1.06);
}

.carousel-prev {
  left: 12px;
}

.carousel-next {
  right: 12px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 5;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(0,30,90,.38);
  padding: 7px 9px;
  backdrop-filter: blur(10px);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.58);
  cursor: pointer;
  transition: width .22s var(--ease), background .22s var(--ease);
}

.carousel-dot.active {
  width: 22px;
  background: var(--gold);
}

.product-content { padding: 18px 8px 8px; }

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 1000;
  margin-bottom: 12px;
}

.product-card h3 {
  font-size: 24px;
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 1000;
}

.product-card p {
  margin-top: 12px;
  min-height: 70px;
  color: var(--text-soft);
  line-height: 1.6;
  font-size: 14px;
  font-weight: 590;
}

.product-specs {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--text-light);
  font-size: 12px;
  font-weight: 900;
}

/* Groupe de boutons sous chaque produit : mail, PDF options, Etsy */
.product-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.product-btn {
  width: 100%;
  justify-content: space-between;
  border-radius: 18px;
  padding: 14px 16px;
  font-size: 14px;
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: rgba(255,255,255,.72);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

/* EXEMPLES CLIENTS */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-card {
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.74);
  box-shadow: var(--shadow-soft);
}

.project-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.project-card div {
  padding: 24px;
}

.project-card span {
  display: inline-flex;
  color: var(--blue);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.project-card h3 {
  margin-top: 14px;
  font-size: 28px;
  line-height: .98;
  letter-spacing: -.04em;
  font-weight: 1000;
}

.project-card p {
  margin-top: 12px;
  color: var(--text-soft);
  line-height: 1.65;
}


/*
==============================================================================
AVIS CLIENTS
==============================================================================
Cadres utilisés dans la page "Avis clients".
Les données viennent de data/avis.csv et sont injectées par renderReviews()
dans js/main.js.
==============================================================================
*/
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: rgba(255,255,255,.76);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}

.review-card:hover {
  transform: translateY(-6px);
  background: white;
  box-shadow: var(--shadow-premium);
}

.review-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: var(--sand);
  border-bottom: 1px solid var(--border);
}

.review-content {
  padding: 24px;
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.review-meta span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.review-meta strong {
  color: var(--gold);
  font-size: 15px;
  font-weight: 1000;
  white-space: nowrap;
}

.review-card h3 {
  font-size: 26px;
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 1000;
}

.review-card p {
  margin-top: 13px;
  color: var(--text-soft);
  line-height: 1.68;
  font-weight: 590;
}

.review-card small {
  display: inline-flex;
  margin-top: 18px;
  border-radius: 999px;
  background: rgba(249,174,37,.18);
  color: var(--navy);
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 1000;
}

/* PRO */
.pro-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 22px;
}

.pro-card {
  border: 1px solid var(--border);
  border-radius: 44px;
  background: rgba(255,255,255,.72);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.pro-card.dark {
  color: white;
  background:
    radial-gradient(circle at 88% 4%, rgba(249,174,37,.28), transparent 150px),
    var(--navy);
}

.pro-card h3 {
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 1000;
}

.pro-card p {
  margin-top: 18px;
  color: var(--text-soft);
  line-height: 1.75;
  font-weight: 590;
}

.pro-card.dark p { color: rgba(255,255,255,.72); }

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.service {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255,255,255,.68);
  padding: 18px;
}

.service strong {
  display: block;
  font-size: 18px;
  font-weight: 1000;
}

.service span {
  display: block;
  margin-top: 8px;
  color: var(--text-light);
  line-height: 1.5;
  font-size: 14px;
  font-weight: 590;
}

/* MENTIONS */
.legal-card {
  border: 1px solid var(--border);
  border-radius: 44px;
  background: rgba(255,255,255,.76);
  padding: 34px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  max-width: 980px;
}

.legal-card h2 {
  margin-top: 28px;
  font-size: 28px;
  letter-spacing: -.04em;
  font-weight: 1000;
}

.legal-card h2:first-child { margin-top: 0; }

.legal-card p,
.legal-card li {
  margin-top: 10px;
  color: var(--text-soft);
  line-height: 1.72;
  font-weight: 590;
}

.legal-placeholder {
  display: inline-block;
  border-radius: 10px;
  background: rgba(249,174,37,.16);
  color: var(--navy);
  padding: 2px 7px;
  font-weight: 1000;
}

/* FOOTER */
.footer {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding: 34px 0;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 820;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer button {
  border: 0;
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  font-weight: 900;
}

.footer button:hover { color: var(--navy); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/*
==============================================================================
SÉCURITÉ VISIBILITÉ
==============================================================================
Si un bloc dynamique est bien généré mais reste invisible, c'est souvent que
l'animation .reveal n'a pas reçu la classe .visible.
Le JavaScript force normalement cette classe après chargement CSV.
==============================================================================
*/
.product-card.visible,
.project-card.visible,
.review-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/*
==============================================================================
CARTES DYNAMIQUES VISIBLES
==============================================================================
Les cartes générées par CSV utilisent .dynamic-card.
Elles ne dépendent plus de l'animation .reveal pour apparaître.
Cela corrige le bug : "les produits sont cliquables mais invisibles au départ".
==============================================================================
*/
.dynamic-card {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* RESPONSIVE */
@media (max-width: 1160px) {
  .tabs,
  .header-actions { display: none; }

  .menu-btn { display: grid; place-items: center; }

  .hero,
  .catalogue-layout,
  .pro-grid { grid-template-columns: 1fr; }

  .filters-panel { position: static; }
  .filter-list { grid-template-columns: repeat(3, 1fr); }
  .catalogue-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid,
  .reviews-grid,
  .service-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1200px); }
  .topbar-inner { min-height: 76px; }
  .brand-logo { width: 74px; height: 54px; }
  .brand-copy { display: none; }
  .hero { padding: 44px 0 40px; gap: 38px; }
  h1 { font-size: 46px; }
  .lead, .section-copy { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }

  .project-grid,
  .reviews-grid,
  .catalogue-tools,
  .catalogue-grid,
  .filter-list,
  .service-list { grid-template-columns: 1fr; }

  .section { padding: 48px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero-photo-card,
  .legal-card,
  .pro-card { border-radius: 34px; padding: 20px; }
  .hero-photo,
  .hero-photo img { min-height: 420px; height: 420px; }
  .hero-photo-overlay { inset: auto 14px 14px 14px; border-radius: 24px; padding: 18px; }
  .catalogue-count { white-space: normal; }
  .product-card p { min-height: auto; }
  .product-specs { flex-direction: column; gap: 6px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}


/*
==============================================================================
SÉCURITÉ CATALOGUE VISIBLE
==============================================================================
Correction V4.4 :
Sur la page catalogue, la barre de recherche, les boutons et la grille doivent
toujours être visibles. Cette sécurité évite qu'un parent animé reste en
opacity: 0.
==============================================================================
*/
#page-catalogue .catalogue-main,
#page-catalogue .catalogue-tools,
#page-catalogue .catalogue-grid {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}
/*
==============================================================================
CORRECTION AFFICHAGE CATALOGUE
==============================================================================
Si la barre de recherche ou les produits existent mais restent invisibles,
on force l'affichage uniquement dans la page Catalogue.
==============================================================================
*/
#page-catalogue .reveal,
#page-catalogue .catalogue-tools,
#page-catalogue .catalogue-grid,
#page-catalogue .product-card {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}