/* ============================================================
   JARDINS & PLANTES - Styles Principaux
   Design naturel, moderne et responsive
   ============================================================ */

/* Variables CSS */
:root {
    --primary: #2d6a4f;
    --primary-dark: #1b4332;
    --primary-light: #52b788;
    --secondary: #d4a373;
    --accent: #e9c46a;
    --bg-light: #f8f9f5;
    --bg-white: #ffffff;
    --text-dark: #2b2d42;
    --text-light: #6c757d;
    --text-muted: #adb5bd;
    --border: #dee2e6;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    transition: var(--transition);
}

.nav-logo i {
    font-size: 1.75rem;
    color: var(--primary-light);
}

.nav-logo:hover {
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.85);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background: rgba(255,255,255,0.15);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.flash-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 3rem 1.5rem;
    max-width: 800px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-badge i {
    color: var(--accent);
}

/* ============================================================
   CONTAINERS
   ============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section-alt {
    background: white;
}

.hero.hero-minimal {
    min-height: 440px;
    background: var(--bg-light);
}

.hero.hero-minimal::before {
    display: none;
}

.hero.hero-minimal .hero-content {
    color: var(--text-dark);
}

.hero.hero-minimal h1 {
    color: var(--primary-dark);
    text-shadow: none;
    font-size: 3rem;
}

.hero.hero-minimal .hero-subtitle {
    color: var(--text-light);
    opacity: 1;
}

.home-hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.home-hero-kws {
    margin-top: 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.home-latin {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.home-tip-head {
    margin-bottom: 0.75rem;
}

.home-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
}

.home-cta-inner {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.home-cta-inner h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
}

.home-cta-inner p {
    max-width: 720px;
    margin: 0 auto 1.5rem;
    color: rgba(255,255,255,0.9);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ============================================================
   CARDS
   ============================================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
}

.card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.card-text {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
}

.card-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.card-meta i {
    color: var(--primary);
}

.card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: #bc8a5f;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-primary {
    background: #e8f5e9;
    color: var(--primary-dark);
}

.badge-secondary {
    background: #fff3e0;
    color: #e65100;
}

.badge-accent {
    background: #fff8e1;
    color: #f57f17;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
}

.feature-icon.green {
    background: #e8f5e9;
    color: var(--primary);
}

.feature-icon.orange {
    background: #fff3e0;
    color: #e65100;
}

.feature-icon.blue {
    background: #e3f2fd;
    color: #1565c0;
}

.feature h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.feature p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================================
   PLANT DETAIL
   ============================================================ */
.plant-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.plant-detail-img {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: white;
    min-height: 400px;
}

.plant-detail-info {
    padding: 3rem;
}

.plant-detail-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.plant-detail h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.plant-detail .latin {
    font-style: italic;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.plant-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.plant-spec {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.plant-spec i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 0.2rem;
    width: 20px;
}

.plant-spec-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.plant-spec-value {
    font-weight: 600;
    color: var(--text-dark);
}

/* ============================================================
   FILTERS
   ============================================================ */
.filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.filters form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.form-control {
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
    background: white;
    color: var(--text-dark);
    min-width: 200px;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

/* ============================================================
   CONSEILS
   ============================================================ */
.conseil-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.conseil-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.conseil-img {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.conseil-body {
    padding: 2rem;
}

.conseil-body h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.conseil-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.conseil-text {
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================================
   LOGIN
   ============================================================ */
.login-container {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.login-card {
    background: white;
    border-radius: var(--radius);
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-lg);
}

.login-card h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 0.5rem;
}

.login-card p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-group input {
    width: 100%;
}

.login-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-icon i {
    font-size: 3.5rem;
    color: var(--primary);
}

/* ============================================================
   CATEGORIES
   ============================================================ */
.category-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 220px;
}

.category-card:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.category-card-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27,67,50,0.95) 0%, rgba(27,67,50,0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: white;
}

.category-card-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.category-card-overlay p {
    font-size: 0.85rem;
    opacity: 0.85;
}

/* Couleurs de catégories */
.cat-fleurs .category-card-bg { background: linear-gradient(135deg, #f8bbd0, #f48fb1); }
.cat-arbres .category-card-bg { background: linear-gradient(135deg, #a5d6a7, #66bb6a); }
.cat-aromatiques .category-card-bg { background: linear-gradient(135deg, #fff59d, #fff176); }
.cat-legumes .category-card-bg { background: linear-gradient(135deg, #ffcc80, #ffa726); }
.cat-interieur .category-card-bg { background: linear-gradient(135deg, #bcaaa4, #8d6e63); }
.cat-fruits .category-card-bg { background: linear-gradient(135deg, #ef9a9a, #ef5350); }
.cat-grimpantes .category-card-bg { background: linear-gradient(135deg, #ce93d8, #ab47bc); }
.cat-cactus .category-card-bg { background: linear-gradient(135deg, #b2dfdb, #4db6ac); }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: calc(100vh - 70px);
}

.admin-sidebar {
    background: var(--primary-dark);
    color: white;
    padding: 2rem 1rem;
}

.admin-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1rem;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
}

.admin-sidebar-logo i {
    color: var(--primary-light);
}

.admin-nav {
    list-style: none;
}

.admin-nav li {
    margin-bottom: 0.25rem;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    color: rgba(255,255,255,0.75);
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(255,255,255,0.1);
    color: white;
}

.admin-main {
    padding: 2rem;
    background: var(--bg-light);
    overflow-y: auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-header h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-dark);
}

/* Table */
.table-container {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: var(--primary-dark);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.data-table tr:hover td {
    background: #f8f9f5;
}

.data-table .actions {
    display: flex;
    gap: 0.5rem;
}

.btn-action {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-edit {
    background: #e3f2fd;
    color: #1565c0;
}

.btn-edit:hover {
    background: #1565c0;
    color: white;
}

.btn-delete {
    background: #fce4ec;
    color: #c62828;
}

.btn-delete:hover {
    background: #c62828;
    color: white;
}

/* Form admin */
.admin-form {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    max-width: 800px;
}

.admin-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.admin-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.pagination a {
    background: white;
    color: var(--text-dark);
    box-shadow: var(--shadow);
}

.pagination a:hover {
    background: var(--primary);
    color: white;
}

.pagination span.current {
    background: var(--primary);
    color: white;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 4rem 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-logo i {
    color: var(--primary-light);
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.footer-links h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: var(--primary-light);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom i {
    color: #e74c3c;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .admin-grid {
        grid-template-columns: 1fr;
    }
    .admin-sidebar {
        display: none;
    }
}

.breadcrumbs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.breadcrumbs a {
    color: var(--primary-dark);
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.home-subnav {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1.25rem;
}

.badge-active {
    background: var(--primary);
    color: white;
}

.content-prose {
    max-width: 760px;
    margin: 1.5rem auto 0;
    color: var(--text-dark);
    line-height: 1.75;
    font-size: 1.05rem;
}

.content-prose h2 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 1.6rem;
}

.content-prose h3 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.content-prose h4 {
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: 1rem;
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

.content-prose p {
    color: var(--text-dark);
    margin-bottom: 0.9rem;
}

.content-prose ul,
.content-prose ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.content-prose li {
    margin: 0.35rem 0;
}

.content-prose a {
    color: var(--primary-dark);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.content-prose a:hover {
    color: var(--primary);
}

.content-prose blockquote {
    border-left: 4px solid rgba(45, 106, 79, 0.35);
    padding: 0.75rem 1rem;
    background: rgba(248, 249, 245, 0.8);
    margin: 1rem 0;
    border-radius: 10px;
}

.content-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.98rem;
}

.content-prose th,
.content-prose td {
    border: 1px solid var(--border);
    padding: 0.7rem 0.75rem;
    vertical-align: top;
}

.content-prose th {
    text-align: left;
    background: rgba(248, 249, 245, 0.9);
    color: var(--primary-dark);
    font-weight: 700;
}

.content-prose hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 1.75rem 0;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.spec-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
}

.spec-key {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
}

.spec-val {
    font-weight: 600;
    color: var(--primary-dark);
}

.form-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin-top: 1.5rem;
}

.search-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-width: 900px;
    margin: 1.5rem auto 0;
}

.article-hero-img {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: 1.25rem 0 0;
    background: var(--bg-white);
}

.article-hero-img img {
    width: 100%;
    height: auto;
    display: block;
}

.forum-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.forum-topic {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.forum-topic:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.forum-topic-title {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.35rem;
}

.forum-topic-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.forum-topic-meta i {
    color: var(--primary);
    margin-right: 0.25rem;
}

.forum-post {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto 1rem;
}

.forum-post-topic {
    border-color: rgba(45, 106, 79, 0.25);
}

.forum-post-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.forum-post-content {
    color: var(--text-light);
    line-height: 1.7;
}

.empty-state {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.empty-state h2 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-light);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        box-shadow: var(--shadow);
    }
    .nav-menu.active {
        transform: translateY(0);
    }
    .nav-toggle {
        display: block;
    }
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero.hero-minimal h1 {
        font-size: 2.35rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .plant-detail {
        grid-template-columns: 1fr;
    }
    .plant-detail-img {
        min-height: 250px;
        font-size: 5rem;
    }
    .conseil-card {
        grid-template-columns: 1fr;
    }
    .conseil-img {
        height: 150px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .admin-form .form-row {
        grid-template-columns: 1fr;
    }

    .spec-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .login-card {
        padding: 2rem 1.5rem;
    }
}
