/* ===== SECTION HERO ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--mint-light) 100%);
    overflow: hidden;
    padding: 0 120px;
    scroll-snap-align: start;
    transition: background 0.3s ease;
}

/* Texture de fond */
.grain-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.02) 2px, rgba(0,0,0,0.02) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,0.02) 2px, rgba(0,0,0,0.02) 4px);
    pointer-events: none;
    opacity: 0.5;
}

/* Formes animées */
.floating-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(149, 199, 174, 0.2) 0%, rgba(90, 143, 123, 0.1) 100%);
    top: 10%;
    left: 15%;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(212, 237, 218, 0.3) 0%, rgba(149, 199, 174, 0.15) 100%);
    bottom: 15%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(90, 143, 123, 0.15) 0%, rgba(61, 90, 80, 0.1) 100%);
    top: 60%;
    left: 70%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(5deg); }
    50% { transform: translate(-20px, 20px) rotate(-5deg); }
    75% { transform: translate(30px, 10px) rotate(3deg); }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
}

.hero-tag {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--forest-green);
    letter-spacing: 2px;
    margin-bottom: 30px;
    padding: 8px 20px;
    border-radius: 30px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 30px;
    color: var(--text-primary);
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    line-height: 1.8;
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-cta {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.btn-primary, .btn-secondary {
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--deep-green) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(90, 143, 123, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 -100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(90, 143, 123, 0.5);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--deep-green);
    border: 2px solid var(--sage-green);
}

.btn-secondary:hover {
    background: var(--sage-green);
    border-color: var(--forest-green);
    transform: translateY(-3px);
}

.hero-social {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hero-social a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 10px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--sage-green);
    color: var(--deep-green);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-social a:hover {
    background: var(--sage-green);
    border-color: var(--forest-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 143, 123, 0.2);
}

.hero-social svg {
    width: 20px;
    height: 20px;
}


@keyframes scrollDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(15px);
        opacity: 1;
    }
}


/* ===== RESPONSIVE =====*/

/* grand écran 1400px */
@media (max-width: 1400px) {
    .hero-section { padding: 0 40px; }
}

/* tablette  1200px */
@media (max-width: 1200px) {
    .hero-section { padding: 0 80px; }
}

/* mobile  768px */
@media (max-width: 768px) {

    .hero-title { font-size: 3rem; }
    .hero-cta { flex-direction: column; }
    .hero-social { flex-direction: column; gap: 10px; }
    .hero-social a { justify-content: center; }
}