    :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);
        }



     


.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(148, 18, 29);
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: #721515e3;
color: white;
        }

      .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 {
            padding: 5rem 5%;
            background: var(--light-gray);
        }

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

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

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

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .service-card {
            background: var(--white);
            padding: 2.5rem;
            border-radius: 12px;
            box-shadow: var(--shadow);
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid rgba(139, 21, 56, 0.1);
        }

        .service-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-hover);
            border-color: var(--burgundy);
        }

        .service-card i {
            font-size: 3rem;
            color: var(--burgundy);
            margin-bottom: 1.5rem;
        }

        .service-card h3 {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--dark-gray);
        }

        .service-card p {
            color: var(--medium-gray);
            line-height: 1.6;
        }

        /* Statistics */
        .stats {
            padding: 3rem 5%;
            background: var(--burgundy);
            color: var(--white);
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            text-align: center;
        }

        .stat-item {
            padding: 1rem;
        }

        .stat-number {
            font-size: 3rem;
            font-weight: 700;
            display: block;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            font-size: 1rem;
            opacity: 0.9;
            font-weight: 500;
        }

 
        .about {
            padding: 5rem 5%;
            background: var(--white);
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .about-text h2 {
            font-size: 2.2rem;
            font-weight: 700;
            color: var(--dark-gray);
            margin-bottom: 2rem;
            letter-spacing: -0.5px;
        }

        .about-text p {
            font-size: 1.1rem;
            color: var(--medium-gray);
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }

        .about-features {
            list-style: none;
            margin-top: 2rem;
        }

        .about-features li {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
            font-size: 1rem;
            color: var(--dark-gray);
        }

        .about-features li i {
            color: var(--burgundy);
            margin-right: 1rem;
            font-size: 1.1rem;
        }

        .about-visual {
            position: relative;
            text-align: center;
        }

        .about-visual::before {
            content: '';
            position: absolute;
            top: 20px;
            left: 20px;
            right: -20px;
            bottom: -20px;
            background: var(--burgundy);
            border-radius: 20px;
            opacity: 0.05;
            z-index: 1;
        }

        .about-visual i {
            font-size: 10rem;
            color: var(--burgundy);
            opacity: 0.6;
            position: relative;
            z-index: 2;
        }

      
       













           .contact {
            padding: 6rem 5%;

            position: relative;
            overflow: hidden;
        }

        .contact::before {
            content: '';
            position: absolute;
            top: -20%;
            right: -20%;
            width: 60%;
            height: 140%;
            background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
            border-radius: 50%;
            animation: float 15s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(5deg); }
        }

        .section-header {
            text-align: center;
            margin-bottom: 4rem;
            position: relative;
            z-index: 2;
        }

        .section-header h2 {
            font-size: 3rem;
            font-weight: 700;
            color: rgb(19, 18, 18);
            margin-bottom: 1rem;
            text-shadow: 0 4px 8px rgba(0,0,0,0.3);
        }

        .section-header p {
            font-size: 1.2rem;
            color: rgba(43, 41, 41, 0.9);
            max-width: 600px;
            margin: 0 auto;
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            max-width: 100%;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        .contact-info {
            background: rgba(255,255,255,0.95);
            backdrop-filter: blur(20px);
            padding: 3rem;
            border-radius: 24px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            border: 1px solid rgba(255,255,255,0.2);
            transform: translateY(0);
            transition: all 0.4s ease;
        }

        .contact-info:hover {
            transform: translateY(-10px);
            box-shadow: 0 30px 60px rgba(0,0,0,0.15);
        }

        .contact-info h3 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 2.5rem;
            background: linear-gradient(135deg, #6b2a1e, #722a1d);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 2.5rem;
            padding: 1.5rem;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
            border-radius: 16px;
            transition: all 0.3s ease;
            border-left: 4px solid transparent;
            background-origin: border-box;
        }

        .contact-item:hover {
            transform: translateX(8px);
            border-left-color: #6b2a1e;
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
        }

        .contact-item:last-child {
            margin-bottom: 0;
        }

        .contact-item i {
            font-size: 1.5rem;
            background: linear-gradient(135deg, #6b2a1e, #862d1d);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-right: 1.5rem;
            margin-top: 0.2rem;
            width: 40px;
            flex-shrink: 0;
        }

        .contact-item strong {
            color: #2C3E50;
            font-weight: 600;
            font-size: 1.1rem;
        }

        .contact-item a {
            color: #6b2a1e;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .contact-item a:hover {
            color: rgba(118, 75, 162, 0.562);
            text-shadow: 0 2px 4px rgba(117, 24, 39, 0.3);
        }

        .contact-form {
            background: rgba(255,255,255,0.95);
            backdrop-filter: blur(20px);
            padding: 3rem;
            color: #000000;
            border-radius: 24px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            border: 1px solid rgba(255,255,255,0.2);
            transform: translateY(0);
            transition: all 0.4s ease;
        }

        .contact-form:hover {
            transform: translateY(-10px);
            box-shadow: 0 30px 60px rgba(0,0,0,0.15);
        }

        .contact-form h3 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 2.5rem;
            background: linear-gradient(135deg, #6b2a1e, #6e1f11);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .form-group {
            margin-bottom: 2rem;
            position: relative;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.8rem;
            color: #2C3E50;
            font-weight: 600;
            font-size: 1rem;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 1.2rem 1.5rem;
            border: 2px solid rgba(102, 126, 234, 0.2);
            border-radius: 12px;
            font-family: inherit;
            font-size: 1rem;
                    color: #000000;
            transition: all 0.3s ease;
            background: rgba(255,255,255,0.8);
            backdrop-filter: blur(10px);
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #6b2a1e;
            box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
            transform: translateY(-2px);
            background: white;
                    color: #000000;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }

        .submit-btn {
            width: 100%;
            background: linear-gradient(135deg, #6b2a1e 0%, rgb(79, 27, 131) 100%);
            color: white;
            padding: 1.5rem 2rem;
            border: none;
            border-radius: 12px;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.4s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
            position: relative;
            overflow: hidden;
        }

        .submit-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .submit-btn:hover::before {
            left: 100%;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
        }

        .submit-btn:active {
            transform: translateY(-1px);
        }

 
        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in-up {
            opacity: 0;
            animation: fadeInUp 0.6s ease forwards;
        }

        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }

        /* Accessibility improvements */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }













section#history::before {
    content: "";
    display: block;
    height: 100px;
    margin-top: -100px; 
    visibility: hidden;
}


.company-story-section {
  background:#ffffff;
        padding: 3rem 5%;
  border-radius: 20px;
  margin: 0 auto 50px;  
  max-width: 90%;  
  box-shadow: 0 10px 3px rgba(0, 0, 0, 0.062);
  position: relative;
}


        .story-header {
            text-align: center;
            margin-bottom: 35px;
        }

        .story-header h3 {
            font-size: 32px;
            font-weight: 800;
            color: #6b2a1e;
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
            position: relative;
        }

        .story-header h3::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #8b7355, #e08114, #8b7355);
            margin: 15px auto 0;
            border-radius: 2px;
        }

        .story-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: start;
        }

        .story-left, .story-right {
            color: #000000;
            line-height: 1.8;
        }

        .story-content p {
            margin-bottom: 20px;
            text-align: justify;
            font-size: 16px;
        }

        .story-highlight {
            color: #6b2a1e;
            font-weight: 700;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
        }

        .story-content a {
            text-decoration: none;
            font-weight: 700;
            transition: all 0.3s ease;
            padding: 2px 4px;
            border-radius: 4px;
        }

        .link-aide {
            color: #6b2a1e;
        }

        .link-aide:hover {
            color: rgba(255, 82, 82, 0.774);
            background: rgba(255, 107, 107, 0.1);
        }

        .link-locations {
            color: #e08114;
        }

        .link-locations:hover {
            color: #ffb74d;
            background: rgba(224, 129, 20, 0.1);
        }

        .link-piscine {
            color: #4fc3f7;
        }

        .link-piscine:hover {
            color: #29b6f6;
            background: rgba(79, 195, 247, 0.1);
        }

























        /* 📱 Responsive Contact Section */
@media (max-width: 992px) {
  .contact-content {
    grid-template-columns: 1fr; /* 1 colonne dès tablette */
    gap: 2.5rem;
  }

  .contact-info,
  .contact-form {
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .contact {
    padding: 4rem 4%;
  }

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

  .section-header p {
    font-size: 1.05rem;
  }

  .contact-info,
  .contact-form {
    padding: 2rem;
  }

  .contact-item {
    padding: 1.2rem;
    flex-direction: row; /* garde l’icône à gauche */
    gap: 1rem;
  }

  .contact-item i {
    font-size: 1.3rem;
    margin-right: 1rem;
  }
}

@media (max-width: 480px) {
  .contact {
    padding: 3rem 5%;
  }

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

  .contact-info h3,
  .contact-form h3 {
    font-size: 1.6rem;
  }

  .contact-item {
    flex-direction: column; /* icône au-dessus du texte */
    align-items: flex-start;
    padding: 1rem;
  }

  .contact-item i {
    margin: 0 0 0.5rem 0;
  }

  .form-group label {
    font-size: 0.95rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .submit-btn {
    padding: 1.1rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 400px) {
  .contact {
    padding: 2.5rem 4%; /* réduit encore les marges */
  }

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

  .section-header p {
    font-size: 0.95rem;
  }

  .contact-info,
  .contact-form {
    padding: 1.5rem;
  }

  .contact-item {
    padding: 0.8rem;
    gap: 0.6rem;
  }

  .contact-item i {
    font-size: 1.1rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.9rem;
    font-size: 0.9rem;
  }

  .submit-btn {
    padding: 1rem;
    font-size: 0.9rem;
  }
}

        .contact-info,
        .contact-form {
            animation: slideUp 0.8s ease-out;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }








        /* Responsive Design */
        @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;
            }

            .about-content,
            .contact-content {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

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


               .about-visual::before {
            content: '';
            position: absolute;
            top: 20px;
            left: 10px;
            right: -10px;
            bottom: -10px;
            background: var(--burgundy);
            border-radius: 20px;
            opacity: 0.05;
            z-index: 1;
        }

            .services,
            .about,
            .contact,
            .pricing {
                padding: 4rem 4%;
            }

            .emergency-content {
                flex-direction: column;
                gap: 1rem;
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 480px) {
            .hero-content h1 {
                font-size: 2rem;
            }

            .hero-content p {
                font-size: 1.1rem;
            }

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

            .services-grid,
            .pricing-grid,
            .testimonials-grid {
                grid-template-columns: 1fr;
            }

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

            .about-visual i {
                font-size: 6rem;
            }
        }

        @media (max-width: 768px) {

            
            .footer-links-section {
                grid-template-columns: 1fr;
            }
            
              }
            
            



















html, body {
  overflow-x: hidden;
  max-width: 100%;
}




img {
  max-width: 100%;
  height: auto;
  display: block;
}





        /* Notification container */
#form-notif {
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    font-weight: 500;
    display: none;        /* caché par défaut */
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* Notification succès (vert) */
#form-notif.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    box-shadow: 0 2px 5px rgba(0, 128, 0, 0.2);
}

/* Notification erreur (rouge) */
#form-notif.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    box-shadow: 0 2px 5px rgba(128, 0, 0, 0.2);
}

/* Animation d’apparition */
#form-notif.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-10px);}
    to {opacity: 1; transform: translateY(0);}
}
