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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    min-width: 480px;
}   

/* Notification bar */
.notification-bar {
    background-color: #000;
    color: #00a693;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    position: relative;
    z-index: 1000;
}

/* Header */
.header {
    background-color: #fff;
    padding: 30px 0 30px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 100px;
    width: auto;
}

.cta-button {
    color: #333;
    padding: 6px 20px;
    margin-bottom: 30px;
    border: solid 1.5px #333;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #e0e0e0;
}

/* Hero section */
.hero {
    height: 400px;
    position: relative;
    overflow: hidden;
    margin-bottom: 17px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Section styles */
.section {
    padding: 40px 0;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.section-text {
    text-align: center;
    /*max-width: 800px;*/
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.separator-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0;
}
.separator {
    
    height: 1px;
    background-color: #e0e0e0;
    margin-left: 20%;
    margin-right: 20%;
}

/* Contact form */
.contact-section {
    background-color: #f9f9f9;
}

.contact-form {
    /*max-width: 600px;*/
    margin: 40px auto 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-hint {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #00a693;
}

textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background-color: #00a693;
    color: white;
    padding: 10px 40px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    margin: 30px auto 0;
}

.submit-btn:hover {
    background-color: #008a7a;
}

/* Partners section */
.partners-section {
    background-color: #e0e0e0;
    padding: 60px 0;
}

.partners-carousel-container {
    position: relative;
    margin-top: 40px;
    overflow: hidden;
}

.partners-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
    cursor: grab;
    user-select: none;
}

.partners-carousel.dragging {
    cursor: grabbing;
    transition: none;
}

.partner-logo {
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.partner-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 10px;
}

/* Modal de confirmation */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #333;
}

.modal-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.modal-message {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
}

.modal-button {
    background-color: #00a693;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.modal-button:hover {
    background-color: #008a7a;
}

/* Responsive modal */
@media (max-width: 480px) {
    .modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-message {
        font-size: 14px;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.carousel-btn.prev-btn {
    left: 10px;
}

.carousel-btn.next-btn {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-dot.active {
    background: #00a693;
}

/* Footer */
.footer {
    /* background-color: #666; */
    background: url('visuels\ exports/footer.png') center center repeat;
    background-size: cover;
    color: white;
    padding: 30px 0 70px 0;
    border-top: #000 3px solid;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-links span {
    margin-right: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    /* background-color: #333; */
    background: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: #00a693;
}

.social-icon i, .social-icon svg {
    color: white;
    font-size: 1.05em;
    width: 2em;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-text {
    font-size: 14px;
    color: #ccc;
}

/* Responsive design - Mobile First */

/* Styles de base (Mobile) */
.container {
    padding: 0;
}

.hero {
    margin: 0;
    width: 100%;
    height: 300px;
}

.section-text,
.contact-form,
.section-title {
    margin-left: 48px;
    margin-right: 48px;
}

.header .container {
    padding: 0 20px;
}

.footer .container {
    padding: 0 20px;
}

.header-content {
    flex-direction: column;
    gap: 15px;
}

.cta-button {
    align-self: flex-end;
    
    order: -1;
}

.logo {
    justify-content: center;
}

.logo-svg {
    height: 100px;
}

.hero-car {
    width: 300px;
    height: 150px;
}

.hero-car::before,
.hero-car::after {
    width: 50px;
    height: 10px;
    top: 70px;
}

.hero-car::before {
    left: 40px;
}

.hero-car::after {
    right: 40px;
}

.section {
    padding: 40px 0;
}

.section-title {
    font-size: 24px;
}

.form-row {
    flex-direction: column;
}

.partners-carousel-container {
    margin-left: 48px;
    margin-right: 48px;
}

.partners-carousel {
    justify-content: flex-start;
}

.footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

        .partner-logo {
            width: 120px;
            height: 120px;
        }

        .partner-image {
            padding: 8px;
        }

/* Tablet 481px et plus */
@media (min-width: 481px) {
  .cta-button {
    order: -1;
  }

    .hero {
        height: 350px;
    }

    .section-title {
        font-size: 26px;
    }
}

/* Desktop 769px et plus */
@media (min-width: 769px) {
    .header {
        padding: 70px 0 30px 0;
    }
    .container {
        max-width: 1080px;
        margin: 0 auto;
        padding: 0;
    }
    
    .header-content {
        flex-direction: row;
        gap: 0;
    }

    .logo {
        justify-content: flex-start;
    }
    .cta-button {
        order: 0;
      }
    .logo-svg {
        height: 100px;
    }

    .hero {
        max-width: 1080px;
        margin: 0 auto;
        height: 400px;
    }

    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 28px;
        line-height: 28px;;
    }

    .section-text {
        padding-left: 20%;
        padding-right: 20%;
        margin-left: 0;
        margin-right: 0;
    }

    .contact-form {
        padding-left: 20%;
        padding-right: 20%;
        margin-left: 0;
        margin-right: 0;
    }

    .form-row {
        flex-direction: row;
    }

    .partners-carousel-container {
        padding-left: 20%;
        padding-right: 20%;
        margin-left: 0;
        margin-right: 0;
    }

    .partners-carousel {
        justify-content: center;
    }

    .footer-content {
        flex-direction: row;
        gap: 0;
        text-align: left;
    }

            .partner-logo {
            width: 140px;
            height: 140px;
        }

        .partner-image {
            padding: 12px;
        }
}