/*
Theme Name: Lumina
Author: Votre Nom
Description: Un thème WordPress moderne, rapide et propre basé sur HTML5 et CSS Grid.
Version: 1.0
Text Domain: lumina
*/

/* 
 * VARIABLES CSS
 */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
    --radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* 
 * RESET & BASE 
 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); color: var(--text-dark); line-height: 1.6; background-color: var(--bg-white); }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* 
 * LAYOUT 
 */
.container { width: 90%; max-width: var(--container-width); margin: 0 auto; padding: 0 1rem; }
.section { padding: 5rem 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem auto; }
.section-title { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-dark); }
.section-subtitle { font-size: 1.125rem; color: var(--text-light); }

/* 
 * COMPOSANTS 
 */
.btn { display: inline-block; padding: 0.75rem 1.5rem; border-radius: var(--radius); font-weight: 600; cursor: pointer; transition: all 0.3s ease; border: none; }
.btn-primary { background-color: var(--primary-color); color: white; }
.btn-primary:hover { background-color: var(--secondary-color); transform: translateY(-2px); }
.btn-outline { background-color: transparent; border: 2px solid var(--primary-color); color: var(--primary-color); }
.btn-outline:hover { background-color: var(--primary-color); color: white; }

/* 
 * HEADER 
 */
.site-header { height: var(--header-height); background-color: rgba(255, 255, 255, 0.95); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; display: flex; align-items: center; }
.header-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.site-logo { font-size: 1.5rem; font-weight: 800; color: var(--primary-color); letter-spacing: -0.5px; }
.main-nav ul { display: flex; gap: 2rem; }
.main-nav a { font-weight: 500; font-size: 1rem; }
.main-nav a:hover { color: var(--primary-color); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .main-nav ul { display: none; flex-direction: column; position: absolute; top: var(--header-height); left: 0; width: 100%; background: white; padding: 1rem; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
    .main-nav ul.toggled-on { display: flex; }
}

/* 
 * HERO 
 */
.hero { background: linear-gradient(rgba(30, 41, 59, 0.7), rgba(30, 41, 59, 0.7)), url('https://picsum.photos/seed/wordpress-hero/1920/1080.jpg'); background-size: cover; background-position: center; height: 600px; display: flex; align-items: center; text-align: center; color: white; }
.hero-content { max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 1.5rem; }
.hero p { font-size: 1.25rem; margin-bottom: 2rem; color: rgba(255, 255, 255, 0.9); }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; }
.btn-white { background-color: white; color: var(--text-dark); }
.btn-white:hover { background-color: #f3f4f6; }

/* 
 * FEATURES 
 */
.features { background-color: var(--bg-white); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.feature-card { padding: 2rem; border-radius: var(--radius); background: white; border: 1px solid var(--border-color); transition: all 0.3s ease; }
.feature-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-5px); }
.feature-icon { width: 50px; height: 50px; background-color: #eff6ff; color: var(--primary-color); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; }

/* 
 * BLOG 
 */
.blog { background-color: var(--bg-light); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.article-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s ease; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-5px); }
.article-thumb { height: 200px; width: 100%; object-fit: cover; background-color: #ddd; } /* Placeholder bg */
.article-content { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.article-meta { font-size: 0.8rem; color: var(--primary-color); font-weight: 600; margin-bottom: 0.5rem; text-transform: uppercase; }
.article-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; line-height: 1.4; }
.article-title a { color: var(--text-dark); }
.article-title a:hover { color: var(--primary-color); }
.article-excerpt { color: var(--text-light); font-size: 0.95rem; margin-bottom: 1.5rem; flex-grow: 1; }

/* 
 * FOOTER 
 */
.site-footer { background-color: #111827; color: #d1d5db; padding: 4rem 0 2rem 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-col h4 { color: white; margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col a:hover { color: white; text-decoration: underline; }
.footer-bottom { border-top: 1px solid #374151; padding-top: 2rem; text-align: center; font-size: 0.9rem; }