/* RESET E VARIÁVEIS */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --text-color: #1f2937;
    --bg-color: #f9fafb;
    --footer-bg: #111827;
    --footer-text: #9ca3af;
    --white: #ffffff;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
}

/* LAYOUT PRINCIPAL */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    min-height: 80vh;
}

.logo-container {
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInDown 1s ease forwards;
}

.logo-img {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.instruction-text {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 3rem;
    font-weight: 500;
    opacity: 0;
    animation: fadeIn 1.5s ease 0.5s forwards;
}

/* BOTÃO HOLD */
.hold-btn-container {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 80px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
}

.hold-btn {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    user-select: none;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.hold-btn:hover {
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

.btn-text { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; }
.hold-btn.completed .btn-text { color: var(--white); }
.hold-btn.completed { border-color: var(--primary-dark); background-color: var(--primary-color); }

/* ELEMENTO CRIADO VIA JS PARA PROGRESSO (Estilização aqui para referência) */
.bg-fill {
    position: absolute; top: 0; left: 0; height: 100%; background-color: var(--primary-color);
    z-index: 1; width: 0%; border-radius: 50px;
}

/* RODAPÉ */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 3rem 1rem 1rem 1rem;
    font-size: 0.875rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.5rem; }
.footer-section a:hover { color: var(--primary-color); padding-left: 5px; }
.company-info p { margin-bottom: 0.5rem; display: flex; align-items: center; gap: 8px; }
.footer-bottom { text-align: center; border-top: 1px solid #374151; padding-top: 1.5rem; font-size: 0.75rem; }

/* ANIMAÇÕES */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* RESPONSIVO */
@media (max-width: 480px) {
    .hold-btn-container { max-width: 100%; height: 70px; }
    .hold-btn { font-size: 1rem; }
}