* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
    background: #0d0d0d;
    color: #f5f5f5;
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    padding: 24px 0;
    position: sticky;
    top: 0;
    backdrop-filter: blur(12px);
    background: rgba(13, 13, 13, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

nav a {
    color: rgba(245, 245, 245, 0.6);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    padding: 8px 0;
    display: flex;
    align-items: center;
}

nav a:hover {
    color: #f5f5f5;
}

nav a.active {
    color: #60a5fa !important;
}

/* Bouton Admin dans le header */
.btn-admin {
    background: rgba(168, 85, 247, 0.2) !important;
    color: #c084fc !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(168, 85, 247, 0.3) !important;
    transition: all 0.2s !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    height: auto !important;
    line-height: 1 !important;
}

.btn-admin:hover {
    background: rgba(168, 85, 247, 0.3) !important;
    border-color: rgba(168, 85, 247, 0.5) !important;
    transform: translateY(-1px) !important;
}

/* Hero */
.intro {
    padding: 120px 0 80px;
}

.intro h2 {
    font-size: clamp(48px, 8vw, 92px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.intro p {
    font-size: 20px;
    color: rgba(245, 245, 245, 0.7);
    max-width: 640px;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.about h3 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: -1px;
    text-align: center;
}

.about p {
    font-size: 18px;
    color: rgba(245, 245, 245, 0.7);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 24px;
    text-align: center;
}

/* Private intro header */
.private-intro-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
}

.btn-admin-large {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    background: rgba(168, 85, 247, 0.1);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-admin-large:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.2);
}

.admin-icon {
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-admin-large strong {
    display: block;
    font-size: 16px;
    color: #c084fc;
    margin-bottom: 2px;
}

.btn-admin-large small {
    display: block;
    font-size: 13px;
    color: rgba(192, 132, 252, 0.7);
}

/* Sections */
section {
    padding: 80px 0;
}

h3 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 48px;
    letter-spacing: -1px;
}

/* Projets */
.projets-liste {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 16px;
}

.projet {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.projet::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
}

.projet:hover::before {
    opacity: 1;
}

.projet:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.projet h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.projet p {
    color: rgba(245, 245, 245, 0.6);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    flex: 1;
    
    /* Limite à 5 lignes */
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.projet a {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
    position: relative;
    z-index: 1;
}

.projet a::after {
    content: '→';
    font-size: 16px;
}

.projet a:hover {
    gap: 10px;
}

.disabled {
    color: rgba(245, 245, 245, 0.3);
    font-size: 14px;
}

.projet.private {
    background: rgba(255, 149, 0, 0.04);
    border-color: rgba(255, 149, 0, 0.2);
}

.projet.private::before {
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 149, 0, 0.08), transparent 40%);
}

/* Statuts et progression */
.projet-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.statut {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.statut.en-cours, .statut.en-développement {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.statut.terminé {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.statut.en-pause {
    background: rgba(251, 146, 60, 0.2);
    color: #fb923c;
}

.progression {
    font-size: 13px;
    color: rgba(245, 245, 245, 0.6);
    font-weight: 600;
}

/* Footer de projet */
.projet-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.projet-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.link-admin {
    color: #c084fc !important;
    opacity: 0.8;
}

.link-admin:hover {
    opacity: 1;
}

/* Technologies */
.technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1), rgba(59, 130, 246, 0.15));
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #60a5fa;
    transition: all 0.2s;
}

.tech-tag:hover {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(59, 130, 246, 0.25));
    border-color: rgba(96, 165, 250, 0.5);
    transform: translateY(-2px);
}

/* Contact */
.contact p {
    font-size: 18px;
    margin-bottom: 16px;
    color: rgba(245, 245, 245, 0.7);
}

.contact a {
    color: #f5f5f5;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(245, 245, 245, 0.3);
    transition: border-color 0.2s;
}

.contact a:hover {
    border-color: #f5f5f5;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 48px 0;
    text-align: center;
    color: rgba(245, 245, 245, 0.4);
    font-size: 14px;
}

/* Login */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 48px;
    max-width: 440px;
    width: 100%;
}

.login-box h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.login-box > p {
    color: rgba(245, 245, 245, 0.6);
    margin-bottom: 32px;
    font-size: 15px;
}

.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
}

.warning {
    background: rgba(251, 146, 60, 0.1);
    border: 1px solid rgba(251, 146, 60, 0.3);
    color: #fdba74;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(245, 245, 245, 0.8);
    margin-bottom: -16px;
}

input[type="password"],
input[type="text"],
input[type="number"],
textarea,
select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f5f5f5;
    padding: 16px;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
    width: 100%;
}

input[type="password"]:focus,
input[type="text"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.5);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

button {
    background: #f5f5f5;
    color: #0d0d0d;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

button:hover {
    background: #fff;
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

.back {
    text-align: center;
    color: rgba(245, 245, 245, 0.5);
    text-decoration: none;
    font-size: 14px;
}

.back:hover {
    color: #f5f5f5;
}

/* Page détails projet */
.projet-detail {
    padding: 60px 0;
}

.projet-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 48px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.projet-description {
    font-size: 18px;
    color: rgba(245, 245, 245, 0.7);
    margin-top: 16px;
}

.projet-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #f1f5f9 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.statut-badge {
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.statut-badge.en-cours,
.statut-badge.en-développement {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.statut-badge.terminé {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.statut-badge.en-pause {
    background: rgba(251, 146, 60, 0.2);
    color: #fb923c;
}

.projet-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.info-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.3s;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.info-card h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: rgba(245, 245, 245, 0.6);
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa, #3b82f6);
    background-size: 200% 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.progress-text {
    font-size: 28px;
    font-weight: 800;
    color: #60a5fa;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

.btn-link {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 10px;
    transition: all 0.3s;
}

.btn-link:hover {
    background: rgba(96, 165, 250, 0.2);
    border-color: rgba(96, 165, 250, 0.5);
    transform: translateX(4px);
}

.btn-link::after {
    content: '→';
    font-size: 18px;
    transition: transform 0.3s;
}

.btn-link:hover::after {
    transform: translateX(4px);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(245, 245, 245, 0.5);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: rgba(245, 245, 245, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #60a5fa;
}

.breadcrumb span {
    color: rgba(245, 245, 245, 0.3);
}

/* Timeline des mises à jour */
.mises-a-jour {
    margin-top: 48px;
}

.mises-a-jour h3 {
    font-size: 32px;
    margin-bottom: 32px;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 48px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -45px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    border: 3px solid #0d0d0d;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.2);
    z-index: 2;
}

.timeline-date {
    font-size: 13px;
    color: #60a5fa;
    font-weight: 600;
    margin-bottom: 12px;
    display: inline-block;
    padding: 4px 12px;
    background: rgba(96, 165, 250, 0.1);
    border-radius: 6px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateX(8px);
}

.timeline-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.timeline-content p {
    color: rgba(245, 245, 245, 0.7);
    line-height: 1.6;
}

/* Empty states */
.empty-updates {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin-top: 48px;
}

.empty-updates p {
    font-size: 16px;
    color: rgba(245, 245, 245, 0.4);
    font-style: italic;
}

.empty-state-large {
    text-align: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-top: 40px;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 24px;
    opacity: 0.5;
}

.empty-state-large h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: rgba(245, 245, 245, 0.8);
}

.empty-state-large p {
    font-size: 16px;
    color: rgba(245, 245, 245, 0.5);
    margin-bottom: 32px;
}

/* Admin actions */
.admin-actions {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.btn-edit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 12px;
    color: #c084fc;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-edit:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateY(-2px);
}

/* Panel Admin */
.admin-panel {
    padding: 60px 0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.admin-header h2 {
    font-size: 32px;
    margin: 0;
}

.success-message {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 32px;
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.admin-section {
    margin-bottom: 48px;
}

.admin-section h3 {
    font-size: 28px;
    margin-bottom: 24px;
    text-transform: capitalize;
}

/* Formulaire de création */
.create-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 48px;
}

.create-form h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
    color: rgba(245, 245, 245, 0.7);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f5f5f5;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.5);
}

.form-group textarea {
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-primary {
    background: #60a5fa;
    color: #0d0d0d;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary:hover {
    background: #3b82f6;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #f5f5f5;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.3);
}

/* Table des projets */
.projets-table {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.projet-row {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    transition: all 0.2s;
}

.projet-row:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.projet-info {
    flex: 1;
}

.projet-info h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.projet-info p {
    font-size: 14px;
    color: rgba(245, 245, 245, 0.6);
    margin-bottom: 12px;
}

.projet-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(245, 245, 245, 0.5);
}

.projet-actions {
    display: flex;
    gap: 8px;
}

.btn-view, .btn-preview {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-view {
    background: #60a5fa;
    color: #0d0d0d;
}

.btn-view:hover {
    background: #3b82f6;
}

.btn-preview {
    background: rgba(255, 255, 255, 0.1);
    color: #f5f5f5;
}

.btn-preview:hover {
    background: rgba(255, 255, 255, 0.15);
}

.empty-state {
    text-align: center;
    color: rgba(245, 245, 245, 0.4);
    padding: 40px;
    font-style: italic;
}

/* Détail projet dans admin */
.projet-detail-admin {
    max-width: 900px;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.detail-header h2 {
    font-size: 32px;
    margin: 0;
}

.detail-header > div {
    display: flex;
    gap: 12px;
}

.edit-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
}

.updates-section {
    margin-top: 48px;
}

.updates-section h3 {
    font-size: 28px;
    margin-bottom: 24px;
}

.form-inline {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.form-row > div {
    flex: 1;
    min-width: 150px;
}

.form-row label {
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
    color: rgba(245, 245, 245, 0.7);
}

.form-row input,
.form-row select {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f5f5f5;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
}

.btn-small {
    background: #60a5fa;
    color: #0d0d0d;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.btn-small:hover {
    background: #3b82f6;
}

.maj-form {
    margin-top: 16px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.maj-form summary {
    cursor: pointer;
    font-weight: 600;
    color: #60a5fa;
    margin-bottom: 16px;
}

.recent-updates {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mini-update {
    display: flex;
    gap: 12px;
    padding: 8px 0;
    font-size: 13px;
    color: rgba(245, 245, 245, 0.6);
}

.mini-update .date {
    color: rgba(245, 245, 245, 0.4);
    min-width: 80px;
}

/* Liste des mises à jour dans admin */
.maj-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.maj-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
}

.maj-item.edit-mode {
    background: rgba(96, 165, 250, 0.05);
    border-color: rgba(96, 165, 250, 0.2);
}

.maj-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.maj-date {
    font-size: 13px;
    color: rgba(245, 245, 245, 0.5);
}

.maj-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-icon-danger:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
}

.btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: #f5f5f5;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
}

.maj-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #f5f5f5;
}

.maj-content p {
    font-size: 14px;
    color: rgba(245, 245, 245, 0.7);
    line-height: 1.6;
}

/* Description complète du projet */
.projet-description-full {
    font-size: 16px;
    color: rgba(245, 245, 245, 0.85);
    line-height: 1.9;
    margin-top: 32px;
    max-width: 900px;
}

.projet-description-full strong {
    color: #60a5fa;
    font-weight: 700;
    font-size: 18px;
    display: block;
    margin-top: 32px;
    margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .intro {
        padding: 80px 0 60px;
    }
    
    .intro h2 {
        font-size: 48px;
    }
    
    .projets-liste {
        grid-template-columns: 1fr;
    }
    
    header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    nav {
        gap: 24px;
    }
    
    .login-box {
        padding: 32px 24px;
    }
    
    .private-intro-header {
        flex-direction: column;
    }
    
    .btn-admin-large {
        width: 100%;
        justify-content: center;
    }
    
    .projet-links {
        flex-direction: column;
        width: 100%;
    }
    
    .projet-links a {
        width: 100%;
        text-align: center;
    }
    
    .projet-header {
        flex-direction: column;
    }
    
    .projet-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .technologies {
        width: 100%;
    }
    
    .breadcrumb {
        flex-wrap: wrap;
    }
    
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .projet-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .projet-actions {
        width: 100%;
    }
    
    .btn-view, .btn-preview {
        flex: 1;
        text-align: center;
    }
    
    .detail-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-row > div {
        width: 100%;
    }
}

@media (hover: hover) {
    .projet {
        --mouse-x: 50%;
        --mouse-y: 50%;
    }
}
/* Description complète formatée */
.projet-description-full {
    margin-top: 32px;
    max-width: 900px;
}

.projet-description-full h3.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #60a5fa;
    margin-top: 32px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.projet-description-full p {
    font-size: 16px;
    color: rgba(245, 245, 245, 0.8);
    line-height: 1.8;
    margin-bottom: 16px;
}

.projet-description-full strong {
    color: #60a5fa;
    font-weight: 600;
}

/* Liste à puces stylisée */
.feature-list {
    list-style: none;
    margin: 16px 0 24px 0;
    padding: 0;
}

.feature-list li {
    padding-left: 28px;
    margin-bottom: 12px;
    position: relative;
    color: rgba(245, 245, 245, 0.8);
    font-size: 15px;
    line-height: 1.6;
}

.feature-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #60a5fa;
    font-weight: bold;
    font-size: 20px;
}
