/* ==========================
   THERMALYZE FACADES
   CSS dédié /facades/
========================== */

.facade-product {
  padding: 76px 0 70px;
  background:
    radial-gradient(circle at 78% 18%, rgba(249,115,22,.14), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fff7ed 54%, #f8fbf9 100%);
}

.product-hero-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.product-hero h1 {
  margin: 0 0 24px;
  font-size: clamp(44px, 5vw, 66px);
  line-height: 1.08;
  letter-spacing: -.045em;
  color: #09211f;
}

.product-hero h1 span {
  display: block;
  color: var(--orange);
}

.product-hero-left > p {
  max-width: 620px;
  color: #334b48;
  font-size: 19px;
  line-height: 1.75;
  margin: 0 0 24px;
}

.hero-checks {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 14px;
  font-weight: 850;
}

.hero-checks li::before {
  content: "✓";
  color: #16a34a;
  background: #e8fff0;
  border-radius: 999px;
  padding: 2px 6px;
  margin-right: 10px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Mockup façade */

.facade-demo-card {
  position: relative;
  min-height: 560px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 20%, rgba(249,115,22,.18), transparent 34%),
    linear-gradient(135deg, #fff7ed, #ffffff);
  border: 1px solid #fed7aa;
  box-shadow: 0 30px 80px rgba(15,23,42,.12);
  padding: 34px;
}

.demo-window {
  background: #0f172a;
  border-radius: 26px;
  padding: 22px;
  color: #fff;
  box-shadow: 0 26px 70px rgba(15,23,42,.25);
}

.demo-window-top {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.demo-window-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f97316;
}

.demo-window-top span:nth-child(2) { background: #facc15; }
.demo-window-top span:nth-child(3) { background: #22c55e; }

.demo-window-top strong {
  margin-left: auto;
  color: #fed7aa;
  font-size: 13px;
}

.facade-illustration {
  background: linear-gradient(180deg, #dbeafe, #f8fafc);
  border-radius: 20px;
  height: 280px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 30px;
}

.facade-building {
  position: relative;
  width: 320px;
  height: 210px;
  background: linear-gradient(135deg, #e7d3b0, #c9a977);
  border-radius: 14px 14px 6px 6px;
}

.facade-building::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -60px;
  margin: auto;
  width: 0;
  height: 0;
  border-left: 160px solid transparent;
  border-right: 160px solid transparent;
  border-bottom: 70px solid #92400e;
}

.detected-window,
.detected-door {
  position: absolute;
  border: 4px solid var(--orange);
  background: rgba(255,255,255,.55);
  border-radius: 6px;
}

.detected-window {
  width: 52px;
  height: 52px;
}

.w1 { left: 46px; top: 40px; }
.w2 { left: 136px; top: 40px; }
.w3 { right: 46px; top: 40px; }
.w4 { left: 46px; top: 120px; }

.detected-door {
  width: 58px;
  height: 86px;
  left: 132px;
  bottom: 0;
  border-color: #2563eb;
}

.facade-kpis {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}

.facade-kpis div {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 16px;
}

.facade-kpis small {
  display: block;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.facade-kpis strong {
  font-size: 24px;
}

.floating-pdf {
  position: absolute;
  right: 20px;
  bottom: 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 20px 50px rgba(15,23,42,.12);
}

.floating-pdf span {
  display: block;
  color: #64748b;
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 7px;
}

.floating-pdf strong {
  color: var(--orange);
  font-size: 18px;
}

/* Sections */

.product-grid-6 {
  grid-template-columns: repeat(3, 1fr);
}

.facade-result-section {
  padding-top: 28px;
}

.facade-result-box {
  text-align: center;
}

.facade-result-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.facade-result-grid div {
  background: #fff;
  color: #0f172a;
  border-radius: 18px;
  padding: 24px;
}

.facade-result-grid small {
  color: #64748b;
  display: block;
  margin-bottom: 8px;
  font-weight: 850;
}

.facade-result-grid strong {
  color: var(--orange);
  font-size: 34px;
  font-weight: 950;
}

/* Vidéos */

.videos-section {
  padding: 80px 0;
  background: #fff;
}

.video-gallery {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
}

.video-main,
.video-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.video-main {
  padding: 28px;
}

.video-main video,
.video-item video {
  width: 100%;
  border-radius: 16px;
  margin-top: 18px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
}

.video-item {
  padding: 20px;
}

.video-main-text span,
.video-item-header span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.video-main-text h3 {
  font-size: 28px;
  margin: 10px 0;
}

.video-main-text p {
  color: #64748b;
  line-height: 1.7;
}

.video-item-header h3 {
  font-size: 17px;
  margin: 8px 0 0;
}

/* SEO */

.seo-block {
  padding: 80px 0;
  background: #f8fbf9;
}

.seo-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  align-items: start;
}

.seo-layout article,
.seo-layout aside {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.seo-layout h2 {
  font-size: 34px;
  line-height: 1.15;
  margin-top: 0;
}

.seo-layout h3 {
  margin-top: 28px;
}

.seo-layout p {
  color: #64748b;
  line-height: 1.8;
}

.seo-layout aside {
  position: sticky;
  top: 110px;
}

.seo-layout aside p {
  margin-bottom: 24px;
}

/* Responsive */

@media(max-width:1100px) {
  .product-hero-grid,
  .video-gallery,
  .seo-layout {
    grid-template-columns: 1fr;
  }

  .product-grid-6,
  .facade-result-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .seo-layout aside {
    position: static;
  }
}

@media(max-width:720px) {
  .product-grid-6,
  .facade-kpis,
  .facade-result-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .facade-demo-card {
    padding: 20px;
    min-height: auto;
  }

  .facade-building {
    width: 260px;
  }

  .facade-building::before {
    border-left-width: 130px;
    border-right-width: 130px;
  }

  .floating-pdf {
    position: static;
    margin-top: 16px;
  }
}
