/* ══════════════════════════════════════════════════════════════
   Feuille de style unique du portfolio.
   Partagee par index.html et projets.html.
   merci.html garde son propre style : page autonome, hors parcours de lecture.
   Remplace Tailwind CDN : uniquement les classes reellement utilisees.
   Toute modification ici affecte toutes les pages : c'est le but.
   ══════════════════════════════════════════════════════════════ */

/* ══ UTILITAIRES ══ (remplace Tailwind CDN, uniquement les classes utilisees) */
:root {
    --accent: #0F4C81;
    --ink: #1A2233;
    --secondary: #5A6478;
    --line: #E4E7EC;
    --mist: #EFEFEA;
    --page: #F7F7F4;
    --ring-color: var(--accent);
    --ring-offset: 0px;
    --ring-offset-color: var(--page);
    --rw: 0px;
}

/* mise en page */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }
.top-1\.5 { top: 0.375rem; }
.-left-\[43px\] { left: -43px; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.hidden { display: none; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.shrink-0 { flex-shrink: 0; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.overflow-hidden { overflow: hidden; }
.min-h-screen { min-height: 100vh; }
.mx-auto { margin-left: auto; margin-right: auto; }
.order-1 { order: 1; }
.order-2 { order: 2; }

/* dimensions */
.w-full { width: 100%; }
.w-2 { width: 0.5rem; }
.w-4 { width: 1rem; }
.w-9 { width: 2.25rem; }
.w-72 { width: 18rem; }
.h-full { height: 100%; }
.h-1 { height: 0.25rem; }
.h-2 { height: 0.5rem; }
.h-4 { height: 1rem; }
.h-9 { height: 2.25rem; }
.h-20 { height: 5rem; }
.h-72 { height: 18rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }

/* espacements */
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-16 { gap: 4rem; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-1 { padding-left: .25rem; padding-right: .25rem; }
.px-2 { padding-left: .5rem; padding-right: .5rem; }
.px-3 { padding-left: .75rem; padding-right: .75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-0\.5 { padding-top: .125rem; padding-bottom: .125rem; }
.py-1 { padding-top: .25rem; padding-bottom: .25rem; }
.py-1\.5 { padding-top: .375rem; padding-bottom: .375rem; }
.py-2\.5 { padding-top: .625rem; padding-bottom: .625rem; }
.py-3\.5 { padding-top: .875rem; padding-bottom: .875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-20 { padding-top: 5rem; }
.pl-4 { padding-left: 1rem; }
.pl-10 { padding-left: 2.5rem; }
.ml-5 { margin-left: 1.25rem; }
.mb-0\.5 { margin-bottom: .125rem; }
.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.mt-0\.5 { margin-top: .125rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.space-y-2 > * + * { margin-top: .5rem; }
.space-y-3 > * + * { margin-top: .75rem; }
.space-y-12 > * + * { margin-top: 3rem; }

/* typographie */
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.font-display { font-family: 'Clash Display', sans-serif; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-\[10px\] { font-size: 10px; }
.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-center { text-align: center; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.leading-\[1\.08\] { line-height: 1.08; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

/* couleurs de texte */
.text-ink { color: var(--ink); }
.text-ink\/70 { color: rgba(26,34,51,0.7); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-dark { color: var(--page); }
.text-blue-700 { color: #1D4ED8; }
.text-purple-700 { color: #6D28D9; }
.text-cyan-700 { color: #0E7490; }
.text-emerald-700 { color: #047857; }

/* fonds */
.bg-white { background-color: #FFFFFF; }
.bg-mist { background-color: var(--mist); }
.bg-accent { background-color: var(--accent); }
.bg-accent\/5 { background-color: rgba(15,76,129,0.05); }
.bg-accent\/8 { background-color: rgba(15,76,129,0.08); }
.bg-accent\/10 { background-color: rgba(15,76,129,0.10); }
.bg-secondary\/30 { background-color: rgba(90,100,120,0.30); }
.bg-emerald-500 { background-color: #10B981; }
.bg-emerald-500\/8 { background-color: rgba(16,185,129,0.08); }
.bg-blue-500\/10 { background-color: rgba(59,130,246,0.10); }
.bg-purple-500\/10 { background-color: rgba(168,85,247,0.10); }
.bg-cyan-500\/10 { background-color: rgba(6,182,212,0.10); }

/* bordures */
.border { border: 1px solid var(--line); }
.border-t { border-top: 1px solid var(--line); }
.border-l { border-left: 1px solid var(--line); }
.border-l-2 { border-left-width: 2px; border-left-style: solid; }
.border-l-4 { border-left-width: 4px; border-left-style: solid; }
.border-line { border-color: var(--line); }
.border-accent { border-color: var(--accent); }
.border-accent\/15 { border-color: rgba(15,76,129,0.15); }
.border-emerald-500\/30 { border-color: rgba(16,185,129,0.30); }
.border-blue-500\/20 { border-color: rgba(59,130,246,0.20); }
.border-purple-500\/20 { border-color: rgba(168,85,247,0.20); }
.border-cyan-500\/20 { border-color: rgba(6,182,212,0.20); }
.border-l-blue-500 { border-left-color: #3B82F6; }
.border-l-purple-500 { border-left-color: #A855F7; }
.border-l-cyan-500 { border-left-color: #06B6D4; }
.rounded { border-radius: .25rem; }
.rounded-md { border-radius: .375rem; }
.rounded-lg { border-radius: .5rem; }
.rounded-xl { border-radius: .75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-\[2rem\] { border-radius: 2rem; }
.rounded-full { border-radius: 9999px; }
.ring-2 { box-shadow: 0 0 0 2px var(--page); }
.ring-dark { box-shadow: 0 0 0 2px var(--page); }

/* effets */
.object-cover { object-fit: cover; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(20,35,65,0.25); }
.opacity-10 { opacity: 0.1; }
.blur-\[110px\] { filter: blur(110px); }
.resize-none { resize: none; }
.transition-colors { transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.transition-all { transition: all .2s ease; }
.duration-200 { transition-duration: .2s; }
.duration-700 { transition-duration: .7s; }
.animate-pulse { animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }

/* etats */
.hover\:bg-accent:hover { background-color: var(--accent); }
.hover\:bg-ink:hover { background-color: var(--ink); }
.hover\:bg-mist:hover { background-color: var(--mist); }
.hover\:text-accent:hover { color: var(--accent); }
.hover\:text-ink:hover { color: var(--ink); }
.hover\:text-dark:hover { color: var(--page); }
.hover\:border-accent:hover { border-color: var(--accent); }
.focus\:outline-none:focus { outline: none; }
.focus\:ring-1:focus { --rw: 1px; }
.focus\:ring-2:focus { --rw: 2px; }
.focus\:ring-1:focus, .focus\:ring-2:focus {
    box-shadow: 0 0 0 var(--ring-offset) var(--ring-offset-color),
                0 0 0 calc(var(--ring-offset) + var(--rw)) var(--ring-color);
}
.focus\:ring-accent:focus { --ring-color: var(--accent); }
.focus\:ring-ink:focus { --ring-color: var(--ink); }
.focus\:ring-offset-2:focus { --ring-offset: 2px; }
.focus\:ring-offset-dark:focus { --ring-offset-color: var(--page); }

/* interlignage : declare apres les tailles pour primer, comme dans Tailwind */
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.leading-\[1\.08\] { line-height: 1.08; }

/* points de rupture */
@media (min-width: 640px) {
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:flex-row { flex-direction: row; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:order-1 { order: 1; }
    .lg\:order-2 { order: 2; }
    .lg\:justify-end { justify-content: flex-end; }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .lg\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .lg\:text-\[64px\] { font-size: 64px; }
    /* min() plutot qu'une largeur fixe : a 1024px de viewport, seuil de passage
       en deux colonnes, la colonne droite ne fait que 480px. Un carre rigide de
       500px deborderait. aspect-ratio garde le cadrage carre a toute largeur. */
    .portrait-hero { width: min(500px, 100%); height: auto; aspect-ratio: 1 / 1; }
}

/* ── BASE ── */
.hero-text, .hero-img { animation: fadeIn 0.3s ease-out both; }
.hero-img { animation-delay: 0.08s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── RESET (equivalent du preflight Tailwind) ── */
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
b, strong { font-weight: 600; }
table { border-collapse: collapse; }

body {
    background-color: #F7F7F4;
    color: #1A2233;
    overflow-x: hidden;
    font-family: 'General Sans', sans-serif;
}

/* ── NAV ── */
.glass-nav {
    background: rgba(247, 247, 244, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid #E4E7EC;
}
.nav-link {
    position: relative;
    font-size: 0.875rem;
    font-weight: 500;
    color: #5A6478;
    transition: color 0.2s;
    padding: 4px 8px;
    border-radius: 4px;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 8px;
    width: 0; height: 1.5px;
    background: #0F4C81;
    transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.is-active { color: #1A2233; }
.nav-link.is-active::after, .nav-link:hover::after { width: calc(100% - 16px); }

/* ── CARDS ── */
.glass-card {
    background: #FFFFFF;
    border: 1px solid #E4E7EC;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.glass-card:hover {
    border-color: #CFD6E0;
    box-shadow: 0 6px 16px -8px rgba(20,35,65,0.18);
    transform: translateY(-2px);
}

/* ── GRADIENT TEXTE ── */
.text-accent-gradient { color: #0F4C81; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #ECECE6; }
::-webkit-scrollbar-thumb { background: #C7CEDA; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #0F4C81; }

/* ── STAT CARDS ── */
.stat-card {
    background: rgba(15,76,129,0.05);
    border: 1px solid rgba(15,76,129,0.16);
    border-radius: 16px;
    padding: 16px 12px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative; overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(15,76,129,0.05);
    opacity: 0; transition: opacity 0.3s;
}
.stat-card:hover { border-color: rgba(15,76,129,0.4); transform: translateY(-3px); }
.stat-card:hover::before { opacity: 1; }

/* ── CERTIF ORACLE ── */
.cert-badge {
    background: rgba(220,38,38,0.05);
    border: 1px solid rgba(220,38,38,0.22);
    border-radius: 14px; padding: 14px 16px;
    display: flex; align-items: center; gap: 12px;
    transition: all 0.3s ease;
}
.cert-badge:hover {
    border-color: rgba(220,38,38,0.45);
    background: rgba(220,38,38,0.09);
    transform: translateY(-2px);
}

/* ── TIMELINE ── */
.timeline-dot-active {
    box-shadow: 0 0 0 4px #F7F7F4, 0 0 14px rgba(15,76,129,0.55);
}

/* ── SKILL TAG ── */
.skill-tag {
    font-size: 11px; padding: 4px 11px; border-radius: 6px;
    background: rgba(15,76,129,0.06);
    border: 1px solid rgba(15,76,129,0.16);
    color: #33405A;
    display: inline-block; margin: 3px;
    transition: all 0.2s ease;
}
.skill-tag:hover {
    background: rgba(15,76,129,0.12);
    color: #0F4C81; border-color: rgba(15,76,129,0.35);
    transform: translateY(-1px);
}

/* ── HERO OVERLAY ── */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 20%, rgba(15,76,129,0.10), transparent 55%),
                radial-gradient(circle at 20% 85%, rgba(124,58,237,0.08), transparent 55%);
    z-index: 1;
    pointer-events: none;
}
/* ── IMPACT BADGE ── */
.impact-badge {
    background: rgba(15,76,129,0.06);
    border: 1px solid rgba(15,76,129,0.16);
    border-radius: 8px; padding: 6px 10px;
    font-size: 11px; color: #0F4C81; font-weight: 600;
}

/* ── MOBILE NAV ── */
.mobile-menu { background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); }

/* ── SECTION NUM ── */
.section-num {
    font-family: 'Clash Display', sans-serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase;
    color: rgba(15,76,129,0.85);
    margin-bottom: 12px;
    display: block;
}

/* ── SCROLL TO TOP ── */
#scroll-top {
    position: fixed; bottom: 32px; right: 32px;
    width: 46px; height: 46px;
    background: rgba(15,76,129,0.08);
    border: 1px solid rgba(15,76,129,0.25);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #0F4C81; cursor: pointer;
    opacity: 0; pointer-events: none;
    transition: all 0.35s ease;
    z-index: 200;
    backdrop-filter: blur(8px);
}
#scroll-top.is-visible { opacity: 1; pointer-events: auto; }
#scroll-top:hover { background: rgba(15,76,129,0.16); transform: translateY(-4px); }

/* ── GLOW BUTTON ── */
.btn-glow { transition: background 0.2s ease; }

/* ── FORM ── */
.form-field {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #D8DEE8;
    border-radius: 12px; padding: 14px 16px;
    font-size: 14px; color: #1A2233;
    font-family: 'General Sans', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}
.form-field::placeholder { color: rgba(90,100,120,0.6); }
.form-field:focus {
    border-color: rgba(15,76,129,0.55);
    box-shadow: 0 0 0 3px rgba(15,76,129,0.12);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ══ PAGE PROJETS ══ (projets.html uniquement) */

/* Sommaire : permet a un recruteur presse d'aller droit au projet qui l'interesse. */
.toc-link {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #E4E7EC;
    border-radius: 10px;
    background: #FFFFFF;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.toc-link:hover {
    border-color: rgba(15,76,129,0.35);
    transform: translateY(-1px);
}
.toc-num {
    font-family: 'Clash Display', sans-serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: 2px;
    color: rgba(15,76,129,0.85);
    flex-shrink: 0;
    /* Largeur fixe : les chiffres de Clash Display n'ont pas tous la meme
       chasse, "01" mesure 16,5px et "06" 20px. Sans min-width, chaque titre
       demarre a un x different et le sommaire parait bancal. */
    min-width: 22px;
}
.toc-title { font-size: 0.875rem; font-weight: 600; color: #1A2233; }

/* Nature du projet : un recruteur doit voir d'un coup d'oeil ce qui est
   professionnel et ce qui est academique. Rien n'est maquille. */
.nature-badge {
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 999px;
    display: inline-block;
}
.nature-pro  { background: rgba(15,76,129,0.10); color: #0F4C81; border: 1px solid rgba(15,76,129,0.25); }
.nature-tech { background: rgba(5,150,105,0.08); color: #047857; border: 1px solid rgba(5,150,105,0.25); }
.nature-acad { background: rgba(90,100,120,0.08); color: #5A6478; border: 1px solid rgba(90,100,120,0.25); }

/* Un projet = une section, separee par un filet. */
.project-detail { padding-top: 4.5rem; padding-bottom: 1rem; scroll-margin-top: 6rem; }
.project-detail + .project-detail { border-top: 1px solid #E4E7EC; }

/* Intitule de bloc : Contexte, Le probleme, Ce que j'ai fait... */
.detail-label {
    font-family: 'Clash Display', sans-serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: rgba(15,76,129,0.85);
    display: block; margin-bottom: 10px;
}
.detail-sub {
    font-size: 12px; font-weight: 700;
    color: #33405A;
    display: block; margin-bottom: 8px;
    letter-spacing: 0.02em;
}

/* Decisions techniques : le bloc qui distingue un ingenieur d'un utilisateur d'outils. */
.decision {
    border-left: 2px solid rgba(15,76,129,0.35);
    padding-left: 16px;
}
.decision-title { font-weight: 600; color: #1A2233; display: block; margin-bottom: 3px; }

/* Transposabilite : la phrase qui fait projeter le recruteur chez lui. */
.transpo-box {
    background: rgba(15,76,129,0.05);
    border: 1px solid rgba(15,76,129,0.16);
    border-radius: 12px;
    padding: 16px 18px;
}

/* Note de confidentialite : protege Kevo, et signale au recruteur qu'il sait ou est la limite. */
.confid-note {
    border-left: 2px solid #E4E7EC;
    padding-left: 14px;
    font-size: 12px;
    color: #5A6478;
    font-style: italic;
}

/* Utilitaires manquants, utilises uniquement par projets.html. */
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.max-w-4xl { max-width: 56rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.gap-10 { gap: 2.5rem; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.list-arrow { padding-left: 0; }
.toc-link.pleine-largeur { grid-column: 1 / -1; }
.underline { text-decoration: underline; }

/* ══ SCHEMAS D'ARCHITECTURE ══ (projets.html)
   Un schema se lit en 3 secondes la ou un paragraphe en demande 30, et savoir
   representer une architecture est en soi une competence d'ingenieur SI.
   Dessines a la main en SVG : aucune dependance, aucune image a charger. */
.schema-wrap {
    background: #FFFFFF;
    border: 1px solid #E4E7EC;
    border-radius: 14px;
    padding: 20px 18px 14px;
    margin-bottom: 2rem;
    overflow-x: auto;
}
/* min-width plutot qu'un redimensionnement : sous 600px le schema defile
   horizontalement dans son cadre, le texte reste lisible. */
.schema { display: block; min-width: 600px; width: 100%; height: auto; }
.schema text { font-family: 'General Sans', sans-serif; }
.schema .n  { fill: #FFFFFF; stroke: #E4E7EC; stroke-width: 1; }
.schema .na { fill: rgba(15,76,129,0.07); stroke: rgba(15,76,129,0.32); stroke-width: 1; }
.schema .lbl { fill: #1A2233; font-size: 13px; font-weight: 600; }
.schema .sub { fill: #5A6478; font-size: 10.5px; }
.schema .acc { fill: #0F4C81; font-size: 13px; font-weight: 600; }
.schema .fl { stroke: #98A1B2; stroke-width: 1.5; fill: none; }
.schema .dash { stroke: #C7CDD8; stroke-width: 1.2; fill: none; stroke-dasharray: 4 4; }
.schema-cap { font-size: 12px; color: #5A6478; line-height: 1.5; margin-top: 12px; }

/* Accroche : la phrase a retenir si le lecteur ne lit rien d'autre du projet.
   Placee juste sous le titre, avant les tags. */
.accroche {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: #1A2233;
    font-weight: 500;
    max-width: 44rem;
    margin-bottom: 1.75rem;
}

/* Sur petit ecran les schemas defilent dans leur cadre. Sans indication le
   lecteur ne le devine pas et croit le schema tronque. */
@media (max-width: 680px) {
    .schema-wrap::after {
        content: "Schéma large : faites-le défiler horizontalement.";
        display: block;
        font-size: 11px;
        color: #8B94A6;
        margin-top: 8px;
    }
}
