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

:root {
    --primary: #1B4C8C;
    --primary-dark: #174873;
    --accent: #368DD9;
    --bg-dark: #092B40;
    --success: #072614;
    --text-light: #E8F1F8;
    --text-gray: #A8BFCF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Ubuntu', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(9, 43, 64, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--text-light);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.burger span {
    padding-right: 10px;
    width: 25px;
    height: 3px;
    background: var(--accent);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    background:
        linear-gradient(135deg, rgba(9, 43, 64, 0.30) 0%, rgba(23, 72, 115, 0.55) 100%),
        url('network2.webp') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(54, 141, 217, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

/* Accueil Section */
.accueil {
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.accueil::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.2;
}

.hero h1 span {
    color: var(--accent);
    display: inline-block;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(54, 141, 217, 0.5);
    }

    50% {
        text-shadow: 0 0 30px rgba(54, 141, 217, 0.8);
    }
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(54, 141, 217, 0.3);
}

.cta-button:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(54, 141, 217, 0.5);
}

/* Section Styles */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--accent);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Expertises */
.expertises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.expertise-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 2.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(54, 141, 217, 0.2), transparent);
    transition: left 0.5s ease;
}

.expertise-card:hover::before {
    left: 100%;
}

.expertise-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(54, 141, 217, 0.3);
}

.expertise-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.expertise-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.expertise-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Process Section */
.processus {
    background:
        linear-gradient(135deg, rgba(9, 43, 64, 0.30) 0%, rgba(23, 72, 115, 0.55) 100%),
        url('network2.webp') center/cover no-repeat;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-number {
    width: 70px;
    height: 70px;
    background: var(--accent);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(54, 141, 217, 0.4);
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.process-step p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Demo Section */
.usecase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.usecase-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 2.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.usecase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(54, 141, 217, 0.2), transparent);
    transition: left 0.5s ease;
}

.usecase-card:hover::before {
    left: 100%;
}

.usecase-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(54, 141, 217, 0.3);
}

.usecase-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.usecase-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.usecase-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.usecase-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--bg-dark);
    color: var(--accent);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--accent);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 3rem auto;
    background: var(--primary-dark);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-dark);
    border: 2px solid transparent;
    border-radius: 8px;
    color: var(--text-light);
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(54, 141, 217, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-error {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--accent);
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Ubuntu', sans-serif;
}

.submit-button:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(54, 141, 217, 0.4);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Contact Infos */
.contact-info a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-info a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: var(--primary-dark);
    padding: 3rem 2rem;
    text-align: center;
}

footer.mentions-legales {
    background: var(--bg-dark);
    padding: 3rem 2rem;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

.copyright {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(9, 43, 64, 0.98);
        width: 100%;
        padding: 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .burger {
        display: flex;
        padding-right: 30px;
    }

    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .expertises-grid,
    .usecase-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }
}