:root{
  --orange:#f97316;
  --orange-dark:#ea580c;
  --green:#009f5b;
  --dark:#071f1f;
  --deep:#063a33;
  --text:#102020;
  --muted:#5f6f6d;
  --soft:#f7fbf8;
  --card:#ffffff;
  --border:#e6eeea;
  --shadow:0 18px 45px rgba(15,23,42,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:#fff;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{width:min(1180px,calc(100% - 48px));margin:auto}

/* HEADER */
.topbar{
  background:#fff;
  position:sticky;
  top:0;
  z-index:50;
  border-bottom:1px solid rgba(230,238,234,.8);
}
.nav{
  height:86px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand{
  display:flex;
  flex-direction:column;
  gap:4px;
  font-weight:900;
}
.brand img{height:65px;width:auto;object-fit:contain}
.brand span{font-size:12px;color:#54625f;font-weight:600}
.nav nav{
  display:flex;
  align-items:center;
  gap:28px;
  font-size:14px;
  font-weight:800;
}
.nav nav a:hover{color:var(--orange)}
.nav-actions{display:flex;align-items:center;gap:12px}
.btn-login{
  padding:14px 22px;
  border:1px solid #b9d2c8;
  border-radius:10px;
  font-weight:850;
  color:#063a33;
  background:#fff;
}
.btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,var(--orange),var(--orange-dark));
  color:#fff;
  padding:17px 28px;
  border-radius:10px;
  font-weight:900;
  box-shadow:0 16px 35px rgba(249,115,22,.28);
}
.btn-primary.small{padding:14px 22px}
.btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  color:#102020;
  padding:17px 28px;
  border:1px solid var(--border);
  border-radius:10px;
  font-weight:900;
}

/* HERO */
.hero{
  padding:76px 0 56px;
  background:#fff;
}
.hero-grid{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:64px;
  align-items:center;
}
.pill{
  display:inline-flex;
  align-items:center;
  background:#f3fff7;
  border:1px solid #d8f4e3;
  color:#0a7c49;
  padding:10px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:900;
  margin-bottom:26px;
}
.hero h1{
  margin:0 0 24px;
  font-size:clamp(44px,5vw,66px);
  line-height:1.08;
  letter-spacing:-.045em;
  color:#09211f;
}
.hero h1 span{color:var(--orange)}
.hero-left > p{
  max-width:590px;
  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}
.rating{
  margin-top:30px;
  display:flex;
  align-items:center;
  gap:14px;
  color:#1d3330;
  font-size:14px;
}
.avatars{display:flex}
.avatars span{
  width:28px;height:28px;border-radius:50%;
  background:linear-gradient(135deg,#fed7aa,#f97316);
  border:2px solid #fff;
  margin-left:-8px;
}
.avatars span:first-child{margin-left:0}
.stars{color:#f59e0b;letter-spacing:2px}

/* HERO IMAGE + FLOATING CARDS */
.hero-right{position:relative}
.house-wrap{
  position:relative;
  min-height:560px;
  border-radius:34px;
  overflow:visible;
}
.house-img{
  width:100%;
  height:560px;
  object-fit:cover;
  border-radius:34px;
  filter:drop-shadow(0 28px 42px rgba(15,23,42,.16));
}
.info-card,.score-card,.mini-kpis>div{
  background:rgba(255,255,255,.95);
  border:1px solid rgba(230,238,234,.9);
  box-shadow:0 20px 45px rgba(15,23,42,.12);
  backdrop-filter:blur(16px);
}
.info-card{
  position:absolute;
  right:0;
  top:36px;
  width:210px;
  border-radius:18px;
  padding:20px;
}
.info-card h4,.score-card h4{margin:0 0 16px;font-size:15px}
.info-card p{margin:12px 0;color:#435653;font-size:14px}
.info-card a{display:inline-block;margin-top:10px;color:var(--orange);font-weight:850;font-size:13px}

.score-card{
  position:absolute;
  left:92px;
  right:28px;
  bottom:128px;
  border-radius:20px;
  padding:22px;
}
.score-bar{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  height:24px;
  overflow:visible;
  border-radius:999px;
  margin-bottom:22px;
}
.score-bar span{
  display:flex;align-items:center;justify-content:center;
  font-size:11px;font-weight:900;color:#fff;
}
.score-bar span:nth-child(1){background:#22c55e;border-radius:999px 0 0 999px}
.score-bar span:nth-child(2){background:#84cc16}
.score-bar span:nth-child(3){background:#eab308}
.score-bar span:nth-child(4){background:#f59e0b}
.score-bar span:nth-child(5){background:#f97316}
.score-bar span:nth-child(6){background:#ef4444;position:relative}
.score-bar span:nth-child(7){background:#dc2626;border-radius:0 999px 999px 0}
.score-bar .active{
  transform:scale(1.45);
  border-radius:999px!important;
  box-shadow:0 12px 25px rgba(249,115,22,.3);
}
.score-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.score-row strong{
  width:44px;height:44px;border-radius:999px;
  display:grid;place-items:center;
  background:var(--orange);color:#fff;font-size:24px;
}
.score-row .green{background:#16a34a}
.score-row small{display:block;margin-top:8px;color:#64748b;font-size:12px}
.arrow{font-size:34px;color:#16a34a;font-weight:900}
.mini-kpis{
  position:absolute;
  left:24px;
  right:24px;
  bottom:0;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.mini-kpis>div{
  border-radius:18px;
  padding:18px;
  text-align:center;
}
.mini-kpis span{font-size:25px}
.mini-kpis small{display:block;color:#64748b;font-weight:800;margin:8px 0}
.mini-kpis strong{font-size:22px;color:var(--orange);font-weight:950}

/* ANSWERS */
.answers{padding:58px 0 18px;background:#fff}
.answers h2,.how h2{
  text-align:center;
  margin:0 0 30px;
  font-size:30px;
  letter-spacing:-.03em;
}
.answer-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:22px;
}
.answer-grid article{
  background:#f8fbf9;
  border:1px solid var(--border);
  border-radius:20px;
  padding:26px 22px;
  min-height:220px;
}
.answer-grid article:nth-child(1){background:#fff7ed}
.answer-grid article:nth-child(2){background:#f0fdf4}
.answer-grid article:nth-child(3){background:#eff6ff}
.answer-grid article:nth-child(4){background:#faf5ff}
.answer-grid article:nth-child(5){background:#f0fdfa}
.icon{
  width:48px;height:48px;border-radius:16px;
  display:grid;place-items:center;
  font-size:24px;
  margin-bottom:18px;
}
.icon.orange{background:#ffedd5}.icon.green{background:#dcfce7}.icon.blue{background:#dbeafe}.icon.purple{background:#ede9fe}.icon.teal{background:#ccfbf1}
.answer-grid h3{font-size:19px;margin:0 0 12px}
.answer-grid p{font-size:15px;color:#485b58;line-height:1.65}
.answer-grid a{color:var(--orange);font-weight:900;font-size:14px}

/* SIMULATORS */
.simulators{padding:18px 0 46px;background:#fff}
.sim-box{
  background:linear-gradient(135deg,#062d2b,#041f1e);
  border-radius:22px;
  padding:34px 32px 50px;
  color:#fff;
  text-align:center;
  position:relative;
}
.sim-box h2{font-size:28px;margin:0 0 8px}
.sim-box>p{color:#cbd5e1;margin:0 0 26px}
.sim-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.sim-grid article{
  background:#fff;
  color:#102020;
  border-radius:18px;
  padding:26px 22px;
  text-align:left;
}
.sim-grid h3{font-size:18px;margin:0 0 12px}
.sim-grid p{color:#64748b;line-height:1.55;font-size:14px}
.sim-grid a{color:var(--orange);font-weight:900}
.btn-sim{
  position:absolute;
  left:50%;
  bottom:-22px;
  transform:translateX(-50%);
  background:linear-gradient(135deg,var(--orange),var(--orange-dark));
  color:#fff;
  padding:16px 42px;
  border-radius:10px;
  font-weight:950;
  box-shadow:0 16px 35px rgba(249,115,22,.28);
}

/* HOW */
.how{padding:70px 0 38px;background:#fff}
.how-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}
.how-grid article{
  background:#f8fbf9;
  border:1px solid var(--border);
  border-radius:18px;
  padding:26px;
  position:relative;
}
.how-grid article:not(:last-child)::after{
  content:"→";
  position:absolute;
  right:-18px;
  top:50%;
  transform:translateY(-50%);
  color:var(--orange);
  font-size:30px;
  font-weight:900;
}
.how-grid strong{
  width:42px;height:42px;border-radius:999px;
  display:grid;place-items:center;
  background:#fff7ed;color:var(--orange);font-size:19px;
  margin-bottom:16px;
}
.how-grid h3{font-size:18px;margin:0 0 10px}
.how-grid p{color:#64748b;font-size:14px;line-height:1.6}

/* TRUST */
.trust{padding:22px 0 38px;background:#fff}
.trust-box{
  background:#f8fbf9;
  border:1px solid var(--border);
  border-radius:22px;
  padding:30px;
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:30px;
}
.trust h3{margin:0 0 18px;font-size:22px}
.trust ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.trust li::before{content:"✓";color:#16a34a;font-weight:900;margin-right:8px}
.trust-logos{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
  align-items:center;
}
.trust-logos span{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:24px 10px;
  text-align:center;
  color:#0f172a;
  font-size:24px;
  font-weight:950;
}

/* CTA */
.cta-final{
  padding:0 0 46px;
  background:#fff;
}
.cta-inner{
  width:100%;
  background:linear-gradient(135deg,var(--orange),var(--orange-dark));
  border-radius:18px;
  color:#fff;
  padding:50px 60px;

  display:grid;
  grid-template-columns:1fr 520px;
  gap:60px;
  align-items:center;
}
.cta-inner h2{
  max-width:520px;
  margin:0;
  font-size:31px;
  line-height:1.25;
}

.cta-inner .cta-text{
  display:block;
}
.toast{
  position:fixed;
  right:24px;
  bottom:24px;
  background:#063a33;
  color:white;
  padding:16px 22px;
  border-radius:12px;
  font-weight:800;
  box-shadow:0 20px 45px rgba(15,23,42,.25);
  opacity:0;
  transform:translateY(20px);
  pointer-events:none;
  transition:.3s;
  z-index:9999;
}

.toast.show{
  opacity:1;
  transform:translateY(0);
}
.btn-white{
  background:#fff;
  color:#0f172a;
  padding:17px 34px;
  border-radius:9px;
  font-weight:950;
}

.demo-form{
  width:100%;
}

.demo-form button{
  width:100%;
}

@media(max-width:720px){
  .cta-inner{
    display:grid;
    grid-template-columns:1fr;
  }
}

/* ==========================
   TARIFS
========================== */

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

.section-title{
  text-align:center;
  margin-bottom:50px;
}

.section-title span{
  color:var(--orange);
  font-size:12px;
  font-weight:900;
  letter-spacing:2px;
}

.section-title h2{
  font-size:48px;
  line-height:1.1;
  margin-top:10px;
}

.pricing-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
}

.price-card{
  position:relative;
  background:#fff;
  border:1px solid var(--border);
  border-radius:26px;
  padding:34px;
  box-shadow:var(--shadow);
}

.featured{
  border:2px solid var(--orange);
}

.badge-pro,
.badge-particulier{
  position:absolute;
  top:0;
  right:0;
  color:#fff;
  font-size:12px;
  font-weight:900;
  padding:8px 14px;
  border-radius:0 24px 0 14px;
}

.badge-pro{
  background:var(--orange);
}

.badge-particulier{
  background:var(--orange);
}

.price{
  margin:25px 0;
}

.price strong{
  font-size:56px;
}

.price span{
  color:#64748b;
}

.price-card ul{
  margin:25px 0;
  padding-left:18px;
}

.price-card li{
  margin-bottom:12px;
}

.btn-pricing-main{
  display:block;
  text-align:center;
  background:var(--orange);
  color:#fff;
  padding:15px;
  border-radius:12px;
  font-weight:900;
  margin-top:20px;
}

.btn-pricing-secondary{
  display:block;
  text-align:center;
  border:1px solid var(--border);
  padding:15px;
  border-radius:12px;
  margin-top:12px;
  font-weight:800;
}

/* ==========================
   VIDEOS
========================== */

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

.video-main {
  background: white;
  border-radius: 30px;
  padding: 30px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(15,23,42,.06);
}

.video-main video {
  width: 100%;
  border-radius: 20px;
  margin-top: 20px;
}

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

.video-item {
  background: white;
  border-radius: 24px;
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(15,23,42,.05);
}

.video-item video {
  width: 100%;
  border-radius: 14px;
  margin-top: 15px;
}

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

.video-item-header h3 {
  margin-top: 8px;
  font-size: 18px;
}

@media(max-width:1100px){

  .video-gallery{
    grid-template-columns:1fr;
  }

}

@media(max-width:768px){

  .video-grid{
    grid-template-columns:1fr;
  }

}
/* ==========================
   MOBILE
========================== */

@media(max-width:900px){

  .pricing-grid{
    grid-template-columns:1fr;
  }

  .video-grid{
    grid-template-columns:1fr;
  }

}

/* ==========================
   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:var(--orange);
}

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

.faq-list p{
  margin-top:16px;
  color:#64748b;
  line-height:1.8;
  font-size:15px;
}
.demo-form{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.demo-form input,
.demo-form select,
.demo-form textarea{
    width:100%;
    padding:15px 18px;
    border:none;
    border-radius:10px;
    font-size:15px;
    font-family:inherit;
}

.demo-form textarea{
    grid-column:1 / 3;
    min-height:110px;
    resize:vertical;
}

.demo-form button{
    grid-column:1 / 3;
    background:white;
    color:var(--orange);
    font-weight:900;
    border:none;
    padding:16px;
    border-radius:10px;
    cursor:pointer;
    transition:.25s;
}

.demo-form button:hover{
    transform:translateY(-2px);
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

/* ==========================
   FOOTER
========================== */

.footer{
    background:#071f1f;
    color:#fff;
    margin-top:80px;
}

.footer-grid{
    display:grid;
    grid-template-columns:340px 220px 220px 220px;
    justify-content:space-between;
    align-items:start;
    gap:40px;
    padding:70px 0 40px;
}

.footer-column h4{
    margin-bottom:18px;
    font-size:18px;
}

.footer-column ul{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-column li{
    margin-bottom:12px;
}

.footer-column a{
    color:#b8c7c5;
}

.footer-column a:hover{
    color:white;
}


.footer-logo{
    height:70px;
    margin-bottom:20px;
}

.footer-brand p{
    color:#b8c7c5;
    line-height:1.7;
    max-width:320px;
}

.footer-buttons{
    display:flex;
    gap:12px;
    margin-top:25px;
    flex-wrap:wrap;
}

.footer h4{
    margin:0 0 20px;
    font-size:18px;
    color:#fff;
}

.footer ul{
    list-style:none;
    padding:0;
    margin:0;
}

.footer li{
    margin-bottom:12px;
}

.footer a{
    color:#b8c7c5;
    transition:.2s;
}

.footer a:hover{
    color:#fff;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.08);
    text-align:center;
    padding:22px;
    color:#8fa5a1;
    font-size:14px;
}

@media(max-width:900px){

    .footer-grid{
        grid-template-columns:1fr;
        gap:35px;
        padding:50px 0;
    }

}


/* RESPONSIVE */
@media(max-width:1100px){
  .nav nav,.nav-actions{display:none}
  .hero-grid{grid-template-columns:1fr}
  .hero-right{max-width:720px}
  .answer-grid,.sim-grid{grid-template-columns:repeat(2,1fr)}
  .how-grid{grid-template-columns:repeat(2,1fr)}
  .how-grid article::after{display:none!important}
  .trust-box{grid-template-columns:1fr}
}
@media(max-width:720px){
  .container{width:min(100% - 28px,1180px)}
  .nav{height:76px}
  .brand img{height:44px}
  .hero{padding:50px 0}
  .hero h1{font-size:40px}
  .hero-left>p{font-size:17px}
  .hero-buttons,.rating{align-items:flex-start;flex-direction:column}
  .house-img{height:360px}
  .info-card,.score-card,.mini-kpis{
    position:static;
    margin-top:14px;
  }
  .mini-kpis{grid-template-columns:1fr}
  .answer-grid,.sim-grid,.how-grid,.trust-logos{grid-template-columns:1fr}
  .sim-box{padding:28px 20px 58px}
  .cta-inner{flex-direction:column;align-items:flex-start;padding:34px 24px}
  .footer-inner{flex-direction:column}
}
