/* ============================================================
   TEMA 04 — Rodapé
   ============================================================ */

.footer {
    background: var(--p5, #1a1a2e);
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer a {
    color: #ccc;
}

.footer a:hover {
    color: var(--p4, #00d4ff);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--p2, #00d4ff);
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
}

.footer-section p {
    font-size: 14px;
    color: var(--p4, #00d4ff);
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--p2, #00d4ff);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--p4, #00d4ff);
}

.footer-section i {
    margin-right: 10px;
    color: var(--p4, #00d4ff);
}

.footer-info {
    font-size: 14px;
    color: var(--p4, #00d4ff);
    line-height: 1.8;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--p4, #00d4ff);
    font-size: 14px;
}

.footer-bottom b {
    color: var(--p4, #00d4ff);
}

/* Módulos exibidos na área do rodapé (pos 5) */

.pos-5.modules {
    color: inherit;
}

/* ---------- Botão voltar ao topo ---------- */

.scrollToTop {
    width: 42px;
    height: 42px;
    line-height: 40px;
    font-size: 21px !important;
    text-align: center;
    text-decoration: none;
    position: fixed;
    z-index: 9995;
    bottom: -55px;
    right: 20px;
    overflow: hidden;
    transition: bottom 0.4s cubic-bezier(.55, 0, .1, 1), background 0.2s linear, box-shadow 0.2s linear;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
    display: none;
    color: #fff !important;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--p4, #00d4ff), var(--p3, #0f3460));
}

.scrollToTop:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.scrollToTop.scrollactive {
    bottom: 20px;
}
