:root {
    --bg: #14181A;
    --surface: #1B2022;
    --text: #E6E9E7;
    --text-muted: #92A19A;
    --accent: #4FA98D;
    --accent-soft: #223330;
    --amber: #C99A5B;
    --border: #2A3134;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.55;
}

h1, h2, h3, .brand {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 .5em;
}

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

.wrap {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- header --- */
.site-header {
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.brand { font-size: 1.15rem; }
.brand-dot { color: var(--accent); }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--text-muted); font-size: .95rem; padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { color: var(--text); border-bottom-color: var(--accent); }
.nav a.nav-cta {
    background: var(--accent);
    color: #0E1412;
    padding: 8px 16px;
    border-bottom: none;
}
.nav a.nav-cta:hover { background: #5fc2a3; }

/* --- generic sections --- */
section { padding: 56px 0; }
.section-head { max-width: 60ch; margin-bottom: 32px; border-left: 3px solid var(--accent); padding-left: 16px; }
.section-head h2 { font-size: 1.5rem; }
.section-head p { color: var(--text-muted); margin: 0; }

/* --- hero (accueil) --- */
.hero { padding: 72px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: start; }
.hero h1 { font-size: 2.4rem; max-width: 14ch; }
.hero p.lead { font-size: 1.08rem; color: var(--text-muted); max-width: 55ch; }
.hero-actions { display: flex; gap: 12px; margin-top: 22px; }
.btn {
    display: inline-block;
    padding: 11px 20px;
    border-radius: 3px;
    font-weight: 500;
    font-size: .95rem;
}
.btn-primary { background: var(--accent); color: #0E1412; }
.btn-primary:hover { background: #5fc2a3; }
.btn-outline { border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.identity-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 22px;
}
.identity-card dt { font-size: .78rem; text-transform: none; color: var(--text-muted); margin-top: 14px; }
.identity-card dt:first-child { margin-top: 0; }
.identity-card dd { margin: 2px 0 0; font-weight: 500; }

.skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.skill-pill {
    background: var(--accent-soft);
    color: var(--accent);
    font-size: .85rem;
    padding: 5px 12px;
    border-radius: 3px;
}

/* --- timeline (stages) --- */
.timeline { position: relative; padding-left: 28px; border-left: 2px solid var(--border); }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 4px;
    width: 10px; height: 10px;
    background: var(--accent);
    border-radius: 50%;
}
.timeline-item .periode { color: var(--amber); font-size: .85rem; font-weight: 500; }
.timeline-item h3 { margin: 4px 0 2px; font-size: 1.15rem; }
.timeline-item .entreprise { color: var(--text-muted); margin-bottom: 8px; }

/* --- cards (projets) --- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 20px;
}
.card h3 { font-size: 1.1rem; }
.card .tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.card .tag { font-size: .78rem; color: var(--text-muted); border: 1px solid var(--border); padding: 3px 9px; }

/* --- veille list --- */
.veille-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.veille-item:first-child { padding-top: 0; }
.veille-item h3 { font-size: 1.1rem; margin-bottom: 4px; }
.veille-item .date { color: var(--amber); font-size: .85rem; }

/* --- contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-block dt { color: var(--text-muted); font-size: .85rem; margin-top: 16px; }
.contact-block dt:first-child { margin-top: 0; }
.contact-block dd { margin: 2px 0 0; font-size: 1.05rem; }
.social-links { display: flex; gap: 12px; margin-top: 18px; }
.social-links a { border: 1px solid var(--border); padding: 9px 16px; }
.social-links a:hover { border-color: var(--accent); color: var(--accent); }

.site-footer { border-top: 1px solid var(--border); padding: 24px 0; color: var(--text-muted); font-size: .85rem; }

@media (max-width: 720px) {
    .hero-grid, .contact-grid { grid-template-columns: 1fr; }
    .nav { gap: 14px; font-size: .9rem; }
    .hero h1 { font-size: 1.9rem; }
}
