* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #1f2937;
    background: #ffffff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: 92%;
    max-width: 1180px;
    margin: 0 auto;
}

/* TOPO / MENU */
.topo {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #0d2235;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.menu {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    max-height: 62px;
    width: auto;
}

.logo-texto {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
}

#menuNav {
    display: flex;
    align-items: center;
    gap: 22px;
}

#menuNav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: color 0.2s ease;
}

#menuNav a:hover {
    color: #93c5fd;
}

.admin-link {
    opacity: 0.55;
}

.admin-link:hover {
    opacity: 1;
}

.menu-mobile {
    display: none;
    background: #ffffff;
    color: #0d2235;
    border: 0;
    border-radius: 8px;
    padding: 9px 13px;
    font-size: 24px;
    cursor: pointer;
}

/* CARROSSEL */
.carrossel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0d2235;
}

.carrossel-trilho {
    display: flex;
    transition: transform 0.5s ease;
}

.carrossel-slide {
    min-width: 100%;
    height: 520px;
}

.carrossel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carrossel-seta {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(13, 34, 53, 0.75);
    color: #ffffff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    transition: background 0.2s ease;
}

.carrossel-seta:hover {
    background: rgba(13, 34, 53, 0.95);
}

.carrossel-seta.prev {
    left: 22px;
}

.carrossel-seta.next {
    right: 22px;
}

.carrossel-pontos {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    gap: 9px;
    z-index: 5;
}

.ponto {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.ponto.ativo {
    background: #ffffff;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #0d2235 0%, #163b5c 100%);
    color: #ffffff;
    padding: 96px 0;
    text-align: center;
}

.hero h1 {
    max-width: 900px;
    margin: 0 auto 20px;
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.08;
    font-weight: 900;
}

.hero p {
    max-width: 820px;
    margin: 0 auto 32px;
    color: #dbeafe;
    font-size: 19px;
}

/* BOTÕES */
.botao,
.btn-saiba-mais {
    display: inline-block;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 800;
    transition: all 0.2s ease;
}

.botao.principal {
    background: #25d366;
    color: #ffffff;
    padding: 14px 26px;
    font-size: 16px;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
}

.botao.principal:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}

.escuro-btn {
    background: #0d2235 !important;
}

.escuro-btn:hover {
    background: #163b5c !important;
}

.btn-saiba-mais {
    margin-top: 14px;
    padding: 9px 18px;
    background: #0d2235;
    color: #ffffff;
    border-radius: 8px;
    font-size: 14px;
}

.btn-saiba-mais:hover {
    background: #163b5c;
    transform: translateY(-1px);
}

.btn-saiba-mais.claro {
    background: #ffffff;
    color: #0d2235;
}

.btn-saiba-mais.claro:hover {
    background: #e2e8f0;
}

/* SEÇÕES */
.secao {
    padding: 86px 0;
    background: #ffffff;
}

.secao.cinza {
    background: #f3f5f7;
}

.secao.escura {
    background: #0d2235;
    color: #ffffff;
}

.titulo-secao {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.titulo-secao span {
    display: inline-block;
    margin-bottom: 9px;
    color: #2563eb;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.titulo-secao h2 {
    margin: 0 0 14px;
    color: #0d2235;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
}

.titulo-secao p {
    margin: 0;
    color: #64748b;
    font-size: 18px;
}

.titulo-secao.invertido span {
    color: #93c5fd;
}

.titulo-secao.invertido h2 {
    color: #ffffff;
}

.titulo-secao.invertido p {
    color: #cbd5e1;
}

/* CARDS */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.card h3 {
    margin: 0 0 12px;
    color: #0d2235;
    font-size: 22px;
    line-height: 1.25;
}

.card p {
    margin: 0;
    color: #4b5563;
}

.servico-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 20px;
}

.portfolio-card .categoria {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #075985;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* DIFERENCIAIS */
.grid-diferenciais {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.diferencial {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 24px;
    color: #ffffff;
    font-weight: 800;
    text-align: center;
    min-height: 118px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.diferencial-texto {
    display: block;
}

/* CONTATO */
.contato-box {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
    text-align: center;
}

.contato-box p {
    margin: 8px 0;
    color: #334155;
}

.contato-box .botao {
    margin-top: 22px;
}

.redes {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.redes a {
    display: inline-block;
    padding: 9px 16px;
    background: #0d2235;
    color: #ffffff;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    transition: background 0.2s ease;
}

.redes a:hover {
    background: #163b5c;
}

/* RODAPÉ */
.rodape {
    background: #071522;
    color: #cbd5e1;
    padding: 0;
    margin-top: 0;
}

.rodape-principal {
    padding: 64px 0 42px;
    background: linear-gradient(135deg, #071522 0%, #0d2235 58%, #123451 100%);
}

.rodape-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 38px;
    align-items: flex-start;
}

.rodape-coluna h3,
.rodape-coluna h4 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.25;
}

.rodape-logo-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    text-decoration: none;
}

.rodape-logo-img {
    max-width: 190px;
    max-height: 86px;
    width: auto;
    height: auto;
}

.rodape-logo-texto {
    display: inline-block;
    color: #ffffff;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.1;
}

.rodape-descricao {
    margin: 0 0 22px;
    color: #cbd5e1;
    font-size: 15px;
}

.rodape-lista,
.rodape-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rodape-lista li,
.rodape-links li {
    margin-bottom: 10px;
}

.rodape-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.rodape-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.rodape-contato-item {
    display: flex;
    gap: 10px;
    margin-bottom: 13px;
    color: #cbd5e1;
    font-size: 15px;
}

.rodape-contato-item strong {
    color: #ffffff;
}

.rodape-contato-item a {
    color: #cbd5e1;
    text-decoration: none;
}

.rodape-contato-item a:hover {
    color: #ffffff;
}

.rodape-redes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.rodape-redes a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
}

.rodape-redes a:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.rodape-mapa iframe {
    width: 100%;
    min-height: 180px;
    border: 0;
    border-radius: 14px;
    filter: grayscale(15%);
}

.rodape-inferior {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
    background: #050f1a;
}

.rodape-inferior .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.rodape-inferior p {
    margin: 0;
    color: #94a3b8;
    font-size: 14px;
}

.rodape-inferior-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.rodape-inferior-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
}

.rodape-inferior-links a:hover {
    color: #ffffff;
}

/* COMPATIBILIDADE COM RODAPÉ ANTIGO */
.rodape > .container:not(.rodape-container) {
    padding-top: 24px;
    padding-bottom: 24px;
}

.rodape .container > p {
    margin: 0;
    text-align: center;
}

/* WHATSAPP PULSANTE */
#zap-pulsante-icomprs {
    position: fixed !important;
    right: 25px !important;
    bottom: 25px !important;
    width: 64px !important;
    height: 64px !important;
    z-index: 999999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #25D366 !important;
    border-radius: 50% !important;
    border: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow:
        0 0 0 0 rgba(37, 211, 102, 0.8),
        0 0 18px rgba(37, 211, 102, 0.85),
        0 4px 18px rgba(0, 0, 0, 0.35) !important;
    animation:
        zap-balanco-icomprs 1.6s infinite ease-in-out,
        zap-brilho-icomprs 2s infinite ease-in-out !important;
    transform-origin: center center !important;
}

#zap-pulsante-icomprs::before {
    content: "" !important;
    position: absolute !important;
    inset: -8px !important;
    border-radius: 50% !important;
    background: transparent !important;
    border: 2px solid rgba(37, 211, 102, 0.65) !important;
    animation: zap-onda-icomprs 1.8s infinite ease-out !important;
    pointer-events: none !important;
}

#zap-pulsante-icomprs::after {
    content: "" !important;
    position: absolute !important;
    inset: -15px !important;
    border-radius: 50% !important;
    background: rgba(37, 211, 102, 0.22) !important;
    animation: zap-pulse-fundo-icomprs 1.8s infinite ease-out !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

#zap-pulsante-icomprs:hover {
    background: #25D366 !important;
    box-shadow:
        0 0 25px rgba(37, 211, 102, 1),
        0 0 45px rgba(37, 211, 102, 0.85),
        0 6px 24px rgba(0, 0, 0, 0.45) !important;
}

#zap-pulsante-icone {
    width: 36px !important;
    height: 36px !important;
    fill: #ffffff !important;
    display: block !important;
    position: relative !important;
    z-index: 2 !important;
}

/* ANIMAÇÕES */
@keyframes zap-balanco-icomprs {
    0% {
        transform: scale(1) rotate(0deg);
    }

    10% {
        transform: scale(1.08) rotate(-8deg);
    }

    20% {
        transform: scale(1.08) rotate(8deg);
    }

    30% {
        transform: scale(1.08) rotate(-6deg);
    }

    40% {
        transform: scale(1.08) rotate(6deg);
    }

    50% {
        transform: scale(1.04) rotate(0deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

@keyframes zap-brilho-icomprs {
    0% {
        box-shadow:
            0 0 0 0 rgba(37, 211, 102, 0.75),
            0 0 14px rgba(37, 211, 102, 0.65),
            0 4px 18px rgba(0, 0, 0, 0.35);
    }

    50% {
        box-shadow:
            0 0 0 10px rgba(37, 211, 102, 0.18),
            0 0 30px rgba(37, 211, 102, 1),
            0 4px 18px rgba(0, 0, 0, 0.35);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(37, 211, 102, 0),
            0 0 14px rgba(37, 211, 102, 0.65),
            0 4px 18px rgba(0, 0, 0, 0.35);
    }
}

@keyframes zap-onda-icomprs {
    0% {
        transform: scale(0.85);
        opacity: 0.9;
    }

    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

@keyframes zap-pulse-fundo-icomprs {
    0% {
        transform: scale(0.75);
        opacity: 0.55;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* RESPONSIVO */
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-diferenciais {
        grid-template-columns: repeat(2, 1fr);
    }

    .rodape-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .carrossel-slide {
        height: 430px;
    }
}

@media (max-width: 760px) {
    .menu {
        min-height: 72px;
    }

    .menu-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #ffffff;
        color: #0d2235;
    }

    #menuNav {
        position: absolute;
        left: 0;
        right: 0;
        top: 72px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #0d2235;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
    }

    #menuNav.ativo,
    #menuNav.aberto,
    body.menu-aberto #menuNav {
        display: flex;
    }

    #menuNav a {
        padding: 14px 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        color: #ffffff;
    }

    #menuNav a:hover {
        color: #93c5fd;
        background: rgba(255, 255, 255, 0.05);
    }

    .logo-img {
        max-height: 52px;
    }

    .carrossel-slide {
        height: 300px;
    }

    .carrossel-seta {
        width: 38px;
        height: 38px;
        font-size: 31px;
    }

    .hero {
        padding: 72px 0;
    }

    .hero p {
        font-size: 17px;
    }

    .secao {
        padding: 64px 0;
    }

    .grid,
    .grid-diferenciais,
    .rodape-container {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 24px;
    }

    .servico-img {
        height: 210px;
    }

    .contato-box {
        padding: 26px 20px;
    }

    .rodape-principal {
        padding: 48px 0 34px;
    }

    .rodape-inferior .container {
        justify-content: center;
        text-align: center;
    }

    #zap-pulsante-icomprs {
        right: 18px !important;
        bottom: 18px !important;
        width: 58px !important;
        height: 58px !important;
    }

    #zap-pulsante-icone {
        width: 32px !important;
        height: 32px !important;
    }
}

@media (max-width: 480px) {
    .container {
        width: 90%;
    }

    .carrossel-slide {
        height: 250px;
    }

    .hero {
        padding: 58px 0;
    }

    .botao.principal {
        width: 100%;
        text-align: center;
    }

    .servico-img {
        height: 180px;
    }

    .redes {
        flex-direction: column;
        align-items: center;
    }

    .redes a {
        width: 100%;
        text-align: center;
    }
}

.rodape-mapa {
    width: 100%;
    min-height: 180px;
}

.rodape-mapa iframe {
    width: 100%;
    min-height: 180px;
    border: 0;
    border-radius: 14px;
    filter: grayscale(15%);
}
.rodape-localizacao-link {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: background 0.2s ease;
}

.rodape-localizacao-link:hover {
    background: rgba(255, 255, 255, 0.16);
}

.rodape-mapa iframe {
    width: 100%;
    min-height: 180px;
    border: 0;
    border-radius: 12px;
}
.rodape-inferior p {
    text-align: center;
    width: 100%;
}
.carrossel-particulas {
    position: relative;
    overflow: hidden;
}

.carrossel-particulas::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(56, 189, 248, 0.35), transparent 35%),
        radial-gradient(circle at 75% 55%, rgba(37, 99, 235, 0.35), transparent 38%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.22));
    z-index: 1;
   pointer-events: auto;
}

#particles-carrossel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;

    /* Importante para o efeito fugir do mouse */
    pointer-events: auto;
}

.carrossel-particulas .carrossel-trilho {
    position: relative;
    z-index: 0;
}

.carrossel-particulas .carrossel-seta,
.carrossel-particulas .carrossel-pontos {
    position: absolute;
    z-index: 5;
}

.carrossel-particulas .carrossel-slide img {
    position: relative;
    z-index: 0;
}

.setor-card {
    text-align: center;
}

.setor-img {
    width: 5cm;
    height: 3cm;
    max-width: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto 14px auto;
    border-radius: 10px;
}

/* ========== DESTAQUES - CARDS EXATAMENTE 7cm x 9cm ========== */
#portfolio .grid {
    display: grid !important;
    grid-template-columns: repeat(4, 7cm) !important;
    gap: 12px !important;
    justify-content: center !important;
    max-width: none !important;
    width: auto !important;
}

#portfolio .grid .card,
#portfolio .grid article,
#portfolio .grid .portfolio-card {
    width: 7cm !important;
    height: 9cm !important;
    max-width: 7cm !important;
    max-height: 9cm !important;
    min-width: 7cm !important;
    min-height: 9cm !important;
    padding: 10px 8px !important;
    margin: 0 !important;
    font-size: 12px !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important;
    border-radius: 6px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    flex: none !important;
    border: 1px solid #e5e7eb !important;
    transition: none !important;
    transform: none !important;
}

#portfolio .grid .card h3,
#portfolio .grid .portfolio-card h3 {
    font-size: 12px !important;
    margin: 4px 0 3px !important;
}

#portfolio .grid .card p,
#portfolio .grid .portfolio-card p {
    font-size: 11px !important;
    margin: 0 !important;
}

.portfolio-item img,
.destaque-item img,
.item-lista img {
    width: 6cm;
    height: 4cm;
    object-fit: contain;        /* Mantém a imagem inteira sem cortar */
    object-position: center;    /* Centraliza a imagem */
    background: #f8fafc;        /* Fundo claro para preencher o espaço vazio */
    border-radius: 8px;
    display: block;
}

.destaque-item {
    display: flex;
    flex-direction: column;
    border: 2.5px solid #64748b;
    border-radius: 10px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    min-height: 260px; /* Altura mínima para manter os cards uniformes */
}

.destaque-item img {
    width: 6cm;
    height: 4cm;
    object-fit: contain;
    object-position: center;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 12px;
}

.destaque-item .tag {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 6px;
    margin-top: auto; /* Empurra tudo para baixo quando não tem imagem */
}

.destaque-item h3 {
    font-size: 12px;
    line-height: 1.3;
    margin: 4px 0 8px;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}


.destaque-item p {
    font-size: 11px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;     /* Máximo de 3 linhas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 4px 0;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
   
}

.destaque-item .preco {
    font-size: 14px;
    font-weight: bold;
    margin-top: 8px;
}

.destaque-item {
    border: 2.5px solid #64748b;
    border-radius: 10px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.destaque-item:hover {
    border-color: #475569;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.destaque-item {
    transition: box-shadow 0.3s ease, transform 0.3s ease; /* Animação suave */
}

.destaque-item:hover {
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.7); /* Sombra verde luminosa */
    transform: scale(1.05); /* Aumentar ligeiramente o tamanho */
}

/* PARTÍCULAS NA APRESENTAÇÃO */
.hero-particulas {
    position: relative;
    overflow: hidden;
}

#particles-apresentacao {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
}

.hero-particulas .hero-conteudo {
    position: relative;
    z-index: 2;
}

.card {
    transition: box-shadow 0.3s ease, transform 0.3s ease; /* Animação suave para a sombra e a transformação */
}

.card:hover {
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.7); /* A sombra luminosa */
    transform: scale(1.05); /* Aumenta ligeiramente o tamanho ao passar o mouse */
}

/* FUNDO DA SEÇÃO SERVIÇOS IGUAL À APRESENTAÇÃO */
#servicos {
    background: linear-gradient(135deg, #0d2235 0%, #163b5c 100%);
    color: #ffffff;
}

#servicos .titulo-secao h2 {
    color: #ffffff;
}

#servicos .titulo-secao p {
    color: #dbeafe;
}

#servicos .titulo-secao span {
    color: #93c5fd;
}

/* FUNDO DA SEÇÃO PORTFÓLIO IGUAL À APRESENTAÇÃO */
#portfolio {
    background: linear-gradient(135deg, #0d2235 0%, #163b5c 100%); /* A mesma cor do fundo da apresentação */
    color: #ffffff; /* Cor do texto */
}

#portfolio .titulo-secao h2 {
    color: #ffffff; /* Título branco */
}

#portfolio .titulo-secao p {
    color: #dbeafe; /* Descrição em um tom mais claro */
}

#portfolio .titulo-secao span {
    color: #93c5fd; /* Span em um tom azul claro */
}

#portfolio .destaque-item {
    background: rgba(255, 255, 255, 0.08); /* Fundo do card */
    border-color: rgba(255, 255, 255, 0.16); /* Borda semi-transparente */
    color: #ffffff; /* Texto nos cards */
}

#portfolio .destaque-item h3 {
    color: #ffffff; /* Título do card branco */
}

#portfolio .destaque-item p {
    color: #dbeafe; /* Cor do texto da descrição no card */
}

/* ===== CORREÇÃO DEFINITIVA DAS PARTICLES ===== */

.carrossel,
.carrossel-particulas,
.hero,
.hero-particulas {
    position: relative !important;
    overflow: hidden !important;
}

.carrossel-particulas::before {
    pointer-events: none !important;
}

#particles-carrossel,
#particles-apresentacao {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
}

#particles-carrossel {
    z-index: 2 !important;
}

#particles-apresentacao {
    z-index: 1 !important;
}

#particles-carrossel canvas,
#particles-apresentacao canvas,
.particles-js-canvas-el {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
}

.carrossel-particulas .carrossel-trilho {
    position: relative !important;
    z-index: 0 !important;
}

.carrossel-particulas .carrossel-seta,
.carrossel-particulas .carrossel-pontos {
    z-index: 5 !important;
}

.hero-particulas .hero-conteudo {
    position: relative !important;
    z-index: 3 !important;
}
@media (max-width: 768px) {
    #zap-pulsante-icomprs {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 56px !important;
        height: 56px !important;
        right: 15px !important;
        bottom: 15px !important;
    }
}
/* Mobile: portfólio em 1 coluna */
@media (max-width: 768px) {
    .secao-portfolio .grid,
    .portfolio-grid,
    .portfolio-lista,
    section#portfolio > div,
    [class*="portfolio"] [class*="grid"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .portfolio-card,
    .portfolio-item,
    [class*="portfolio"] > div > div {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        box-sizing: border-box;
    }
}
@media (max-width: 768px) {
    #portfolio > div,
    #portfolio > div > div,
    #portfolio .grid,
    #portfolio [class*="grid"],
    #portfolio [class*="lista"],
    #portfolio [class*="catalogo"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}
header.topo {
    position: fixed !important; /* Fixa o cabeçalho no topo */
    top: 0 !important; /* Alinhamento ao topo */
    left: 0 !important; /* Alinhamento à esquerda */
    width: 100% !important; /* Largura total */
    z-index: 1000 !important; /* Fica por cima de outros elementos */
    background: #0d2235 !important; /* Cor de fundo azul escuro */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra opcional para destacar o cabeçalho */
}

body {
    padding-top: 90px; /* Ajuste conforme a altura do cabeçalho */
}
