/* DH Salon Design — Agencement & Mobilier landing
   Commercial & punchy, dark luxe salon-industry feel */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

:root {
  --ink: #0e0e0e;
  --ink-2: #1a1a1a;
  --ink-3: #2a2a2a;
  --bone: #f4f0e8;
  --bone-2: #ebe5d8;
  --paper: #ffffff;
  --accent: #c8102e;       /* DH red */
  --accent-2: #a30b25;
  --brass: #b89060;
  --whatsapp: #25d366;
  --whatsapp-d: #128c7e;
  --line: rgba(255,255,255,0.12);
  --line-d: rgba(0,0,0,0.1);
  --container: 1400px;
  --pad-x: clamp(20px, 4vw, 64px);
  --r: 0;
  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Archivo', system-ui, -apple-system, sans-serif;
}

html, body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

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

/* ========== language visibility ========== */
[data-lang]:not(.lang-on) { display: none !important; }

/* ========== Header ========== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding: 14px var(--pad-x);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav { justify-self: center; }
.site-header.scrolled {
  background: rgba(14,14,14,0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--bone);
  text-decoration: none;
  background: var(--bone);
  padding: 8px 14px;
  border-radius: 10px;
  flex-shrink: 0;
  min-width: max-content; /* prevent grid from squishing logo column */
}
.brand-logo {
  height: 38px;
  width: auto;
  display: block;
}
.brand-footer { padding: 10px 16px; }
.brand-footer .brand-logo { height: 42px; }
.footer-tag {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,240,232,0.5);
}
@media (max-width: 900px) {
  .brand { padding: 6px 10px; }
  .brand-logo { height: 32px; }
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(244,240,232,0.78);
  transition: color .2s;
  position: relative;
  padding: 6px 0;
}
.nav a:hover { color: var(--bone); }
.nav a.active { color: var(--bone); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--accent);
}

.header-cta { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.lang-switch button {
  padding: 8px 12px;
  color: rgba(244,240,232,0.6);
  transition: background .15s, color .15s;
  text-transform: uppercase;
}
.lang-switch button.is-active { background: var(--bone); color: var(--ink); }
.lang-switch button:hover:not(.is-active) { color: var(--bone); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: var(--paper); }
.btn-primary:hover { background: var(--accent-2); }
.btn-wa { background: var(--whatsapp); color: #052e1d; }
.btn-wa:hover { background: var(--whatsapp-d); color: #fff; }
.btn-ghost { background: transparent; color: var(--bone); border: 1px solid rgba(244,240,232,0.3); }
.btn-ghost:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn-dark { background: var(--ink); color: var(--bone); }
.btn-dark:hover { background: var(--ink-2); }
.btn-lg { padding: 18px 30px; font-size: 15px; }
.btn .ico { width: 18px; height: 18px; }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.62) contrast(1.05) saturate(0.95);
  transform: scale(1.04);
  animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.04) translate(0,0); }
  to { transform: scale(1.10) translate(-1.5%, -1%); }
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,14,14,0.55) 0%, rgba(14,14,14,0.05) 30%, rgba(14,14,14,0.0) 50%, rgba(14,14,14,0.85) 100%),
    linear-gradient(90deg, rgba(14,14,14,0.5) 0%, rgba(14,14,14,0) 60%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 140px var(--pad-x) 90px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border: 1px solid rgba(244,240,232,0.35);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
  background: rgba(14,14,14,0.25);
}
.hero-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(200,16,46,0.25);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(48px, 7.5vw, 116px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--bone);
  max-width: 14ch;
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 400;
  color: rgba(244,240,232,0.85);
  max-width: 56ch;
  margin-bottom: 40px;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero-meta {
  position: absolute;
  right: var(--pad-x);
  bottom: 90px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,240,232,0.7);
  text-align: right;
}
.hero-meta-row { display: flex; align-items: center; gap: 10px; }
.hero-meta-row::before {
  content: ""; width: 28px; height: 1px; background: rgba(244,240,232,0.5);
}

@media (max-width: 900px) {
  .hero-meta { display: none; }
}

/* ========== Section atoms ========== */
section { padding: 120px var(--pad-x); }
.section-inner { max-width: var(--container); margin: 0 auto; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow.on-light { color: var(--accent); }
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.section-title em { font-style: italic; font-weight: 400; }
.section-lede {
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.55;
  /* max-width: 60ch; */
  color: rgba(244,240,232,0.75);
}
.on-light .section-lede { color: rgba(14,14,14,0.7); }

/* ========== Partners ========== */
.partners {
  padding: 28px var(--pad-x);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
}
.partners-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.partners-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,240,232,0.5);
  font-weight: 600;
}
.partner-logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  color: rgba(244,240,232,0.8);
  letter-spacing: 0.02em;
  transition: color .2s;
}
.partner-logo.sans { font-family: var(--sans); font-style: normal; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-size: 14px; }
.partner-logo:hover { color: var(--bone); }

/* ========== Services pillars ========== */
.pillars { background: var(--bone); color: var(--ink); }
.pillars .section-lede { color: rgba(14,14,14,0.7); }
.pillars-grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.pillar {
  background: var(--paper);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: 360px auto;
}
.pillar-img {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
}
.pillar-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.6,.2,1);
}
.pillar:hover .pillar-img img { transform: scale(1.05); }
.pillar-tag {
  position: absolute; top: 20px; left: 20px;
  z-index: 5;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--bone);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.pillar-body { padding: 44px 40px 48px; }
.pillar-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.pillar-body p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(14,14,14,0.7);
  margin-bottom: 28px;
}
.pillar-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-bottom: 32px;
}
.pillar-list li {
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 22px;
  position: relative;
  font-weight: 500;
}
.pillar-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 12px; height: 1px; background: var(--accent);
}
.pillar-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 6px;
  transition: gap .2s ease;
}
.pillar-cta:hover { gap: 16px; }

@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { grid-template-rows: 260px auto; }
  .pillar-body { padding: 32px 24px 36px; }
}

/* ========== Process (visually integrated) ========== */
.process { background: var(--ink); color: var(--bone); position: relative; overflow: hidden; }
.process-grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-step {
  padding: 44px 24px 56px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background .3s ease;
  cursor: default;
}
.process-step:last-child { border-right: 0; }
.process-step:hover { background: var(--ink-2); }
.process-step::before {
  content: attr(data-num);
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 64px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 32px;
  opacity: 0.95;
  text-transform: uppercase;
}
.process-step h4 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.process-step p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(244,240,232,0.7);
}

@media (max-width: 1100px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .process-step:nth-child(even) { border-right: 0; }
}

/* ========== Stats / about ========== */
.stats { background: var(--bone); color: var(--ink); padding-top: 0; padding-bottom: 0; }
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-d);
}
.stat {
  padding: 60px 32px;
  border-right: 1px solid var(--line-d);
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(48px, 5vw, 84px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.stat-num em { font-style: italic; color: var(--accent); font-weight: 400; }
.stat-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(14,14,14,0.6);
  font-weight: 600;
}
@media (max-width: 900px) {
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: 0; }
}

/* ========== Gallery / Réalisations ========== */
.gallery { background: var(--ink); color: var(--bone); }
.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.6,.2,1), filter .4s ease;
  filter: brightness(0.92);
}
.gallery-item:hover img { transform: scale(1.05); filter: brightness(1); }
.gallery-item .cap {
  position: absolute;
  bottom: 16px; left: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone);
  background: rgba(14,14,14,0.55);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 4px;
}
/* layout: 12-col span pattern */
.g-1 { grid-column: span 7; grid-row: span 2; }
.g-2 { grid-column: span 5; grid-row: span 1; }
.g-3 { grid-column: span 5; grid-row: span 1; }
.g-4 { grid-column: span 4; grid-row: span 2; }
.g-5 { grid-column: span 4; grid-row: span 1; }
.g-6 { grid-column: span 4; grid-row: span 1; }
.g-7 { grid-column: span 8; grid-row: span 2; }
.g-8 { grid-column: span 4; grid-row: span 2; }

@media (max-width: 1000px) {
  .gallery-grid { grid-template-columns: repeat(6,1fr); grid-auto-rows: 160px; }
  .g-1, .g-7 { grid-column: span 6; }
  .g-2, .g-3, .g-4, .g-5, .g-6, .g-8 { grid-column: span 3; }
}

/* ========== Mobilier showcase strip ========== */
.mobilier { background: var(--bone-2); color: var(--ink); padding: 0; }
.mobilier-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: stretch;
  min-height: 640px;
}
.mobilier-text {
  padding: 100px var(--pad-x) 100px max(var(--pad-x), 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mobilier-text .eyebrow { color: var(--accent); }
.mobilier-text .section-title { color: var(--ink); }
.mobilier-text p {
  margin: 24px 0 36px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(14,14,14,0.7);
  max-width: 50ch;
}
.mobilier-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
  margin-bottom: 40px;
}
.mobilier-cat {
  border-top: 1px solid rgba(14,14,14,0.15);
  padding-top: 16px;
}
.mobilier-cat .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}
.mobilier-cat h5 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.mobilier-cat span.desc {
  font-size: 13px;
  color: rgba(14,14,14,0.6);
}
.mobilier-img {
  position: relative;
  background: var(--ink-2);
  overflow: hidden;
}
.mobilier-img img { width: 100%; height: 100%; object-fit: cover; }
.mobilier-img .badge {
  position: absolute; top: 28px; right: 28px;
  background: var(--ink);
  color: var(--bone);
  padding: 14px 20px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.mobilier-img .badge b { font-family: var(--sans); font-style: normal; font-weight: 800; font-size: 22px; display: block; letter-spacing: -0.01em; }

@media (max-width: 900px) {
  .mobilier-inner { grid-template-columns: 1fr; }
  .mobilier-img { min-height: 320px; }
  .mobilier-cats { grid-template-columns: 1fr; }
}

/* ========== Showroom CTA ========== */
.showroom {
  background: var(--ink);
  color: var(--bone);
  position: relative;
  overflow: hidden;
}
.showroom-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.showroom-img {
  position: relative;
  aspect-ratio: 5/4;
  overflow: hidden;
}
.showroom-img img { width: 100%; height: 100%; object-fit: cover; }
.showroom-text .section-title { margin-bottom: 28px; }
.showroom-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 36px 0 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.showroom-info dt {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244,240,232,0.5);
  margin-bottom: 8px;
  font-weight: 600;
}
.showroom-info dd {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.25;
}
.showroom-actions { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .showroom-grid { grid-template-columns: 1fr; }
}

/* ========== Final CTA ========== */
.final-cta {
  background: var(--accent);
  color: var(--paper);
  padding: 140px var(--pad-x);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before, .final-cta::after {
  content: ""; position: absolute;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  pointer-events: none;
}
.final-cta::before { width: 600px; height: 600px; top: -200px; left: -200px; }
.final-cta::after { width: 800px; height: 800px; bottom: -300px; right: -200px; }
.final-cta-inner { position: relative; max-width: 1100px; margin: 0 auto; }
.final-cta .eyebrow { color: rgba(255,255,255,0.85); }
.final-cta h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  text-wrap: balance;
}
.final-cta h2 em { font-style: italic; font-weight: 400; }
.final-cta p {
  font-size: 19px;
  line-height: 1.55;
  max-width: 60ch;
  margin: 0 auto 44px;
  color: rgba(255,255,255,0.92);
}
.final-cta-actions {
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.final-cta .btn-wa { background: var(--paper); color: var(--accent); }
.final-cta .btn-wa:hover { background: var(--ink); color: var(--paper); }
.final-cta .btn-ghost { color: var(--paper); border-color: rgba(255,255,255,0.5); }
.final-cta .btn-ghost:hover { background: var(--paper); color: var(--accent); border-color: var(--paper); }

/* ========== Footer ========== */
.footer {
  background: var(--ink);
  color: var(--bone);
  padding: 80px var(--pad-x) 32px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 64px 40px;
}
.footer-brand p {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(244,240,232,0.6);
  max-width: 38ch;
  line-height: 1.55;
}
.footer h6 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(244,240,232,0.55);
  margin-bottom: 18px;
}
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a {
  font-size: 14px;
  color: var(--bone);
  opacity: 0.85;
  transition: opacity .2s, color .2s;
}
.footer ul a:hover { opacity: 1; color: var(--accent); }
.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(244,240,232,0.5);
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ========== Floating WhatsApp ========== */
.fab-wa {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: grid; place-items: center;
  z-index: 70;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.4);
  animation: pulse 2.4s ease-out infinite;
  transition: transform .2s;
}
.fab-wa:hover { transform: scale(1.07); }
.fab-wa svg { width: 30px; height: 30px; fill: #052e1d; }
@keyframes pulse {
  0% { box-shadow: 0 8px 30px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.5); }
  100% { box-shadow: 0 8px 30px rgba(37,211,102,0.4), 0 0 0 28px rgba(37,211,102,0); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
  .fab-wa { animation: none; }
  html { scroll-behavior: auto; }
}

/* ========== Pillar carousel ========== */
.pillar-carousel { position: relative; overflow: hidden; }
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity .7s ease;
  background: var(--ink-2);
}
.carousel-slide.active { opacity: 1; z-index: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Plan/layout slide: contain so the drawing is fully visible */
.carousel-slide--plan {
  background: #f5f3ef;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-slide--plan img {
  object-fit: contain;
  padding: 20px;
}

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background .2s, transform .2s;
  padding: 0;
  touch-action: manipulation;
}
.carousel-dot.active {
  background: var(--bone);
  transform: scale(1.25);
}

/* ========== Hamburger button ========== */
.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 61;
  position: relative;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--bone);
  border-radius: 1px;
  transition: transform .25s ease, opacity .2s ease;
}
@media (max-width: 1100px) {
  .menu-toggle { display: flex; }
}
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== Mobile menu overlay ========== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 80px var(--pad-x) 48px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity .3s ease, transform .3s ease;
  overflow-y: auto;
}
body.menu-open .mobile-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
body.menu-open { overflow: hidden; }

.nav-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 480px;
}
.nav-mobile a {
  display: block;
  font-family: var(--serif);
  font-size: clamp(28px, 6vw, 52px);
  font-weight: 500;
  font-style: italic;
  color: var(--bone);
  text-align: center;
  padding: 16px 0;
  width: 100%;
  border-bottom: 1px solid var(--line);
  transition: color .2s;
  letter-spacing: -0.01em;
}
.nav-mobile a:first-child { border-top: 1px solid var(--line); }
.nav-mobile a:hover,
.nav-mobile a:focus { color: var(--accent); outline: none; }

.mobile-menu-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 480px;
}
.mobile-menu-foot .btn {
  width: 100%;
  justify-content: center;
}

/* ========== Header nav (mobile fallback) ========== */
@media (max-width: 1400px) {
  /* Hide tel button early — wide text (~200px) crowds the header */
  .header-cta .btn-ghost { display: none; }
}
@media (max-width: 1100px) {
  .nav { display: none; }
}
@media (max-width: 700px) {
  .header-cta .btn:not(.btn-primary):not(.btn-wa) { display: none; }
  .lang-switch { display: none; }
}

/* ============================================================
   RESPONSIVE OPTIMIZATIONS — tablet & mobile
   ============================================================ */

/* Touch: remove 300ms tap delay on all interactive elements */
a, button, .btn, .pillar-cta, .fab-wa, .nav a {
  touch-action: manipulation;
}

/* Lang switch: ensure minimum touch target height */
.lang-switch button { min-height: 40px; }

/* Prevent pull-to-refresh interfering with hero scroll */
body { overscroll-behavior-y: contain; }

/* ── Tablet: ≤ 1100px ──────────────────────────────────────── */
@media (max-width: 1100px) {
  section { padding: 96px var(--pad-x); }
  .hero-inner { padding: 120px var(--pad-x) 72px; }
  .final-cta { padding: 100px var(--pad-x); }
  .footer { padding: 64px var(--pad-x) 28px; }
  .mobilier-text { padding: 80px var(--pad-x) 80px max(var(--pad-x), 48px); }
  .stat { padding: 48px 24px; }
  .pillar-body h3 { font-size: clamp(26px, 4vw, 38px); }
}

/* ── Mobile: ≤ 768px ─────────────────────────────────────────── */
@media (max-width: 768px) {
  section { padding: 72px var(--pad-x); }
  .hero-inner { padding: 100px var(--pad-x) 56px; }
  .final-cta { padding: 80px var(--pad-x); }
  .footer { padding: 56px var(--pad-x) 24px; }

  .site-header { gap: 16px; }
  .stat { padding: 36px 20px; }
  .mobilier-text { padding: 64px var(--pad-x); }
  .partners-inner { gap: 20px 32px; }

  /* Gallery: 2-col simplified */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }
  .g-1 { grid-column: span 2; grid-row: span 2; }
  .g-2, .g-3, .g-4, .g-5, .g-6, .g-8 { grid-column: span 1; grid-row: span 1; }
  .g-7 { grid-column: span 2; grid-row: span 1; }

  /* Pillar list: 1 col */
  .pillar-list { grid-template-columns: 1fr; }

  /* Process: tighter padding */
  .process-step { padding: 32px 20px 40px; }
  .process-step::before { font-size: 48px; margin-bottom: 20px; }

  .showroom-info dd { font-size: 18px; }
  .final-cta p { font-size: 17px; }
}

/* ── Small mobile: ≤ 480px ───────────────────────────────────── */
@media (max-width: 480px) {
  section { padding: 60px var(--pad-x); }
  .hero-inner { padding: 88px var(--pad-x) 48px; }
  .final-cta { padding: 64px var(--pad-x); }
  .footer { padding: 48px var(--pad-x) 20px; }

  /* Header: only WA button survives — hero has full CTAs */
  .site-header { padding: 12px var(--pad-x); gap: 8px; }
  .header-cta .btn-primary { display: none; }
  .header-cta .btn-wa { padding: 10px 16px; font-size: 13px; }
  /* Compact lang-switch restores for language access */
  .lang-switch { display: flex; }
  .lang-switch button { padding: 6px 9px; font-size: 10px; letter-spacing: 0.06em; min-height: 36px; }

  /* Process: 1 col */
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .process-step:last-child { border-bottom: 0; }

  /* Stats: tighter */
  .stat { padding: 28px 16px; }

  /* Gallery: 1 col */
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .g-1, .g-2, .g-3, .g-4, .g-5, .g-6, .g-7, .g-8 {
    grid-column: span 1;
    grid-row: span 1;
  }

  /* Footer: 1 col */
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }

  /* Showroom info: 1 col */
  .showroom-info { grid-template-columns: 1fr; gap: 16px; }

  /* Partners: tighter */
  .partners-inner { gap: 12px 20px; }
  .partner-logo { font-size: 18px; }

  /* Buttons: standard size on small screens */
  .btn-lg { padding: 14px 22px; font-size: 14px; }

  /* Pillar body */
  .pillar-body { padding: 28px 20px 32px; }
  .pillar-body h3 { font-size: clamp(24px, 6vw, 32px); }
}

/* ========== Cookie banner ========== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 32px;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(.2,.6,.2,1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1;
  min-width: 220px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(245,240,232,0.75);
}
.cookie-text a { color: var(--bone); text-decoration: underline; }
.cookie-text a:hover { opacity: 0.8; }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .cookie-banner { padding: 16px 20px; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-actions { flex-direction: column; }
}

/* ========== Visit Form ========== */
.showroom-grid { align-items: start; }

.visit-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
  position: relative;
}

.vf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.vf-row--plz { grid-template-columns: 90px 1fr; }

.vf-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

#vfOtherWrap { display: none; }
#vfOtherWrap.vf-show { display: flex; }

.vf-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,240,232,0.5);
}

.vf-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  padding: 11px 14px;
  outline: none;
  transition: border-color .2s, background .2s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.vf-input::placeholder { color: rgba(244,240,232,0.22); }
.vf-input:focus { border-color: rgba(244,240,232,0.45); background: rgba(255,255,255,0.08); }
.vf-input.vf-invalid,
.vf-input.vf-invalid:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px rgba(200,16,46,0.25);
}

.vf-select-wrap { position: relative; }
.vf-select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid rgba(244,240,232,0.45);
  pointer-events: none;
}
.vf-select { cursor: pointer; padding-right: 36px; }
.vf-select option { background: var(--ink-2); color: var(--bone); }

.vf-error {
  font-size: 14px;
  color: #ff6b6b;
  padding: 10px 14px;
  border: 1px solid rgba(255,107,107,0.4);
  background: rgba(255,107,107,0.07);
}
.vf-error a { color: var(--whatsapp); text-decoration: underline; }

.vf-submit { width: 100%; justify-content: center; }
.vf-submit:disabled { opacity: 0.6; cursor: not-allowed; }

@keyframes vf-spin { to { transform: rotate(360deg); } }
.vf-spinner {
  width: 20px;
  height: 20px;
  animation: vf-spin .75s linear infinite;
}

/* Success state */
.visit-success {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 0 8px;
}

.vs-check {
  width: 48px;
  height: 48px;
  background: #1c6e3d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vs-check svg { width: 22px; height: 22px; }

.vs-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.vs-body {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(244,240,232,0.7);
  max-width: 42ch;
}

.vs-phone { margin-top: 4px; width: fit-content; }

@media (max-width: 480px) {
  .vf-row { grid-template-columns: 1fr; }
}

/* ============ WhatsApp Pre-form Modal ============ */
.wa-modal {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: flex-end; justify-content: center;
}
.wa-modal[hidden] { display: none; }

.wa-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(2px);
}

.wa-modal__panel {
  position: relative;
  background: var(--ink-2);
  border-radius: 16px 16px 0 0;
  padding: 32px 24px 40px;
  width: 100%; max-width: 520px;
  border-top: 1px solid var(--line);
}

@media (min-width: 600px) {
  .wa-modal { align-items: center; }
  .wa-modal__panel { border-radius: 8px; border: 1px solid var(--line); }
}

.wa-modal__close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; color: var(--bone-2);
  font-size: 22px; cursor: pointer; padding: 4px 8px; line-height: 1;
  transition: color 150ms;
}
.wa-modal__close:hover { color: var(--bone); }

.wa-modal__icon { margin-bottom: 12px; }
.wa-modal__icon svg { width: 36px; height: 36px; fill: var(--whatsapp); }

.wa-modal__title {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  font-weight: 500; margin: 0 0 6px;
  color: var(--bone);
}

.wa-modal__sub {
  color: rgba(244,240,232,0.65);
  font-size: 14px; margin: 0 0 20px;
}

.wa-modal__submit {
  width: 100%; margin-top: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.wa-modal__submit svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

