/* Variables de couleurs - Thème Médical */
:root {
    --primary: #1e40af;       /* Bleu foncé */
    --primary-light: #3b82f6; /* Bleu clair */
    --accent: #10b981;        /* Vert médical */
    --bg-light: #f8fafc;      /* Fond de page */
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAVIGATION */
.navbar {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.flex-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-main, .btn-outline {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;
}

.btn-main { background: var(--white); color: var(--primary); }
.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn-main:hover { transform: translateY(-3px); }

/* MODULES CARDS */
.modules { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 40px; }

.grid-modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.card-icon.blue { background: #dbeafe; color: #1e40af; }
.card-icon.lightblue { background: #e0f2fe; color: #0369a1; }
.card-icon.green { background: #d1fae5; color: #059669; }
.card-icon.purple { background: #f3e8ff; color: #7e22ce; }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }
.card a { text-decoration: none; color: var(--primary); font-weight: 600; font-size: 0.9rem; }

/* CTA SECTION */
.cta-box {
    background: var(--primary);
    color: var(--white);
    padding: 50px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
}

/* FOOTER */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 40px 0;
    text-align: center;
}

.disclaimer { font-size: 0.75rem; margin-top: 10px; font-style: italic; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .flex-nav, .cta-box { flex-direction: column; text-align: center; gap: 20px; }
    .hero h1 { font-size: 2rem; }
    
    /* --- AJOUTS POUR LES NOUVELLES PAGES --- */
.py-60 { padding: 60px 0; }
.category-title { margin-bottom: 20px; color: var(--primary); font-size: 1.4rem; border-bottom: 2px solid #e2e8f0; padding-bottom: 10px; }
.badge { background: #dcfce7; color: #166534; padding: 4px 10px; border-radius: 5px; font-size: 0.8rem; font-weight: bold; }
.badge-expert { background: #fef3c7; color: #92400e; padding: 4px 10px; border-radius: 5px; font-size: 0.8rem; font-weight: bold; }

/* Galerie */
.gallery-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.filter-bar { display: flex; gap: 10px; }
.filter-btn { padding: 8px 18px; border-radius: 20px; border: 1px solid var(--primary); background: transparent; color: var(--primary); cursor: pointer; transition: 0.3s; }
.filter-btn.active, .filter-btn:hover { background: var(--primary); color: white; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.gallery-item { background: white; border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0; }
.img-placeholder { background: #000; height: 180px; display: flex; items-center; justify-content: center; color: white; font-size: 2rem; opacity: 0.8; }
.item-info { padding: 15px; }

/* Formulaire */
.form-container { max-width: 700px; margin: 0 auto; background: white; padding: 40px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 20px; display: flex; flex-direction: column; }
.form-group label { font-weight: 600; margin-bottom: 8px; font-size: 0.95rem; }
.form-group input, .form-group select, .form-group textarea { padding: 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-family: inherit; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.upload-area { border: 2px dashed #cbd5e1; padding: 40px; text-align: center; border-radius: 15px; cursor: pointer; margin-bottom: 25px; transition: 0.3s; }
.upload-area:hover { border-color: var(--primary); background: #f0f7ff; }
.upload-area i { font-size: 3rem; color: var(--primary-light); margin-bottom: 10px; }
.consent-box { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 25px; font-size: 0.9rem; }
.btn-submit { background: var(--primary); color: white; border: none; padding: 15px; width: 100%; border-radius: 10px; font-weight: bold; cursor: pointer; font-size: 1rem; }
}