
    /* ===================== VARIABLES ===================== */
:root {
    --bg:      #08090c;
    --bg2:     #0d0f14;
    --surface: #13161e;
    --surface2:#1a1e28;
    --border:  #232838;
    --accent:  #3b82f6;
    --accent2: #2563eb;
    --accent3: #93c5fd;
    --text:    #e2e8f0;
    --muted:   #64748b;
    --syne:    'Space Mono', monospace;
    --inter:   'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--inter);
    overflow-x: hidden;
}

/* Noise overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9998;
    opacity: 0.35;
}

/* ===================== HERO SLIDER ===================== */
.l-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding: 5rem 0;
    margin-top: 70px;
    overflow: hidden;
    background: var(--bg);
}

/* Grid background like CrawlService */
.l-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
            linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
}

/* Blue glow blob */
.l-hero::after {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,0.10) 0%, transparent 70%);
    top: -200px;
    left: -100px;
    z-index: 1;
    pointer-events: none;
}

.l-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.l-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.3);
    color: var(--accent3);
    font-family: var(--inter);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.5s ease both;
}

.l-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,100% { opacity:1; transform:scale(1); }
    50% { opacity:0.3; transform:scale(0.6); }
}

.l-hero h1 {
    font-family: var(--syne);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 800;
    line-height: 1;
    color: var(--text);
    margin-bottom: 1.5rem;
    animation: fadeUp 0.5s 0.1s ease both;
}

.l-hero h1 em {
    font-style: normal;
    color: var(--accent);
}

.l-hero-sub {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    animation: fadeUp 0.5s 0.2s ease both;
}

.l-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    animation: fadeUp 0.5s 0.3s ease both;
}

.l-pill {
    font-size: 0.78rem;
    font-weight: 500;
    padding: 6px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 6px;
}

@keyframes fadeUp {
    from { opacity:0; transform:translateY(18px); }
    to   { opacity:1; transform:translateY(0); }
}

/* ===================== LAYOUT ===================== */
.l-section {
    padding: 5rem 2rem;
}

.l-container {
    max-width: 1280px;
    margin: 0 auto;
}

.l-section.alt { background: var(--bg2); }

.l-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ===================== SECTION HEADER ===================== */
.l-section-tag {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.6rem;
}

.l-section-title {
    font-family: var(--syne);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.l-section-desc {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 620px;
    margin-bottom: 3rem;
}

/* ===================== PRÉSENTATION ===================== */
.l-pres-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.l-pres-text p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.l-pres-text strong { color: var(--text); }

.l-missions {
    list-style: none;
    margin-top: 1.5rem;
}

.l-missions li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--muted);
}

.l-missions li:last-child { border-bottom: none; }

.l-mission-icon {
    width: 30px;
    height: 30px;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
    font-size: 14px;
}

.l-info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem;
}

.l-info-row {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}

.l-info-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.l-info-label {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.l-info-value {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 500;
}

.l-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.l-chip {
    font-size: 0.68rem;
    padding: 3px 9px;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.2);
    color: var(--accent3);
    border-radius: 4px;
}

.l-skills-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.5rem;
}

.l-skill-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.85rem;
    color: var(--text);
    transition: border-color 0.2s;
}

.l-skill-card:hover { border-color: rgba(59,130,246,0.35); }

/* ===================== CARDS GENERIQUES ===================== */
.l-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.l-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: border-color 0.25s, transform 0.25s;
}

.l-card:hover {
    border-color: rgba(59,130,246,0.3);
    transform: translateY(-3px);
}

.l-card h3 {
    font-family: var(--syne);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent3);
    margin-bottom: 0.75rem;
}

.l-card p, .l-card li {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.l-card ul { list-style: none; }

.l-card ul li {
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    display: flex;
    gap: 8px;
}

.l-card ul li::before {
    content: '›';
    color: var(--accent);
    flex-shrink: 0;
}

.l-card ul li:last-child { border-bottom: none; }

/* ===================== DEUX COLONNES TEXTE ===================== */
.l-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.l-text-block p {
    color: var(--muted);
    font-size: 0.97rem;
    line-height: 1.85;
    margin-bottom: 1.2rem;
}

.l-text-block strong { color: var(--text); }

.l-text-block a {
    color: var(--accent3);
    text-decoration: none;
    border-bottom: 1px solid rgba(147,197,253,0.3);
    transition: border-color 0.2s;
}

.l-text-block a:hover { border-color: var(--accent3); }

.l-text-block ul {
    list-style: none;
    margin: 1rem 0;
}

.l-text-block ul li {
    color: var(--muted);
    font-size: 0.95rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 10px;
    line-height: 1.6;
}

.l-text-block ul li:last-child { border-bottom: none; }

.l-text-block ul li::before {
    content: '→';
    color: var(--accent);
    flex-shrink: 0;
    font-size: 0.85rem;
    margin-top: 2px;
}

/* ===================== CODE / IMAGE BLOCK ===================== */
.l-img-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.l-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.l-img-caption {
    padding: 10px 16px;
    font-size: 0.75rem;
    color: var(--muted);
    border-top: 1px solid var(--border);
    font-family: 'Inter', monospace;
}

/* Gantt image pleine largeur */
.l-img-full {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 2rem;
}

.l-img-full img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===================== CONTEXT STEPS (commencement) ===================== */
.l-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1.5rem;
}

.l-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: start;
}

.l-step-num {
    font-family: var(--syne);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(59,130,246,0.45);
    line-height: 1;
    width: 60px;
    text-align: center;
}

.l-step .l-img-wrap {
    max-width: 900px;
}

/* Override styles.css qui force les h en noir */
.l-section h1, .l-section h2, .l-section h3,
.l-section h4, .l-section h5, .l-section h6,
.l-hero h1 {
    color: var(--text) !important;
}

.l-section-title { color: var(--text) !important; }
.l-card h3 { color: var(--accent3) !important; }
.l-step h3 { color: var(--accent3) !important; }
font-family: var(--syne);
font-size: 1rem;
font-weight: 700;
color: var(--accent3);
margin-bottom: 0.5rem;
}

.l-step p {
    color: var(--muted);
    font-size: 0.92rem !important;
    line-height: 1.75;
}

/* Override global p font-size from styles.css */
.l-section p,
.l-section li,
.l-text-block p,
.l-text-block li,
.l-card p,
.l-card li,
.l-pres-text p,
.l-section-desc,
.l-info-label,
.l-info-value,
.l-contact-label,
.l-contact-value,
.l-img-caption {
    font-size: inherit !important;
    line-height: inherit !important;
}

.l-section { font-size: 1rem; line-height: 1.7; }

/* ===================== ACTIVITY LIST ===================== */
.l-activity-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.l-activity-list li {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 20px;
    color: var(--text);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: border-color 0.2s;
}

.l-activity-list li:hover { border-color: rgba(59,130,246,0.35); }

.l-activity-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===================== CONTACT ===================== */
.l-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.l-contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    transition: border-color 0.2s;
}

.l-contact-card:hover { border-color: rgba(59,130,246,0.3); }
.l-contact-card .material-symbols-outlined { color: var(--accent); font-size: 26px; }

.l-contact-label {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.l-contact-value {
    font-size: 0.9rem;
    color: var(--text);
    text-decoration: none;
}

a.l-contact-value:hover { color: var(--accent3); }

/* ===================== NAV BUTTONS ===================== */
.l-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 3rem 2rem;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.l-btn {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 11px 26px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
}

.l-btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
}

.l-btn-outline:hover { border-color: var(--accent); color: var(--accent3); }

.l-btn-fill {
    background: var(--accent);
    color: #fff;
    font-weight: 700;
}

.l-btn-fill:hover { background: var(--accent2); }

/* ===================== SCROLL REVEAL ===================== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(24px);
}

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

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
    .l-pres-grid, .l-two-col { grid-template-columns: 1fr; }
    .l-contact-grid { grid-template-columns: 1fr; }
    .l-step { grid-template-columns: 1fr; }
    .l-step-num { display: none; }
}

