/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Liens */
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-secondary {
    background-color: #f59e0b;
}

.btn-secondary:hover {
    background-color: #d97706;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background-color: #2563eb;
    color: white;
}

.btn-success {
    background-color: #10b981;
    color: white;
}

.btn-success:hover {
    background-color: #0da271;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* ============================================
   HEADER STYLES
   ============================================ */

.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.logo-icon {
    font-size: 1.8rem;
    color: #2563eb;
}

/* Navigation desktop */
.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    color: #475569;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link.active {
    color: #2563eb;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2563eb;
}

/* Header CTA */
.header-cta .btn {
    font-size: 0.9rem;
    padding: 8px 16px;
}

/* Bouton menu mobile */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn span {
    height: 3px;
    width: 100%;
    background-color: #475569;
    border-radius: 2px;
    transition: 0.3s;
}

/* Navigation mobile */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 999;
}

.mobile-nav.show {
    display: block;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-link {
    display: block;
    padding: 10px 0;
    color: #475569;
    font-weight: 500;
    border-bottom: 1px solid #e2e8f0;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover {
    color: #2563eb;
}

/* ============================================
   BANNIÈRE PROMO (petite bande)
   ============================================ */

.promo-banner {
    background: linear-gradient(90deg, #dc2626, #ef4444);
    color: white;
    padding: 10px 0;
    margin-top: 70px; /* Header fixe de 70px */
    text-align: center;
}

.promo-banner .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.promo-icon {
    font-size: 1.2rem;
}

.promo-text {
    font-weight: 600;
    font-size: 0.95rem;
}

.promo-countdown-small {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
}

.promo-link {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.promo-link:hover {
    text-decoration: underline;
}

/* ============================================
   HERO SECTION AVEC IMAGE
   ============================================ */

.hero-section {
    background: linear-gradient(rgba(30, 41, 59, 0.85), rgba(15, 23, 42, 0.9)), 
                url('https://images.unsplash.com/photo-1517077304055-6e89abbf09b0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #cbd5e1;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   SECTIONS GÉNÉRALES
   ============================================ */

.page-section {
    padding: 80px 0;
}

.bg-white {
    background-color: white;
}

.bg-light {
    background-color: #f8fafc;
}

.bg-tech-light {
    background-color: #f0f9ff; /* Bleu très clair */
}

.bg-elec-light {
    background-color: #fef7e5; /* Orange très clair */
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* ============================================
   DOMAINES D'EXPERTISE (avec backgrounds colorés)
   ============================================ */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Carte Tech - Background bleu très clair */
.feature-card.tech-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-top: 4px solid #2563eb;
}

/* Carte Élec - Background orange très clair */
.feature-card.elec-card {
    background: linear-gradient(135deg, #fef7e5 0%, #fef3c7 100%);
    border-top: 4px solid #f59e0b;
}

/* Carte Support - Background vert très clair */
.feature-card.support-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-top: 4px solid #10b981;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
}

.feature-card.tech-card .feature-icon {
    color: #2563eb;
    background: #dbeafe;
}

.feature-card.elec-card .feature-icon {
    color: #f59e0b;
    background: #fef3c7;
}

.feature-card.support-card .feature-icon {
    color: #10b981;
    background: #d1fae5;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1e293b;
}

.feature-description {
    color: #475569;
    margin-bottom: 25px;
    flex-grow: 1;
}

.feature-list {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i {
    color: #10b981;
}

/* ============================================
   POURQUOI NOUS CHOISIR
   ============================================ */

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #475569;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.stat-card {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-card:nth-child(1) .stat-number {
    color: #2563eb;
}

.stat-card:nth-child(2) .stat-number {
    color: #f59e0b;
}

.stat-card:nth-child(3) .stat-number {
    color: #10b981;
}

.stat-card:nth-child(4) .stat-number {
    color: #8b5cf6;
}

.stat-label {
    font-weight: 600;
    color: #475569;
}

/* ============================================
   SERVICES TECH
   ============================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card.highlighted {
    border: 2px solid #2563eb;
    position: relative;
}

.service-card.highlighted::before {
    content: 'POPULAIRE';
    position: absolute;
    top: 15px;
    right: -30px;
    background: #2563eb;
    color: white;
    padding: 5px 35px;
    font-size: 0.8rem;
    font-weight: 700;
    transform: rotate(45deg);
    z-index: 2;
}

.service-header {
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    color: white;
    padding: 25px;
    text-align: center;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
}

.service-body {
    padding: 25px;
}

.service-body p {
    color: #64748b;
    margin-bottom: 20px;
}

.service-link {
    color: #2563eb;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.service-link:hover {
    text-decoration: underline;
}

/* ============================================
   SERVICES ÉLECTRIQUES
   ============================================ */

.elec-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.elec-service-card {
    background: #fef7e5;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #f59e0b;
    transition: transform 0.3s ease;
}

.elec-service-card:hover {
    transform: translateY(-5px);
}

.elec-service-card .elec-icon {
    font-size: 2.5rem;
    color: #f59e0b;
    margin-bottom: 20px;
}

.elec-service-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1e293b;
}

/* ============================================
   PROMOTION GRANDE BANNIÈRE
   ============================================ */

.promo-banner-large {
    background: linear-gradient(rgba(220, 38, 38, 0.9), rgba(239, 68, 68, 0.9)), 
                url('https://images.unsplash.com/photo-1579546929662-711aa81148cf?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promo-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.promo-subtitle {
    font-size: 1.3rem;
    margin-bottom: 15px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.promo-highlight {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 700;
}

.promo-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.promo-countdown {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    min-width: 100px;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.countdown-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 5px;
}

.btn-promo {
    background-color: white;
    color: #dc2626;
    font-weight: 700;
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-promo:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
}

/* ============================================
   CONTACT CTA
   ============================================ */

.contact-cta {
    background: #f8fafc;
    padding: 50px;
    border-radius: 15px;
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.contact-icon {
    font-size: 2rem;
    color: #2563eb;
    background: #dbeafe;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #1e293b;
}

.contact-item p {
    color: #64748b;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background-color: #1e293b;
    color: #cbd5e1;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.footer-description {
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
}

.footer-links a:hover {
    color: #60a5fa;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #334155;
    border-radius: 50%;
    font-size: 1.2rem;
}

.social-link:hover {
    background-color: #2563eb;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 20px;
    text-align: center;
}

.copyright {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-links-bottom a {
    color: #60a5fa;
    margin: 0 5px;
}

.footer-links-bottom a:hover {
    text-decoration: underline;
}

/* ============================================
   BOUTON WHATSAPP FLOTTANT
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .promo-title {
        font-size: 2rem;
    }
    
    .page-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    /* Header mobile */
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-cta {
        display: none;
    }
    
    /* Hero */
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 10px;
    }
    
    /* Sections */
    .section-title {
        font-size: 1.8rem;
    }
    
    .page-section {
        padding: 40px 0;
    }
    
    /* Promo banner */
    .promo-banner .container {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Feature cards */
    .feature-icon {
        width: 70px;
        height: 70px;
        line-height: 70px;
        font-size: 2.5rem;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    /* Promo countdown */
    .promo-countdown {
        gap: 15px;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 15px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    /* Contact */
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .contact-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 10px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* WhatsApp float */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .promo-banner-large {
        padding: 40px 20px;
    }
    
    .promo-title {
        font-size: 1.8rem;
    }
    
    .contact-cta {
        padding: 30px 20px;
    }
    
    .service-card.highlighted::before {
        font-size: 0.7rem;
        padding: 4px 30px;
        right: -35px;
    }
    
    .btn {
        padding: 10px 20px;
    }
}








/* ============================================
   DÉCORATIONS DE NOËL/NOUVEL AN pour la page promo
   ============================================ */

/* Étoiles scintillantes */
.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

.star-small {
    width: 3px;
    height: 3px;
}

.star-medium {
    width: 5px;
    height: 5px;
}

.star-large {
    width: 7px;
    height: 7px;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Guirlandes */
.garland {
    position: absolute;
    height: 20px;
    width: 100%;
    background: linear-gradient(90deg, 
        #ff0000, #ff8000, #ffff00, #80ff00, 
        #00ff00, #00ff80, #00ffff, #0080ff, 
        #0000ff, #8000ff, #ff00ff, #ff0080);
    background-size: 200% 100%;
    animation: garland-move 10s linear infinite;
    border-radius: 10px;
}

@keyframes garland-move {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* Flocons de neige */
.snowflake {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    to { transform: translateY(100vh); }
}

/* Effet sur les cartes de promo */
.christmas-border {
    position: relative;
    overflow: hidden;
}

.christmas-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        #ff0000, #ff8000, #ffff00, #80ff00, 
        #00ff00, #00ff80, #00ffff, #0080ff);
    background-size: 200% 100%;
    animation: garland-move 5s linear infinite;
}

/* Icônes de Noël */
.christmas-icon {
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Background de Noël */
.christmas-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #1e293b 75%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.christmas-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 1px, transparent 2px),
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.05) 1px, transparent 2px),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.05) 1px, transparent 2px),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.05) 1px, transparent 2px);
    background-size: 200px 200px;
}