/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #000;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
a {
    text-decoration: none;
    color: white;

}
.title-services{
    font-size: 25px;
    margin-bottom: 12px;;
    color:#f1c40f;
}

.title-block{
    text-align: center;
}
/* Header */
header {
    background: rgba(38, 45, 54, 0.9);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;       /* Altura ideal para o menu */
    width: auto;        /* Mantém a proporção da largura */
    display: block;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05); /* Pequeno efeito de zoom ao passar o mouse */
}
nav ul {
    display: flex;
    list-style: none;
}

/* Hambúrguer oculto no desktop */
.menu-toggle {
    display: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-contato {
    background: #f1c40f;
    color: #000 !important;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}

/* Hero Section */
/* Container do Hero */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Garante que o vídeo não "escape" do container */
}

/* O vídeo propriamente dito */
.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2; /* Fica atrás de tudo */
    transform: translate(-50%, -50%);
    object-fit: cover; /* Faz o vídeo se comportar como um background-cover */
}

/* Overlay escura */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Ajuste a opacidade (0.5) conforme necessário */
    z-index: -1; /* Fica acima do vídeo, mas atrás do texto */
}

/* Garante que o conteúdo fique acima do vídeo */
.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 60px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-primary {
    background: #f1c40f;
    color: #000;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin: 10px;
    display: inline-block;
}

.btn-secondary {
    border: 2px solid #fff;
    color: #fff;
    padding: 13px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin: 10px;
    display: inline-block;
}

/* Services */
.services {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-titleb{
    line-height: 48px;
}
.section-title h2 {
    font-size: 2.5rem;
    color: #f1c40f;
}

.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #111;
    padding: 40px;
    border-radius: 10px;
    transition: 0.3s;
    border-bottom: 4px solid transparent;
}

.card:hover {
    border-bottom: 4px solid #f1c40f;
    transform: translateY(-10px);
}

.card h3 {
    margin-bottom: 15px;
}

/* CTA */
.cta {
    background: #f1c40f;
    color: #000;
    text-align: center;
    padding: 60px 0;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Rodapé Geral */
footer {
    background-color: #0a0a0a;
    padding: 80px 0 30px;
    color: #fff;
    border-top: 1px solid #1a1a1a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr; /* Coluna da logo um pouco maior */
    gap: 50px;
    margin-bottom: 50px;
}

/* Logo e Social */
.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #999;
    max-width: 350px;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #fff;
    background: #1a1a1a;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    background: #f1c40f; /* Amarelo Oz ao passar o mouse */
    color: #000;
    transform: translateY(-3px);
}

/* Colunas de Texto */
.footer-column h4 {
    color: #f1c40f;
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column p {
    color: #ccc;
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-column i {
    color: #f1c40f; /* Ícones pequenos em amarelo */
    width: 20px;
}

/* Link de WhatsApp */
.whatsapp-link {
    color: #25d366; /* Verde do WhatsApp para destaque */
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.whatsapp-link:hover {
    text-decoration: underline;
}

/* Rodapé inferior */
.footer-bottom {
    border-top: 1px solid #1a1a1a;
    padding-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

/* Responsividade */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p, .footer-column p {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }
}


/**/

/* Seção Equipe */
.team {
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.team-card {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #222;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(241, 196, 15, 0.1);
    border-color: #f1c40f;
}

.member-img {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz a foto preencher o espaço sem distorcer */
    filter: grayscale(100%); /* Efeito P&B estilo Oz */
    transition: 0.5s;
}

.team-card:hover .member-img img {
    filter: grayscale(0%); /* Ganha cor no hover */
    scale: 1.05;
}

.member-info {
    padding: 20px;
    text-align: left;
}

.member-info h3 {
    font-size: 1.2rem;
    color: #f1c40f;
    margin-bottom: 5px;
}

.member-info span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ccc;
    margin-bottom: 15px;
}

.member-info p {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.4;
}


/*=======================*/

/* Seção Portfólio/Cases */
.portfolio {
    padding: 100px 0;
}

.portfolio .section-title {
    text-align: center; /* Garante que o título e subtítulo fiquem centralizados */
    margin-bottom: 60px;
}

.portfolio .section-title h2 {
    color: #f1c40f;
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.portfolio .section-title p {
    font-size: 1.2rem;
    color: #bbb;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.btn-primary.mt-30 { /* Margem para o botão abaixo do título */
    margin-top: 30px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Mínimo 280px por coluna */
    grid-auto-rows: minmax(200px, auto); /* Linhas de no mínimo 200px */
    gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    background-color: #1a1a1a; /* Fundo para quando a mídia não carregar */
    display: flex; /* Para centralizar o overlay */
    align-items: center;
    justify-content: center;
    min-height: 250px; /* Altura mínima para cada item */
}

.portfolio-item img,
.portfolio-item video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a mídia cubra o item sem distorcer */
    display: block;
    transition: transform 0.5s ease;
}

/* Item grande no grid (ocupa 2 colunas e 2 linhas) */
.item-large {
    grid-column: span 2;
    grid-row: span 2;
}

/* Overlay com informações */
.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Fundo escuro */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Escondido por padrão */
    transition: opacity 0.3s ease;
    text-align: center;
    padding: 20px;
}

.portfolio-item:hover .item-overlay {
    opacity: 1; /* Mostra no hover */
}

.portfolio-item:hover img,
.portfolio-item:hover video {
    transform: scale(1.05); /* Pequeno zoom na mídia */
}

.item-overlay h3 {
    color: #f1c40f;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.item-overlay p {
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Responsividade para o grid */
@media (min-width: 768px) {
    .portfolio-grid {
        /* Exemplo de layout mais complexo para telas maiores */
        grid-template-columns: repeat(1, 1fr); /* 4 colunas em telas maiores */
        grid-auto-rows: minmax(250px, auto); /* Altura das linhas */
    }

    /* Redistribuição do item grande em telas maiores */
    .item-large:nth-child(1) { /* O primeiro item pode ser grande */
        grid-column: span 2;
        grid-row: span 2;
    }
    .item-large:nth-child(5) { /* Ou outro item que você queira destacar */
        grid-column: span 2;
        grid-row: span 1; /* Exemplo: ocupa 2 colunas, 1 linha */
    }
}

@media (max-width: 767px) {
    .portfolio .section-title h2 {
        font-size: 2rem;
    }
    .portfolio .section-title p {
        font-size: 1rem;
    }
    .portfolio-grid {
        grid-template-columns: 1fr; /* Uma coluna em telas muito pequenas */
    }
    .item-large {
        grid-column: span 1; /* Em telas pequenas, o item grande também ocupa 1 coluna */
        grid-row: span 1;
    }
}
/*------------------------------*/
/* Seção de Parceiros/Logos */
.partners {
    padding: 60px 0;
    background-color: #000;
    overflow: hidden;
}

.partners-title {
    text-align: center;
    font-size: 1.5rem;
    color: #f1c40f;
    margin-bottom: 40px;
    font-weight: 400;
    letter-spacing: 1px;
}

/* Container do Slider */
.logos-slider {
    width: 100%;
    position: relative;
    display: flex;
    overflow: hidden;
    padding: 20px 0;
}

/* Degradê nas laterais para suavizar a entrada/saída das logos */
.logos-slider::before,
.logos-slider::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 200px;
    z-index: 2;
    pointer-events: none;
}

.logos-slider::before {
    left: 0;
    background: linear-gradient(to right, #000, transparent);
}

.logos-slider::after {
    right: 0;
    background: linear-gradient(to left, #000, transparent);
}

/* Trilho que move as logos */
.logos-track {
    display: flex;
    width: calc(250px * 12); /* Largura base de cada logo x total de logos (incluindo as duplicadas) */
    animation: scroll 30s linear infinite;
}

.logos-track img {
    width: 250px; /* Ajuste conforme o tamanho das suas logos */
    height: 180px;
    object-fit: contain;
    margin: 0 40px;
    filter: grayscale(100%) brightness(0.7); /* Logos discretas */
    transition: 0.3s ease;
}

.logos-track img:hover {
    filter: grayscale(0%) brightness(1); /* Ganha cor no hover */
}

/* Animação do Scroll */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 6)); /* Move exatamente a metade da largura total (as logos originais) */
    }
}

/* Pausar animação quando o mouse estiver em cima */
.logos-slider:hover .logos-track {
    animation-play-state: paused;
}

/*====*/

/* Seção "Sua ideia está em casa" */
.idea-home {
    padding: 120px 0;
    background-color: #000;
}

.idea-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.idea-text {
    flex: 1;
    min-width: 300px;
}

.idea-text h2 {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 25px;
}

.idea-text h2 span {
    color: #f1c40f; /* O Amarelo Oz */
}

.idea-text .divider {
    width: 60px;
    height: 4px;
    background-color: #f1c40f;
    margin-bottom: 25px;
}

.idea-text p {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-text {
    color: #f1c40f;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-text:hover {
    padding-left: 10px;
}

/* Visual / Moldura */
.idea-visual {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.frame-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.main-photo {
    width: 100%;
    height: auto;
    border-radius: 4px;
    position: relative;
    z-index: 2;
    filter: grayscale(20%);
    transition: 0.5s ease;
}

.frame-container:hover .main-photo {
    filter: grayscale(0%);
}

/* O detalhe da moldura/caixa amarela atrás da foto */
.frame-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid #f1c40f;
    z-index: 1;
    transition: 0.4s ease;
}

.frame-container:hover .frame-accent {
    top: 10px;
    right: 10px;
}

/* Responsividade */
@media (max-width: 768px) {
    .idea-text h2 {
        font-size: 2.2rem;
    }
    
    .idea-grid {
        flex-direction: column;
        text-align: center;
    }
    
    .idea-text .divider {
        margin: 0 auto 25px auto;
    }
    
    .frame-accent {
        display: none; /* Simplifica em telas pequenas */
    }
}





/*=======================*/
/* Responsividade */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .footer-grid { flex-direction: column; gap: 30px; }
}




/*SERVIÇOS*/
/* Hero Específico de Subpáginas */
.hero-subpage {
    padding: 180px 0 100px;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('fundo-servicos.jpg');
    background-size: cover;
    text-align: center;
}

.hero-subpage h1 {
    font-size: 3rem;
    color: #f1c40f;
    margin-bottom: 20px;
}

/* Blocos de Detalhe do Serviço */
.services-detail {
    padding: 100px 0;
}

.service-block {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 120px;
}

.service-block.reverse {
    flex-direction: row-reverse;
}

.service-content {
    flex: 1;
}

.service-content h2 {
    font-size: 2.5rem;
    color: #f1c40f;
    margin-bottom: 20px;
}

.service-image {
    flex: 1;
}

.service-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* Metodologia / Passo a Passo */
.methodology {
    background-color: #111;
    padding: 100px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step {
    padding: 20px;
    border-top: 2px solid #333;
    transition: 0.3s;
}

.step:hover {
    border-top-color: #f1c40f;
}

.step-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #f1c40f;
    margin-bottom: 15px;
    opacity: 0.5;
}

.step h3 {
    margin-bottom: 10px;
}

.step p {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.6;
}

/* Estilo para item ativo no menu */
nav ul li a.active {
    color: #f1c40f;
    font-weight: 700;
}

.service-video {
    width: 100%;
    height: auto;
    border-radius: 10px; /* Mantém o padrão das imagens */
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    display: block;
    object-fit: cover; /* Garante que o vídeo preencha o espaço corretamente */
}

/*--------------------*/

/* Seção Animações */
.animations-section {
    padding: 100px 0;
    background: #050505;
}

.animation-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.animation-text span {
    color: #f1c40f;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.animation-text h2 {
    font-size: 2.8rem;
    margin: 15px 0;
}

.video-framed {
    width: 100%;
    max-width: 550px;
    border: 8px solid #111;
    border-radius: 15px;
}

/* Container do Mosaico */
.cases-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colunas em telas grandes */
    grid-auto-rows: 250px; /* Altura padrão das linhas */
    gap: 15px;
    margin-top: 50px;
}
.cased-mosaic {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* 4 colunas em telas grandes */
    grid-auto-rows: 250px; /* Altura padrão das linhas */
    gap: 15px;
    margin-top: 50px;
}

/* Item base do Mosaico */
.case-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #111;
}

.case-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0.8;
}

/* Variações de tamanho */
.case-item.large {
    grid-column: span 2;
    grid-row: span 2; /* Ocupa 2x2 */
}

.case-item.wide {
    grid-column: span 2; /* Ocupa 2 colunas, 1 linha */
}

/* Efeito de Overlay (estilo Oz) */
.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 10%, transparent 90%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.case-item:hover .case-overlay {
    opacity: 1;
}

.case-item:hover img {
    transform: scale(1.1);
    opacity: 1;
}

/* Badge e Textos */
.case-overlay .badge {
    background: #f1c40f;
    color: #000;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 3px;
    align-self: flex-start;
    margin-bottom: 10px;
}

.case-overlay h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 5px;
}

.case-overlay p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 15px;
}

.view-case {
    color: #f1c40f;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* Responsividade do Mosaico */
@media (max-width: 1024px) {
    .cases-mosaic {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas em tablets */
    }
}

@media (max-width: 600px) {
    .cases-mosaic {
        grid-template-columns: 1fr; /* 1 coluna no celular */
        grid-auto-rows: 300px;
    }
    
    .case-item.large, .case-item.wide {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Seção Segurança Viária (VR) */
.safety-tech {
    background: linear-gradient(45deg, #000 30%, #1a1a1a 100%);
    padding: 80px 0;
    border-top: 1px solid #333;
}

.safety-content {
    display: flex;
    align-items: center;
    background: #111;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #222;
}

.safety-text {
    padding: 60px;
    flex: 1;
}

.safety-image {
    flex: 1;
}

.safety-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/**/

/* Hero Marketing */
.hero-marketing {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    z-index: -2;
    object-fit: cover;
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content-marketing span {
    color: #f1c40f;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 700;
}

.hero-content-marketing h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin: 15px 0;
}

.hero-content-marketing h1 span {
    color: #f1c40f;
}

/* Intro Text */
.intro-marketing {
    padding: 100px 0;
}
.logo-img-title{
    width: 450px;
    margin-bottom: 150px;
     margin-top: 50px;
     align-content: center;
}
.logo-img-box{
margin: 0 auto;
display: flex;
justify-content: center;
}
.intro-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}
.intro-title-a {
    display: grid;
    align-items: center;
}
.intro-main h2 {
    font-size: 2.2rem;
    border-left: 5px solid #f1c40f;
    padding-left: 30px;
}

.intro-maina h2 {
    font-size: 2.5rem;
    padding-left: 30px;
    
}

.intro-sub p {
    color: #999;
    font-size: 1.1rem;
    line-height: 1.8;
}
.intro-sub-a p {
    color: #999;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
}

.intro-sub-ta p {
    color: #999;
    font-size: 1.5rem;
    line-height: 1.4;
    text-align: center;
}


/* Grid de Peças */
.marketing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 15px;
    margin-bottom: 100px;
}

.mkt-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.mkt-item img, .mkt-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.mkt-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.mkt-item.wide {
    grid-column: span 2;
}

.mkt-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, #000);
    transition: 0.4s ease-in-out;
}

.mkt-item:hover .mkt-overlay {
    bottom: 0;
}

.mkt-item:hover img, .mkt-item:hover video {
    transform: scale(1.05);
}

/* CTA Section */
.marketing-cta {
    background-color: #f1c40f;
    padding: 100px 0;
    text-align: center;
    color: #000;
}

.marketing-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.marketing-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.8;
}
/*MODAL*/

/* Layout do Catálogo em 2 colunas */
.serviços_catalog {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Força exatamente 2 colunas por linha */
    gap: 40px; /* Espaço entre os blocos */
    margin-top: 50px;
}

/* Estilo individual de cada bloco */
.catalog_step {
    padding: 30px;
    background: #111; /* Fundo levemente destacado, opcional */
    border-top: 2px solid #333;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.catalog_step:hover {
    border-top-color: #f1c40f; /* Destaque amarelo ao passar o mouse */
}

/* Ajuste para telas pequenas (Mobile) */
@media (max-width: 768px) {
    .serviços_catalog {
        grid-template-columns: 1fr; /* No celular vira 1 coluna para não espremer o texto */
    }
}

/* Responsividade */
@media (max-width: 992px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }
    .hero-content-marketing h1 {
        font-size: 2.8rem;
    }
    .marketing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsividade */
@media (max-width: 992px) {
    .animation-grid, .safety-content {
        flex-direction: column;
        text-align: center;
    }
    .safety-text {
        padding: 40px 20px;
    }
}

/* Responsividade Serviços */
@media (max-width: 768px) {
    .service-block, .service-block.reverse {
        flex-direction: column;
        text-align: center;
    }
    .hero-subpage h1 {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 768px) {

    /* Exibe e estiliza o botão hambúrguer */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
        z-index: 1100;
        position: relative;
    }

    .menu-toggle .bar {
        width: 25px;
        height: 3px;
        background-color: #fff;
        border-radius: 3px;
        transition: 0.3s ease;
        display: block;
    }

    /* Animação X ao abrir */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Menu oculto fora da tela à direita */
    .nav-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #1a1d23;
        transition: right 0.4s ease;
        z-index: 1050; /* Acima do header (z-index: 1000) */
    }

    /* Menu visível ao adicionar .active */
    .nav-list.active {
        right: 0;
    }

    .nav-list li {
        margin: 20px 0;
        list-style: none;
    }

    .nav-list li a {
        color: #ffffff !important;
        font-size: 1.5rem;
        display: block;
        text-decoration: none;
    }

    .nav-list .btn-contato {
        background-color: #f1c40f;
        padding: 15px 30px;
        border-radius: 5px;
        color: #000 !important;
    }
}
/*MODAL*/
/* Reset e Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; background-color: #000; color: #fff; overflow-x: hidden; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header e Nav */
header { background: rgba(38, 45, 54, 0.9); padding: 20px 0; position: fixed; width: 100%; top: 0; z-index: 1000; }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 50px; transition: 0.3s; }
.nav-list { display: flex; list-style: none; }
.nav-list li { margin-left: 20px; }
.btn-contato { background: #f1c40f; color: #000 !important; padding: 10px 20px; border-radius: 5px; font-weight: bold; }

/* Hero Marketing */
.hero-marketing { position: relative; height: 80vh; display: flex; align-items: center; overflow: hidden; }
.hero-video-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); min-width: 100%; min-height: 100%; z-index: -2; object-fit: cover; }
.overlay-dark { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: -1; }
.hero-content-marketing h1 { font-size: 4rem; line-height: 1.1; margin: 15px 0; }

/* Grid de Marketing */
.marketing-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; gap: 15px; margin-bottom: 100px; }
.mkt-item { position: relative; overflow: hidden; border-radius: 5px; cursor: pointer; }
.mkt-item img, .mkt-item video { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.mkt-item.large { grid-column: span 2; grid-row: span 2; }
.mkt-item.wide { grid-column: span 2; }
.mkt-overlay { position: absolute; bottom: -100%; left: 0; width: 100%; padding: 20px; background: linear-gradient(transparent, #000); transition: 0.4s ease; }
.mkt-item:hover .mkt-overlay { bottom: 0; }

/* --- MODAL CINEMA --- */
.video-modal {
    display: none; 
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center; justify-content: center;
}
.modal-content { width: 90%; max-width: 1000px; }
.modal-content video { width: 100%; border-radius: 8px; box-shadow: 0 0 30px rgba(241, 196, 15, 0.3); }
.close-modal { position: absolute; top: 30px; right: 40px; color: #fff; font-size: 50px; cursor: pointer; transition: 0.3s; }
.close-modal:hover { color: #f1c40f; }

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .marketing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-content-marketing h1 { font-size: 2.5rem; }
    .marketing-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .mkt-item.large, .mkt-item.wide { grid-column: span 1; grid-row: span 1; }
    .mkt-item { height: 250px; }
    
    /* Menu Mobile */
    .menu-toggle { display: flex; flex-direction: column; gap: 5px; cursor: pointer; }
    .menu-toggle .bar { width: 25px; height: 3px; background: #fff; transition: 0.3s; }
    .nav-list { position: fixed; right: -100%; top: 0; width: 100%; height: 100vh; background: #1a1d23; flex-direction: column; align-items: center; justify-content: center; transition: 0.4s; }
    .nav-list.active { right: 0; }
    .nav-list li { margin: 20px 0; }
}