/* Styles CSS de base pour le site */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    background-color: #f0f2f5;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}
header {
    background-color: #2c3e50; /* Bleu foncé */
    color: white;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex; /* Permet le centrage vertical et la disposition */
    flex-direction: column; /* Pour empiler logo et nav */
    align-items: center; /* Centre le contenu horizontalement */
}
header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%; /* Ajuste la largeur du conteneur dans le header */
    max-width: 1200px;
}
.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Espace entre le logo et la nav */
}
.logo {
    height: 60px; /* Ajustez si nécessaire */
    margin-right: 15px;
}
.site-branding .site-name {
    font-size: 2em;
    margin: 0;
    font-weight: bold;
}
.site-branding .site-tagline {
    font-size: 0.9em;
    margin: 0;
    opacity: 0.9;
}

/* Styles pour la navigation */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 0;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #e74c3c; /* Couleur rouge vif au survol */
}

#hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('hero-security.webp') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
}
#hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}
#hero .sub-headline {
    font-size: 1.5em;
    margin-bottom: 40px;
}
.cta-button {
    display: inline-block;
    background-color: #e74c3c; /* Rouge vif pour l'action */
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}
.cta-button:hover {
    background-color: #c0392b;
}
section {
    padding: 60px 0;
    background-color: white;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
section:nth-of-type(even) {
    background-color: #e9eff6; /* Bleu très clair */
}
h2 {
    text-align: center;
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 40px;
}
.why-choose-us-grid, .products-grid, .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}
.usp-item, .product-item, .benefit-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.usp-item:hover, .product-item:hover, .benefit-item:hover {
    transform: translateY(-5px);
}
.usp-icon, .product-img, .benefit-icon {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 50%; /* Pour les icônes rondes */
}
.product-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 20px;
}
.usp-item h3, .product-item h3, .benefit-item h3 {
    color: #2c3e50;
    font-size: 1.5em;
    margin-bottom: 10px;
}
#contact-form form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
#contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}
#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="tel"],
#contact-form select,
#contact-form textarea {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}
#contact-form textarea {
    resize: vertical;
}
#contact-form .cta-button {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    border: none;
    cursor: pointer;
    background-color: #28a745; /* Vert pour le bouton d'envoi */
}
#contact-form .cta-button:hover {
    background-color: #218838;
}
.contact-details p {
    font-size: 1.1em;
    margin-bottom: 10px;
}
.contact-details a {
    color: #2c3e50;
    text-decoration: none;
}
.contact-details a:hover {
    text-decoration: underline;
}
.map-container {
    margin-top: 40px;
    text-align: center;
}
.map-container iframe {
    max-width: 100%;
    border-radius: 8px;
}
footer {
    background-color: #34495e; /* Bleu gris foncé */
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}
footer a {
    color: #e74c3c; /* Rouge pour les liens du footer */
    text-decoration: none;
    margin: 0 10px;
}
footer a:hover {
    text-decoration: underline;
}
.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;
}

/* Styles spécifiques à la page web-services.html */
.service-section {
    background-color: white;
    padding: 60px 0;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.service-section:nth-of-type(even) {
    background-color: #e9eff6;
}
.service-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    justify-content: center; /* Centrer les éléments */
}
.service-content.reverse {
    flex-direction: row-reverse;
}
.service-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px; /* Limite la largeur du texte */
}
.service-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}
.service-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.service-list {
    list-style: none;
    padding: 0;
}
.service-list li {
    background: url('icon-check.webp') no-repeat left center; /* Placeholder pour l'icône de coche, assurez-vous que cette image existe ou remplacez-la par une icône CSS/Font Awesome */
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #333;
}
.cta-small-button {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}
.cta-small-button:hover {
    background-color: #c0392b;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #hero h1, #hero-web-services h1 {
        font-size: 2.5em;
    }
    #hero .sub-headline, #hero-web-services .sub-headline {
        font-size: 1.2em;
    }
    h2 {
        font-size: 2em;
    }
    .why-choose-us-grid, .products-grid, .benefits-grid {
        grid-template-columns: 1fr;
    }
    .usp-item, .product-item, .benefit-item {
        padding: 20px;
    }
    .usp-icon, .product-img, .benefit-icon {
        width: 80px;
    }
    /* Responsive pour la navigation */
    header .container {
        align-items: flex-start; /* Réaligner à gauche si nécessaire */
    }
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%; /* La navigation prend toute la largeur */
    }
    nav ul li {
        margin: 5px 0;
        text-align: left;
    }
    .service-content, .service-content.reverse {
        flex-direction: column; /* Force la colonne même en reverse pour mobile */
    }
    .service-text, .service-image {
        min-width: unset; /* Annule le min-width pour petits écrans */
        width: 100%;
        max-width: 100%;
    }
}
@media (max-width: 480px) {
    .site-branding .site-name {
        font-size: 1.8em;
    }
    .site-branding .site-tagline {
        font-size: 0.8em;
    }
    #hero, #hero-web-services {
        padding: 60px 15px;
    }
    #hero h1, #hero-web-services h1 {
        font-size: 2em;
    }
    .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    section {
        padding: 40px 0;
    }
    h2 {
        font-size: 1.8em;
    }
    #contact-form form {
        padding: 25px;
    }
    #contact-form input[type="text"],
    #contact-form input[type="email"],
    #contact-form input[type="tel"],
    #contact-form select,
    #contact-form textarea {
        width: calc(100% - 16px);
        padding: 10px;
    }
}