/* --- HERO SECTION --- */
.hero {
    background: radial-gradient(circle at top right, #1E293B 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 7rem 0 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Motif de fond subtil en CSS */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: rgba(16, 185, 129, 0.12);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.03em;
}

.hero h1 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent-green) 0%, #34D399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: #94A3B8;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- SECTION EXPERTISE / GRILLE --- */
.features {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark-blue);
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* Cartes épurées style SaaS moderne */
.card {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.08);
    border-color: rgba(2, 132, 199, 0.3);
}

.card-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background-color: rgba(2, 132, 199, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.card:nth-child(2) .card-icon-wrapper {
    background-color: rgba(16, 185, 129, 0.08);
}

.card:nth-child(3) .card-icon-wrapper {
    background-color: rgba(15, 23, 42, 0.06);
}

.card h3 {
    color: var(--dark-blue);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.card p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.card-link:hover {
    gap: 0.75rem;
    color: var(--accent-green);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background-color: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.tech-tag:hover {
    background-color: var(--dark-blue);
    color: var(--white);
    border-color: var(--dark-blue);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.img-logo {
    height: 55px;
    width: auto;
    display: block;
}

.text-logo {
    gap: 0px;
}

.main-logo {
    border: 1px solid var(--border-color);
    padding: 1rem 1rem;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.main-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.08);
    border-color: rgba(2, 132, 199, 0.3);
}

.main-logo p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.title-logo {
    text-align: center;
    font-size: xx-large;
    color: black;
}

.logo-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px 45px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
    filter: grayscale(0%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero {
        padding: 4.5rem 0 3.5rem 0;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .features {
        padding: 4rem 0;
    }
}