* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: #ffffff;
    color: #333;
}

/* LOGO */
.logo-topo {
    text-align: center;
    margin: 20px 0 30px;
}

.logo-topo img {
    width: 150px;
    max-width: 70%;
    height: auto;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 520px;
    margin: auto;
}

.card {
    background: #fff;
    border-radius: 16px;
    padding: 22px 18px 20px;
    text-align: center;
    text-decoration: none;
    color: inherit;

    box-shadow: 4px 4px 10px rgba(0,0,0,0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 14px rgba(0,0,0,0.16);
}

/* ÍCONES */
.card i {
    font-size: 34px;
    color: #2e7d32; /* verde */
    margin-bottom: 10px;
    display: block;
}

/* TÍTULO */
.card h3 {
    margin: 8px 0 10px;
    font-size: 18px;
    font-weight: bold;
}

/* TEXTO */
.card p {
    font-size: 14.5px;
    line-height: 1.5;
    color: #555;
}

/* RODAPÉ */
footer {
    margin-top: 40px;
    text-align: center;
}

.redes {
    margin-bottom: 8px;
}

.redes a {
    font-size: 22px;
    color: #2e7d32;
    margin: 0 8px;
    text-decoration: none;
}

footer p {
    font-size: 13px;
    color: #777;
}

/* DESKTOP */
@media (min-width: 768px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.container {
    max-width: 420px;
    margin: auto;
    padding: 20px;
}

.explicacao {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

label {
    display: block;
    margin: 12px 0 6px;
    font-weight: 500;
}

input {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
}

button {
    margin-top: 20px;
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: none;
    background: #2e7d32;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.mensagem {
    background: #f1f8f4;
    border-left: 4px solid #2e7d32;
    padding: 12px;
    margin-bottom: 20px;
    font-size: 14px;
}


/* HOME TOPO */
.top-home {
    max-width: 420px;
    margin: 10px auto 10px;
}

.top-home a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #2e7d32;
    text-decoration: none;
    font-weight: 500;
}

.top-home i {
    font-size: 20px;
}


/* ATALHOS ABAIXO DO FORM */
.atalhos {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 26px 0 10px;
}

.atalhos a {
    font-size: 26px;
    color: #2e7d32;
    text-decoration: none;
    opacity: 0.8;
}

.atalhos a:hover {
    opacity: 1;
}

.atalhos a.ativo {
    opacity: 1;
}

/* FOOTER (REAPROVEITADO) */
footer {
    margin-top: 40px;
    text-align: center;
}

.redes {
    margin-bottom: 6px;
}

.redes a {
    font-size: 20px;
    color: #2e7d32;
    margin: 0 8px;
    text-decoration: none;
}

footer p {
    font-size: 13px;
    color: #777;
}
