  :root {
            --burgundy: #631919;
            --burgundy-light: #6b2a1e;
            --burgundy-dark: #6D1229;
            --cream: #FFFCF7;
            --light-gray: #F8F9FA;
            --medium-gray: #6C757D;
            --dark-gray: #343A40;
            --white: #FFFFFF;
            --shadow: 0 2px 20px rgba(139, 21, 56, 0.1);
            --shadow-hover: 0 8px 30px rgba(139, 21, 56, 0.15);
            --gold: #e08114;
            --blue: #4fc3f7;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            color: var(--dark-gray);
            overflow-x: hidden;
        }




.navbar {
  position: fixed;
  top: -80px;
  left: 0;
  right: 0;
  width: 100%;                      
  background: #efe7db0a;
  backdrop-filter: blur(8px);
  z-index: 100;
  transition: top 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
  animation: slideDown 0.5s forwards;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;                     
  max-width: 90%;              
  margin: 0 auto;                  
  padding: 1rem 0;                 
}


.navbar.scrolled {
  top: 0;
  background: #ffffffe7;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.navbar.scrolled .navbar-container {
  padding: 0.8rem 0;               
}

@keyframes slideDown {
  0% {
    top: -80px;
  }
  100% {
    top: 0;     
  }
}



.navbar .logo,
.navbar .nav-links li a {
  transition: color 0.3s ease, transform 0.3s ease;
}


.navbar.scrolled .logo,
.navbar.scrolled .nav-links li a {
  color: #000000 !important;
}
.navbar.scrolled .nav-links li a:hover {
  color: #1d1d1c86 !important;
  transform: scale(1.1); 
}


.navbar.scrolled  .nav-toggle span {
  display: block;
  height: 3px;
  background: #0a0a0a;
  border-radius: 2px;
}

.navbar.scrolled  .nav-toggle i {
  font-size: 2rem;
  color: #080808;
  transition: color 0.3s ease;
}



.navbar.scrolled .btn {
  background: #efe7db;
  color: #3f3f3a;
  padding: 0.55rem 1.3rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  margin-top: 0;        
  align-self: center;    
}







.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: #631418;
  text-decoration: none;
  letter-spacing: 1px;
  user-select: none;
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 2REM;
}

.nav-links li a {
  color: #3f3f3a;
  text-decoration: none;
  font-weight: 600;
  font-size:1rem;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #cfc6b9;
}



.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 9999;
margin-top: -20PX;
  position: relative; 
  margin-left: auto; 
}

.nav-toggle span {
  display: block;
  height: 3px;
  background: #3f3f3a;
  border-radius: 2px;
}


.nav-toggle i {
  font-size: 2rem;
  color: #3f3f3a;
  transition: color 0.3s ease;
}

.nav-toggle i.fa-times {
  display: none;
}

.nav-links.open ~ .nav-toggle i.fa-bars {
  display: none;
}

.nav-links.open ~ .nav-toggle i.fa-times {
  display: block;
}




        .btn-primary {
            background: #631919;
             color: white;
            padding: 0.8rem 1.8rem;
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.9rem;
            border: none;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.3s ease;
             box-shadow: 0 2px 20px rgba(139, 21, 56, 0.1);
        }

        .btn-primary:hover {
            background: #6D1229;
            transform: translateY(-2px);
      box-shadow:  0 8px 30px rgba(139, 21, 56, 0.15);
        }





.hero {
    display: grid;
    grid-template-columns: 1fr 1fr; /* texte à gauche, image à droite */
    align-items: center;
    justify-items: start; /* texte collé à gauche */
    gap: 4rem;
    padding: 8rem 5% 4rem;
    min-height: 90vh;
    background: var(--white);
}
.hero-content {
    justify-self: start; /* texte bien à gauche */
}
.hero-image {
    justify-self: end; /* image bien à droite */
}
.hero img {
    width: 100%;
    max-width: 550px;
    border-radius: 10px;
    object-fit: cover;
    margin: 0;
}

        .hero-content h1 {
            font-size: 3.2rem;
            font-weight: 700;
            color: var(--dark-gray);
            line-height: 1.1;
            margin-bottom: 1.5rem;
            letter-spacing: -1px;
        }

        .hero-content .highlight {
            color: var(--burgundy);
        }

        .hero-content p {
            font-size: 1.2rem;
            color: var(--medium-gray);
            margin-bottom: 2.5rem;
            line-height: 1.6;
        }

        .hero-actions {
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        .btn-secondary {
            background: rgb(0, 183, 255);
color: white;
            padding: 0.8rem 1.8rem;

            border-radius: 8px;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .btn-secondary:hover {
background-color: #00bbd400;
color: rgb(0, 0, 0);
        }

      .hero-image {
    position: relative;
    text-align: center;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border-radius: 20px;
    opacity: 0.1;
    z-index: 1;
}


.hero img {
    width: 550px;
    max-width: 100%;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.4s ease;
    margin: 0; /* enlever le margin-top */
}













        .services-overview {
            padding: 6rem 5%;
            background: var(--white);
        }

        .section-header {
            text-align: center;
            margin-bottom: 5rem;
        }

        .section-header h2 {
            font-size: 3rem;
            font-weight: 700;
            color: var(--dark-gray);
            margin-bottom: 1.5rem;
            letter-spacing: -1px;
        }

        .section-header p {
            font-size: 1.2rem;
            color: var(--medium-gray);
            max-width: 700px;
            margin: 0 auto;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 3rem;
      max-width: 100%;
            margin: 0 auto;
        }

        .service-preview {
            background: var(--white);
            padding: 3rem;
            border-radius: 20px;
            text-align: center;
            transition: all 0.4s ease;
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .service-preview::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, transparent, rgba(255,255,255,0.5), transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .service-preview:hover {
            transform: translateY(-15px);
            box-shadow: 0 25px 50px rgba(0,0,0,0.15);
        }

        .service-preview:hover::before {
            opacity: 1;
        }

        .service-preview.aide {
            background: linear-gradient(135deg, #fff5f5, #ffffff);
            border-color: var(--burgundy);
        }

        .service-preview.locations {
            background: linear-gradient(135deg, #fff8f0, #ffffff);
            border-color: var(--gold);
        }

        .service-preview.piscine {
            background: linear-gradient(135deg, #f0fbff, #ffffff);
            border-color: var(--blue);
        }

        .service-icon {
            font-size: 4rem;
            margin-bottom: 2rem;
            position: relative;
            z-index: 2;
        }

        .service-preview.aide .service-icon {
            color: var(--burgundy);
        }

        .service-preview.locations .service-icon {
            color: var(--gold);
        }

        .service-preview.piscine .service-icon {
            color: var(--blue);
        }

        .service-preview h3 {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            color: var(--dark-gray);
            position: relative;
            z-index: 2;
        }

        .service-preview p {
            font-size: 1.1rem;
            color: var(--medium-gray);
            margin-bottom: 2.5rem;
            line-height: 1.7;
            position: relative;
            z-index: 2;
        }

        .service-btn {
            display: inline-block;
            padding: 1rem 2rem;
            border-radius: 12px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            z-index: 2;
            border: 2px solid;
        }

        .service-preview.aide .service-btn {
            background: var(--burgundy);
            color: var(--white);
            border-color: var(--burgundy);
        }

        .service-preview.aide .service-btn:hover {
            background: transparent;
            color: var(--burgundy);
        }

        .service-preview.locations .service-btn {
            background: var(--gold);
            color: var(--white);
            border-color: var(--gold);
        }

        .service-preview.locations .service-btn:hover {
            background: transparent;
            color: var(--gold);
        }

        .service-preview.piscine .service-btn {
            background: var(--blue);
            color: var(--white);
            border-color: var(--blue);
        }

        .service-preview.piscine .service-btn:hover {
            background: transparent;
            color: var(--blue);
        }

        /* Company Story */
        .company-story {
            background: var(--light-gray);
            padding: 6rem 5%;
        }

        .story-content {
             max-width: 100%;
            margin: 0 auto;
            text-align: center;
        }

        .story-content h2 {
            font-size: 3rem;
            font-weight: 700;
            color: var(--dark-gray);
            margin-bottom: 2rem;
        }

        .story-highlight {
            color: var(--burgundy);
            font-weight: 700;
        }

        .story-content p {
            font-size: 1.2rem;
            color: var(--medium-gray);
            line-height: 1.8;

            margin-bottom: 2rem;
        }

        .story-values {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin: 4rem 0;
        }

        .value-item {
            background: var(--white);
            padding: 2rem;
            border-radius: 15px;
            box-shadow: var(--shadow);
        }

        .value-item i {
            font-size: 2.5rem;
            color: var(--burgundy);
            margin-bottom: 1rem;
        }

        .value-item h4 {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--dark-gray);
        }

        .value-item p {
            font-size: 1rem;
            color: var(--medium-gray);
            line-height: 1.6;
        }

        /* Contact CTA */
        .contact-cta {
            background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
            color: var(--white);
            padding: 6rem 5%;
            text-align: center;
        }

        .cta-content h2 {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
        }

        .cta-content p {
            font-size: 1.2rem;
            margin-bottom: 3rem;
            opacity: 0.9;
        }

        .cta-buttons {
            display: flex;
            gap: 2rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn-white {
            background: var(--white);
            color: var(--burgundy);
            padding: 1.2rem 2.5rem;
            border-radius: 12px;
            font-weight: 600;
            font-size: 1.1rem;
            text-decoration: none;
            transition: all 0.3s ease;
            border: 2px solid var(--white);
        }

        .btn-white:hover {
            background: transparent;
            color: var(--white);
        }

        .btn-outline {
            background: transparent;
            color: var(--white);
            padding: 1.2rem 2.5rem;
            border: 2px solid var(--white);
            border-radius: 12px;
            font-weight: 600;
            font-size: 1.1rem;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .btn-outline:hover {
            background: var(--white);
            color: var(--burgundy);
        }

        /* Footer */
        .footer {
            background: var(--dark-gray);
            color: var(--white);
            padding: 3rem 5% 2rem;
            text-align: center;
        }

        .footer p {
            opacity: 0.8;
            margin-bottom: 1rem;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-links a {
            color: var(--white);
            text-decoration: none;
            opacity: 0.8;
            transition: opacity 0.3s ease;
        }

        .footer-links a:hover {
            opacity: 1;
        }


@media (max-width: 1200px) {


  .navbar {
    padding: 1rem 5%;
  }

  .logo {
    font-size: 1.4rem;
  }
  .nav-links li a {
    font-size: 0.95rem;
  }

 
}
















































@media (max-width: 1200px) {


  .navbar {
    padding: 1rem 5%;
  }

  .logo {
    font-size: 1.4rem;
  }
  .nav-links li a {
    font-size: 0.95rem;
  }

 
}



@media (max-width: 1060px) {


  .navbar {
    padding: 0.8rem 4%;
  }


  .logo {
    font-size: 1.3rem;
  }
  .nav-links li a {
    font-size: 0.9rem;
  }




}



@media (max-width: 800px) {
  .nav-links {
    position: fixed;
    top: 20px;
    right: 0;
    height: 100vh;
    width: 100vw;
    background: #ffffffe7;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-radius: 0;
    z-index: 9999;
      gap: 10PX;
    overflow-y: auto;
    margin: 0 auto;
  }


  
      
  .nav-links.open,
  .navbar.scrolled .nav-links.open {
    transform: translateX(0);
  }

  .nav-links li {
    margin-bottom: 1.5rem;
    list-style: none;
    
  }

  .nav-links li a {
    color: #242322;
    font-size: 1.4rem;
      padding: 1rem 0; 
    font-weight: 600;

    text-decoration: none;
    transition: color 0.3s ease;
  }
  .nav-links li a:hover {
    color: #1f1e1cbd;
  }

  .navbar.scrolled .nav-links {
    background: #ebebe8;
  }

  .navbar.scrolled .nav-links li a {
    color: #e7dbd0;
  }
  .navbar.scrolled .nav-links li a:hover {
    color: #e7dbd0b6;
  }




      .btn-primary {
                display: none;
            }

            .nav-toggle {
                display: block;
            }
}



@media (max-width: 800px) {
  .nav-links {
    position: fixed;
    top: 20px;
    right: 0;
    height: 100vh;
    width: 100vw;
    background: #ffffffe7;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-radius: 0;
    z-index: 9999;
      gap: 10PX;
    overflow-y: auto;
    margin: 0 auto;
  }


  
      
  .nav-links.open,
  .navbar.scrolled .nav-links.open {
    transform: translateX(0);
  }

  .nav-links li {
    margin-bottom: 1.5rem;
    list-style: none;
    
  }

  .nav-links li a {
    color: #242322;
    font-size: 1.4rem;
      padding: 1rem 0; 
    font-weight: 600;

    text-decoration: none;
    transition: color 0.3s ease;
  }
  .nav-links li a:hover {
    color: #1f1e1cbd;
  }

  .navbar.scrolled .nav-links {
    background: #ebebe8;
  }

  .navbar.scrolled .nav-links li a {
    color: #e7dbd0;
  }
  .navbar.scrolled .nav-links li a:hover {
    color: #e7dbd0b6;
  }




      .btn-primary {
                display: none;
            }

            .nav-toggle {
                display: block;
            }
}

        @media (max-width: 768px) {



               

            .hero {
                grid-template-columns: 1fr;
                text-align: center;
                padding: 6rem 4% 3rem;
                gap: 3rem;
                margin-top:25%;
            }

            .hero-content h1 {
                font-size: 2.5rem;
            }

            .hero-actions {
                justify-content: center;
                flex-wrap: wrap;
            }

            .hero-image i {
                font-size: 8rem;
            }
      

            .section-header h2 {
                font-size: 2.2rem;
            }

            .services-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .service-preview {
                padding: 2rem;
            }

            .story-content h2,
            .cta-content h2 {
                font-size: 2.2rem;
            }

            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }

            .footer-links {
                flex-direction: column;
                gap: 1rem;
            }
        }


        


        /* Fix du scroll horizontal */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}



/* Images : éviter qu’elles débordent */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
