/* -------------------------------------- */
/* ESTILO GERAL                            */
/* -------------------------------------- */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(to bottom right, #dce9ff, #bcd6ff);
    color: #003d66;
}

/* -------------------------------------- */
/* HEADER / TOPO                           */
/* -------------------------------------- */
header {
    background-color: #2c3e50;
    color: white;
    padding: 25px 10px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.header-logo {
    background-color: #2c3e50;
    color: white;
    padding: 15px 10px;
}

.logo-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.logo-site {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.titulo-site h1 {
    margin: 0;
    font-size: 28px;
}

.titulo-site p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

/* Header grande para telas grandes */
@media (min-width: 1200px) {
    header {
        padding: 40px 20px;
    }
    .titulo-site h1 {
        font-size: 36px;
    }
    .titulo-site p {
        font-size: 16px;
    }
    .logo-site {
        width: 80px;
        height: 80px;
    }
}

/* -------------------------------------- */
/* MENU                                    */
/* -------------------------------------- */
nav {
    background-color: #4d657e;
    padding: 12px 0;
    box-shadow: 0 3px 5px rgba(0,0,0,0.1);
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0 10px;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    font-size: 17px;
    transition: 0.3s;
}

nav a:hover {
    opacity: 0.9;
    text-decoration: underline;
}

/* Menu para celular */
@media (max-width: 480px) {
    nav ul {
        gap: 12px;
    }
    nav a {
        font-size: 15px;
    }
}

/* -------------------------------------- */
/* SEÇÕES GERAIS                           */
/* -------------------------------------- */
section {
    max-width: 950px;
    margin: 35px auto;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 0 15px #b9d6ff;
}

h2 {
    color: #2c3e50;
}

/* Hero responsivo */
.hero {
    text-align: center;
    font-size: 1.1rem;
    padding: 10px;
}

/* -------------------------------------- */
/* CARDS – ONGs EM DESTAQUE                */
/* -------------------------------------- */
.cards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 25px;
}

.card {
    width: 260px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 0 12px #b9d6ff;
    overflow: hidden;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 18px #8ec3ff;
}

.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

/* Cards maiores em telas grandes */
@media (min-width: 1200px) {
    .card {
        width: 300px;
    }
    .card img {
        height: 190px;
    }
}

/* -------------------------------------- */
/* RELATOS RECENTES                         */
/* -------------------------------------- */
.relatos {
    background-color: #e8f2ff;
    border: 2px solid #c7dfff;
}

.relato-box {
    max-width: 700px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 0 12px #b9d6ff;
}

/* -------------------------------------- */
/* LOGIN / CADASTRO                         */
/* -------------------------------------- */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px;
}

.login-box {
    width: 350px;
    padding: 30px;
    border-radius: 18px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 18px #9fc3ff;
    text-align: center;
}

.login-box input,
.login-box select {
    width: 90%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #bcd6ff;
    border-radius: 8px;
    background: #f7faff;
    font-size: 15px;
    transition: 0.3s;
}

.login-box button {
    width: 95%;
    padding: 12px;
    margin-top: 12px;
    background: #0a6cff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.cadastro-box {
    width: 420px;
}

/* Responsivo para login */
@media (max-width: 480px) {
    .login-box {
        width: 95%;
        padding: 25px;
    }
    .cadastro-box {
        width: 95%;
    }
    .campo-duplo {
        flex-direction: column;
    }
}

/* -------------------------------------- */
/* RODAPÉ                                   */
/* -------------------------------------- */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background-color: #2c3e50;
    color: white;
}

}