:root {
    --bg-main: #020617;
    --bg-secondary: #0b1120;
    --text-main: #f8f9fa;
    --text-muted: #94a3b8;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --accent: #38bdf8;
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-main: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    --glow: 0 0 20px rgba(37, 99, 235, 0.2);
    --glow-intense: 0 0 40px rgba(37, 99, 235, 0.4);
}

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Futuristic Animated Background Canvas */
#futuristic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; position: relative; z-index: 1; }
.text-center { text-align: center; }

.section-title { font-size: 2.8rem; font-weight: 800; margin-bottom: 1rem; }
.section-subtitle { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 3rem; max-width: 600px; margin-inline: auto; }

/* Gradients text */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.1);
}

.tech-tag::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: tech-pulse 2s infinite;
}

@keyframes tech-pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

.tech-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    position: relative;
    margin: 4rem 0;
}

.tech-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: tech-line-move 6s linear infinite;
}

@keyframes tech-line-move {
    0% { left: -100px; }
    100% { left: 100%; }
}

.mono { font-family: var(--font-mono); }


/* Buttons */
.btn {
    display: inline-flex; align-items:center; gap: 0.5rem; justify-content:center;
    padding: 0.8rem 1.8rem; border-radius: 50px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; border: none; font-family: inherit; font-size: 1rem;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}
.btn-primary:hover {
    transform: translateY(-3px); box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}
.btn-secondary { background: var(--glass-bg); border: 1px solid var(--glass-border); color: white; backdrop-filter: blur(10px); }
.btn-secondary:hover { background: rgba(255,255,255, 0.1); }

/* Navbar */
.navbar {
    position: fixed; top: 0; width: 100%; padding: 1.5rem 5%; display: flex; justify-content: space-between; align-items: center; background: rgba(4, 8, 20, 0.75); backdrop-filter: blur(16px); z-index: 1000; border-bottom: 1px solid var(--glass-border);
}
.logo a { display:flex; align-items:center; gap:0.3rem;}
.navbar-logo-img { height: 42px; width: auto; display: block; object-fit: contain; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links > a:not(.btn) { font-weight: 500; color: var(--text-muted); position: relative; padding: 0.5rem 0;}
.nav-links > a:not(.btn)::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.3s ease;
}
.nav-links > a.active, .nav-links > a:not(.btn):hover { color: var(--white); }
.nav-links > a.active::after, .nav-links > a:not(.btn):hover::after { width: 100%; }

/* Dropdown Styles */
.dropdown { position: relative; }
.dropdown-toggle { display: flex; align-items: center; gap: 0.4rem; cursor: pointer; }
.dropdown-menu {
    position: absolute; top: 100%; left: 0; width: 280px; 
    background: rgba(11, 17, 32, 0.98); border: 1px solid var(--glass-border); 
    border-radius: 16px; padding: 1rem; margin-top: 1rem;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px); z-index: 1000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item {
    display: flex; align-items: center; gap: 1rem; padding: 0.8rem;
    border-radius: 12px; transition: all 0.2s ease; margin-bottom: 0.2rem;
}
.dropdown-item:hover { background: rgba(37, 99, 235, 0.1); }
.di-icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--accent); transition: all 0.3s ease; }
.dropdown-item:hover .di-icon { background: var(--primary); color: white; }
.di-text h4 { font-size: 0.9rem; font-weight: 600; color: white; margin-bottom: 0.1rem; }
.di-text p { font-size: 0.75rem; color: var(--text-muted); }

.mobile-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* Subpage Header */
.page-header {
    padding: 180px 0 100px; text-align: center; 
    background-color: var(--bg-secondary);
    background-size: cover;
    background-position: center;
    position: relative; overflow: hidden;
}
.page-header::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.95));
    z-index: 1;
}
.page-header::after {
    content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, rgba(0,0,0,0) 70%); z-index: 2; pointer-events: none;
}
.page-header .container { position: relative; z-index: 3; }
.page-header h1 { font-size: 3.5rem; margin-bottom: 1rem; }
.page-header p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* Hero Section Layout */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
    background: none;
    z-index: 1;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(2, 6, 23, 0.75) 20%, rgba(2, 6, 23, 0.3) 100%);
    z-index: 1;
}
.hero::after {
    content: ''; position: absolute; top: -10%; right: -5%; width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, rgba(0,0,0,0) 70%);
    filter: blur(80px); z-index: 2; pointer-events: none;
}

.hero-content { 
    flex: 1; 
    z-index: 5; 
    padding-right: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Home Services Section */
.home-services {
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(6px);
}

.produit-hero-content {
    padding: 3rem 2.5rem 3rem 4rem; 
    position: relative; 
    z-index: 2;
}

.produit-hero-img {
    position: relative; 
    height: 100%; 
    min-height: 340px; 
    overflow: hidden;
}

.hero-visual {
    flex: 1.2;
    position: relative;
    height: 580px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Staggered Cards — No image, cards stacked diagonally */
.glass-card {
    position: absolute;
    background: rgba(10, 18, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    padding: 1.4rem 2rem;
    border-radius: 22px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 1.4rem;
    width: 300px;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.glass-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, transparent, rgba(56, 189, 248, 0.1), transparent);
    animation: tech-scan 3s linear infinite;
    pointer-events: none;
}

@keyframes tech-scan {
    0% { top: -50%; }
    100% { top: 100%; }
}

.glass-card:hover {
    transform: translateY(-12px) scale(1.04);
    border-color: var(--accent);
    box-shadow: var(--glow-intense);
}

/* Staggered positions: optimized for visual flow */
.hero-card-1 { top: 12%; left: 5%; }
.hero-card-2 { top: 42%; right: 2%; transform: scale(1.1); }
.hero-card-3 { bottom: 12%; left: 15%; }

/* Background decoration for Hero */
.hero-blob {
    position: absolute; width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, transparent 70%);
    filter: blur(40px); border-radius: 50%; z-index: 1;
    pointer-events: none; opacity: 0.6;
}
.blob-1 { top: 10%; right: 10%; animation: morph 10s ease-in-out infinite; }
.blob-2 { bottom: 5%; left: 5%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(56,189,248,0.15) 0%, transparent 70%); animation: morph 12s ease-in-out infinite reverse; }

@keyframes morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: translate(0, 0) rotate(0deg); }
    33% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; transform: translate(20px, -30px) rotate(120deg); }
    66% { border-radius: 30% 70% 30% 70% / 50% 60% 30% 40%; transform: translate(-10px, 20px) rotate(240deg); }
}

.glass-card h3 { font-size: 1.05rem; margin-bottom: 0.2rem; color: white; font-weight: 700; }
.glass-card p { font-size: 0.82rem; color: var(--text-muted); }

/* Animation Controls */
.floating-1 { animation: floatCard 6s ease-in-out infinite; }
.floating-2 { animation: floatCard 7.5s ease-in-out infinite 1s; }
.floating-3 { animation: floatCard 8s ease-in-out infinite 0.5s; }

@keyframes floatCard { 
    0%, 100% { transform: translateY(0px); } 
    50% { transform: translateY(-18px); } 
}
@keyframes pulse { 
    0% { transform: scale(1); box-shadow: 0 10px 30px rgba(37,99,235,0.3);} 
    50% { transform: scale(1.05); box-shadow: 0 15px 40px rgba(37,99,235,0.6);} 
    100% { transform: scale(1); box-shadow: 0 10px 30px rgba(37,99,235,0.3);} 
}

.secret-link { color: inherit; text-decoration: none; cursor: default; }
.secret-link:hover { color: var(--primary); cursor: pointer; }

/* Shared Grid Layouts */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

/* Image styles (for about/services sections) */
.rounded-img { width: 100%; height: 480px; border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.6); object-fit: cover; object-position: center 20%; }
.glass-img { width: 100%; border-radius: 20px; border: 1px solid var(--glass-border); }
.img-wrapper { position: relative; }
.experience-badge { position: absolute; bottom: -20px; right: -20px; background: linear-gradient(135deg, var(--primary), var(--accent)); padding: 2rem; border-radius: 24px; text-align: center; box-shadow: 0 10px 30px rgba(37,99,235,0.3); }
.experience-badge h2 { font-size: 3rem; line-height: 1; color: white;}
.experience-badge p { color: rgba(255,255,255,0.9); font-weight:600;}

/* Features / Why Us */
.services-bg { background: rgba(11, 17, 32, 0.85); backdrop-filter: blur(8px); position: relative; z-index: 1; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 3rem; }
.feature-item { padding: 2rem; background: var(--bg-main); border-radius: 20px; border: 1px solid var(--glass-border); transition: all 0.3s ease; text-align:left; position:relative; overflow:hidden;}
.feature-item::after { content:''; position:absolute; right:-20px; top:-20px; width:100px; height:100px; background: radial-gradient(circle, rgba(37,99,235,0.1), transparent); border-radius:50%;}
.feature-item:hover { border-color: var(--accent); transform:translateY(-5px); box-shadow: 0 10px 30px rgba(37,99,235,0.15);}
.feature-icon { width: 60px; height:60px; background: rgba(37,99,235,0.1); border-radius: 16px; display:flex; align-items:center; justify-content:center; margin-bottom: 1.5rem;}
.feature-item i { font-size: 2rem; color: var(--accent); }
.feature-item h4 { margin-bottom: 0.5rem; font-size: 1.4rem; }
.feature-item p { color: var(--text-muted); font-size: 0.95rem; }

/* Visual Banner Boutique */
.visual-banner {
    background: linear-gradient(135deg, var(--primary), #0c4a6e);
    border-radius: 30px; padding: 4rem; text-align:center; position:relative; overflow:hidden;
    box-shadow: 0 20px 40px rgba(37,99,235,0.2);
}
.visual-banner::before { content:''; position:absolute; top:0;left:0; width:100%;height:100%; background:url('https://images.unsplash.com/photo-1674027444485-cec3da58eef4?q=80&w=2000&auto=format&fit=crop') center/cover; opacity: 0.15;}
.banner-content { position:relative; z-index:2; max-width:800px; margin:0 auto;}
.banner-content h2 { font-size:2.5rem; color:white; margin-bottom:1rem;}
.banner-content p { font-size:1.2rem; color:rgba(255,255,255,0.8); margin-bottom:2rem;}

/* Service Rows in Services Page */
.services-display { display: flex; flex-direction: column; gap: 6rem;}
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;}
.service-row:nth-child(even) { direction: rtl; } 
.service-row:nth-child(even) > * { direction: ltr; } /* Keeps text ltr but image on right */
.service-row-img { position:relative; border-radius: 30px; overflow:hidden;}
.service-row-img img { width:100%; border-radius:30px; display:block; aspect-ratio:4/3; object-fit:cover; object-position: top center; transition: transform 0.6s ease;}
.service-row-img:hover img { transform: scale(1.05);}
.icon-blob { position:absolute; bottom:20px; left:20px; width:80px; height:80px; background: var(--bg-main); border-radius: 20px; display:flex; align-items:center; justify-content:center; box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index:5;}
.icon-blob i { font-size: 2.5rem; color: var(--primary);}
.service-row-content h2 { font-size: 2.2rem; margin-bottom: 1rem;}
.service-row-content p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2rem;}
.custom-list { display: flex; flex-direction: column; gap: 1rem;}
.custom-list li { display:flex; align-items:center; gap: 0.8rem; color: var(--text-main); font-size: 1.05rem;}
.custom-list i { color: var(--accent); font-size: 1.2rem; background: rgba(56, 189, 248, 0.1); padding: 0.4rem; border-radius: 50%;}

/* Projects Card */
.visual-card { border:1px solid var(--glass-border); border-radius:24px; background: var(--bg-secondary); overflow:hidden; transition:all 0.4s ease;}
.visual-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); border-color:var(--primary);}
.card-img-wrap { position:relative; height: 240px; overflow:hidden;}
.card-img-wrap img { width:100%; height:100%; object-fit:cover; transition:transform 0.5s ease;}
.visual-card:hover .card-img-wrap img { transform:scale(1.1);}
.overlay-icon { position:absolute; top:20px; right:20px; background: rgba(0,0,0,0.5); backdrop-filter:blur(10px); width:50px; height:50px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:white; font-size:1.5rem; border:1px solid rgba(255,255,255,0.1);}
.project-info { padding: 1.8rem;}
.project-info h3 { font-size:1.4rem; margin-bottom:0.5rem; color:white;}

/* Hero cards-only visual container (no background image) */
.hero-cards-only {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card Icon Boxes */
.card-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.6rem;
}
.icon-blue { background: rgba(37, 99, 235, 0.15); color: var(--primary); }
.icon-cyan { background: rgba(56, 189, 248, 0.15); color: var(--accent); }

/* Service Detail Cards (Homepage expanded services) */
.service-detail-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.service-detail-card::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(37,99,235,0.08), transparent);
    border-radius: 50%;
}
.service-detail-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
}
.service-detail-card.featured {
    border-color: var(--primary);
    background: linear-gradient(160deg, rgba(37,99,235,0.12) 0%, var(--bg-secondary) 60%);
    box-shadow: 0 10px 40px rgba(37,99,235,0.1);
}
.sdc-badge {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.sdc-icon {
    width: 65px; height: 65px;
    border-radius: 18px;
    background: rgba(37, 99, 235, 0.12);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.service-detail-card.featured .sdc-icon { background: rgba(37,99,235,0.2); }
.service-detail-card h3 { font-size: 1.4rem; color: white; font-weight: 700; }
.service-detail-card > p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }
.sdc-list { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 0.5rem; flex: 1; }
.sdc-list li { display: flex; align-items: center; gap: 0.6rem; color: var(--text-muted); font-size: 0.9rem; }
.sdc-list i { color: var(--accent); font-size: 1rem; flex-shrink: 0; }
.sdc-link {
    display: inline-flex; align-items: center; gap: 0.4rem;
    color: var(--accent); font-weight: 600; font-size: 0.95rem;
    margin-top: 0.5rem;
    transition: gap 0.3s ease;
}
.sdc-link:hover { gap: 0.8rem; }

/* Testimonial Cards (no image version) */
.testimonial-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.testimonial-card:hover { border-color: var(--primary); transform: translateY(-5px); }
.testimonial-avatar-icon {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    color: white;
}
.testimonial-card .stars { color: #fbbf24; font-size: 1.4rem; letter-spacing: 2px; }
.testimonial-card p { color: var(--text-muted); font-style: italic; line-height: 1.8; font-size: 1rem; }
.testimonial-card h4 { color: var(--primary); font-weight: 700; }

/* Service Card (generic) */
.service-card { background: var(--glass-bg); padding: 2.5rem 2rem; border-radius: 20px; border: 1px solid var(--glass-border); transition: all 0.3s ease; text-align: left; }

/* Contact Section */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info-box { background: var(--bg-secondary); border: 1px solid var(--glass-border); padding: 3rem; border-radius: 24px; position:relative; overflow:hidden;}
.contact-info-box::after { content:''; position:absolute; top:0;right:0; width:200px; height:200px; background: radial-gradient(circle, rgba(37,99,235,0.1), transparent); border-radius:50%; pointer-events:none;}
.contact-info-box h3 { font-size: 2rem; margin-bottom: 2rem; color: var(--text-main);}
.contact-detail { display: flex; align-items: flex-start; gap: 1.5rem; margin-bottom: 2rem; }
.contact-detail i { font-size: 1.8rem; color: var(--primary); background: rgba(37,99,235,0.1); padding: 1rem; border-radius: 16px;}
.contact-detail h5 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.contact-detail p { color: var(--text-muted); font-size:1.05rem;}

/* FAQ */
.faq-item { background: var(--bg-main); border: 1px solid var(--glass-border); border-radius: 16px; margin-bottom: 1.5rem; overflow: hidden; transition:all 0.3s ease;}
.faq-item:hover { border-color: var(--primary);}
.faq-question { padding: 1.5rem 2rem; font-weight: 600; font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; color: white;}
.faq-question i { color: var(--accent); font-size: 1.2rem;}
.faq-answer { padding: 0 2rem 1.5rem; color: var(--text-muted); display: block; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 1rem; padding-top: 1.5rem; line-height:1.7;}

/* Footer */
.footer { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 5rem; margin-top: 5rem; background: rgba(2, 4, 10, 0.9); position: relative; z-index: 1;}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; margin-bottom: 3rem; }
.footer-brand p { color: var(--text-muted); margin-top: 1rem; max-width: 400px; }
.footer-contact h3 { margin-bottom: 1.5rem; font-size: 1.3rem; }
.footer-contact ul { margin-bottom: 1.5rem; }
.footer-contact li { display: flex; align-items: center; gap: 0.8rem; color: var(--text-muted); margin-bottom: 0.8rem; }
.footer-contact i { color:var(--accent);}
.footer-bottom { 
    text-align: center; padding: 2rem; border-top: 1px solid rgba(255,255,255,0.05); 
    color: var(--text-muted); font-size: 0.82rem; font-family: var(--font-mono);
    letter-spacing: 0.05em;
}

/* Grid Systems */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }

/* Responsive */
@media (max-width: 992px) {
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .hero { text-align: center; }
    .hero-content { padding-right: 0; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-title { font-size: 3rem; }
    .hero-visual { height: auto; min-height: 400px; margin-top: 3rem; position: relative; }
    .rounded-img { width: 100%; max-width: 320px; height: 400px; position: relative; top: 0; transform: none; margin: 0 auto; display: block; }
    .hero-card-1 { top: -10px; left: 5%; transform: scale(0.9); }
    .hero-card-2 { top: 40%; right: 5%; transform: scale(0.9); }
    .hero-card-3 { bottom: 0px; left: 15%; transform: scale(0.9); }
    .grid-2, .contact-wrapper, .footer-grid, .service-row { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .service-row:nth-child(even) { direction: ltr; }
    .contact-detail { flex-direction: column; align-items:center; text-align:center;}
    .produit-hero-content { padding: 3rem 2rem; text-align: center; }
    .produit-hero-content .btn { margin: 0 auto; display: inline-flex; }
}

@media (max-width: 768px) {
    html, body { overflow-x: hidden; width: 100%; }
    section { padding: 4rem 5%; }
    .page-header { padding: 8rem 5% 4rem; }
    .footer { padding-top: 4rem; margin-top: 4rem; }
    .grid-3 { grid-template-columns: 1fr; }
    h2.section-title { font-size: 2rem; margin-bottom: 2rem; }
    .subtitle { font-size: 1rem; }
    .hero { padding: 7rem 5% 4rem; }
    .hero-title { font-size: 2.1rem; margin-bottom: 1.5rem; word-break: break-word; }
    .hero-subtitle { font-size: 1rem; margin-bottom: 2rem; }
    .hero-actions { justify-content: center; }
    .hero-visual { margin-top: 2rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
    .visual-container { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
    .rounded-img { margin-bottom: 1rem; width: 100%; max-width: 280px; height: 350px; }
    .hero-card-1, .hero-card-2, .hero-card-3 { position: relative; top: auto; left: auto; right: auto; bottom: auto; transform: none; width: 100%; max-width: 280px; margin: 0 auto; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
    .produit-hero-img { min-height: 250px; }
    
    .nav-links {
        position: fixed; top: 72px; left: 0; width: 100%; height:calc(100vh - 72px); background: rgba(4, 8, 20, 0.98); backdrop-filter: blur(10px); flex-direction: column; padding: 2rem 5%; clip-path: circle(0% at 100% 0); transition: all 0.4s ease-out; gap: 1.5rem; overflow-y: auto; align-items: flex-start;
    }
    .nav-links.active { clip-path: circle(150% at 100% 0); }
    .nav-links a.dropdown-toggle, .nav-links > a:not(.btn) { font-size: 1.2rem; }
    .dropdown { width: 100%; text-align: left; }
    .dropdown-menu { 
        display: block !important; 
        position: static;
        opacity: 1;
        visibility: visible;
        width: 100%;
        margin-top: 0;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        padding-left: 1rem;
    }
    .dropdown-item { padding: 0.5rem; gap: 1rem; }
    .dropdown-item h4 { font-size: 1.05rem; }
    .dropdown-item p { font-size: 0.8rem; }
    .mobile-toggle { display: block; font-size: 1.8rem; }
    .page-header h1 { font-size: 2rem;}
    .visual-banner { padding: 1.5rem;}
    .cta-content h2 { font-size: 2rem; }
    .testimonial-card, .service-detail-card, .service-card { padding: 1.5rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .navbar-logo-img { height: 32px; }
    .btn { padding: 0.7rem 1.4rem; font-size: 0.9rem; }
    .hero-card p { font-size: 0.85rem; }
}
