* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    background: #f4f7fb;
    color: #333;
}

body {
    display: flex;
    flex-direction: column;
}

/* Header */
.hp-header {
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,.08);
    position: sticky;
    top: 0;
    z-index: 100;
}
.hp-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hp-logo img { height: 42px; width: auto; }
.hp-btn-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 8px;
    background: #2c3e50;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background .2s;
}
.hp-btn-login:hover { background: #3d566e; }

/* Nav menus */
.hp-nav { display: flex; align-items: center; gap: 20px; }
#hpNav { flex: 1; justify-content: center; }
.hp-nav-link {
    font-size: 14px;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
    transition: opacity .2s;
}
.hp-nav-link:hover { opacity: .7; }
.hp-nav-link:visited, .hp-nav-link:active, .hp-nav-link:focus { color: inherit; text-decoration: none; }

/* Main */
.hp-main {
    flex: 1;
}

/* Footer */
.hp-footer {
    background: #1a1a2e;
    color: #ccc;
    border-top: 1px solid rgba(255,255,255,.08);
}
.hp-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.hp-footer-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 36px 0 24px;
}
.hp-footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px;
}
.hp-footer-col p,
.hp-footer-col li {
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}
.hp-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.hp-footer-col li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.hp-footer-col li i {
    width: 16px;
    text-align: center;
    opacity: .7;
    flex-shrink: 0;
}
.hp-footer-redes {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}
.hp-footer-redes a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: inherit;
    text-decoration: none;
    font-size: 15px;
    transition: background .2s;
}
.hp-footer-redes a:hover {
    background: rgba(255,255,255,.2);
}
.hp-footer-copy {
    text-align: center;
    padding: 16px 0;
    font-size: 11px;
    opacity: .5;
    border-top: 1px solid rgba(255,255,255,.08);
}

/* Hamburguer — oculto no desktop */
.hp-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    font-size: 22px;
    color: inherit;
    line-height: 1;
    flex-shrink: 0;
}

/* Drawer mobile — oculto por padrão */
.hp-drawer {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 6px 0 12px;
    border-top: 1px solid rgba(0,0,0,.06);
}

.hp-drawer.hp-drawer--open { display: flex; }

.hp-drawer .hp-nav-link {
    width: 100%;
    padding: 11px 16px;
    font-size: 15px;
    border-bottom: 1px solid rgba(0,0,0,.05);
    display: block;
}

@media (max-width: 768px) {
    /* Header vira 3 colunas: hamburguer | logo | entrar */
    .hp-header-inner {
        padding: 10px 16px;
        display: grid;
        grid-template-columns: 44px 1fr 44px;
        align-items: center;
        flex-wrap: unset;
    }

    /* Hamburguer — coluna 1, só aparece se tiver menus */
    .hp-hamburger.hp-hamburger--hasMenu {
        display: flex;
        align-items: center;
        justify-content: center;
        grid-column: 1;
    }

    /* Logo — coluna 2, centralizada */
    .hp-logo {
        grid-column: 2;
        display: flex;
        justify-content: center;
    }
    .hp-logo img { height: 34px; }

    /* Nav central — oculta no mobile (vai pro drawer) */
    #hpNav { display: none !important; }

    /* Botão entrar — coluna 3 */
    .hp-nav:last-child {
        grid-column: 3;
        display: flex;
        justify-content: flex-end;
    }
    .hp-btn-login {
        padding: 6px 10px;
        font-size: 12px;
        gap: 4px;
    }
    .hp-btn-login span { display: none; }
}
