/* Reset geral */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Trebuchet MS', Arial, sans-serif;
    font-size: 18px;
    font-weight: normal;
}
h1 {
    font-size: 28px;
    font-weight: bold;
}
h2 {
    font-size: 24px;
    font-weight: bold;
}
body {
    background-color: rgb(189, 187, 187);
    color: #0a0a0a;
    line-height: 1.6;
}
/* Cabeçalho */
header {
    background: linear-gradient(135deg, rgb(1, 1, 1), #626666);
    color: rgb(202, 128, 37);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
}
.logo img {
    height: 90px;
    width: auto;
}
/* Navegação */
nav a {
    color: white;
    margin-left: 1.2rem;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}
nav a:hover, nav a.ativo {
    color: #ca8025;
    border-bottom: 2px solid #b4882f;
}
/* Conteúdo principal */
main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 2rem;
}
section {
    margin-bottom: 3rem;
}
h2, h3, h4 {
    color: #313130;
    margin-bottom: 1rem;
    text-align: center;
}
p {
    margin-bottom: 1rem;
}
/* Grade e cartões */
.grade {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}
.cartao {
    background: rgb(154, 160, 160);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s;
}
.cartao:hover {
    transform: translateY(-5px);
}
.cartao img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: rgb(154, 160, 160);
}
.cartao h3, .cartao h4 {
    padding: 0 1rem;
    margin-top: 1rem;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}
.cartao p, .cartao ul {
    padding: 0 1rem 1rem;
}
.cartao ul {
    list-style: none;
}
/* Status dos plugins */
.status {
    display: inline-block;
    margin: 0.5rem 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}
.status.Disponível {
    background: #c8e6c9;
    color: #2e7d32;
}
.status.Em {
    background: #fff3c4;
    color: #8a6d00;
}
/* Botões */
.botao {
    display: inline-block;
    margin: 1rem;
    padding: 0.6rem 1.2rem;
    background: #ca8025;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}
.botao:hover {
    background: #b4882f;
}
/* Rodapé */
footer {
    background: #292828;
    color: rgb(212, 206, 206);
    text-align: center;
    padding: 1.2rem;
    margin-top: 3rem;
}
/* Fotos dos projetos */
.foto-projeto {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 12px;
}
/* Textos dos cartões */
.cartao p:first-of-type {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 12px;
}
.cartao p:last-of-type {
    font-size: 15px;
    font-weight: bold;
}
.cartao p.texto-descricao {
    font-size: 15px;
    font-weight: normal;
    margin-bottom: 15px;
}
/* Página Sobre */
.sobre-texto {
    font-size: 17px;
    font-weight: normal;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}
/* Texto de apresentação — Página Inicial */
.texto-apresentacao {
    font-size: 17px;
    font-weight: normal;
    line-height: 1.8;
    color: inherit;
    margin-bottom: 25px;
    text-align: justify;
}
/* Mensagens de aviso (Avaliações) */
.mensagem {
    padding: 12px;
    margin: 15px 0;
    border-radius: 6px;
    text-align: center;
}
.mensagem.sucesso {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}
.mensagem.erro {
    background-color: #fff3e0;
    color: #e65100;
    border: 1px solid #ffcc80;
}
.titulo-principal {
    color: #ca8025;
}
/* Cartão clicável */
.cartao-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s;
}
.cartao-link:hover {
    transform: translateY(-5px);
}
/* Formulários e área de contas */
.formulario {
    background: white;
    padding: 25px;
    margin: 20px auto;
    border-radius: 10px;
    max-width: 700px;
}
.formulario label { display: block; margin: 15px 0 5px; font-weight: bold; }
.formulario input:not([type="hidden"]) { display: block; width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 5px; }
.formulario button { margin-top: 20px; padding: 12px 25px; border: 0; border-radius: 5px; background: #2e7d32; color: white; cursor: pointer; }
@media (max-width: 700px) {
    header { flex-direction: column; padding: 1rem; }
    nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
    nav a { margin: 0; }
    main { padding: 0 1rem; }
    .grade { grid-template-columns: minmax(0, 1fr); }
}
.dashboard { max-width: 1100px; }
.painel-grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 1rem; }
.painel-card { background: white; border-radius: 10px; padding: 1.25rem; margin-bottom: 1.25rem; overflow-wrap: anywhere; }
.painel-card h3, .painel-card h4 { text-align: left; font-weight: bold; }
.painel-card strong { font-weight: bold; }
.badge { display: inline-block; padding: .15rem .6rem; border-radius: 1rem; background: #eee; }
.badge-trial, .badge-active { background: #d8f1d9; color: #215b28; }
.badge-blocked, .badge-expired { background: #fbe0dc; color: #8b271b; }
.badge-past_due { background: #fff0cb; color: #725400; }
.admin-card { border-left: 4px solid #ca8025; }
.admin-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1rem 0; }
.admin-actions button { cursor: pointer; border: 0; border-radius: 6px; padding: .6rem .9rem; background: #313130; color: white; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .6rem; border-bottom: 1px solid #ddd; vertical-align: top; }
summary { cursor: pointer; font-weight: bold; }
.paginacao { display: flex; gap: 1rem; align-items: center; justify-content: center; margin-bottom: 2rem; }
.paginacao a { color: #313130; }
