@charset "utf-8";

/* ==========================================================================
   1. IMPORTAÇÕES E FONTES
   ========================================================================== */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* ==========================================================================
   2. VARIÁVEIS E RESET GERAL
   ========================================================================== */
:root {
    --cor1: #ff3b2c;
    --cor1-1: #ff3b2c;
    --coricones: #ff1800;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20vh;
}

* {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    text-decoration: none;
    box-sizing: border-box; /* Adicionado para evitar que padding estoure larguras */
}

main {
    height: auto;
}

/* Utilitários de Layout */
.limitadorpage,
.limitadorpage2,
.limitadorpage3 {
    width: 90%;
    margin: 0 auto;
    align-items: center;
    align-content: center;
}

.limitadorpage { max-width: 1200px; text-align: center; }
.limitadorpage2 { max-width: 1100px; }
.limitadorpage3 { max-width: 1100px; display: flex; justify-content: space-between; }

.linehor {
    border-bottom: 1px solid #000;
    width: 100%;
    margin: 50px 0px;
}

.elegant {
    font-family: "Bodoni Moda", serif;
    transform: scale(1.6);
}

/* ==========================================================================
   3. BOTÕES GERAIS
   ========================================================================== */
.button {
    background: #fff;
    color: #000;
    padding: 10px 25px;
    border: none;
    border-radius: 30px;
    transition: 0.3s ease;
		
}



.button3 {
    background: #000;
    color: #fff;
    padding: 10px 25px;
    border: none;
    border-radius: 30px;
    transition: 0.3s ease;
		
}


.button2 {
    background: #1e1e1e;
    color: #fff;
    padding: 10px 25px;
    border: none;
    border-radius: 30px;
    transition: 0.5s ease;
}

.button2:hover {
    transform: scale(1.05);
}

/* ==========================================================================
   4. HEADER E NAVEGAÇÃO
   ========================================================================== */
header {
    width: 100%;
    height: auto;
    padding: 30px 0px;
    background: #2F2F2F url("img/bg01.jpg") no-repeat center;
    background-blend-mode: overlay;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    display: flex;
    animation: move-bg 30s ease infinite;
    transition: 0.5s ease;
}

@keyframes move-bg {
    from { background-position: 0 0; }
    to { background-position: 100% 100%; }
}

/* Header Reduzido (JS) */
header.reduzido {
    height: 150px;
    transition: 0.5s ease;
}


header.reduzido .escondermenu {
    display: none; 
	transition: all 0.4s ease;
}

/* Menu (Nav) */
nav {
    width: 100%;
    height: 100px;
    align-items: center;
    justify-content: space-between;
    display: flex;
    flex-wrap: wrap;
}

nav ul {
    list-style-type: none;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

nav li {
    display: inline-block; 
    margin-right: 10px;
    font-size: 10pt;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #ff1800;
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Títulos do Header */
#title01 {
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
    padding: 200px 0px;
}

#title01 a { color: #fff; }

#subtitle {
    width: 90%;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 15px;
    transition: color 0.3s ease;
}

#subtitle::after {
    content: '';
    position: absolute;
    width: 20%;
    height: 1px;
    bottom: 0;
    left: 50%;
    background-color: #fff;
    transition: all 1.3s ease-in-out;
    transform: translateX(-50%);
}

#subtitle:hover::after {
    width: 80%;
}

/* ==========================================================================
   5. SEÇÕES DA HOME (Boxes, Sócios, Soluções)
   ========================================================================== */
/* Boxes Chamativos */
#chamativosbox1 {
    width: 100%;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    display: flex;
    padding: 25px 0px;
    flex-direction: row;
    gap: 15px;
    border-bottom: 1px solid #000;
}

.boxes {
    max-width: 400px;
    align-items: center;
    align-content: center;
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 10px;
}

.boxes svg { width: 50px; height: 50px; color: #000; }
.boxes b { font-size: 17pt; font-weight: 600;}


/* Main 2 (Sócios/Sobre) */
#main2 {
    width: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
    padding: 0px 0px;
}

#esq01 {
    max-width: 440px;
    gap: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 0px;
}

#sociosint {
    align-items: flex-start;
    display: flex;
    flex-direction: row;
}

.socios {
    align-items: flex-start;
    display: flex;
    padding: 10px;
    gap: 25px;
}

.socios img {
    margin: 10px;
    box-shadow: 0px 5px 20px 0px #f5f5f5;
    border-radius: 255px;
}

.socios span { font-style: italic; }

/* Soluções (Checklist) */
#solucoesitens {
    width: 100%;
    align-items: center;
    align-content: space-between;
    display: flex;
}

.linhas {
    width: 100%;
    margin: 0 auto;
    align-content: space-between;
}

.linhas i{
	font-size: 22pt;
	color: #000;
}

.linha {
    width: 100%;
    align-items: flex-start;
    align-content: center;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    margin: 0px;
    padding: 15px 0px;
    transition: 0.3s ease;
	gap: 25px;
}

.linha:hover {
    padding-top: 35px;
    padding-bottom: 35px;   
}

.coluna1 { width: 100%; max-width: 250px; display: flex; gap: 15px;}
.coluna2 { max-width: 100%; max-width: 700px; }

.coluna2 li {
    list-style: url("img/icon/check-circle.svg");
    margin-bottom: 20px;
    list-style-position: inside;
    padding-left: 0;
}

.coluna2 li:hover {
    transform: scale(1.01);
    transition: 0.2s ease;
	font-weight: 800;
}

/* ==========================================================================
   6. BLOG
   ========================================================================== */
#blog2 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0px 0px;
}

#container-blog-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
    width: 100%;
    margin-top: 0px;
}

#container-blog-home a { color: #020202; }

.postblog {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.fotoblog {
    width: 100%;
    /* max-width removido para garantir grid, ajuste se necessário */
    height: 200px;
    background: #000;
    margin-bottom: 5px;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.post-aberto img { max-width: 100%; height: auto; }

#cta {
    width: 100%;
    display: flex;
    justify-content: center;
	align-content: center;
	align-items: center;
	margin-top: 30px;
    padding: 25px 0px;
}

/* ==========================================================================
   7. CONTATO E FORMULÁRIO
   ========================================================================== */
#contato {
    padding: 50px 0px;
    min-height: 80vh;
	text-align: center;
	justify-content: center;
	align-content: center;
	align-items: center;
}

#contato h1{ text-transform: uppercase; font-weight: 100; margin: 30px 0px}

#contato p{padding: 15px;}

.formulario-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 0px;
    background: #fff;
    border-radius: 8px;
}

.campo {
    margin-bottom: 20px;
    text-align: left;
}

.campo label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.campo input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border 0.3s;
}

.campo input:focus {
    border-color: #ff2a00;
    outline: none;
}

.btn-enviar {
    width: 100%;
    padding: 15px;
    background-color: #1e1e1e;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-enviar:hover {
    background-color: #111111;
}

.linkscontato{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	padding-top: 25px;

}

.linkscontato p{
	padding: 10px;
}

.linkscontato p:hover{background: #f5f5f5; border-radius: 5px;}

.linkscontato i{
	padding: 5px;
}


.limitadorpage4{
    width: 90%;
    margin: 0 auto;
   	justify-content: center;
	align-content: center;
	align-items: center;
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
footer {
    width: 100%;
    height: 100px;
    align-items: center;
    align-content: center;
    justify-content: space-between;
    background: #000;
    color: #fff;
    flex-direction: row;
    display: flex;
    margin-top: 50px;
}

footer li {
    list-style: none;
    display: inline-block;
    text-transform: uppercase;
}

footer li a {
    color: #fff;
    font-size: 10pt;
    padding: 0px 10px;
}

/* ==========================================================================
   9. ANIMAÇÕES E INTERATIVIDADE
   ========================================================================== */
section {
    scroll-margin-top: 80px; /* Offset para o header fixo */
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: #f0f0f0;
    transform: translateY(-5px);
}

.back-to-top.show {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Fade Items (Configurado para visível por padrão para segurança) */
.fade-item {
    opacity: 1; /* Mudei de 0 para 1 para evitar site invisível se JS falhar */
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    pointer-events: auto;
}

.fade-item.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.fade-item:nth-child(1) { transition-delay: 0.1s; }
.fade-item:nth-child(2) { transition-delay: 0.2s; }
.fade-item:nth-child(3) { transition-delay: 0.3s; }
.fade-item:nth-child(4) { transition-delay: 0.4s; }

/* Animação Fade In Padrão */
.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   10. RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 768px) {
    /* Ajustes Gerais */
    nav { justify-content: center; }
    
    /* Layouts que viram coluna */
    #chamativosbox1,
    #main2,
    #sociosint {
        flex-direction: column;
    }

    /* Ordem dos elementos no Main2 */
    #dir02 {
        order: -1;
        width: 60%;
    }

    /* Ajuste de larguras */
    .boxes { width: 100%; }
    .socios { align-items: center; flex-wrap: wrap; }
    .coluna1 { width: 100%; max-width: 600px; }
    
    /* Blog Responsivo */
    #container-blog-home {
        grid-template-columns: 1fr; /* 1 Coluna no celular */
    }
    .postblog { width: 100%; }
	
}