/* Variável de Cor Padrão */
:root {
    --industrial-blue: #1e3a5f;
    /* Azul escuro do logo */
}

/* Hero Section */
.home-hero {
    height: 500px;
    position: relative;
    padding: 180px 0 100px 0 !important;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    padding: 180px 0 80px 0;
    color: var(--industrial-blue);
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.05);
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 99, 157, 0.95) 0%,
            rgba(0, 99, 157, 0.90) 35%,
            rgba(0, 99, 157, 0.75) 60%,
            rgba(255, 255, 255, 1) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    align-items: center;
}

.hero-content h1 {
    font-size: 32.5px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-align: center;
}

.orcamento-btn {
    display: flow;
    width: 200px !important;
    text-align: center;
}

/* Stats boxes */
.stats-boxes {
    padding: 60px 0;
    background: #fff;
}

.stat-item {
    background: #e9ecef;
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    height: 200px;
}

.stat-item span {
    color: gray;
    font-weight: bold;
    font-size: 14px;
}

.stat-item h3 {
    font-size: 40px;
    font-weight: 800;
    color: var(--industrial-blue);
    margin: 10px 0;
    display: inline-block;
    margin: 0;
}

/* Service Cards */
.service-card {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.card-overlay {
    background: linear-gradient(to top, rgba(30, 58, 95, 0.9) 0%, transparent 100%);
    padding: 30px 20px;
    width: 100%;
    color: #fff;
}

.card-overlay h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-overlay a {
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-decoration: underline;
}

/* Video Box */
.video-box-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: auto;
}

.video-box-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--industrial-blue);
    font-size: 25px;
}

/* Partners */
.partners-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.partners-viewport {
    overflow: hidden;
    width: 100%;
}

.partners-track {
    display: flex;
    transition: transform 0.6s ease;
}

/* Cada logo ocupa 25% (4 por vez) */
.partner-item {
    flex: 0 0 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Caixa fixa para padronizar logos */
.partner-item img {
    width: 100%;
    max-width: 140px;
    height: 60px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: 0.3s;
}

.partner-item img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Botões */
.partner-nav {
    background: #e9ecef;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    transition: 0.3s;
}

.partner-nav:hover {
    background: var(--industrial-blue);
    color: #fff;
}

.partner-nav.prev {
    margin-right: 10px;
}

.partner-nav.next {
    margin-left: 10px;
}

/* Responsivo */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 31px;
    }

    .partner-item {
        flex: 0 0 50%;
        /* 2 por vez */
    }
}

@media (max-width: 575px) {
    .partner-item {
        flex: 0 0 100%;
        /* 1 por vez */
    }
}

.center {
    text-align: center;
}

/* Títulos Globais em Azul */
.title-blue {
    color: var(--industrial-blue) !important;
}

/* Container Estático para a imagem de "Quem Somos" */
.stacked-images-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    /* limite no desktop */
    aspect-ratio: 480 / 380;
    /* mantém proporção */
    margin: 40px auto;
}

/* Estilo base para todos os elementos (shapes e wrapper da imagem) */
.shape-element,
.main-image-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    transition: all 0.5s ease;
}

/* SHAPE MAIS AO FUNDO (Azul Escuro) */
.bg-blue-dark {
    background-color: #1e3a5f;
    z-index: 1;
    top: -8%;
    left: -8%;
    transform: rotate(-10deg);
}

/* SHAPE DO MEIO (Azul Ciano/Claro) */
.bg-blue-light {
    background-color: #6791be;
    z-index: 2;
    top: -4%;
    left: -4%;
    transform: rotate(-5deg);
}

/* WRAPPER DA IMAGEM PRINCIPAL */
.main-image-wrapper {
    z-index: 3;
    overflow: hidden;
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.15);
    /* Sombra para dar volume */
    top: 0;
    left: 0;
}

.main-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Efeito Hover (Opcional - para dar vida ao site) */
.stacked-images-container:hover .bg-blue-dark {
    top: -45px;
    left: -45px;
}

.stacked-images-container:hover .bg-blue-light {
    top: -25px;
    left: -25px;
}

.inline-unit {
    margin-left: 5px !important;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 20px;
    }

    .stat-item {
        margin-bottom: 2rem !important;
    }

    .stacked-images-container {
        max-width: 320px;
        /* ideal para celular */
        margin: 20px auto;
    }

    .bg-blue-dark {
        top: -6%;
        left: -6%;
    }

    .bg-blue-light {
        top: -3%;
        left: -3%;
    }
}

.text-content p {
    text-align: justify;
}

/* Diferenciais Competitivos */
.diff-card {
    height: 100%;
    padding: 40px;
    border-radius: 20px;
}

.diff-card.primary-blue {
    background: var(--industrial-blue);
    color: #fff;
}

.diff-card.primary-blue h3 {
    font-weight: 800;
    font-size: 28px;
}

.diff-card-white {
    background: #e9ecef;
    /* Cinza claro do PDF */
    padding: 40px;
    border-radius: 20px;
    height: 100%;
    text-align: center;
    transition: 0.3s;
}

.diff-card-white:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.diff-card-white i {
    font-size: 30px;
    color: var(--industrial-blue);
    margin-bottom: 20px;
}

.diff-card-white h4 {
    font-weight: 800;
    font-size: 18px;
    color: var(--industrial-blue);
}

.section-image {
    width: 100%;
}

.section-image img {
    height: 350px;
    width: 100%;
    object-fit: cover;
}