/* =========================
   RESET
   ========================= */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================
   NAVBAR
   ========================= */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  background: white;
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 100;
}

.logo img {
  height: 55px;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  background: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  min-width: 180px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 10px 15px;
}

.nav-buttons {
  display: flex;
  gap: 10px;
}

.btn-contact,
.btn-facebook {
  background: #0d2d78;
  color: white;
  padding: 8px 14px;
  text-decoration: none;
}

.burger {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

/* =========================
   HERO
   ========================= */

.hero{
  position: relative;
  background: url('maisonf.jpg') center/cover no-repeat;
  padding: 140px 20px 320px;
  color: #fff;
  overflow: visible;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.4);
  z-index:1;
}

.hero-content{
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 10;
}

.hero-text h1{
  font-size: 2.4rem;
  line-height: 1.4;
  margin: 0;
}

/* BOX BLEUE */

.hero-box{
  position: absolute;
  right: clamp(16px, 4vw, 80px);
  top: 50%;
  transform: translateY(-10%);
  background: #0d2d78;
  color: #fff;
  padding: clamp(18px, 2.2vw, 40px);
  width: clamp(360px, 42vw, 790px);
  z-index: 20;
}

.btn-devis{
  display: inline-block;
  margin-top: 15px;
  background: #fff;
  color: #0d2d78;
  padding: 10px 20px;
  font-weight: bold;
  text-decoration: none;
}

/* IMAGE DU BAS */

.hero-bottom-image{
  position: absolute;
  left: 32%;
  bottom: -100px;   /* ⬅️ descend plus bas */
  transform: translateX(-50%);
  z-index: 5;       /* ⬅️ passe derrière la box */
}


.hero-bottom-image img{
  width: clamp(280px, 34vw, 520px);
  height: auto;
}

/* =========================
   TABLET
   ========================= */

@media (max-width: 1200px){

  .hero{
    padding: 120px 20px 160px;
  }

  .hero-box{
    right: 50%;
    transform: translate(50%, -10%);
    width: min(92%, 720px);
    top: 55%;
  }

  .hero-bottom-image img{
    width: min(520px, 70vw);
  }
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px){

  .burger {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }

  .nav-links a {
    padding: 15px;
    border-bottom: 1px solid #eee;
  }

  .nav-links.open {
    display: flex;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
  }

  .hero{
    padding: 110px 16px 30px;
  }

  .hero-text h1{
    font-size: 1.5rem;
  }

  .hero-box{
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    margin-top: 16px;
    padding: 20px;
  }

  .hero-bottom-image{
    display: none !important;
  }

  .entreprise-container{
    flex-direction: column;
  }
}

/* =========================
   PETITS MOBILES
   ========================= */

@media (max-width: 480px){
  .hero-box{
    font-size: 15px;
    padding: 18px;
  }
}

/* =========================
   ENTREPRISE
   ========================= */

.entreprise-section {
  padding: 140px 20px 80px;
}

.entreprise-container {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.entreprise-left,
.entreprise-right {
  flex: 1;
}

/* Titre : noir + mot bleu */
.entreprise-left h2{
  margin: 0 0 18px;
  color: #000;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
}

.entreprise-left h2 span{
  color: #0d2d78;
}

/* Paragraphe gauche : bleu (comme tes images) */
.entreprise-left p{
  margin: 0;
  color: #0d2d78;
  font-weight: 700;
  line-height: 1.6;
}

/* Paragraphe droite : noir/gris foncé */
.entreprise-right p{
  margin: 0;
  color: #111;
  line-height: 1.8;
}

/* =========================
   HERO BOTTOM (BANDEAU BAS)
   ========================= */

.hero-bottom{
  width: 100%;
  height: 320px;
  background: url("maisonf.jpg") center/cover no-repeat; /* change l'image si besoin */
  margin-top: 60px;
  position: relative;
}

/* filtre sombre */
.hero-bottom-overlay{
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hero-bottom-content{
  max-width: 900px;
  text-align: center;
  color: #fff;
}

.hero-bottom-content h2{
  margin: 0 0 10px;
  font-size: 42px;
  text-transform: uppercase;
  font-weight: 800;
}

.hero-bottom-content p{
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px){
  .hero-bottom{
    height: 220px;
  }

  .hero-bottom-content h2{
    font-size: 24px;
  }

  .hero-bottom-content p{
    font-size: 14px;
  }
}
