:root {
  --green: #073e2a;
  --ink: #102a20;
  --orange: #ed5907;
  --line: #dce3de;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 12px; }
body { margin: 0; background: white; }
a { text-decoration: none; color: inherit; }
button, input, select { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button { border: 0; background: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #ba4805; outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(1240px, 92%); margin-inline: auto; }
.skip { position: absolute; top: -80px; left: 10px; background: white; padding: 12px; z-index: 2; }
.skip:focus { top: 6px; }
.head { display: grid; grid-template-columns: auto minmax(160px, 1fr) auto; gap: clamp(20px, 4vw, 66px); align-items: center; padding-block: 25px; }
.identity, .phone { display: flex; align-items: center; gap: 13px; color: var(--green); }
.identity strong { font: 900 clamp(36px, 4.3vw, 64px)/1 Arial,sans-serif; letter-spacing: -.075em; }
.identity strong span { color: var(--orange); }
.identity small { padding-left: 13px; border-left: 1px solid #a0afa7; font-size: 13px; font-weight: 600; line-height: 1.35; }
.phone { font-weight: 750; font-size: 18px; }
.phone small { display: block; font-size: 12px; margin-bottom: 2px; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; width: 23px; height: 23px; }
#searchForm { display: flex; align-items: center; border: 1.5px solid var(--green); border-radius: 32px; overflow: hidden; }
#searchForm:focus-within { outline: 2px solid var(--orange); outline-offset: 2px; }
#searchForm button { width: 52px; height: 46px; display: grid; place-items: center; flex-shrink: 0; }
#searchInput { border: 0; outline: none; width: 100%; min-width: 0; padding: 12px 16px 12px 0; font-size: 16px; background: transparent; }
.nav { border-block: 1px solid var(--line); }
.nav .wrap, .rounds { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.category-card { font-weight: 700; }
.category-card:hover, .category-card.active { color: #a23c05; }
.nav button { min-height: 48px; display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 15px; }
.nav button + button { border-left: 1px solid #eef1ef; }
.hero { background: #f7f7f6; overflow: hidden; }
.scene { display: grid; grid-template-columns: 40% 60%; align-items: center; }
.intro { padding-block: 38px; z-index: 1; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(46px, 5.3vw, 78px); line-height: .99; letter-spacing: -.062em; }
h1 em { position: relative; display: inline-block; font-size: 1.08em; font-style: normal; padding-bottom: .19em; }
h1 em .headline-stroke {
  position: absolute; left: 0; bottom: 0;
  display: block; width: 100%; height: .22em;
  fill: var(--orange); stroke: none; pointer-events: none;
}
.intro p { max-width: 370px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.5; margin: 24px 0; }
.action { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; border-radius: 32px; color: white; background: #c74700; padding: 12px 25px; font-weight: 750; }
.action:hover { background: #ab3800; }
.hero-img { width: 100%; height: auto; display: block; align-self: end; mask-image: linear-gradient(to right, transparent, black 9%); }
.rounds { gap: clamp(12px, 2.8vw, 42px); padding-block: 24px 31px; }
.rounds button { padding: 0; display: grid; justify-items: center; gap: 10px; font-size: 16px; }
.rounds img { display: block; width: min(100%, 148px); height: auto; border-radius: 50%; transition: transform .18s ease; }
.rounds button:hover img { transform: translateY(-2px); }
.rounds button.active img { outline: 3px solid var(--orange); outline-offset: 2px; }
.catalogue { background: #f4f5f4; padding: 30px 0 35px; }
.section-head, .status, footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
h2 { font-size: clamp(23px, 2.4vw, 34px); letter-spacing: -.045em; }
.section-head h2 { border-left: 6px solid var(--orange); padding-left: 14px; }
select { max-width: 100%; border: 1px solid var(--line); border-radius: 24px; background: white; padding: 9px 14px; min-height: 44px; font-size: 14px; }
.status { color: #53655b; font-size: 13px; margin: 9px 0 12px; }
#resetFilters { text-decoration: underline; padding: 8px; }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.product-card { border-radius: 14px; background: white; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 3px 14px #123c2310; }
/* Square catalogue photos, independent of the round category navigation. */
.product-img {
  position: relative;
  flex: none;
  aspect-ratio: 1;
  background: #f3f3ef;
  isolation: isolate;
}
.product-img img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-img img[src$="/logo-gmb.webp"] { object-fit: contain; padding: 8%; }
.product-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 16px; }
.product-body h3 { font-size: 18px; line-height: 1.25; letter-spacing: -.025em; }
.product-body p { color: #53655b; font-size: 14px; line-height: 1.45; margin: 7px 0 14px; }
.price { margin-top: auto; font-size: 14px; padding: 4px 11px; font-weight: 700; border-radius: 18px; background: #e6f0e7; }
.product-contact { display: grid; place-items: center; min-height: 44px; border: 1px solid var(--green); color: var(--green); border-radius: 24px; width: 100%; font-size: 14px; font-weight: 700; margin-top: 12px; }
.product-contact:hover { background: #eef5ee; }
#emptyState { background: white; border-radius: 12px; padding: 24px; }
#emptyState a { display: inline-block; margin-top: 12px; color: var(--green); text-decoration: underline; }
.contact { background: var(--green); color: white; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px clamp(20px,4vw,55px); border-radius: 16px; margin-block: 24px; }
.contact p { color: #e0ece4; margin-top: 5px; }
footer { border-top: 1px solid var(--line); padding-block: 18px; font-size: 14px; }
@media (max-width: 920px) {
  .head { gap: 18px; }
  .identity small { display: none; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nav button { font-size: 13px; gap: 5px; }
}
@media (max-width: 650px) {
  .head { grid-template-columns: auto 1fr; gap: 12px; padding-block: 14px; }
  .identity small { display: block; font-size: 10px; padding-left: 8px; }
  .identity { gap: 8px; }
  .phone { justify-self: end; font-size: 14px; gap: 6px; }
  .phone small { font-size: 11px; }
  .phone svg { width: 16px; }
  #searchForm { grid-row: 2; grid-column: 1 / -1; }
  .nav { display: none; }
  .scene { grid-template-columns: 1fr; }
  .intro { padding: 28px 0 0; }
  h1 { font-size: clamp(44px,10vw,61px); }
  .intro p { margin: 16px 0; max-width: 420px; }
  .hero-img { width: min(100%,470px); justify-self: center; margin-top: 10px; mask-image: none; }
  .rounds { grid-template-columns: repeat(3,minmax(0,1fr)); padding-block: 20px; gap: 16px 12px; }
  .rounds img { width: min(100%,90px); }
  .rounds button { font-size: 14px; gap: 5px; }
  .catalogue { padding-block: 22px; }
  .section-head { align-items: flex-start; flex-wrap: wrap; }
  .product-grid { gap: 10px; }
  .product-body { padding: 12px; }
  .product-body h3 { font-size: 16px; }
  .product-body p { font-size: 13px; }
  .contact { flex-direction: column; align-items: flex-start; gap: 15px; }
  footer { flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .identity small { display: none; }
  .product-contact, .price { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .rounds img { transition: none; }
}

.brand-mark { width: clamp(40px, 4.3vw, 62px); height: auto; object-fit: contain; }
.identity { gap: 9px; }
.identity strong { font-size: clamp(34px, 3.5vw, 53px); }
.hero { background: radial-gradient(ellipse at 75% 65%, #e9ebe3, #f8f8f5 57%, #fff 90%); }
.scene { grid-template-columns: 46% 54%; }
.hero-img { justify-self: center; align-self: center; width: 100%; height: clamp(320px, 33vw, 475px); padding: 16px 8px; object-fit: contain; mask-image: none; filter: drop-shadow(0 9px 6px #31473516); }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; }
.footer-brand img { object-fit: contain; }

@media (max-width: 650px) {
  .identity small { display: none; }
  .brand-mark { width: 36px; }
  .scene { grid-template-columns: 1fr; }
  .hero-img { height: clamp(220px, 67vw, 340px); padding: 0 0 10px; }
}

.catalog-controls, .quote-footer { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.quote-link, .add-quote {
  min-height: 44px; padding: 8px 15px; border-radius: 24px;
  color: var(--green); font-weight: 650; font-size: 14px;
}
.quote-link { background: white; border: 1px solid var(--line); }
.intro .quote-link { margin: 8px 0 0 3px; }
.quote-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 20px; background: #e7efe9; }
.add-quote { background: var(--green); color: white; width: 100%; margin-top: 15px; }
.add-quote:hover { background: #18513a; }
.product-contact { border: 0; margin: 2px 0 0; min-height: 38px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#quoteDialog {
  border: 0; color: var(--ink); padding: clamp(18px, 4vw, 32px); border-radius: 18px;
  width: min(560px,calc(100% - 24px)); max-height: 86vh; max-height: 86dvh;
  box-shadow: 0 25px 90px #10291d38; box-sizing: border-box;
}
#quoteDialog::backdrop { background: #10271f87; }
.quote-heading { display: flex; align-items: center; justify-content: space-between; }
#closeQuote { width: 44px; height: 44px; font-size: 26px; border-radius: 50%; background: #f1f4f2; }
#quoteHelp, #quoteEmpty { margin-block: 15px; line-height: 1.5; color: #4b6055; }
#quoteItems { list-style: none; margin: 0; padding: 0; }
#quoteItems li { display: grid; grid-template-columns: minmax(0,1fr) 72px auto; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
#quoteItems input { width: 100%; padding: 8px; min-height: 44px; border: 1px solid #a4b6a9; border-radius: 6px; }
#quoteItems button { min-height: 44px; text-decoration: underline; font-size: 14px; }
.quote-footer { justify-content: space-between; margin-top: 18px; }
@media(max-width:450px) {
  #quoteItems li { grid-template-columns: 1fr 76px; }
  #quoteItems li button { grid-row: 2; grid-column: 1; padding: 0; justify-self: start; }
  .quote-footer > * { width: 100%; text-align: center; }
}


/* Rotating product display */
.hero {
  background: radial-gradient(ellipse at 83% 53%, #e6ecdf, transparent 53%),
    linear-gradient(112deg, #fff 15%, #fcfaf3 96%);
  border-bottom: 1px solid var(--line);
}
.showcase { min-width: 0; padding-block: 12px 16px; }
.showcase-stage { height: clamp(280px, 30vw, 410px); }
.showcase-slide { margin: 0; height: 100%; }
.showcase-slide img {
  display: block; height: 100%; width: 100%; object-fit: contain;
  margin: 0; padding: 12px;
}
.nav button.active { box-shadow: inset 0 -3px var(--orange); }
.rounds { padding-block: clamp(20px, 3vw, 40px); }
.action-arrow { margin-left: 10px; }
.catalogue { background: #f1f4ee; }
.product-card { border: 1px solid #e0e5db; }
.product-img { overflow: hidden; border-bottom: 1px solid #edf0e9; }
.contact { background: repeating-linear-gradient(128deg, transparent 0 26px, #ffffff08 27px 28px) right / 36% 100% no-repeat, linear-gradient(110deg,#073e2a,#165039); }
.quote-product { display: flex; align-items: center; gap: 10px; min-width: 0; }
.quote-product img { flex: none; width: 46px; height: 46px; border-radius: 8px; object-fit: cover; }
.quote-product strong { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 650px) {
  .showcase { padding: 8px 0 14px; }
  .showcase-stage { height: clamp(195px, 55vw, 285px); }
}
@media (max-width: 390px) {
  .quote-product { gap: 6px; }
  .quote-product img { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: no-preference) {
  .intro { animation: enter-up .5s ease-out both; }
  .headline-stroke { animation: underline-in .8s .2s both; }
  .showcase-slide:not([hidden]) { animation: enter-up .55s ease-out both; }
  #quoteDialog[open] { animation: enter-up .22s ease-out both; }
  .action-arrow, .product-card, .product-img img { transition: transform .24s ease, box-shadow .24s ease; }
  @media (hover: hover) {
    .action:hover .action-arrow { transform: translateX(3px); }
    .product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px #183b2419; }
    .product-card:hover .product-img img { transform: scale(1.025); }
    .rounds button:hover img { transform: translateY(-4px) scale(1.035); }
  }
  @supports (animation-timeline: view()) {
    .product-card { animation: card-in linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
}
@keyframes enter-up { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@keyframes underline-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes card-in { from { opacity: .8; translate: 0 8px; } to { opacity: 1; translate: 0; } }

.brand-band {
  background: linear-gradient(110deg, #10382d, #174839 50%, #10382d);
  box-shadow: inset 0 1px #ffffff22, inset 0 -1px #082f26;
  padding-block: 5px;
}
.brand-window {
  overflow: hidden;
  mix-blend-mode: screen;
  --fade: clamp(25px, 5vw, 72px);
  mask-image: linear-gradient(to right, transparent, black var(--fade), black calc(100% - var(--fade)), transparent);
}
.brand-track { display: flex; width: max-content; }
.brand-group {
  --gap: clamp(34px, 3.6vw, 54px);
  display: flex; flex: none; align-items: center; justify-content: space-around;
  min-width: min(1240px, 92vw); gap: var(--gap); min-height: 44px;
  margin: 0; padding: 0 calc(var(--gap) / 2); list-style: none;
}
.brand-group li { flex: none; }
.brand-group img {
  display: block; width: auto; height: calc(var(--mark-height, 34px) * .76);
  filter: grayscale(1) invert(1) brightness(2.5) contrast(1.15);
}
.brand-group .logo-colorado, .brand-group .logo-super-cerame { --mark-height: 53px; }
.brand-group .logo-dimatit { --mark-height: 48px; }
.brand-group .logo-cimat, .brand-group .logo-afrique-cables { --mark-height: 40px; }
.brand-group .logo-facop { --mark-height: 26px; }
.brand-group .logo-ingelec { --mark-height: 29px; }
.brand-group .logo-schneider, .brand-group .logo-nexans { --mark-height: 32px; }
.brand-group .logo-legrand, .brand-group .logo-odassia { --mark-height: 28px; }
.brand-group .logo-hager { --mark-height: 32px; }
.brand-group .logo-grohe, .brand-group .logo-roca { --mark-height: 40px; }
.brand-group .logo-astral { --mark-height: 44px; }
 .brand-band > .wrap { display: flex; align-items: center; gap: 8px; }
.brand-window { flex: 1; min-width: 0; }
.brand-track { animation: marques-defilement 60s linear infinite; }
@keyframes marques-defilement { to { transform: translateX(-50%); } }

/* Soft highlights keep the controls readable over the storefront. */
#searchForm, .quote-link {
  background: linear-gradient(155deg, #fff, #f2f7f3 64%, #fff);
  border-color: #839d91;
  box-shadow: inset 0 1px 1px white, 0 2px 8px #14382a0e;
}
#quoteDialog {
  background: #fafcf9;
  border: 1px solid #ffffffd1;
  box-shadow: inset 0 1px white, 0 24px 70px #08271d42;
}
@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  #quoteDialog {
    background: linear-gradient(135deg, #ffffffed, #f3f9f2db 74%, #ffffffed);
    -webkit-backdrop-filter: blur(14px) saturate(115%);
    backdrop-filter: blur(14px) saturate(115%);
  }
}

/* Ajustements du catalogue d’origine. */
.search-feedback { margin-block: 0 8px; font-size: .875rem; color: var(--green); }
.showcase { position: relative; }
.showcase-controls { position: absolute; right: 0; bottom: 4px; display: flex;
  border: 1px solid var(--line); border-radius: 24px; background: #fff; overflow: hidden; }
.showcase-controls button { min-width: 40px; min-height: 40px; background: transparent; color: var(--green); font-size: 1.2rem; }
.showcase-controls button:hover, .showcase-controls button:focus-visible { background: #e8f1e9; }
.showcase-controls button:focus-visible { outline-offset: -3px; }
.showcase-controls[hidden], .showcase-controls button[hidden] { display: none; }
#quoteDialog { overscroll-behavior: contain; }
.quote-quantity { display: grid; gap: 3px; color: var(--green); font-size: .78rem; }
.quote-quantity input { font-size: 1rem; }

.product-body { display: flex; flex-direction: column; flex: 1; }
.product-body .price { margin-top: auto; padding-top: 8px; }
.product-card:not([hidden]) { display: flex; flex-direction: column; }
@media(max-width: 400px) {
  .catalog-controls { width: 100%; }
  .catalog-controls select { min-width: 0; max-width: 100%; }
  .product-body { padding: 10px; }
  .showcase-controls button { min-height: 44px; min-width: 44px; }
}

/* Imported catalogue assets */
.product-img img[src*="/plomberie-photos/"] {object-fit:contain;background:#fff;padding:8px;}
.photo-unavailable{display:grid;place-items:center;min-height:140px;color:#66776d;background:#f2f5f2;font-size:.9rem;width:100%;}

.product-card .product-img img {
  box-sizing: border-box;
  object-fit: contain;
  object-position: center;
  padding: 12%;
}
.product-card:hover .product-img img { transform: none; }
