:root {
    /* Nouvelle palette plus contrastée */
    --ldlc-blue: #004494;
    --ldlc-cyan: #00a0e9;
    --bg-solid: #151922;
    --panel: #1e2430;
    --panel-border: #323a4d;
    --text: #ffffff;
    --text-muted: #b0b8c8;
    --input-bg: #252b3b;
    --input-border: #404a60;
    --primary: #0066cc;
    --primary-hover: #0052a3;
    --danger: #ff5a6a;
    --ok: #35d07f;

    --radius: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    background-color: var(--bg-solid);
    color: var(--text);
    padding-bottom: 0;
}

/* ========== NAVIGATION MENU ========== */
.main-nav {
    background: rgba(30, 36, 48, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--panel-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--ldlc-blue), var(--ldlc-cyan));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.logo-city {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
}

.nav-menu {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: block;
    padding: 10px 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--ldlc-cyan);
    background: rgba(0, 160, 233, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--ldlc-cyan);
}

/* ========== HERO SECTION ========== */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 20px;
    color: var(--text);
}

.highlight {
    background: linear-gradient(135deg, var(--ldlc-blue), var(--ldlc-cyan));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--ldlc-blue), var(--ldlc-cyan));
    color: white;
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 100, 200, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 160, 233, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    border: 2px solid var(--panel-border);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--ldlc-cyan);
    background: rgba(0, 160, 233, 0.1);
    color: var(--ldlc-cyan);
}

.hero-image {
    position: relative;
}

.placeholder-image {
    background: linear-gradient(135deg, rgba(0, 68, 148, 0.2), rgba(0, 160, 233, 0.2));
    border: 2px solid var(--panel-border);
    border-radius: 20px;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.placeholder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-icon {
    color: var(--ldlc-cyan);
    opacity: 0.5;
    display: none;
}

/* ========== SECTIONS ========== */
.services-preview,
.why-us {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-preview {
    background: linear-gradient(180deg, transparent, rgba(0, 68, 148, 0.05));
}

.section-heading {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 60px;
    background: linear-gradient(135deg, var(--text), var(--ldlc-cyan));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius);
    padding: 35px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--ldlc-blue), var(--ldlc-cyan));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 160, 233, 0.2);
    border-color: var(--ldlc-cyan);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    color: var(--ldlc-cyan);
    margin-bottom: 20px;
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px;
    color: var(--text);
}

.service-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    color: var(--ldlc-cyan);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

.service-link:hover {
    transform: translateX(5px);
}

/* ========== FEATURES GRID ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius);
    padding: 30px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    border-color: var(--ldlc-blue);
}

.feature-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--ldlc-blue), var(--ldlc-cyan));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    opacity: 0.3;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--text);
}

.feature-item p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, var(--ldlc-blue), var(--ldlc-cyan));
    padding: 80px 20px;
    text-align: center;
    margin: 80px 0 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 40px;
    font-weight: 800;
    color: white;
    margin: 0 0 20px;
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

.btn-cta {
    background: white;
    color: var(--ldlc-blue);
    padding: 18px 40px;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* ========== FOOTER ========== */
.main-footer {
    background: var(--panel);
    border-top: 1px solid var(--panel-border);
    padding: 50px 20px 30px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    color: var(--ldlc-cyan);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.footer-section p {
    color: var(--text-muted);
    margin: 8px 0;
    line-height: 1.6;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid var(--panel-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        text-align: center;
    }

    .section-heading {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .services-preview,
    .why-us {
        padding: 50px 20px;
    }

    .nav-menu {
        gap: 5px;
    }

    .nav-link {
        padding: 8px 12px;
        font-size: 13px;
    }

    .logo-text {
        font-size: 24px;
    }

    .logo-city {
        font-size: 14px;
    }
}

.container {
    width: min(900px, 100% - 40px);
    margin: 40px auto;
}

/* Header */
.topbar {
    text-align: center;
    margin-bottom: 30px;
}

.brand__title {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(90deg, #fff, #a0d0ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.brand__subtitle {
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 400;
}

/* Sticky Progress */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(21, 25, 34, 0.95);
    backdrop-filter: blur(8px);
    padding: 10px 0 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--panel-border);
}

.progress-container {
    max-width: 900px;
    margin: 0 auto;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.progress-track {
    height: 6px;
    background: var(--input-bg);
    border-radius: 99px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ldlc-blue), var(--ldlc-cyan));
    width: 0%;
    transition: width 0.3s ease;
}

.intro-text {
    margin-bottom: 30px;
    color: var(--text-muted);
    line-height: 1.6;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Card / Sections */
.card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.section-title {
    font-size: 22px;
    margin: 0 0 25px;
    color: var(--ldlc-cyan);
    font-weight: 700;
    border-bottom: 1px solid var(--panel-border);
    padding-bottom: 15px;
}

.hint-text {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.full-width {
    grid-column: span 2;
}

@media (max-width: 700px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: span 1;
    }
}

/* Fields */
.field {
    margin-bottom: 15px;
}

.field label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #e0e6ed;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    background: var(--input-bg);
    border: 2px solid var(--input-border);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 15px;
    color: var(--text);
    transition: all 0.2s;
    font-family: inherit;
}

.field textarea {
    resize: vertical;
    min-height: 80px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: var(--ldlc-cyan);
    outline: none;
    background: #2a3245;
}

/* Checkbox specific */
.checkbox-field {
    margin-top: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--input-border);
    transition: background 0.2s;
}

.checkbox-label:hover {
    background: rgba(255, 255, 255, 0.06);
}

.checkbox-label input {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
}

.checkbox-text {
    font-weight: 600;
}

/* Buttons */
.actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--panel-border);
}

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.1s, filter 0.2s;
}

.btn:active {
    transform: scale(0.98);
}

.btn-submit {
    background: linear-gradient(135deg, var(--ldlc-blue), var(--ldlc-cyan));
    color: white;
    flex: 2;
}

.btn-submit:hover {
    filter: brightness(1.15);
}

.btn-reset {
    background: transparent;
    color: var(--danger);
    border: 2px solid var(--panel-border);
    flex: 1;
}

.btn-reset:hover {
    border-color: var(--danger);
    background: rgba(255, 90, 106, 0.1);
}

/* Errors */
.error-msg {
    color: var(--danger);
    background: rgba(255, 90, 106, 0.1);
    border: 1px solid var(--danger);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    display: none;
    text-align: center;
    font-weight: 600;
}

/* Recap */
.recap-section {
    border-color: var(--ok);
}

.recap-box {
    background: #0d1117;
    padding: 20px;
    border-radius: 8px;
    font-family: monospace;
    white-space: pre-wrap;
    color: #35d07f;
    border: 1px solid #333;
    max-height: 600px;
    overflow-y: auto;
    font-size: 14px;
}

.recap-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.recap-actions .btn {
    font-size: 14px;
    padding: 8px 16px;
    background: var(--input-bg);
    color: var(--text);
    border: 1px solid var(--panel-border);
}

.recap-actions .btn:hover {
    background: var(--panel-border);
}