body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: #f4f7f4;
    margin: 0;
    padding: 0;
    color: #222;
}
header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    height: 90px;
}
.logo img {
    height: 60px;
}
nav ul {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}
nav a {
    color: #013220;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.08rem;
}
nav a:hover {
    color: #388E3C;
}
.dropdown {
    position: relative;
}
.dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 10;
    left: 0;
    top: 100%;
    padding: 0;
    border-top: 3px solid #388E3C;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown-content a {
    display: block;
    padding: 10px 18px;
    color: #013220;
    font-size: 1rem;
}
.dropdown-content a:hover {
    background: #f4f7f4;
    color: #388E3C;
}
.navbar-sep {
    color: #013220;
    font-size: 1.3rem;
    margin: 0 10px;
    align-self: center;
}
.navbar-phone {
    display: flex;
    align-items: center;
    color: #013220;
    font-weight: bold;
    font-size: 1.1rem;
    gap: 6px;
}
.phone-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}
/* --- Hero --- */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    height: 85vh;
}
.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.hero-bar {
    display: flex;
    gap: 18px;
    align-items: center;
    font-size: 2.7rem;
    font-weight: 700;
    color: #013220;
    margin-bottom: 10px;
}
.hero-bar-colin {
    color: #388E3C;
    font-size: 7rem;
    letter-spacing: 2px;
}
.hero-bar-motoculture {
    color: #013220;
    font-size: 7rem;
    letter-spacing: 1px;
}
.hero-slogan {
    display: block;
    color: #fff;
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.5px;
    z-index: 3;
}
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.5) blur(1px);
}
/* --- Main --- */
main {
    padding: 20px;
    background-color: #fff;
}
/* --- Produits --- */
.product {
    border: 1px solid #ddd;
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.product img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}
.price {
    font-weight: bold;
    color: #4CAF50;
    font-size: 1.2rem;
    margin-top: 10px;
    display: block;
}
/* --- Contact --- */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: stretch;
    margin-top: 20px;
}
.map-container {
    flex: 1;
    min-width: 300px;
    height: 100%;
    /* Ajusté pour correspondre à contact-details */
    display: flex;
}
.contact-details {
    flex: 1 1 200px;
    min-width: 200px;
    font-size: 1rem;
    color: #013220;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
}
.icon-contact {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 7px;
}
.horaires-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0 5px;
    font-size: 1rem;
}
.horaires-list li {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 2px;
}
.horaires-list li span:first-child {
    min-width: 90px;
    font-weight: 500;
    color: #013220;
}
/* --- About --- */
.about-section {
    background: #fff;
    padding: 40px 20px;
    border-radius: 8px;
    margin: 40px auto;
    max-width: 1000px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.about-section h2 {
    text-align: center;
    color: #013220;
    margin-bottom: 30px;
}
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}
.about-img {
    flex: 1 1 300px;
    max-width: 350px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    width: 100%;
    height: auto;
}
.about-text {
    flex: 2 1 400px;
    font-size: 1.1rem;
    color: #222;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: justify;
}
.about-text .btn-en-savoir-plus {
    align-self: center;
    text-align: center;
}
/* --- Section Cartes Produits/Location --- */
.redirect-section {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: stretch;
    /* Important pour que les cartes aient la même hauteur */
    margin: 50px auto 0;
    max-width: 900px;
    flex-wrap: wrap;
}
.redirect-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(60, 120, 60, 0.07);
    overflow: hidden;
    max-width: 350px;
    min-width: 260px;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s, transform 0.2s;
}
.redirect-card:hover {
    box-shadow: 0 6px 24px rgba(60, 120, 60, 0.13);
    transform: translateY(-6px) scale(1.025);
}
.redirect-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.redirect-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    /* Prend tout l'espace disponible */
    justify-content: space-between;
    /* Distribue l'espace entre les éléments */
    text-align: center;
    padding: 22px 18px 18px;
}
/* Conteneur pour le titre pour assurer l'alignement */
.redirect-content h3 {
    text-align: center;
    width: 100%;
    margin-top: 0;
    margin-bottom: 12px;
    min-height: 2.5em;
    /* Hauteur minimale pour l'alignement des titres */
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Conteneur pour le contenu principal (description) */
.redirect-description {
    flex: 1;
    /* Prend l'espace disponible */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* Conteneur pour le bouton */
.redirect-button-container {
    margin-top: auto;
    /* Pousse le bouton vers le bas */
    padding-top: 18px;
}
.redirect-btn {
    padding: 10px 24px;
    background: #388E3C;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s;
    display: inline-block;
}
.redirect-btn:hover {
    background: #27692a;
}
.elite-title {
    font-size: 1.35rem;
    letter-spacing: 2px;
    color: #e65100;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 1px 1px 4px #fff7, 0 2px 8px #e6510033;
}
.elite-desc, .location-desc {
    font-size: 1.08rem;
    color: #222;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 0;
}
.location-highlight {
    color: #388E3C;
    font-weight: bold;
    font-style: normal;
}
/* --- Footer --- */
footer {
    background: #388E3C url('ressources/footer.png') bottom center repeat-x;
    color: #fff;
    text-align: center;
    padding: 20px 0 10px;
    margin-top: 40px;
    margin-bottom: -20px;
    position: relative;
    z-index: 1;
}
.footer-links {
    margin-bottom: 10px;
}
.footer-links a, .mentions a {
    color: black;
    margin: 0 8px;
    text-decoration: none;
    font-weight: 500;
}
.footer-links a:hover, .mentions a:hover {
    color: #fff;
    text-decoration: underline;
}
.mentions {
    font-size: 0.92rem;
    margin-top: 8px;
}
/* --- Responsive --- */
@media (max-width: 800px) {
    .header-main {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 30px;
        height: auto;
    }
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    .logo img {
        height: auto;
        width: auto;
    }
    .hero-bar {
        font-size: 2.1rem;
        gap: 10px;
    }
    .hero-bar-colin, .hero-bar-motoculture {
        font-size: 2.2rem;
    }
    .hero-slogan {
        font-size: 1.1rem;
    }
    .hero {
        height: 40vh;
        min-height: 180px;
    }
    .redirect-section {
        flex-direction: column;
        gap: 30px;
        max-width: 100%;
    }
    .redirect-card {
        max-width: 100%;
        min-width: 0;
    }
    .about-content {
        flex-direction: column;
        gap: 20px;
    }
    .about-img {
        max-width: 100%;
    }
}
.redirect-separator {
    border: none;
    height: 3px;
    background: #388E3C;
    margin: 40px auto 40px auto;
    max-width: 300px;
    width: 90%;
    border-radius: 2px;
    opacity: 0.8;
}
nav a.active {
    color: #388E3C !important;
    font-weight: 700;
    border-bottom: 2.5px solid #388E3C;
    background: #eaf7ea;
    border-radius: 4px 4px 0 0;
}
.hero-societe {
    background: url('ressources/colin1.png') center/cover no-repeat;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-societe::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
    max-width: 800px;
    padding: 40px 20px;
}
.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}
.hero-content p {
    font-size: 1.2rem;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}
.body-societe .about-section-societe {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}
.body-societe .about-content-societe {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}
.body-societe .about-text-societe {
    flex: 2 1 400px;
    min-width: 300px;
}
.body-societe .about-images-societe {
    flex: 1 1 250px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
}
.body-societe .about-images-societe img {
    width: 100%;
    border-radius: 8px;
}
.body-societe .hero-slogan-societe {
    text-align: justify;
    display: block;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.5px;
    z-index: 3;
}
.body-societe .hero-bar-colin {
    color: #388E3C;
    position: relative;
    display: inline-block;
}
.body-societe .hero-bar-colin::after {
    content: "";
    position: absolute;
    left: 1.35em;
    top: 100%;
    width: 5px;
    height: 80px;
    background: #388E3C;
    border-radius: 3px;
    margin-top: 6px;
}
.about-row-societe {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}
.about-img-societe img {
    max-width: 100%;
    border-radius: 8px;
}
.about-grid-societe {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.about-grid-row-societe {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}
.about-grid-row-societe.reverse {
    direction: rtl;
}
.about-grid-row-societe.reverse > * {
    direction: ltr;
}
.about-grid-text-societe {
    font-size: 1.1rem;
    color: #222;
    line-height: 1.7;
    text-align: justify;
}
.about-grid-img-societe {
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-grid-img-societe img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
.about-section-societe p {
    line-height: 1.3;
}
.about-bar-societe {
    width: 90%;
    max-width: 350px;
    height: 5px;
    background: #388E3C;
    border-radius: 3px;
    margin: 40px auto 30px auto;
    opacity: 0.85;
}
@media (max-width: 900px) {
    .about-grid-row-societe {
        grid-template-columns: 1fr;
    }
    .about-grid-row-societe.reverse {
        direction: ltr;
    }
}
.about-text {
    font-size: 1.15rem;
    color: #234;
    line-height: 1.7;
    max-width: 600px;
}
.btn-en-savoir-plus {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 28px;
    background: #388E3C;
    color: #fff;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.08rem;
    text-decoration: none;
    box-shadow: 0 2px 8px #388e3c22;
    transition: background 0.2s, box-shadow 0.2s;
    border: none;
}
.btn-en-savoir-plus:hover {
    background: #27692a;
    box-shadow: 0 4px 16px #388e3c33;
}
.about-img-main {
    border-radius: 14px;
    width: 320px;
}
.about-img, .about-img-main {
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}
#searchInput {
    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    margin: 32px auto 24px auto;
    display: block;
    border: 1.5px solid #ccc;
    border-radius: 25px;
    font-size: 1.1rem;
    background: #f9f9f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: border 0.2s, box-shadow 0.2s;
}
#searchInput:focus {
    border: 1.5px solid #2e7d32;
    outline: none;
    box-shadow: 0 4px 16px rgba(46, 125, 50, 0.10);
}
#catalogue-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-bottom: 40px;
}
.catalogue-toolbar {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(60, 120, 60, 0.07);
    padding: 28px 24px 18px 24px;
    max-width: 700px;
    margin: 36px auto 32px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    align-items: center;
}
.catalogue-toolbar #searchInput, .catalogue-toolbar #sortSelect {
    margin: 0;
}
.hero-slogan-location {
    display: block;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.5px;
    z-index: 3;
    text-align: center;
}
.hero-bar-location {
    width: 120px;
    height: 4px;
    background: #388E3C;
    margin: 20px auto 0 auto;
    border-radius: 2px;
}
.hero-bar-location2 {
    width: 180px;
    height: 4px;
    background: #388E3C;
    margin: 20px auto 0 auto;
    border-radius: 2px;
}
.hero-location {
    background: url('ressources/herolocation.png') center/cover no-repeat;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-location .hero-overlay {
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.location-cards-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
.location-cards-section h2 {
    text-align: center;
    color: #013220;
    margin-bottom: 30px;
}
.location-cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
    margin-bottom: 80px;
}
.location-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(60, 120, 60, 0.07);
    max-width: 360px;
    min-width: 300px;
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 10px 20px 10px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.location-card:hover {
    box-shadow: 0 6px 24px rgba(60, 120, 60, 0.13);
    transform: translateY(-6px) scale(1.025);
}
.location-card-img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 14px;
    display: block;
}
.location-card h3 {
    font-size: 1.15rem;
    color: #388E3C;
    margin: 0 0 8px 0;
    text-align: center;
}
.location-card p {
    font-size: 0.98rem;
    color: #222;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.7;
}
.location-card-separator {
    width: 80%;
    height: 3px;
    background: #388E3C;
    margin: 10px auto 14px auto;
    border-radius: 2px;
}
.location-global-caption {
    font-size: 1.08rem;
    color: #444;
    margin: 24px auto 0 auto;
    text-align: justify;
    max-width: 700px;
}
@media (max-width: 800px) {
    .about-content {
        flex-direction: column;
        gap: 24px;
        padding: 0 10px;
    }
    .about-img-main {
        width: 100%;
    }
}
.catalogue-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
.catalogue-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('ressources/colin1.png') center/cover no-repeat;
    padding: 75px 75px;
    border-radius: 12px;
    margin: 20px auto 60px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    max-width: 1200px;
    position: relative;
}
.catalogue-banner {
    text-align: center;
    padding: 20px 0 40px;
}
.catalogue-banner h1 {
    font-size: 2.8rem;
    margin: 0 0 20px;
    color: white;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}
.catalogue-banner p {
    font-size: 1.2rem;
    margin: 0 auto;
    opacity: 0.95;
    max-width: 700px;
    line-height: 1.5;
    color: white;
}
.catalogue-controls {
    background: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 30px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    margin-bottom: -50px;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.search-box {
    flex: 2;
    min-width: 300px;
    position: relative;
    display: flex;
    align-items: center;
}
.sort-box {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 20px;
}
.search-box, .sort-box {
    display: flex;
    align-items: center;
    position: relative;
}
.search-box .search-icon {
    position: absolute;
    right: 25px;
    color: #777;
    pointer-events: none;
}
.search-box input {
    width: 100%;
    padding: 8px 12px 8px 35px;
    border-radius: 4px;
    border: 1.5px solid #ccc;
    font-size: 16px;
    transition: all 0.3s;
    height: 46px;
}
.search-box input:focus {
    border-color: #388E3C;
    box-shadow: 0 0 0 3px rgba(56, 142, 60, 0.2);
    outline: none;
}
.sort-box label {
    margin-right: 12px;
    color: #222;
    white-space: nowrap;
}
.sort-box select {
    flex: 1;
    padding: 10px 16px;
    border-radius: 25px;
    border: 1.5px solid #ccc;
    background: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}
.sort-box select:focus {
    border-color: #388E3C;
    box-shadow: 0 0 0 3px rgba(56, 142, 60, 0.2);
    outline: none;
}
.catalogue-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
.catalogue-section h1 {
    text-align: center;
    color: #013220;
    margin-bottom: 30px;
    font-size: 2rem;
}
.catalogue-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
    margin-bottom: 80px;
}
.catalogue-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(60, 120, 60, 0.07);
    max-width: 360px;
    min-width: 300px;
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 10px 20px 10px;
    transition: box-shadow 0.2s, transform 0.2s;
    height: 100%;
}
.catalogue-card:hover {
    box-shadow: 0 6px 24px rgba(60, 120, 60, 0.13);
    transform: translateY(-6px) scale(1.025);
}
.catalogue-image-container {
    width: 100%;
    height: 260px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 14px;
}
.catalogue-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}
.catalogue-card:hover .catalogue-image {
    transform: scale(1.05);
}
.catalogue-content {
    width: 100%;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}
.catalogue-card h3 {
    font-size: 1.15rem;
    color: #388E3C;
    margin: 0 0 8px 0;
    text-align: center;
    min-height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.catalogue-desc {
    font-size: 0.98rem;
    color: #222;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.7;
    flex-grow: 1;
    min-height: 80px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.catalogue-separator {
    width: 60%;
    height: 4px;
    background: linear-gradient(to right, transparent, #388E3C, transparent);
    margin: 15px auto 18px auto;
    border-radius: 3px;
}
.catalogue-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: auto;
    padding: 0 15px;
    height: 40px;
}
.catalogue-prix {
    font-weight: bold;
    color: #388E3C;
    font-size: 1.2em;
}
.catalogue-ref {
    font-size: 0.8em;
    color: #777;
}
.catalogue-stats {
    text-align: center;
    margin: 50px 0 20px;
    color: #444;
    font-size: 1.1rem;
}
.catalogue-stats #statsCount {
    font-weight: bold;
    color: #388E3C;
}
.no-results, .error-message, .loading {
    text-align: center;
    padding: 20px;
    color: #666;
    width: 100%;
}
.error-message {
    color: #d32f2f;
}
.loading {
    font-style: italic;
}
/* Pour les écrans mobiles */
@media (max-width: 428px) {
    .catalogue-header {
        padding: 30px 20px;
        margin-bottom: 50px;
    }
    .catalogue-banner {
        padding: 0px 0 30px;
    }
    .catalogue-banner h1 {
        font-size: 2rem;
    }
    .catalogue-controls {
        padding: 25px 20px;
    }
    .search-box, .sort-box {
        min-width: 100%;
    }
}
/* Styles pour la fenêtre modale */
.product-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}
.modal-content {
    background-color: #fff;
    margin: 5% auto;
    border-radius: 12px;
    width: 80%;
    max-width: 1000px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s;
    overflow: hidden;
}
.close-modal {
    color: #555;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px 20px;
    transition: color 0.2s;
}
.close-modal:hover {
    color: #388E3C;
}
.modal-product {
    display: flex;
    flex-wrap: wrap;
}
.modal-image-container {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#modal-image {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}
.modal-details {
    flex: 1;
    min-width: 300px;
    padding: 20px 30px;
}
.modal-separator {
    width: 60%;
    height: 4px;
    background: linear-gradient(to right, transparent, #388E3C, transparent);
    margin: 15px 0 20px 0;
    border-radius: 3px;
}
.modal-description-container {
    margin-bottom: 20px;
}
.modal-specs {
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #388E3C;
}
.modal-specs h3 {
    color: #388E3C;
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.modal-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
.modal-price {
    font-weight: bold;
    color: #388E3C;
    font-size: 1.3em;
}
.modal-ref {
    font-size: 0.9em;
    color: #777;
}
.details-button {
    background-color: #388E3C;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    margin: 10px auto 0;
}
.details-button:hover {
    background-color: #2E7D32;
}
/* Animation pour l'ouverture de la modale */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 428px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}
.filter-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}
.filter-controls label {
    margin-right: 5px;
}
.sort-box {
    margin-left: 10px;
    margin-right: 10px;
}
.catalogue-controls {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 15px;
}
@media (min-width: 768px) {
    .catalogue-controls {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .search-box {
        width: 40%;
    }
    .filter-controls {
        width: 55%;
        justify-content: flex-end;
    }
}
.modal-specs {
    max-height: 200px;
    /* Hauteur maximale, à ajuster selon vos besoins */
    padding-right: 10px;
    /* Espace pour la barre de défilement */
}
/* Pour une meilleure apparence sur tous les navigateurs */
.modal-specs::-webkit-scrollbar {
    width: 6px;
}
.modal-specs::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}
.modal-specs::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}
.modal-specs::-webkit-scrollbar-thumb:hover {
    background: #555;
}
/* Amélioration pour l'affichage des spécifications */
#modal-specs {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 15px;
}
#modal-specs div {
    display: contents;
}
#modal-specs div span:first-child {
    font-weight: 500;
    color: #444;
}
#modal-specs div span:last-child {
    color: #666;
}
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* Grands écrans */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .product-title {
        font-size: 1.4rem;
    }
}
@media (max-width: 428px) {
    /* Styles pour le header */
    .header-main {
        flex-direction: column;
        align-items: center;
        padding: 15px 30px;
        height: auto;
        text-align: center;
    }
    /* Ajustement du hero pour la page societe */
    .hero-societe, .image-container {
        height: 40vh;
        /* Même hauteur que le hero sur index */
        min-height: 180px;
    }
    .hero-slogan-societe {
        padding-left: 30px;
        padding-right: 30px;
        text-align: center;
        width: 90%;
        margin: 0 auto;
    }
    /* Cacher la barre verticale */
    .hero-bar-colin::after {
        display: none;
    }
    /* Centrer le texte et ajuster sa taille */
    .body-societe .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 10px;
    }
    .body-societe .hero-content h2 {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    .body-societe .hero-content p {
        font-size: 1rem;
    }
    .catalogue-controls {
        width: 90%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        padding: 20px 15px;
        box-sizing: border-box;
    }
    .search-box, .sort-box {
        width: 100%;
        min-width: 0;
    }
    .search-box input {
        font-size: 14px;
        height: 40px;
    }
    .sort-box select {
        font-size: 14px;
        padding: 8px 12px;
    }
    .catalogue-header {
        padding: 25px 15px;
    }
    .catalogue-banner h1 {
        font-size: 1.8rem;
    }
    .catalogue-banner p {
        font-size: 1rem;
    }
    .redirect-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
        margin: 30px auto;
    }
    .redirect-card {
        width: 100%;
        max-width: 380px;
        min-height: auto;
        margin: 0 auto 20px auto;
        display: block;
        overflow: visible;
        box-shadow: 0 2px 10px rgba(60, 120, 60, 0.07);
        border-radius: 10px;
        background: #fff;
    }
    .redirect-img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
        max-height: 220px;
        border-radius: 10px 10px 0 0;
    }
    .redirect-content {
        width: 100%;
        padding: 20px 15px;
        box-sizing: border-box;
        display: block;
        text-align: center;
    }
    .redirect-description {
        min-height: auto;
        margin: 15px 0;
    }
    .redirect-button-container {
        margin-top: 15px;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .redirect-content h3 {
        min-height: auto;
        margin-bottom: 15px;
        display: block;
        text-align: center;
        width: 100%;
    }
}
.modal-specs {
    max-height: 200px;
    /* Hauteur maximale, à ajuster selon vos besoins */
    overflow-y: auto;
    /* Permet le défilement vertical */
    padding-right: 10px;
    /* Espace pour la barre de défilement */
    border-left: 4px solid #388E3C;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-top: 20px;
    padding: 15px;
}
/* Pour la présentation en grille à l'intérieur */
#modal-specs {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 15px;
}
/* Styles pour la section forfaits SAV */
.sav-forfaits {
    padding: 60px 20px;
    background-color: #f8f8f8;
    margin-bottom: 60px;
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
    /* Augmenté pour équilibrer avec les cartes plus grandes */
}
.section-description {
    max-width: 900px;
    /* Augmenté pour équilibrer avec le reste */
    margin: 0 auto;
    line-height: 1.6;
    color: #555;
    font-size: 1.15rem;
    /* Légèrement plus grand */
}
.forfaits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 70px;
    /* Espacement plus important entre les cartes */
    margin: 30px auto;
    max-width: 1800px;
    /* Augmenté pour accommoder des cartes encore plus grandes */
}
.forfait-card {
    background: white;
    border-radius: 12px;
    /* Légèrement plus arrondi */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    /* Ombre plus prononcée */
    overflow: hidden;
    width: 800px;
    /* Cartes beaucoup plus grandes */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 35px;
    /* Padding plus important */
    border: 1px solid #e0e0e0;
}
.forfait-card:hover {
    transform: translateY(-8px);
    /* Effet de survol plus prononcé */
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}
.forfait-img {
    width: 130%;
    /* Légèrement plus grand */
    height: auto;
    display: block;
    max-height: 1000px;
    /* Hauteur maximale considérablement augmentée */
    object-fit: contain;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    margin-left: -15%;
    /* Pour compenser la largeur à 130% */
}
.forfait-description {
    padding: 30px 0;
    /* Padding vertical augmenté */
    text-align: center;
}
.forfait-description h3 {
    color: #388E3C;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.8rem;
    /* Police plus grande */
}
.forfait-description p {
    color: #555;
    margin: 0;
    font-size: 1.25rem;
    /* Police plus grande */
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}
/* Responsive pour mobile */
@media (max-width: 428px) {
    .forfait-card {
        width: 320px;
    }
}
@media (max-width: 428px) {
    .forfaits-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    @media (max-width: 428px) {
        #sav-hero {
            height: 40vh;
            min-height: 180px;
        }
        #sav-hero h1 {
            font-size: 2.2rem;
        }
        #sav-hero p {
            font-size: 1.1rem;
        }
    }
    /* Responsive pour les petits écrans */
    @media (max-width: 428px) {
        .sav-hero-bar {
            font-size: 0.6em;
        }
        .sav-hero-bar .hero-bar-colin, .sav-hero-bar .hero-bar-motoculture {
            padding: 6px 15px;
            /* Réduit le padding sur les petits écrans */
        }
    }
    .forfait-card {
        width: 95%;
        max-width: 450px;
        /* Augmenté pour les mobiles */
        margin-bottom: 0;
        /* Géré par le gap */
    }
    .forfait-img {
        max-height: none;
        /* Enlève la restriction de hauteur sur mobile */
    }
}
/* Style du hero pour la page SAV */
#sav-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('ressources/hero-sav.jpg') center/cover no-repeat;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 0;
}
#sav-hero .hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
}
#sav-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: white;
}
#sav-hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    color: white;
    max-width: 800px;
    text-align: center;
}
/* Style spécifique pour la barre hero SAV */
.sav-hero-bar {
    width: auto;
    /* Au lieu d'une largeur fixe */
    max-width: none;
    /* Supprime la contrainte de largeur maximale */
    display: flex;
    justify-content: center;
    /* Centre horizontalement */
    align-items: center;
    /* Centre verticalement */
    font-size: 0.9em;
    margin: 0 auto;
    /* Centre le bloc dans son conteneur */
    gap: 10px;
    /* Maintient l'espacement entre les éléments */
}
.sav-hero-bar .hero-bar-colin, .sav-hero-bar .hero-bar-motoculture {
    padding: 8px 20px;
    /* Espacement égal de chaque côté */
    text-align: center;
    white-space: nowrap;
    display: inline-block;
    /* Assure un bon comportement d'affichage */
}
/* Responsive pour les écrans moyens */
@media (max-width: 1200px) {
    .forfait-card {
        width: 600px;
        padding: 25px;
    }
    .forfait-img {
        width: 120%;
        margin-left: -10%;
    }
}
/* Responsive pour les petits écrans */
@media (max-width: 428px) {
    #sav-hero {
        height: 40vh;
        min-height: 200px;
    }
    #sav-hero h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    #sav-hero p {
        font-size: 1.1rem;
        padding: 0 15px;
        margin-bottom: 20px;
    }
    .forfaits-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .forfait-card {
        width: 100%;
        max-width: 450px;
        padding: 20px;
    }
    .forfait-img {
        max-height: none;
        width: 110%;
        margin-left: -5%;
    }
    .forfait-description {
        padding: 20px 0;
    }
    .forfait-description h3 {
        font-size: 1.5rem;
    }
    .forfait-description p {
        font-size: 1.1rem;
    }
    .section-description {
        font-size: 1rem;
    }
}
@media (max-width: 428px) {
    .sav-hero-bar {
        font-size: 0.6em;
    }
    .sav-hero-bar .hero-bar-colin, .sav-hero-bar .hero-bar-motoculture {
        padding: 6px 12px;
    }
    #sav-hero h1 {
        font-size: 1.8rem;
    }
    #sav-hero p {
        font-size: 0.95rem;
    }
    .forfait-card {
        max-width: 100%;
        padding: 15px;
    }
    .forfait-description h3 {
        font-size: 1.3rem;
    }
    .forfait-description p {
        font-size: 1rem;
        line-height: 1.5;
    }
    .section-header {
        margin-bottom: 30px;
    }
}
/* Hero Section avec image */
#robot-hero {
    position: relative;
    height: 85vh;
    overflow: hidden;
}
.image-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
#hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#robot-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}
#robot-hero h1 {
    font-size: 3.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}
#robot-hero p {
    font-size: 1.5rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    max-width: 800px;
    margin: 0 auto;
}
@media (max-width: 428px) {
    #robot-hero h1 {
        font-size: 2.8rem;
    }
    #robot-hero p {
        font-size: 1.3rem;
    }
}
@media (max-width: 428px) {
    #robot-hero {
        height: 60vh;
    }
    #robot-hero h1 {
        font-size: 2.2rem;
    }
    #robot-hero p {
        font-size: 1rem;
    }
}
/* Styles pour le Quiz Robot et le Catalogue */
#quiz-robot, #robot-catalogue {
    padding: 60px 20px;
}
#quiz-robot {
    background-color: #f8f8f8;
}
#robot-catalogue {
    background-color: #fff;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
/* Styles pour le Quiz */
/* (garder les styles existants du quiz) */
/* Styles pour le Catalogue */
.catalog-filters {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 10px;
}
.filter-group {
    margin-bottom: 20px;
}
.filter-group h4 {
    margin-bottom: 10px;
    color: #388E3C;
}
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.filter-btn {
    padding: 8px 15px;
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.filter-btn:hover {
    background-color: #c8e6c9;
}
.filter-btn.active {
    background-color: #388E3C;
    color: white;
    border-color: #388E3C;
}
.filter-reset {
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.2s ease;
}
.filter-reset:hover {
    background-color: #e0e0e0;
}
.catalog-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
.robot-card {
    width: calc(33.33% - 30px);
    min-width: 300px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 780px;
    /* Hauteur fixe pour toutes les cartes */
}
.robot-card:hover {
    transform: translateY(-8px);
}
.robot-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    /* Changé à contain pour préserver les proportions */
}
.robot-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.robot-card h3 {
    color: #388E3C;
    margin-bottom: 10px;
    height: 50px;
    /* Hauteur fixe pour les titres */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.robot-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
    max-height: 120px;
    /* Hauteur maximale pour les caractéristiques */
    overflow-y: auto;
    /* Permet le défilement si nécessaire */
}
.robot-feature {
    background-color: #e8f5e9;
    color: #388E3C;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
}
.btn-details {
    background-color: #388E3C;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
}
.btn-details:hover {
    background-color: #2E7D32;
}
.no-results {
    text-align: center;
    padding: 30px;
    color: #555;
    font-style: italic;
}
/* Responsive */
@media (max-width: 428px) {
    .robot-card {
        width: calc(50% - 20px);
    }
}
@media (max-width: 428px) {
    .robot-card-content {
        flex-direction: column;
    }
    .robot-price-container {
        width: 100%;
        align-items: flex-start;
        margin-top: 15px;
    }
}
.robot-price-container {
    margin-top: auto;
    border-top: 1px solid #eaeaea;
    padding-top: 15px;
    width: 100%;
}
.robot-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #388E3C;
    white-space: nowrap;
    text-align: right;
}
.text-center {
    text-align: center;
}
.centered-content {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
#robot-process {
    padding: 40px 20px;
}
#robot-process strong {
    color: #388E3C;
}
.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
    margin-right: 8px;
    display: block;
}
.promo-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #e53935;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 1;
}
.brand-logo {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    opacity: 1 !important;
    /* Force l'opacité à 1 */
    visibility: visible !important;
}
.brand-logo img {
    max-width: 80%;
    max-height: 80%;
    height: auto;
    width: auto;
    object-fit: contain;
}
.catalogue-card {
    position: relative;
    overflow: visible !important;
    /* Assure que rien n'est coupé */
}
.catalogue-card:not(:hover) .brand-logo {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #4CAF50;
    color: white;
    font-size: 24px;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
#back-to-top:hover {
    background-color: #45a049;
    transform: translateY(-3px);
}
.btn-details, .redirect-btn {
    background-color: #2E7D32;
    /* Plus foncé que l'original */
}
/* Focus visible pour l'accessibilité au clavier */
a:focus, button:focus, input:focus, select:focus {
    outline: 3px solid #4CAF50;
    outline-offset: 2px;
}
.filters-row {
    display: flex;
    gap: 18px;
    align-items: center;
    margin: 12px 0 18px 0;
    justify-content: flex-start;
}
.filters-row select {
    padding: 10px 16px;
    font-size: 1rem;
    border-radius: 18px;
    border: 1.5px solid #ccc;
    background: #f9f9f9;
    min-width: 160px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: border 0.2s, box-shadow 0.2s;
    margin: 0;
}
.filters-row select:focus {
    border-color: #388E3C;
    outline: none;
    box-shadow: 0 0 0 3px rgba(56, 142, 60, 0.15);
}
.battery-logo {
    width: 100px;
    height: auto;
    margin-top: 12px;
    display: block;
}
/* Style pour la section équipe */
.team-section {
    padding: 60px 20px;
    background-color: #f8f8f8;
    margin: 40px 0;
}
.team-section h2 {
    text-align: center;
    color: #013220;
    font-size: 2.2rem;
    margin-bottom: 15px;
}
.team-separator {
    width: 80px;
    height: 4px;
    background: #388E3C;
    margin: 0 auto 30px auto;
    border-radius: 2px;
}
.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
}
/* Structure de la grille d'équipe */
.team-container {
    max-width: 1200px;
    margin: 0 auto;
}
/* Style pour les rangées */
.team-row {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}
.team-row:last-child {
    margin-bottom: 0;
}
/* Rangée du haut avec 3 membres */
.team-row-top {
    gap: 30px;
}
/* Rangée du bas avec 2 membres */
.team-row-bottom {
    gap: 60px;
}
/* Style des cartes membres */
.team-member {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 320px;
    flex-shrink: 0;
}
.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
/* Style pour les images */
.member-image-container {
    height: 280px;
    overflow: hidden;
}
.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.team-member:hover .member-image {
    transform: scale(1.05);
}
/* Style pour les informations */
.member-info {
    padding: 25px;
}
.member-info h3 {
    margin: 0 0 8px 0;
    color: #388E3C;
    font-size: 1.3rem;
}
.member-title {
    display: block;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-style: italic;
}
.member-description {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}
/* Responsive */
@media (max-width: 1100px) {
    .team-row-top {
        flex-wrap: wrap;
    }
    .team-member {
        width: calc(33.33% - 20px);
        min-width: 260px;
    }
}
@media (max-width: 900px) {
    .team-row-top, .team-row-bottom {
        flex-wrap: wrap;
        gap: 30px;
    }
    .team-member {
        width: calc(50% - 15px);
    }
}
@media (max-width: 428px) {
    .team-row-top, .team-row-bottom {
        flex-direction: column;
        align-items: center;
    }
    .team-member {
        width: 100%;
        max-width: 320px;
        margin-bottom: 30px;
    }
    .team-member:last-child {
        margin-bottom: 0;
    }
}
/* Styles pour le bouton de contact */
.contact-btn-container {
    text-align: center;
    margin: 30px auto;
    width: 100%;
}
.contact-trigger-btn {
    background-color: #388E3C;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(56, 142, 60, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.contact-trigger-btn:hover {
    background-color: #2E7D32;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(56, 142, 60, 0.3);
}
.contact-trigger-btn svg {
    width: 20px;
    height: 20px;
}
/* Styles pour la modal de contact */
.contact-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}
.contact-modal-content {
    background-color: #fff;
    border-radius: 12px;
    max-width: 550px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.4s ease-out;
    position: relative;
}
.contact-modal-header {
    background-color: #388E3C;
    color: white;
    padding: 20px 30px;
    border-radius: 12px 12px 0 0;
    text-align: center;
    position: relative;
}
.contact-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}
.close-modal-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.close-modal-btn:hover {
    transform: translateY(-50%) scale(1.2);
}
.contact-form-container {
    padding: 25px 30px;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}
.form-group {
    margin-bottom: 5px;
    width: 100%;
    box-sizing: border-box;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: #388E3C;
    box-shadow: 0 0 0 3px rgba(56, 142, 60, 0.15);
    outline: none;
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}
.submit-btn {
    background-color: #388E3C;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
}
.submit-btn:hover {
    background-color: #2E7D32;
}
.form-status {
    text-align: center;
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
    display: none;
}
.form-status.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    display: block;
}
.form-status.error {
    background-color: #ffebee;
    color: #c62828;
    display: block;
}
.form-status.loading {
    background-color: #e3f2fd;
    color: #1565c0;
    display: block;
}
@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Style responsive */
@media (max-width: 428px) {
    .contact-modal-content {
        width: 95%;
        max-height: 85vh;
    }
    .contact-modal-header h2 {
        font-size: 1.3rem;
    }
    .contact-form-container {
        padding: 20px;
    }
    .form-group input, .form-group textarea {
        padding: 10px;
    }
}
/* Style pour le menu hamburger */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}
.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #388E3C;
    border-radius: 3px;
    transition: all 0.3s ease;
}
/* Style pour le menu mobile */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    z-index: 999;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease;
    padding-top: 80px;
    touch-action: pan-y;
;
}
.mobile-nav.active {
    left: 0;
}
.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-nav li {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}
.mobile-nav a {
    color: #222;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
}
.mobile-nav a.active {
    color: #388E3C;
    font-weight: 700;
}
/* Style pour l'overlay quand le menu est ouvert */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
}
/* Ajuster pour mobile */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
    nav ul {
        display: none;
    }
    .header-main {
        position: relative;
        padding: 10px 20px;
    }
}
/* Animation pour le menu hamburger */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}
/* Adaptation pour les petits téléphones */
@media (max-width: 390px) {
    .hero-bar {
        gap: 3px;
    }
    .hero-bar-colin, .hero-bar-motoculture {
        font-size: 2.4rem;
        letter-spacing: 0.5px;
    }
    .hero-slogan {
        font-size: 0.9rem;
    }
}
/* Adaptation pour les très petits téléphones */
@media (max-width: 428px) {
    /* === HERO SECTION === */
    .hero {
        position: relative;
        /* Nécessaire pour le positionnement absolu de la vidéo */
        display: flex;
        justify-content: center;
        align-items: center;
        height: 70vh;
        overflow: hidden;
    }
    .hero-overlay {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        /* Important pour que le centrage vertical fonctionne */
        width: 100%;
        position: relative;
        /* Pour rester au-dessus de la vidéo */
        z-index: 1;
        padding: 0 10px;
    }
    .hero-bar {
        flex-direction: column;
        gap: 5px;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .hero-bar-colin, .hero-bar-motoculture {
        font-size: 2.8rem;
        letter-spacing: 1px;
        text-align: center;
        width: 100%;
        display: block;
        margin: 0 auto;
        padding: 0;
    }
    .hero-slogan {
        text-align: center;
        width: 100%;
        padding: 0 15px;
        margin-top: 10px;
    }
    /* === ABOUT SECTION === */
    .about-section {
        padding: 30px 15px;
    }
    .about-content {
        flex-direction: column;
    }
    .about-text {
        width: 100%;
        padding: 0;
        margin-bottom: 20px;
    }
    .about-img {
        width: 100%;
    }
    .btn-en-savoir-plus {
        margin: 15px auto;
        display: block;
        text-align: center;
        width: 80%;
    }
    /* === REDIRECT SECTION === */
    .redirect-section {
        flex-direction: column;
        padding: 20px 15px;
    }
    .redirect-card {
        width: 100%;
        margin-bottom: 30px;
    }
    .redirect-img {
        max-height: 180px;
    }
    .redirect-content {
        padding: 15px;
    }
    .redirect-btn {
        width: 100%;
        text-align: center;
    }
    /* === CONTACT SECTION === */
    #contact {
        padding: 30px 15px;
    }
    .contact-container {
        flex-direction: column;
    }
    .map-container, .contact-details {
        width: 100%;
    }
    .horaires-list li {
        flex-direction: column;
        align-items: flex-start;
    }
    .horaires-list li span:last-child {
        margin-top: 5px;
    }
    .contact-trigger-btn {
        width: 100%;
        margin: 20px 0;
        font-size: 0.9rem;
    }
    /* === MODAL === */
    .contact-modal-content {
        width: 90%;
        padding: 15px;
    }
    .form-group {
        margin-bottom: 15px;
    }
    /* === FOOTER === */
    footer {
        padding: 20px 15px;
        text-align: center;
    }
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    .hero-slogan-societe {
        text-align: center;
        font-size: 0.9rem;
    }
    /* Empêcher le défilement horizontal sur toutes les pages */
    html, body {
        overflow-y: auto !important;
        overflow-x: hidden;
        width: 100%;
    }
    /* === CATALOGUE HEADER === */
    .catalogue-header {
        padding: 15px;
    }
    .catalogue-banner h1 {
        font-size: 1.8rem;
        text-align: center;
    }
    .catalogue-banner p {
        font-size: 0.9rem;
        text-align: center;
        padding: 0 10px;
    }
    .catalogue-separator {
        margin: 15px auto;
    }
    /* === FILTRES ET RECHERCHE === */
    .catalogue-controls {
        flex-direction: column;
        gap: 15px;
    }
    .search-box {
        width: 100%;
    }
    #searchInput {
        width: 100%;
        padding: 10px;
        font-size: 0.9rem;
    }
    .filter-controls {
        width: 100%;
    }
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }
    .filter-group label {
        margin-bottom: 5px;
    }
    .filter-dropdowns {
        width: 100%;
    }
    .sort-box {
        width: 100%;
    }
    .filters-row {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .filters-row select, .sort-box select {
        width: 100%;
        margin: 5px 0;
        padding: 8px;
        font-size: 0.9rem;
    }
    #categorySelect {
        width: 100%;
        box-sizing: border-box;
        margin: 5px 0;
        padding: 8px 12px;
        font-size: 0.9rem;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
    }
    .filter-dropdowns {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .sort-box {
        width: 100%;
        margin: 0;
    }
    .sort-box select {
        width: 100%;
    }
    .filter-group {
        width: 100%;
    }
    .filter-group label {
        margin-bottom: 8px;
        display: block;
    }
    /* === FIX POUR HERO LOCATION === */
    .hero-location {
        height: auto !important;
        min-height: auto !important;
        width: 100vw !important;
        max-width: 100% !important;
        position: relative;
        overflow: hidden;
        padding: 20px 0;
    }
    /* Correction overlay */
    .hero-location .hero-overlay {
        width: 100% !important;
        padding: 15px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 100%;
        margin: 0;
        left: 0;
        right: 0;
        position: relative;
    }
    /* Correction barre de titre */
    .hero-location .hero-bar {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0 auto 10px;
        padding: 0;
    }
    /* Correction parties du titre */
    .hero-location .hero-bar .hero-bar-colin, .hero-location .hero-bar .hero-bar-motoculture {
        font-size: 1.5rem;
        text-align: center;
        width: 100%;
        margin: 0;
        padding: 3px 0;
    }
    /* Correction slogan */
    .hero-slogan-location {
        width: 100%;
        text-align: center;
        font-size: 0.9rem;
        line-height: 1.4;
        margin: 10px 0;
        padding: 0 10px;
        box-sizing: border-box;
        white-space: normal;
    }
    /* Suppression des sauts de ligne */
    .hero-slogan-location br {
        display: none;
    }
    /* Ajustement barre de séparation */
    .hero-bar-location {
        width: 85%;
        margin: 10px auto;
    }
    @media (max-width: 428px) {
        /* === FIX POUR HERO LOCATION === */
        .hero-location {
            background-size: cover;
            background-position: center;
            width: 100% !important;
            max-width: 100% !important;
            height: auto !important;
            min-height: auto !important;
            overflow: hidden;
            padding: 0;
            position: relative;
            margin: 0;
        }
        /* Correction de l'overlay qui cause l'espace gris */
        .hero-location .hero-overlay {
            position: relative;
            width: 100% !important;
            max-width: 100% !important;
            height: auto;
            padding: 30px 15px;
            margin: 0;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            align-items: center;
            background: rgba(0, 0, 0, 0.5);
            /* Assure que l'overlay a bien un fond */
            left: 0;
            right: 0;
        }
        /* Ajustement de la barre de titre */
        .hero-location .hero-bar {
            width: 100%;
            max-width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 0 0 15px 0;
            padding: 0;
        }
        .hero-location .hero-bar-colin, .hero-location .hero-bar-motoculture {
            width: auto;
            font-size: 1.4rem;
            line-height: 1.3;
            text-align: center;
            padding: 5px 15px;
            margin: 0;
        }
        /* Meilleur ajustement pour le texte du slogan */
        .hero-slogan-location, .hero-slogan-societe {
            font-size: 0.85rem;
            line-height: 1.5;
            text-align: center;
            padding: 0;
            margin: 10px 0;
            width: 100%;
        }
        /* Suppression des retours à la ligne forcés */
        .hero-slogan-location br, .hero-slogan-societe br {
            display: none;
        }
        /* Barre de séparation */
        .hero-bar-location {
            width: 80%;
            margin: 15px auto 0;
        }
        .hero-location .hero-bar-colin, .hero-location .hero-bar-motoculture {
            width: auto;
            font-size: 2rem !important;
            /* Taille de police augmentée */
            line-height: 1.4;
            text-align: center;
            padding: 5px 15px;
            margin: 0;
            font-weight: 600;
            /* Légèrement plus gras pour une meilleure visibilité */
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            /* Ombre pour améliorer la lisibilité */
        }
        /* Ajustement du conteneur pour mieux accueillir les textes plus grands */
        .hero-location .hero-bar {
            width: 100%;
            max-width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 0 0 20px 0;
            /* Plus d'espace en bas */
            padding: 0;
            gap: 8px;
            /* Espace entre les deux éléments */
        }
        .hero-robot {
            height: 40vh !important;
            /* Exactement la même hauteur que hero-societe sur mobile */
            min-height: 180px;
            /* Garde la même valeur minimale que societe */
        }
        /* S'assurer que le contenu est bien aligné */
        .hero-robot .hero-overlay {
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        /* Ajuster les tailles des textes pour correspondre à societe */
        .hero-robot .hero-bar-colin, .hero-robot .hero-bar-motoculture {
            font-size: 2.2rem !important;
            /* Même taille que sur societe mobile */
        }
        .hero-slogan-robot {
            font-size: 1.1rem;
            /* Même taille que hero-slogan sur societe */
            width: 90%;
            margin: 0 auto;
            text-align: center;
        }
    }
}
.hero-robot {
    height: 85vh;
    /* Même hauteur que hero-societe */
    position: relative;
    overflow: hidden;
    width: 100%;
}
.hero-robot::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hero-robot .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    max-width: 800px;
    padding: 40px 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}
/* Correction spécifique pour mobile */
@media (max-width: 428px) {
    .hero-robot {
        height: 40vh !important;
        /* Même hauteur que hero-societe sur mobile */
        min-height: 180px;
    }
    .hero-robot .hero-content h2 {
        font-size: 2.2rem !important;
    }
    .hero-robot .hero-slogan {
        font-size: 1.1rem;
        width: 90%;
        margin: 0 auto;
    }
    /* Suppression de tout overlay débordant */
    #robot-hero .hero-overlay {
        height: 100% !important;
        max-height: 100%;
        overflow: hidden;
    }
    .hero-overlay {
        padding: 0 15px;
        justify-content: center;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
    /* Styles uniformisés pour tous les hero-bar */
    .hero-bar, .hero-bar.sav-hero-bar, .body-societe .hero-bar {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 8px;
        /* Espacement uniforme entre les éléments */
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
        position: relative;
        left: 0;
        right: 0;
    }
    /* Styles uniformes pour tous les éléments des hero-bar */
    .hero-bar-colin, .hero-bar-motoculture, .sav-hero-bar .hero-bar-colin, .sav-hero-bar .hero-bar-motoculture, .body-societe .hero-bar-colin, .body-societe .hero-bar-motoculture {
        font-size: 2.5em;
        /* Taille uniforme pour tous les éléments */
        width: 100%;
        white-space: normal;
        display: block;
        text-align: center;
        line-height: 1.2;
        margin: 0 auto;
        padding: 0;
        overflow-wrap: break-word;
    }
    /* Style pour tous les slogans */
    .hero-slogan, .hero-slogan-societe {
        font-size: 0.9em;
        line-height: 1.3;
        margin: 10px auto 0;
        max-width: 90%;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    /* Suppression de la barre verticale en mode mobile */
    .hero-bar-colin::after, .body-societe .hero-bar-colin::after {
        display: none;
    }
}
/* Style des icônes de réseaux sociaux */
.social-icons {
    margin: 15px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #388E3C;
    color: white;
    transition: all 0.3s ease;
}
.social-icons a:hover {
    background-color: #2E7D32;
    transform: translateY(-3px);
}
.social-icons i {
    font-size: 20px;
}
@media (max-width: 428px) {
    /* Styles généraux pour tous les hero-bars */
    .hero-bar, .hero-bar.sav-hero-bar, .body-societe .hero-bar {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
        position: relative;
        left: 0;
        right: 0;
    }
    /* Taille uniforme pour tous les éléments, plus petite que précédemment */
    .hero-bar-colin, .hero-bar-motoculture {
        font-size: 1em;
        /* Taille réduite pour correspondre à la page SAV */
        width: 100%;
        white-space: normal;
        display: block;
        text-align: center;
        line-height: 1.2;
        margin: 0 auto;
        padding: 0;
        overflow-wrap: break-word;
    }
    /* Correction spécifique pour la page société */
    .body-societe .hero-bar-colin, .body-societe .hero-bar-motoculture {
        font-size: 1.2em;
        /* Même taille que les autres */
    }
    /* Correction spécifique pour la page SAV */
    .sav-hero-bar .hero-bar-colin, .sav-hero-bar .hero-bar-motoculture {
        font-size: 2em;
        /* On garde la même taille sur cette page */
    }
    /* Style pour les slogans */
    .hero-slogan, .hero-slogan-societe {
        font-size: 0.9em;
        line-height: 1.3;
        margin: 10px auto 0;
        max-width: 90%;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    /* Suppression de la barre verticale en mode mobile */
    .hero-bar-colin::after, .body-societe .hero-bar-colin::after {
        display: none;
    }
}
/* === CORRECTIONS POUR LE SCROLL MOBILE === */

/* 1. Correction principale - ajoutez ceci en haut de votre CSS */
body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: #f4f7f4;
    margin: 0;
    padding: 0;
    color: #222;
    /* Corrections pour le scroll mobile */
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
    overflow-y: auto;
}

/* 2. Correction spécifique pour mobile */
@media (max-width: 428px) {
    html, body {
        overflow-y: scroll !important; /* Changé de auto à scroll */
        overflow-x: hidden;
        width: 100%;
        position: relative; /* Ajouté pour stabiliser */
        -webkit-overflow-scrolling: touch; /* Scroll fluide iOS */
    }

    /* Fix pour le menu mobile */
    .mobile-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        z-index: 999;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
        transition: left 0.3s ease;
        padding-top: 80px;
        /* SUPPRIMÉ: touch-action: pan-y; */
        overflow-y: auto; /* Ajouté pour permettre le scroll dans le menu */
    }
}

/* 3. Corrections pour les éléments qui peuvent bloquer le scroll */
.hero, .hero-societe, .hero-location, #robot-hero, #sav-hero {
    position: relative;
    overflow: visible; /* Changé de hidden à visible temporairement */
}

/* 4. Correction pour les modales */
.product-modal, .contact-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Ajouté pour améliorer le scroll dans les modales */
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
}

/* 5. Désactivation temporaire des animations au chargement sur mobile */
@media (max-width: 428px) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    /* Réactivation sélective pour les interactions importantes */
    .hamburger-menu span,
    .mobile-nav,
    .nav-overlay {
        transition-duration: 0.3s !important;
    }
}

/* 6. Alternative pour tester - ajout de cette classe au body */
.scroll-fix {
    position: relative;
    height: auto;
    min-height: 100vh;
    -webkit-overflow-scrolling: touch;
    overflow: visible;
}