/* RESET DE BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

/* Structure Globale */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== HEADER / NAVBAR ===== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #353535;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 20px;
  height: 72px;
}

nav a h1 {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 2px;
}

nav a h1 img {
  height: 72px;
  width: auto;
  margin-left: -20px;
}

.logo-text {
  position: relative;
  left: -12px;
}

/* Burger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.burger:focus-visible {
  outline: 2px solid #00AEEF;
  outline-offset: 2px;
}

.burger-line {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}

.burger-line:nth-child(1) {
  top: 14px;
}

.burger-line:nth-child(2) {
  top: 21px;
}

.burger-line:nth-child(3) {
  top: 28px;
}

/* nav-right desktop */
.nav-right {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.nav-right a {
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  transition: color .2s ease;
}

.nav-right a.active {
  color: #00AEEF;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-right .btn {
  margin-left: auto;
}

.btn {
  background: #00AEEF;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 600;
  transition: background .2s ease;
  display: inline-block;
}

/* Overlay pour mobile */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 900;
  opacity: 0;
  transition: opacity .25s ease;
}

.nav-overlay.show {
  display: block;
  opacity: 1;
}

.no-scroll {
  overflow: hidden;
}

/* ===== HERO ===== */
#hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 150px 300px;
  background: #f5f5f5;
  filter: drop-shadow(0 4px 1px #00B6E5);
  gap: 40px;
}

.hero-left {
  flex: 1;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}

.hero-left h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
}

.hero-left h2 span {
  color: #00B6E5;
}

.hero-left h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #333;
  margin-left: 0;
}

.hero-left .btn {
  padding: 19px 40px;
  font-size: 1rem;
  font-weight: 600;
  background: #00B6E5;
  border-radius: 8px;
  line-height: normal;
}

.hero-right {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 600px;
}

.hero-right img.fondelispe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

.hero-right img.cumpunter {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* ===== SERVICES ===== */
#services {
  padding: 30px;
}

.services-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.services-container article {
  width: 388px;
  min-height: 321px;
  border-radius: 24px;
  border: 1px solid #D4D2E3;
  background: #FFF;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .05);
}

.services-container article img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin-bottom: 20px;
}

.services-container article h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #0A4D68;
}

.services-container article p {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: #555;
}

#services h2 {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 4px 4px rgba(0, 0, 0, .25);
  font-size: 40px;
  font-weight: 1800;
  letter-spacing: 3.2px;
  margin-bottom: 40px;
  position: relative;
}

#services h2::after {
  content: "";
  display: block;
  width: 250px;
  height: 5px;
  background: #00B6E5;
  margin: 5px auto 0;
  border-radius: 3px;
}

/* ===== SATISFACTION ===== */
#satisfaction {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #00AEEF;
  color: #fff;
  border-radius: 200px 0 0 200px;
  padding: 40px 80px;
  max-width: 700px;
  margin: 80px 0 80px auto;
  gap: 100px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#satisfaction article {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

#satisfaction img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

#satisfaction h3 {
  margin: 5px 0 0;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

#satisfaction h3 span {
  font-size: 36px;
  font-weight: 800;
  color: #0A4D68;
  font-family: 'Poppins', sans-serif;
}

#satisfaction h5 {
  margin: 0;
  font-size: 18px;
  color: #012B3A;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

/* ===== À PROPOS ===== */
#propos {
  padding: 80px 0;
  text-align: center;
  background: #E6E6E6;
}

#propos h2 {
  font-size: 2em;
  font-weight: 900;
  margin-bottom: 50px;
  font-family: 'Poppins', sans-serif;
}

#propos span {
  color: #00AEEF;
}

.propos-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  max-width: 950px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, .1);
}

.propos-container img {
  width: 40%;
  object-fit: cover;
}

.propos-texte {
  background: #D9D9D9;
  padding: 40px 50px;
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.propos-texte h1 {
  font-size: 2.4em;
  margin: 0 0 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 3px 2px #555;
}

.propos-texte h1 span {
  color: #00AEEF;
}

.propos-texte p {
  line-height: 1.8;
  color: #333;
  margin-bottom: 30px;
  font-size: 1.1rem;
  text-indent: 0;
  font-family: 'Poppins', sans-serif;
}

/* ===== RÉALISATIONS ===== */
#realisation {
  padding: 30px 0;
  text-align: center;
  background: #D9D9D9;
}

#realisation h2 {
  font-size: 2em;
  font-weight: 900;
  font-family: 'Poppins', sans-serif;
}

#realisation h3 {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 30px;
  font-family: 'Poppins', sans-serif;
}

.realisation-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding: 0;
  box-sizing: border-box;
}

.realisation-container article {
  width: 100%;
  max-width: 400px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid transparent;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.realisation-container article img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
}

/* ===== CONTACT ===== */
#contact {
  padding: 40px 0;
  text-align: center;
  background: #fff;
}

#contact h2 {
  font-size: 2em;
  font-weight: 900;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 50px;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  max-width: 950px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, .1);
  background: #D9D9D9;
}

.contact-container .right {
  width: 50%;
}

.contact-container .right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-container .left {
  width: 70%;
  padding: 40px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.contact-container .left form label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
  color: #00374b;
}

.contact-container .left form input,
.contact-container .left form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 30px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
}

.contact-container .left form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-row {
  display: flex;
  gap: 20px;
}

.contact-row .form-group {
  flex: 1;
}

.contact-container .left form .button {
  text-align: center;
}

.contact-container .left form .button button {
  background: #00AEEF;
  color: #fff;
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background .3s ease;
}

.contact-container .left form .button button:hover {
  background: #007bb5;
}

/* ===== FOOTER ===== */
footer {
  background: #0d0d0d;
  color: #f5f5f5;
  font-family: 'Poppins', sans-serif;
  padding: 80px 60px 30px;
  border-top: 2px solid #0A4D68;
  position: relative;
  overflow: hidden;
}

footer .infos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 40px;
}

footer .infos > div {
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 320px;
}

footer h2 {
  font-size: 20px;
  color: #0A4D68;
  margin-bottom: 18px;
  position: relative;
}

footer h2::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #0A4D68;
}

footer .presentation h3 {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: #ccc;
}

footer a {
  display: block;
  color: #ddd;
  margin: 6px 0;
  font-size: 15px;
  transition: .3s ease;
}

footer a:hover {
  color: #0A4D68;
  transform: translateX(6px);
}

footer .sociaux a i {
  margin-right: 10px;
  color: #0A4D68;
  transition: .3s ease;
}

footer .sociaux a:hover i {
  color: #fff;
}

footer h4 {
  text-align: center;
  font-size: 14px;
  color: #888;
  margin-top: 30px;
  border-top: 1px solid #1c1c1c;
  padding-top: 20px;
}

footer span {
  color: #00B6E5;
}

/* =========================
   ====== RESPONSIVE =======
   ========================= */

/* Tablettes ≤ 1024px */
@media (max-width: 1024px) {
  /* Navbar -> panneau latéral */
  .burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-right {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 320px;
    max-width: 85vw;
    background: #2b2b2b;
    box-shadow: -6px 0 20px rgba(0, 0, 0, .25);
    padding: 90px 28px 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    transform: translateX(100%);
    transition: transform .25s ease;
    z-index: 950;
  }

  .nav-right.open {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    gap: 18px;
    width: 100%;
  }

  .nav-links a {
    font-size: 18px;
  }

  .cta-desktop {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    border-radius: 10px;
    background: #00AEEF;
  }

  /* Hero */
  #hero {
    padding: 100px 60px;
    gap: 30px;
  }

  .hero-left h2 {
    font-size: 2.4rem;
  }

  .hero-left h3 {
    font-size: 1.2rem;
  }

  /* Satisfaction */
  #satisfaction {
    margin: 60px auto;
    border-radius: 20px;
    max-width: 900px;
    padding: 30px 40px;
    gap: 40px;
  }

  /* À propos + Contact */
  .propos-container,
  .contact-container {
    max-width: 860px;
  }
}

/* Mobiles ≤ 768px */
@media (max-width: 768px) {
  nav {
    padding: 0 14px;
    height: 64px;
  }

  nav a h1 img {
    height: 64px;
    margin-left: -12px;
  }

  .logo-text {
    left: -8px;
  }

  #hero {
    padding: 70px 18px 90px;
    flex-direction: column-reverse;
    gap: 24px;
    filter: none;
  }

  .hero-right {
    max-width: 560px;
    width: 100%;
  }

  .hero-left {
    align-items: flex-start;
    max-width: unset;
    width: 100%;
  }

  .hero-left h2 {
    font-size: 1.9rem;
  }

  .hero-left h3 {
    font-size: 1rem;
  }

  .hero-left .btn {
    padding: 14px 22px;
  }

  #services {
    padding: 24px;
  }

  .services-container article {
    width: 100%;
  }

  #satisfaction {
    margin: 32px 16px;
    border-radius: 16px;
    max-width: none;
    padding: 22px;
    gap: 22px;
    justify-content: space-between;
  }

  #satisfaction img {
    width: 40px;
    height: 40px;
  }

  #satisfaction h3 {
    font-size: 20px;
  }

  #satisfaction h3 span {
    font-size: 28px;
  }

  #satisfaction h5 {
    font-size: 14px;
  }

  .propos-container {
    flex-direction: column;
  }

  .propos-container img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center 40%;
  }

  .propos-texte {
    width: 100%;
    padding: 26px 20px;
    text-align: left;
  }

  .propos-texte h1 {
    font-size: 1.8rem;
    text-shadow: none;
  }

  .propos-texte p {
    font-size: 1rem;
    margin-bottom: 18px;
  }

  .realisation-container {
    gap: 16px;
  }

  .realisation-container article {
    max-width: none;
  }

  .contact-container {
    flex-direction: column;
  }

  .contact-container .right {
    width: 100%;
    height: 220px;
  }

  .contact-container .left {
    width: 100%;
    padding: 24px;
  }

  .contact-row {
    flex-direction: column;
    gap: 0;
  }

  footer {
    padding: 48px 24px 24px;
  }

  footer .infos {
    gap: 28px;
  }
}
