/* Variables globales */
:root {
    --primary-color: #2a2a2a;
    --secondary-color: #4a90e2;
    --background-color: #f5f5f5;
    --text-color: #333;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --header-height: 80px;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Header et Navigation */
header {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: all 0.3s ease;
}

header.scrolled {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    opacity: 0.95;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-menu a[aria-current="page"] {
    color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Hamburger menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.3s ease;
}

/* Ajustement du main pour le header fixe */
main {
    margin-top: var(--header-height);
}

/* Sections principales */
.hero-section {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
}

/* Outils de veille */
.tools-section {
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.tools-section h2 {
    margin-bottom: 2rem;
    color: var(--text-color);
    font-size: 2rem;
    text-align: center;
    width: 100%;
    display: block;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

.tool-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    text-align: center;
}

.tool-card:hover {
    transform: translateY(-5px);
}

.tool-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tool-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.tool-card p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.5;
}

/* Articles */
.content-section {
    padding: 4rem 2rem;
}

.content-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--primary-color);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.article-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

.card-link {
    text-decoration: none;
    color: inherit;
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.card-description {
    margin-bottom: 1rem;
    color: #666;
}

.card-date {
    color: #888;
    font-size: 0.9rem;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #888;
    font-size: 0.9rem;
}

.card-date, .read-time {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.read-time i {
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: var(--secondary-color);
}

/* Media Queries */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.95);
        padding: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .hamburger.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tool-card {
        padding: 1.5rem;
    }
}

/* Solutions Section */
.solutions-section {
    padding: 4rem 0;
}

.solutions-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    margin: 3rem 0 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.section-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    color: #666;
    line-height: 1.6;
}