/* --- Styles de la Page d'Accueil --- */
:root {
    --primary: #0078D4;
    --bg-color: #f8f9fa;
    --text-main: #333;
    --card-bg: #fff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
}

/* Navbar & Langues */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: var(--card-bg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.logo { font-size: 24px; font-weight: bold; color: var(--primary); }

.lang-switch { display: flex; gap: 5px; background: #eee; padding: 3px; border-radius: 6px; }
.lang-btn {
    border: none; padding: 5px 10px; border-radius: 4px; cursor: pointer; font-weight: bold;
    background: transparent; color: #666; transition: 0.2s;
}
.lang-btn.active { background: white; color: var(--primary); box-shadow: 0 1px 3px rgba(0,0,0,0.1); }

/* Hero Section */
.hero { text-align: center; padding: 60px 20px; }
.hero h1 { font-size: 36px; margin-bottom: 15px; }
.hero p { font-size: 18px; color: #666; max-width: 600px; margin: 0 auto; }

/* Bouton */
.btn-outline { background-color: transparent; border: 2px solid #0078D4; color: #0078D4; padding: 8px 15px; border-radius: 4px; font-weight: bold; cursor: pointer; transition: 0.2s; }
.btn-outline:hover { background-color: #0078D4; color: white; }

/* Grille des outils */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.tool-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-decoration: none; /* Enlève le soulignement du lien */
    color: inherit;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.tool-card:hover:not(.disabled) {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.tool-icon { font-size: 40px; margin-bottom: 15px; }
.tool-card h2 { font-size: 20px; margin-bottom: 10px; }
.tool-card p { color: #666; font-size: 15px; line-height: 1.5; margin-bottom: 20px; flex-grow: 1; }

.disabled { opacity: 0.6; cursor: not-allowed; }

/* Badges (Étiquettes) */
.badge { align-self: flex-start; padding: 5px 10px; border-radius: 20px; font-size: 12px; font-weight: bold; }
.badge-ready { background: #d1e7dd; color: #0f5132; }
.badge-dev { background: #fff3cd; color: #664d03; }
.badge-idea { background: #e2e3e5; color: #41464b; }

/* --- Pied de page (Copyright) --- */
.site-footer {
    background-color: var(--card-bg, #ffffff);
    border-top: 1px solid var(--border-color, #e0e0e0);
    padding: 20px;
    text-align: center;
    margin-top: 40px;
    color: var(--text-muted, #666);
}

.footer-content p {
    margin: 5px 0;
    font-size: 14px;
    font-weight: 500;
}

.footer-subtext {
    font-size: 12px;
    font-style: italic;
    opacity: 0.8;
}