/* Variables & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #0f1016;
    color: #f1f1f1;
    overflow-x: hidden;
    position: relative;
}

/* Effet de lumière (Lighting Effect) */
.lighting-effect {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(79, 70, 229, 0.05) 50%, transparent 80%);
    top: 0;
    left: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
    z-index: 9999;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(15, 16, 22, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.logo span {
    color: #00f2fe;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #b3b3b3;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    color: #00f2fe;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    background: radial-gradient(circle at top left, rgba(0, 242, 254, 0.16) 0%, transparent 28%), radial-gradient(circle at bottom right, rgba(79, 70, 229, 0.20) 0%, transparent 32%), #0f1016;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    width: 100%;
}

.hero-text {
    text-align: left;
}

.hero-tag {
    display: inline-block;
    margin-bottom: 12px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 242, 254, 0.12);
    color: #00f2fe;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 3.4rem;
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero-content h1 span {
    color: #00f2fe;
}

.hero-content p {
    font-size: 1.05rem;
    color: #a0aec0;
    margin-bottom: 30px;
    max-width: 700px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.image-frame {
    width: min(360px, 80vw);
    aspect-ratio: 1;
    border-radius: 32% 68% 55% 45% / 42% 35% 65% 58%;
    overflow: hidden;
    border: 2px solid rgba(0, 242, 254, 0.35);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(79, 70, 229, 0.2));
    padding: 10px;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.hero-badge {
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    font-size: 0.95rem;
}

/* Boutons */
.btn {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
}

.btn.primary {
    background: linear-gradient(135deg, #00f2fe 0%, #4f46e5 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
}

.btn.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn.secondary:hover {
    border-color: #00f2fe;
    color: #00f2fe;
}

/* Sections Globales */
.section {
    padding: 100px 10%;
}

.title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.title span {
    color: #00f2fe;
}

/* À propos */
.about-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
}

.about-text h3 {
    margin-bottom: 20px;
    color: #00f2fe;
}

.about-text p {
    line-height: 1.8;
    color: #b3b3b3;
    margin-bottom: 15px;
}

/* Services Grille */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 15px;
    transition: 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #00f2fe;
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: #00f2fe;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: #a0aec0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Timeline (Historique & Projets) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 50px;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    top: 0;
    bottom: 0;
    left: 20px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 50px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #00f2fe;
    border-radius: 50%;
    left: 15px;
    top: 5px;
    box-shadow: 0 0 10px #00f2fe;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
}

.timeline-content span {
    color: #00f2fe;
    font-size: 0.85rem;
    font-weight: 600;
}

.timeline-content h3 {
    margin: 5px 0 10px 0;
}

.timeline-content p {
    color: #a0aec0;
}

/* Galerie Projets */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #00f2fe;
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.project-info {
    padding: 16px 18px 20px;
}

.project-info h3 {
    color: #fff;
    margin-bottom: 8px;
}

.project-info p {
    color: #a0aec0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input, .contact-form textarea {
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    outline: none;
    transition: 0.3s;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: #00f2fe;
}

.whatsapp-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.whatsapp-box p {
    color: #b3b3b3;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background: #0b0c10;
    color: #718096;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #0f1016;
        padding: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        text-align: center;
    }

    nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}