/* Reset par défaut */
body, h1, h2, h3, p, ul, li, form, input, textarea, button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header et navigation */
header {
    background-color: #f8f8f8;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #007bff;
}

/* Section Hero */
.hero {
    text-align: center;
    padding: 100px 30px;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

/* Sections principales */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 30px;
}

section {
    margin-bottom: 50px;
}

section h2 {
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
}

/* Section Services */
.services {
    text-align: center;
    padding: 0 20px;
    margin-bottom: 100px;
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-carousel {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    max-width: 100%;
}

.service-item {
    text-align: center;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 0 10px;
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 350px;
}

.service-item img {
    width: 80px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

service-item h3 {
    margin-bottom: 15px;
}

.service-item p {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Section Clients */
.clients {
    text-align: center;
    padding: 50px 20px;
}

.client-carousel {
    display: flex;
    justify-content: center;
    max-width: 100%;
}

.client-item {
    text-align: center;
    padding: 40px 30px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin: 0 15px;
    width: 220px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, z-index 0s linear 0.3s, opacity 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
    opacity: 0.6;
    transform: scale(0.95);
    background-color: #f9f9f9;
}

.client-item img {
    max-width: 160px;
    max-height: 110px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.client-item.slick-center {
    transform: scale(1.2);
    z-index: 2;
    opacity: 1;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    background-color: #fff;
}

.client-item.slick-center img {
    transform: scale(1.1);
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    font-size: 0.9em;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-section {
    margin: 20px 0;
    flex: 1 1 300px;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #007bff;
}

.footer-bottom {
    margin-top: 30px;
    border-top: 1px solid #555;
    padding-top: 20px;
}

.footer-bottom p {
    margin: 0;
}

/* Style des flèches SVG */
.slick-prev-container,
.slick-next-container {
    padding: 0 10px;cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
}

.slick-prev-container svg,
.slick-next-container svg {
    stroke: #888;
    width: 20px;
    height: 20px;
}

.slick-prev-container:hover svg,
.slick-next-container:hover svg {
    stroke: #333;
}

/* Style de la page de mot de passe */
.password-container {
    width: 300px;
    margin: 100px auto;
    text-align: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.password-container img.password-logo {
    width: 100px;
    margin-bottom: 20px;
}

.password-container h2 {
    margin-bottom: 20px;
}

.password-container input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.password-container button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Style de la notification d'erreur */
#error-message.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffe6e6;
    color: #cc0000;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #cc0000;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
}

#error-message.notification.show {
    opacity: 1;
}

#error-message.notification img.error-icon {
    width: 20px;
    margin-right: 10px;
    vertical-align: middle;
}