@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Josefin+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --color-primary: #78716C;
  --color-secondary: #A8A29E;
  --color-accent: #B8860B;
  --color-background: #FAF5F2;
  --color-surface: #FFFFFF;
  --color-foreground: #201C19;
  --color-muted: #F6F6F4;
  --color-border: #E4DFDA;
  --font-display: 'Cinzel', serif;
  --font-body: 'Josefin Sans', sans-serif;
  --max-width: 1360px;
  --transition: 400ms cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--color-accent);
  font-weight: 600;
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  margin-top: 10px;
}

.section-lede {
  max-width: 620px;
  color: var(--color-primary);
  font-size: 1.05rem;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border: 1px solid var(--color-foreground);
  font-family: var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: var(--color-foreground);
  transition: background var(--transition), color var(--transition);
}
.btn:hover { background: var(--color-foreground); color: var(--color-background); }

.btn-gold {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.btn-gold:hover { background: var(--color-accent); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  background: rgba(250, 245, 242, 0.0);
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(250, 245, 242, 0.94);
  backdrop-filter: blur(10px);
  padding: 14px 40px;
  box-shadow: 0 1px 0 var(--color-border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo svg { width: 34px; height: 34px; flex-shrink: 0; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  line-height: 1.1;
}
.logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-top: 3px;
}

.site-header.light-mode .logo,
.site-header.light-mode .nav-link { color: #fff; }
.site-header.light-mode .logo-text small { color: #E8C874; }
.site-header.scrolled.light-mode { color: inherit; }
.site-header.scrolled .logo, .site-header.scrolled .nav-link { color: var(--color-foreground); }
.site-header.scrolled .logo-text small { color: var(--color-accent); }

.main-nav { display: flex; align-items: center; gap: 38px; }
.nav-link {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0%; height: 1px;
  background: var(--color-accent);
  transition: width var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 600;
  color: var(--color-foreground);
}
.nav-toggle span { width: 26px; height: 1px; background: currentColor; }
.site-header.light-mode .nav-toggle { color: #fff; }
.site-header.scrolled .nav-toggle { color: var(--color-foreground); }

@media (max-width: 1100px) {
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--color-background);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transform: translateY(-100%);
    transition: transform 500ms cubic-bezier(.4,0,.2,1);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav .nav-link { font-size: 1rem; color: var(--color-foreground) !important; }
  .nav-toggle { display: flex; }
  .site-header { padding: 18px 24px; }
}


/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  color: #fff;
}

/* Two-state system */
.hero-state {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.1s cubic-bezier(.4,0,.2,1);
}
.hero-state.active {
  opacity: 1;
  pointer-events: all;
}

.hero-state .hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,8,6,.18) 0%, rgba(10,8,6,.1) 40%, rgba(10,8,6,.72) 100%);
  z-index: 1;
}
.hero-scrim--light {
  background: linear-gradient(180deg, rgba(10,8,6,.35) 0%, rgba(10,8,6,.08) 55%, rgba(10,8,6,.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 40px 90px;
  max-width: 900px;
}
.hero-content .eyebrow { color: #E8C874; }
.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  margin-top: 14px;
  color: #fff;
}
.hero-content p {
  margin-top: 22px;
  max-width: 540px;
  font-size: 1.05rem;
  color: #EFE9E4;
}

/* Enter / Back buttons */
.enter-btn {
  position: absolute;
  bottom: 52px;
  right: 48px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 300ms ease, border-color 300ms ease, gap 300ms ease;
  animation: enterAppear 1s ease forwards 0.4s;
  opacity: 0;
}
.enter-btn svg { width: 18px; height: 18px; transition: transform 300ms ease; }
.enter-btn:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.85);
  gap: 18px;
}

@media (max-width: 700px) {
  .hero-scrim { background: linear-gradient(180deg, rgba(10,8,6,.18) 0%, rgba(10,8,6,.1) 35%, rgba(10,8,6,.6) 100%); }
  .hero-content { padding: 0 24px 150px; }
  .enter-btn { bottom: 28px; left: 24px; right: 24px; justify-content: center; }
}
.enter-btn:hover svg { transform: translateX(3px); }
@keyframes enterAppear { to { opacity: 1; } }

.back-btn {
  position: absolute;
  top: 100px;
  left: 40px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(10,8,6,0.45);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 10px 18px;
  transition: background 250ms ease, color 250ms ease;
}
.back-btn svg { width: 16px; height: 16px; }
.back-btn:hover { background: rgba(10,8,6,0.7); color: #fff; }

/* ---------- Split-screen interior ---------- */
.split-hero {
  position: absolute;
  inset: 0;
  display: flex;
}

.split-panel {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
}

.split-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform: scale(1.04);
  transition: transform 800ms cubic-bezier(.4,0,.2,1);
  z-index: 0;
}
.split-panel:hover .split-bg { transform: scale(1.1); }

.split-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,8,6,0.08) 0%, rgba(10,8,6,0.55) 60%, rgba(10,8,6,0.78) 100%);
  transition: background 500ms ease;
  z-index: 1;
}
.split-panel:hover .split-overlay {
  background: linear-gradient(180deg, rgba(10,8,6,0.18) 0%, rgba(10,8,6,0.65) 60%, rgba(10,8,6,0.85) 100%);
}

.split-sep {
  position: absolute;
  left: 50%;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: rgba(255,255,255,0.18);
  z-index: 20;
  pointer-events: none;
}

.split-pin {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 400ms ease;
}
.split-panel:hover .split-pin { opacity: 0.6; }

.split-label {
  position: relative;
  z-index: 5;
  padding: 0 44px 52px;
  color: #fff;
  transform: translateY(14px);
  transition: transform 500ms cubic-bezier(.4,0,.2,1);
}
.split-panel:hover .split-label { transform: translateY(0); }

.split-label .eyebrow { color: #E8C874; }
.split-label h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: #fff;
  margin-top: 10px;
  font-weight: 500;
}
.split-sub {
  margin-top: 10px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.58);
  letter-spacing: 0.05em;
}
.split-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #E8C874;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 350ms ease 80ms, transform 350ms ease 80ms;
}
.split-panel:hover .split-cta { opacity: 1; transform: translateY(0); }
.split-cta svg { width: 15px; height: 15px; }

@media (max-width: 680px) {
  .split-hero { flex-direction: column; }
  .split-sep {
    top: 50%; bottom: auto;
    left: 12%; right: 12%;
    width: auto; height: 1px;
  }
  .split-label { padding: 0 28px 36px; }
}

.page-hero {
  position: relative;
  height: 52vh;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  padding: 0;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: -2; }
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,12,10,.25), rgba(15,12,10,.6));
  z-index: -1;
}
.page-hero-content { padding: 0 40px 50px; }
.page-hero-content h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); margin-top: 12px; }

/* ---------- Sections ---------- */
section { padding: 100px 0; }
.section-alt { background: var(--color-muted); }
.section-head { text-align: center; margin-bottom: 60px; }
.section-head .section-lede { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Intro brand block ---------- */
.brand-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.brand-block img { width: 100%; height: 560px; object-fit: cover; object-position: center 20%; }
.brand-block p { color: var(--color-primary); margin-top: 20px; font-size: 1.02rem; }
.brand-block p + p { margin-top: 14px; }
@media (max-width: 860px) {
  .brand-block { grid-template-columns: 1fr; gap: 34px; }
  .brand-block img { height: 360px; }
}
.brand-block--text { grid-template-columns: 1fr; }
.brand-block--text > div { max-width: 860px; margin: 0 auto; }

/* ---------- Universe / category cards ---------- */
.universe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--color-border);
}
.universe-card {
  position: relative;
  background: var(--color-foreground);
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
}
.universe-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 700ms ease, opacity var(--transition); opacity: .78; }
.universe-card:hover img { transform: scale(1.06); opacity: 1; }
.universe-card .label {
  position: absolute; inset: auto 0 0 0;
  padding: 26px 22px;
  color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,.65), transparent);
}
.universe-card .label .eyebrow { color: #E8C874; }
.universe-card .label h3 { color: #fff; font-size: 1.3rem; margin-top: 6px; }
@media (max-width: 900px) {
  .universe-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.product-card { background: #F7F2ED; display: flex; flex-direction: column; height: 100%; }
.product-card .thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform: scale(1.02); }
.product-card .thumb .img-alt { position: absolute; inset: 0; object-position: center; opacity: 0; transition: opacity 800ms ease; }
.product-card .thumb:hover .img-alt { opacity: 1; }
.product-card .info { padding: 22px 4px; display: flex; flex-direction: column; flex: 1; }
.product-card .info .eyebrow { color: var(--color-secondary); }
.product-card .info h3 { font-size: 1.25rem; margin-top: 6px; }
.product-card .info .meta { margin-top: 10px; font-size: 0.85rem; color: var(--color-primary); min-height: 7.9rem; }
.product-card .info .meta span { display: block; margin-top: 4px; }
.product-card .tags { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; align-content: flex-start; min-height: 4.9rem; }
.product-card .tags span {
  font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--color-border); padding: 5px 10px; color: var(--color-primary);
}
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; } }

/* ---------- Process grid (numbered steps, no image) ---------- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.process-card { background: var(--color-surface); border-top: 2px solid var(--color-accent); padding: 44px 36px; }
.process-card .process-number { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--color-accent); opacity: 0.55; margin-bottom: 18px; }
.process-card .eyebrow { margin-top: 0; }
.process-card h3 { font-size: 1.25rem; margin-top: 8px; }
.process-card .meta { margin-top: 12px; font-size: 0.9rem; color: var(--color-primary); }
@media (max-width: 980px) { .process-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; } }
@media (max-width: 620px) { .process-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; } }

/* ---------- Sub nav (anchor pills) ---------- */
.subnav {
  position: sticky;
  top: 64px;
  z-index: 100;
  background: rgba(250,245,242,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
}
.subnav .container { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; }
.subnav a {
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-primary); padding-bottom: 4px; border-bottom: 1px solid transparent;
}
.subnav a:hover, .subnav a.active { color: var(--color-foreground); border-color: var(--color-accent); }

/* ---------- Placeholder blocks ---------- */
.placeholder-block {
  border: 1px dashed var(--color-secondary);
  padding: 60px 30px;
  text-align: center;
  color: var(--color-primary);
  background: var(--color-surface);
}
.placeholder-block .eyebrow { color: var(--color-secondary); }
.placeholder-block h3 { margin-top: 12px; font-size: 1.3rem; }
.placeholder-block p { margin-top: 12px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ---------- Sanitaires category list ---------- */
.sani-category { margin-bottom: 90px; }
.sani-category:last-child { margin-bottom: 0; }
.sani-category .cat-head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--color-border); padding-bottom: 18px; margin-bottom: 40px; flex-wrap: wrap; gap: 10px; }
.sani-category .cat-head h2 { font-size: 1.7rem; }
.sani-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.sani-item { background: #F7F2ED; }
.sani-item .ph-frame {
  aspect-ratio: 1/1; background: var(--color-muted); border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.sani-item .ph-frame svg { width: 46px; height: 46px; color: var(--color-secondary); }
.sani-item .thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.sani-item .thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.sani-item .thumb .img-alt { position: absolute; inset: 0; opacity: 0; transition: opacity 800ms ease; }
.sani-item .thumb:hover .img-alt { opacity: 1; }
.sani-item .info { padding: 22px 24px 26px; }
.sani-item h4 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; }
.sani-item p { font-size: 0.88rem; color: var(--color-primary); margin-top: 8px; }
@media (max-width: 980px) { .sani-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .sani-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #1B1714; color: #D8D2CC; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px; }
.footer-grid h5 { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.75rem; color: #E8C874; margin-bottom: 20px; }
.footer-grid .logo-text { color: #fff; }
.footer-grid p { font-size: 0.9rem; color: #B4ACA3; margin-top: 14px; max-width: 280px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-grid a { font-size: 0.9rem; color: #D8D2CC; }
.footer-grid a:hover { color: #E8C874; }
.footer-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid #35302B; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.78rem; color: #8B8279; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Contact form ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.contact-info .info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--color-border); }
.contact-info .info-row svg { width: 22px; height: 22px; color: var(--color-accent); flex-shrink: 0; }
.contact-info .info-row .value { color: var(--color-primary); margin-top: 4px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; color: var(--color-primary); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--color-border);
  background: var(--color-surface); font-family: var(--font-body); font-size: 0.95rem;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: 1px solid var(--color-accent); border-color: var(--color-accent); }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Interactive hotspots ---------- */

.hero-hotspots {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.hotspot {
  position: absolute;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transform: translate(-50%, -50%);
  pointer-events: all;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotspot-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #E8C874;
  border: 2px solid rgba(255,255,255,0.9);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: transform 300ms ease, background 300ms ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hotspot:hover .hotspot-dot,
.hotspot:focus .hotspot-dot {
  transform: scale(1.25);
  background: #fff;
}

.hotspot-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1.5px solid rgba(232,200,116,0.7);
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 1;
  animation: hotspotPulse 2.2s ease-out infinite;
  pointer-events: none;
}
.hotspot:nth-child(2) .hotspot-ring { animation-delay: 1.1s; }

@keyframes hotspotPulse {
  0%   { transform: translate(-50%,-50%) scale(0.5); opacity: 0.9; }
  100% { transform: translate(-50%,-50%) scale(2);   opacity: 0; }
}

.hotspot-tip {
  position: absolute;
  bottom: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(15,12,10,0.9);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 14px 20px 16px;
  min-width: 170px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  border: 1px solid rgba(232,200,116,0.25);
  white-space: nowrap;
}
.hotspot-tip::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(15,12,10,0.9);
}
.hotspot-tip.tip-left {
  left: auto;
  right: 0;
  transform: translateX(0) translateY(6px);
}
.hotspot-tip.tip-left::after {
  left: auto;
  right: 20px;
  transform: none;
}
.hotspot:hover .hotspot-tip,
.hotspot:focus .hotspot-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.hotspot:hover .hotspot-tip.tip-left,
.hotspot:focus .hotspot-tip.tip-left {
  transform: translateX(0) translateY(0);
}
.hotspot-tip .eyebrow { color: #E8C874 !important; font-size: 0.62rem; }
.hotspot-tip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 5px 0 8px;
  color: #fff;
}
.hotspot-tip .link-hint {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #E8C874;
}


/* ---------- Fade-in on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 900ms ease, transform 900ms ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 120px 0;
  margin-top: 50px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; z-index: -2; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: rgba(15,12,10,.6); z-index: -1; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.cta-band p { color: #EFE9E4; max-width: 520px; margin: 18px auto 0; }
.cta-band .btn { margin-top: 34px; border-color: #fff; color: #fff; }
.cta-band .btn:hover { background: #fff; color: var(--color-foreground); }

/* ---------- Réalisations gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery-item {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  background: var(--color-muted);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 700ms ease;
}
.gallery-item:hover img { transform: scale(1.09); }
.gallery-item.wide { grid-column: span 2; aspect-ratio: 8/5; }
@media (max-width: 980px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 2; }
}
@media (max-width: 620px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; aspect-ratio: 3/4; }
}

/* ---------- Section Sur Mesure (index) ---------- */
.section-sur-mesure {
  background: #120F0C;
  padding: 100px 0;
}
.section-sur-mesure .section-head { margin-bottom: 52px; }

.planches-cta-wrap {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.planches-cta {
  border-color: rgba(255,255,255,0.3);
  color: #EFE9E4;
}
.planches-cta:hover {
  background: #EFE9E4;
  color: #120F0C;
  border-color: #EFE9E4;
}

/* ---------- Planche sur mesure — style catalogue ---------- */
.planche-spread {
  display: grid;
  grid-template-columns: 2fr 3fr;
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.section-sur-mesure .planche-spread {
  border-color: rgba(255,255,255,0.06);
}
.section-sur-mesure .planche-spread + .planche-spread {
  margin-top: 2px;
  border-top: none;
}

.planche-spread--reverse {
  grid-template-columns: 3fr 2fr;
}
.planche-spread--reverse .planche-spread-left { order: 2; }
.planche-spread--reverse .planche-spread-right { order: 1; }

.planche-spread-left {
  background: #1B1714;
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
}

.planche-spread-header {
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.planche-spread-header .eyebrow { color: #E8C874; }
.planche-spread-header h3 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.22rem;
  margin-top: 10px;
  font-weight: 500;
}
.planche-spread-desc {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  margin-top: 10px;
  line-height: 1.8;
}

.planche-swatch-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.planche-swatch-item {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.planche-swatch-item:last-child { border-bottom: none; padding-bottom: 0; }

.planche-swatch-img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  display: block;
  margin-bottom: 10px;
}

.planche-swatch-name {
  font-family: var(--font-display);
  color: #EFE9E4;
  font-size: 0.9rem;
  font-weight: 500;
}

.planche-swatch-spec {
  font-size: 0.66rem;
  color: rgba(255,255,255,0.34);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.9;
  margin-top: 5px;
}

.planche-spread-right {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}
.planche-spread-right > img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 900ms cubic-bezier(.4,0,.2,1);
}
.planche-spread:hover .planche-spread-right > img { transform: scale(1.04); }

.planche-spread-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 24px 18px;
  background: linear-gradient(0deg, rgba(12,9,7,.7) 0%, transparent 100%);
  color: rgba(255,255,255,.52);
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Planche on light background (carrelage/sanitaires pages) */
.section-alt .planche-spread { border-color: var(--color-border); }
.planche-spread-light .planche-spread-right { min-height: 400px; }

@media (max-width: 920px) {
  .planche-spread,
  .planche-spread--reverse { grid-template-columns: 1fr; }
  .planche-spread--reverse .planche-spread-left { order: unset; }
  .planche-spread--reverse .planche-spread-right { order: unset; }
  .planche-spread-right { min-height: 280px; }
  .planche-spread-left { padding: 28px 22px; }
}

