/* =========================================
   VARIABLES GLOBALES & RESET
   ========================================= */
:root {
    --blue-dark: #071324; --blue-primary: #0056b3; --blue-accent: #007bff; --blue-light: #eef5fc;
    --white: #ffffff; --gray-light: #f8fafd; --text-main: #2c3e50; --text-muted: #64748b;
    --gradient-primary: linear-gradient(135deg, var(--blue-primary), #003d82);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04); --shadow-hover: 0 20px 40px rgba(0, 86, 179, 0.15);
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', 'Segoe UI', sans-serif; }
body { color: var(--text-main); background-color: var(--gray-light); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

h1, h3 { color: var(--blue-dark); margin-bottom: 15px; font-weight: 700; letter-spacing: -0.5px; }
.section-title h2, .caderac-text h2, .apropos-content h2 {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 50%, #00d2ff 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; 
    display: inline-block; text-shadow: 2px 2px 4px rgba(0,0,0,0.05); margin-bottom: 15px; font-weight: 800; letter-spacing: -0.5px;
}

/* BOUTONS */
.btn-secondary {
    display: inline-flex; justify-content: center; align-items: center; padding: 14px 32px; border-radius: 50px; 
    text-decoration: none; font-weight: 600; transition: var(--transition-smooth); cursor: pointer; border: 2px solid rgba(255, 255, 255, 0.5); 
    background-color: transparent; color: var(--white); backdrop-filter: blur(5px);
}
.btn-secondary:hover { background-color: var(--white); color: var(--blue-dark); border-color: var(--white); transform: translateY(-3px); }

.btn-primary, .glow-button {
    display: inline-flex; justify-content: center; align-items: center; padding: 14px 32px; border-radius: 50px; 
    text-decoration: none; font-weight: 600; cursor: pointer; border: none; position: relative; overflow: hidden;
    background: linear-gradient(45deg, var(--blue-primary), #00d2ff, var(--blue-primary)); background-size: 200% auto; color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.4), 0 0 15px rgba(0, 210, 255, 0.3); transition: all 0.5s ease; z-index: 1;
}
.btn-primary:hover, .glow-button:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 30px rgba(0, 86, 179, 0.6); color: var(--white); }

/* HEADER */
.main-header {
    position: fixed; top: 0; width: 100%; background-color: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); 
    padding: 20px 40px; display: flex; justify-content: space-between; align-items: center; z-index: 1000; transition: var(--transition-smooth); border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.main-header.scrolled { padding: 12px 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); background-color: rgba(255, 255, 255, 0.95); }
.logo img { height: 80px; transition: var(--transition-smooth); }
.main-header.scrolled .logo img { height: 60px; }
nav ul { display: flex; list-style: none; gap: 15px; align-items: center; }
nav a { text-decoration: none; color: var(--text-main); font-weight: 600; padding: 10px 20px; border-radius: 30px; transition: 0.3s; }
nav a:hover { color: var(--white); background-color: var(--blue-primary); box-shadow: 0 0 15px rgba(0, 86, 179, 0.6); transform: translateY(-3px); }

/* HERO SLIDER */
.hero-slider-section { position: relative; height: 100vh; width: 100%; overflow: hidden; background-color: var(--blue-dark); }
.hero-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 20px; opacity: 0; visibility: hidden; transition: opacity 1s, visibility 1s; z-index: 1;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hero-content { max-width: 850px; color: var(--white); z-index: 3; position: relative; }
.hero-content h1 { font-size: 4rem; color: var(--white); margin-bottom: 25px; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.25rem; margin-bottom: 45px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); font-weight: 400; opacity: 0.9; }
.hero-cta { display: flex; gap: 20px; justify-content: center; }
.slider-indicators { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 10; }
.dot { width: 15px; height: 15px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.4); cursor: pointer; transition: 0.3s; }
.dot.active { background-color: var(--blue-primary); box-shadow: 0 0 15px var(--blue-primary); transform: scale(1.3); }

/* A PROPOS & CADERAC */
.apropos-section, .caderac-section { padding: 120px 0; background-color: var(--white); }
.caderac-section { background: var(--blue-dark); color: var(--white); }
.apropos-grid, .caderac-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.main-img, .caderac-visual img { border-radius: 24px; box-shadow: var(--shadow-hover); width: 100%; object-fit: cover; }
.apropos-visual { position: relative; }
.floating-badge {
    position: absolute; bottom: -30px; right: -30px; background: linear-gradient(135deg, var(--blue-primary), #00d2ff); color: var(--white); padding: 25px 35px; border-radius: 20px; 
    box-shadow: 0 15px 35px rgba(0, 86, 179, 0.4); display: flex; align-items: center; gap: 15px; border: 5px solid var(--white); z-index: 10;
}
.floating-badge .number { font-size: 2.8rem; font-weight: 800; line-height: 1; }
.floating-badge .text { font-size: 0.95rem; font-weight: 700; text-transform: uppercase; line-height: 1.2; }
.caderac-text h2 { color: var(--white); }

/* PUCES */
.features-list { list-style: none; margin-top: 25px; }
.features-list li { margin-bottom: 15px; position: relative; padding-left: 35px; color: var(--text-main); font-weight: 500; }
.features-list li::before {
    content: "✓"; position: absolute; left: 0; top: 0; background: var(--gradient-primary); color: var(--white);
    width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: bold;
}
.caderac-section .features-list li { color: rgba(255,255,255,0.9); font-weight: normal; }

/* NOUVEAU : STATS SECTION */
.stats-section { padding: 60px 0; background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary)); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item { padding: 20px; }
.stat-icon { font-size: 2.5rem; margin-bottom: 15px; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3)); }
.stat-number-wrapper { font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: 10px; color: #00d2ff; }
.stat-item p { font-size: 1.1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.8); }

/* SERVICES & WHY US */
.services-section, .why-us-section { padding: 120px 0; background-color: var(--gray-light); }
.why-us-section { background-color: var(--white); }
.section-title { text-align: center; margin-bottom: 70px; max-width: 650px; margin-left: auto; margin-right: auto; }
.section-title h2::after { content: ''; display: block; width: 60px; height: 4px; background: var(--gradient-primary); margin: 15px auto 0; border-radius: 2px; }

.services-grid, .why-us-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.service-card, .why-card {
    background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    transition: all 0.4s ease; position: relative; border: 2px solid transparent; padding: 25px;
}
.why-card { background: var(--gray-light); border: 1px solid rgba(0,0,0,0.05); text-align: center; padding: 40px 25px; }
.service-card:hover, .why-card:hover { transform: translateY(-10px); box-shadow: 0 25px 50px rgba(0, 86, 179, 0.15); border-color: var(--blue-light); }
.why-icon { font-size: 3rem; margin-bottom: 20px; }
.service-image { overflow: hidden; margin: -25px -25px 25px -25px; }
.service-image img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.5s; }
.service-card:hover .service-image img { transform: scale(1.1); }
.service-info h3, .why-card h3 { font-size: 1.25rem; margin-bottom: 15px; color: var(--blue-dark); }
.service-info p, .why-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; }
.link-arrow { color: var(--blue-primary); text-decoration: none; font-weight: 600; font-size: 0.95rem; }

/* NOUVEAU : TEMOIGNAGES */
.testimonials-section { padding: 120px 0; background-color: var(--blue-light); text-align: center; }
.testimonial-slider-container { position: relative; max-width: 800px; margin: 0 auto; height: 250px; }
.testi-slide { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; visibility: hidden; transition: 0.8s ease; transform: scale(0.95); }
.testi-slide.active { opacity: 1; visibility: visible; transform: scale(1); }
.quote-icon { font-size: 5rem; color: var(--blue-primary); opacity: 0.2; line-height: 0; margin-bottom: 30px; font-family: serif; }
.testi-text { font-size: 1.4rem; font-style: italic; color: var(--blue-dark); margin-bottom: 30px; line-height: 1.5; }
.testi-author h4 { margin: 0; color: var(--blue-primary); font-size: 1.2rem; }
.testi-author span { color: var(--text-muted); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; }
.testi-indicators { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.t-dot { width: 10px; height: 10px; background: rgba(0,86,179,0.3); border-radius: 50%; cursor: pointer; transition: 0.3s; }
.t-dot.active { background: var(--blue-primary); transform: scale(1.3); }

/* CONTACT & MAP */
.contact-section { padding: 120px 0; background-color: var(--white); }
.contact-box { background: var(--white); border-radius: 24px; padding: 60px; box-shadow: 0 20px 50px rgba(0,0,0,0.06); display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.phone-block { margin-top: 40px; padding: 30px; background: var(--blue-light); border-radius: 12px; display: flex; flex-direction: column; }
.phone-number { font-size: 2rem; font-weight: 800; color: var(--blue-primary); text-decoration: none; }
.form-group { margin-bottom: 25px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
label { display: block; margin-bottom: 10px; font-weight: 600; color: var(--blue-dark); font-size: 0.95rem; }
input, select, textarea { width: 100%; padding: 16px; background-color: var(--gray-light); border: 1px solid transparent; border-radius: 10px; font-size: 1rem; }
input:focus, select:focus, textarea:focus { background-color: var(--white); border-color: var(--blue-primary); outline: none; box-shadow: 0 0 0 4px rgba(0,86,179,0.1); }
.full-width { width: 100%; }

.map-section { padding: 0 0 100px; background-color: var(--white); }
.map-container { width: 100%; height: 450px; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06); border: 4px solid var(--gray-light); }

/* =========================================
   BOUTIQUE & CATALOGUE
   ========================================= */
.shop-hero { background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary)); padding: 150px 0 60px; color: var(--white); position: relative; overflow: hidden; }
.shop-hero h1 { color: var(--white); font-size: 3.5rem; text-shadow: none; margin-bottom: 10px; }
.shop-hero::after { content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, transparent 70%); border-radius: 50%; }

.cart-btn { background: rgba(255,255,255,0.1); border: 2px solid var(--blue-primary); color: var(--blue-dark); padding: 10px 20px; border-radius: 30px; text-decoration: none; font-weight: 700; display: flex; align-items: center; gap: 10px; transition: var(--transition-smooth); }
.cart-btn:hover { background: var(--blue-primary); color: var(--white); }
.cart-count { background: #ff0050; color: white; padding: 2px 8px; border-radius: 20px; font-size: 0.85rem; font-weight: 800; }

.floating-cart-btn { position: fixed; bottom: 40px; left: 40px; width: 65px; height: 65px; background: var(--blue-dark); color: var(--white); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; text-decoration: none; box-shadow: 0 10px 30px rgba(7, 19, 36, 0.4); z-index: 1000; transition: var(--transition-smooth); border: 3px solid var(--white); }
.floating-cart-btn:hover { transform: translateY(-5px) scale(1.05); background: var(--blue-primary); }
.floating-cart-btn .cart-count { position: absolute; top: -5px; right: -5px; background: #ff0050; border: 2px solid var(--white); padding: 2px 8px; border-radius: 20px; font-size: 0.8rem; }

.shop-section { padding: 80px 0; background-color: var(--gray-light); min-height: 60vh; }
.shop-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 50px; }
.filter-btn { background: var(--white); border: 1px solid rgba(0,0,0,0.1); padding: 10px 25px; border-radius: 30px; color: var(--text-muted); font-weight: 600; cursor: pointer; transition: 0.3s; }
.filter-btn:hover, .filter-btn.active { background: var(--blue-primary); color: var(--white); border-color: var(--blue-primary); box-shadow: 0 5px 15px rgba(0,86,179,0.3); }

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.product-card { background: var(--white); border-radius: 20px; overflow: hidden; position: relative; box-shadow: var(--shadow-soft); border: 1px solid rgba(0,0,0,0.03); transition: 0.4s; }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--blue-light); }
.product-badge { position: absolute; top: 15px; left: 15px; background: var(--white); color: var(--blue-primary); padding: 5px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; box-shadow: 0 4px 10px rgba(0,0,0,0.1); z-index: 2; }
.product-image { height: 220px; overflow: hidden; background: #f0f0f0; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.product-card:hover .product-image img { transform: scale(1.1); }
.product-info { padding: 25px; }
.product-info h3 { font-size: 1.15rem; color: var(--blue-dark); margin-bottom: 10px; line-height: 1.4; }
.product-info .desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 15px; }
.product-footer .price { font-size: 1.25rem; font-weight: 800; color: var(--blue-primary); }
.add-to-cart-btn { width: 45px; height: 45px; border-radius: 50%; border: none; background: var(--blue-dark); color: var(--white); display: flex; justify-content: center; align-items: center; font-size: 1.1rem; cursor: pointer; transition: 0.3s; }
.add-to-cart-btn:hover { background: var(--blue-primary); box-shadow: 0 5px 15px rgba(0,86,179,0.4); transform: scale(1.1); }

/* =========================================
   MEGA FOOTER & VRAIS LOGOS
   ========================================= */
.main-footer { background-color: #040b17; color: rgba(255,255,255,0.7); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 50px; }

/* Correction du texte invisible (Force la couleur blanche) */
.footer-col h3 { color: #ffffff !important; -webkit-text-fill-color: initial !important; margin-bottom: 25px; font-size: 1.4rem; position: relative; padding-bottom: 10px; text-shadow: none; }
.footer-col h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--blue-primary); border-radius: 2px; }
.footer-col p { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 18px; line-height: 1.6; }
.footer-col p i { color: var(--blue-primary); font-size: 1.2rem; margin-top: 4px; }
.footer-col a { color: rgba(255,255,255,0.7); text-decoration: none; transition: 0.3s; font-weight: 500; }
.footer-col a:hover { color: #ffffff; }

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { display: inline-block; transition: transform 0.3s, color 0.3s; }
.footer-col ul li a:hover { color: #00d2ff; transform: translateX(8px); }

/* Vrais Logos Réseaux Sociaux */
.social-links { display: flex; flex-direction: column; gap: 15px; }
.social-links a { display: flex; align-items: center; gap: 15px; font-size: 1.1rem; }
.social-links a i { font-size: 1.4rem; width: 25px; text-align: center; transition: 0.3s; }

/* Couleurs officielles au survol de la souris */
.social-links a:hover i.fa-facebook-f { color: #1877F2; transform: scale(1.2); }
.social-links a:hover i.fa-instagram { color: #E1306C; transform: scale(1.2); }
.social-links a:hover i.fa-tiktok { color: #ff0050; transform: scale(1.2); }
.social-links a:hover { color: #ffffff; }

.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; font-size: 0.95rem; }

/* =========================================
   RESPONSIVE DESIGN (Adaptation écrans)
   ========================================= */
@media (max-width: 1200px) {
    .services-grid, .why-us-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 992px) {
    .caderac-grid, .contact-box, .apropos-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-content h1 { font-size: 3rem; }
    .main-header { padding: 15px 20px; }
    .nav ul { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 768px) {
    .services-grid, .why-us-grid, .stats-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .testimonial-slider-container { height: 350px; } 
}