/* main color*/
:root{
--main-color: #10cab7;
--secondary-color: #2c4755;
--section-padding: 60px;
--section-background: #f6f6f6;
--main-duration: 0.3s;
}
html {
    scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
body {
    font-family: "Work Sans", sans-serif;
    background-image: url("../image/background.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
}

.container{
    padding-left: 15px;
    padding-bottom: 15px;
    margin-left: auto;
    margin-right:auto;
    margin-top: -3vw;
    color: black;
}
/* pour eviter le scrolle*/
@media (min-width: 768px){
    .container{
        width: 750px;
    }
}
@media (min-width: 992px){
    .container{
        width:970px
    }
}
@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}
.special-heading {
    color: #000000;
    font-size: 100px;
    text-align: center;
    font-weight: 800;
    letter-spacing: -3px;
    margin: 0;
}
.special-heading + p {
    margin:-30px 0 0;
    font-size: 20px;
    text-align: center;
    color: #797979;
}
@media(max-width:767px) {
    .special-heading {
        font-size: 60px;
    }
    .special-heading + p {
        margin: -20px;
    }
}

/* Header*/
.header {
    background-color: rgba(255, 255, 255, 0.3);
    width: 100vw;
    position: fixed;
    padding: 20px;
    height: 170px;
    z-index: 9999;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background-color: transparent;
}

.header.scrolled {
  background-color: white;
}

.header .container {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;

}

.header .logo {
    width: auto;
    height: 10vw;
    min-width: 350px;
    padding-left: 7vw;
    min-height: 200px;

}

/* Navigation Links - Desktop */

.header .links ul {
    list-style: none;
    margin: 0;
    padding-right: 10vw;
}

.header .links ul li a {
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: inline-block;
  padding: 8px 12px;
  font-size: 1.5rem;
  color: black;
}

.header .links ul li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: rgb(44, 178, 230); /* Couleur d'accent utilisée dans la FAQ */
}

@media(max-width:767px) {
   .header .links {
    position: relative;
}
  .header .links:hover .icon span:nth-child(2){
    width: 100%;
  }

  .header .links .icon {
    width: 35px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end ;

  }
  .header .links .icon span {
    background-color: white;
    margin-bottom: 5px;
    height: 2px;
    
  } 
  .header .links .icon span:first-child {
    width: 100%;
  }
  .header .links .icon span:nth-child(2) {
    width: 60%;
    transition: var(--main-duration);
  }
  .header .links .icon span:last-child {
    width: 100%;
  }
  .header .links ul {
    list-style: none;
    margin:0 ;
    padding:0 ;
    background-color: #f6f6f6; ;
    position: absolute;
    right: 0;
    min-width: 200px;
    top: calc(100% + 15px);
    display: none;
    z-index: 1;

  }
  .header .links ul::before {
    content:"";
    border-width: 10px;
    border-style:solid;
    border-color: transparent transparent #f6f6f6f6 transparent;
    position: absolute;
    right: 5px;
    top: -20px;
  }
  .header .links:hover ul{
    display: block;
  }
  /*MODIFIER*/
  .header .links ul li a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #333 !important; /*MODIFIER*/
    transition: var(--main-duration);
  }
  .header .links ul li a:hover {
    padding-left: 25px
  }
  .header .links ul li:not(:last-child) a {
    border-bottom: 2px solid #ddd;
  } 
}



.landing {
    height: calc(100vh + 90px);
    position: relative;
    overflow: hidden;
}

.landing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

#bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) rotate(-90deg) scale(0.5625);
  overflow: hidden;
  object-fit: cover;
  z-index: -1;
}

@media (max-width: 767px) {
    .landing .overlay {
        display: none;
    }
}

.landing .intro-text,
.landing .header {
  position: relative;
  z-index: 2;
}
/* Vague en bas */
.landing::after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: 0;
  width: calc(100% + 160px);
  height: 150px; /* hauteur de la vague */
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="-420 0 2520 161" preserveAspectRatio="none"><path fill="%23ffffff" d="M-0.000152588 161L840 161L1260 161L1680 161L2100 161L1890 51.5001C1758.41 -17.1163 1601.59 -17.1178 1470 51.496C1338.41 120.108 1181.59 120.108 1050 51.4952C918.408 -17.1179 761.592 -17.1178 629.999 51.4953C498.407 120.108 341.594 120.108 210.002 51.496C78.4079 -17.1178 -78.4074 -17.1162 -210.001 51.5003L-420 161L-0.000152588 161Z"/></svg>') no-repeat bottom;
  background-size: cover;
  z-index: 10;
}

.landing .intro-text {
position: absolute;
left: 50%;
top: 50%;
text-align: center;
transform: translate(-50%,-50%);
width: 90%;
max-width: 950px;
}
.landing .intro-text h1 {
    margin: 0;
    font-weight: bold;
    font-size: 50px;
    color: white;
}
.landing .intro-text p {
font-weight: bold;
line-height: 1.8;
color: white;
font-size: 25px;
margin-bottom: 8vw;
}

.landing-button {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.landing-button button {
    background-color: skyblue;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.landing-button button:hover {
    background-color: #0099cc;
}

.landing-button a {
    color: white;
    text-decoration: none;
    display: block;
    height: 100%;
    width: 100%;
}


/*Start about*/
.about {
    margin: 0;
    padding: var(--section-padding) 0;
    background-color: white;
    color: #1a1a1a;
}

.about .container {
  width:50%;
  max-width: 1200px;
  margin: auto;
  padding-right: 2vw;
  padding-left: 4vw;
}

.entreprise-heading {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.entreprise-heading .blue {
  color: #5ab1f2;
}

.heading-line {
  width: 60px;
  height: 3px;
  background-color: #5ab1f2;
  border: none;
  margin: 10px 0 20px;
}

.subheading {
  color: #5ab1f2;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center; /* ✅ Centrage vertical */
}

.about-content .image {
  width: 30vw;
  height: auto;
  flex-shrink: 0;
  margin-left: 5vw;
  max-width: 50%;
}

.about-content .image img {
  width: 100%;
  height: auto;
}

.about-content .text {
  flex: 1;
  font-size: 1.25rem;
  min-width: 300px;
}

.about-content .text p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: rgb(16, 84, 111);
}

/* Responsive */
@media (max-width: 991px) {

    .entreprise-heading {
        text-align: left;
    }

    .subheading {
        text-align: left;
    }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-content .image {
    width: 70vw;
    height: auto;
    margin: 0 auto 30px;
  }

  .about-content .text {
    text-align: left;
  }
}



/*End about*/
.background-progressive {
    width: 100%;
    height: 400px; /* hauteur de ton bloc */
    background: url('../image/image02.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.background-progressive.visible {
  opacity: 1;
  transform: translateY(0);
}



/*Service amine v2 */
.nos-services {
    background-color: rgb(45, 44, 44);
}
.nos-services-titre {
  padding-top: 2vw;
  text-align: center;   
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color:white
}

.nos-services-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 2vw;
    border-bottom: 0.2vw solid #ccc;
    box-sizing: border-box;
    padding-bottom: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 1vw;
    white-space: nowrap;
    flex-wrap: nowrap !important;
}

.nos-services-nav [role="button"] {
    flex: 0 0 auto;
    min-width: 120px;
    text-align: center;
    padding: 2% 1vw;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    position: relative;
    transition: color 0.3s;
    font-size: 1.2vw;
    white-space: nowrap;
    user-select: none;
}

@media (max-width: 600px) {
    .nos-services-nav [role="button"] {
        font-size: 4vw !important;
        padding: 3% 1.5vw !important;
        min-width: 140px !important;
    }
}

.nos-services-nav [role="button"]:hover {
    color: #000;
}
.nos-services-content-t {
  height: 600px; /* tu peux ajuster cette valeur */
  display: none; 
  justify-content: center; /* centre horizontalement */
  align-items: center;     /* centre verticalement */
}

.nos-services-nav [role="button"][data-active="true"] {
    color: #000;
    font-weight: bold;
}

.nos-services-nav [role="button"][data-active="true"]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15%;
    width: 70%;
    height: 0.4vw;
    background-color: skyblue;
    border-radius: 0.2vw;
}

.nos-services-nav::-webkit-scrollbar {
  height: 6px;
}

.nos-services-nav::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 3px;
}


.service-card {
    display: flex;
    width: 80%;
    height: 80%;
    background-color: white;
    border-radius: 1vw;
    box-shadow: 0 0 1vw rgba(0, 0, 0, 0.1);
    margin-bottom: 2vw;
    overflow: hidden;
     margin: 0 auto 2vw; /* <-- margin horizontale auto pour centrer */
    align-items: center;
}

.service-img {
    width: 50%;
    height: 100%;
}

.service-img img {
    width: 100%;      /* prend toute la largeur de son conteneur */
    height: 100%;     /* prend toute la hauteur */
    object-fit: cover;
    display: block;
}

.service-text {
    width: 50%;
    padding: 2vw;
    color: #003366;
    display: flex;
    flex-direction: column;
    /* remove justify-content:center to allow full height usage */
    /* optionally allow scrolling if needed */
    overflow: auto;
    
}

.service-text h2 {
    margin-bottom: 1vw;
    font-size: 1.6vw; /* réduit de 2vw à 1.6vw */
    color: black;
}

.service-text p {
    font-size: 1vw; /* réduit de 1.2vw à 1vw */
    line-height: 1.3;
    margin-bottom: 1vw;
}

@media (max-width: 768px) {
    .service-card {
        flex-direction: column;
        
    }

    .service-img {
        width: 100%;
        height:50%
    }

    .service-text {
        width: 100%;
        height: auto; /* laisser la hauteur s’adapter */
        padding: 4vw;
        text-align: center;
        color: #003366; /* Assure que la couleur du texte soit visible */
        margin-bottom: 6vw; /* ← plus grand sur mobile si besoin */
    }

    .service-text h2 {
        font-size: 3vw;
        margin-bottom: 1vw;
        color: skyblue;
    }

    .service-text p {
        font-size: 2.5vw;
        line-height: 1.5;
        margin-bottom: 2vw; /* ajoute un espacement entre les paragraphes */
    }
}



.nos-services-content hr {
  border: none;              /* retire la bordure par défaut */
  height: 2px;               /* définit une hauteur visible */
  background-color: black; /* couleur visible */
  margin: 1.5vw 0;           /* marge verticale */
}

.service-button {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding-top: 2vw;
    padding-bottom: 6vw;
}

.service-button button {
    background-color: skyblue;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.service-button button:hover {
    background-color: #0099cc;
}

.service-button a {
    color: white;
    text-decoration: none;
    display: block;
    height: 100%;
    width: 100%;
}

.projet {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: #1a1a1a;
}

.projet h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
}

.projet h2 .blue {
    color: skyblue;
}

.projet hr {
    width: 80px;
    height: 3px;
    background-color: skyblue;
    border: none;
    margin: 10px auto 20px;
}

.projet p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: white;
}

.projet-button {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.projet-button button {
    background-color: skyblue;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.projet-button button:hover {
    background-color: #0099cc;
}

.projet-button a {
    color: white;
    text-decoration: none;
    display: block;
    height: 100%;
    width: 100%;
}
/*logo*/
.logos {
  display: flex;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  height: 400px;
  background-color: #fff;
  padding: 20px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.logos-wrapper {
    display: flex;
    justify-content: center;
    width: 80%;
    overflow: hidden;
    margin-left: 40px;
    margin-right: 40px;
}

.logos-track {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  transition: transform 0.5s ease;
  will-change: transform;
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.logos-track img {
  height: auto;
  max-height: 80px;
  margin: 0 20px;
  flex-shrink: 0;
}

.logos-track img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .logos-track img {
    max-height: 60px;
    margin: 0 10px;
  }
}


.arrow-button {
    background: none;
    border: none;
    padding: 0;
    margin: 0 10px;
    font-size: 2rem;
    color: skyblue;
    cursor: pointer;
    line-height: 1;
}


.arrow-button:focus {
    outline: none;
}


.arrow {
    background-color: white;
    border: 2px solid #ccc;
    color: #333;
    font-size: 24px;
    cursor: pointer;
    padding: 10px 15px;
    margin: 0 5px;
    transition: background 0.3s;
    z-index: 10;
}

.arrow:hover {
    background-color: #eee;
}

/* realisation */

.realisation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    box-sizing: border-box;
    text-align: center;
    color: #1a1a1a;
    background-color: skyblue;
}

.realisation h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
}

.realisation p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: darkblue;
}


.realisation-nav-prim, .realisation-nav-sec {
    display: flex;

    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 2vw;
    border-bottom: 0.2vw solid #ccc;
    box-sizing: border-box;
    padding-bottom: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 1vw;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.realisation-nav-prim [role="button"], .realisation-nav-sec [role="button"] {
    flex: 1 0 auto;
    min-width: 250px;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
    color: white;
    position: relative;
    transition: color 0.3s, border-bottom 0.3s;
    font-size: 1.2vw;
    padding-bottom: 5px;
    box-sizing: border-box;
}

.realisation-nav-prim [role="button"]:hover, .realisation-nav-sec [role="button"]:hover {
    color: white;
    font-weight: 700;
}

.realisation-nav-prim [role="button"].active, .realisation-nav-sec [role="button"].active {
  color: white;
  font-weight: 1000;
  border-bottom: 3px solid darkblue;
}

/* Responsive */
@media (max-width: 900px) {
  .realisation-nav-prim [role="button"], .realisation-nav-sec [role="button"]{
    font-size: 18px !important;
    padding: 3% 1.5vw;
  }
}

.realisation-content-t {
  display: none;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  box-sizing: border-box;
  overflow: hidden;
}

.realisation-content-t.active {
  display: block;
}


/* v8 fixed realisation */
.realisation-card-1,
.realisation-card-2 {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  align-items: stretch;
}

/* Inverser les colonnes pour la deuxième */
.realisation-card-2 {
  flex-direction: row-reverse;
}

/* Grande image */
.big {
  flex: 2;
}

.big img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
}

/* Petites images regroupées */
.small-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Chaque petite image */
.small {
  flex: 1;
}

.small img {
  width: 100%;
  aspect-ratio: 32 / 17;
  object-fit: cover;
  border-radius: 10px;
}

.realisation-card-3 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    margin-bottom: 40px;
    width: 100%;
    box-sizing: border-box;
}

.realisation-card-3 img {
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}



/* avant apres */

.avant-apres {
  background: skyblue;
  padding: 40px;
  font-family: sans-serif;
}

.avant-apres h2 {
  text-align: center;
  margin-bottom: 30px;
  color: white;
}

.avant-apres-photos {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.avant-apres-small {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.avant-apres-big {
  display: flex;
  justify-content: center;
}

.avant-apres-board {
  width: 40vw;
  height: 26.66vw;
  max-width: 1200px;
  max-height: 600px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.avant-apres-big .avant-apres-board{
  width: calc(80vw + 20px);
  height: 53.32vw;
  max-width: 2400px;
  max-width: 1200px;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-img-front {
  background-size: cover;
  background-position: center;
  clip-path: inset(0 0 0 50%);
  z-index: 2;
}

.slider-img-back {
  z-index: 1;
}

/* Slider vertical */
.slider-range.vertical-slider {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 3;
  cursor: ew-resize;
}

.slider-range.vertical-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 1200px;
  width: 5px;
  background: white;
  border-radius: 0;
  border: 1px solid #fff;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.slider-range.vertical-slider::-moz-range-thumb {
  height: 500px;
  width: 10px;
  background: white;
  border-radius: 0;
  border: 1px solid #fff;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}


/* faq */

.faq {
  background: rgb(48, 46, 46);
  padding: 5% 10%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.faq h2 {
  text-align: center;
  font-size: 3.4em;
  margin-bottom: 40px;
  color: white;
  font-weight: 1000;
}

.faq-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: rgb(48, 46, 46);
  padding: 18px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}

.faq-header:hover {
  background-color: rgb(58, 56, 56);
}

.faq-header h3 {
  margin: 0;
  font-size: 1.7em;
  color: rgb(44, 178, 230);
  font-weight: 900;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.1s ease, padding 0.3s ease;
  padding: 0 24px;
  font-size: 1.2em;
  color: white;
  line-height: 1.5em;
}

.faq-item-open .faq-content {
  max-height: 600px;
  padding: 16px 24px;
}

.faq-header .arrow {
  background-color: transparent;
  color: white;
  font-size: 1.2em;
  transition: transform 0.3s ease;
  border: none;
}

.faq-item-open .arrow {
  transform: rotate(90deg);
}

hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  margin: 12px 0;
}

/* contact */

.contact {
    position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 0 5% 5% 5%;
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url(../image/contact-background.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  font-family: sans-serif;
  width: 100%;
  height: calc(100vh + 300px);
  box-sizing: border-box;
  align-items: stretch; /* Important pour la hauteur égale */
  min-height: 600px; /* Optionnel : fixe une hauteur minimum pour l'ensemble */
  overflow: hidden;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  color: white;

  display: flex;
  flex-direction: column;
  justify-content: center; /* Centre verticalement le texte + carte */
  gap: 20px;
  text-align: left;
}

.contact-info,
.contact-formulaire {
  flex: 0 0 50%;  /* force 50% de largeur fixe */
  max-width: 50%; /* empêche de dépasser 50% */
}

.contact-info h2 {
  font-size: 3.7em;
  margin-bottom: 0px;
}

.contact-intro {
  font-size: 1.4em;
  margin-bottom: 30px;
  font-weight: 600;
}

.contact-info-pair {
  display: flex;
  margin-bottom: 20px;
  gap: 20px;
  align-items: flex-start;
  text-align: left;
  font-weight: 200;
}

.contact-info-pair h3 {
  min-width: 80px;
  font-size: 1.4em;
  margin: 0;
  flex-shrink: 0;
}

.contact-info-pair p,
.contact-info-pair a {
  margin: 0;
  font-size: 0.95em;
  color: white;
  text-decoration: none;
  flex: 1;
}

.contact-info-map {
  width: 100%;
  height: 250px; /* fixe la hauteur de la carte */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.contact-formulaire {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;

  /* Pour que le formulaire prenne toute la hauteur de la partie gauche */
  justify-content: center; 
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

.contact-formulaire input,
.contact-formulaire textarea {
    width: 40vw;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
}

.contact-formulaire textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-formulaire button {
  padding: 12px;
  width: 40vw;
  background: skyblue;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-formulaire button:hover {
  background: #007acc;
}

.contact-formulaire button p {
  color: white;
  margin: 0;
  font-weight: bold;
  font-size: 1em;
}

.contact::after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: 0;
  width: calc(100% + 160px);
  height: 150px; /* hauteur de la vague */
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="-420 0 2520 161" preserveAspectRatio="none"><path fill="%23ffffff" d="M-0.000152588 161L840 161L1260 161L1680 161L2100 161L1890 51.5001C1758.41 -17.1163 1601.59 -17.1178 1470 51.496C1338.41 120.108 1181.59 120.108 1050 51.4952C918.408 -17.1179 761.592 -17.1178 629.999 51.4953C498.407 120.108 341.594 120.108 210.002 51.496C78.4079 -17.1178 -78.4074 -17.1162 -210.001 51.5003L-420 161L-0.000152588 161Z"/></svg>') no-repeat bottom;
  background-size: cover;
  z-index: 10;
}

@media (max-width: 768px) {
    .contact {
        height: calc(100vw + 500px);
    }
  .contact-info,
  .contact-formulaire {
    display: flex;
    flex: 1 1 100%;  /* prennent toute la largeur */
    max-width: 100%;
}
}



/* tail */
.tail {
  background-color: white;
  padding: 20px 40px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.tail .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* pour responsivité */
  max-width: 1200px;
  margin: auto;
}

.logo {
  width: 20vw;
  height: auto;
}

.links ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.links a {
  text-decoration: none;
  font-weight: 500;
  color: #333;
  transition: color 0.3s ease;
}

.links a:hover {
  color: skyblue;
}

@media (max-width: 768px) {
    .tail {
        padding: 40px 20px;
        min-height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .tail .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .links ul {
        flex-direction: column;
        gap: 20px;
    }

    .logo {
        width: 50vw;
        height: auto;
    }

    .links a {
        font-size: 4vw;
    }

}

/* transition */

.transition {
    width: 100%;
    height: 40px;
    position: relative;
    overflow: hidden;
}

.transition svg{
    width: 100%;
    height: 100%;
    display: block;
}


/* instalation card */

.installation-card {
    display: flex;
    width: 100%;
    height: auto;
    background-color: white;
    overflow: hidden;
    align-items: center;
    padding-bottom: 10vw;
}

.installation-img {
    width: 50%;
    height: 100%;
}

.installation-img img {
    width: 100%;      /* prend toute la largeur de son conteneur */
    height: 100%;     /* prend toute la hauteur */
    object-fit: cover;
    display: block;
}

.installation-text {
    width: 50%;
    height: 100%;
    padding: 2vw;
    background-color: white;
    color: #003366;
    display: flex;
    flex-direction: column;
    /* remove justify-content:center to allow full height usage */
    /* optionally allow scrolling if needed */
    overflow: auto;
    
}

.installation-text h2 {
    margin-bottom: 1vw;
    font-size: 1.6vw; /* réduit de 2vw à 1.6vw */
    color: black;
}

.installation-text p {
    font-size: 1vw; /* réduit de 1.2vw à 1vw */
    line-height: 1.3;
    margin-bottom: 1vw;
}

@media (max-width: 768px) {
    .installation-card {
        flex-direction: column;
        background-color: white;
    }

    .installation-img {
        width: 100%;
        height:50%
    }

    .installation-text {
        width: 100%;
        height: auto; /* laisser la hauteur s’adapter */
        padding: 4vw;
        text-align: center;
        color: #003366; /* Assure que la couleur du texte soit visible */
        margin-bottom: 6vw; /* ← plus grand sur mobile si besoin */
    }

    .installation-text h2 {
        font-size: 3vw;
        margin-bottom: 1vw;
        color: skyblue;
    }

    .installation-text p {
        font-size: 2.5vw;
        line-height: 1.5;
        margin-bottom: 2vw; /* ajoute un espacement entre les paragraphes */
    }
}

/* entretien */

.entretien {
  height: auto;
  background-color: skyblue;
}

.entretien-card {
  width: 100%;
  height: 100%;
  padding-top: 10vw;
  padding-bottom: 10vw;
  background-color: skyblue;
  color: white;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: larger;
}

.entretien-right {
  width: 50%;
  height: 100%;
}

.entretien-right ul {
  margin-left: 33%;
}

.entretien-left {
  width: 50%;
  height: 100%;
  color: black;
  text-align: center;
}


.realisation2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  box-sizing: border-box;
  text-align: center;
  color: #000;
  background-color: white;
}

.realisation2 h2 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: black;
  padding-bottom: 20px;
}


.realisation2-content-t {
  display: block;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  box-sizing: border-box;
  overflow: hidden;
}

.realisation2-card-1,
.realisation2-card-2 {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  align-items: stretch;
}

.realisation2-card-2 {
  flex-direction: row-reverse;
}

.procede-sub {
	margin: 0;
    padding: var(--section-padding) 0;
    background-color: white;
    color: #1a1a1a;
}

.procede-sub .container {
	width:50%;
  	max-width: 1200px;
  	margin: auto;
  	padding-right: 2vw;
  	padding-left: 4vw;
}

.procede-sub .image {
	width: 30vw;
  height: auto;
  flex-shrink: 0;
  margin-right: 5vw;
  max-width: 50%;
}

.realisation-sub {
	margin: 0;
    padding: var(--section-padding) 0;
    background-color: skyblue;
    color: #1a1a1a;
}

.realisation-sub .container {
	width:50%;
  	max-width: 1200px;
  	margin: auto;
  	padding-right: 2vw;
  	padding-left: 4vw;
}

.realisation-sub .image {
	width: 30vw;
  height: auto;
  flex-shrink: 0;
  margin-left: 5vw;
  max-width: 50%;
}

.entretien-sub {
	margin: 0;
    padding: var(--section-padding) 0;
    background-color: white;
    color: #1a1a1a;
}

.entretien-sub .container {
	width:50%;
  	max-width: 1200px;
  	margin: auto;
  	padding-right: 2vw;
  	padding-left: 4vw;
}

.entretien-sub .image {
	width: 30vw;
  height: auto;
  flex-shrink: 0;
  margin-right: 5vw;
  max-width: 50%;
}