/* Styles basiques pour la démo - À intégrer dans ton CSS principal */
:root {
    --primary: #2c3e50;
    /* Bleu foncé pro */
    --accent: #e67e22;
    /* Orange action */
    --light: #ecf0f1;
    --text: #333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text);
    line-height: 1.6;
}

header {
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
}

nav a.cta-button {
    background: var(--accent);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/asset/images/acceuil.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.btn-hero {
    background: var(--accent);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.2s;
}

.btn-hero:hover {
    transform: scale(1.05);
}

.features {
    padding: 60px 20px;
    background: white;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.feature-card {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: box-shadow 0.3s;
}

.feature-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.products {
    padding: 60px 20px;
    background: var(--light);
}

.product-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.product-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: #ddd;
}

/* Placeholder si image manque */
.product-details {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.price {
    font-size: 2rem;
    color: var(--primary);
    font-weight: bold;
    margin: 10px 0;
}

.price span {
    font-size: 1rem;
    color: #777;
    font-weight: normal;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.benefits-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.benefits-list li::before {
    content: "✓";
    color: green;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.tech-section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.tech-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    align-items: center;
}

.tech-logos img {
    max-height: 80px;
}

.trust-banner {
    background: var(--primary);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

footer {
    background: #222;
    color: #aaa;
    padding: 40px 20px;
    text-align: center;
}

/* Styles du Header */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    /* Hauteur du header */
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    /* Ajuste la hauteur selon ton logo */
    width: auto;
}

/* Navigation Desktop */
.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #e67e22;
    /* Ta couleur accent */
}

.nav-cta {
    background-color: #e67e22;
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-cta:hover {
    background-color: #d35400;
}

/* Bouton Burger (Mobile) - Caché sur PC */
.burger-menu {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: #333;
}

/* ========================================
   CAROUSEL
   ======================================== */
.carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background: #fff;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: 100%;
}

.carousel-track img {
    min-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
    background: #f9f9f9;
    padding: 20px;
    box-sizing: border-box;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(44, 62, 80, 0.8);
    color: white;
    border: none;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
}

.carousel-btn:hover {
    background: rgba(230, 126, 34, 0.9);
    transform: translateY(-50%) scale(1.1);
}

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

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

/* Dots de navigation (optionnel) */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    background: #fff;
}

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

.carousel-dot.active {
    background: #e67e22;
}

/* ========================================
   PRODUCT CARDS & GRID
   ======================================== */
.robot-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin: 20px auto;
    max-width: 800px;
    border-left: 4px solid #e67e22;
}

.robot-card3 {
    background: #fff;
    padding: 25px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.robot-card3:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #e67e22;
}

.robot-card3 i {
    color: #2c3e50;
    margin-bottom: 15px;
}

.robot-card3 h3 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin: 10px 0;
}

.robot-card3 p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.robots-grid3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ========================================
   FAQ / ACCORDION
   ======================================== */
.faq-item {
    background: #fff;
    margin-bottom: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.faq-summary {
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9f9f9;
    transition: background 0.3s;
    list-style: none;
}

.faq-summary:hover {
    background: #f0f0f0;
}

.faq-summary::after {
    content: "+";
    font-size: 1.5rem;
    color: #e67e22;
    transition: transform 0.3s;
}

.faq-item[open] .faq-summary::after {
    content: "−";
    transform: rotate(90deg);
}

.faq-content {
    padding: 15px 25px 25px;
    color: #555;
    line-height: 1.6;
    border-top: 1px solid #eee;
}

/* ========================================
   PRODUCT PAGE SPECIFIC
   ======================================== */
.product-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.85)), url('/asset/images/bg2.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 70px 20px;
}

.product-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-family: 'Oswald', sans-serif;
}

.product-hero .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #e67e22;
    margin: 20px 0;
}

.product-hero .price span {
    font-size: 1rem;
    color: white;
    font-weight: normal;
}

.product-features {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .product-features {
        grid-template-columns: 1fr;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

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

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

    .carousel-track img {
        max-height: 300px;
    }

    .product-hero h1 {
        font-size: 1.8rem;
    }

    .product-hero .price {
        font-size: 2rem;
    }
}

/* ========================================
   CTA BUTTONS
   ======================================== */
.btn,
.cta-btn {
    display: inline-block;
    background: #e67e22;
    color: white;
    padding: 14px 32px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05rem;
    transition: background 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover,
.cta-btn:hover {
    background: #d35400;
    transform: translateY(-2px);
}

.btn.secondary {
    background: white;
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.btn.secondary:hover {
    background: #2c3e50;
    color: white;
}

/* ========================================
   UTILS & LAYOUT
   ======================================== */
.layout-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 30px;
}

.container24 {
    flex: 1;
    min-width: 300px;
}

.background-image24 {
    max-width: 70%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.text27d {
    font-size: 1.4rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
    font-family: 'Oswald', sans-serif;
}

.text28 {
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
}

.sep-orange-marge {
    border: none;
    height: 3px;
    background: linear-gradient(90deg, transparent, #e67e22, transparent);
    margin: 50px auto;
    max-width: 80%;
}

.cta-section {
    text-align: center;
    padding: 60px 20px;
    background: #2c3e50;
    color: white;
}

.cta-section h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: #222;
    color: #aaa;
    padding: 40px 20px;
    text-align: center;
}

.footer-logo img {
    width: 150px;
    margin-bottom: 15px;
}

.footer-reseaux a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 12px;
    transition: color 0.3s;
}

.footer-reseaux a:hover {
    color: #e67e22;
}


@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    nav a {
        margin: 0 10px;
    }

    .burger-menu {
        display: block;
        /* Affiche le burger sur mobile */
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        /* Juste en dessous du header */
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        /* Caché par défaut */
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        max-height: 300px;
        /* Hauteur suffisante pour le contenu */
    }

    .nav-menu li {
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .nav-link {
        display: block;
        padding: 15px 0;
        width: 100%;
    }

    .nav-cta {
        border-radius: 0;
        background-color: #f9f9f9;
        color: #e67e22 !important;
    }

}