/*-----------------------------------------------------1 ere section bare de menu----------------------------------------------------------------*/

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background: radial-gradient(circle at center, #52350b 0%, #000000 42%, #000 100%);
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #cbc728;
    margin-bottom: 0.5rem;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    margin: 14px;
color: #ffa700;
}

.hero-content .btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, rgb(221 194 1), rgb(168 100 15));
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    margin: 14px;
    cursor: default;
    pointer-events: none;
}
  .hero-content .btn:hover {
    background-color: #145da0;
  }



/*-----------------------------------------------------2 ere section bare de menu----------------------------------------------------------------*/

/* RÃ©initialisation des marges et du padding */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #000;
     margin: 0;
    overflow-x: hidden;
  
   
  
    height: 100vh;
    flex-direction: column;
}

        
      
  
* {
    box-sizing: border-box;
}


/* RÃ©initialisation des marges et du padding */
body {
    margin: 0;
    font-family: Arial, sans-serif;
        background: black;
}

/* Style par dÃ©faut (transparent) */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent; /* Transparent au dÃ©but */
    padding: 0px 17px;
    color: white;
    position: fixed;   /* header fixe */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    transition: background-color 0.5s, box-shadow 0.5s; /* transition douce */
}

/* Style quand on scroll */
.header.scrolled {
    background-color: #000000c7; /* noir translucide */
    box-shadow: 0 2px 5px rgb(0, 0, 0); /* ligne/bordure en bas */
}




/* Logo */
.header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header .logo img {
    height: 85px;
}

.header .logo span {
    font-size: 22px;
    font-weight: bold;
}

/* Menu */
.header .menu {
    display: flex;
    gap: 20px;
    margin-left: auto;
    align-items: center;
}

.header .menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.header .menu a:hover {
    color: #1e90ff;
}

/* Bouton Appeler */
.header .call-button {
      background: linear-gradient(135deg, rgb(45, 168, 255), rgb(15, 95, 168));
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    margin-left: 32px;
        margin-right: 37px;
}

.header .call-button:hover {
    background-color: #4682b4;
}




.menu a {
    margin: 0 10px;
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.call-button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

/* Style du bouton menu (icÃ´ne) */
.menu-button {
    display: none; /* Masquer le bouton par dÃ©faut */
}

@media (max-width: 768px) {
    /* Masquer le bouton Appeler */
    .header .call-button {
        display: none;
    }

    /* Afficher le bouton menu (icÃ´ne) */
    .menu-button {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        color: white;
        
    }

.hero h1 {
    font-size: 38px !important;
    margin-bottom: 25px;
}

.hero {
    height: 100vh;
}

.badge {
    padding: 10px 14px;
    font-size: 12px;
    margin-bottom: 0px;
}

.cta {
    padding: 16px 19px;
    font-size: 14px;
}

    /* Cacher le menu par dÃ©faut */
    .header .menu {
        display: none;
        position: absolute;
        top: 60px; /* juste sous le header */
        right: 15px;
        flex-direction: column;
        background-color: #0a0a0a;
        padding: 10px;
        border-radius: 5px;
        gap: 15px;
        z-index: 1000;
    }

    /* Header : logo Ã  gauche, bouton menu Ã  droite */
    .header {
        justify-content: space-between; /* garde le logo Ã  gauche et le menu-button Ã  droite */
        padding: 0 15px;
        
    }

    .header .logo {
        flex-shrink: 0; /* pour Ã©viter que le logo se rÃ©trÃ©cisse */
    }

    .header .logo img {
    height: 67px;
    }
}




/*-----------------------------------------------------3 ere section bare de menu----------------------------------------------------------------*/







.phares-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 73px;
    flex-wrap: wrap;
}

/* Image brute comme sur ton visuel */
.phares-image img {
    width: 458px;
    max-width: 100%;
    border-radius: 15px;
}

/* Carte simple sombre */
.phares-card {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 15px;
    width: 373px;
    color: #fff;
}

.phares-card h2 {
  color: #2ea0ff;
  text-align: center;
  margin-bottom: 20px;
}

.prix-ligne {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-bottom: 10px; */
  padding: 15px;
   font-weight: bold;
   border-radius: 15px;
    border-bottom: 1px solid #333;
}


.prix {
  background: #2ea0ff;
  padding: 4px 10px;
  border-radius: 15px;
}

/* Bouton simple comme image */
.phares-card button {
  width: 100%;
  margin-top: 15px;
  padding: 10px;
  border: none;
  border-radius: 20px;
  background: #2ea0ff;
  color: white;
  cursor: pointer;
}

/* Bloc rouge fidÃ¨le Ã  ton image */
.phares-warning {
    margin-top: 46px;
    background: #5a0000;
    padding: 20px;
    border-radius: 15px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 120px;
}

.phares-warning p {
  color: #ff2b2b;
}






/* ===== CALCULATEUR DYNAMIQUE ===== */
.calculateur-client {
    margin-top: 20px;
    padding: 15px;
    background: #252525;
    border-radius: 12px;
    border: 1px solid #333;
}

.calculateur-client label {
    display: block;
    font-size: 14px;
    color: #ccc;
    margin-bottom: 8px;
    font-weight: bold;
}

.saisie-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.saisie-box input[type="number"] {
    width: 80px;
    padding: 8px;
    border: 2px solid #333;
    background-color: #000;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    text-align: center;
    outline: none;
    transition: border-color 0.3s;
}

.saisie-box input[type="number"]:focus {
    border-color: #2ea0ff;
}

.resultat-estimation {
    font-size: 22px;
    font-weight: bold;
    color: #2ea0ff;
    background: rgba(46, 160, 255, 0.1);
    padding: 5px 15px;
    border-radius: 8px;
    border: 1px solid rgba(46, 160, 255, 0.3);
}


.footer {
  background-color: #111;
  color: #fff;
  padding: 50px 20px;
  font-family: Arial, sans-serif;
          border-top-left-radius: 50px;
        border-top-right-radius: 50px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.footer-col {
  flex: 1 1 200px;
}

.footer-logo img {
  width: 180px;
  margin-bottom: 20px;
}

/* Social */
.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons img {
  width: 40px;
  transition: transform 0.3s;
}

.social-icons a:hover img {
  transform: scale(1.1);
}

/* Links */
.footer-col h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  line-height: 2;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #00bcd4;
}

/* Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
}

/* 📱 MOBILE */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col {
    width: 100%;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-logo img {
    margin: 0 auto 20px;
  }
  
  .phares-section {
  padding: 40px 20px;
}
}
