/* ============================================
   CTB SARLU - STYLE CORRIGÉ
   Affichage propre et centré
   ============================================ */

/* ============================================
   1. RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0f;
    color: #e2e8f0;
    overflow-x: hidden;
}

/* ============================================
   2. CONTENEUR PRINCIPAL
   ============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

/* ============================================
   3. NAVIGATION - CORRIGÉE
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    color: white;
}

.logo-text h2 {
    color: #f59e0b;
    font-size: 22px;
    margin: 0;
    line-height: 1.2;
}

.logo-text p {
    font-size: 10px;
    color: #94a3b8;
    letter-spacing: 1px;
    margin: 0;
}

/* Menu Desktop */
.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 15px;
}

.nav-links a:hover,
.nav-links a.active {
    color: #f59e0b;
}

/* Bouton thème */
.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(245,158,11,0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.theme-toggle i {
    font-size: 18px;
    color: #f59e0b;
}

/* Menu mobile */
.mobile-menu-btn {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: #f59e0b;
}

/* ============================================
   4. HERO SLIDER - CORRIGÉ
   ============================================ */
.hero-slider {
    height: 100vh;
    width: 100%;
    position: relative;
    margin-top: 0;
    overflow: hidden;
}

.hero-slider .slick-slide {
    height: 100vh;
    position: relative;
}

.hero-slider .slick-slide img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
}

.hero-slider .slick-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(245,158,11,0.2);
    backdrop-filter: blur(10px);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    color: #f59e0b;
    margin-bottom: 20px;
    border: 1px solid rgba(245,158,11,0.3);
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, #f59e0b, #ffd89b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
}

.hero-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Boutons */
.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px -10px rgba(245,158,11,0.4);
}

.btn-outline {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid rgba(245,158,11,0.5);
    font-size: 15px;
}

.btn-outline:hover {
    border-color: #f59e0b;
    background: rgba(245,158,11,0.1);
    transform: translateY(-3px);
}

/* ============================================
   5. SECTIONS
   ============================================ */
section {
    padding: 80px 0;
}

.section-dark {
    background: #0f0c1f;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 50px;
    font-size: 17px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   6. SERVICES
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(245,158,11,0.3);
    box-shadow: 0 20px 30px -10px rgba(245,158,11,0.2);
}

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

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #f59e0b;
}

.service-card p {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 14px;
}

/* ============================================
   7. STATS
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, #0f0c1f, #1a1a2e);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: #f59e0b;
    margin-bottom: 8px;
}

.stat-label {
    color: #94a3b8;
    font-size: 14px;
}

/* ============================================
   8. ABOUT
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #f59e0b;
}

.about-content p {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    list-style: none;
    margin-top: 25px;
}

.about-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-features li i {
    color: #f59e0b;
    font-size: 18px;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 30px rgba(0,0,0,0.3);
}

/* ============================================
   9. VALEURS
   ============================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.value-item {
    text-align: center;
    padding: 35px 20px;
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
    transition: all 0.3s;
    border: 1px solid rgba(245,158,11,0.1);
}

.value-item:hover {
    transform: translateY(-5px);
    border-color: rgba(245,158,11,0.3);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: rgba(245,158,11,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.value-icon i {
    font-size: 32px;
    color: #f59e0b;
}

.value-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.value-item p {
    color: #94a3b8;
    font-size: 13px;
}

/* ============================================
   10. GALERIE
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.8), transparent);
    padding: 15px;
    transition: bottom 0.3s;
}

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

.gallery-overlay p {
    color: #f59e0b;
    font-weight: 600;
    font-size: 14px;
}

/* ============================================
   11. MARCHÉS
   ============================================ */
.market-table {
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
    overflow-x: auto;
    width: 100%;
    margin-top: 40px;
}

.market-table table {
    width: 100%;
    border-collapse: collapse;
}

.market-table th {
    background: #f59e0b;
    color: #0a0a0f;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.market-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.market-table tr:hover td {
    background: rgba(245,158,11,0.05);
}

/* ============================================
   12. CTA
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: white;
}

.cta-section p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: white;
    color: #f59e0b;
}

/* ============================================
   13. CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.05);
}

.contact-card i {
    font-size: 40px;
    color: #f59e0b;
    margin-bottom: 15px;
}

.contact-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.contact-card p {
    color: #94a3b8;
    font-size: 14px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    color: white;
    font-size: 15px;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #f59e0b;
    background: rgba(255,255,255,0.08);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #64748b;
}

/* ============================================
   14. FOOTER
   ============================================ */
footer {
    background: #0a0a0f;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 50px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #f59e0b;
    margin-bottom: 18px;
    font-size: 16px;
}

.footer-col p {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 13px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 13px;
}

.footer-col ul li a:hover {
    color: #f59e0b;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #f59e0b;
    transform: translateY(-3px);
}

.social-links a i {
    color: white;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #64748b;
    font-size: 12px;
}

.footer-bottom a {
    color: #f59e0b;
    text-decoration: none;
}

/* ============================================
   15. SLICK SLIDER CUSTOM
   ============================================ */
.slick-prev, .slick-next {
    width: 45px;
    height: 45px;
    background: rgba(245,158,11,0.4);
    border-radius: 50%;
    z-index: 20;
}

.slick-prev:hover, .slick-next:hover {
    background: #f59e0b;
}

.slick-prev:before, .slick-next:before {
    font-size: 20px;
}

.slick-dots {
    bottom: 30px;
}

.slick-dots li button:before {
    color: white;
    font-size: 10px;
}

.slick-dots li.slick-active button:before {
    color: #f59e0b;
}

/* ============================================
   16. BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: #f59e0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    border: none;
    color: white;
    font-size: 18px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: #d97706;
}

/* ============================================
   17. THEME CLAIR
   ============================================ */
body.light-theme {
    background: #f5f5f5;
    color: #1a1a2e;
}

body.light-theme nav {
    background: rgba(255,255,255,0.95);
    border-bottom-color: rgba(0,0,0,0.1);
}

body.light-theme .nav-links a {
    color: #1a1a2e;
}

body.light-theme .nav-links a:hover {
    color: #f59e0b;
}

body.light-theme .service-card,
body.light-theme .value-item,
body.light-theme .contact-card {
    background: white;
    border-color: rgba(0,0,0,0.05);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

body.light-theme .service-card p,
body.light-theme .value-item p,
body.light-theme .contact-card p {
    color: #4a5568;
}

body.light-theme .section-dark {
    background: #e8e8e8;
}

body.light-theme .stats-section {
    background: linear-gradient(135deg, #e8e8e8, #f0f0f0);
}

body.light-theme .market-table {
    background: white;
}

body.light-theme .market-table td {
    color: #4a5568;
}

body.light-theme .contact-form input,
body.light-theme .contact-form textarea {
    background: white;
    border-color: #e2e8f0;
    color: #1a1a2e;
}

body.light-theme footer {
    background: #e8e8e8;
}

body.light-theme .footer-col p,
body.light-theme .footer-col ul li a {
    color: #4a5568;
}

/* ============================================
   18. RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links.show {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 77px;
        left: 0;
        width: 100%;
        background: #0a0a0f;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid rgba(245,158,11,0.2);
        z-index: 1000;
    }
    
    body.light-theme .nav-links.show {
        background: white;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-outline {
        width: 200px;
        text-align: center;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .slick-prev, .slick-next {
        width: 35px;
        height: 35px;
    }
    
    .slick-prev {
        left: 10px;
    }
    
    .slick-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 4px 15px;
    }
    
    .btn-primary, .btn-outline {
        width: 100%;
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content h3 {
        font-size: 24px;
    }
    
    .market-table {
        font-size: 12px;
    }
    
    .market-table th,
    .market-table td {
        padding: 10px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
/* ============================================
   19. FOOTER
   ============================================ */

footer {
    background: var(--dark-bg-primary);
    border-top: 1px solid var(--dark-border);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-col h4 {
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
}

.footer-col p {
    color: var(--dark-text-secondary);
    line-height: 1.6;
}

.footer-col ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-col ul li a {
    color: var(--dark-text-secondary);
    transition: all var(--transition-normal);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    flex-wrap: wrap;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px) rotate(360deg);
}

.social-links a i {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--dark-border);
    color: #64748b;
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--primary);
}

/* ============================================
   20. BACK TO TOP
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
    border: none;
    color: white;
    font-size: 1.25rem;
    animation: pulse 2s infinite;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--primary-dark);
}

/* ============================================
   21. LOADING SPINNER
   ============================================ */

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: rotate 0.8s linear infinite;
}

/* ============================================
   22. NOTIFICATIONS
   ============================================ */

.custom-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    z-index: 10000;
    animation: slideInRight 0.3s ease-out;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
}

.custom-notification.success { background: #22c55e; color: white; }
.custom-notification.error { background: #ef4444; color: white; }
.custom-notification.info { background: var(--primary); color: white; }

/* ============================================
   23. RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-buttons {
        gap: var(--spacing-sm);
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-3xl: 3rem;
        --spacing-2xl: 2rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links.show {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--dark-bg-nav);
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
        border-bottom: 1px solid rgba(245,158,11,0.2);
        z-index: 1000;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-outline {
        width: 80%;
        text-align: center;
    }
    
    .slick-prev, .slick-next {
        width: 40px;
        height: 40px;
    }
    
    .slick-prev { left: 10px; }
    .slick-next { right: 10px; }
    
    .services-grid,
    .gallery-grid,
    .values-grid,
    .contact-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .stats-grid {
        gap: var(--spacing-sm);
    }
    
    .stat-item {
        padding: var(--spacing-md);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .service-card {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .value-item {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-lg);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .typed-text-container {
        min-height: 60px;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.25rem 1rem;
    }
    
    .hero-buttons {
        width: 100%;
    }
    
    .btn-primary, .btn-outline {
        width: 100%;
        padding: 0.75rem 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.875rem;
    }
    
    .about-content h3 {
        font-size: 1.5rem;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
    }
    
    .value-icon i {
        font-size: 1.75rem;
    }
    
    .contact-card {
        padding: var(--spacing-md);
    }
    
    .custom-notification {
        top: 80px;
        right: 10px;
        left: 10px;
        text-align: center;
    }
}

/* ============================================
   24. THEME CLAIR OVERRIDES
   ============================================ */

body.light-theme {
    background: #f8fafc;
    color: #0f172a;
}

body.light-theme nav {
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-sm);
}

body.light-theme .nav-links a {
    color: #334155;
}

body.light-theme .service-card,
body.light-theme .value-item,
body.light-theme .contact-card {
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

body.light-theme .service-card p,
body.light-theme .value-item p,
body.light-theme .contact-card p {
    color: #475569;
}

body.light-theme .section-dark {
    background: #f1f5f9;
}

body.light-theme .stats-section {
    background: linear-gradient(135deg, #f1f5f9, #ffffff);
}

body.light-theme .stat-label {
    color: #475569;
}

body.light-theme .market-table {
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

body.light-theme .market-table td {
    color: #334155;
    border-bottom-color: #e2e8f0;
}

body.light-theme .contact-form input,
body.light-theme .contact-form textarea {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}

body.light-theme .contact-form input:focus,
body.light-theme .contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
}

body.light-theme .contact-form input::placeholder,
body.light-theme .contact-form textarea::placeholder {
    color: #94a3b8;
}

body.light-theme footer {
    background: #ffffff;
}

body.light-theme .footer-col p,
body.light-theme .footer-col ul li a {
    color: #475569;
}

body.light-theme .footer-bottom {
    border-top-color: #e2e8f0;
}

body.light-theme .nav-links.show {
    background: #ffffff;
    border-bottom-color: #e2e8f0;
}

body.light-theme .theme-toggle {
    background: rgba(0,0,0,0.08);
}

/* ============================================
   25. PRINT STYLES
   ============================================ */

@media print {
    nav, .hero-slider, .back-to-top, .theme-toggle-wrapper, 
    .mobile-menu-btn, .cta-section, footer, .social-links {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .section {
        padding: 1rem 0;
    }
}
/* ============================================
   HERO SLIDER - STYLES CORRIGÉS
   ============================================ */

.hero-slider {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-slide-item {
    position: relative;
    height: 100vh;
    width: 100%;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 8s ease-out;
}

.hero-slider .slick-active .hero-slide-bg img {
    transform: scale(1.05);
}

/* Overlay pour améliorer la lisibilité du texte */
.hero-slide-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 90%;
    max-width: 850px;
    padding: 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: #f59e0b;
    margin-bottom: 25px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f59e0b, #ffd89b, #f59e0b);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 4s ease infinite;
}

.hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.5rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Animation du curseur pour Typed.js */
.typed-cursor {
    font-size: clamp(1rem, 4vw, 1.5rem);
    color: #f59e0b;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Boutons du hero */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-outline {
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary i,
.hero-buttons .btn-outline i {
    transition: transform 0.3s ease;
}

.hero-buttons .btn-primary:hover i,
.hero-buttons .btn-outline:hover i {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-badge {
        font-size: 12px;
        padding: 5px 16px;
        margin-bottom: 15px;
    }
    
    .hero-buttons {
        gap: 15px;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        padding: 10px 24px;
        font-size: 0.875rem;
    }
    
    .hero-subtitle {
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        width: 80%;
        justify-content: center;
    }
}
.animate-text {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ============================================
   ANIMATIONS SLIDER OPTIMISÉES
   ============================================ */

/* Transition fluide des slides */
.hero-slider .slick-slide {
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.18, 1);
}

/* Animation d'entrée du texte */
.hero-content .hero-badge,
.hero-content .hero-title,
.hero-content .hero-buttons {
    opacity: 0;
    transform: translateY(30px);
}

.hero-content .hero-badge {
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hero-content .hero-title {
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition-delay: 0.1s;
}

.hero-content .hero-buttons {
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition-delay: 0.2s;
}

/* Animation de zoom sur les images du slider */
.hero-slide-bg img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Cursor personnalisé pour Typed.js */
.typed-cursor {
    font-size: clamp(1rem, 4vw, 1.5rem);
    color: #f59e0b;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Flèches du slider */
.slick-prev, .slick-next {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.slick-prev:hover, .slick-next:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Dots du slider */
.slick-dots li button:before {
    transition: all 0.3s ease;
}

.slick-dots li.slick-active button:before {
    transform: scale(1.3);
}