body{
    overflow-y: hidden;
}

#home-page, header {
    top: -150px; /* Caché au début seulement sur la home */
}

#intro-container {
    position: fixed;
    inset: 0;
    /* Prend tout l'écran */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    pointer-events: none;
    /* Pour pouvoir cliquer à travers une fois l'anim finie */
}

#logo {
    width: 600px;
    /* On part d'une version grande pour éviter le flou */
    max-width: 90vw;
    height: auto;
    opacity: 0;
    will-change: transform, opacity;
    /* Optimisation GPU */
    transform-origin: center center;

}

.slogan {
    color: white;
    margin-top: 20px;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-size: 1.2rem;
    opacity: 0;
    background: linear-gradient(90deg, #1A5BB0, #38D344);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#expertise {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px 30px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

/* Couleurs de bordure au survol */
.card[data-color="blue"]:hover {
    border-color: #1A5BB0;
    box-shadow: 0 0 20px rgba(26, 91, 176, 0.2);
}

.card[data-color="white"]:hover {
    border-color: #FFFFFF;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.card[data-color="green"]:hover {
    border-color: #38D344;
    box-shadow: 0 0 20px rgba(56, 211, 68, 0.2);
}

.icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.card p {
    color: #aaa;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.card-tags {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.card-tags li {
    font-size: 0.7rem;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: #888;
    text-transform: uppercase;
}