/* ==========================================================================
   CONFIGURAÇÕES GERAIS E CORES DA MARCA (DCCN)
   ========================================================================== */
   * {
    margin: 0;
    padding: 0;
    box-shadow: none;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    color: #333333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    background-color: #0d1b2a; /* Azul Escuro do Encarte */
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #e5a93b; /* Amarelo Ouro */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-dccn {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    line-height: 1;
}

.logo-sub {
    font-size: 10px;
    color: #e5a93b;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #e5a93b;
}

.btn-nav {
    background-color: #e5a93b;
    color: #0d1b2a !important;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600 !important;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #0d1b2a 60%, #1b263b 100%);
    color: #ffffff;
    padding: 100px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-tag {
    color: #e5a93b;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin: 15px 0 25px 0;
}

.hero-content p {
    color: #e0e0e0;
    font-size: 16px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: #e5a93b;
    color: #0d1b2a;
    padding: 14px 28px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.btn-secondary {
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 14px 28px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary:hover { background-color: rgba(255,255,255,0.1); }

.hero-badge {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.hero-badge i {
    font-size: 40px;
    color: #e5a93b;
    margin-bottom: 20px;
}

.hero-badge h3 { font-size: 22px; margin-bottom: 10px; }
.hero-badge p { color: #cccccc; font-size: 14px; }



/* ==========================================================================
   PORTFÓLIO - ACCORDIONS E SUBBLOCKS
   ========================================================================== */
.portfolio-section { padding: 80px 0; background-color: #f1f2f6; }

.accordion-container {
    margin-top: 30px;
}

.accordion-item {
    background-color: #ffffff;
    margin-bottom: 15px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.03);
}

.accordion-header {
    width: 100%;
    background-color: #0d1b2a;
    color: #ffffff;
    padding: 22px 30px;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.accordion-header:hover { background-color: #15293e; }

.cat-number { color: #e5a93b; margin-right: 15px; font-weight: 700; }

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    padding: 0 30px;
}

/* Estado Ativo do Accordion via JS */
.accordion-item.active .accordion-content {
    max-height: 3000px; /* Limite de segurança expansível */
    padding: 30px;
    border-top: 2px solid #e5a93b;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
    color: #e5a93b;
}

/* Grid de Sub-Serviços dentro da expansão */
.sub-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.sub-block {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.sub-block h4 {
    color: #0d1b2a;
    font-size: 16px;
    border-bottom: 2px solid #e5a93b;
    padding-bottom: 8px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sub-block h5 {
    font-size: 13px;
    color: #555550;
    margin: 10px 0 5px 0;
    text-transform: uppercase;
    font-weight: 600;
}

.sub-block ul {
    list-style: none;
    padding-left: 5px;
}

.sub-block ul li {
    font-size: 13px;
    color: #444444;
    position: relative;
    padding-left: 15px;
    margin-bottom: 6px;
}

.sub-block ul li::before {
    content: "•";
    color: #e5a93b;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer { background-color: #0d1b2a; color: #ffffff; padding: 60px 0 20px 0; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer-info h3 { font-size: 28px; color: #ffffff; margin-bottom: 15px; }
.footer-info p { color: #cccccc; font-size: 14px; max-width: 400px; }

.footer-contacts h4 { color: #e5a93b; margin-bottom: 15px; }
.footer-contacts p { margin-bottom: 10px; font-size: 14px; color: #cccccc; }
.footer-contacts i { margin-right: 10px; color: #e5a93b; }

.footer-bottom { text-align: center; padding-top: 20px; font-size: 12px; color: #777777; }

/* Responsive Layout */
@media(max-width: 768px) {
    .hero-grid, .atuacao-grid, .footer-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 32px; }
}





/* ==========================================================================
   SESSÃO: GALERIA DE TRABALHOS
   ========================================================================== */
   .galeria-trabalhos-section {
    padding: 80px 0;
    background-color: #ffffff; /* Fundo limpo para destacar as fotos */
}

/* Grid responsivo: organiza em 3 colunas no desktop, 2 no tablet e 1 no mobile */
.trabalhos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

/* Item individual do portfólio */
.trabalho-item {
    position: relative;
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Configuração da Imagem */
.trabalho-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Máscara preta translúcida com as informações do projeto */
.trabalho-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(13, 27, 42, 0.95) 20%, rgba(13, 27, 42, 0.4) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0; /* Invisível por padrão */
    transition: opacity 0.4s ease;
}

/* Efeito Hover (Ao passar o rato) */
.trabalho-item:hover img {
    transform: scale(1.08); /* Sutil zoom na foto */
}

.trabalho-item:hover .trabalho-overlay {
    opacity: 1; /* Mostra as informações suavemente */
}

/* Textos internos da Galeria */
.projeto-tag {
    align-self: flex-start;
    background-color: #e5a93b; /* Amarelo Ouro */
    color: #0d1b2a;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.trabalho-overlay h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.trabalho-overlay p {
    color: #cccccc;
    font-size: 13px;
    line-height: 1.4;
}

/* Ajuste fino para telas menores que 480px */
@media (max-width: 480px) {
    .trabalhos-grid {
        grid-template-columns: 1fr;
    }
    .trabalho-item {
        height: 240px;
    }
}




/* ==========================================================================
   HERO SECTION COM SLIDESHOW ANIMADO E OPACIDADE
   ========================================================================== */
   .hero-section {
    position: relative; /* Necessário para posicionar o slideshow por trás */
    background-color: #0d1b2a; /* Cor sólida de fundo caso as imagens falhem */
    color: #ffffff;
    padding: 120px 0;
    overflow: hidden;
}

/* Força o conteúdo a ficar acima do slideshow de fundo */
.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Camada escura por cima das imagens para dar contraste aos textos */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.85) 50%, rgba(27, 38, 59, 0.7) 100%);
    z-index: 1;
}

/* Container que segura os slides */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Configuração individual de cada imagem de slide */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0; /* Invisível por padrão */
    animation: slideAnimation 24s infinite linear; /* Ciclo total de 24 segundos */
}

/* Controladores de tempo individuais (Atrasos para sincronizar a transição) */
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 6s; }
.slide:nth-child(3) { animation-delay: 12s; }
.slide:nth-child(4) { animation-delay: 18s; }

/* Animação CSS nativa para efeito fade-in e fade-out suave com opacidade controlada */
@keyframes slideAnimation {
    0% {
        opacity: 0;
        transform: scale(1); /* Inicia tamanho normal */
    }
    4% {
        opacity: 0.25; /* Opacidade máxima permitida para o fundo */
    }
    25% {
        opacity: 0.25;
    }
    29% {
        opacity: 0;
        transform: scale(1.04); /* Leve efeito de movimento profissional */
    }
    100% {
        opacity: 0;
    }
}

/* Ajuste dos elementos internos para garantir o alinhamento com o novo fundo */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-tag {
    color: #e5a93b;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin: 15px 0 25px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); /* Sombra leve para destacar ainda mais */
}

.hero-content p {
    color: #f0f0f0;
    font-size: 16px;
    margin-bottom: 35px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-badge {
    background-color: rgba(255, 255, 255, 0.08); /* Ligeiramente mais opaco */
    backdrop-filter: blur(4px); /* Efeito vidro fosco moderno */
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}









/* ==========================================================================
   ÁREAS DE ATUAÇÃO PREMIUM
   ========================================================================== */

   .atuacao-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
}

.atuacao-flex-container {
    display: flex;
    align-items: stretch; /* Alinha imagem e cards na mesma altura */
    gap: 60px;
}

/* --------------------------------------------------------------------------
   COLUNAS
-------------------------------------------------------------------------- */

.atuacao-col-left {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.atuacao-col-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   TÍTULO
-------------------------------------------------------------------------- */

.atuacao-section .section-header {
    text-align: left;
    margin-bottom: 35px;
}

.atuacao-section .section-header h2 {
    font-size: 38px;
    font-weight: 800;
    color: #0d1b2a;
    margin-bottom: 10px;
}

.atuacao-section .bar-decorator {
    width: 80px;
    height: 5px;
    border-radius: 30px;
    background: linear-gradient(90deg, #e5a93b, #ffcc70);
}

/* --------------------------------------------------------------------------
   GRID
-------------------------------------------------------------------------- */

.atuacao-grid {
    display: grid;
    gap: 25px;
}

/* --------------------------------------------------------------------------
   CARDS PROFISSIONAIS
-------------------------------------------------------------------------- */

.atuacao-card {
    background: #fff;
    padding: 30px;
    border-radius: 18px;
    position: relative;

    border: 1px solid rgba(0,0,0,.05);

    box-shadow:
        0 10px 25px rgba(0,0,0,.05),
        0 2px 8px rgba(0,0,0,.03);

    transition: all .4s ease;
}

.atuacao-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 5px;
    height: 100%;

    background: linear-gradient(
        180deg,
        #0d1b2a,
        #e5a93b
    );

    border-radius: 10px 0 0 10px;
}

.atuacao-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 20px 40px rgba(13,27,42,.12),
        0 10px 20px rgba(13,27,42,.08);
}

/* --------------------------------------------------------------------------
   ÍCONES
-------------------------------------------------------------------------- */

.icon-box {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: linear-gradient(
        135deg,
        #0d1b2a,
        #1f3a56
    );

    margin-bottom: 20px;

    transition: all .4s ease;
}

.icon-box i {
    font-size: 30px;
    color: #fff;
}

.atuacao-card:hover .icon-box {
    transform: rotate(8deg) scale(1.08);
    background: linear-gradient(
        135deg,
        #e5a93b,
        #ffcc70
    );
}

/* --------------------------------------------------------------------------
   TEXTOS
-------------------------------------------------------------------------- */

.atuacao-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0d1b2a;
}

.atuacao-card p {
    color: #6b7280;
    line-height: 1.8;
    font-size: 15px;
}

/* --------------------------------------------------------------------------
   IMAGEM PREMIUM
-------------------------------------------------------------------------- */

.atuacao-img-box {
    width: 100%;
    height: 100%;

    min-height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        rgba(13,27,42,.03),
        rgba(229,169,59,.08)
    );

    border-radius: 24px;

    border: 1px solid rgba(255,255,255,.5);

    box-shadow:
        0 20px 50px rgba(13,27,42,.08);

    position: relative;
    overflow: hidden;
}

.atuacao-img-box::before {
    content: "";
    position: absolute;

    width: 250px;
    height: 250px;

    background: rgba(229,169,59,.15);

    border-radius: 50%;

    top: -80px;
    right: -80px;

    filter: blur(40px);
}

.atuacao-img-box img {
    max-width: 80%;
    height: auto;
    position: relative;
    z-index: 2;

    transition: all .5s ease;
}

.atuacao-img-box:hover img {
    transform: scale(1.06);
}

/* --------------------------------------------------------------------------
   ANIMAÇÃO FLUTUANTE DA IMAGEM
-------------------------------------------------------------------------- */

.floating-img {
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* --------------------------------------------------------------------------
   ANIMAÇÃO DE ENTRADA
-------------------------------------------------------------------------- */

.atuacao-card {
    animation: fadeUp .8s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   RESPONSIVO
-------------------------------------------------------------------------- */

@media (max-width: 992px) {

    .atuacao-flex-container {
        flex-direction: column;
    }

    .atuacao-col-right {
        width: 100%;
    }

    .atuacao-img-box {
        min-height: 300px;
    }

    .atuacao-section .section-header h2 {
        font-size: 30px;
    }
}




/* =========================
   CONTEÚDO
========================= */

.content{
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);

    max-width: 700px;
    z-index: 5;

    color: #fff;
}

/* label */
.content span{
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: #fff;
    margin-bottom: 20px;

    position: relative;
    padding-bottom: 10px;
}

.content span::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 60px;
    height: 3px;
    background: #e5a93b;
}

/* título */
.content h2{
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.05;

    margin-bottom: 20px;

    text-shadow: 0 4px 20px rgba(0,0,0,0.45);
}

/* texto */
.content p{
    font-size: 1.15rem;
    line-height: 1.7;

    color: rgba(255,255,255,0.9);
    max-width: 550px;
}

/* =========================
   BOTÕES (slider)
========================= */

.prev,
.next{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 65px;
    height: 65px;

    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);

    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);

    color: #fff;
    font-size: 26px;

    cursor: pointer;
    z-index: 10;

    transition: 0.3s ease;
}

.prev{ left: 25px; }
.next{ right: 25px; }

.prev:hover,
.next:hover{
    background: #e5a93b;
    border-color: #e5a93b;
    transform: translateY(-50%) scale(1.08);
}

/* =========================
   ANIMAÇÃO HERO
========================= */

@keyframes zoomEffect{
    from{ transform: scale(1); }
    to{ transform: scale(1.08); }
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 992px){

    .projects-showcase{
        height: 75vh;
    }

    .content{
        left: 30px;
        right: 30px;
        max-width: 100%;
    }

    .content h2{
        font-size: 2.6rem;
    }

    .content p{
        font-size: 1rem;
    }

    .prev,
    .next{
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
}


