/* Variables pour la charte graphique */
:root {
    --primary-orange: #FF6B00;
    --secondary-grey: #555555;
    --light-grey: #F2F2F2;
    --white: #FFFFFF;
    --dark-grey: #333333;
    --transition-speed: 0.3s;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--dark-grey);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar dynamique */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    z-index: 1000;
    transition: all var(--transition-speed);
}

.navbar.scrolled {
    padding: 8px 0;
}

.navbar-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-orange);
    transition: all var(--transition-speed);
}

.navbar.scrolled .logo {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    list-style: none;
    margin-left: 30px;
    position: relative;
}

.nav-links a {
    color: var(--secondary-grey);
    font-weight: 500;
    transition: color var(--transition-speed);
}

.nav-links a:hover {
    color: var(--primary-orange);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-speed);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 8px 15px;
    color: var(--secondary-grey);
}

.dropdown-content a:hover {
    background-color: var(--light-grey);
    color: var(--primary-orange);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-grey);
    margin: 5px 0;
    transition: all var(--transition-speed);
}

/* Header */
.page-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/api/placeholder/1920/500');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
}

.page-header-content {
    max-width: 800px;
    padding: 0 20px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Content Sections */
.section {
    padding: 80px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-grey);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-orange);
}

/* Text Center */
.text-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    /* Changer de grid à flexbox pour un meilleur contrôle du centrage */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
}

.feature-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all var(--transition-speed);
    display: flex;
    flex-direction: column;
    /* Largeur augmentée pour chaque carte */
    width: 340px;
    /* Désactiver l'étirement */
    flex: 0 0 340px;
    margin-bottom: 15px;
}

.feature-card::before {
    content: none;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Ajustement pour les écrans plus petits */
@media (max-width: 768px) {
    .feature-card {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.feature-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    width: 100%;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: default;
}

.feature-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: default;
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-grey);
}

.feature-content p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.feature-card a,
.feature-content a {
    cursor: pointer;
}

/* Feature List */
.feature-list {
    margin: 0 0 20px 20px;
}

.feature-list li {
    margin-bottom: 8px;
    position: relative;
}

.feature-list li::before {
    content: '\2022';
    color: var(--primary-orange);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Features Section with boxes */
.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.feature-box {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
    text-align: center;
    flex: 0 1 300px; /* Base width of 300px, can shrink but not grow */
    max-width: 300px; /* Prevent elements from stretching too much */
    margin: 15px; /* Spacing around each element */
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-orange);
    transition: all var(--transition-speed);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-box:hover::before {
    width: 100%;
    opacity: 0.1;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-grey);
}

/* Styles pour les grilles de solutions */
.solutions-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
}

.solution-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed);
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 340px;
    flex: 0 0 340px;
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    border-top: 4px solid var(--primary-orange);
}

/* Modification de l'animation au survol pour éviter les problèmes d'interaction */
.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-orange);
    transition: all var(--transition-speed);
    z-index: 0; /* Assurez-vous que cette couche est sous les autres éléments */
    opacity: 0;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.solution-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

/* S'assurer que tous les éléments interactifs sont au-dessus du pseudo-élément */
.solution-card .solution-icon,
.solution-card h3,
.solution-card p,
.solution-card .btn {
    position: relative;
    z-index: 1; /* Place ces éléments au-dessus du pseudo-élément */
}

.solution-icon {
    font-size: 3.5rem;
    color: var(--primary-orange);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-grey);
    position: relative;
    padding-bottom: 15px;
}

.solution-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-orange);
    z-index: 1;
}

.solution-card p {
    margin-bottom: 25px;
    flex-grow: 1;
    font-size: 1rem;
    line-height: 1.6;
}

/* Style spécifique pour le bouton afin d'assurer sa cliquabilité */
.solution-card .btn {
    align-self: center;
    margin-top: auto;
    position: relative;
    z-index: 2; /* Couche la plus élevée pour garantir l'interaction */
    pointer-events: auto; /* Force l'interactivité */
}

/* Hover spécifique pour le bouton */
.solution-card .btn:hover {
    background-color: var(--dark-grey);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Ajustement pour les écrans plus petits */
@media (max-width: 768px) {
    .solution-card {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Two columns section */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.image-column {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.image-column img {
    width: 100%;
    height: auto;
    display: block;
}

.text-column h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-grey);
}

.text-column p {
    margin-bottom: 15px;
}

.checklist {
    margin: 20px 0;
}

.checklist li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    list-style: none;
}

.checklist li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-orange);
    position: absolute;
    left: 0;
}

/* CTA Section */
.cta-section {
    background-color: var(--light-grey);
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-grey);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all var(--transition-speed);
}

.btn:hover {
    background-color: var(--dark-grey);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background-color: var(--dark-grey);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-orange);
}

.footer-col p, .footer-col li {
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: var(--light-grey);
    transition: color var(--transition-speed);
}

.footer-col a:hover {
    color: var(--primary-orange);
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
}

.social-links a:hover {
    background-color: var(--primary-orange);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-grey);
}

/* Hero Section avec Slider */
.hero {
    height: 100vh;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    bottom: 20%;
    left: 10%;
    max-width: 600px;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.slider-dot.active {
    background-color: var(--primary-orange);
    transform: scale(1.2);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: var(--white);
    color: var(--secondary-grey);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-speed);
}

.faq-question:hover {
    background-color: var(--light-grey);
}

.faq-question i {
    transition: all var(--transition-speed);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-speed);
    background-color: var(--white);
}

.faq-item.active .faq-question {
    background-color: var(--light-grey);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

/* Portfolio/Gallery */
.portfolio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--transition-speed);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    opacity: 0;
    transition: all var(--transition-speed);
    padding: 20px;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    margin-bottom: 15px;
}

/* Product Types Section */
.product-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-type {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all var(--transition-speed);
}

.product-type:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.product-type-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.product-type-content {
    padding: 25px;
}

.product-type-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-grey);
}

.product-type-features {
    margin: 20px 0;
}

.product-type-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    list-style: none;
}

.product-type-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-orange);
    position: absolute;
    left: 0;
}

/* Process Steps */
.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--light-grey);
    z-index: -1;
}

.process-step {
    text-align: center;
    flex: 1;
    padding: 0 15px;
    position: relative;
    margin-bottom: 30px;
}

.process-step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-grey);
}

.step {
    text-align: center;
    flex: 1;
    padding: 0 15px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-grey);
}

/* Camera Section */
.camera-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.camera-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all var(--transition-speed);
    flex: 0 1 340px; /* Augmentation de la largeur de base */
    max-width: 380px; /* Limite maximale plus large */
    margin: 10px; /* Espacement autour de chaque élément */
    display: flex;
    flex-direction: column;
}

.camera-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.camera-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    width: 100%;
}

.camera-type {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.camera-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.camera-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-grey);
}

.camera-features {
    margin: 20px 0;
    margin-top: auto; /* Pousse la liste vers le bas si le contenu est court */
}

.camera-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    list-style: none;
}

.camera-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-orange);
    position: absolute;
    left: 0;
}

/* Responsive : ajustement pour les écrans plus petits */
@media (max-width: 767px) {
    .camera-card {
        flex: 0 1 100%;
        max-width: 100%;
        margin: 10px 0;
    }
}

/* Contact Info Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-info-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all var(--transition-speed);
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.contact-info-icon {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.contact-info-card h3 {
    font-size: 1.3rem;
    color: var(--secondary-grey);
    margin-bottom: 10px;
}

/* Form Styles */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-grey);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color var(--transition-speed);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.form-check-input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--secondary-grey);
}

.form-submit {
    cursor: pointer;
    border: none;
    width: 100%;
    padding: 15px;
}

.form-control.error {
    border-color: #ff3860;
}

.form-error-message {
    color: #ff3860;
    font-size: 0.9rem;
    margin-top: 5px;
}

.form-error {
    color: #ff3860;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-control.error + .form-error {
    display: block;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Map Container */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* Empêche l'outline sur le conteneur lui-même */
    outline: none !important;
    /* Empêche la sélection de texte */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.map-container iframe {
    border: none;
    pointer-events: auto;
    outline: none !important;
    width: 100%;
    height: 100%;
}

/* Désactive l'outline pour tous les éléments à l'intérieur du conteneur de carte */
.map-container *,
.map-container *:focus,
.map-container *:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.2rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all var(--transition-speed);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-grey);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: var(--light-grey);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-content {
    position: relative;
    width: calc(50% - 40px);
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-orange);
    border-radius: 50%;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 4px;
    background-color: var(--light-grey);
    top: 28px;
}

.timeline-item:nth-child(odd)::before {
    right: 50%;
    margin-right: 10px;
}

.timeline-item:nth-child(even)::before {
    left: 50%;
    margin-left: 10px;
}

.timeline-date {
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary-grey);
}

.timeline-desc {
    color: var(--dark-grey);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all var(--transition-speed);
    text-align: center;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.member-img {
    height: 250px;
    background-size: cover;
    background-position: center top;
}

.member-content {
    padding: 20px;
}

.member-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--secondary-grey);
}

.member-role {
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 15px;
}

.member-desc {
    margin-bottom: 15px;
}

.member-social {
    display: flex;
    justify-content: center;
}

.member-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--light-grey);
    margin: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-grey);
    transition: all var(--transition-speed);
}

.member-social a:hover {
    background-color: var(--primary-orange);
    color: var(--white);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: all var(--transition-speed);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--primary-orange);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: -15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-right: 15px;
}

.testimonial-info h4 {
    font-size: 1.1rem;
    color: var(--secondary-grey);
    margin-bottom: 5px;
}

.testimonial-info p {
    color: var(--primary-orange);
    font-size: 0.9rem;
}

/* Job Listings */
.job-listings {
    max-width: 800px;
    margin: 0 auto;
}

.job-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    transition: all var(--transition-speed);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.job-title {
    font-size: 1.5rem;
    color: var(--secondary-grey);
    margin-bottom: 5px;
}

.job-location {
    display: flex;
    align-items: center;
    color: var(--secondary-grey);
    margin-bottom: 5px;
}

.job-location i {
    margin-right: 5px;
    color: var(--primary-orange);
}

.job-type {
    display: inline-block;
    padding: 5px 10px;
    background-color: var(--light-grey);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.job-type.full-time {
    background-color: #e6f7f2;
    color: #00a67d;
}

.job-type.part-time {
    background-color: #f0f1ff;
    color: #5c6bc0;
}

.job-description {
    margin-bottom: 20px;
}

.job-requirements {
    margin-bottom: 20px;
}

.job-requirements h4, .job-responsibilities h4 {
    font-size: 1.1rem;
    color: var(--secondary-grey);
    margin-bottom: 10px;
}

.job-details-list {
    margin-left: 20px;
    margin-bottom: 20px;
}

.job-details-list li {
    margin-bottom: 8px;
    position: relative;
}

.job-details-list li::before {
    content: '\2022';
    color: var(--primary-orange);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.job-footer {
    text-align: right;
}

/* File Upload Section */
.file-upload-container {
    margin-bottom: 20px;
}

.file-upload-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-grey);
}

.file-upload-btn {
    display: inline-block;
    background-color: var(--light-grey);
    color: var(--secondary-grey);
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.file-upload-btn:hover {
    background-color: var(--primary-orange);
    color: var(--white);
}

.file-upload-btn i {
    margin-right: 5px;
}

.file-upload-input {
    display: none;
}

.file-upload-info {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--secondary-grey);
}

.file-list {
    margin-top: 15px;
}

.file-item {
    display: flex;
    align-items: center;
    background-color: var(--light-grey);
    padding: 8px 12px;
    border-radius: 5px;
    margin-bottom: 8px;
}

.file-item i {
    margin-right: 8px;
    color: var(--primary-orange);
}

.file-name {
    flex-grow: 1;
}

.file-remove {
    color: #ff3860;
    cursor: pointer;
}

/* Stats Section */
.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 50px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--secondary-grey);
    font-weight: 600;
}

/* Partners Section */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-speed);
    max-width: 100%;
    height: auto;
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* News/Blog Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all var(--transition-speed);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.news-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 0.9rem;
    color: var(--primary-orange);
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.3rem;
    color: var(--secondary-grey);
    margin-bottom: 10px;
}

.news-excerpt {
    margin-bottom: 15px;
}

.news-readmore {
    color: var(--primary-orange);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.news-readmore i {
    margin-left: 5px;
    transition: transform var(--transition-speed);
}

.news-readmore:hover i {
    transform: translateX(5px);
}

/* Cookie Consent */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-text {
    flex-grow: 1;
    margin-right: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.cookie-btn.accept {
    background-color: var(--primary-orange);
    color: var(--white);
}

.cookie-btn.decline {
    background-color: var(--light-grey);
    color: var(--secondary-grey);
}

.cookie-btn:hover {
    transform: translateY(-3px);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease;
}

.slide-in-left.appear {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease;
}

.slide-in-right.appear {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 1s ease;
}

.scale-in.appear {
    opacity: 1;
    transform: scale(1);
}

/* Additional Hover Effects */
.zoom-hover {
    transition: transform var(--transition-speed);
}

.zoom-hover:hover {
    transform: scale(1.05);
}

.rotate-hover {
    transition: transform var(--transition-speed);
}

.rotate-hover:hover {
    transform: rotate(5deg);
}

.shadow-hover {
    transition: box-shadow var(--transition-speed);
}

.shadow-hover:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--light-grey);
    border-top: 5px solid var(--primary-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.page-loader.loaded {
    opacity: 0;
    pointer-events: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--dark-grey);
    transform: translateY(-5px);
}


/* ---------- RÈGLES ANTI-SÉLECTION DE TEXTE GLOBALES ---------- */

/* Conteneurs principaux non sélectionnables */
.product-types,
.features-container,
.portfolio,
.process-steps,
.faq-container,
.feature-card,
.camera-grid,
.gallery-grid,
.testimonials-grid,
.values-grid,
.partners-grid,
.news-grid,
.contact-info-grid,
.solutions-grid,
.product-type,
.feature-box,
.portfolio-item,
.step,
.camera-card,
.gallery-item,
.testimonial-card,
.value-card,
.partner-item,
.news-card,
.contact-info-card,
.solution-card {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: default;
}

/* ---------- RÈGLES ANTI-SÉLECTION DE TEXTE GLOBALES AMÉLIORÉES ---------- */

/* Conteneurs principaux non sélectionnables - ajout de la section introduction et des listes à puces */
.product-types,
.features-container,
.portfolio,
.process-steps,
.faq-container,
.feature-card,
.camera-grid,
.gallery-grid,
.testimonials-grid,
.values-grid,
.partners-grid,
.news-grid,
.contact-info-grid,
.solutions-grid,
.product-type,
.feature-box,
.portfolio-item,
.step,
.camera-card,
.gallery-item,
.testimonial-card,
.value-card,
.partner-item,
.news-card,
.contact-info-card,
.solution-card,
.two-columns,      /* Section d'introduction avec image et texte */
.image-column,     /* Colonne d'image dans la section d'introduction */
.checklist,        /* Listes à puces avec check */
.checklist li,     /* Éléments de liste */
.product-type-features, /* Liste de fonctionnalités */
.product-type-features li /* Éléments de liste de fonctionnalités */ {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: default;
}

/* Empêcher la sélection de texte pour les éléments spécifiques */
h1, h2, h3, h4, h5, h6, 
p,
.section-header, 
.slide-content, 
.cta-content, 
.slider-dot, 
.feature-icon, 
.logo, 
.nav-links a,
.testimonial-content,
.footer-col h3,
.footer-col p,
.footer-col ul,
.footer-col li,
.footer-col a,
.copyright,
.btn,
.process-step-number,
.step-number,
.feature-box h3,
.camera-type,
.value-icon,
.gallery-item,
.timeline-title,
.member-name,
.member-role,
.job-title,
.feature-card h3,
.social-links a,
.file-upload-btn,
.text-column p, /* Paragraphes dans la colonne de texte */
.text-column h3, /* Sous-titres dans la colonne de texte */
.text-column ul, /* Listes non ordonnées dans la colonne de texte */
.text-column li, /* Éléments de liste dans la colonne de texte */
.checklist li::before, /* Icônes de check dans les listes */
.product-type-features li::before /* Icônes dans les listes de fonctionnalités */ {
    user-select: none; /* Propriété standard */
    -webkit-user-select: none; /* Pour Safari */
    -moz-user-select: none; /* Pour Firefox */
    -ms-user-select: none; /* Pour IE/Edge */
    cursor: default; /* Empêche l'affichage du curseur texte */
}

/* Style spécifique pour les boutons et éléments cliquables */
.btn, 
.slider-dot, 
.nav-links a, 
.dropdown-content a,
.social-links a,
.hamburger,
.file-upload-btn,
.file-remove,
.back-to-top,
.portfolio-item,
.gallery-item,
.faq-question,
.footer-col a,
a, 
button, 
.portfolio-overlay {
    cursor: pointer;
}

/* S'assurer que les formulaires restent utilisables */
.form-control,
textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="date"],
select {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    cursor: text;
}

/* Empêcher le comportement de sélection dans le corps entier de la page par défaut */
body {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Exceptions pour le texte de contenu qui devrait rester sélectionnable */
.blog-content,
.legal-content,
.terms-content,
.privacy-content,
.article-content {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    cursor: auto;
}

/* Annulation des styles de curseur par défaut pour le corps de la page */
body, html {
    cursor: default;
}

/* Appliquer un style désactivé en mode "édition" pour empêcher l'apparition du curseur texte */
.two-columns::after,
.image-column::after,
.checklist::after,
.product-type-features::after,
.text-column::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Responsive Media Queries */
@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }

    .two-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .image-column {
        order: 1;
    }

    .text-column {
        order: 2;
    }

    .page-header {
        height: 350px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .process-steps {
        flex-wrap: wrap;
    }

    .process-steps::before {
        display: none;
    }

    .step, .process-step {
        flex: 0 0 50%;
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }

    .nav-links {
        position: absolute;
        right: 0;
        top: 70px;
        background-color: var(--white);
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all var(--transition-speed);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links li {
        margin: 15px 0;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        min-width: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active div:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active div:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .page-header {
        height: 300px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 70px);
        margin-left: 70px !important;
    }

    .timeline-item::after {
        left: 30px;
    }

    .timeline-item::before {
        left: 40px !important;
        margin-left: 0 !important;
        width: 30px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .step, .process-step {
        flex: 0 0 100%;
    }
}

@media (max-width: 575.98px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }

    .page-header {
        height: 250px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .feature-box, .solution-card {
        padding: 20px;
    }

    .feature-icon, .solution-icon {
        font-size: 2.5rem;
    }

    .portfolio-item {
        height: 200px;
    }

    .form-container {
        padding: 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Styles pour la fonctionnalité de lightbox des images */

/* Indicateur visuel que l'élément est cliquable */
.lightbox-trigger {
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-trigger:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Overlay de lightbox - couvre tout l'écran */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.open {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    display: block;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-orange);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-nav:hover {
    background-color: var(--primary-orange);
}

/* Adaptation mobile */
@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-prev {
        left: -50px;
    }
    
    .lightbox-next {
        right: -50px;
    }
}

/* Slider dots style */
.slider-controls {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 5;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--primary-orange);
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

.slider-arrow:hover {
    background-color: var(--primary-orange);
}

/* Effet de zoom sur les images au survol */
.product-slider .slider-slide:hover {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

/* Styles améliorés pour la disposition en diagonale des images */ /*----------------- PAGE PORTAIL---------------------*/

/* Conteneur principal pour les trois images */
.triple-images {
    position: relative;
    width: 100%;
    height: 600px; /* Hauteur ajustée pour trois images */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Style général pour les images de motorisation */
.motorisation-image {
    position: absolute;
    width: 65%; /* Légèrement plus petit pour équilibrer avec 3 images */
    height: 30%; /* Hauteur réduite pour 3 images */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* Image en haut à droite */
.motorisation-image.top-right {
    top: 0;
    right: 0;
}

/* Image au milieu (légèrement décalée vers le centre) */
.motorisation-image.middle-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1; /* Placer l'image du milieu au-dessus des autres */
}

/* Image en bas à gauche */
.motorisation-image.bottom-left {
    bottom: 0;
    left: 0;
}

/* Effets au survol */
.motorisation-image:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
    z-index: 2; /* S'assurer que l'image survolée est au-dessus des autres */
}

/* Cas spécial pour l'image du milieu au survol */
.motorisation-image.middle-center:hover {
    transform: translate(-50%, -50%) scale(1.03);
}

/* Style des images à l'intérieur des conteneurs */
.motorisation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* Zoom léger de l'image au survol */
.motorisation-image:hover img {
    transform: scale(1.05);
}

/* Bordure orange au survol */
.motorisation-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.motorisation-image:hover::after {
    border-color: var(--primary-orange);
}

/* Adaptation aux écrans plus petits */
@media (max-width: 991px) {
    .triple-images {
        height: 550px;
    }
    
    .motorisation-image {
        width: 75%;
    }
}

@media (max-width: 767px) {
    .triple-images {
        height: 500px;
        margin-top: 30px;
    }
    
    .motorisation-image {
        width: 85%;
        height: 28%;
    }
}

@media (max-width: 575px) {
    .triple-images {
        height: 450px;
    }
    
    .motorisation-image.middle-center {
        width: 90%;
    }
}

/* Styles améliorés pour la section équipe intégrée */

/* Structure principale à deux colonnes */
.history-team-container {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 30px;
    align-items: start;
}

/* Styles pour la colonne d'histoire (gauche) */
.history-column {
    padding-right: 20px;
}

.history-column h3 {
    color: var(--secondary-grey);
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.4rem;
    position: relative;
    padding-left: 15px;
}

.history-column h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--primary-orange);
    border-radius: 2px;
}

.history-column p {
    margin-bottom: 18px;
    line-height: 1.7;
    text-align: justify;
}

/* Styles pour la colonne d'équipe (droite) */
.team-column {
    background-color: var(--light-grey);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.team-column h3 {
    color: var(--secondary-grey);
    margin-bottom: 15px;
    font-size: 1.4rem;
    text-align: center;
    position: relative;
    padding-bottom: 8px;
    margin-top: 0;
}

.team-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-orange);
}

/* Nouvelle grille des profils d'équipe */
.team-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

/* Styles des cartes de profil - design plus compact */
.team-profile-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.team-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.profile-photo {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.profile-details {
    padding: 12px;
}

.profile-name {
    font-size: 1.05rem;
    margin: 0 0 3px 0;
    color: #4a4a4a;
    font-weight: 600;
}

.profile-position {
    color: var(--primary-orange);
    font-size: 0.82rem;
    margin: 0 0 10px 0;
    padding-bottom: 8px;
    position: relative;
    line-height: 1.3;
}

.profile-position::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-orange);
}

.profile-description {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #666;
    margin: 0;
}

/* Statistiques de l'entreprise */
.company-stats {
    display: flex;
    justify-content: space-around;
    background-color: #fff;
    padding: 12px 5px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-top: 15px;
}

.stat-item {
    text-align: center;
    padding: 8px 5px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 3px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--secondary-grey);
    font-weight: 500;
}

/* Ajout du signe + pour les statistiques d'expérience et d'installations */
.stat-item:nth-child(2) .stat-number::after,
.stat-item:nth-child(3) .stat-number::after {
    content: "+";
    display: inline;
}

/* Responsive */
@media (max-width: 992px) {
    .history-team-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .history-column, .team-column {
        padding: 20px;
        width: 100%;
    }
    
    .team-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .team-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-photo {
        height: 180px;
    }
}

/* Styles pour la section de contact par email */

.email-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px auto;
    padding: 15px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    transition: all 0.3s ease;
}

.email-contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.email-contact i {
    font-size: 1.8rem;
    color: var(--primary-orange);
    margin-right: 15px;
}

.email-link {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--secondary-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: var(--primary-orange);
}

.info-text {
    margin-top: 20px;
    color: var(--secondary-grey);
}

.website-link {
    color: var(--primary-orange);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.website-link:hover {
    text-decoration: underline;
}

/* Style pour les cartes d'emploi */
.job-info {
    margin-top: 15px;
    margin-bottom: 20px;
    background-color: rgba(255, 107, 0, 0.05);
    padding: 15px;
    border-radius: 5px;
    border-left: 3px solid var(--primary-orange);
}

.job-info h4 {
    font-size: 1.1rem;
    color: var(--secondary-grey);
    margin-bottom: 10px;
}

.job-info .job-details-list {
    margin-bottom: 0;
}

.job-card {
    border-top: 4px solid var(--primary-orange);
    margin-bottom: 30px;
}

/* Version responsive */
@media (max-width: 768px) {
    .email-contact {
        flex-direction: column;
        padding: 15px;
    }
    
    .email-contact i {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .email-link {
        font-size: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .email-contact {
        width: 100%;
    }
}

/* Styles pour la page Politique de Confidentialité */

.privacy-policy-container {
    max-width: 980px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

@media (max-width: 768px) {
    .privacy-policy-container {
        padding: 25px;
    }
}

.policy-intro {
    margin-bottom: 30px;
}

.policy-intro p:first-of-type {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.policy-intro p:last-of-type {
    font-style: italic;
    color: #777;
    margin-top: 25px;
}

.policy-section {
    margin-bottom: 35px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.policy-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.policy-section h2 {
    color: var(--secondary-grey);
    font-size: 1.6rem;
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.policy-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background-color: var(--primary-orange);
    border-radius: 2px;
}

.policy-section p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.policy-section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy-section ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.policy-section ul li::before {
    content: '•';
    color: var(--primary-orange);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.policy-section strong {
    color: var(--secondary-grey);
    font-weight: 600;
}

@media print {
    .privacy-policy-container {
        box-shadow: none;
    }
    
    .policy-section {
        break-inside: avoid;
    }
    
    body {
        background-color: white;
    }
    
    footer, header, nav {
        display: none;
    }
}

/* Style pour le lien vers la politique de confidentialité */
.privacy-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.privacy-link:hover {
    color: var(--secondary-grey);
    text-decoration: underline;
}

/* Animation subtile lors du survol */
.privacy-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-orange);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.privacy-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Style pour le pied de page */
.footer-links {
    text-align: center;
    margin-top: 20px;
}

.footer-links a {
    color: var(--light-grey);
    margin: 0 15px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-orange);
}

/* Ajustement pour les petits écrans */
@media (max-width: 576px) {
    .form-check-label {
        font-size: 0.85rem;
    }
}

/* Styles pour la page Mentions Légales */

.legal-container {
    max-width: 980px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

@media (max-width: 768px) {
    .legal-container {
        padding: 25px;
    }
}

.legal-intro {
    margin-bottom: 30px;
}

.legal-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.legal-section {
    margin-bottom: 35px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.legal-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.legal-section h2 {
    color: var(--secondary-grey);
    font-size: 1.6rem;
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.legal-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background-color: var(--primary-orange);
    border-radius: 2px;
}

.legal-section p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.legal-section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-section ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.legal-section ul li::before {
    content: '•';
    color: var(--primary-orange);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.legal-section strong {
    color: var(--secondary-grey);
    font-weight: 600;
}

.legal-section a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: all 0.3s ease;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Styles pour mettre en évidence les éléments à compléter */
.legal-section p strong em,
.legal-section p em strong {
    color: #ff3860;
    font-style: normal;
    font-weight: 600;
}

@media print {
    .legal-container {
        box-shadow: none;
    }
    
    .legal-section {
        break-inside: avoid;
    }
    
    body {
        background-color: white;
    }
    
    footer, header, nav {
        display: none;
    }
}

/* Styles pour la page Bonnes Affaires */
.product-slider {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    margin-bottom: 20px;
    background-color: #f6f6f6;
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.5s ease;
}

.slider-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.single-image .slider-slide {
    opacity: 1;
}

.product-price {
    font-weight: bold;
    color: var(--primary-orange);
    font-size: 1.2rem;
    margin: 10px 0;
}

/* Amélioration du lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.open {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    display: block;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-orange);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-nav:hover {
    background-color: var(--primary-orange);
}

/* Adaptation mobile */
@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-prev {
        left: -50px;
    }
    
    .lightbox-next {
        right: -50px;
    }
}

/* Slider dots style */
.slider-controls {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 5;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--primary-orange);
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

.slider-arrow:hover {
    background-color: var(--primary-orange);
}

/* Effet de zoom sur les images au survol */
.product-slider .slider-slide:hover {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}
/* --------- Cookie Consent Banner --------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    transform: translateY(100%);
    width: 100%;
    max-width: none;
    background-color: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 20px;
    border-radius: 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cookie-banner.appear {
    transform: translateY(0);
    opacity: 1;
}

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

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.cookie-btn.accept {
    background-color: var(--primary-orange);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.cookie-btn.accept:hover {
    background-color: #ff8c00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.cookie-btn.decline {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.cookie-btn.decline:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cookie-text {
        flex: 1;
        padding-right: 20px;
    }

    .cookie-buttons {
        flex-shrink: 0;
    }
}
