@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Rajdhani:wght@500;600;700&display=swap');

:root {
    --primary: #FF6B00;
    --primary-glow: rgba(255, 107, 0, 0.25);
    --bg-dark: #0B0E14;
    --bg-surface: #151922;
    --bg-card: #1A1F2A;
    --text-main: #F1F5F9;
    --text-muted: #94A3B8;
    --border: #2A3142;
    --shadow-soft: 0 10px 40px rgba(0,0,0,0.5);
    --shadow-hover: 0 15px 35px rgba(255,107,0,0.15);
    --radius: 14px;
    --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}
body.no-scroll { overflow: hidden; /* Empêche le scroll quand le menu est ouvert */ }

h1, h2, h3, h4 { font-family: 'Rajdhani', sans-serif; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

/* =========================================
   HEADER & NAVIGATION (CORRIGÉ & PREMIUM)
   ========================================= */
.main-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 1rem 0;
    background: rgba(11, 14, 20, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}
.main-header .container { display: flex; justify-content: space-between; align-items: center; }

.logo h1 { font-size: 1.8rem; color: var(--text-main); margin: 0; line-height: 1; }
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { 
    font-weight: 500; font-size: 0.95rem; position: relative; padding: 0.5rem 0; 
    color: var(--text-muted);
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--primary); transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-main); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Sélecteur de langue style "Pillule" */
.lang-switch {
    display: flex; gap: 0; background: rgba(255,255,255,0.05);
    border-radius: 8px; padding: 4px; border: 1px solid var(--border);
    margin-left: 2rem;
}
.lang-switch a {
    padding: 6px 14px; border-radius: 6px; font-size: 0.8rem; font-weight: 700;
    color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px;
    transition: var(--transition);
}
.lang-switch a.active {
    background: var(--primary); color: var(--bg-dark);
    box-shadow: 0 2px 10px var(--primary-glow);
}
.lang-switch a:not(.active):hover { color: var(--text-main); background: rgba(255,255,255,0.05); }

/* Burger Menu Icon */
.burger { 
    display: none; flex-direction: column; justify-content: space-between;
    width: 28px; height: 20px; cursor: pointer; z-index: 1002; 
}
.burger div { 
    width: 100%; height: 2px; background: var(--text-main); 
    border-radius: 2px; transition: var(--transition); transform-origin: center;
}

/* =========================================
   RESPONSIVE & MOBILE MENU (CORRIGÉ)
   ========================================= */
@media (max-width: 992px) {
    .burger { display: flex; }
    
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 85%; max-width: 350px; height: 100vh;
        background: var(--bg-dark); flex-direction: column; 
        justify-content: center; align-items: center; gap: 2.5rem;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        border-left: 1px solid var(--border); z-index: 1001;
        box-shadow: -10px 0 40px rgba(0,0,0,0.6);
    }
    .nav-links.nav-active { right: 0; }
    
    .nav-links a { font-size: 1.3rem; font-weight: 600; color: var(--text-main); }
    
    /* Animation Hamburger en Croix */
    .burger.toggle div:nth-child(1) { transform: translateY(9px) rotate(45deg); background: var(--primary); }
    .burger.toggle div:nth-child(2) { opacity: 0; transform: translateX(20px); }
    .burger.toggle div:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background: var(--primary); }
    
    /* Déplacer le switch de langue DANS le menu mobile pour plus de propreté */
    .lang-switch { margin-left: 0; margin-top: 2rem; }
    .main-header .container { position: relative; }
}

/* =========================================
   RESTE DU STYLE (Hero, Cards, Footer, etc.)
   ========================================= */
.hero {
    height: 100vh; display: flex; align-items: center;
    background: linear-gradient(160deg, rgba(11,14,20,0.95) 0%, rgba(11,14,20,0.7) 100%),
                url('https://images.unsplash.com/photo-1580273916550-e323be2ed5fa?auto=format&fit=crop&w=1920&q=80') center/cover;
}
.hero-content { max-width: 850px; }
.hero h2 { font-size: clamp(2.8rem, 5vw, 4.5rem); line-height: 1.05; margin-bottom: 1.5rem; }
.hero p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 650px; }

.btn {
    display: inline-block; background: var(--primary); color: var(--bg-dark);
    padding: 1rem 2.8rem; border-radius: 8px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; font-size: 0.95rem;
    transition: var(--transition); border: 2px solid transparent;
}
.btn:hover { background: transparent; color: var(--primary); border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.section { padding: 6rem 0; }
.section-title { text-align: center; font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 4rem; position: relative; }
.section-title::after { content: ''; display: block; width: 80px; height: 4px; background: linear-gradient(90deg, var(--primary), transparent); margin: 1rem auto 0; border-radius: 2px; }

.services-grid, .promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card, .promo-card {
    background: var(--bg-card); padding: 2.5rem; border-radius: var(--radius);
    border: 1px solid var(--border); transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before, .promo-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), #00D4FF);
    transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
}
.service-card:hover::before, .promo-card:hover::before { transform: scaleX(1); }
.service-card:hover, .promo-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); border-color: var(--primary); }

.service-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 1.5rem; background: var(--primary-glow); padding: 1.2rem; border-radius: 12px; }

.promo-card .badge { position: absolute; top: -14px; right: 20px; background: var(--primary); color: var(--bg-dark); padding: 0.5rem 1.2rem; border-radius: 20px; font-weight: 700; font-size: 0.8rem; }
.promo-card .price { font-size: 2.8rem; font-weight: 800; color: var(--primary); margin: 1rem 0; }
.promo-card .price span { font-size: 1.2rem; text-decoration: line-through; color: var(--text-muted); font-weight: 400; }

.contact-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.contact-info, .contact-form { background: var(--bg-card); padding: 2.5rem; border-radius: var(--radius); border: 1px solid var(--border); }
.contact-info p { margin-bottom: 1.2rem; display: flex; align-items: center; gap: 1rem; }
.contact-info i { color: var(--primary); width: 22px; font-size: 1.1rem; }

.form-group { margin-bottom: 1.5rem; }
.form-group input, .form-group textarea {
    width: 100%; padding: 1rem; background: var(--bg-dark); border: 1px solid var(--border);
    border-radius: 10px; color: var(--text-main); font-family: inherit; transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }

footer { background: #07090D; padding: 5rem 0 2rem; border-top: 1px solid var(--border); }
.footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; }
.footer-col h3, .footer-col h4 { color: var(--text-main); margin-bottom: 1.5rem; font-size: 1.4rem; }
.footer-col p { color: var(--text-muted); margin-bottom: 0.8rem; }
.social-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-links a { width: 42px; height: 42px; border-radius: 50%; background: var(--bg-surface); display: flex; align-items: center; justify-content: center; transition: var(--transition); border: 1px solid var(--border); }
.social-links a:hover { background: var(--primary); color: var(--bg-dark); border-color: var(--primary); transform: translateY(-3px); }

.floating-buttons { position: fixed; bottom: 2rem; right: 2rem; display: flex; flex-direction: column; gap: 1rem; z-index: 999; }
.float-btn { width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem; box-shadow: 0 8px 25px rgba(0,0,0,0.5); transition: var(--transition); position: relative; }
.float-btn::after { content: ''; position: absolute; width: 100%; height: 100%; border-radius: 50%; background: inherit; opacity: 0.6; animation: pulse 2.5s infinite; z-index: -1; }
.phone-btn { background: #2563EB; }
.whatsapp-btn { background: #10B981; }
.float-btn:hover { transform: scale(1.12); }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.7); opacity: 0; } }

@media (max-width: 992px) {
    .contact-wrapper, .footer-content { grid-template-columns: 1fr; }
    .hero { text-align: center; }
    .hero-content { margin: 0 auto; }
}