@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary: #1E3A8A; /* Bleu profond et moderne */
    --secondary: #F97316; /* Orange dynamique */
    --light: #F3F4F6;
    --white: #FFFFFF;
    --text: #374151;
    --radius: 12px;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--text);
    line-height: 1.7;
}

.bg-light { background-color: var(--light); }
.text-primary { color: var(--primary); }
.text-center { text-align: center; }
.mt-2 { margin-top: 1.5rem; }
.w-100 { width: 100%; }

/* Header & Navigation */
header {
    background: linear-gradient(135deg, var(--primary) 0%, #2563EB 100%);
    color: var(--white);
    padding: 2rem 5%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

nav {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

nav a:hover, nav a.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* Layout Principal */
main {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 20px;
}

/* Cartes (Sections) */
.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.card h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 60px;
    background-color: var(--secondary);
    border-radius: 2px;
}

/* Liste de concepts */
ul.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

ul.feature-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

ul.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Boutons & Formulaires */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #E65C00;
}

.form-group { margin-bottom: 1.5rem; }

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Alertes (Planning) */
.alerte {
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
}

.alerte-info {
    background-color: #E0F2FE;
    color: #0284C7;
    border-left: 6px solid #0284C7;
}

.alerte-erreur {
    background-color: #FEE2E2;
    color: #DC2626;
    border-left: 6px solid #DC2626;
}

.login-container {
    max-width: 450px;
    margin: 5rem auto;
}

footer {
    text-align: center;
    padding: 2rem;
    color: #6B7280;
    font-size: 0.9rem;
}