:root{
  --green:#09AE64;
  --text:#0f172a;
  --muted:#5b6472;
  --bg:#f5f7f7;
  --card:#ffffff;
  --shadow:0 10px 25px rgba(15, 23, 42, 0.08);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }

body{
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.header{
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header__inner{
  display:flex;
  justify-content: space-between;
  align-items:center;
  padding: 20px 40px;
}

/* BUTTONS */
.btn{
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-weight:700;
  border: 1px solid transparent;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }

.btn--primary{
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 18px rgba(9, 174, 100, 0.25);
}
.btn--primary:hover{
  box-shadow: 0 12px 24px rgba(9, 174, 100, 0.35);
}

.btn--ghost{
  background: #fff;
  border-color: rgba(9, 174, 100, 0.35);
  color: var(--green);
}
.btn--ghost:hover{
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

/* HERO (image maison + dégradé à gauche) */
.hero{
  position: relative;
  min-height: 560px;
  display:flex;
  align-items: center;
  background: url("assets/img/maison.png") right center / 150% no-repeat;
  overflow: hidden;
}

/* Dégradé blanc à gauche (comme la maquette) */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.98) 0%,
    rgba(255,255,255,0.94) 35%,
    rgba(255,255,255,0.65) 55%,
    rgba(255,255,255,0.10) 72%,
    rgba(255,255,255,0.00) 100%
  );
  pointer-events:none;
}

.hero__inner{
  position: relative;
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 58px 0;
}

.hero__left{
  width: min(620px, 100%);
}

/* Logo + lignes comme sur ton visuel */
.hero__logo{
  width: 560px;   /* augmente/diminue si besoin */
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 0 14px 0;
}

.hero__lines{
  font-size: 34px;
  font-weight: 800;
  margin: 0 0 10px 0;
  color: #0f172a;
}

.hero__subtitle{
  margin: 0 0 18px 0;
  color: var(--muted);
  font-size: 18px;
}

.hero__buttons{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Badges à droite (pills) */
.hero__badges{
  display:flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
  min-width: 240px;
}

.badge{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,23,42,0.06);
}
.badge__icon{
  width: 28px;
  height: 28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 10px;
  background: rgba(9,174,100,0.10);
}
.badge__text{
  font-weight: 700;
  color: #1f2937;
}

/* SECTIONS */
.section__title{
  text-align:center;
  margin: 0 0 8px 0;
  font-size: 34px;
  letter-spacing: -0.3px;
}
.section__subtitle{
  text-align:center;
  margin: 0 0 30px 0;
  color: var(--muted);
}

/* PRESTATIONS */
.services{
  padding: 64px 0;
}
.services__grid{
  display:flex;
  justify-content:center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
}

.card{
  width: 200px;
  background: var(--card);
  border-radius: 14px;
  padding: 18px 16px;
  text-align:center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,23,42,0.06);
}
.card__icon{
  width: 74px;
  height: 74px;
  object-fit: contain;
  margin: 2px auto 10px auto;
  display:block;
}
.card__title{
  margin: 0 0 6px 0;
  font-size: 18px;
}
.card__text{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.center{
  display:flex;
  justify-content:center;
  margin-top: 24px;
}

/* POURQUOI */
.why{
  padding: 64px 0;
  background: linear-gradient(to bottom, #ffffff, #eef7f2);
  position: relative;
  overflow: hidden;
}

.why::before{
  content:"";
  position:absolute;
  left:-10%;
  top:40%;
  width:120%;
  height:220px;
  background: rgba(9,174,100,0.06);
  transform: rotate(-6deg);
  pointer-events:none;
}

.why__inner{
  position: relative;
  display:flex;
  align-items:center;
  gap: 34px;
}
.why__left{
  width: 50%;
}
.why__right{
  width: 50%;
  display:flex;
  justify-content:flex-end;
}
.why__img{
  width: min(520px, 100%);
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,23,42,0.06);
  display:block;
}

.why__title{
  font-size: 40px;
  line-height: 1.05;
  margin: 0 0 18px 0;
}

.checklist{
  list-style:none;
  padding:0;
  margin: 0 0 18px 0;
}
.checklist li{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  margin: 10px 0;
  color: #334155;
  line-height: 1.4;
}
.checklist li::before{
  content:"";
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(9,174,100,0.18);
  box-shadow: inset 0 0 0 6px rgba(9,174,100,0.35);
  flex: 0 0 18px;
}

/* autres sections */
.realisations, .contact{
  padding: 64px 0;
}

/* RESPONSIVE */
@media (max-width: 900px){
  .hero{
    min-height: auto;
    background-position: center;
  }
  .hero__inner{
    flex-direction: column;
    align-items: flex-start;
    padding: 44px 0;
  }
  .hero__badges{
    min-width: unset;
    width: 100%;
    max-width: 520px;
  }

  .hero__logo{ width: 380px; }
  .hero__lines{ font-size: 24px; }

  .why__inner{
    flex-direction: column;
    align-items: flex-start;
  }
  .why__left, .why__right{ width: 100%; }
  .why__title{ font-size: 32px; }
}
.header__logo{
  height: 60px;
  width: auto;
  margin-right: 30px;
}
.contact__grid{
  display:flex;
  gap:40px;
  margin-top:30px;
  flex-wrap:wrap;
}

.contact__infos{
  flex:1;
  font-size:18px;
}

.contact__form{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:15px;
}

.contact__form input,
.contact__form textarea{
  padding:12px;
  border-radius:8px;
  border:1px solid #ddd;
  font-size:16px;
}

.contact__form textarea{
  min-height:120px;
}
.contact__infos i{
  color:#09AE64;
  margin-right:10px;
}
.contact__infos a{
  color: #0f172a;
  text-decoration: none;
  margin-left:5px;
}