:root {
  --bg: #f3f1ed;
  --bg2: #e9e6e2;
  --bg3: #e7e4e0;
  --bg4: #f8f7f6;
  --accent: #8d6930;
  --ink: #000;
  --ink2: #1d1d1e;
  --border: #d2cec4;
  --serif: 'Bodoni Moda', 'Georgia', serif;
  --sans: 'Inter', system-ui, sans-serif;
  --card-shadow: 0px 4px 19.8px 1px rgba(0,0,0,0.25);
  --max: 1920px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1590px; margin: 0 auto; padding: 0 40px; }

/* ══════════════════════════════════════════
   SEKCJA 1: TOPBAR
══════════════════════════════════════════ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  background: rgba(243,241,237,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(12,15,20,0.07);
}
.topbar-brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--ink);
  flex-shrink: 0;
}
.topbar-logo {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.topbar-logo svg { width: 48px; height: 48px; }
.topbar-sep {
  width: 1px; height: 36px;
  background: rgba(12,15,20,0.14);
}
.topbar-brand-text { line-height: 1.25; }
.topbar-brand-name {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink); display: block;
}
.topbar-brand-sub {
  font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(12,15,20,0.55); display: block;
}
.topstrip {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 10px;
  border: 1px solid rgba(12,15,20,0.14);
  background: rgba(242,236,223,0.70);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(12,15,20,0.08);
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(12,15,20,0.72);
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.topstrip::-webkit-scrollbar { display: none; }
.topstrip b {
  color: var(--ink); font-weight: 600;
  letter-spacing: 0.14em; padding: 6px 10px;
}
.topstrip a {
  text-decoration: none; padding: 6px 10px;
  border-radius: 999px;
  transition: background 0.25s, color 0.25s;
}
.topstrip a:hover {
  background: rgba(12,15,20,0.06); color: var(--ink);
}
.topstrip a.is-cta {
  background: var(--accent);
  color: #fff;
  padding: 6px 16px;
  margin-left: 4px;
  font-weight: 600;
}
.topstrip a.is-cta:hover {
  background: #5a4320;
  color: #fff;
  transform: translateY(-1px);
}
.mobile-menu a.is-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-top: 12px;
  padding: 16px 40px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 24px;
}
.mobile-menu a.is-cta:hover { color: #fff; background: #5a4320; }
.topstrip .dot {
  width: 4px; height: 4px; border-radius: 99px;
  background: rgba(141,105,45,0.75); flex-shrink: 0;
}

/* Hamburger button — hidden on desktop */
.hamburger {
  display: none;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  position: relative; z-index: 110;
  padding: 0; flex-shrink: 0;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink);
  margin: 5px auto;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: rgba(243,241,237,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  padding: 18px 0;
  text-align: center;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .mobile-menu-sub {
  margin-top: 32px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(12,15,20,0.45);
}

/* ══════════════════════════════════════════
   SEKCJA 2: HERO — 3 ARCHE
══════════════════════════════════════════ */
.hero {
  padding-top: 100px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}
.hero-arches {
  display: flex;
  gap: 20px;
  padding: 24px 32px 0;
  justify-content: center;
  max-width: var(--max);
  margin: 0 auto;
}
.arch-frame {
  flex: 1 1 0%;
  min-width: 0;
}
.arch-frame img {
  width: 100%;
  display: block;
}

/* ══════════════════════════════════════════
   FLOATING CTA
══════════════════════════════════════════ */
.floating-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(111,83,38,0.35), 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, padding 0.25s ease;
  transform: translateY(0);
}
.floating-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(111,83,38,0.42), 0 4px 10px rgba(0,0,0,0.18);
}
.floating-cta svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  stroke: #fff;
}
.floating-cta .fcta-label {
  white-space: nowrap;
}
.floating-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}
@media (max-width: 768px) {
  .floating-cta {
    right: 16px;
    bottom: 16px;
    padding: 13px 18px;
    font-size: 14px;
  }
}

/* ══════════════════════════════════════════
   SEKCJA 3: VALUE PROP
══════════════════════════════════════════ */
.value-prop {
  background: var(--bg3);
  padding: 80px 0 70px;
  padding-top: 120px;
  margin-top: -60px;
  position: relative;
  z-index: 3;
}
.value-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  max-width: 1590px;
  margin: 0 auto;
  padding: 0 40px;
}
.value-grid > * { min-width: 0; }
.value-headline { align-self: center; }
.value-footer {
  grid-column: 1 / -1;
  margin-top: 40px;
}
.value-title {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.value-title .line1 {
  font-size: clamp(40px, 3.6vw, 64px);
  display: block;
  white-space: nowrap;
}
.value-title .line2 {
  font-size: clamp(40px, 3.6vw, 64px);
  display: block;
  white-space: nowrap;
}
.value-subtitle {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 2.6vw, 44px);
  line-height: 1.1;
  margin-bottom: 24px;
  white-space: nowrap;
}
.value-subtitle .accent { color: var(--accent); }
.value-desc {
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 28px;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--sans);
  font-size: 16px; font-weight: 400;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
  border: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent); color: #fff;
}
.btn-ghost {
  background: var(--bg4);
  border: 1px solid var(--border);
  color: var(--accent);
}

/* 2×2 USP Cards */
.usp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.usp-card {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  border-radius: 17px;
  box-shadow: var(--card-shadow);
  padding: 28px 20px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.usp-card-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: var(--accent);
}
.usp-card-icon {
  width: 40px; height: 41px;
  margin: 4px 0;
}
svg.usp-card-icon { color: var(--accent); }
.usp-card-desc {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
  text-align: center;
}

/* ══════════════════════════════════════════
   SEKCJA 4-6 WRAPPER: SHARED BACKGROUND
══════════════════════════════════════════ */
.mid-sections {
  position: relative;
  padding-top: 100px;
}
.mid-sections::before {
  content: "";
  position: absolute;
  top: -2400px;
  right: 0;
  width: 50%;
  height: 800px;
  background: url('background-shape.png') no-repeat top right / 100% 100%;
  pointer-events: none;
  z-index: 0;
}
.mid-sections > section {
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════
   SEKCJA 5: PARTNERS
══════════════════════════════════════════ */
.partners {
  padding: 0;
}
.partners-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  color: var(--accent);
  text-align: center;
  margin-bottom: 0;
  padding: 52px 0 36px;
  background: #e9e6e2;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(0,0,0,0.12);
  border-bottom: 1px solid rgba(0,0,0,0.12);
}
.partners-cell {
  padding: 48px 24px;
  text-align: center;
  border-right: 1px solid rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.partners-cell:last-child { border-right: none; }
.partners-cell-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.2;
  color: var(--ink);
}

/* ══════════════════════════════════════════
   SEKCJA 6: EXPERTISE — 4 KARTY
══════════════════════════════════════════ */
.expertise {
  padding: 200px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, transparent 50%, #e9e6e2 50%);
}
.expertise::before {
  content: "";
  position: absolute;
  left: 35%; bottom: 50%;
  transform: translateX(-50%);
  width: 42%; height: 40%;
  background: #e9e6e2;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  pointer-events: none;
}
.expertise-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 2.6vw, 44px);
  line-height: 1.1;
  text-align: center;
  margin-bottom: 48px;
  position: relative; z-index: 1;
  white-space: nowrap;
}
.expertise-title .accent { color: var(--accent); }
.expertise-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative; z-index: 1;
  max-width: 1590px;
  margin: 0 auto;
  padding: 0 40px;
}
.exp-card {
  background: var(--bg4);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s;
}
.exp-card:hover { transform: translateY(-4px); }
.exp-card-photo {
  width: 100%;
  aspect-ratio: 395/241;
  overflow: hidden;
}
.exp-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.exp-card-label {
  padding: 18px 16px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.3;
  text-align: center;
  color: var(--ink);
}

/* ══════════════════════════════════════════
   SCROLL HINT (mobile horizontal scroll sections)
══════════════════════════════════════════ */
.scroll-hint { display: none; }

/* ══════════════════════════════════════════
   CERTIFICATIONS STRIP
══════════════════════════════════════════ */
.certifications {
  padding: 48px 0 40px;
  position: relative;
  z-index: 2;
}
.certifications-container {
  max-width: 1590px;
  margin: 0 auto;
  padding: 0 40px;
  overflow: hidden;
}
.certifications-track {
  display: flex;
  width: max-content;
  animation: cert-scroll 45s linear infinite;
}
.certifications:hover .certifications-track {
  animation-play-state: paused;
}
.certifications-group {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 0 40px;
  flex-shrink: 0;
}
.certifications-track img {
  height: 72px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.3s ease, opacity 0.3s ease;
  flex-shrink: 0;
}
.certifications-track img:hover {
  filter: grayscale(0);
  opacity: 1;
}
@keyframes cert-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════
   MATÉRIAUX STRIP
══════════════════════════════════════════ */
.materials {
  background: #F4F1ED;
  padding: 70px 0 80px;
}
.materials-inner {
  max-width: 1590px;
  margin: 0 auto;
  padding: 0 40px;
}
.materials-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
  text-align: center;
  margin-bottom: 10px;
  color: var(--accent);
}
.materials-sub {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  color: var(--ink);
  max-width: 680px;
  margin: 0 auto 40px;
}
.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mat-card {
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--card-shadow);
  position: relative;
}
.mat-card.is-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.mat-card-tag {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.mat-card.is-primary .mat-card-tag { opacity: 0.85; }
.mat-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  margin: 2px 0 6px;
  color: var(--accent);
}
.mat-card.is-primary .mat-card-title { color: #fff; }
.mat-card-desc {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}
.mat-card.is-primary .mat-card-desc { color: rgba(255,255,255,0.92); }
.mat-card-doc {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  border-top: 1px solid rgba(0,0,0,0.08);
}
.mat-card.is-primary .mat-card-doc {
  color: #fff;
  border-top-color: rgba(255,255,255,0.25);
}

/* ══════════════════════════════════════════
   SEKCJA 8+9: WOOD — QUAND LE BOIS + TAGLINE
══════════════════════════════════════════ */
.wood {
  padding: 200px 0 70px;
  position: relative;
  overflow: hidden;
}
.wood::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: #F4F1ED;
  pointer-events: none;
}
.wood-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  position: relative; z-index: 1;
  max-width: 1590px;
  margin: 0 auto;
  padding: 0 40px;
}
.wood-grid::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 180%;
  background: url(new-asset.png) no-repeat center / contain;
  pointer-events: none;
  z-index: -1;
}
.wood-photo-wrap {
}
.wood-photo-wrap img {
  width: 100%;
  aspect-ratio: 581/693;
  object-fit: cover;
}
.wood-copy {
  padding-top: 20px;
}
.wood-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.5vw, 58px);
  line-height: 1.2;
  margin-bottom: 28px;
}
.wood-title .accent { color: var(--accent); }
.wood-circles {
  display: flex; gap: 20px;
  margin-bottom: 28px;
}
.wood-circle {
  width: 185px; height: 185px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.wood-circle img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.wood-desc {
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.7;
  color: var(--ink);
}
.wood-desc b { font-weight: 600; }
.wood-tagline {
  position: relative; z-index: 1;
  max-width: 1590px;
  margin: 80px auto 0;
  padding: 0 40px;
}
.wood-tagline h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 4vw, 70px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.wood-tagline .accent { color: var(--accent); }
.wood-tagline .cta-row { margin-top: 32px; }

/* ══════════════════════════════════════════
   SEKCJA 10: TESTIMONIALS
══════════════════════════════════════════ */
.testimonials {
  padding: 80px 0;
}
.testimonials-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 58px);
  line-height: 1.2;
  text-align: center;
  margin-bottom: 48px;
  padding: 0 40px;
  max-width: 1590px;
  margin-left: auto; margin-right: auto;
}
.testimonials-title .accent { color: var(--accent); }
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(0,0,0,0.12);
  border-bottom: 1px solid rgba(0,0,0,0.12);
}
.t-card {
  padding: 48px 40px;
  border-right: 1px solid rgba(0,0,0,0.12);
}
.t-card:last-child { border-right: none; }
.t-stars {
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 3px;
  margin-bottom: 20px;
}
.t-text {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink2);
  margin-bottom: 32px;
}
.t-author {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 2.66px;
  text-transform: uppercase;
  color: var(--ink2);
}

/* ══════════════════════════════════════════
   BATIMAT BANNER (delicate variant)
══════════════════════════════════════════ */
.batimat-banner {
  background: #F4F1ED;
  padding: 90px 0 100px;
  position: relative;
}
.batimat-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.batimat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  position: relative;
}
.batimat-grid::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: rgba(12,15,20,0.12);
}
.batimat-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px 0;
}
.batimat-tag {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.85;
}
.batimat-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  color: var(--accent);
}
.batimat-desc {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 10px;
  max-width: 460px;
}
.batimat-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.batimat-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 50px;
  transition: transform 0.2s, background 0.2s, color 0.2s;
  border: 1px solid var(--accent);
}
.batimat-cta:hover { transform: translateY(-1px); }
.batimat-cta.is-primary {
  background: var(--accent);
  color: #fff;
}
.batimat-cta.is-ghost {
  background: transparent;
  color: var(--accent);
}
.batimat-cta.is-ghost:hover {
  background: rgba(111,83,38,0.06);
}

/* ══════════════════════════════════════════
   FORMULARZ KONTAKTOWY (marquee + form)
══════════════════════════════════════════ */
.contact-inline {
  padding: 80px 0 72px;
  background: var(--bg2);
  border-top: 1px solid rgba(12,15,20,0.08);
}
.marquee {
  border: 1px solid rgba(12,15,20,0.10);
  border-radius: 50px;
  background: rgba(242,236,223,0.55);
  overflow: hidden; padding: 10px 0;
  margin-top: 24px;
  margin-bottom: 48px;
}
.marquee .track {
  display: inline-flex; gap: 14px; padding-left: 22px;
  white-space: nowrap; will-change: transform;
  animation: marquee 26s linear infinite;
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(12,15,20,0.70);
}
.marquee .sep { opacity: 0.45; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee .track::after {
  content: " Devenir partenaire • Échantillons • Objets BIM • NF · CSTB • FDES • Rénovation patrimoniale • RDV Batimat 2026 • Équipe francophone •";
  padding-left: 14px;
}
.form-always-open {
  display: block;
  border: 1px solid rgba(12,15,20,0.14);
  background: rgba(255,255,255,0.18);
  border-radius: 18px; padding: 22px;
  box-shadow: 0 12px 40px rgba(12,15,20,0.08);
}
.form-always-open .row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.form-always-open label {
  display: block; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(12,15,20,0.78); margin-bottom: 8px;
}
.form-always-open input,
.form-always-open textarea,
.form-always-open select {
  width: 100%; background: rgba(242,236,223,0.55);
  border: 1px solid rgba(12,15,20,0.14); border-radius: 14px;
  padding: 14px; color: var(--ink); font-family: var(--sans); font-size: 14px; outline: none;
}
.form-always-open input:focus,
.form-always-open textarea:focus,
.form-always-open select:focus {
  border-color: rgba(141,105,45,0.45);
  box-shadow: 0 0 0 6px rgba(141,105,45,0.10);
}
.form-always-open textarea { min-height: 120px; resize: vertical; }
.form-always-open .form-actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-top: 16px;
}
.fineprint { color: rgba(12,15,20,0.55); font-size: 12px; max-width: 560px; }
.form-always-open .btn-primary { border: none; cursor: pointer; }
.form-consent {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(12,15,20,0.08);
}
.form-always-open .consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(12,15,20,0.78);
  letter-spacing: normal;
  text-transform: none;
  margin-bottom: 0;
}
.form-always-open .consent-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent-label a {
  color: var(--accent);
  text-decoration: underline;
}
.consent-label a:hover { opacity: 0.75; }

/* ══════════════════════════════════════════
   SUCCESS MODAL (after form submit)
══════════════════════════════════════════ */
.success-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.success-modal.is-open {
  display: flex;
}
.success-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}
.success-modal-content {
  position: relative;
  background: var(--bg);
  border-radius: 20px;
  padding: 48px 32px 36px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: modal-pop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modal-pop {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.success-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: rgba(0,0,0,0.4);
  padding: 6px 10px;
  transition: color 0.2s;
}
.success-modal-close:hover { color: var(--ink); }
.success-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.success-modal-icon svg {
  width: 30px; height: 30px;
}
.success-modal-content h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--ink);
}
.success-modal-content p {
  color: rgba(0,0,0,0.72);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 6px;
}
.success-modal-sub {
  color: rgba(0,0,0,0.55) !important;
  font-size: 14px !important;
  margin-bottom: 24px !important;
}
.success-modal-actions {
  display: flex;
  gap: 10px;
  flex-direction: column;
  margin-top: 20px;
}
.success-modal-actions .btn { width: 100%; }
@media (min-width: 540px) {
  .success-modal-actions {
    flex-direction: row;
    justify-content: center;
  }
  .success-modal-actions .btn { width: auto; }
}

/* ══════════════════════════════════════════
   ANIMACJE REVEAL
══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.on {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   RESPONSYWNOŚĆ
══════════════════════════════════════════ */
@media (max-width: 1200px) {
  .wood-circle { width: 140px; height: 140px; }
}
@media (max-width: 1024px) {
  .value-grid { grid-template-columns: 1fr; gap: 40px; }
  .wood-grid { grid-template-columns: 1fr; gap: 40px; }
  .wood { padding-top: 20px; }
  .wood-grid::before { display: none; }
  .wood-photo-wrap { background: #fff; padding: 25px; }
  .expertise-cards { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-cell:nth-child(2) { border-right: none; }
  .partners-cell:nth-child(1),
  .partners-cell:nth-child(2) { border-bottom: 1px solid rgba(0,0,0,0.12); }
}
@media (max-width: 768px) {
  .topbar { padding: 10px 16px; gap: 10px; }
  .topbar-brand { gap: 8px; }
  .topbar-logo svg { width: 36px; height: 36px; }
  .topbar-sep { height: 24px; }
  .topbar-brand-name { font-size: 9px; letter-spacing: 0.12em; }
  .topbar-brand-sub { font-size: 8px; }
  .topstrip { display: none; }
  .hamburger { display: block; }
  .mobile-menu { display: flex; }

  .hero { padding-top: 56px; }
  .hero-arches { padding: 8px 10px 0; gap: 8px; }
  .arch-frame { aspect-ratio: 9/14; border-radius: 140px 140px 16px 16px; }

  .wrap, .value-grid, .expertise-cards, .wood-grid, .wood-tagline,
  .testimonials-title { padding-left: 16px; padding-right: 16px; }

  .value-prop { padding: 90px 0 40px; }
  .value-title .line1,
  .value-title .line2 { font-size: 42px; }
  .value-subtitle { font-size: 24px; }
  .value-desc { font-size: 15px; }
  .usp-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .usp-card { padding: 16px 12px 12px; }
  .usp-card-title { font-size: 16px; }
  .usp-card-desc { font-size: 11px; }
  .btn { font-size: 14px; padding: 12px 20px; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; text-align: center; }

  .partners { padding: 36px 0 0; }
  .partners-title { font-size: 24px; margin-bottom: 20px; }
  .partners-grid { grid-template-columns: 1fr 1fr; }
  .partners-cell { padding: 24px 12px; }
  .partners-cell:nth-child(odd) { border-right: 1px solid rgba(0,0,0,0.12); }
  .partners-cell:nth-child(even) { border-right: none; }
  .partners-cell:nth-child(1),
  .partners-cell:nth-child(2) { border-bottom: 1px solid rgba(0,0,0,0.12); }
  .partners-cell-name { font-size: 24px; }

  .expertise { padding: 48px 0; }
  .expertise-title { font-size: 24px; margin-bottom: 24px; }
  .expertise-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .exp-card-label { font-size: 18px; padding: 12px 8px; }

  .materials { padding: 48px 0 40px; }
  .materials-inner { padding: 0 16px; }
  .materials-title { font-size: 26px; }
  .materials-sub { font-size: 14px; margin-bottom: 24px; }
  .materials-grid {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    padding: 4px 16px 16px;
    margin: 0 -16px;
    scrollbar-width: none;
  }
  .materials-grid::-webkit-scrollbar { display: none; }
  .mat-card {
    flex: 0 0 82%;
    scroll-snap-align: center;
    padding: 24px 20px 22px;
  }
  .mat-card-title { font-size: 26px; }

  .wood { padding: 48px 0 40px; }
  .wood-grid { grid-template-columns: 1fr; gap: 32px; }
  .wood-photo-wrap { display: none; }
  .wood-title { font-size: 32px; }
  .wood-circles { gap: 12px; }
  .wood-circle { width: 90px; height: 90px; }
  .wood-desc { font-size: 15px; }
  .wood-tagline { margin-top: 40px; }
  .wood-tagline h2 { font-size: 36px; }

  .testimonials { padding: 48px 0; }
  .testimonials-title { font-size: 24px; margin-bottom: 24px; }
  .t-grid {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    padding: 4px 16px 16px;
    border-top: none;
    border-bottom: none;
    scrollbar-width: none;
  }
  .t-grid::-webkit-scrollbar { display: none; }
  .t-card {
    flex: 0 0 82%;
    scroll-snap-align: center;
    border-right: none;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 16px;
    padding: 24px 20px;
    background: rgba(255,255,255,0.6);
  }
  .t-card:last-child { border-bottom: none; }
  .t-text { font-size: 15px; }

  .batimat-banner { padding: 56px 0 64px; }
  .batimat-inner { padding: 0 16px; }
  .batimat-grid { grid-template-columns: 1fr; gap: 40px; }
  .batimat-grid::before {
    left: 8%; right: 8%;
    top: 50%; bottom: auto;
    width: auto; height: 1px;
  }
  .batimat-col { padding: 0; }
  .batimat-col:first-child .batimat-actions { display: none; }
  .batimat-title { font-size: 24px; }
  .batimat-cta { font-size: 11px; padding: 12px 22px; }

  .contact-inline { padding: 48px 0 40px; }
  .contact-inline .wrap { padding: 0 16px; }
  .form-always-open { padding: 16px; }
  .form-always-open .row { grid-template-columns: 1fr; }
  .form-always-open .form-actions { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* MOBILE FIXES */
  /* 1. Hero images - remove forced aspect-ratio, let images display naturally */
  .arch-frame {
    aspect-ratio: auto;
    border-radius: 16px;
    overflow: hidden;
  }
  .arch-frame img { height: auto; width: 100%; }

  /* 2. Title nowrap fix - allow wrapping on mobile */
  .value-title .line1,
  .value-title .line2 { white-space: normal; }
  .value-subtitle { white-space: normal; }
  .expertise-title { white-space: normal; font-size: 22px; }

  /* 3. Hide decorative dome shapes on mobile */
  .mid-sections::before,
  .expertise::before { display: none; }

  /* 4. Certifications - marquee, smaller logos on mobile */
  .certifications { padding: 32px 0 24px; }
  .certifications-container { padding: 0 16px; }
  .certifications-group { gap: 40px; padding: 0 20px; }
  .certifications-track img { height: 44px; max-width: 90px; }

  /* 6. Consistent background expertise → partners on mobile */
  .expertise {
    background: #e9e6e2;
    padding: 48px 0 32px;
  }
  .mid-sections { padding-top: 0; }
  .partners { padding: 0; }
  .partners-title { margin-bottom: 0; padding: 40px 0 28px; }

  /* 7. Remove value-prop overlap of hero images + lighten background */
  .value-prop {
    margin-top: 0;
    z-index: auto;
    background: transparent;
    padding: 16px 0 12px;
  }
  .value-grid { gap: 16px; }
  .value-footer { margin-top: 16px; }
  .usp-grid { gap: 8px; }
  .usp-card {
    padding: 14px 10px 12px;
    background: rgba(255,255,255,0.5);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  }

  /* 8. Materials section - match page background + smaller bottom padding + lighter shadow */
  .materials { background: transparent; padding: 32px 0 20px; }
  .mat-card { box-shadow: 0 2px 6px rgba(0,0,0,0.06); }

  /* 9. Scroll hint - subtle arrow indicating horizontal scroll */
  .materials-inner, .testimonials { position: relative; }
  .scroll-hint {
    display: flex !important;
    position: absolute;
    right: 4px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
    color: var(--accent);
    align-items: center;
    justify-content: center;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    z-index: 3;
    animation: scroll-hint-pulse 1.8s ease-in-out infinite;
  }
  .scroll-hint svg { width: 16px; height: 16px; }
  .materials-inner .scroll-hint { bottom: 40%; }
  .testimonials .scroll-hint { bottom: 40%; }
  @keyframes scroll-hint-pulse {
    0%, 100% { transform: translateX(0); opacity: 0.75; }
    50% { transform: translateX(5px); opacity: 1; }
  }
}

@media (max-width: 540px) {
  .value-grid { position: relative; }
  .value-grid .scroll-hint {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }
  @keyframes scroll-hint-pulse {
    0%, 100% { transform: translateY(-50%) translateX(0); opacity: 0.75; }
    50% { transform: translateY(-50%) translateX(5px); opacity: 1; }
  }
}

@media (max-width: 540px) {
  .usp-grid {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    scroll-padding: 16px;
    padding: 4px 16px 16px;
    margin: 0 -16px;
    scrollbar-width: none;
  }
  .usp-grid::-webkit-scrollbar { display: none; }
  .usp-grid .usp-card {
    flex: 0 0 78%;
    scroll-snap-align: center;
    min-width: 0;
  }
  .partners-grid { grid-template-columns: 1fr; }
  .partners-cell { border-right: none !important; border-bottom: 1px solid rgba(0,0,0,0.12); }
  .partners-cell:last-child { border-bottom: none; }
  .expertise-cards { grid-template-columns: 1fr; }
  .wood-circle { width: 80px; height: 80px; }
}

/* ══════════════════════════════════════════
   FOOTER V2
══════════════════════════════════════════ */
.footer-v2 {
  background: var(--bg2);
  padding: 90px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-v2-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 100px;
}

/* LEFT */
.footer-v2-logo-img {
  width: 140px;
  margin-bottom: 20px;
}

.footer-v2-brand {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.7;
}

/* SOCIAL */
.footer-v2-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-v2-social a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-v2-social svg {
  width: 16px;
  fill: currentColor;
}

/* RIGHT */
.footer-v2-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.footer-v2-col h6 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-v2-col p {
  font-size: 13px;
  margin-bottom: 16px;
}

.footer-v2-col ul {
  list-style: none;
}

.footer-v2-col li {
  margin-bottom: 8px;
}

.footer-v2-col a {
  font-size: 14px;
  color: rgba(0,0,0,0.65);
}

.footer-v2-col a:hover {
  color: var(--accent);
}

.mt {
  margin-top: 30px;
}

/* DOWNLOADS */
.downloads a {
  font-weight: 500;
}

/* BOTTOM */
.footer-v2-bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: rgba(0,0,0,0.5);
}

/* RWD */
@media (max-width: 1024px) {
  .footer-v2-grid {
    grid-template-columns: 1fr;
  }

  .footer-v2-cols {
    grid-template-columns: 1fr;
  }
}
