/* ===========================
   HERO SECTION
   =========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 2rem 2rem;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
}

.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 300;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-title .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
}

/* Bouton de téléchargement du CV */
.cv-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1.8rem;
    background: var(--gradient-accent);
    color: var(--accent-deep);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-accent);
}

.cv-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
}

.cv-download-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* Shape SVG avec effet de suivi de souris */
.hero-shape {
    position: fixed;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    opacity: 0.6;
    pointer-events: none;
    z-index: -1;
    will-change: transform;
    transition: opacity 0.3s ease;
}

.hero-shape circle {
    transform-origin: center;
    animation: float 6s ease-in-out infinite;
    fill: var(--accent-primary);
}

.hero-shape circle:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-shape circle:nth-child(3) {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

/* Image de profil avec effet flip */
.hero-image-container {
    flex-shrink: 0;
    perspective: 1000px;
}

.flip-card {
    width: 350px;
    height: 350px;
    cursor: pointer;
    position: relative;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

/* Sur desktop : hover pour flip */
@media (hover: hover) and (pointer: fine) {
    .flip-card:hover .flip-card-inner {
        transform: rotateY(180deg);
    }
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-accent), 0 8px 24px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--color-border-strong);
}

.flip-card-back {
    transform: rotateY(180deg);
}

.hero-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

