/* ==========================
   THERMALYZE COMBLES
   CSS dédié /combles/
========================== */

:root{
  --combles-green:#16a34a;
  --combles-green-soft:#e8fff0;
  --combles-orange:#f97316;
  --combles-dark:#0f172a;
  --combles-muted:#64748b;
  --combles-border:#e2e8f0;
  --combles-soft:#f8fbf9;
}

/* HERO */

.combles-hero{
  padding:76px 0 70px;
  background:
    radial-gradient(circle at 78% 18%,rgba(34,197,94,.16),transparent 32%),
    linear-gradient(180deg,#ffffff 0%,#f0fdf4 54%,#f8fbf9 100%);
}

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

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

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

/* HERO MOCKUP */

.combles-demo{
  background:#0f172a;
  border-radius:30px;
  padding:28px;
  color:#fff;
  box-shadow:0 30px 80px rgba(15,23,42,.22);
}

.demo-top{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:22px;
}

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

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

.demo-top strong{
  margin-left:auto;
  color:#bbf7d0;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.roof-demo{
  height:300px;
  border-radius:22px;
  background:linear-gradient(180deg,#dbeafe,#f8fafc);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.roof-shape{
  position:relative;
  width:360px;
  height:220px;
  background:#f97316;
  clip-path:polygon(50% 0%,100% 38%,85% 38%,85% 100%,15% 100%,15% 38%,0 38%);
  filter:drop-shadow(0 25px 35px rgba(15,23,42,.20));
}

.roof-shape::after{
  content:"";
  position:absolute;
  inset:56px 76px 40px;
  background:#fff7ed;
  border-radius:16px;
  box-shadow:inset 0 0 0 8px rgba(15,23,42,.08);
}

.combles-kpis{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}

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

.combles-kpis small{
  display:block;
  color:#cbd5e1;
  margin-bottom:8px;
  font-weight:800;
}

.combles-kpis strong{
  display:block;
  color:#fff;
  font-size:28px;
  font-weight:950;
}

/* FONCTIONNALITÉS */

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

.answer-grid article{
  min-height:230px;
  padding:30px 24px;
}

/* RESULTATS */

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

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

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

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

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

.combles-result-grid strong{
  color:#22c55e;
  font-size:34px;
  font-weight:950;
}

/* SECTION VIDEO PREVIEW */

.combles-video-preview{
  padding:80px 0;
  background:
    radial-gradient(circle at 10% 20%,rgba(34,197,94,.08),transparent 28%),
    linear-gradient(180deg,#ffffff,#f8fbf9);
}

.combles-preview-card{
  background:
    radial-gradient(circle at 78% 8%,rgba(34,197,94,.14),transparent 30%),
    linear-gradient(135deg,#ffffff 0%,#f8fbf9 100%);
  border:1px solid rgba(226,238,234,.95);
  border-radius:32px;
  padding:46px;
  box-shadow:0 30px 90px rgba(15,23,42,.10);
  overflow:hidden;
  position:relative;
}

.combles-preview-card::before{
  content:"";
  position:absolute;
  right:70px;
  top:55px;
  width:140px;
  height:140px;
  background-image:radial-gradient(rgba(34,197,94,.22) 2px,transparent 2px);
  background-size:18px 18px;
  opacity:.75;
}

.combles-preview-head{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1fr 520px;
  gap:44px;
  align-items:center;
}

.combles-preview-copy{
  text-align:center;
}

.combles-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:#e8fff0;
  color:#0a7c49;
  border:1px solid #c8f4d8;
  border-radius:999px;
  padding:12px 22px;
  font-size:14px;
  font-weight:950;
  text-transform:uppercase;
  margin-bottom:26px;
}

.combles-preview-copy h2{
  margin:0;
  color:#0f172a;
  font-size:clamp(42px,5vw,66px);
  line-height:1.05;
  letter-spacing:-.055em;
}

.combles-preview-copy h2 strong{
  display:block;
  color:#16a34a;
}

.combles-preview-copy p{
  max-width:760px;
  margin:26px auto 0;
  color:#334155;
  font-size:20px;
  line-height:1.7;
}

/* VISUEL COMBLES */

.combles-visual{
  min-height:330px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.attic-house{
  width:430px;
  height:260px;
  position:relative;
  filter:drop-shadow(0 24px 34px rgba(15,23,42,.18));
}

.roof-left,
.roof-right{
  position:absolute;
  top:18px;
  width:235px;
  height:36px;
  background:linear-gradient(135deg,#92400e,#f97316);
  border-radius:14px;
  z-index:3;
}

.roof-left{
  left:24px;
  transform:rotate(-24deg);
  transform-origin:right center;
}

.roof-right{
  right:24px;
  transform:rotate(24deg);
  transform-origin:left center;
}

.attic-body{
  position:absolute;
  left:54px;
  right:54px;
  bottom:18px;
  height:178px;
  background:
    linear-gradient(90deg,rgba(146,64,14,.95),rgba(217,119,6,.78)),
    #d97706;
  border-radius:18px 18px 8px 8px;
  border:8px solid #b45309;
  overflow:hidden;
}

.attic-body::before{
  content:"";
  position:absolute;
  left:50%;
  top:-52px;
  transform:translateX(-50%) rotate(45deg);
  width:170px;
  height:170px;
  border-left:10px solid #b45309;
  border-top:10px solid #b45309;
}

.insulation-cloud{
  position:absolute;
  bottom:20px;
  height:50px;
  background:#f8fafc;
  border-radius:999px;
  box-shadow:
    28px -8px 0 #e2e8f0,
    56px 4px 0 #f1f5f9,
    84px -10px 0 #e2e8f0,
    112px 2px 0 #f8fafc;
  opacity:.95;
}

.cloud-1{left:28px;width:95px}
.cloud-2{left:118px;width:110px}
.cloud-3{right:62px;width:100px}

/* STATS */

.combles-preview-stats{
  margin-top:38px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
}

.stat-card{
  background:rgba(255,255,255,.86);
  border:1px solid rgba(226,238,234,.95);
  border-radius:24px;
  padding:26px 18px;
  text-align:center;
  box-shadow:0 18px 45px rgba(15,23,42,.08);
}

.stat-card span{
  width:70px;
  height:70px;
  display:grid;
  place-items:center;
  margin:0 auto 20px;
  border-radius:50%;
  font-size:30px;
  background:#f0fdf4;
}

.stat-card strong{
  display:block;
  font-size:38px;
  font-weight:950;
  line-height:1;
  margin-bottom:12px;
}

.stat-card h3{
  margin:0 0 10px;
  font-size:18px;
}

.stat-card p{
  margin:0;
  color:#64748b;
  line-height:1.5;
}

.stat-card.green strong{color:#16a34a}
.stat-card.orange strong{color:#f97316}
.stat-card.blue strong{color:#2563eb}
.stat-card.purple strong{color:#7c3aed}
.stat-card.yellow strong{color:#ca8a04}

.stat-card.orange span{background:#fff7ed}
.stat-card.blue span{background:#eff6ff}
.stat-card.purple span{background:#f5f3ff}
.stat-card.yellow span{background:#fefce8}

/* RAPPORT */

.combles-report-row{
  margin-top:30px;
  background:
    linear-gradient(135deg,rgba(34,197,94,.10),rgba(249,115,22,.08)),
    #ffffff;
  border:1px solid #c8f4d8;
  border-radius:24px;
  padding:28px;
  display:grid;
  grid-template-columns:100px 1fr auto;
  gap:26px;
  align-items:center;
}

.report-icon{
  width:82px;
  height:82px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#e8fff0;
  color:#0a7c49;
  font-weight:950;
  border:1px solid #c8f4d8;
}

.combles-report-row h3{
  margin:0 0 10px;
  font-size:24px;
}

.combles-report-row p{
  margin:0;
  color:#475569;
  line-height:1.65;
}

.report-cta{
  background:linear-gradient(135deg,#f97316,#ea580c);
  color:#fff;
  border-radius:14px;
  padding:18px 28px;
  font-weight:950;
  white-space:nowrap;
  box-shadow:0 18px 38px rgba(249,115,22,.28);
}

/* BENEFICES */

.combles-benefits{
  margin-top:26px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  color:#334155;
  font-weight:850;
}

.combles-benefits span{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
}

/* 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;
}

/* FAQ */

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

.faq-list{
  max-width:950px;
  margin:auto;
}

.faq-list details{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  margin-bottom:16px;
  padding:22px 24px;
  box-shadow:0 12px 35px rgba(15,23,42,.04);
}

.faq-list summary{
  cursor:pointer;
  font-size:18px;
  font-weight:900;
  color:#0f172a;
  list-style:none;
}

.faq-list summary::-webkit-details-marker{
  display:none;
}

.faq-list summary::after{
  content:"+";
  float:right;
  font-size:24px;
  color:#22c55e;
}

.faq-list details[open] summary::after{
  content:"−";
}

.faq-list p{
  margin-top:16px;
  color:#64748b;
  line-height:1.8;
  font-size:15px;
}

/* RESPONSIVE */

@media(max-width:1150px){
  .combles-hero-grid,
  .combles-preview-head,
  .seo-layout{
    grid-template-columns:1fr;
  }

  .product-grid-6,
  .combles-result-grid,
  .combles-preview-stats,
  .combles-benefits{
    grid-template-columns:repeat(2,1fr);
  }

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

@media(max-width:760px){
  .combles-hero{
    padding:54px 0 56px;
  }

  .combles-hero h1{
    font-size:40px;
  }

  .combles-left>p{
    font-size:17px;
  }

  .combles-demo{
    padding:20px;
  }

  .roof-demo{
    height:230px;
  }

  .roof-shape{
    width:260px;
    height:170px;
  }

  .product-grid-6,
  .combles-kpis,
  .combles-result-grid,
  .combles-preview-stats,
  .combles-benefits{
    grid-template-columns:1fr;
  }

  .combles-preview-card{
    padding:28px 18px;
  }

  .combles-preview-copy h2{
    font-size:38px;
  }

  .combles-preview-copy p{
    font-size:17px;
  }

  .combles-visual{
    min-height:250px;
  }

  .attic-house{
    width:310px;
    transform:scale(.9);
  }

  .combles-report-row{
    grid-template-columns:1fr;
    text-align:center;
  }

  .report-icon{
    margin:auto;
  }

  .report-cta{
    width:100%;
    text-align:center;
  }
}
