/*
Theme Name: Click Feira New
Theme URI: https://www.clickfeira.com.br
Author: Click Feira
Description: Nova versão moderna da plataforma Click Feira
Version: 1.0
Text Domain: clickfeira-new
*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #222;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   HEADER MODERNO
================================ */

.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    padding: 20px 0;
}


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


.logo img {
    width: 180px;
    display: block;
}


.menu-principal ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}


.menu-principal ul li a {
    font-size: 15px;
    font-weight: 600;
    color: #222222;
    transition: .3s;
}


.menu-principal ul li a:hover {
    color: #2454A6;
}


/* ================================
   FOOTER MODERNO
================================ */


.site-footer {

    width:100%;
    background:#2454A6;
    padding:40px 0;
    margin-top:50px;

}


.footer-container {

    text-align:center;

}


.footer-social {

    margin-bottom:20px;

}


.footer-social a {

    display:inline-flex;
    align-items:center;
    justify-content:center;

    width:40px;
    height:40px;

    margin:0 5px;

    border-radius:50%;

    background:#ffffff;

    color:#2454A6;

    font-weight:bold;

    font-size:18px;

}


.footer-social a:hover {

    transform:translateY(-3px);

}


.copyright {

    color:#ffffff;
    font-size:14px;

}


/* ================================
   RESPONSIVO
================================ */


@media(max-width:768px){


.header-container{

    flex-direction:column;

}


.menu-principal ul{

    flex-wrap:wrap;
    justify-content:center;
    margin-top:20px;

}


}

/* ================================
   HOME
================================ */


.hero {

background:#f5f8ff;

padding:70px 0;

text-align:center;

}


.hero h1 {

font-size:42px;

color:#2454A6;

margin-bottom:15px;

}


.hero p {

font-size:18px;

color:#555;

}



.conteudo-home {

padding:50px 0;

}



.bloco h2 {

font-size:30px;

color:#2454A6;

margin-bottom:30px;

}



.cards {

display:grid;

grid-template-columns:repeat(3,1fr);

gap:30px;

}



.card {

background:#ffffff;

border:1px solid #eeeeee;

border-radius:12px;

overflow:hidden;

padding-bottom:20px;

}



.card img {

width:100%;

height:200px;

object-fit:cover;

}



.card h3 {

padding:15px 20px 5px;

font-size:20px;

}



.card p {

padding:0 20px;

color:#666;

line-height:1.5;

}



@media(max-width:900px){

.cards{

grid-template-columns:repeat(2,1fr);

}

}



@media(max-width:600px){

.cards{

grid-template-columns:1fr;

}

}

.page-header{
padding:70px 0;
background:#f8fafc;
text-align:center;
margin-bottom:50px;
}

.page-header h1{
font-size:42px;
margin-bottom:10px;
color:#0f172a;
}

.page-header p{
color:#64748b;
font-size:18px;
}

.eventos-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(340px,1fr));
gap:30px;
margin-bottom:60px;
}

.evento-card{
background:#fff;
border-radius:18px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,.08);
transition:.3s;
}

.evento-card:hover{
transform:translateY(-8px);
box-shadow:0 20px 45px rgba(0,0,0,.15);
}

.evento-card a{
display:block;
color:#222;
}

.evento-thumb{
position:relative;
aspect-ratio:16/9;
overflow:hidden;
}

.evento-thumb img{
width:100%;
height:100%;
object-fit:cover;
transition:.4s;
}

.evento-card:hover img{
transform:scale(1.06);
}

.evento-data{
position:absolute;
top:18px;
left:18px;
background:#0d6efd;
color:#fff;
width:65px;
height:70px;
border-radius:12px;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
font-weight:bold;
}

.evento-data span{
font-size:24px;
line-height:1;
}

.evento-data small{
font-size:13px;
margin-top:4px;
}

.evento-info{
padding:22px;
}

.evento-info h3{
margin-bottom:12px;
font-size:22px;
color:#111827;
}

.evento-local{
margin-bottom:12px;
color:#475569;
}

.evento-atracao{
color:#64748b;
line-height:1.6;
margin-bottom:20px;
}

.evento-btn{
display:inline-block;
padding:10px 18px;
background:#0d6efd;
color:#fff;
border-radius:8px;
font-weight:bold;
transition:.3s;
}

.evento-btn:hover{
background:#084298;
}

@media(max-width:768px){

.eventos-grid{
grid-template-columns:1fr;
}

.page-header h1{
font-size:32px;
}

}

/* ===========================
   PÁGINA DO EVENTO
=========================== */

.evento-single{
    padding:60px 0;
    background:#f7f8fa;
}

.evento-banner{
    width:100%;
    border-radius:18px;
    display:block;
    margin-bottom:35px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.evento-conteudo{
    background:#fff;
    padding:40px;
    border-radius:18px;
    box-shadow:0 10px 35px rgba(0,0,0,.06);
}

.evento-conteudo h1{
    font-size:42px;
    color:#222;
    margin-bottom:25px;
    line-height:1.2;
}

.evento-meta{
    display:flex;
    gap:25px;
    flex-wrap:wrap;
    margin-bottom:35px;
    padding-bottom:25px;
    border-bottom:1px solid #ececec;
}

.evento-meta p{
    margin:0;
    font-size:17px;
    color:#555;
}

.evento-atracoes{
    background:#2454A6;
    color:#fff;
    padding:25px;
    border-radius:15px;
    margin-bottom:35px;
}

.evento-atracoes h2{
    color:#fff;
    margin-bottom:15px;
    font-size:24px;
}

.evento-atracoes p{
    color:#fff;
    font-size:17px;
    line-height:1.8;
}

.evento-texto{
    font-size:18px;
    line-height:1.9;
    color:#444;
}

.evento-texto img{
    max-width:100%;
    height:auto;
    border-radius:12px;
    margin:20px 0;
}

@media(max-width:768px){

    .evento-conteudo{
        padding:25px;
    }

    .evento-conteudo h1{
        font-size:30px;
    }

}

.hero{
    margin:40px 0;
}

.hero-post{
    position:relative;
    overflow:hidden;
    border-radius:18px;
}

.hero-post img{
    width:100%;
    height:520px;
    object-fit:cover;
    display:block;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(to top,rgba(0,0,0,.75),transparent);
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:40px;
}

.hero-overlay h2{
    color:#fff;
    font-size:42px;
    margin:10px 0 0;
}

.categoria{
    display:inline-block;
    background:#0b5cff;
    color:#fff;
    padding:8px 16px;
    border-radius:999px;
    font-size:14px;
    width:max-content;
}

.section-title{
    margin:50px 0 25px;
}

.news-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.news-card{
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.news-card:hover{
    transform:translateY(-6px);
}

.news-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.news-card h3{
    padding:18px 18px 10px;
    margin:0;
}

.news-card p{
    padding:0 18px 20px;
    color:#666;
}