.hero-section {
    background: linear-gradient(135deg, #D1FAE5 0%, #FEF3C7 100%);
    padding: 4rem 0;
    margin-bottom: 0;
    margin-top: -3rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    overflow: visible;
}

.hero-text {
    text-align: left;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.hero-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.logo-container-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    position: relative;
    z-index: 2;
}

.logo-container {
    position: relative;
    display: inline-block;
}

.logo-frame {
    position: relative;
    background: white;
    padding: 1rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.15);
    overflow: visible;
    margin: 0 auto;
    z-index: 2;
    border: 3px solid var(--light-green);
    transition: all 0.3s;
}

.logo-frame:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(16, 185, 129, 0.25);
}

.logo-image {
    max-width: 250px;
    height: auto;
    display: block;
    border-radius: 15px;
}

.veggie {
    position: absolute;
    font-size: 2.5rem;
    animation: float-veggie 3s ease-in-out infinite;
    z-index: 0;
    transform: translateX(-50%);
    opacity: 0.9;
}

.veggie-1 { top: 66%; left: 10%; animation-delay: 0s; }
.veggie-2 { top: 20%; left: 36%; animation-delay: 0.5s; }
.veggie-3 { top: 65%; left: 42%; animation-delay: 1s; }
.veggie-4 { top: 18%; left: 60%; animation-delay: 1.5s; }
.veggie-5 { top: 46%; left: 76%; animation-delay: 2s; }
.veggie-6 { top: 72%; left: 90%; animation-delay: 2.5s; }

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

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

@media (max-width: 768px) {
    .hero-text h1 { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-description { font-size: 1rem; }
    .logo-image { max-width: 180px; }
    .logo-container { min-height: auto; margin-bottom: 3rem; }

    .veggie {
        font-size: 2rem;
        position: absolute;
        bottom: -2.5rem;
        top: auto !important;
        transform: translateX(-50%);
    }
    .veggie-1 { left: 10% !important; }
    .veggie-2 { left: 25% !important; }
    .veggie-3 { left: 40% !important; }
    .veggie-4 { left: 55% !important; }
    .veggie-5 { left: 70% !important; }
    .veggie-6 { left: 85% !important; }

    .hero-text { text-align: center; margin-top: 2rem; }
    .logo-container-wrapper { position: relative; margin-bottom: 2rem; }
}

/* Fil d'actualite */
.news-feed-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #F0FDF4 100%);
    margin: 0;
}

.news-feed-list {
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--light-green);
}

.news-feed-item {
    position: relative;
    padding: 1rem 0 1rem 1.5rem;
}

.news-feed-item.pinned {
    background: linear-gradient(90deg, rgba(255, 243, 205, 0.3) 0%, transparent 100%);
    border-radius: 0 12px 12px 0;
    padding-right: 1rem;
}

.news-feed-dot {
    position: absolute;
    left: -11px;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    background: var(--primary-green);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 3px var(--light-green);
}

.news-feed-item.pinned .news-feed-dot {
    background: #ffc107;
    box-shadow: 0 0 0 3px #fff3cd;
}

.news-feed-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.news-feed-date {
    color: var(--text-light);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.news-feed-pin { font-size: 0.75rem; }

.news-feed-content h4 {
    margin-bottom: 0.3rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.news-feed-content h4 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.news-feed-content h4 a:hover { color: var(--primary-green); }

.news-feed-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.news-section {
    padding: 3rem 0;
    background: #ffffff;
    margin: 0;
}

.section-title {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-card {
    background: linear-gradient(145deg, #ffffff 0%, #F9FAFB 100%);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15);
    border-color: var(--light-green);
}

.news-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.news-category {
    background: var(--primary-green);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.news-date {
    color: var(--text-light);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.news-card h4 {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.news-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    flex-grow: 1;
}

.news-link {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 0.3s;
    margin-top: auto;
}

.news-link:hover { gap: 0.5rem; }

.events-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #FEF3C7 0%, #FFF7ED 100%);
    margin: 0;
}

.event-card {
    background: linear-gradient(145deg, #ffffff 0%, #FEF3C7 100%);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(249, 115, 22, 0.08);
    display: flex;
    gap: 1rem;
    transition: all 0.3s;
    border: 2px solid transparent;
    border-left: 5px solid var(--accent-orange);
    min-height: 180px;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.2);
    border-color: var(--warm-yellow);
}

.event-date-badge {
    background: var(--gradient-main);
    color: white;
    border-radius: 12px;
    padding: 0.75rem;
    text-align: center;
    min-width: 70px;
    height: fit-content;
}

.event-day { font-size: 2rem; font-weight: 800; line-height: 1; }
.event-month { font-size: 0.75rem; font-weight: 600; margin-top: 0.25rem; }
.event-info { flex: 1; }

.event-info h4 {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.event-location {
    color: var(--accent-orange);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.event-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.btn-outline-success {
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 15px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-outline-success:hover {
    background: var(--gradient-main);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    border-color: var(--secondary-green);
}

.featured-recipe-section {
    padding: 3rem 0;
    margin: 0;
    background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%);
}

.featured-recipe-card {
    background: linear-gradient(135deg, #ffffff 0%, #D1FAE5 100%);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 15px 50px rgba(16, 185, 129, 0.15);
    border: 3px solid var(--light-green);
}

.featured-recipe-icon {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #D1FAE5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
    border: 3px solid var(--light-green);
    animation: float 3s ease-in-out infinite;
}

.featured-recipe-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.featured-recipe-meta div {
    background: rgba(76, 175, 80, 0.08);
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.highlight-section {
    padding: 3rem 0;
    background: #f8f9fa;
    margin: 0;
}

.quick-actions-section {
    padding: 3rem 0;
    margin: 0;
    background: linear-gradient(135deg, #D1FAE5 0%, #DBEAFE 100%);
}

.quick-card {
    background: linear-gradient(145deg, #ffffff 0%, #F9FAFB 100%);
    border-radius: 25px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.12);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    border: 2px solid transparent;
}

.quick-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(16, 185, 129, 0.2);
    border-color: var(--light-green);
}

.highlight-title {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 2.3rem;
}

.highlight-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* Menu du jour - version compacte */
.today-menu-section {
    padding: 2rem 0;
    margin: 0;
    background: #ffffff;
}

.today-menu-card-compact {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #e9ecef;
}

.today-menu-item-compact {
    background: white;
    border-radius: 10px;
    padding: 0.8rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    height: 100%;
    transition: all 0.2s;
}

.today-menu-item-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.menu-item-icon-compact { font-size: 1.5rem; text-align: center; margin-bottom: 0.3rem; }

.menu-item-title-compact {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    text-align: center;
    letter-spacing: 0.3px;
}

.menu-item-name-compact {
    font-size: 0.8rem;
    color: #495057;
    margin-bottom: 0.3rem;
    text-align: center;
    line-height: 1.3;
}

.btn-compact { transition: all 0.2s; }

.btn-compact:hover {
    background: #6c757d !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.dish-leaderboard {
    background: linear-gradient(145deg, #ffffff 0%, #F9FAFB 100%);
    border-radius: 25px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.12);
    border: 2px solid var(--light-green);
}

.dish-leaderboard h3 { font-weight: 600; margin-bottom: 1.25rem; }
.dish-leaderboard--top h3 { color: var(--primary-green); }
.dish-leaderboard--flop h3 { color: var(--accent-orange); }

.dish-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.25rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #F9FAFB 0%, #ffffff 100%);
    margin-bottom: 0.75rem;
    border: 1px solid #E5E7EB;
    transition: all 0.3s;
}

.dish-row:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.1);
}

.dish-row:last-child { margin-bottom: 0; }

.dish-rank {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-green);
    min-width: 48px;
    text-align: center;
}

.dish-leaderboard--flop .dish-rank { color: var(--accent-orange); }

.dish-row__content strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.15rem;
}

.dish-row__content small { color: var(--text-light); }

@media (max-width: 768px) {
    .highlight-title { font-size: 1.8rem; }
    .highlight-subtitle { font-size: 0.9rem; }

    .news-section,
    .featured-recipe-section,
    .highlight-section,
    .quick-actions-section {
        padding: 2.5rem 0;
    }

    .section-separator { padding: 2.5rem 0; }

    .featured-recipe-card { padding: 1.5rem; border-radius: 20px; }

    .featured-recipe-icon {
        width: 120px;
        height: 120px;
        font-size: 3.5rem;
        border-radius: 18px;
    }

    .featured-recipe-section h2 { font-size: 1.8rem !important; }
    .featured-recipe-section p[style*="font-size: 1.1rem"] { font-size: 0.9rem !important; }
    .featured-recipe-card h3 { font-size: 1.4rem !important; }
    .featured-recipe-card p[style*="font-size: 1.1rem"] { font-size: 0.95rem !important; }
    .featured-recipe-meta { gap: 0.75rem; }
    .featured-recipe-meta div { font-size: 0.8rem; padding: 0.4rem 0.75rem; }
    .quick-card { padding: 1.5rem; border-radius: 18px; }
    .quick-card div[style*="font-size: 4rem"] { font-size: 2.5rem !important; }
    .quick-actions-section h2 { font-size: 1.5rem !important; }
    .event-card { min-height: auto; padding: 1rem; }
    .event-date-badge { min-width: 55px; padding: 0.5rem; }
    .event-day { font-size: 1.5rem; }
    .news-card { min-height: auto; padding: 1.2rem; }
    .dish-leaderboard { padding: 1.5rem; border-radius: 18px; }
    .dish-row { padding: 0.75rem 1rem; border-radius: 12px; }
    .dish-rank { font-size: 1.1rem; min-width: 36px; }
    .btn-outline-success { padding: 0.6rem 1.5rem; font-size: 0.9rem; }
}

@media (max-width: 480px) {
    .news-section,
    .featured-recipe-section,
    .highlight-section,
    .quick-actions-section,
    .section-separator {
        padding: 2rem 0;
    }

    .featured-recipe-icon { width: 90px; height: 90px; font-size: 2.8rem; }
    .quick-card { padding: 1.2rem; }
}

/* Section separators */
.section-separator {
    margin: 0;
    padding: 5rem 0;
    background: linear-gradient(135deg, #F9FAFB 0%, #E0F2FE 100%);
}

/* Fade-in animations on scroll */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero section always visible */
.hero-section {
    opacity: 1;
    transform: none;
}
