
/*
Theme Name: Portal da Cidade
Author: ChatGPT
Version: 1.0
*/

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins', sans-serif;
}

body{
background:#f5f7fb;
color:#222;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
}

.topo{
background:#fff;
padding:15px 0;
box-shadow:0 2px 10px rgba(0,0,0,0.08);
position:sticky;
top:0;
z-index:1000;
}

.header-flex{
display:flex;
align-items:center;
justify-content:space-between;
}

.logo{
font-size:28px;
font-weight:700;
color:#0b3d91;
}

nav ul{
display:flex;
gap:20px;
list-style:none;
}

.banner-principal{
height:500px;
background:#0b3d91;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
color:#fff;
padding:40px;
}

.banner-content h1{
font-size:48px;
margin-bottom:30px;
}

.busca-box{
display:flex;
gap:10px;
justify-content:center;
}

.busca-box input{
padding:15px;
width:300px;
border:none;
border-radius:12px;
}

.busca-box button{
padding:15px 25px;
background:#ffc107;
border:none;
border-radius:12px;
font-weight:bold;
cursor:pointer;
}

.categorias{
padding:80px 0;
}

.grid-categorias{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:30px;
}

.card-categoria{
background:#fff;
border-radius:20px;
padding:20px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

footer{
background:#0b1f4d;
color:#fff;
padding:40px 0;
text-align:center;
}

@media(max-width:768px){
.header-flex{
flex-direction:column;
gap:20px;
}

.banner-content h1{
font-size:32px;
}

.busca-box{
flex-direction:column;
}
}
