/* ==========================================================================
   PALETA OFICIAL CLAVE DE C COLORIDA & VARIÁVEIS GERAIS
   ========================================================================== */
:root {
    --branco: #FFFFFF;
    --azul: #2D9CDB;
    --roxo: #9B51E0;
    --amarelo: #FEC601;
    --bg-light: #F4F9FD; /* Fundo levemente azulado para contraste macio */
    --text-dark: #333333;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    /* ESSAS TRÊS LINHAS FAZEM A MÁGICA DO RODAPÉ: */
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* O corpo ocupa no mínimo 100% da altura da tela */
}
.app-container { 
    max-width: 1200px; 
    margin: 20px auto; 
    padding: 0 20px; 
    flex: 1; /* Isso empurra o rodapé lá para baixo! */
    width: 100%;
}

/* Estilo do Rodapé Fixo no Fundo */
.site-footer {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #666;
    margin-top: auto; /* Garante que fique no limite inferior */
    box-shadow: 0 -5px 15px rgba(0,0,0,0.03);
}

@media (max-width: 850px) {
    .site-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ==========================================================================
   FUNDO ANIMADO (ONDAS FLAT DESIGN)
   ========================================================================== */
.bg-ondas {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1;
    background: radial-gradient(circle at 80% 90%, rgba(254, 198, 1, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 20% 20%, rgba(45, 156, 219, 0.1) 0%, transparent 50%);
}

.bg-ondas::after {
    content: ''; position: fixed; bottom: -50px; left: 0; width: 100vw; height: 300px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%232D9CDB22" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,250.7C1248,267,1344,245,1392,234.7L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover; z-index: -1;
}

/* ==========================================================================
   NAVEGAÇÃO (MENU SUPERIOR)
   ========================================================================== */
.navbar { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 20px 8%; background: transparent; 
}
.nav-logo { height: 50px; }
.nav-links { list-style: none; display: flex; gap: 40px; }
.nav-links a { 
    text-decoration: none; color: var(--text-dark); font-weight: 800; 
    font-size: 1.1rem; transition: 0.3s; padding: 5px 15px; border-radius: 20px;
}
.nav-links a:hover, .nav-links a.ativo { 
    color: var(--branco); background-color: var(--azul); 
}
/* --- BOTÃO HAMBÚRGUER (Oculto no Desktop) --- */
.navbar { position: relative; z-index: 100; }
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
}
.menu-toggle span {
    width: 30px;
    height: 4px;
    background-color: var(--roxo);
    border-radius: 4px;
    transition: 0.3s ease-in-out;
}
/* Animação do botão virando um "X" */
.menu-toggle.aberto span:nth-child(1) { transform: translateY(10px) rotate(45deg); background-color: var(--rosa-choque, var(--azul)); }
.menu-toggle.aberto span:nth-child(2) { opacity: 0; }
.menu-toggle.aberto span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); background-color: var(--rosa-choque, var(--azul)); }

/* ==========================================================================
   ESTRUTURA PRINCIPAL E HERO SECTION (INÍCIO)
   ========================================================================== */
.app-container { max-width: 1200px; margin: 20px auto; padding: 0 20px; }
.view-section { animation: fadeIn 0.5s ease-out; }

.hero-section { display: flex; gap: 50px; align-items: center; min-height: 70vh; }
.hero-text { flex: 1; }
.hero-text h1 { 
    font-size: 4rem; font-weight: 900; line-height: 1.1; 
    color: var(--roxo); margin: 0 0 20px 0; letter-spacing: -1px; 
}
.destaque-cor { color: var(--azul); font-size: 4.5rem; text-transform: uppercase; }
.hero-text p { font-size: 1.2rem; color: #555; margin-bottom: 30px; line-height: 1.6; max-width: 90%; }

.badge-cute { 
    background: var(--amarelo); color: var(--text-dark); padding: 8px 20px; 
    border-radius: 30px; font-weight: 900; font-size: 0.95rem; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); display: inline-block; margin-bottom: 25px; 
}

/* Emojis Gigantes (Garantindo que flutuem juntos e abaixo do botão) */
    .hero-art { 
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 250px; 
        width: 100%; 
        margin-top: 60px; /* Empurra toda a arte para baixo, libertando o botão */
    }
    
    .flutuante { 
        position: absolute; /* Impede que fiquem um abaixo do outro! */
        animation: float 4s ease-in-out infinite; /* Garante que continuem a flutuar */
    }
    
    .bolo { font-size: 8rem; position: relative; z-index: 2; }
    .balao1 { font-size: 5rem; top: -10px; right: 10%; z-index: 1; }
    .balao2 { font-size: 4rem; top: 40px; left: 10%; z-index: 1; }
    .presente { font-size: 4rem; bottom: -10px; right: 25%; z-index: 3; }

/* ==========================================================================
   BOTÕES GERAIS
   ========================================================================== */
.btn-cute { 
    border: none; padding: 16px 40px; border-radius: 50px; font-weight: 900; 
    font-size: 1.1rem; cursor: pointer; font-family: 'Nunito'; letter-spacing: 1px; 
    transition: transform 0.2s, box-shadow 0.2s; 
}
.btn-primario { background: var(--roxo); color: var(--branco); box-shadow: 0 8px 20px rgba(155, 81, 224, 0.4); }
.btn-secundario { background: var(--azul); color: var(--branco); box-shadow: 0 8px 20px rgba(45, 156, 219, 0.4); }
.btn-cute:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); }
.mt-20 { margin-top: 25px; }

/* ==========================================================================
   DASHBOARD E TRILHA COM ÍCONES
   ========================================================================== */
.dashboard-header { text-align: center; margin-bottom: 40px; margin-top: 30px; }
.dashboard-header h2 { font-size: 2.8rem; color: var(--roxo); font-weight: 900; }

.trilha-dashboard { position: relative; max-width: 850px; margin: 0 auto 60px; }
.linha-dash { 
    position: absolute; top: 30px; left: 0; width: 100%; height: 8px; 
    background: #E0E0E0; transform: translateY(-50%); border-radius: 10px; z-index: 1; 
}
.dias-dash { display: flex; justify-content: space-between; position: relative; z-index: 2; }
.dia-wrapper { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 85px; }

.dia-dash { 
    width: 60px; height: 60px; background: var(--branco); border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; font-size: 1.6rem; 
    border: 6px solid var(--bg-light); transition: 0.4s; z-index: 2; position: relative; 
    filter: grayscale(100%); opacity: 0.6; 
}
.dia-legenda { font-size: 0.85rem; font-weight: 800; color: #999; text-align: center; line-height: 1.2; }

/* Estados dos Ícones da Trilha */
.dia-dash.liberado { 
    filter: grayscale(0%); opacity: 1; background: var(--azul); transform: scale(1.15); 
    box-shadow: 0 0 20px rgba(45, 156, 219, 0.4); border-color: var(--branco); 
}
.dia-dash.liberado + .dia-legenda { color: var(--azul); font-weight: 900; }

.dia-dash.concluido { 
    filter: grayscale(0%); opacity: 1; background: var(--amarelo); border-color: var(--branco); 
}
.dia-dash.concluido + .dia-legenda { color: var(--roxo); font-weight: 900; }

/* ==========================================================================
   PAINEL DE MISSÃO E CHATBOT
   ========================================================================== */
.missao-painel { display: flex; gap: 30px; flex-wrap: wrap; align-items: stretch; }
.missao-info { 
    flex: 1.5; min-width: 300px; background: var(--branco); padding: 40px; 
    border-radius: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-top: 10px solid var(--azul); 
}
.missao-info h3 { font-size: 2rem; color: var(--roxo); margin-bottom: 15px; font-weight: 900; }
.missao-info p { font-size: 1.1rem; color: #555; line-height: 1.6; }

.chat-dashboard { 
    flex: 1; min-width: 300px; background: var(--branco); border-radius: 30px; 
    overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); display: flex; flex-direction: column; 
}
.chat-header { 
    background: var(--roxo); color: white; padding: 20px; 
    font-weight: 900; font-size: 1.1rem; text-align: center; 
}
.chat-messages { 
    padding: 20px; height: 250px; overflow-y: auto; display: flex; 
    flex-direction: column; gap: 15px; background: #FAFAFA; 
}
.msg-bot { 
    background: rgba(45, 156, 219, 0.15); color: var(--text-dark); padding: 15px 20px; 
    border-radius: 20px 20px 20px 5px; max-width: 85%; font-weight: 700; 
    font-size: 0.95rem; border-left: 4px solid var(--azul); 
}
.msg-user { 
    background: var(--amarelo); color: var(--text-dark); padding: 15px 20px; 
    border-radius: 20px 20px 5px 20px; max-width: 85%; align-self: flex-end; 
    font-weight: 800; font-size: 0.95rem; 
}
.chat-input-group { display: flex; padding: 20px; background: var(--branco); border-top: 2px solid #F0F0F0; }
.chat-input-group input { 
    flex: 1; padding: 15px 20px; border: 2px solid #E0E0E0; border-radius: 30px; 
    outline: none; font-family: 'Nunito'; font-weight: 700; font-size: 1rem; color: var(--text-dark); 
}
.chat-input-group input:focus { border-color: var(--azul); }

/* ==========================================================================
   PRÊMIOS (GRID)
   ========================================================================== */
.premios-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.premio-card { 
    background: var(--branco); padding: 30px; border-radius: 30px; text-align: center; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-bottom: 8px solid var(--amarelo); transition: 0.3s; 
}
.premio-card:hover { transform: translateY(-10px); }
.premio-card h3 { color: var(--roxo); font-size: 1.5rem; margin-bottom: 10px; font-weight: 900; }
.premio-card p { font-weight: 700; color: #555; margin-bottom: 20px; }
.premio-card a { 
    background: var(--azul); color: white; text-decoration: none; 
    padding: 10px 25px; border-radius: 20px; font-weight: 800; display: inline-block; 
}

/* ==========================================================================
   LINHA DO TEMPO (SOBRE NÓS)
   ========================================================================== */
.timeline-container { max-width: 800px; margin: 0 auto; position: relative; padding: 20px 0; }
.timeline-container::before { 
    content: ''; position: absolute; left: 20px; top: 0; bottom: 0; 
    width: 4px; background: var(--amarelo); border-radius: 2px; 
}
.timeline-item { position: relative; margin-bottom: 40px; padding-left: 60px; }
.timeline-dot { 
    position: absolute; left: 10px; top: 10px; width: 24px; height: 24px; 
    background: var(--branco); border: 5px solid var(--azul); border-radius: 50%; z-index: 2; 
}
.timeline-dot.destaque-final { border-color: var(--roxo); transform: scale(1.2); }
.timeline-content { background: var(--branco); padding: 30px; border-radius: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); position: relative; }
.timeline-content h3 { color: var(--roxo); font-size: 1.4rem; font-weight: 900; margin-bottom: 15px; }
.timeline-content p { color: #555; line-height: 1.6; margin-bottom: 10px; }
.box-destaque { border: 2px solid var(--roxo); background: rgba(155, 81, 224, 0.05); }
.ano-badge { 
    position: absolute; top: -15px; right: 20px; background: var(--amarelo); 
    color: var(--text-dark); padding: 5px 15px; border-radius: 20px; font-weight: 900; font-size: 0.9rem; 
}

/* ==========================================================================
   ANIMAÇÕES
   ========================================================================== */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* ==========================================================================
   NOSSO ECOSSISTEMA
   ========================================================================== */
.eco-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    margin-bottom: 50px; 
}
.eco-card { 
    background: var(--branco); padding: 40px 30px; border-radius: 30px; 
    text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    transition: transform 0.3s; display: flex; flex-direction: column; 
    align-items: center; justify-content: space-between; border-top: 8px solid transparent;
}
.eco-card:hover { transform: translateY(-10px); }

/* Cores das bordinhas do card */
.border-amarelo { border-color: var(--amarelo); }
.border-azul { border-color: var(--azul); }
.border-roxo { border-color: var(--roxo); }
.border-rosa { border-color: #FF477E; }
.icon-colorida { background: rgba(45, 156, 219, 0.15); } /* Azul bebê */
.icon-shop { background: rgba(255, 71, 126, 0.15); }     /* Rosa clarinho */

.eco-icon { 
    font-size: 3.5rem; margin-bottom: 20px; width: 85px; height: 85px; 
    display: flex; align-items: center; justify-content: center; 
    border-radius: 50%; background: var(--bg-light); 
}
.icon-prime { background: rgba(254, 198, 1, 0.15); }
.icon-rainbow { background: rgba(45, 156, 219, 0.15); }
.icon-blog { background: rgba(155, 81, 224, 0.15); }

.eco-card h3 { color: var(--roxo); font-size: 1.6rem; margin-bottom: 15px; font-weight: 900; }
.eco-card p { color: #555; line-height: 1.6; margin-bottom: 25px; font-size: 1.05rem; }

.btn-sm { 
    padding: 12px 25px; font-size: 0.95rem; text-decoration: none; 
    border-radius: 30px; display: inline-block; width: 100%; box-sizing: border-box;
}
/* Cores Extras para os Novos Cards (Blog e Redes Sociais) */
.border-verde { border-color: #27ae60; }
.border-laranja { border-color: #f18c4d; }

.icon-verde { background: rgba(39, 174, 96, 0.15); }
.icon-laranja { background: rgba(241, 140, 77, 0.15); }

/* Layout dos Botões de Redes Sociais */
.social-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 15px;
    width: 100%;
}

.btn-social {
    background: var(--bg-light);
    color: var(--text-dark);
    font-size: 0.85rem;
    padding: 8px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 800;
    transition: 0.3s;
    border: 2px solid transparent;
}

/* Efeito Hover Personalizado para cada Rede */
.btn-social.insta:hover { background: #E1306C; color: white; }
.btn-social.face:hover { background: #4267B2; color: white; }
.btn-social.yt:hover { background: #FF0000; color: white; }
.btn-social.pin:hover { background: #E60023; color: white; }
.btn-social.whats:hover { background: #25D366; color: white; }
/* ==========================================================================
   RODAPÉ MINIMALISTA
   ========================================================================== */
.footer-minimalista {
    background-color: var(--branco);
    color: #888;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.03);
    margin-top: 50px;
    position: relative;
    z-index: 10;
}

.footer-esq, .footer-dir {
    font-family: 'Nunito', sans-serif;
}

/* ==========================================================================
   MODAL DE PRÊMIO (AVISO BONITO)
   ========================================================================== */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: var(--branco); padding: 40px 30px; border-radius: 30px;
    text-align: center; max-width: 400px; width: 90%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    animation: popUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.modal-icon { font-size: 4.5rem; margin-bottom: 15px; animation: float 3s ease-in-out infinite; }
.modal-content h3 { color: var(--roxo); font-size: 1.8rem; margin-bottom: 10px; font-weight: 900; }
.modal-content p { color: #555; line-height: 1.5; font-size: 1.05rem; }

@keyframes popUp {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 850px) {
    /* Rodapé no Mobile (Textos empilhados) */
    .footer-minimalista { 
        flex-direction: column; 
        justify-content: center;
        text-align: center; 
        gap: 12px; /* Espaço entre a frase da esquerda e da direita */
        padding: 25px 20px; 
    }
    /* Menu / Navbar */
    /* Menu / Navbar Mobile (Hambúrguer) */
    .navbar { flex-direction: row; padding: 15px 20px; }
    .menu-toggle { display: flex; }
    
    .nav-links { 
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--branco);
        flex-direction: column;
        padding: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        
        /* Esconde o menu jogando ele para cima e tirando a opacidade */
        transform: translateY(-150%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s ease-in-out;
        z-index: 999;
    }
    
    .nav-links.menu-aberto {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
        padding: 20px 0;
    }
    
    .nav-links a { font-size: 1.1rem; padding: 12px 20px; width: 100%; text-align: center; border-radius: 0; }

    /* Tela Início (Hero) */
    .hero-section { flex-direction: column; text-align: center; padding-top: 10px; }
    .hero-text h1 { font-size: 2.5rem; }
    .destaque-cor { font-size:2.9rem; }
    .hero-text p { font-size: 1rem; margin: 0 auto 20px auto; }
    
    /* Emojis Gigantes */
    .hero-art { height: 250px; width: 100%; margin-top: -20px; }
    .bolo { font-size: 8rem; }
    .balao1 { font-size: 5rem; top: 0; right: 15%; }
    .balao2 { font-size: 4rem; top: 50px; left: 15%; }
    .presente { font-size: 4rem; bottom: 0; right: 25%; }

    /* Textos Gerais */
    .dashboard-header h2 { font-size: 2.2rem; }
    .dashboard-header p { font-size: 0.95rem; padding: 0 15px; }

    /* Trilha Vertical Elegante no Mobile */
    .trilha-dashboard { 
        overflow-x: visible; /* Remove o arrastar para os lados */
        padding-left: 20px; /* Espaço na lateral esquerda */
        margin-bottom: 40px; 
    }
    
    .linha-dash { 
        width: 8px;          /* A linha agora fica em pé e grossinha */
        height: 100%;        /* Ocupa de cima a baixo */
        top: 0; 
        left: 50px;          /* Centraliza exatamente no meio das bolinhas */
        margin-left: -4px; 
        transform: none;     /* Remove o ajuste de quando ela era deitada */
    }
    
    .dias-dash { 
        min-width: auto;        /* Remove a largura gigante que criava o scroll */
        flex-direction: column; /* Empilha os dias um embaixo do outro */
        gap: 25px;              /* Espaço entre cada dia */
        padding: 0; 
    }
    
    .dia-wrapper { 
        flex-direction: row; /* Coloca a bolinha na esquerda e o texto na direita */
        width: 100%; 
        gap: 20px; 
        align-items: center; 
    }
    
    .dia-dash { 
        flex-shrink: 0; /* Impede a bolinha de "esmagar" na tela pequena */
    }
    
    .dia-legenda { 
        text-align: left; 
        font-size: 1.1rem; /* Deixa a legenda maiorzinha e super legível */
    }

    /* Painel e Chat - Ajustados para não cortar no mobile */
    .missao-painel { flex-direction: column; gap: 20px; width: 100%; }
    
    .missao-info { min-width: 0; width: 100%; padding: 25px; }
    .chat-dashboard { min-width: 0; width: 100%; padding: 0; } /* Removemos o padding para não esmagar o chat */
    .missao-info h3 { font-size: 1.6rem; }
    
    /* Ajustes finos do Chatbot para caber na tela */
    .chat-input-group { padding: 15px; gap: 10px; display: flex; }
    .chat-input-group input { min-width: 0; flex: 1; } /* min-width: 0 permite que o input encolha */
    .btn-chat { padding: 12px 20px; font-size: 0.95rem; flex-shrink: 0; } /* Diminui o botão OK */

    /* Timeline (Sobre Nós) */
    .timeline-container::before { left: 15px; }
    .timeline-item { padding-left: 45px; }
    .timeline-dot { left: 5px; width: 20px; height: 20px; border-width: 4px; }
    .timeline-content { padding: 20px; }
    .timeline-content h3 { font-size: 1.2rem; }
    .ano-badge { font-size: 0.8rem; top: -12px; right: 15px; }
    
    /* Grid de Prêmios */
    .premios-grid { grid-template-columns: 1fr; }
}