/* ==========================================
   RESET E CONFIGURAÇÕES DA PALETA GRAFITE (#313131)
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #313131; 
    color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   HEADER / NAVBAR COM DEGRADÊ RADIAL CENTRAL (FOCO DE LUZ IGUAL À REF)
   ========================================== */
.header {
    /* Efeito de luz cinza-clara que abre no meio e escurece nas pontas laterais conforme image_3577c0.png */
    background-image: radial-gradient(ellipse at 50% 0%, rgba(100, 100, 100, 0.4) 0%, rgba(49, 49, 49, 0.98) 70%);
    background-color: #313131;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 18px 0 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Linha Superior */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
}

.logo-img {
    height: 100px; /* Aumentado ligeiramente para destacar a logo da imagem */
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-phone {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-header {
    background-color: #57832f; 
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    transition: background 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-header:hover {
    background-color: #436624;
}

/* Linha Inferior das Palavras */
.header-bottom-menu {
    display: flex;
    justify-content: flex-start;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-menu {
    display: flex;
    gap: 24px;
}

.nav-menu a {
    color: #ffffff; /* Ajustado para o branco da imagem de referência */
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    padding-bottom: 4px;
    text-transform: uppercase;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #bc2a08; /* Destaque em vermelho da marca */
}

/* ==========================================
   HERO SECTION (FOTO COMPLETA DE FUNDO)
   ========================================== */
.hero {
    padding: 80px 0;
    position: relative;
    background-image: linear-gradient(to right, 
        rgba(49, 49, 49, 1) 0%, 
        rgba(49, 49, 49, 0.95) 40%, 
        rgba(49, 49, 49, 0.3) 100%), 
        url('img/hero-bg.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.hero-content-wrapper {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-text-side h1 {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-text-side h1 span {
    color: #bc2a08;
}

.hero-text-side p {
    font-size: 1.15rem;
    color: #e2e8f0;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-primary {
    background-color: #57832f;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
    text-transform: uppercase;
}

.btn-primary:hover {
    background-color: #436624;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, border-color 0.2s;
    text-transform: uppercase;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #bc2a08;
}

.hero-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

.badge-item {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
}

.badge-item i {
    color: #bc2a08;
    font-size: 1.1rem;
    margin-right: 6px;
}

.badge-item small {
    display: block;
    font-weight: 400;
    color: #94a3b8;
    font-size: 0.75rem;
    margin-top: 2px;
    line-height: 1.3;
}

/* ==========================================
   ESTILIZAÇÃO DE SUBTÍTULOS
   ========================================== */
.subtitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 45px;
}

.section-subtitle {
    position: relative;
    display: inline-block;
    color: #ffffff !important; 
    font-size: 1.4rem !important; 
    font-weight: 800; 
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0 70px;
}

.section-subtitle .highlight-text {
    color: #bc2a08 !important;
    font-weight: 800;
}

.section-subtitle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3));
}

.section-subtitle::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 1px;
    background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.3));
}

.subtitle-wrapper.left-subtitle {
    justify-content: flex-start;
    margin-bottom: 24px;
}

.left-subtitle .section-subtitle {
    text-align: left;
    padding-left: 0;
    padding-right: 75px;
}

.left-subtitle .section-subtitle::before { display: none; }
.left-subtitle .section-subtitle::after {
    left: 100%;
    right: auto;
    width: 65px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.3), transparent);
}

/* ==========================================
   SOBRE NÓS LADO A LADO COM VÍDEO
   ========================================== */
.about-section {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text-box h2 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.about-text-box p { color: #d1d5db; }
.about-video-side { width: 100%; }

.video-mockup {
    border: 4px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background-color: #000;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================
   SEGMENTOS ATENDIDOS (ANIMAÇÃO HOVER NA FOTO)
   ========================================== */
.segments-section {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.segments-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.segment-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.segment-img {
    width: 100%;
    height: 130px;
    overflow: hidden; 
    background-color: rgba(255, 255, 255, 0.05);
}

.segment-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
    filter: brightness(0.85);
}

.segment-info { padding: 16px; }

.segment-info h3 {
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: #ffffff;
}

.segment-info p {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.4;
}

.segment-card:hover {
    transform: translateY(-4px);
    border-color: rgba(188, 42, 8, 0.25);
}

.segment-card:hover .segment-img img {
    transform: scale(1.12); 
    filter: brightness(1.05); 
}

/* ==========================================
   O QUE PRODUZIMOS
   ========================================== */
.production-section {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.production-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.product-mini-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 26px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s, box-shadow 0.25s;
}

.mini-icon {
    font-size: 2rem; 
    color: #bc2a08;  
    transition: transform 0.25s ease;
}

.product-mini-card span {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.product-mini-card:hover {
    transform: translateY(-5px);
    border-color: rgba(188, 42, 8, 0.3);
    box-shadow: 0 10px 20px rgba(188, 42, 8, 0.08);
}

.product-mini-card:hover .mini-icon {
    transform: scale(1.1);
}

/* ==========================================
   POR QUE ESCOLHER
   ========================================== */
.why-section {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 28px;
    border-radius: 4px;
    transition: border-color 0.25s;
}

.why-card i {
    color: #bc2a08; 
    font-size: 2.5rem; 
    margin-bottom: 16px;
    display: block;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.why-card h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.why-card p {
    color: #94a3b8;
    font-size: 0.8rem;
}

.why-card:hover { border-color: rgba(188, 42, 8, 0.15); }
.why-card:hover i { transform: scale(1.12) rotate(6deg); }

/* ==========================================
   GALERIA DE PROJETOS (HOVER ANIMADO NAS FOTOS)
   ========================================== */
.gallery-section {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    padding-bottom: 70%;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.gallery-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
    filter: brightness(0.8) grayscale(0.2); 
}

.gallery-item:hover img {
    transform: scale(1.08) rotate(1deg); 
    filter: brightness(1.1) grayscale(0); 
}

.gallery-action {
    text-align: center;
    margin-top: 40px;
}

/* ==========================================
   SEÇÃO INFRAESTRUTURA (.PNG DE FUNDO)
   ========================================== */
.stats-section {
    padding: 120px 0;
    position: relative;
    background-image: linear-gradient(rgba(49, 49, 49, 0.9), rgba(49, 49, 49, 0.9)), url('img/stats-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-inner h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.stats-inner h2 span { color: #bc2a08; }

.stats-inner p {
    color: #d1d5db;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

.stat-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #bc2a08;
    text-wrap-mode: nowrap;
}

.stat-txt {
    font-size: 0.8rem;
    color: #ffffff;
    font-weight: 700;
}

/* ==========================================
   CONTATO (FORMULÁRIO PREENCHÍVEL)
   ========================================== */
.contact-section {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.contact-info-side h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.contact-info-side p {
    color: #d1d5db;
    margin-bottom: 30px;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.channel-link {
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.channel-link i { color: #bc2a08; }

.form-box-mock {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-box-mock input, .form-box-mock textarea {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: border-color 0.2s, background-color 0.2s;
}

.form-box-mock input:focus, .form-box-mock textarea:focus {
    outline: none;
    border-color: #bc2a08;
    background-color: rgba(0, 0, 0, 0.3);
}

.form-box-mock textarea {
    height: 120px;
    resize: none;
}

.btn-form-whatsapp {
    background-color: #57832f; 
    color: #ffffff;
    border: none;
    padding: 16px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.9rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn-form-whatsapp:hover {
    background-color: #436624;
}

.btn-form-whatsapp:active {
    transform: scale(0.98);
}

/* RODAPÉ */
.footer {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text { font-size: 1.4rem; font-weight: 800; }
.footer-brand p { font-size: 0.75rem; color: #94a3b8; font-weight: 700; }
.footer-bottom-info { font-size: 0.8rem; font-weight: 700; color: #ffffff; }

.footer-wa-pill {
    background-color: #57832f;
    color: #ffffff;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    margin-left: 6px;
}

/* RESPONSIVIDADE INTELIGENTE */
@media (max-width: 1024px) {
    .segments-grid { grid-template-columns: repeat(3, 1fr); }
    .production-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .about-container, .contact-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero { background-image: linear-gradient(rgba(49, 49, 49, 0.95), rgba(49, 49, 49, 0.95)), url('img/hero-bg.png'); padding: 80px 0; }
    .hero-text-side h1 { font-size: 2.6rem; text-align: center; }
    .hero-content-wrapper { margin: 0 auto; }
    .hero-text-side p { margin-left: auto; margin-right: auto; text-align: center; }
    .hero-buttons, .hero-badges { justify-content: center; }
    .why-grid, .gallery-grid, .stats-grid { grid-template-columns: 1fr 1fr; }
    
    .section-subtitle { font-size: 1.1rem !important; padding: 0 45px; }
    .section-subtitle::before, .section-subtitle::after { width: 35px; }
    
    .subtitle-wrapper.left-subtitle { justify-content: center; }
    .left-subtitle .section-subtitle { text-align: center; padding: 0 45px; }
    .left-subtitle .section-subtitle::before { display: block; width: 35px; }
    .left-subtitle .section-subtitle::after { left: auto; right: 0; width: 35px; background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.3)); }
    .stats-section { background-attachment: scroll; }
}

@media (max-width: 768px) {
    .nav-menu, .header-phone { display: none; }
    .header-top { padding-bottom: 0; }
    .header-bottom-menu { display: none; }
    .segments-grid, .production-grid, .why-grid, .gallery-grid, .stats-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    .footer-grid-layout { flex-direction: column; gap: 16px; }
    
    .section-subtitle { font-size: 0.95rem !important; padding: 0 35px; }
    .section-subtitle::before, .section-subtitle::after { width: 25px; }
    .left-subtitle .section-subtitle { padding: 0 35px; }
    .left-subtitle .section-subtitle::before, .left-subtitle .section-subtitle::after { width: 25px; }
}