/**
 * Homepage CSS - WeAreRH
 * Créé le: 2025-12-19
 * Modifié le: 2025-12-19
 * 
 * Styles pour la page d'accueil (dev.wearerh.com)
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    min-height: 100vh;
    color: #1e293b;
}

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

/* Header */
header {
    text-align: center;
    padding: 3rem 1rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #122655 0%, #1e40af 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #122655;
}

.tagline {
    font-size: 1.25rem;
    color: #64748b;
    margin-top: 0.5rem;
}

/* Tools Grid */
.tools-section {
    padding: 2rem 0;
}

.section-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 2rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
}

.tool-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    border: 2px solid transparent;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.tool-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.tool-icon.rupture {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.tool-icon.jours {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.tool-icon.ijss {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
}

.tool-icon.anciennete {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.tool-icon.gratification {
    background: linear-gradient(135deg, #e9d5ff 0%, #d8b4fe 100%);
}

.tool-icon.taxe-salaires {
    background: linear-gradient(135deg, #fef9c3 0%, #fde047 100%);
}

.tool-icon.cp-maladie {
    background: linear-gradient(135deg, #cffafe 0%, #67e8f9 100%);
}

.tool-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.tool-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.tool-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3b82f6;
    font-weight: 600;
    margin-top: 1rem;
}

.tool-cta svg {
    transition: transform 0.2s;
}

.tool-card:hover .tool-cta svg {
    transform: translateX(4px);
}

/* Features */
.features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 3rem 1rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #64748b;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #122655;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 1rem;
    color: #94a3b8;
    font-size: 0.875rem;
}

footer a {
    color: #64748b;
    text-decoration: none;
}

footer a:hover {
    color: #122655;
}

/* Responsive */
@media (max-width: 640px) {
    h1 {
        font-size: 1.75rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .features {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
}

/* Badge NEW */
.badge-new {
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* Counter badge */
.tools-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #122655;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
    margin-left: 0.5rem;
}
