* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  height: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  background-color: black;
  color: white;
  height: 10vh;
  width: 100%;
}

.navbar .logo {
  cursor: pointer;
  padding: 0;
}

.navbar .logo img {
  height: 4rem;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.navbar .nav-links a {
  color: #fefcfb;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

.navbar .nav-links a:hover {
  text-decoration: underline;
}

.btn-whatsapp {
  background-color: #25D366;
  color: white;
  padding: 0.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.5s;
  border: 1.8px solid #25D366;
  margin-left: 10%;
}

.btn-whatsapp:hover {
  background-color: white;
  color: #1ebe5d;
  border: 1.8px solid #1ebe5d;
}




.video-section {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}


.background-video {
  width: 100%;
  height: auto;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

.textvideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Prend toute la section */
  background: rgba(0, 0, 0, 0.4); /* Fond semi-transparent */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 0; /* en plein écran, pas besoin de coins arrondis */
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
  color: white;
}

.textvideo h1 {
  font-size: clamp(1.5rem, 5vw, 4rem);
  margin-bottom: 0.5rem;
}

.textvideo h2 {
  font-size: clamp(1.2rem, 4vw, 3.5rem);
  margin-bottom: 0.3rem;
}

.textvideo h3 {
  font-size: clamp(1rem, 3vw, 2.2rem);
}
.textvideo h1,  .textvideo h3 {
  line-height: 1.4;
}


main .scroll{
  text-align: center;
  padding: 5%;

}
.scroll img{
  width: 40%;
  height: auto;
    display: block;
  margin-bottom: 0.5rem;
  margin: auto;
}
.btn-ensavoirplus {
  display: block;
  width: fit-content;
  margin: 0.5rem auto 0;
  background-color: #4B2E1C;
  color: white;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 2px solid #4B2E1C;
  margin-bottom: 2rem;
}

.btn-ensavoirplus:hover {
  background-color: white;
  color: #4B2E1C;
}


.bienvenue {
  background: linear-gradient(135deg, #eeeeee, #cccccc); /* effet métal brossé */
  color: #4B2E1C;
  padding: 3rem 1rem;
  text-align: center;
  font-size: 1.2rem;


}
.bienvenue h2{
  color: #110f08;
  margin-top: 1.5rem;
}
.bienvenue h3{
  padding: 0 1Rem;
  line-height: 2rem;
  color: #110f08;
  font-weight: bold;
}
.bienvenue h3 span{
  color: #4B2E1C;
}



.bienvenue img {
  display: block;
  margin: 2rem auto; /* Centre horizontalement */
  max-width: 90%;
  height: auto;
}
.bienvenue .logocomplet{
  width: 40%;
  height: auto;
}
.bienvenue .h2perso{
  padding: 0 2rem;
}
.pic1 {
  display: block;
  margin: 2rem auto;
  max-width: 100%;
  height: auto;
}


.btn-googlemap {
  display: inline-block;
  background-color: #1a3ce7;
  color: white;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid #1a3ce7;
  transition: all 0.3s ease;
}

.btn-googlemap:hover {
  background-color: white;
  color: #1a3ce7;
    border: 2px solid #1a3ce7;
}

.footer {
  background-color: #4B2E1C;
  color: white;
  padding: 2rem 1rem;
  font-family: 'Montserrat', sans-serif;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 1200px;
  margin-right: 2rem;
  margin-left: 0rem;
  gap: 1rem;

}

.footer-social{
  line-height: 2rem;
}   

.footer-info h1{
font-size: 2.5rem;
margin-left: 3rem;

}

.footer-social p,
.footer-social a {
  color: white;
  margin: 0.3rem 0;
  font-size: 0.95rem;
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: underline;
}

.footer-social h4 {
  margin-bottom: 0.5rem;
}

.social-links a img {
  width: 28px;
  height: 28px;
  margin-right: 10px;
  transition: transform 0.3s ease;
  margin-top: 1rem;
}

.social-links a:hover img {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  opacity: 0.8;
}


/* PAGE 2 */
.main2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}
.main2 h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #4B2E1C;
  text-align: center;
}

/* SECTION ARTICL */
.articl {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  background: linear-gradient(135deg, #eeeeee, #cccccc);
  padding: 2rem;
  border-radius: 10px;
  flex-wrap: wrap;
}

.leftside {
  flex: 1;
  min-width: 300px;
}
.leftside h2 {
  color: #4B2E1C;
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 900;
}
.leftside h3 {
  color: #000;
  font-size: 1.2rem;
  line-height: 1.8rem;
  font-weight: 600;
}

.rightside {
  flex: 1;
  min-width: 300px;
  text-align: center;
}
.rightside img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
}


@media (max-width: 768px) {
  .articl {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1rem;
  }
  .leftside h2 {
    font-size: 1.8rem;
  }
  .leftside h3 {
    font-size: 1rem;
  }
}

.btwatss a{
  display: block;
  width: fit-content;
  margin: 0.5rem auto 0;
  background-color: #1ebe5d;
  color: white;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 2px solid #1ebe5d;
  margin-bottom: 2rem;
}

.btwats:hover {
  background-color: white;
  color: #1ebe5d;
}



.formulaire-devis {
  background-color: #fff;
  border: 2px solid #4B2E1C;
  border-radius: 20px;
  padding: 2rem;
  width: 90%;
  max-width: 600px;
  margin: 3rem auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.formulaire-devis h2 {
  text-align: center;
  color: #4B2E1C;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.input-group label {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #4B2E1C;
  font-size: 1rem;
}

.input-group input,
.input-group textarea {
  padding: 0.9rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.input-group input[type="file"] {
  border: none;
  padding: 0.5rem 0;
}

.btn-envoyer {
  display: block;
  background-color: #4B2E1C;
  color: #fff;
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  margin: 2rem auto 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-envoyer:hover {
  background-color: #3a2317;
}

/* Animation de scroll */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}






html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .navbar,
html[dir="rtl"] .footer-content,
html[dir="rtl"] .articl {
  flex-direction: row-reverse;
}