.projetos-recentes {
padding: 100px 0;
background-color: var(--cor_08);
}
.section-header {
text-align: center;
margin-bottom: 60px;
max-width: 800px;
margin-left: auto;
margin-right: auto;
}
.section-header .subtitle {
color: var(--cor_06);
font-size: 13px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 2px;
display: block;
margin-bottom: 5px;
}
.section-header .title {
font-size: 41px;
line-height: 1.2;
color: var(--cor_09);
font-weight: 700;
margin: 0 0 5px;
position: relative;
}
.section-header .description {
color: var(--cor_09);
font-size: 16px;
line-height: 1.7;
margin-bottom: 20px;
}
.btn_projetos {
display: flex;
justify-content: center;
margin-top: 60px;
}
.btn_projetos a {
display: inline-flex;
align-items: center;
gap: 12px;
font-family: var(--font_primary);
font-size: 14px;
text-transform: uppercase;
letter-spacing: 0.2em;
color: var(--cor_09);
text-decoration: none;
transition: color 0.3s ease;
font-weight: 600;
text-align: center;
}
.btn_projetos a:hover {
color: var(--cor_06);
}
.btn_projetos .bars {
display: block;
width: 48px;
height: 1px;
background-color: var(--cor_09);
opacity: 0.3;
transition: all 0.3s ease;
}
.btn_projetos a:hover .bars {
width: 80px;
background-color: var(--cor_06);
opacity: 1;
}
.projetos-grid {
display: flex;
flex-direction: column;
gap: 20px;
}
.projetos-grid .top,
.projetos-grid .bottom {
width: 100%;
}
.projetos-grid .bottom {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 20px;
}
.projetos-grid .top .projeto-card {
height: 300px;
}
.projeto-card {
position: relative;
overflow: hidden;
border-radius: 4px;
height: 300px;
}
.projeto-card .img-placeholder {
width: 100%;
height: 100%;
}
.projeto-card .img-placeholder a {
display: block;
width: 100%;
height: 100%;
position: relative;
}
.projeto-card img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.projeto-card:hover img {
transform: scale(1.1);
}
.projeto-card .overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
opacity: 0;
transition: opacity 0.4s ease;
padding: 20px;
text-align: center;
z-index: 1;
}
.projeto-card:hover .overlay {
opacity: 1;
}
.project-title {
color: #fff;
font-size: 24px;
font-weight: 700;
margin-bottom: 10px;
transform: translateY(20px);
transition: transform 0.4s ease;
text-transform: uppercase;
letter-spacing: 1px;
}
.project-desc {
color: rgba(255, 255, 255, 0.9);
font-size: 16px;
line-height: 1.4;
transform: translateY(20px);
transition: transform 0.4s ease 0.1s;
max-width: 80%;
}
.projeto-card:hover .project-title,
.projeto-card:hover .project-desc {
transform: translateY(0);
}
@media (max-width: 1500px) {
.section-header .title {
font-size: 36px;
}
}
@media (max-width: 1080px) {
.projetos-recentes {
padding: 40px 0;
}
.section-header {
margin-bottom: 30px;
}
}
@media (max-width: 992px) {
.projetos-grid .bottom {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.btn_projetos a {
font-size: 12px;
}
}
@media (max-width: 768px) {
.section-header .title {
font-size: 36px;
}
.projetos-grid .bottom {
grid-template-columns: 1fr;
}
}
@media (max-width: 550px) {
.section-header .title {
font-size: 28px;
}
.section-header .subtitle {
font-size: 12px;
}
.section-header .description {
line-height: 1.5;
font-size: 15px;
}
}