
/* Général */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: "Montserrat", sans-serif;
}

h1 {
    font-size:50px;
}
h2{
    font-size: 40px;
}
h3 {
    font-size: 35px;
}
h4 {
    font-size: 30px;
}
p, button {
    font-family: "Libertinus Sans", sans-serif;
    font-size: 25px;
}
/* 1. Menu */
.menu {
  background-color: #1e4d92; /* Bleu */
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.menu .logo {
  font-weight: bold;
  font-size: 1.5rem;
  margin-left: 50px;;
}

.menu .nav-links a {
  margin-left: 1rem;
  color: white;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  margin-right: 50px;
  font-size: 20px;
}

.menu .nav-links a:hover {
  color: #bebbbb;
}
/* 2. Slider d'images */
.image-slider {
  position: relative;
  overflow: hidden;
  height: 400px;
  background-color: #f0f0f0;
  display: flex;
}

.image-slider .slide {
  min-width: 100%;
  transition: transform 0.5s ease-in-out;
  padding: 2rem;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.slide {
    padding:100px 100px!important;
}
.image-slider .slide.active {
  display: flex;
}

.image-slider h2 {
  font-size: 50px;
  margin-bottom: 1rem;
}
.image-slider h1,
.image-slider h2 {
  color:#ffff;
}
.image-slider p {
  color:#ffff;;
}
.image-slider button {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #1e4d92;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 20px;;
}
.slide1 {
     background-image: url("images/img_solutions_domotique.webp");
     background-repeat: no-repeat;
     background-size: cover;
}
.slide2 {
     background-image: url("images/img_solutions_industrie_viticole.webp");
     background-repeat: no-repeat;
     background-size: cover;
}
.slide3 {
     background-image: url("images/img_solutions_electrique.webp");
     background-repeat: no-repeat;
     background-size: cover;
}
.slide4 {
     background-image: url("images/img_securite_electricite.webp");
     background-repeat: no-repeat;
     background-size: cover;
}
.image-slider .prev,
.image-slider .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 50%;
}

.image-slider .prev {
  left: 10px;
}

.image-slider .next {
  right: 10px;
}

.image-slider .prev:hover,
.image-slider .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Indicateurs */
.indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.indicators button {
  border: none;
  cursor: pointer;
}

.indicators button.active {
  background-color: white;
}

/* 3. Section CTA */

.cta-section {
    text-align: center;
    padding: 100px;
    line-height:2.5;
}
.cta-section button {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #ffa200;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 20px;;
  text-transform: uppercase;
  font-size: 15px;
}
/* 3. Section orange avec blocs */
.orange-section {
  background-color: orange;
  padding: 2rem;
  color: #333;
}

.orange-section .top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.orange-section .top-row h3 {
  font-size: 50px;
  margin-right: 100px;
}

.orange-section .blocks {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.orange-section .block {
  background-color: white;
  padding: 1rem;
  flex: 1;
  text-align: center;
  min-width: 200px;
  border-radius: 5px;
}

.orange-section .block i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #007BFF;
}

.orange-section .block h4 {
  margin-bottom: 0.5rem;
}

.icone {
    width: 70px;
}

/* 4. Slider de logos */
.logo-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: #f9f9f9;
}

.logo-wrapper {
  width: 90%; /* largeur visible (3 logos) */
  overflow: hidden;
}

.logo-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.logo-item {
  flex: 0 0 33.333%; /* 3 colonnes */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.logo-item img {
  max-width: 100px;
  height: auto;
}

/* Boutons */
.logo-carousel .logo-prev,
.logo-carousel .logo-next {
  background-color: rgba(0,0,0,0.5);
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.logo-carousel .logo-prev:hover,
.logo-carousel .logo-next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* 5. Section contact avec image et formulaire */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  padding: 2rem;
  gap: 2rem;
}

.contact-section .image-side {
  flex: 1;
  min-width: 300px;
}

.contact-section .image-side img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.contact-section .form-side {
  flex: 1;
  min-width: 300px;
}

.contact-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-section form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 50px;
}

.contact-section input,
.contact-section textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: "Libertinus Sans", sans-serif;
}

.contact-section button {
  padding: 0.5rem 1rem;
  background-color: #1e4d92;
  border: none;
  color: white;
  cursor: pointer;
  align-self: flex-start;
  border-radius: 20px;
  font-size: 15px;
  text-transform: uppercase;
}

/* 6. Footer */
.footer {
  background-color: #007BFF;
  color: white;
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.logo-text p {
    text-align: center;
    font-size:15px;;
}
.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-block {
  flex: 1;
  min-width: 200px;
  margin:0px 20px;
}

.contact-info h4,
.social-logos h4 {
    padding-bottom: 20px;
}

.social-logos div {
    display: flex;
    align-items: center;
}
.social-logos img {
    margin-right: 10px;
}
.contact-info img {
    width: 30px;
    margin-right: 10px;
}

.contact-info div {
    padding-bottom: 10px;
}
.footer .logo {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer .contact-info div {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.footer .contact-info i {
  margin-right: 0.5rem;
}

.footer .social-logos img {
  display: block;
  width: 30px;
  margin-bottom: 0.5rem;
}