* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, #f2f8f5 0%, #ffffff 50%, #eef6f2 100%);
    color: #1a202c;
    min-height: 100vh;
}

/* Barre de navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 6%;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
}

.logo span {
    color: #15803d;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #15803d;
}

.nav-actions {
    display: flex;
    gap: 12px;
}

/* Boutons */
.btn-primary {
    background-color: #16803c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.btn-primary:hover {
    background-color: #116630;
}

.btn-outline {
    background-color: white;
    color: #111827;
    border: 1px solid #d1d5db;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: #16803c;
    color: #16803c;
}

.large {
    padding: 14px 26px;
    font-size: 15px;
}

.small {
    padding: 8px 16px;
    font-size: 13px;
    margin-top: 12px;
}

.full-width {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    margin-top: 10px;
}

/* Section Hero */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 6%;
    gap: 50px;
}

.hero-left {
    flex: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 24px;
}

.badge-yellow {
    background-color: #facc15;
    color: #111827;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 11px;
}

.hero-left h1 {
    font-size: 52px;
    line-height: 1.1;
    font-weight: 800;
    color: #111827;
    margin-bottom: 20px;
}

.hero-left h1 span {
    color: #16803c;
    border-bottom: 4px solid #16803c;
}

.subtitle {
    color: #4b5563;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.stats {
    display: flex;
    gap: 35px;
    border-top: 1px solid #e5e7eb;
    padding-top: 25px;
}

.stat-item strong {
    display: block;
    font-size: 20px;
    color: #111827;
}

.stat-item span {
    font-size: 13px;
    color: #6b7280;
}

/* Grille de droite (style maquette) */
.hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-main {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border: 1px solid #f3f4f6;
}

.card-header {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 12px;
}

.card-banner {
    background-color: #f5efe6;
    padding: 25px;
    border-radius: 14px;
    margin-bottom: 15px;
}

.card-banner h3 {
    font-size: 20px;
    color: #111827;
    margin-bottom: 6px;
}

.card-banner p {
    font-size: 14px;
    color: #4b5563;
}

.card-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.icon-box {
    background: #f9fafb;
    padding: 18px 10px;
    border-radius: 12px;
    text-align: center;
    font-size: 24px;
}

.icon-box span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-top: 8px;
}

.cards-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.mini-card {
    padding: 18px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.mini-card h4 {
    font-size: 15px;
    margin-bottom: 5px;
}

.mini-card p {
    font-size: 12px;
}

.yellow-bg {
    background-color: #fef08a;
    color: #854d0e;
}

.green-bg {
    background-color: #166534;
    color: white;
}

.light-bg {
    background-color: #e0f2fe;
    color: #075985;
}

/* Fenêtre Modale de Connexion */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.hidden {
    display: none !important;
}

.modal-content {
    background: white;
    padding: 35px;
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.close-btn {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 26px;
    cursor: pointer;
    color: #6b7280;
}

.modal-header {
    margin-bottom: 20px;
}

.modal-header h2 {
    margin-top: 8px;
    font-size: 24px;
    color: #111827;
}

.modal-header p {
    font-size: 14px;
    color: #6b7280;
}

.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 14px;
}

.input-group input:focus {
    outline: none;
    border-color: #16803c;
}

.error-text {
    color: #dc2626;
    font-size: 13px;
    margin-bottom: 10px;
    font-weight: 500;
}

/* Espace d'Administration */
.admin-dashboard {
    padding: 40px 6%;
    background-color: #f0fdf4;
    border-top: 3px solid #16803c;
}

.admin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-top h2 {
    font-size: 28px;
    margin: 8px 0;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.admin-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.admin-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.admin-card p {
    font-size: 14px;
    color: #4b5563;
}
