.topbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 60px;
    background:white;
    box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

.logo{
    font-size:20px;
    font-weight:600;
    color:#2e5e54;
    text-decoration:none;
    transition:0.2s;
}
.logo:hover{
    opacity:0.8;
}

.topbar nav a{
    margin-left:20px;
    text-decoration:none;
    color:#555;
    font-weight:500;
}

.btn-small{
    background:#6FBF8F;
    padding:8px 18px;
    border-radius:20px;
    color:white !important;
}
body{
    margin:0;
    font-family: 'Poppins', sans-serif;
    background:#eaf4ef;
}
*{
box-sizing:border-box;
}

.container{
display:flex;
align-items:center;
justify-content:space-between;
gap:40px;
width:100%;
max-width:1200px;
margin:auto;
padding:0 20px;
}

.left{
    width:50%;
}

.left h1{
font-size:26px;
line-height:1.3;
max-width:100%;
margin:0 auto;
padding:0 10px;
word-break:normal;
}

.left p{
    font-size:18px;
    margin:20px 0;
    color:#555;
}

.btn{
    background:#6FBF8F;
    padding:14px 30px;
    color:white;
    text-decoration:none;
    border-radius:40px;
    transition:0.3s;
}

.btn:hover{
    background:#2F6D4F;
}

.right{
    width:40%;
    text-align:center;
}

.right img{
width:100%;
max-width:320px;
height:auto;
margin:auto;
display:block;
}

.posts{
    padding:60px;
}

.posts h2{
    color:#2F6D4F;
}

.grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
    margin-top:30px;
}

.card{
    background:white;
    padding:25px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-5px);
}

.card h3{
    margin:0 0 10px 0;
    color:#2F6D4F;
}

.card a{
    text-decoration:none;
    color:#6FBF8F;
    font-weight:500;
}
.form-container{
    width:400px;
    margin:80px auto;
    background:white;
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
    text-align:center;
}

.form-container input{
    width:100%;
    padding:12px;
    margin:10px 0;
    border-radius:10px;
    border:1px solid #ddd;
}

.erro{
    background:#ffe5e5;
    color:#a30000;
    padding:10px;
    border-radius:8px;
    margin-bottom:15px;
    font-size:14px;
}

.voltar{
    display:block;
    margin-top:20px;
    font-size:14px;
    color:#2F6D4F;
    text-decoration:none;
}
.resposta-box{
    background:#e9f7ef;
    padding:15px;
    margin-top:12px;
    border-radius:12px;
    border-left:4px solid #6FBF8F;
}

.resposta-box strong{
    color:#2F6D4F;
}

.sobre{
    padding:80px 60px;
    background:#ffffff;
}

.sobre-wrapper{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:50px;
    max-width:1200px;
    margin:auto;
}

.sobre-img{
    width:40%;
}

.sobre-img img{
    width:100%;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,0.08);
}

.sobre-texto{
    width:60%;
}

.sobre-texto h2{
    font-size:32px;
    color:#2F6D4F;
    margin-bottom:20px;
}

.sobre-texto p{
    margin-bottom:15px;
    color:#555;
    line-height:1.6;
}

.sobre-texto ul{
    margin:20px 0;
    padding-left:0;
    list-style:none;
}

.sobre-texto li{
    margin-bottom:8px;
}
.areas{
    padding:80px 60px;
    background:#f8fbf9;
}

.areas-container{
    max-width:1200px;
    margin:auto;
    text-align:center;
}

.areas-container h2{
    font-size:32px;
    color:#2F6D4F;
    margin-bottom:50px;
}

.areas-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.area-card{
    background:white;
    padding:30px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
    transition:0.3s;
}

.area-card:hover{
    transform:translateY(-8px);
}

.area-card h3{
    color:#2F6D4F;
    margin-bottom:15px;
}

.area-card p{
    color:#555;
    font-size:14px;
    line-height:1.5;
}

.footer{
    background:#2F6D4F;
    color:white;
    padding-top:60px;
}

.footer-container{
display:flex;
flex-direction:column;
align-items:center;
text-align:center;
padding:30px 20px;
max-width:100%;
margin:auto;
}

.footer-col{
    width:30%;
}

.footer-col h3,
.footer-col h4{
    margin-bottom:15px;
}

.footer-col p,
.footer-col a{
    color:#e0f0e8;
    font-size:14px;
    text-decoration:none;
    margin-bottom:8px;
    display:block;
}

.footer-bottom{
    background:#285c43;
    text-align:center;
    padding:15px;
    font-size:13px;
}
.blog-section{
    padding:80px 60px;
    max-width:1200px;
    margin:auto;
}

.blog-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:50px;
}

.blog-header h1{
    color:#2F6D4F;
}

.voltar-link{
    text-decoration:none;
    color:#6FBF8F;
    font-weight:500;
}

.blog-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.blog-card{
    background:white;
    padding:30px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
    transition:0.3s;
}

.blog-card:hover{
    transform:translateY(-8px);
}

.blog-card h3{
    color:#2F6D4F;
    margin-bottom:15px;
}

.blog-card p{
    color:#555;
    margin-bottom:20px;
}

.blog-card a{
    text-decoration:none;
    color:#6FBF8F;
    font-weight:500;
}
.post-container{
    max-width:900px;
    margin:80px auto;
    padding:0 20px;
}

.post-container h1{
    color:#2F6D4F;
    margin-bottom:20px;
}

.post-content{
    font-size:16px;
    line-height:1.7;
    color:#444;
    margin-bottom:40px;
}

.comentarios-area{
    margin-top:30px;
}

.comentario-card{
    background:white;
    padding:25px;
    border-radius:20px;
    margin-bottom:20px;
    box-shadow:0 8px 25px rgba(0,0,0,0.05);
}

.comentario-card strong{
    color:#2F6D4F;
}

.resposta-box{
    margin-top:15px;
    padding:15px;
    background:#e6f2ec;
    border-left:4px solid #2F6D4F;
    border-radius:12px;
}

.resposta-box strong{
    display:block;
    margin-bottom:5px;
    color:#2F6D4F;
}
.form-comentario{
    margin:20px 0 40px 0;
}

.form-comentario textarea{
    width:100%;
    height:100px;
    padding:15px;
    border-radius:15px;
    border:1px solid #ddd;
    resize:none;
    font-family:Poppins;
    margin-bottom:15px;
}

.form-comentario button{
    background:#2F6D4F;
    color:white;
    padding:12px 25px;
    border:none;
    border-radius:30px;
    cursor:pointer;
    transition:0.3s;
}

.form-comentario button:hover{
    background:#265c43;
}
.alerta-msg{
    background:#e6f2ec;
    border-left:4px solid #2F6D4F;
    padding:15px 20px;
    margin:20px 0;
    border-radius:10px;
    color:#2F6D4F;
    font-weight:500;
}
/* ================= ADMIN AREA ================= */

.admin-container{
    max-width:1200px;
    margin:60px auto;
    padding:0 20px;
}

.admin-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:40px;
}

.admin-header h1{
    font-size:30px;
    font-weight:600;
    color:#1f2d2a;
}

.admin-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:25px;
}

.admin-card{
    background:#ffffff;
    padding:25px;
    border-radius:18px;
    box-shadow:0 8px 25px rgba(0,0,0,0.05);
    transition:0.3s ease;
}

.admin-card:hover{
    transform:translateY(-5px);
    box-shadow:0 12px 30px rgba(0,0,0,0.08);
}

.admin-card-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.admin-card h3{
    margin:0;
    font-size:18px;
    font-weight:600;
    color:#1f2d2a;
}

.badge{
    background:#eef4f2;
    color:#3b6e63;
    font-size:12px;
    padding:6px 10px;
    border-radius:20px;
}

/* Botões */

.admin-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.btn{
    padding:8px 16px;
    border-radius:10px;
    font-size:13px;
    font-weight:500;
    text-decoration:none;
    display:inline-block;
    transition:0.2s;
}

.btn-primary{
    background:#4da3ff;
    color:#fff;
}

.btn-warning{
    background:#f4a62a;
    color:#fff;
}

.btn-danger{
    background:#e05252;
    color:#fff;
}

.btn-outline{
    border:2px solid #4da3ff;
    color:#4da3ff;
    background:transparent;
}

.btn:hover{
    opacity:0.85;
}
/* FORM ADMIN */

.admin-card form{
    display:flex;
    flex-direction:column;
}

.admin-card label{
    font-weight:500;
    margin-bottom:6px;
    margin-top:15px;
}

.admin-card input,
.admin-card textarea{
    padding:10px;
    border-radius:8px;
    border:1px solid #ddd;
    font-family:'Poppins',sans-serif;
    font-size:14px;
}

.admin-card textarea{
    resize:vertical;
}

.alert-error{
    background:#ffe0e0;
    color:#a40000;
    padding:12px;
    border-radius:8px;
    margin-bottom:20px;
}

.container-admin{
    max-width:1100px;
    margin:40px auto;
    padding:0 20px;
}

.admin-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
}

.table-wrapper{
    background:white;
    padding:20px;
    border-radius:14px;
    box-shadow:0 6px 18px rgba(0,0,0,0.05);
}

.admin-table{
    width:100%;
    border-collapse:collapse;
}

.admin-table th{
    text-align:left;
    padding:12px;
    background:#f4f6f9;
    font-weight:600;
}

.admin-table td{
    padding:12px;
    border-bottom:1px solid #eee;
}

.admin-table tr:hover{
    background:#f9fbfa;
}

.container-admin{
    max-width:1100px;
    margin:60px auto;
    padding:0 20px;
}

.admin-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
}

.admin-header h1{
    font-size:28px;
}

.badge-total{
    background:#e8f5f1;
    color:#2e5e54;
    padding:6px 12px;
    border-radius:20px;
    font-size:13px;
    margin-right:10px;
}

.table-card{
    background:white;
    border-radius:16px;
    padding:25px;
    box-shadow:0 8px 25px rgba(0,0,0,0.05);
}

.admin-table{
    width:100%;
    border-collapse:collapse;
}

.admin-table th{
    text-align:left;
    padding:14px;
    background:#f4f6f9;
    font-weight:600;
}

.admin-table td{
    padding:14px;
    border-bottom:1px solid #eee;
}

.admin-table tr:hover{
    background:#f9fbfa;
}

.badge-admin{
    background:#2e5e54;
    color:white;
    padding:5px 10px;
    border-radius:20px;
    font-size:12px;
}

.badge-user{
    background:#dfeee9;
    color:#2e5e54;
    padding:5px 10px;
    border-radius:20px;
    font-size:12px;
}

.btn-outline{
    padding:8px 16px;
    border:2px solid #2e5e54;
    color:#2e5e54;
    border-radius:25px;
    text-decoration:none;
    font-size:13px;
    transition:0.2s;
}

.btn-outline:hover{
    background:#2e5e54;
    color:white;
}

.search-box{
display:flex;
gap:10px;
margin-bottom:20px;
}

.search-box input{
padding:10px;
border-radius:8px;
border:1px solid #ccc;
width:250px;
}

.search-box button{
background:#2e5e54;
color:white;
border:none;
padding:10px 15px;
border-radius:8px;
cursor:pointer;
}
.badge-admin{
background:#2e5e54;
color:white;
padding:5px 10px;
border-radius:20px;
font-size:12px;
}

.badge-user{
background:#e8f5f1;
color:#2e5e54;
padding:5px 10px;
border-radius:20px;
font-size:12px;
}

/* BUSCA USUÁRIOS */

.search-box{
margin:20px 0;
}

.search-wrapper{
display:flex;
align-items:center;
gap:10px;
background:white;
padding:10px;
border-radius:12px;
box-shadow:0 4px 12px rgba(0,0,0,0.05);
max-width:420px;
}

.search-input{
flex:1;
border:none;
outline:none;
font-size:14px;
padding:8px;
background:transparent;
}

.search-input::placeholder{
color:#999;
}

.search-btn{
background:#2e5e54;
color:white;
border:none;
padding:8px 16px;
border-radius:8px;
cursor:pointer;
font-size:14px;
transition:0.2s;
}

.search-btn:hover{
background:#244a41;
}
.site-footer{
background:#2f6b4f;
color:white;
margin-top:60px;
}

.footer-container{
max-width:1200px;
margin:auto;
padding:40px 20px;
display:flex;
justify-content:space-between;
flex-wrap:wrap;
gap:30px;
}

.footer-info{
max-width:300px;
}

.footer-contato a{
color:white;
text-decoration:none;
font-weight:500;
}

.footer-dev{
width:100%;
margin-top:20px;
border-top:1px solid rgba(255,255,255,0.2);
padding-top:15px;
text-align:center;
}

.footer-dev a{
color:#ffffff;
font-weight:600;
text-decoration:none;
}
section{
width:100%;
box-sizing:border-box;
}
.hero{
width:100%;
background:#dfe9e4;
}
.blog-section .container{
display:block;
}

/* ================= RESPONSIVO ================= */

@media (max-width:768px){

.topbar{
flex-direction:column;
padding:20px;
text-align:center;
}

.topbar nav{
margin-top:10px;
}

.topbar nav a{
margin:5px;
display:inline-block;
}

/* HERO */

.container{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
text-align:center;
padding:30px 20px;
margin:auto;
}

.left{
width:100%;
padding:0 15px;
}

.left h1{
font-size:28px;
line-height:1.25;
max-width:95%;
margin:auto;
word-break:break-word;
}

.left p{
font-size:16px;
padding:0 15px;
}

.btn{
display:inline-block;
margin-top:10px;
}

.right{
width:100%;
margin-top:30px;
}

.right img{
width:100%;
max-width:260px;
height:auto;
margin:auto;
display:block;
}

/* SOBRE */

.sobre-wrapper{
flex-direction:column;
text-align:center;
}

.sobre-img{
width:100%;
}

.sobre-texto{
width:100%;
}

/* AREAS */

.areas{
padding:60px 20px;
}

.areas-container{
padding:0;
}

.areas-grid{
grid-template-columns:1fr;
}

.area-card{
margin:auto;
max-width:350px;
}

/* BLOG */

.blog-grid{
grid-template-columns:1fr;
}

/* POSTS */

.grid{
grid-template-columns:1fr;
}

/* FOOTER */

.footer{
padding-top:40px;
}

.footer-container{
flex-direction:column;
text-align:center;
padding:20px;
max-width:100%;
}

.footer-col{
width:100%;
margin-bottom:20px;
}

}

/* BOTÃO WHATSAPP */

.whatsapp-btn{
position:fixed;
bottom:20px;
right:15px;
z-index:999;
background:#25D366;
color:white;
padding:12px 18px;
border-radius:30px;
font-weight:bold;
text-decoration:none;
box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

/* CORRIGE ESPAÇO LATERAL */

html, body{
width:100%;
overflow-x:hidden;
}

/* ===== RESPONSIVO ARTIGO ===== */

@media (max-width:768px){

.post-container{
display:block;
width:100%;
max-width:100%;
margin:0 auto;
padding:20px;
box-sizing:border-box;
text-align:left;
}

.post-container h1{
font-size:26px;
line-height:1.3;
margin-top:10px;
}

.post-content{
font-size:16px;
line-height:1.7;
margin-bottom:25px;
}

.form-comentario{
width:100%;
}

.form-comentario textarea{
width:100%;
height:120px;
font-size:15px;
}

.form-comentario button{
margin-top:10px;
}

.comentario-card{
width:100%;
}

}