/* Importar fonte moderna */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* =========================================
   RESET E BASE
   ========================================= */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    overflow-y: auto; 
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Scrollbar */
::-webkit-scrollbar { width: 12px; } 
::-webkit-scrollbar-track { background: rgba(93, 155, 62, 0.05); }
::-webkit-scrollbar-thumb { background: #9BC786; border-radius: 6px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background-color: var(--primary-color); }

/* =========================================
   HEADER FIXO
   ========================================= */
.header-fixed {
    position: fixed; top: 0; left: 0; right: 0; height: 80px; /* Reduzido para 80px */
    background: var(--bg-body); 
    display: flex; align-items: center; padding: 0 1.5rem; /* Padding lateral reduzido */
    z-index: 1050;
    border-bottom: 1px solid var(--border-light);
    justify-content: space-between; 
}

.header-logo-container {
    display: flex; align-items: center; gap: 10px; /* Reduzido o gap para 10px */
    /* Posicionamento do logo no Mobile: Move ligeiramente para a direita */
    position: absolute; left: 50%; transform: translateX(-50%);
}

.header-logo { height: 40px; width: auto; }
.header-title { font-weight: 800; font-size: 1.4rem; letter-spacing: -0.5px; color: var(--primary-color); }

/* CORREÇÃO MOBILE: Reduz o tamanho do título para caber entre o botão e a margem */
@media (max-width: 576px) {
    .header-fixed {
        padding: 0 1rem;
    }
    .header-logo-container {
        /* Move o logo para a direita para evitar sobreposição com o botão Menu (100px é o espaço do botão + margem) */
        left: 50%;
        transform: translateX(-35%); 
    }
    .header-title {
        font-size: 1.2rem; /* Título menor para caber */
    }
}
/* =========================================
   HERO SECTION (Gigante e Dividida)
   ========================================= */
.hero-section {
    margin-top: 80px; /* Ajustado à nova altura do Header */
    min-height: 85vh; 
    padding: 5rem 2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--bg-body) 0%, rgba(93, 155, 62, 0.08) 100%);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
    position: relative;
}

/* Elementos decorativos de fundo (Círculos/Formas da imagem inspiração) */
.hero-section::before {
    content: '';
    position: absolute;
    top: -10%; right: -5%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(230, 179, 62, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Colunas: Texto | Imagem */
    gap: 4rem;
    align-items: center;
    z-index: 1;
}

.hero-text {
    text-align: left;
    padding-left: 2rem;
}

/* Título Enorme */
.hero-title {
    font-size: 5rem; /* Muito grande */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -2px;
    text-transform: capitalize;
}

.hero-title span {
    color: var(--secondary-color); /* Destaque em amarelo */
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 600px;
    font-weight: 500;
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-main-logo {
    height: auto;
    width: 100%;
    max-width: 550px; /* Imagem grande */
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
    transform: rotate(-5deg);
    transition: transform 0.5s ease;
}

.hero-section:hover .hero-main-logo {
    transform: rotate(0deg) scale(1.02);
}

/* Botão CTA no Hero */
.btn-hero {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    background: var(--gradiente-principal);
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 25px -5px rgba(93, 155, 62, 0.4);
    transition: all 0.3s ease;
}
.btn-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -5px rgba(93, 155, 62, 0.6);
    color: white;
}

/* Responsividade Hero */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr; /* Empilhado */
        text-align: center;
        gap: 3rem;
    }
    .hero-text { padding-left: 0; order: 2; }
    .hero-image-wrapper { order: 1; }
    .hero-title { font-size: 3.5rem; }
    .hero-subtitle { margin: 0 auto 2rem; }
    .hero-main-logo { max-width: 300px; }
}


/* =========================================
   GRID DE FUNCIONALIDADES (Cartões Maiores)
   ========================================= */
.features-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem 8rem;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}
.features-header h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.feature-card {
    text-decoration: none; 
    color: var(--text-main);
    background: var(--bg-card);
    /* Padding aumentado para cartões maiores */
    padding: 3.5rem 2.5rem; 
    height: 100%;
    min-height: 400px; /* Altura mínima garantida */
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center;
    justify-content: center;
    border-radius: 30px; 
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.feature-icon-wrapper {
    width: 110px; height: 110px; /* Ícone maior */
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; margin-bottom: 2rem;
    font-size: 3rem; 
    transition: all 0.4s ease;
}

/* Cores específicas */
.icon-catalogo { background: rgba(93, 155, 62, 0.15); color: #5D9B3E; }
.icon-refeicao { background: rgba(230, 179, 62, 0.15); color: #E6B33E; }
.icon-receitas { background: rgba(239, 35, 60, 0.15); color: #EF233C; }
.icon-ai { background: rgba(67, 97, 238, 0.15); color: #4361EE; }
.icon-cardapio { background: rgba(156, 39, 176, 0.15); color: #9C27B0; }

.feature-card:hover .feature-icon-wrapper { transform: scale(1.15) rotate(5deg); }

.feature-title { 
    font-weight: 800; 
    font-size: 1.6rem; /* Título maior */
    margin-bottom: 1rem; 
}

.feature-desc { 
    font-size: 1.05rem; /* Texto maior */
    color: var(--text-muted); 
    line-height: 1.7; 
}

/* =========================================
   DARK MODE
   ========================================= */
body.dark-mode .header-fixed { background: var(--bg-body); }
body.dark-mode .header-title { color: var(--text-main); }

body.dark-mode .hero-section { 
    background: linear-gradient(180deg, #0B1410 0%, #111d16 100%); 
}
body.dark-mode .hero-section::before {
    background: radial-gradient(circle, rgba(242, 201, 76, 0.05) 0%, transparent 70%);
}

body.dark-mode .feature-card { 
    background: var(--bg-card); 
    border-color: #2A4530;
}
body.dark-mode .feature-card:hover { 
    border-color: #76C056; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.4); 
}