/*
==============================================================================
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 {
  column-count: 3;
  column-gap: 18px;
}

.review-card {
  display: inline-flex;
  flex-direction: column;

  width: 100%;
  height: auto;
  min-height: 0;

  margin: 0 0 18px;

  break-inside: avoid;
  page-break-inside: avoid;

  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(7, 26, 51, 0.10);
  border-radius: 24px;

  box-shadow:
    0 10px 30px rgba(7, 26, 51, 0.07),
    0 2px 8px rgba(7, 26, 51, 0.04);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

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

.review-card > img {
  display: block;
  width: 100%;
  height: 230px;
  padding: 12px;

  object-fit: contain;
  object-position: center;

  background: #f5f6f8;
  border-radius: 20px 20px 0 0;
}

.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 {
    column-count: 2;
  }
  .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 {
    column-count: 1;
  }
  .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;
}
/* ========================================================================== */
/* FABRIC'LAND V3 — REFONTE ÉLÉGANTE BLEU & OR                              */
/* ========================================================================== */
:root {
  --navy: #071a33;
  --navy-2: #0d294c;
  --blue: #174a7e;
  --blue-soft: #eaf1f8;
  --gold: #c9a34a;
  --gold-light: #ead9a4;
  --cream: #f7f5f0;
  --sand: #ede8dd;
  --white: #ffffff;
  --ink: #10233d;
  --text-soft: rgba(16,35,61,.72);
  --text-light: rgba(16,35,61,.55);
  --border: rgba(7,26,51,.10);
  --shadow-soft: 0 18px 45px rgba(7,26,51,.08);
  --shadow-premium: 0 34px 90px rgba(7,26,51,.16);
  --radius-xl: 28px;
  --radius-2xl: 44px;
}

body {
  color: var(--ink);
  background: #f8f7f4;
  font-weight: 450;
}
body::before { opacity: .35; }
.shell { width: min(1240px, calc(100% - 40px)); }

.topbar {
  background: rgba(248,247,244,.86);
  border-bottom: 1px solid rgba(7,26,51,.07);
  backdrop-filter: blur(22px) saturate(140%);
}
.topbar-inner { min-height: 84px; gap: 24px; }
.brand-logo { width: 112px; height: auto; }
.brand-copy { display: none; }
.tabs { gap: 4px; }
.tab {
  border-radius: 999px;
  padding: 11px 13px;
  font-size: 13px;
  letter-spacing: .01em;
  color: rgba(7,26,51,.72);
}
.tab::after { display: none; }
.tab:hover, .tab.active { background: var(--navy); color: white; }
.header-actions .btn { padding: 12px 16px; font-size: 12px; }

.btn {
  border-radius: 999px;
  padding: 14px 20px;
  font-size: 13px;
  letter-spacing: .015em;
  gap: 12px;
}
.btn-primary { background: var(--navy); box-shadow: 0 12px 28px rgba(7,26,51,.18); }
.btn-primary:hover { background: var(--blue); }
.btn-secondary { background: rgba(255,255,255,.72); }
.btn-gold { background: var(--gold); color: #071a33; }
.btn-light { background: white; color: var(--navy); }
.text-link {
  border: 0; background: none; color: var(--navy); cursor: pointer; font: inherit;
  font-size: 14px; font-weight: 750; padding: 12px 0;
}

.page { padding-top: 0; }
.section { padding-top: 110px; padding-bottom: 110px; }
.kicker, .eyebrow {
  color: var(--gold); letter-spacing: .22em; text-transform: uppercase;
  font-size: 11px; font-weight: 800;
}
.eyebrow.light { color: var(--gold-light); }
.section-title {
  max-width: 760px; margin-top: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.2vw, 72px); line-height: .98; letter-spacing: -.045em;
  font-weight: 500;
}
.section-copy { font-size: 17px; line-height: 1.8; font-weight: 450; }
.section-head { align-items: end; margin-bottom: 46px; }

/* Hero éditorial */
.home-hero { padding: 14px 14px 0; }
.hero-slider {
  position: relative;
  height: clamp(480px, 62vh, 620px);
  min-height: 0;
  overflow: hidden;
  border-radius: 0 0 36px 36px;
  background: var(--navy);
  box-shadow: 0 24px 70px rgba(7,26,51,.16);
}
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s ease; }
.hero-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide > img {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;

  width: 65%;
  height: 100%;

  object-fit: cover;
  object-position: right center;

  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.10) 10%,
    rgba(0, 0, 0, 0.45) 24%,
    black 42%,
    black 100%
  );

  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.10) 10%,
    rgba(0, 0, 0, 0.45) 24%,
    black 42%,
    black 100%
  );
}
.hero-slide.active > img { transform: scale(1); }
.hero-slide-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4,16,32,.91) 0%, rgba(4,16,32,.72) 38%, rgba(4,16,32,.18) 70%, rgba(4,16,32,.08) 100%),
              linear-gradient(0deg, rgba(4,16,32,.45), transparent 45%);
}
.hero-slide-content {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: center;
  color: white; padding-top: 30px; padding-bottom: 80px;
}
.hero-slide-content h1 {
  max-width: 720px; margin-top: 18px; font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 5.8vw, 78px); line-height: .95; letter-spacing: -.045em; font-weight: 500;
}
.hero-slide-content p:not(.eyebrow) { max-width: 610px; margin-top: 24px; font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.82); }
.hero-slide-content .btn { align-self: flex-start; margin-top: 30px; }
.hero-arrow {
  position: absolute; z-index: 5; bottom: 40px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%; background: rgba(255,255,255,.08); color: white; font-size: 28px; cursor: pointer;
  backdrop-filter: blur(12px); transition: .25s ease;
}
.hero-arrow:hover { background: white; color: var(--navy); }
.hero-prev { right: 88px; }
.hero-next { right: 32px; }
.hero-dots { position: absolute; z-index: 5; left: 32px; bottom: 54px; display: flex; gap: 9px; }
.hero-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.42); cursor: pointer; transition: .25s; }
.hero-dots button.active { width: 28px; border-radius: 999px; background: var(--gold); }
.hero-progress { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.14); }
.hero-progress span { display:block; width:0; height:100%; background:var(--gold); }
.hero-progress span.running { animation: heroProgress 6s linear forwards; }
@keyframes heroProgress { from { width:0; } to { width:100%; } }

.intro-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 26px;
  border: 1px solid var(--border); border-radius: 24px; background: white; box-shadow: var(--shadow-soft);
}
.intro-strip > div { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 24px 26px; border-right: 1px solid var(--border); }
.intro-strip > div:last-child { border-right: 0; }
.intro-number { color: var(--gold); font-size: 12px; font-weight: 850; }
.intro-strip p { color: var(--text-soft); line-height: 1.55; font-size: 14px; }

.home-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.editorial-copy .section-copy { margin-top: 24px; }
.editorial-copy .hero-actions { margin-top: 30px; }
.editorial-gallery { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 220px 220px; gap: 14px; }
.editorial-gallery figure { overflow: hidden; border-radius: 24px; box-shadow: var(--shadow-soft); }
.editorial-gallery .gallery-large { grid-row: 1 / 3; }
.editorial-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.editorial-gallery figure:hover img { transform: scale(1.045); }

.universe-section { background: var(--navy); color: white; }
.universe-section .section-copy { color: rgba(255,255,255,.68); }
.universe-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.universe-card {
  position: relative; min-height: 480px; padding: 0; border: 0; border-radius: 26px; overflow: hidden; cursor: pointer; text-align: left;
  background: #10233d; color: white; box-shadow: 0 18px 46px rgba(0,0,0,.18);
}
.universe-card::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(4,16,32,.9),transparent 70%); }
.universe-card img { width:100%; height:100%; object-fit:cover; transition: transform .7s ease, filter .7s ease; }
.universe-card:hover img { transform:scale(1.06); filter:saturate(1.08); }
.universe-card > span { position:absolute; z-index:2; top:20px; right:20px; color:var(--gold-light); font-size:11px; }
.universe-card > div { position:absolute; z-index:2; left:24px; right:24px; bottom:26px; }
.universe-card small { color:var(--gold-light); text-transform:uppercase; letter-spacing:.18em; font-weight:800; }
.universe-card h3 { margin-top:10px; font-family:Georgia,serif; font-size:31px; line-height:1; font-weight:500; }
.universe-card p { margin-top:10px; color:rgba(255,255,255,.7); line-height:1.5; }

.social-section { display:grid; grid-template-columns:.8fr 1.2fr; gap:60px; align-items:center; }
.social-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.social-card {
  display:grid; grid-template-columns:48px 1fr auto; align-items:center; gap:14px;
  min-height:92px; padding:18px; border:1px solid var(--border); border-radius:20px; background:white;
  color:var(--navy); text-decoration:none; box-shadow:var(--shadow-soft); transition:.25s ease;
}
.social-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-premium); border-color:rgba(201,163,74,.5); }
.social-card.unavailable { opacity:.48; cursor:default; }
.social-card.unavailable b { display:none; }
.social-icon { width:48px; height:48px; display:grid; place-items:center; border-radius:15px; background:var(--blue-soft); font-weight:900; font-size:20px; }
.social-card strong { display:block; font-size:15px; }
.social-card small { display:block; margin-top:4px; color:var(--text-light); }
.social-card b { color:var(--gold); }

/* Qui sommes-nous */
.about-hero { background:var(--navy); color:white; padding:110px 0 95px; overflow:hidden; }
.about-hero-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:70px; align-items:center; }
.about-hero h1 { margin-top:18px; font-family:Georgia,serif; font-size:clamp(52px,6.8vw,92px); line-height:.94; letter-spacing:-.05em; font-weight:500; }
.about-hero p { max-width:700px; margin-top:26px; color:rgba(255,255,255,.72); font-size:18px; line-height:1.75; }
.about-collage { position:relative; min-height:500px; }
.about-collage figure { position:absolute; overflow:hidden; border-radius:28px; box-shadow:0 30px 70px rgba(0,0,0,.28); background:white; }
.about-collage figure:first-child { width:62%; height:60%; right:0; top:0; display:grid; place-items:center; padding:40px; }
.about-collage figure:last-of-type { width:68%; height:62%; left:0; bottom:0; }
.about-collage img { width:100%; height:100%; object-fit:cover; }
.about-collage figure:first-child img { object-fit:contain; }
.about-stamp { position:absolute; z-index:3; right:10%; bottom:8%; width:150px; height:150px; border-radius:50%; background:var(--gold); color:var(--navy); display:grid; place-items:center; text-align:center; transform:rotate(-8deg); font-size:13px; line-height:1.35; }
.about-stamp strong { font-family:Georgia,serif; font-size:18px; }
.story-grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:80px; }
.story-text p { font-size:18px; line-height:1.85; color:var(--text-soft); }
.story-text p + p { margin-top:24px; }
.values-wrap { background:#eef2f5; }
.values-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.value-card { min-height:300px; padding:28px; border-radius:24px; background:white; border:1px solid var(--border); box-shadow:var(--shadow-soft); }
.value-card span { color:var(--gold); font-size:12px; font-weight:850; }
.value-card h3 { margin-top:55px; font-family:Georgia,serif; font-size:34px; font-weight:500; }
.value-card p { margin-top:14px; color:var(--text-soft); line-height:1.7; }
.about-cta { display:flex; align-items:center; justify-content:space-between; gap:40px; padding:48px; border-radius:30px; background:var(--navy); color:white; box-shadow:var(--shadow-premium); }
.about-cta h2 { margin-top:10px; font-family:Georgia,serif; font-size:clamp(38px,5vw,62px); font-weight:500; }
.about-cta p { margin-top:12px; color:rgba(255,255,255,.7); }

/* Catalogue plus sobre */
.filters-panel, .product-card, .review-card, .project-card, .pro-card, .legal-card { border-radius:24px; }
.product-card { background:white; padding:10px; }
.product-image-wrap, .carousel-slide { height:330px; min-height:330px; }
.product-card h3, .project-card h3, .review-card h3 { font-family:Georgia,serif; font-weight:500; }
.filter-btn.active { background:var(--navy); }
.searchbox input { background:white; }

/* Footer */
.footer { padding:70px 0 24px; background:#051529; color:white; }
.footer-top { display:grid; grid-template-columns:1.5fr .8fr .8fr 1fr; gap:50px; padding-bottom:50px; }
.footer-brand img { width:150px; filter:brightness(0) invert(1); }
.footer-brand p, .footer-contact p { margin-top:18px; color:rgba(255,255,255,.58); line-height:1.7; }
.footer-nav, .footer-contact { display:flex; flex-direction:column; align-items:flex-start; gap:12px; }
.footer-nav strong, .footer-contact strong { margin-bottom:8px; color:var(--gold-light); font-size:12px; letter-spacing:.16em; text-transform:uppercase; }
.footer-nav button, .footer-nav a, .footer-contact a { border:0; background:none; color:rgba(255,255,255,.72); padding:0; cursor:pointer; text-decoration:none; font:inherit; }
.footer-nav button:hover, .footer-nav a:hover, .footer-contact a:hover { color:white; }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; padding-top:24px; border-top:1px solid rgba(255,255,255,.11); color:rgba(255,255,255,.45); font-size:12px; }

@media (max-width: 1100px) {
  .tabs { display:none; }
  .menu-btn { display:grid; }
  .header-actions .btn-secondary { display:none; }
  .universe-grid, .values-grid { grid-template-columns:repeat(2,1fr); }
  .home-intro, .social-section, .about-hero-grid, .story-grid { grid-template-columns:1fr; }
  .about-collage { min-height:520px; }
}
@media (max-width: 760px) {
  .shell { width:min(100% - 24px, 1240px); }
  .topbar-inner { min-height:72px; }
  .brand-logo { width:96px; }
  .header-actions { display:none; }
  .home-hero { padding:8px 8px 0; }
  .hero-slider { min-height:690px; border-radius:0 0 28px 28px; }
  .hero-slide-shade { background:linear-gradient(0deg,rgba(4,16,32,.92),rgba(4,16,32,.32)); }
  .hero-slide-content { justify-content:flex-end; padding-bottom:120px; }
  .hero-slide-content h1 { font-size:52px; }
  .hero-slide-content p:not(.eyebrow) { font-size:16px; }
  .hero-arrow { bottom:32px; }
  .hero-dots { bottom:48px; }
  .intro-strip { grid-template-columns:1fr; }
  .intro-strip > div { border-right:0; border-bottom:1px solid var(--border); }
  .intro-strip > div:last-child { border-bottom:0; }
  .section { padding-top:78px; padding-bottom:78px; }
  .section-title { font-size:44px; }
  .section-head { display:block; }
  .section-head .section-copy { margin-top:20px; }
  .editorial-gallery { grid-template-columns:1fr 1fr; grid-template-rows:330px 160px; }
  .editorial-gallery .gallery-large { grid-column:1/3; grid-row:auto; }
  .universe-grid, .values-grid, .social-grid { grid-template-columns:1fr; }
  .universe-card { min-height:420px; }
  .about-collage { min-height:420px; }
  .about-stamp { width:120px; height:120px; }
  .about-cta { align-items:flex-start; flex-direction:column; padding:30px; }
  .footer-top { grid-template-columns:1fr 1fr; }
  .footer-brand, .footer-contact { grid-column:1/3; }
  .footer-bottom { flex-direction:column; }
  .catalogue-grid, .project-grid, .reviews-grid, .pro-grid, .service-list { grid-template-columns:1fr; }
  .catalogue-layout { grid-template-columns:1fr; }
  .filters-panel { position:static; }
}
.review-product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;

  margin: 18px 0 14px;
  padding-left: 14px;

  border-left: 2px solid var(--gold);
}

.review-product span {
  color: #778296;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.review-product strong {
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  margin-top: auto;
  padding-top: 18px;

  border-top: 1px solid rgba(7, 26, 51, 0.09);
}

.review-footer small {
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.review-date {
  color: #7d8796;
  font-size: 12px;
  font-weight: 600;
}
.review-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--gold);
  font-size: 17px;
  line-height: 1;
  letter-spacing: 1px;
  white-space: nowrap;
}

.review-stars-empty {
  color: #d9dde3;
}

/* ========================================================================== */
/* FICHE PRODUIT DYNAMIQUE                                                    */
/* ========================================================================== */
.product-title-link { color: inherit; text-decoration: none; }
.product-title-link:hover { color: var(--blue); }
.product-detail-body { background: #f7f6f2; }
.product-detail-header .topbar-inner { min-height: 108px; }
.product-detail-nav { display:flex; align-items:center; gap:26px; margin-left:auto; }
.product-detail-nav a { color:var(--text-soft); text-decoration:none; font-size:14px; font-weight:850; }
.product-detail-nav a:hover { color:var(--navy); }
.product-contact-header { margin-left:20px; }
.product-loading { min-height:65vh; display:grid; place-items:center; align-content:center; gap:16px; color:var(--text-soft); }
.product-loading-dot { width:36px; height:36px; border:3px solid rgba(7,26,51,.12); border-top-color:var(--gold); border-radius:50%; animation:productSpin .8s linear infinite; }
@keyframes productSpin { to { transform:rotate(360deg); } }
.product-detail-shell { padding-top:34px; padding-bottom:80px; }
.product-breadcrumb { display:flex; align-items:center; gap:10px; margin-bottom:26px; color:var(--text-light); font-size:13px; flex-wrap:wrap; }
.product-breadcrumb a { color:var(--text-soft); text-decoration:none; }
.product-breadcrumb strong { color:var(--navy); }
.product-detail-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(380px,.8fr); gap:34px; align-items:start; }
.product-gallery-panel { min-width:0; }
.product-main-image-wrap { position:relative; height:clamp(720px,66vh,720px); display:grid; place-items:center; overflow:hidden; border:1px solid var(--border); border-radius:34px; background:#eef1f4; box-shadow:var(--shadow-soft); }
.product-main-image-wrap > img { width:100%; height:100%; padding:20px; object-fit:contain; cursor:zoom-in; transition:transform .4s var(--ease); }
.product-main-image-wrap:hover > img { transform:scale(1.015); }

.product-gallery-arrow {
  position:absolute;
  top:50%;
  z-index:4;
  display:grid;
  place-items:center;
  width:50px;
  height:50px;
  padding:0 0 4px;
  border:1px solid rgba(255,255,255,.42);
  border-radius:50%;
  color:#fff;
  background:rgba(7,26,51,.78);
  box-shadow:0 10px 28px rgba(7,26,51,.22);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  font-family:Arial,sans-serif;
  font-size:38px;
  font-weight:300;
  line-height:1;
  cursor:pointer;
  transform:translateY(-50%);
  transition:transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.product-gallery-arrow:hover {
  background:var(--gold);
  box-shadow:0 14px 34px rgba(7,26,51,.3);
  transform:translateY(-50%) scale(1.06);
}
.product-gallery-arrow:focus-visible {
  outline:3px solid rgba(201,160,72,.45);
  outline-offset:3px;
}
.product-gallery-arrow-prev { left:18px; }
.product-gallery-arrow-next { right:18px; }
.product-gallery-arrow[hidden] { display:none; }
.product-zoom-hint { position:absolute; z-index:2; right:18px; bottom:18px; border:1px solid rgba(255,255,255,.5); border-radius:999px; padding:10px 14px; color:white; background:rgba(7,26,51,.78); backdrop-filter:blur(10px); cursor:pointer; font-weight:850; }
.product-thumbs { display:flex; gap:12px; margin-top:14px; overflow:auto; padding:2px 2px 8px; }
.product-thumb { flex:0 0 92px; height:82px; padding:5px; border:1px solid var(--border); border-radius:16px; background:white; cursor:pointer; transition:.2s ease; }
.product-thumb img { width:100%; height:100%; object-fit:contain; border-radius:11px; }
.product-thumb.active, .product-thumb:hover { border-color:var(--gold); box-shadow:0 8px 24px rgba(7,26,51,.10); transform:translateY(-2px); }
.product-buy-panel { position:sticky; top:136px; border:1px solid var(--border); border-radius:34px; padding:32px; background:rgba(255,255,255,.90); box-shadow:0 28px 70px rgba(7,26,51,.12); backdrop-filter:blur(18px); }
.product-detail-category, .product-section-kicker { color:var(--blue); font-size:12px; font-weight:1000; letter-spacing:.18em; text-transform:uppercase; }
.product-buy-panel h1 { margin-top:12px; font-family:Georgia,"Times New Roman",serif; font-size:clamp(38px,4vw,58px); line-height:.98; letter-spacing:-.045em; font-weight:500; }
.product-detail-badge { display:inline-flex; margin-top:18px; padding:8px 12px; border-radius:999px; background:rgba(201,163,74,.17); color:var(--navy); font-size:12px; font-weight:900; }
.product-detail-lead { margin-top:20px; color:var(--text-soft); line-height:1.72; font-size:16px; }
.product-detail-price { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-top:24px; padding:18px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.product-detail-price span { color:var(--text-light); font-size:13px; font-weight:800; }
.product-detail-price strong { color:var(--navy); font-size:25px; }
.product-reassurance { display:grid; gap:8px; margin:18px 0 24px; color:var(--text-soft); font-size:13px; font-weight:720; }
.product-configurator { display:grid; gap:17px; }
.product-field { display:grid; gap:8px; }
.product-field > span, .product-choice-field legend { color:var(--navy); font-size:13px; font-weight:900; }
.product-field input, .product-field textarea, .product-field select { width:100%; border:1px solid rgba(7,26,51,.14); border-radius:14px; padding:13px 14px; color:var(--ink); background:#fff; font:inherit; outline:none; transition:.2s ease; }
.product-field input:focus, .product-field textarea:focus, .product-field select:focus { border-color:var(--gold); box-shadow:0 0 0 4px rgba(201,163,74,.12); }
.product-field small { color:var(--text-light); line-height:1.45; }
.product-choice-field { border:0; padding:0; margin:0; }
.product-choice-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin-top:8px; }
.product-choice input { position:absolute; opacity:0; }
.product-choice > span { display:flex; align-items:center; justify-content:space-between; min-height:52px; border:1px solid rgba(7,26,51,.13); border-radius:14px; padding:11px 13px; cursor:pointer; font-size:13px; font-weight:780; }
.product-choice input:checked + span { border-color:var(--gold); background:rgba(201,163,74,.10); box-shadow:inset 0 0 0 1px var(--gold); }
.product-choice small { color:var(--blue); }
.product-empty-options { border:1px dashed rgba(7,26,51,.18); border-radius:18px; padding:16px; background:rgba(234,241,248,.45); }
.product-empty-options p { margin-top:6px; color:var(--text-soft); line-height:1.5; font-size:13px; }
.product-quantity > div { display:grid; grid-template-columns:44px 1fr 44px; border:1px solid rgba(7,26,51,.14); border-radius:14px; overflow:hidden; background:white; }
.product-quantity button { border:0; background:#f4f6f8; color:var(--navy); font-size:20px; cursor:pointer; }
.product-quantity input { border:0; border-radius:0; text-align:center; box-shadow:none !important; }
.product-total { display:grid; grid-template-columns:1fr auto; align-items:end; gap:3px 14px; margin-top:2px; padding:18px; border-radius:19px; color:white; background:linear-gradient(135deg,var(--navy),var(--navy-2)); }
.product-total span { font-size:12px; color:rgba(255,255,255,.68); font-weight:800; }
.product-total strong { grid-row:span 2; font-size:25px; color:var(--gold-light); }
.product-total small { color:rgba(255,255,255,.62); }
.product-request-btn { width:100%; justify-content:center; }
.product-pdf-link { text-align:center; color:var(--blue); font-size:13px; font-weight:850; }
.product-story-section { display:grid; grid-template-columns:.8fr 1.2fr; gap:70px; margin-top:86px; padding:60px; border-radius:38px; color:white; background:radial-gradient(circle at 88% 10%,rgba(201,163,74,.24),transparent 260px),var(--navy); }
.product-story-section h2 { margin-top:12px; font-family:Georgia,"Times New Roman",serif; font-size:clamp(38px,5vw,64px); line-height:.98; font-weight:500; }
.product-story-copy > p { color:rgba(255,255,255,.76); font-size:17px; line-height:1.8; }
.product-story-copy dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:30px; }
.product-story-copy dl div { padding:18px; border:1px solid rgba(255,255,255,.13); border-radius:18px; background:rgba(255,255,255,.05); }
.product-story-copy dt { color:var(--gold-light); font-size:11px; font-weight:900; letter-spacing:.13em; text-transform:uppercase; }
.product-story-copy dd { margin:8px 0 0; color:rgba(255,255,255,.80); line-height:1.5; }
.product-related-section { margin-top:80px; }
.product-related-head { display:flex; align-items:end; justify-content:space-between; gap:22px; margin-bottom:25px; }
.product-related-head h2 { margin-top:9px; font-family:Georgia,"Times New Roman",serif; font-size:clamp(36px,4vw,54px); font-weight:500; }
.product-related-head > a { color:var(--blue); font-weight:900; text-decoration:none; }
.product-related-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.product-related-card { display:block; padding:10px 10px 20px; border:1px solid var(--border); border-radius:25px; color:var(--ink); background:white; text-decoration:none; box-shadow:var(--shadow-soft); transition:.25s ease; }
.product-related-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-premium); }
.product-related-card > div { height:250px; display:grid; place-items:center; overflow:hidden; border-radius:18px; background:#f0f2f4; }
.product-related-card img { width:100%; height:100%; padding:10px; object-fit:contain; }
.product-related-card > span { display:block; margin:16px 12px 6px; color:var(--blue); font-size:11px; font-weight:950; text-transform:uppercase; letter-spacing:.13em; }
.product-related-card h3 { margin:0 12px; font-family:Georgia,serif; font-size:23px; font-weight:500; }
.product-related-card > strong { display:block; margin:9px 12px 0; color:var(--gold); }
.product-lightbox { width:min(92vw,1100px); max-height:92vh; border:0; border-radius:28px; padding:22px; background:#f1f3f5; box-shadow:0 40px 100px rgba(0,0,0,.35); }
.product-lightbox::backdrop { background:rgba(3,13,26,.82); backdrop-filter:blur(6px); }
.product-lightbox img { width:100%; max-height:82vh; object-fit:contain; }
.product-lightbox-close { position:absolute; top:14px; right:14px; width:42px; height:42px; border:0; border-radius:50%; color:white; background:var(--navy); font-size:24px; cursor:pointer; }
.product-error { min-height:65vh; display:grid; align-content:center; justify-items:start; max-width:760px; }
.product-error > span { color:var(--gold); font-weight:900; text-transform:uppercase; letter-spacing:.15em; }
.product-error h1 { margin:15px 0; font-family:Georgia,serif; font-size:clamp(44px,6vw,76px); line-height:.96; font-weight:500; }
.product-error p { margin-bottom:24px; color:var(--text-soft); }
@media (max-width:1050px) {
  .product-detail-nav { display:none; }
  .product-detail-grid { grid-template-columns:1fr; }
  .product-buy-panel { position:static; }
  .product-story-section { grid-template-columns:1fr; gap:30px; padding:38px; }
  .product-related-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:680px) {
  .product-detail-header .topbar-inner { min-height:82px; }
  .product-contact-header { display:none; }
  .product-detail-shell { padding-top:18px; }
  .product-main-image-wrap { height:430px; border-radius:24px; }
  .product-main-image-wrap > img { padding:10px; }
  .product-gallery-arrow { width:42px; height:42px; font-size:31px; }
  .product-gallery-arrow-prev { left:10px; }
  .product-gallery-arrow-next { right:10px; }
  .product-buy-panel { padding:24px 20px; border-radius:25px; }
  .product-choice-grid, .product-story-copy dl, .product-related-grid { grid-template-columns:1fr; }
  .product-story-section { margin-top:50px; padding:28px 22px; border-radius:28px; }
  .product-related-head { align-items:flex-start; flex-direction:column; }
  .product-related-card > div { height:300px; }
}
