:root {
    --primary: #0077B6;
    --secondary: #00B4D8;
    --accent: #90E0EF;
    --dark: #03045E;
    --light: #F8F9FA;
    --text: #2C3E50;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --font-main: 'Poppins', sans-serif;
    --font-logo: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

/* LOGO DESIGN */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-wrapper {
    position: relative;
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-zap {
    color: var(--white);
    width: 20px;
    height: 20px;
    z-index: 2;
}

.logo-waves {
    position: absolute;
    bottom: -5px;
    width: 100%;
    color: var(--secondary);
    opacity: 0.5;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-family: var(--font-logo);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.brand-suffix {
    font-family: var(--font-logo);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    list-style: none;
    padding: 10px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
    border-radius: 8px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
}

.dropdown-menu li a:hover {
    background: var(--accent);
}

.btn-primary, .btn-secondary {
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: var(--white) !important;
}

.btn-primary:hover {
    background: var(--dark);
    transform: scale(1.05);
}

.btn-secondary {
    background: var(--accent);
    color: var(--dark) !important;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark);
}

/* Hero Section */
.hero {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(3, 4, 94, 0.85), rgba(0, 180, 216, 0.7)), url('https://images.pexels.com/photos/1746876/pexels-photo-1746876.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=627&w=1200');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.hero h1 {
    font-family: var(--font-logo);
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Service Cards */
.section-title {
    text-align: center;
    margin: 80px 0 50px;
}

.section-title h2 {
    font-family: var(--font-logo);
    font-size: 2.8rem;
    color: var(--dark);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: 0.3s;
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
}

.service-card i {
    width: 50px;
    height: 50px;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Simulateur */
.simulateur-box {
    background: var(--white);
    padding: 50px;
    border-radius: 30px;
    max-width: 900px;
    margin: 0 auto 100px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--dark);
}

.form-group input, .form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #E9ECEF;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--primary);
    outline: none;
}

.result-box {
    background: var(--dark);
    color: var(--white);
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
}

.result-box span {
    color: var(--secondary);
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 40px;
}

.logo-footer .brand-name { color: white; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 30px;
    font-size: 1.2rem;
    font-family: var(--font-logo);
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col a { color: #ADB5BD; text-decoration: none; transition: 0.3s; }
.footer-col a:hover { color: var(--white); padding-left: 5px; }

.footer-bottom-text {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    color: #6C757D;
    font-size: 0.9rem;
}

/* Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 30px;
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}