:root {
            --bg: #050816;
            --bg-alt: #0b1020;
            --accent: #3b82f6;
            --accent-soft: rgba(59, 130, 246, 0.15);
            --text: #f9fafb;
            --muted: #9ca3af;
            --card: #111827;
            --border: #1f2937;
            --radius-lg: 16px;
            --radius-xl: 24px;
            --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.55);
        }

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

        body {
            font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            background: radial-gradient(circle at top, #111827 0, #020617 55%, #020617 100%);
            color: var(--text);
            line-height: 1.6;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        img {
            max-width: 100%;
            display: block;
        }

        .container {
            width: 100%;
            max-width: 1120px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        /* NAVBAR */
        .navbar {
            position: sticky;
            top: 0;
            z-index: 50;
            backdrop-filter: blur(18px);
            background: linear-gradient(to bottom, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.7));
            border-bottom: 1px solid rgba(15, 23, 42, 0.9);
        }

        .navbar-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.85rem 0;
            gap: 1rem;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 0.65rem;
        }

        .brand-logo {
            width: 34px;
            height: 34px;
            border-radius: 999px;
            background: radial-gradient(circle at 30% 0, #60a5fa, #3b82f6 40%, #1d4ed8 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.9rem;
            box-shadow: 0 12px 30px rgba(37, 99, 235, 0.55);
        }

        .brand-text {
            display: flex;
            flex-direction: column;
        }

        .brand-name {
            font-weight: 600;
            letter-spacing: 0.03em;
            font-size: 0.98rem;
        }

        .brand-tagline {
            font-size: 0.72rem;
            color: var(--muted);
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            font-size: 0.9rem;
        }

        /* CTA dans la nav */
        .nav-cta {
            margin-left: 0.5rem;
            padding: 0.35rem 0.9rem;
            border-radius: 999px;
            border: 1px solid rgba(34, 197, 94, 0.7);
            background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.3), rgba(15, 23, 42, 0.95));
            font-size: 0.8rem;
            font-weight: 500;
            white-space: nowrap;
        }

        .nav-cta:hover {
            border-color: rgba(34, 197, 94, 1);
        }

        .nav-link {
            color: var(--muted);
            position: relative;
            padding-bottom: 0.15rem;
        }

        .nav-link:hover {
            color: var(--text);
        }

        .nav-link::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            height: 2px;
            width: 0;
            background: linear-gradient(to right, #60a5fa, #a855f7);
            border-radius: 999px;
            transition: width 0.2s ease;
        }

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

        /* DROPDOWN APPS */
        .dropdown {
            position: relative;
        }

        .dropdown-toggle {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            padding: 0.3rem 0.7rem;
            border-radius: 999px;
            border: 1px solid rgba(55, 65, 81, 0.9);
            background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.2), rgba(15, 23, 42, 0.75));
            font-size: 0.86rem;
            color: var(--text);
            cursor: pointer;
        }

        .dropdown-toggle span {
            font-weight: 500;
        }

        .dropdown-toggle svg {
            width: 14px;
            height: 14px;
        }

        .dropdown-menu {
            position: absolute;
            right: 0;
            margin-top: 0.6rem;
            min-width: 260px;
            background: radial-gradient(circle at top, #020617, #020617 45%, #020617 100%);
            border-radius: 18px;
            box-shadow: var(--shadow-soft);
            border: 1px solid rgba(31, 41, 55, 0.9);
            padding: 0.7rem;
            display: none;
        }

        .dropdown.open .dropdown-menu {
            display: block;
        }

        .dropdown-header {
            padding: 0.45rem 0.6rem 0.4rem;
            font-size: 0.78rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--muted);
        }

        .app-item {
            display: flex;
            align-items: flex-start;
            gap: 0.55rem;
            padding: 0.55rem 0.6rem;
            border-radius: 12px;
            cursor: pointer;
        }

        .app-item:hover {
            background: rgba(15, 23, 42, 0.9);
        }

        .app-icon {
            width: 28px;
            height: 28px;
            border-radius: 999px;
            background: radial-gradient(circle at top left, #3b82f6, #a855f7);
            font-size: 0.7rem;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .app-text {
            display: flex;
            flex-direction: column;
            gap: 0.1rem;
        }

        .app-name {
            font-size: 0.82rem;
        }

        .app-desc {
            font-size: 0.75rem;
            color: var(--muted);
        }

        /* BURGER (mobile) */
        .burger {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
        }

        .burger span {
            display: block;
            width: 21px;
            height: 2px;
            border-radius: 999px;
            background: var(--muted);
            margin: 3px 0;
            transition: transform 0.2s ease, opacity 0.2s ease;
        }

        .burger.open span:nth-child(1) {
            transform: translateY(5px) rotate(45deg);
        }

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

        .burger.open span:nth-child(3) {
            transform: translateY(-5px) rotate(-45deg);
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        /* .cta-btn {
            border-radius: 999px;
            padding: 0.35rem 0.9rem;
            border: 1px solid rgba(59, 130, 246, 0.7);
            background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.35), rgba(15, 23, 42, 0.9));
            font-size: 0.8rem;
            font-weight: 500;
            cursor: pointer;
            color: var(--text);
        }

        .cta-btn:hover {
            border-color: rgba(59, 130, 246, 1);
        } */

        /* MOBILE NAV */
        .nav-mobile {
            display: none;
            padding-bottom: 0.6rem;
        }

        .nav-mobile-links {
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
            padding-top: 0.4rem;
            border-top: 1px solid rgba(15, 23, 42, 0.9);
        }

        .nav-mobile-links a {
            font-size: 0.9rem;
            color: var(--muted);
            padding: 0.2rem 0;
        }

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

        /* HERO */
        .hero {
            padding: 4rem 0 3rem;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
            gap: 3.5rem;
            align-items: center;
        }

        .hero-kicker {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.14em;
            color: var(--muted);
            margin-bottom: 0.6rem;
        }

        .hero-title {
            font-size: clamp(2.1rem, 3.2vw, 2.8rem);
            line-height: 1.1;
            letter-spacing: 0.02em;
            margin-bottom: 0.8rem;
        }

        .hero-title span {
            background: linear-gradient(to right, #60a5fa, #a855f7);
            -webkit-background-clip: text;
            color: transparent;
        }

        .hero-subtitle {
            font-size: 0.98rem;
            color: var(--muted);
            max-width: 34rem;
            margin-bottom: 1.5rem;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-bottom: 1.8rem;
        }

        .btn-primary, .btn-ghost {
            font-size: 0.88rem;
            padding: 0.55rem 1.1rem;
            border-radius: 999px;
            border: 1px solid transparent;
            cursor: pointer;
        }

        .btn-primary {
            background: linear-gradient(to right, #3b82f6, #a855f7);
            border-color: rgba(148, 163, 184, 0.1);
            box-shadow: 0 16px 35px rgba(37, 99, 235, 0.45);
        }

        .btn-ghost {
            background: transparent;
            border-color: rgba(55, 65, 81, 1);
            color: var(--muted);
        }

        .btn-ghost:hover {
            border-color: rgba(75, 85, 99, 1);
            color: var(--text);
        }

        .hero-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 1.4rem;
            font-size: 0.8rem;
            color: var(--muted);
        }

        .hero-meta-block {
            display: flex;
            flex-direction: column;
            gap: 0.1rem;
        }

        .hero-meta-label {
            text-transform: uppercase;
            letter-spacing: 0.12em;
            font-size: 0.7rem;
        }

        .hero-meta-value {
            color: var(--text);
        }

        .hero-card {
            border-radius: var(--radius-xl);
            background: radial-gradient(circle at top left, var(--accent-soft), #020617 55%);
            border: 1px solid rgba(31, 41, 55, 1);
            padding: 1.1rem 1.1rem 1.1rem;
            box-shadow: var(--shadow-soft);
            position: relative;
        }

        .hero-card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.9rem;
        }

        .hero-card-title {
            font-size: 0.85rem;
            color: var(--muted);
        }

        .hero-card-pill {
            font-size: 0.7rem;
            padding: 0.15rem 0.6rem;
            border-radius: 999px;
            background: rgba(34, 197, 94, 0.15);
            border: 1px solid rgba(34, 197, 94, 0.45);
            color: #bbf7d0;
        }

        .hero-card-body {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0.85rem;
        }

        .mini-card {
            background: rgba(15, 23, 42, 0.92);
            border-radius: 14px;
            padding: 0.7rem 0.75rem;
            border: 1px solid rgba(31, 41, 55, 1);
            font-size: 0.78rem;
        }

        .mini-label {
            font-size: 0.7rem;
            color: var(--muted);
            margin-bottom: 0.15rem;
        }

        .mini-value {
            font-size: 0.86rem;
        }

        .hero-card-footer {
            margin-top: 0.85rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.72rem;
            color: var(--muted);
        }

        /* SECTIONS */
        section {
            padding: 3.3rem 0;
        }

        .section-header {
            margin-bottom: 1.8rem;
        }

        .section-kicker {
            font-size: 0.78rem;
            text-transform: uppercase;
            letter-spacing: 0.13em;
            color: var(--muted);
            margin-bottom: 0.35rem;
        }

        .section-title {
            font-size: 1.45rem;
            margin-bottom: 0.4rem;
        }

        .section-subtitle {
            font-size: 0.9rem;
            color: var(--muted);
        }

        .grid-3 {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 1.4rem;
        }

        .card {
            background: var(--card);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            padding: 1.1rem;
            box-shadow: 0 12px 30px rgba(15, 23, 42, 0.55);
            font-size: 0.9rem;
        }

        .card-icon {
            width: 32px;
            height: 32px;
            border-radius: 999px;
            background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.5), rgba(168, 85, 247, 0.7));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            margin-bottom: 0.7rem;
        }

        .card-title {
            font-size: 0.98rem;
            margin-bottom: 0.35rem;
        }

        .card-text {
            color: var(--muted);
            font-size: 0.86rem;
        }

        /* CONTACT */
        .contact-wrapper {
            display: grid;
            grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
            gap: 1.8rem;
        }

        .contact-meta {
            font-size: 0.86rem;
            color: var(--muted);
            margin-bottom: 1.1rem;
        }

        .contact-highlight {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            font-size: 0.78rem;
            padding: 0.35rem 0.65rem;
            border-radius: 999px;
            border: 1px solid rgba(55, 65, 81, 1);
            background: rgba(15, 23, 42, 0.9);
            margin-bottom: 0.9rem;
        }

        .contact-list {
            list-style: none;
            margin-top: 0.65rem;
            font-size: 0.86rem;
        }

        .contact-list li {
            margin-bottom: 0.25rem;
        }

        .contact-form {
            background: var(--card);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            padding: 1rem 1.1rem 1.2rem;
            box-shadow: var(--shadow-soft);
            font-size: 0.86rem;
        }

        .form-row {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0.8rem;
            margin-bottom: 0.8rem;
        }

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

        label {
            display: block;
            margin-bottom: 0.2rem;
            font-size: 0.82rem;
        }

        input, textarea {
            width: 100%;
            font: inherit;
            border-radius: 10px;
            border: 1px solid rgba(55, 65, 81, 1);
            padding: 0.45rem 0.55rem;
            background: #020617;
            color: var(--text);
        }

        input:focus, textarea:focus {
            outline: none;
            border-color: var(--accent);
        }

        textarea {
            min-height: 110px;
            resize: vertical;
        }

        .form-footer {
            display: flex;
            justify-content: flex-end;
            margin-top: 0.3rem;
        }

        /* FOOTER */
        .footer {
            padding: 1.8rem 0 2.2rem;
            border-top: 1px solid rgba(15, 23, 42, 0.9);
            font-size: 0.78rem;
            color: var(--muted);
        }

        .footer-inner {
            display: flex;
            justify-content: space-between;
            gap: 1rem;
            flex-wrap: wrap;
        }

        @media (max-width: 960px) {
            .hero-grid {
                grid-template-columns: minmax(0, 1fr);
                gap: 2.4rem;
            }

            .contact-wrapper {
                grid-template-columns: minmax(0, 1fr);
            }

            .grid-3 {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 768px) {
            .burger {
                display: block;
            }

            /* Menu fermé par défaut en mobile */
            .nav-links {
                position: absolute;
                top: 100%;
                right: 1.5rem;
                left: 1.5rem;
                margin-top: 0.5rem;
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
                padding: 0.8rem 1rem;
                border-radius: 16px;
                background: rgba(15, 23, 42, 0.98);
                border: 1px solid rgba(31, 41, 55, 1);
                box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
                display: none;
                z-index: 40;
            }

            /* Quand le burger est ouvert */
            .navbar.nav-open .nav-links {
                display: flex;
            }

            .nav-links .dropdown {
                width: 100%;
            }

            .nav-links .dropdown-menu {
                position: static;
                margin-top: 0.4rem;
                min-width: 0;
                width: 100%;
                box-shadow: none;
            }

            .nav-links .app-item {
                padding-left: 0;
                padding-right: 0;
            }

            /* CTA prend toute la largeur en mobile */
            .nav-cta {
                width: 100%;
                text-align: center;
            }

            .hero {
                padding-top: 3rem;
            }

            section {
                padding: 2.4rem 0;
            }

            .grid-3 {
                grid-template-columns: minmax(0, 1fr);
            }

            .hero-card-body {
                grid-template-columns: minmax(0, 1fr);
            }
        }

.contact-success,
.contact-error {
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.contact-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #86efac;
}

.contact-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5;
}

.brand-logo-img {
    height: 38px;          /* taille idéale pour une navbar */
    width: auto;           /* garde les proportions */
    display: block;
    object-fit: contain;
}

/* Sur mobile : logo légèrement réduit */
@media (max-width: 768px) {
    .brand-logo-img {
        height: 32px;
    }
}
