body { font-family: 'Inter', sans-serif; }
.glass { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); }

/* Fix pour le défilement du menu */
section { scroll-margin-top: 5rem; }

.logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    width: 100px;
    height: 50px;
    font-size: 0.65rem;
    color: #64748b;
    text-align: center;
    padding: 4px;
    flex-shrink: 0;
    overflow: hidden;
}
.logo-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.avatar-placeholder {
    width: 120px;
    height: 120px;
    background-color: #f1f5f9;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    margin: 0 auto 1.5rem;
    overflow: hidden;
}
.experience-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.experience-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Hero : fond abstrait bleu/violet, léger pour préserver la lisibilité */
.hero-section {
    position: relative;
    isolation: isolate;
    background-image:
            linear-gradient(rgba(248, 250, 252, 0.16), rgba(248, 250, 252, 0.24)),
            url('../images/hero.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
@media (max-width: 640px) {
    .hero-section {
        background-position: center center;
    }
}

/* Panneau translucide du Hero : lisibilité du contenu sur le fond illustré */
.hero-content-panel {
    max-width: 1100px;
    margin-inline: auto;
    padding: 2.5rem 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(16px);
    box-shadow:
        0 18px 55px rgba(39, 57, 110, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero-content-panel h1,
.hero-content-panel p {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero-content-panel .avatar-placeholder {
    background: #fff;
    box-shadow: 0 8px 24px rgba(31, 41, 55, 0.16);
}

.hero-content-panel a[href^="mailto:"] {
    color: #334155;
    font-weight: 500;
}

@media (max-width: 640px) {
    .hero-content-panel {
        padding: 2rem 1.1rem;
        border-radius: 1.35rem;
        background: rgba(255, 255, 255, 0.2);
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
    }

    .hero-content-panel > p.text-2xl {
        font-size: 1.15rem;
        line-height: 1.65;
    }
}

.hero-content-panel .cv-button {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.35);
    color: #4f46e5;
    transition: all 0.3s ease;
}

.hero-content-panel .cv-button:hover {
    background: rgba(255, 255, 255, 0.45);
    border-color: #6366f1;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.15);
    transform: translateY(-1px);
}

.hero-content-panel .social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.15);
    transform: translateY(-1px);
}

.experience-card .text-indigo-600, .other-experience-card .text-indigo-600 {
    opacity: 0.45;
    font-weight: 500;
}