/* =========================================================
   Rapport d'expérience professionnelle — feuille de style
   Thème clair, anguleux (sans arrondis), police Inter.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --bg: #ffffff;
    --surface: #ffffff;
    --text: #212529;
    --muted: #6c757d;
    --border: #e3e1dc;
    --heading: #16181d;
    --code-bg: #f1f0ec;
    --accent-soft: #e7f3ec;

    --green-jacket: #0e866e;
    --green-ash: #c4ffc2;
    --accent: var(--green-jacket);
    --accent-grad: linear-gradient(90deg, var(--green-jacket), var(--green-ash));

    --font-sans: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'Cascadia Code', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    --hex-clip: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1.06rem;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

/* ---------- Layout ---------- */
.report-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 5rem;
}

/* ---------- Top bar / back link ---------- */
.report-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    margin-bottom: 2.5rem;
}

.report-brand {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--muted);
}

.report-back {
    font-size: 0.85rem;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid #000;
    background: #fff;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.report-back:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* ---------- Header ---------- */
.report-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 2.5rem;
}

.report-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.report-logo {
    flex-shrink: 0;
}

.report-logo a,
.report-insign a {
    display: block;
    text-decoration: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.report-logo a:hover,
.report-insign a:hover {
    transform: translateY(-2px) scale(1.05);
}

.report-logo svg {
    height: 4rem;
    width: auto;
    display: block;
}

.report-insign {
    flex-shrink: 0;
}

.report-insign img {
    height: 6rem;
    width: auto;
    display: block;
}

.report-heading {
    text-align: center;
    margin-top: 1.5rem;
}

.report-kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--accent);
    margin: 0 0 0.6rem;
}

.report-title {
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--heading);
    margin: 0 0 0.8rem;
}

.report-subtitle {
    font-size: 1.1rem;
    color: var(--muted);
    margin: 0;
}

/* ---------- Frise chronologique (index) ---------- */
.timeline {
    position: relative;
    margin-top: 0.5rem;
    padding-left: 2rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #000;
}

.timeline-item {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
    padding: 1.2rem 1.4rem;
    background: var(--surface);
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.15s ease, background 0.15s ease;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -1.5rem;
    top: 50%;
    width: 13px;
    height: 13px;
    background: #000;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}

.timeline-item:hover .timeline-dot {
    transform: translate(-50%, -50%) scale(1.5);
}

.timeline-item:hover {
    border-color: #000;
    background: #000;
    color: #fff;
}

.timeline-item:hover .timeline-title,
.timeline-item:hover .timeline-desc {
    color: #fff;
}

.timeline-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 0.4rem;
    line-height: 1.3;
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

/* ---------- Article content ---------- */
.report-content h2,
.report-content h3 {
    font-weight: 700;
    color: var(--heading);
}

.report-content h2 {
    font-size: 1.5rem;
    margin: 2.4rem 0 0.9rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--accent-grad);
}

.report-content h3 {
    font-size: 1.2rem;
    margin: 1.8rem 0 0.7rem;
}

.report-content p { margin: 0 0 1.1rem; text-align: justify; }

.report-content ul,
.report-content ol {
    margin: 0 0 1.1rem;
    padding-left: 1.4rem;
}

.report-content li { margin-bottom: 0.4rem; text-align: justify; }

.report-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.report-content strong { color: var(--heading); }

.report-content code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    background: var(--code-bg);
    padding: 0.15em 0.4em;
}

.report-content pre {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 1rem 1.2rem;
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.6;
}

.report-content pre code { background: none; padding: 0; }

.report-content blockquote {
    margin: 0 0 1.1rem;
    padding: 0.6rem 1.2rem;
    border-left: 4px solid var(--accent);
    background: var(--accent-soft);
    color: var(--muted);
}

.report-content figure {
    margin: 1.5rem 0;
    text-align: center;
}

.report-content figure img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border);
}

.report-content figcaption {
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
    margin-top: 0.5rem;
}

/* ---------- Tables ---------- */
.report-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.3rem;
    font-size: 0.88rem;
    background: var(--surface);
    border: 1px solid var(--border);
}

.report-content th,
.report-content td {
    text-align: justify;
    padding: 0.6rem 0.85rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.report-content th {
    text-align: left;
    background: #f1f0ec;
    color: var(--heading);
    font-weight: 700;
}

.report-content tr:last-child td { border-bottom: none; }

/* ---------- Footer ---------- */
.report-footer {
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
}

/* ---------- Navigation bas de page ---------- */
.report-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
}

.report-nav-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #000;
    background: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.15s ease, color 0.15s ease;
}

.report-chevron {
    flex-shrink: 0;
    display: block;
    transition: transform 0.15s ease;
}

.report-nav-btn:hover .report-chevron {
    transform: translateX(-3px); /* chevron « Précédent » s'éloigne vers la gauche */
}

.report-nav-btn.report-nav-next:hover .report-chevron {
    transform: translateX(3px); /* chevron « Suivant » s'éloigne vers la droite */
}

.report-nav-btn:hover {
    background: #000;
    color: #fff;
}

.report-nav-next {
    margin-left: auto;
}

/* ---------- Icône maison (retour au site) ---------- */
.report-home {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 6rem auto 0;
    color: var(--muted);
    opacity: 0.7;
    transition: opacity 0.15s ease, color 0.15s ease;
}

.report-home svg {
    width: 18px;
    height: 18px;
    display: block;
}

.report-home:hover {
    color: var(--text);
    opacity: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 620px) {
    .report-header-bar { align-items: center; }
    .report-logo svg { height: 2.6rem; }
    .report-insign img { height: 4rem; }
    .timeline { padding-left: 1.6rem; }
    .timeline-item { padding: 1rem 1.1rem; }
    .timeline-dot { left: -1.1rem; }
    .report-title { font-size: 1.9rem; }
    .report-page { padding: 2rem 1.1rem 4rem; }
}


