/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    min-height: 100vh;
    color: #cbd5e1;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header élégant avec accent coloré */
header {
    text-align: center;
    padding: 5rem 2rem 4rem;
    margin: 0 auto;
    max-width: 900px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.header-glass {
    background: transparent;
    color: #f1f5f9;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #f8fafc;
    line-height: 1.2;
}

header p {
    font-size: 1.125rem;
    opacity: 0.85;
    font-weight: 400;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto;
    color: #cbd5e1;
}

/* Zone de survol pour déclencher la sidebar */
.menu-hover-zone {
    position: fixed;
    left: 0;
    top: 0;
    width: 80px;
    height: 100vh;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-arrow {
    position: absolute;
    left: 24px;
    background: #334155;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sidebar-arrow:hover {
    background: #475569;
    color: #f1f5f9;
}

/* Navigation sidebar avec accents colorés */
.nav-slideout {
    position: fixed;
    left: 0;
    top: 0;
    width: 75px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border-right: 1px solid rgba(148, 163, 184, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 1000;
}

.nav-slideout:hover {
    width: 260px;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.3);
}

.nav-slideout ul {
    list-style: none;
    padding: 0;
    margin-top: 4rem;
}

.nav-slideout li {
    width: 100%;
}

.nav-slideout a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    font-size: 0.9375rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    position: relative;
}

.nav-slideout a:hover {
    background: rgba(51, 65, 85, 0.5);
    color: #f1f5f9;
    border-left-color: #60a5fa;
}

.nav-slideout a i {
    font-size: 1.25rem;
    min-width: 40px;
    text-align: center;
    color: #64748b;
    transition: color 0.25s ease;
}

.nav-slideout a:hover i {
    color: #60a5fa;
}

.nav-slideout a span {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    margin-left: 1rem;
}

.nav-slideout:hover a span {
    opacity: 1;
}

/* Main content */
main {
    margin-left: 100px;
    padding: 3.5rem 3rem;
    max-width: 1200px;
}

/* Grid layout */
.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

/* Cartes élégantes avec bordures colorées */
.card {
    padding: 2.5rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(148, 163, 184, 0.15);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-glass {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(16px);
    color: #cbd5e1;
}

.card:hover {
    border-color: rgba(96, 165, 250, 0.4);
    background: rgba(30, 41, 59, 0.6);
}

.card:hover::before {
    opacity: 1;
}

.card h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #f8fafc;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.card h2 i {
    margin-right: 0.75rem;
    color: #60a5fa;
    font-size: 1.375rem;
}

.card h3 {
    font-size: 1.125rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #e2e8f0;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.card p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: #cbd5e1;
    font-weight: 400;
}

.card ul {
    list-style: none;
    padding-left: 0;
}

.card li {
    margin-bottom: 0.875rem;
    line-height: 1.8;
    color: #cbd5e1;
    padding-left: 1.75rem;
    position: relative;
}

.card li:before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: #60a5fa;
    font-weight: 600;
    font-size: 1.25rem;
}

.card li i {
    margin-right: 0.625rem;
    color: #60a5fa;
}

/* Strong/Bold dans les cartes */
.card strong {
    color: #f1f5f9;
    font-weight: 600;
}

/* Footer élégant */
footer {
    text-align: center;
    padding: 2.5rem 2rem;
    margin: 4rem auto 0;
    max-width: 1000px;
    margin-left: 100px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.footer-glass {
    background: transparent;
    color: #94a3b8;
    font-size: 0.9375rem;
    font-weight: 400;
}

footer a {
    color: #60a5fa;
    text-decoration: none;
    transition: all 0.25s ease;
    border-bottom: 1px solid transparent;
}

footer a:hover {
    color: #93c5fd;
    border-bottom-color: #93c5fd;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-14px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-14px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(14px); }
    to   { opacity: 1; transform: translateX(0); }
}
.fade-in-down  { animation: fadeInDown  0.5s ease both; }
.fade-in-up    { animation: fadeInUp    0.5s ease both; }
.slide-in-left { animation: slideInLeft 0.55s ease both; }
.slide-in-right{ animation: slideInRight 0.55s ease both; }

/* Full width card */
.full-width {
    grid-column: 1 / -1;
}

/* Boutons avec dégradés colorés - TEXTE BLANC TRÈS VISIBLE */
.btn-download, .btn-projet, .btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    background: #2563eb !important;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 1.5rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-download:hover, .btn-projet:hover, .btn-submit:hover {
    background: #1d4ed8 !important;
    color: #ffffff !important;
}

/* Call to action */
.contact-cta {
    text-align: center;
    padding: 3rem 2.5rem;
    background: rgba(51, 65, 85, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.contact-cta h2 {
    margin-bottom: 1.25rem;
}

.contact-cta p {
    font-size: 1.0625rem;
    margin-bottom: 2rem;
    color: #cbd5e1;
}

.btn-large {
    font-size: 1.0625rem;
    padding: 1rem 2.5rem;
}

/* Projets */
.projet-card {
    display: flex;
    flex-direction: column;
}

.projet-date {
    color: #60a5fa;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin: 1.75rem 0;
}

.tag {
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    white-space: nowrap;
    color: #cbd5e1;
    font-weight: 500;
    transition: all 0.25s ease;
}

.tag:hover {
    background: rgba(51, 65, 85, 0.8);
    border-color: rgba(96, 165, 250, 0.5);
    color: #e2e8f0;
}

/* Veille */
.veille-article h3 {
    font-size: 1.125rem;
    margin-top: 1.75rem;
}

.veille-date {
    color: #60a5fa;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

/* Compétences */
.competence-block {
    margin-bottom: 3rem;
}

.competence-block h3 {
    font-size: 1.0625rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 6px;
    background: rgba(51, 65, 85, 0.5);
    border-radius: 3px;
    overflow: hidden;
    margin: 1.25rem 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #60a5fa 0%, #3b82f6 100%);
    border-radius: 3px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 12px rgba(96, 165, 250, 0.4);
}

.progress-text {
    position: absolute;
    right: 0;
    top: -28px;
    font-weight: 600;
    color: #60a5fa;
    font-size: 0.875rem;
}

.tech-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.75rem 0;
}

.skill-badge {
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    color: #cbd5e1;
    font-weight: 500;
    transition: all 0.25s ease;
}

.skill-badge:hover {
    background: rgba(51, 65, 85, 0.8);
    border-color: rgba(96, 165, 250, 0.5);
}

.skill-badge i {
    color: #60a5fa;
}

/* Contact */
.contact-info p {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    color: #cbd5e1;
    font-weight: 400;
}

.contact-info i {
    color: #60a5fa;
}

.contact-info strong {
    font-weight: 600;
    color: #f1f5f9;
}

.contact-info a {
    color: #60a5fa;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.25s;
}

.contact-info a:hover {
    color: #93c5fd;
    border-bottom-color: #93c5fd;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}

.social-btn {
    padding: 0.875rem 1.625rem;
    border-radius: 8px;
    text-decoration: none;
    color: #f1f5f9;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    font-weight: 600;
    font-size: 0.9375rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.social-btn.linkedin {
    background: rgba(0, 119, 181, 0.15);
    border-color: rgba(0, 119, 181, 0.3);
}

.social-btn.github {
    background: rgba(51, 51, 51, 0.3);
    border-color: rgba(148, 163, 184, 0.3);
}

.social-btn.twitter {
    background: rgba(29, 161, 242, 0.15);
    border-color: rgba(29, 161, 242, 0.3);
}

.social-btn:hover {
    border-color: rgba(96, 165, 250, 0.5);
}

/* Formulaire élégant */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #e2e8f0;
    font-size: 0.9375rem;
}

.form-group label i {
    color: #60a5fa;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.5);
    color: #f1f5f9;
    font-family: inherit;
    font-size: 0.9375rem;
    transition: all 0.25s ease;
    font-weight: 400;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #60a5fa;
    background: rgba(30, 41, 59, 0.7);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #1e293b;
    color: #cbd5e1;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    width: 100%;
    margin-top: 0.5rem;
}

/* Blocs de code pour la documentation */
.code-block {
    background: rgba(15, 23, 42, 0.9);
    border-left: 3px solid #60a5fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.75rem 0;
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    overflow-x: auto;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    white-space: pre-wrap;
    word-wrap: break-word;
}

.code-block code {
    color: #cbd5e1;
    font-size: 0.9375rem;
    line-height: 1.8;
    font-weight: 400;
}

/* Correction pour les blocs pre */
pre.code-block {
    background: rgba(15, 23, 42, 0.9);
    border-left: 3px solid #60a5fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.75rem 0;
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    overflow-x: auto;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    white-space: pre-wrap;
    word-wrap: break-word;
}

pre.code-block code {
    color: #cbd5e1;
    font-size: 0.9375rem;
    line-height: 1.8;
    font-weight: 400;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

/* Style pour le texte inline code */
code {
    background: rgba(51, 65, 85, 0.5);
    color: #93c5fd;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

/* Liens dans les cartes avec meilleur contraste */
.card a {
    color: #60a5fa;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.25s ease;
    font-weight: 500;
}

.card a:hover {
    color: #93c5fd;
    border-bottom-color: #93c5fd;
}

/* Responsive design */
@media (max-width: 768px) {
    main {
        margin-left: 0;
        padding: 2rem 1.5rem;
    }
    
    footer {
        margin-left: 0;
    }
    
    .home-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    header {
        padding: 3rem 1.5rem 2rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    header p {
        font-size: 0.95rem;
    }
    
    .menu-hover-zone {
        width: 50px;
    }
    
    .nav-slideout {
        width: 60px;
    }
    
    .nav-slideout:hover {
        width: 220px;
    }
    
    .card {
        padding: 2rem;
    }
    
    .card h2 {
        font-size: 1.3rem;
    }
    
    .social-links {
        flex-direction: column;
    }
    
    .social-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Scrollbar personnalisée avec couleurs */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 5px;
    border: 2px solid #0f172a;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* ─── Lien actif dans la nav ────────────────────────── */
.nav-slideout a.active {
    background: rgba(51, 65, 85, 0.55);
    color: #f1f5f9;
    border-left-color: #60a5fa;
}
.nav-slideout a.active i { color: #60a5fa; }

/* ─── Badge hero ─────────────────────────────────────── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 20px;
    color: #60a5fa;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

/* ─── Badges de statut ───────────────────────────────── */
.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    vertical-align: middle;
    margin-left: 0.75rem;
}
.badge-termine   { background: rgba(34,197,94,0.12);  border: 1px solid rgba(34,197,94,0.25);  color: #4ade80; }
.badge-en-cours  { background: rgba(251,191,36,0.12); border: 1px solid rgba(251,191,36,0.25); color: #fbbf24; }
.badge-alternance{ background: rgba(96,165,250,0.12); border: 1px solid rgba(96,165,250,0.25); color: #60a5fa; }

/* ─── Tags compétences E5 ────────────────────────────── */
.e5-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 0.5rem; }
.e5-tag {
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.25);
    color: #c4b5fd;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ─── Accordion critères E5 ──────────────────────────── */
.criteria-details {
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    margin-top: 0.25rem;
}
.criteria-details summary {
    cursor: pointer;
    padding: 0.75rem 0;
    font-weight: 600;
    color: #e2e8f0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    user-select: none;
    transition: color 0.2s;
}
.criteria-details summary:hover { color: #f1f5f9; }
.criteria-details summary::-webkit-details-marker { display: none; }
.criteria-details summary i {
    color: #60a5fa;
    font-size: 0.875rem;
    min-width: 18px;
    text-align: center;
}
.criteria-details .criteria-inner {
    padding: 0.25rem 0 1rem 1.75rem;
    color: #cbd5e1;
    line-height: 1.8;
}
.criteria-details .criteria-inner ul { padding-left: 0; list-style: none; }
.criteria-details .criteria-inner li {
    padding-left: 1.375rem;
    position: relative;
    margin-bottom: 0.4rem;
}
.criteria-details .criteria-inner li::before {
    content: "–";
    position: absolute;
    left: 0.25rem;
    color: #60a5fa;
}
.criteria-details .criteria-inner p { margin-bottom: 0.5rem; }
.criteria-details .criteria-inner strong { color: #f1f5f9; font-weight: 600; }

/* ─── Libellé de section ─────────────────────────────── */
.section-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(148, 163, 184, 0.12);
}

/* ─── Bordure colorée en haut des cartes ─────────────── */
.card-blue   { border-top: 2px solid #3b82f6; }
.card-green  { border-top: 2px solid #22c55e; }
.card-purple { border-top: 2px solid #8b5cf6; }
.card-orange { border-top: 2px solid #f97316; }
.card-cyan   { border-top: 2px solid #06b6d4; }

/* ─── Timeline (parcours) ────────────────────────────── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 8px; bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, #60a5fa 0%, rgba(96,165,250,0.15) 100%);
    border-radius: 1px;
}
.timeline-item { position: relative; padding-left: 1.5rem; margin-bottom: 2.25rem; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.375rem;
    top: 0.375rem;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #60a5fa;
    border: 2px solid #1e293b;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.15);
}
.timeline-date     { font-size: 0.8125rem; color: #60a5fa; font-weight: 600; margin-bottom: 0.2rem; }
.timeline-title    { font-size: 1.0625rem; font-weight: 600; color: #f1f5f9; margin-bottom: 0.2rem; }
.timeline-subtitle { font-size: 0.875rem; color: #94a3b8; margin-bottom: 0.75rem; }
.timeline-body     { color: #cbd5e1; }

/* ─── Tableau de couverture E5 ───────────────────────── */
.coverage-table { width: 100%; border-collapse: collapse; margin-top: 1.25rem; font-size: 0.8125rem; }
.coverage-table th {
    padding: 0.625rem 0.875rem;
    text-align: left;
    color: #64748b;
    font-weight: 600;
    border-bottom: 1px solid rgba(148,163,184,0.15);
    white-space: nowrap;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}
.coverage-table td { padding: 0.625rem 0.875rem; border-bottom: 1px solid rgba(148,163,184,0.08); color: #cbd5e1; }
.coverage-table tr:hover td { background: rgba(51,65,85,0.2); }
.cov-yes  { color: #4ade80; text-align: center; font-size: 1rem; }
.cov-part { color: #fbbf24; text-align: center; font-size: 1rem; }
.cov-no   { color: #334155; text-align: center; }

/* ─── Boîte info ─────────────────────────────────────── */
.info-box {
    background: rgba(96,165,250,0.07);
    border: 1px solid rgba(96,165,250,0.18);
    border-radius: 8px;
    padding: 0.875rem 1.125rem;
    margin: 1rem 0;
    color: #93c5fd;
    font-size: 0.9rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}
.info-box i { color: #60a5fa; margin-top: 0.125rem; flex-shrink: 0; }

/* ─── Grille 3 colonnes ──────────────────────────────── */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* ─── Visionneuse PDF ────────────────────────────────── */
.pdf-viewer {
    width: 100%;
    height: 800px;
    border: none;
    border-radius: 8px;
    display: block;
}
.pdf-fallback {
    display: none;
    text-align: center;
    padding: 2rem;
    color: #94a3b8;
}

/* ─── Separateur de section projet ──────────────────── */
.projet-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.projet-header h2 { margin-bottom: 0; }
