/* =======================
   🎯 Estilo base - MOBILE
   ======================= */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f0f0f0;
}

/* Cabeçalho e redes sociais */
.contact-networks {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
    background: rgb(33, 232, 129);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-networks .logo img {
    max-width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.social-icons li a {
    font-size: 1.3rem;
    color: #333;
    transition: color 0.3s;
}

.social-icons li a:hover {
    color: #fff;
}

/* Conteúdo principal */
.card {
    flex: 1;
    margin: 10px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.digital-board h1 {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 20px;
}

/* Avisos */
.avisos {
    margin: 20px 0;
}

.avisos button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #0077cc;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
}

.avisos button:hover {
    background: #005fa3;
}

/* Documentos */
.documentos {
    margin: 20px 0;
}

.documentos h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.documentos ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.documentos li a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    display: block;
    padding: 8px;
    border-radius: 6px;
    background: #f9f9f9;
    transition: background 0.3s;
}

.documentos li a:hover {
    background: #e8e8e8;
}

/* Rodapé */
footer {
    text-align: center;
    padding: 15px;
    font-size: 0.85rem;
    background: rgb(33, 232, 129);
    color: #000;
    margin-top: auto;
    font-weight: bold;
}

/* =======================
   💻 Tablet (>= 768px)
   ======================= */
@media (min-width: 768px) {
    body {
        background-image: url('../img/imgCodecaGuarita.png');
        background-size: cover;
        background-position: center;
    }

    .contact-networks {
        flex-direction: row;
        justify-content: space-between;
    }

    .social-icons {
        justify-content: flex-end;
    }

    .card {
        margin: 20px auto;
        padding: 20px;
        max-width: 700px;
    }

    .digital-board h1 {
        font-size: 1.8rem;
    }
}

/* =======================
   🖥️ Desktop (>= 1024px)
   ======================= */
@media (min-width: 1024px) {
    .card {
        max-width: 1000px;
    }

    .digital-board h1 {
        font-size: 2rem;
    }

    .avisos button {
        width: auto;
        /* em desktops, botão não precisa ocupar 100% */
        padding: 12px 20px;
    }

    .documentos li a {
        font-size: 1.1rem;
    }
}