/* RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    font-family: 'Segoe UI', sans-serif;
    background: rgba(0,0,0,0.85);
    color: white;
    scroll-behavior: smooth;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* PARTICLES */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 0;
    top: 0;
    left: 0;
}

/* CIRCUITO FUNDO */
.circuito-fundo {
    position: fixed;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 1;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* MAIN CONTAINER */
.main-container,
.onboarding-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

/* IA IMAGE */
.mentor-img {
    max-height: 35vh;
    width: auto;
    margin: 20px 0 10px 0;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

@media (min-width: 768px) {
    .mentor-img {
        max-height: 45vh;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* PERGUNTA */
.pergunta {
    font-size: 22px;
    font-weight: bold;
    margin: 10px 0 20px 0;
    padding: 0 15px;
}

/* INPUT ONBOARDING */
.input-onboarding {
    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    border-radius: 20px;
    border: none;
    font-size: 1rem;
    background: #1a1a1a;
    color: white;
    margin-bottom: 20px;
    text-align: center;
}

.input-onboarding::placeholder {
    color: #888;
    text-align: center;
}

.botoes-intencao {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
    gap: 16px;
    padding-bottom: 100px;
}

.btn-opcao,
.btn-opcao-pro {
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    background: #ff9600;
    color: #000;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-opcao:hover,
.btn-opcao-pro:hover {
    background: #ffa733;
    transform: translateY(-2px);
}

/* FOOTER */
.footer-mentor {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 14px;
    color: #ff9600;
    font-weight: bold;
    background: rgba(0,0,0,0.8);
    padding: 6px 0;
    z-index: 9;
}

/* MEDIA QUERY */
@media (max-width: 480px) {
    .mentor-img { max-height: 25vh; }
    .main-container .mentor-img { max-height: 32vh; }
    .btn-opcao, .btn-opcao-pro { font-size: 0.95rem; padding: 12px 16px; }
    .input-area { padding: 10px 8px; gap: 6px; }
    .input-area input { padding: 10px 14px; }
    #send-button { padding: 10px 16px; }
    #mic-button { width: 40px; height: 40px; font-size: 18px; }
    .footer-mentor { font-size: 13px; padding: 5px 0; }
}

/* Bloco de retomar conversa */
.retomar-conversa-opcao {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #ff9600;
    border-radius: 12px;
    padding: 20px;
    margin: 15px;
    text-align: center;
    color: #ffffff;
    font-family: 'Segoe UI', sans-serif;
    font-size: 1rem;
    animation: fadeIn 0.5s ease-in-out;
}

.retomar-msg-text {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.4;
    color: #e6e6e6;
}

.retomar-btn-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.btn-retomar {
    background-color: #ff9600;
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    max-width: 300px;
    transition: background-color 0.3s ease;
}

.btn-retomar:hover {
    background-color: #ffa733;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
