.accordion-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
            opacity: 0;
        }
        .accordion-content.open {
            opacity: 1;
        }

:root {
    --ta-navy: #202020;
    --ta-blue: #707070;
    --ta-blue-deep: #444444;
    --ta-ink: #171717;
    --ta-muted: #666666;
    --ta-line: #D0D0D0;
    --ta-pale: #F5F5F5;
    --ta-radius: 20px;
    --ta-shadow: 0 18px 55px rgba(0, 0, 0, .08);
}

        html { scroll-padding-top: 100px; }
        body {
            font-family: 'Barlow', sans-serif !important;
            color: var(--ta-ink) !important;
            letter-spacing: .005em;
            -webkit-font-smoothing: antialiased;
        }
        body > div:first-of-type {
            padding: 9px max(22px, calc((100vw - 1280px) / 2)) !important;
            min-height: 38px;
            background: #171717 !important;
            color: #e5e5e5 !important;
            letter-spacing: .06em;
        }
        body > div:first-of-type > span { font-size: 10px; }
        body > div:first-of-type a { color: #e5e5e5; transition: color .2s ease; }
        body > div:first-of-type a:hover { color: #777777 !important; }
        header {
            background: rgba(255,255,255,.94) !important;
            border-color: rgba(16,42,67,.10) !important;
            box-shadow: 0 5px 24px rgba(16,42,67,.035) !important;
        }
        header > div:first-child { height: 82px !important; }
        header img { max-height: 50px; transition: transform .25s ease; }
        header a:has(img):hover img { transform: translateY(-1px); }
        header nav a {
            position: relative;
            color: #555555 !important;
            font-size: 14px !important;
            padding: 9px 0;
        }
        header nav a::after {
            content: '';
            position: absolute;
            left: 0; right: 100%; bottom: 1px;
            height: 2px; background: var(--ta-blue);
            transition: right .22s ease;
        }
        header nav a:hover::after { right: 0; }
        header a[href="industria.html"] {
            border-radius: 999px !important;
            padding: 11px 16px !important;
            font-size: 12px !important;
            background: #f7f7f7 !important;
            border-color: #e5e5e5 !important;
        }
        #sobre {
            isolation: isolate;
            padding-top: clamp(90px, 11vw, 150px) !important;
            padding-bottom: clamp(90px, 10vw, 136px) !important;
            background:
                radial-gradient(ellipse at 88% 18%, rgba(7,136,214,.11), transparent 34%),
                linear-gradient(135deg, #f7f7f7 0%, #fff 54%, #f7f7f7 100%) !important;
        }
        #sobre::before {
            content: '';
            position: absolute;
            z-index: -1;
            width: min(56vw, 720px);
            aspect-ratio: 1;
            right: -10%; top: 7%;
            border: 1px solid rgba(7,136,214,.10);
            border-radius: 50%;
            background: repeating-radial-gradient(circle, transparent 0 42px, rgba(7,136,214,.055) 43px 44px);
            mask-image: linear-gradient(135deg, #000, transparent 76%);
            pointer-events: none;
        }
        #sobre::after {
            content: '';
            position: absolute;
            z-index: -1;
            right: 8%; top: 24%;
            width: 140px; height: 140px;
            border: 1px solid rgba(7,136,214,.14);
            transform: rotate(45deg);
            pointer-events: none;
        }
        #sobre > div { position: relative; }
        #sobre > div > div { max-width: 790px !important; }
        #sobre .inline-flex {
            border-radius: 999px !important;
            padding: 8px 14px !important;
            border-color: #e5e5e5 !important;
            background: rgba(232,245,252,.82) !important;
            letter-spacing: .04em;
        }
        #sobre h1 {
            color: var(--ta-navy) !important;
            font-size: clamp(42px, 5.3vw, 68px) !important;
            line-height: 1.04 !important;
            letter-spacing: -.035em !important;
            max-width: 780px;
            margin-bottom: 25px !important;
        }
        #sobre p.text-lg {
            max-width: 690px;
            color: #666666 !important;
            font-size: clamp(18px, 1.8vw, 21px) !important;
            line-height: 1.65 !important;
        }
        #sobre a, #contato button { border-radius: 10px !important; }
        #sobre a.bg-brandBlue {
            background: linear-gradient(135deg, #333333, #222222) !important;
            box-shadow: 0 10px 24px rgba(7,136,214,.20) !important;
        }
        #sobre a.bg-brandBlue:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(7,136,214,.25) !important; }
        #servicos, #portfolio, #contato { padding-top: clamp(72px, 8vw, 108px) !important; padding-bottom: clamp(72px, 8vw, 108px) !important; }
        #servicos { background: #f4f7fa !important; border-color: #e1e8ee !important; }
        #servicos h2, #portfolio h2 { color: var(--ta-blue-deep) !important; letter-spacing: .16em !important; font-size: 11px !important; }
        #servicos .text-3xl, #portfolio .text-3xl { color: var(--ta-navy) !important; letter-spacing: -.025em; line-height: 1.12; }
        #servicos .space-y-4 > div {
            border: 1px solid #e5e5e5 !important;
            border-radius: 15px !important;
            box-shadow: 0 4px 16px rgba(16,42,67,.025) !important;
            transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
        }
        #servicos .space-y-4 > div:hover {
            border-color: #d0d0d0 !important;
            box-shadow: 0 12px 28px rgba(16,42,67,.055) !important;
            transform: translateY(-1px);
        }
        .accordion-header { padding: 22px 25px !important; font-size: 17px !important; color: var(--ta-navy) !important; }
        .accordion-header > span > span { border-radius: 10px !important; background: #f2f2f2 !important; }
        .accordion-header [data-lucide="chevron-down"] { color: var(--ta-blue) !important; }
        .accordion-content { line-height: 1.7; }
        .accordion-content.open { padding-bottom: 24px !important; }
        #portfolio { background: #fff !important; }
        #portfolio .grid > div {
            border-radius: 17px !important;
            border-color: #e5e5e5 !important;
            padding: 28px !important;
            transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
        }
        #portfolio .grid > div:hover { transform: translateY(-4px); box-shadow: var(--ta-shadow); border-color: #d0d0d0 !important; }
        #portfolio .grid > div:not(.bg-brandDarkGray) { background: linear-gradient(145deg, #f8fafc, #f1f6f9) !important; }
        #portfolio .grid > div.bg-brandDarkGray {
            background: radial-gradient(circle at 92% 8%, rgba(7,136,214,.24), transparent 32%), linear-gradient(135deg, #202020, #0b1b2b) !important;
            border-color: #223b50 !important;
        }
        #portfolio .grid > div.bg-brandDarkGray:hover { border-color: #278fc8 !important; }
        #contato { background: #f2f6f9 !important; border-color: #e5e5e5 !important; }
        #contato > div > div {
            border-radius: 22px !important;
            border-color: #e5e5e5 !important;
            box-shadow: 0 24px 70px rgba(16,42,67,.08) !important;
            padding: clamp(28px, 5vw, 54px) !important;
        }
        #contato h2 { color: var(--ta-navy) !important; letter-spacing: -.025em; }
        #contato input, #contato select, #contato textarea {
            border-color: #d7e1e9 !important;
            border-radius: 9px !important;
            background: #fbfdfe !important;
            min-height: 48px;
        }
        #contato input:focus, #contato select:focus, #contato textarea:focus {
            border-color: #333333 !important;
            box-shadow: 0 0 0 3px rgba(7,136,214,.12) !important;
        }
        #contato button {
            background: linear-gradient(135deg, #333333, #222222) !important;
            box-shadow: 0 10px 24px rgba(7,136,214,.16) !important;
            min-height: 54px;
        }
        #contato button:hover { transform: translateY(-1px); }
        footer { background: #171717 !important; border-color: #263b4e !important; }
        footer a { transition: color .2s ease; }
        footer a:hover { color: #63c3f5 !important; }
        #mobileMenu { box-shadow: 0 18px 30px rgba(16,42,67,.08); }
        :focus-visible { outline: 3px solid rgba(7,136,214,.55); outline-offset: 3px; }
        @media (max-width: 767px) {
            body > div:first-of-type { gap: 8px; align-items: flex-start !important; flex-direction: column; padding: 10px 18px !important; }
            body > div:first-of-type > div { flex-wrap: wrap; gap: 10px !important; }
            header > div:first-child { height: 70px !important; }
            header img { max-height: 43px; max-width: 210px; }
            #sobre { padding-top: 76px !important; padding-bottom: 80px !important; }
            #sobre::before { width: 90vw; right: -40%; top: 20%; }
            #sobre::after { right: 7%; top: 12%; width: 64px; height: 64px; }
            #sobre h1 { font-size: clamp(38px, 10vw, 52px) !important; }
            #sobre .flex.flex-wrap { flex-direction: column; align-items: stretch; }
            #sobre .flex.flex-wrap a { justify-content: center; }
            .accordion-header { padding: 18px 16px !important; font-size: 15px !important; gap: 12px; }
            #portfolio .grid > div { padding: 23px !important; }
        }
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
        }

/* Fundo transparente nos títulos; preserva o fundo dos ícones. */
        .service-card .accordion-header > span > span:nth-child(2),
        .service-card .accordion-header > span > span:nth-child(2) * {
            background: transparent !important;
            background-color: transparent !important;
            box-shadow: none !important;
        }

        /* Remove o realce colorido da seleção de texto nos cabeçalhos. */
        .service-card .accordion-header span::selection,
        .service-card .accordion-header::selection {
            background: transparent !important;
            color: inherit !important;
        }

        .service-card .accordion-header {
            -webkit-tap-highlight-color: transparent;
        }

/* Identidade visual TECH ART: preto, branco e tons de cinza */
:root {
  --techart-black: #171717;
  --techart-charcoal: #303030;
  --techart-gray: #707070;
  --techart-light: #f5f5f5;
  --techart-white: #ffffff;
}
html { scroll-behavior: smooth; }
body { background-color: #ffffff; color: #222222; }
a { text-decoration-color: #707070; }
a:hover { color: #171717; }
button, input[type="submit"] { accent-color: #303030; }
input:focus, textarea:focus, select:focus {
  border-color: #707070 !important;
  --tw-ring-color: #a3a3a3 !important;
}
::selection { background: #d4d4d4; color: #171717; }
/* Remove cores azuis remanescentes de ícones, botões e destaques */
[class*="text-sky-"], [class*="text-blue-"] { color: #303030 !important; }
[class*="bg-sky-"], [class*="bg-blue-"] { background-color: #f0f0f0 !important; }
[class*="border-sky-"], [class*="border-blue-"] { border-color: #d4d4d4 !important; }

.clientes-slider {
    scroll-behavior: auto !important;
    scroll-snap-type: none;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
}
.clientes-slider::-webkit-scrollbar { display: none; }
.clientes-slider:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: -3px;
}
.clientes-slider.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}
.clientes-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 0;
}
.cliente-logo {
    box-sizing: border-box;
    width: 240px;
    height: 130px;
    margin: 0 22px;
    padding: 22px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.cliente-logo img {
    display: block;
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    pointer-events: none;
    -webkit-user-drag: none;
}
.cliente-logo:hover {
    border-color: #9ca3af;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}
/* A marca Copacol é branca: use o laranja institucional para garantir contraste. */
.cliente-logo--copacol {
    background: #f4431b;
    border-color: #f4431b;
}
.cliente-logo--copacol:hover { border-color: #d93612; }
/* A versão fornecida da marca Mascarello também é branca. */
.cliente-logo--mascarello {
    background: #242424;
    border-color: #242424;
}
.cliente-logo--mascarello:hover { border-color: #111111; }

@media (max-width: 640px) {
    .cliente-logo {
        width: 190px;
        height: 112px;
        margin: 0 10px;
        padding: 16px;
    }
    .cliente-logo img { max-height: 66px; }
}
/* Responsividade, acessibilidade e comportamento */
[hidden] { display: none !important; }

#mobileMenuBtn {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

header > div:first-child {
    min-height: 82px;
    height: auto !important;
}

header img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-height: 58px;
    max-width: min(42vw, 280px);
    object-fit: contain;
}

body { padding-top: 118px; }
#sobre, #servicos, #portfolio, #clientes, #contato { scroll-margin-top: 118px; }

@media (max-width: 767px) {
    body { padding-top: 106px; }

    #topBar {
        min-height: 38px;
        padding-inline: 12px !important;
        font-size: 10px;
        gap: 8px;
    }

    #topBar > div {
        gap: 8px !important;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    #topBar a { font-size: 10px; }
    header { top: 38px !important; }

    header > div:first-child {
        min-height: 68px;
        padding-inline: 14px !important;
    }

    header img {
        max-width: min(58vw, 220px);
        max-height: 46px;
    }

    #mobileMenu {
        max-height: calc(100dvh - 106px);
        overflow-y: auto;
    }

    #sobre, #servicos, #portfolio, #clientes, #contato { scroll-margin-top: 106px; }
    #contato .grid { min-width: 0; }
    #contato a, #contato button { overflow-wrap: anywhere; }

    .cliente-logo {
        width: 170px;
        height: 100px;
        margin-inline: 10px;
        padding: 14px;
    }
}

@media (max-width: 420px) {
    #topBar > span { font-size: 9px; letter-spacing: .03em; }
    #topBar > div { gap: 6px !important; }
    #topBar > div a { font-size: 9px; }
    #sobre h1 { font-size: clamp(34px, 9vw, 40px) !important; }
    .accordion-header { padding-inline: 14px !important; }
    #contato > div > div { padding: 20px !important; }
}


/* ===== Correções de layout e responsividade ===== */
:root {
    --techart-header-height: 82px;
    --techart-topbar-height: 38px;
}

html {
    scroll-padding-top: 132px;
    scroll-behavior: smooth;
}

body {
    padding-top: calc(var(--techart-topbar-height) + var(--techart-header-height));
    overflow-x: hidden;
}

#topBar {
    min-height: var(--techart-topbar-height);
    height: auto;
    flex-wrap: wrap;
    gap: 8px 18px;
}

header {
    top: var(--techart-topbar-height) !important;
    z-index: 50;
}

header > div:first-child {
    height: var(--techart-header-height) !important;
    min-height: var(--techart-header-height);
}

.header-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(34vw, 280px);
}

.header-logo img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 54px !important;
    object-fit: contain;
}

#sobre {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}


#sobre > div {
    position: relative;
    z-index: 1;
}

#sobre h1,
#sobre p,
#sobre .flex.flex-wrap {
    overflow-wrap: anywhere;
}

#mobileMenu {
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
}

@media (max-width: 767px) {
    :root {
        --techart-topbar-height: 0px;
        --techart-header-height: 70px;
    }

    body {
        padding-top: 70px;
    }

    #topBar {
        display: none !important;
        position: relative !important;
        min-height: 38px;
        padding: 8px 14px !important;
        font-size: 10px !important;
    }

    #topBar > div {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 12px !important;
    }

    header {
        top: 0 !important;
    }

    header > div:first-child {
        height: var(--techart-header-height) !important;
        padding-left: 16px;
        padding-right: 16px;
    }

    .header-logo {
        max-width: 64%;
    }

    .header-logo img {
        max-height: 45px !important;
    }

    #sobre {
        padding-top: 58px !important;
        padding-bottom: 64px !important;
    }

    #sobre > div > div {
        max-width: 100% !important;
    }

    #sobre h1 {
        font-size: clamp(34px, 9vw, 46px) !important;
        line-height: 1.08 !important;
    }

    #sobre p.text-lg {
        font-size: 17px !important;
    }

    #sobre .flex.flex-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    #sobre .flex.flex-wrap a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .accordion-header {
        min-height: 76px !important;
        padding: 17px 16px !important;
    }

    #contato input,
    #contato select,
    #contato textarea {
        width: 100%;
        min-width: 0;
    }

    footer .flex {
        text-align: center;
    }
}

@media (max-width: 420px) {
    #topBar > div {
        align-items: flex-start;
    }

    #topBar > div a {
        line-height: 1.4;
    }

    .header-logo {
        max-width: 68%;
    }

    #sobre h1 {
        font-size: 34px !important;
    }

    #portfolio .grid > div {
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* ===== Alinhamento dos links internos com o cabeçalho fixo ===== */
/* O espaçamento anterior somava scroll-padding e scroll-margin,
   deixando a seção distante demais do topo ao clicar no menu. */
html {
    scroll-padding-top: 120px !important;
    scroll-behavior: smooth;
}

#sobre, #servicos, #portfolio, #clientes, #contato {
    scroll-margin-top: 0 !important;
}

/* Reduz o espaço acima dos serviços para mostrar os cartões mais cedo. */
#servicos {
    padding-top: clamp(48px, 5vw, 72px) !important;
}

@media (max-width: 767px) {
    html { scroll-padding-top: 70px !important; }
    #servicos { padding-top: 42px !important; }
}


/* ===== Contato: painel único para título, dados e formulário ===== */
#contato > div > .contact-panel {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(16, 42, 67, .08);
    padding: clamp(24px, 4vw, 48px);
}
#contato .contact-panel-heading {
    margin-bottom: clamp(24px, 3vw, 38px) !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}
#contato .contact-panel-grid {
    position: relative;
    gap: clamp(28px, 4vw, 52px) !important;
    align-items: start;
}
/* Divisor alinhado exatamente ao centro horizontal do cartão. */
#contato .contact-panel-grid::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #e5e7eb;
    transform: translateX(-50%);
    pointer-events: none;
}
#contato .contact-info,
#contato .contact-form {
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}
#contato .contact-info {
    padding-right: clamp(0px, 2vw, 28px) !important;
}
#contato .contact-form {
    border-left: 0 !important;
    padding-left: clamp(22px, 3vw, 42px) !important;
}
#contato .location-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 22px;
    box-shadow: 0 8px 28px rgba(16, 42, 67, .045);
}
@media (max-width: 1023px) {
    #contato .contact-panel-grid::before {
        display: none;
    }
    #contato .contact-form {
        border-left: 0 !important;
        border-top: 1px solid #e5e7eb !important;
        padding-left: 0 !important;
        padding-top: 28px !important;
    }
    #contato .contact-info { padding-right: 0 !important; }
}
@media (max-width: 640px) {
    #contato > div > .contact-panel { padding: 22px 18px !important; }
    #contato .contact-panel-heading { margin-bottom: 26px !important; }
    #contato .location-card { padding: 22px 18px !important; }
    #contato .contact-info .flex.flex-wrap { justify-content: center; }
}


/* ===== Contato: alinhar o topo do cartão ao cabeçalho ao navegar pelo menu ===== */
/* O scroll-padding global já reserva espaço para o cabeçalho fixo.
   Reduzimos somente o espaço interno superior da seção de contato. */
#contato {
    scroll-margin-top: 0 !important;
    padding-top: 14px !important;
}
@media (max-width: 767px) {
    #contato { padding-top: 12px !important; }
}


/* ===== CTA de proposta no cabeçalho ===== */
.header-proposal {
    flex: 0 0 auto;
    background: linear-gradient(135deg, #333333, #171717);
    border: 1px solid #303030;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .10);
    white-space: nowrap;
}
.header-proposal:hover {
    background: #404040;
    transform: translateY(-1px);
}
.header-proposal:focus-visible,
.mobile-proposal:focus-visible {
    outline: 3px solid #777777;
    outline-offset: 3px;
}
.mobile-proposal {
    background: linear-gradient(135deg, #333333, #171717);
}
#formulario-proposta {
    /* Âncora posicionada no título do formulário; o JavaScript desconta o cabeçalho fixo. */
    scroll-margin-top: 0;
}
@media (prefers-reduced-motion: reduce) {
    .header-proposal { transition: none !important; }
}


/* Correção definitiva do acordeão de serviços: o conteúdo só fica oculto quando fechado. */
.service-card .accordion-content {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height .3s ease, opacity .25s ease, padding .25s ease;
}
.service-card .accordion-content.hidden { display: none !important; }
.service-card .accordion-content.open {
    display: block !important;
    opacity: 1;
    padding-bottom: 24px;
}
.service-card .accordion-header { cursor: pointer; }
.service-card .accordion-header:focus-visible { outline: 3px solid #777; outline-offset: -3px; }

/* Cabeçalho desktop: logo, menu e botão em áreas distintas, sem sobreposição. */
@media (min-width: 768px) {
    header > div:first-child {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: clamp(16px, 2vw, 32px) !important;
    }
    header .header-logo { flex: 0 0 190px; max-width: 190px; }
    header nav {
        position: static !important;
        inset: auto !important;
        transform: none !important;
        flex: 1 1 auto !important;
        min-width: 0;
        justify-content: center !important;
        gap: clamp(12px, 1.5vw, 26px) !important;
    }
    header .header-proposal {
        position: static !important;
        flex: 0 0 auto !important;
        margin-left: 0 !important;
        display: inline-flex !important;
    }
    header #mobileMenuBtn { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1050px) {
    header .header-logo { flex-basis: 150px; max-width: 150px; }
    header nav { gap: 10px !important; }
    header nav a { font-size: 12px !important; }
    header .header-proposal { padding: 10px 11px !important; font-size: 12px !important; }
}
@media (max-width: 767px) {
    header .header-proposal { display: none !important; }
    header #mobileMenuBtn { display: inline-flex !important; }
}
@media (prefers-reduced-motion: reduce) {
    .service-card .accordion-content { transition: none !important; }
}


/* Plano de Inspeção e Testes: cada item em sua própria linha. */
.service-card .inspection-test-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    margin-top: 10px;
    padding: 0;
    list-style: none;
}
.service-card .inspection-test-list li {
    display: block;
    width: 100%;
    margin: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}


/* Lista de Planos de Inspeção e Testes: marcadores redondos e itens separados */
.inspection-test-list {
    list-style-type: disc !important;
    list-style-position: outside;
    padding-left: 1.25rem;
    margin-top: 0.5rem;
}
.inspection-test-list li {
    display: list-item;
    list-style-type: disc !important;
    margin-bottom: 0.35rem;
}
.inspection-test-list li::marker {
    color: #202124;
}
.inspection-test-list li:last-child {
    margin-bottom: 0;
}


/* Ajustes finais solicitados: marcadores, links da faixa superior e rodapé centralizado. */
#topBar .topbar-group-link {
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
#topBar .topbar-group-link:hover,
#topBar .topbar-group-link:focus-visible {
    color: #dbeafe;
}
#topBar .topbar-equipment-link {
    color: #ffffff;
    text-decoration: none;
}
#topBar .topbar-equipment-link:hover,
#topBar .topbar-equipment-link:focus-visible {
    color: #ffffff;
}
#topBar .topbar-equipment-link i {
    color: currentColor;
}
.service-card .inspection-test-list {
    display: block;
    list-style: disc !important;
    list-style-position: outside !important;
    padding-left: 1.25rem !important;
    margin: 10px 0 0 !important;
}
.service-card .inspection-test-list li {
    display: list-item !important;
    list-style: disc outside !important;
    width: auto;
    margin: 0 0 7px !important;
    padding-left: 0;
    overflow-wrap: anywhere;
}
.service-card .inspection-test-list li::marker {
    color: #202124;
}
.service-card .inspection-test-list li:last-child {
    margin-bottom: 0 !important;
}
footer .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    margin-inline: auto;
}
footer .footer-content > div {
    text-align: center;
}
@media (max-width: 520px) {
    #topBar {
        flex-wrap: nowrap;
        gap: 8px;
        padding-inline: 10px;
    }
    #topBar .topbar-group-link {
        font-size: 9px;
        letter-spacing: 0;
        white-space: nowrap;
    }
    #topBar .topbar-equipment-link {
        font-size: 9px;
        line-height: 1.2;
        white-space: normal;
        text-align: right;
        justify-content: flex-end;
    }
}


/* Botão Equipamentos: fundo preto e somente a escrita azul institucional. */
.mobile-equipment-link {
    background: #171717 !important;
    color: #ffffff !important;
    border: 1px solid #171717 !important;
    box-shadow: none !important;
    transition: color .2s ease;
}
.mobile-equipment-link:hover,
.mobile-equipment-link:focus-visible {
    background: #171717 !important;
    border-color: #ffffff !important;
    color: #63c3f5 !important;
}

/* O menu fica sobre a página, sem aumentar a altura do cabeçalho fixo. */
@media (max-width: 767px) {
    header { position: fixed !important; top: 0 !important; left: 0; right: 0; z-index: 1000 !important; }
    header #mobileMenu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        box-sizing: border-box;
        z-index: 1001 !important;
        background: #ffffff !important;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 18px 30px rgba(16, 42, 67, .12);
        max-height: calc(100dvh - 70px) !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
    }
    #clientes .clientes-slider {
        display: block !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x pan-y;
        visibility: visible !important;
    }
    #clientes .clientes-track {
        display: flex !important;
        align-items: center !important;
        width: max-content !important;
        min-width: max-content !important;
        visibility: visible !important;
    }
    #clientes .cliente-logo {
        display: flex !important;
        flex: 0 0 170px !important;
        width: 170px !important;
        height: 100px !important;
        box-sizing: border-box !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    #clientes .cliente-logo img {
        display: block !important;
        max-width: 100% !important;
        max-height: 68px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}


/* ===== Ajuste definitivo mobile: faixa Grupo TECH ART visível ===== */
@media (max-width: 767px) {
    :root {
        --techart-topbar-height: 38px;
        --techart-header-height: 70px;
    }

    body {
        padding-top: 108px !important;
    }

    #topBar {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1100 !important;
        box-sizing: border-box !important;
        width: 100% !important;
        height: 38px !important;
        min-height: 38px !important;
        padding: 0 12px !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        overflow: hidden !important;
    }

    #topBar .topbar-group-link {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #ffffff !important;
        font-size: 10px !important;
        line-height: 1 !important;
        letter-spacing: .04em !important;
        white-space: nowrap !important;
    }

    /* O segundo link já está no menu hamburger; evita apertar a faixa superior. */
    #topBar > div {
        display: none !important;
    }

    header {
        position: fixed !important;
        top: 38px !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
    }

    header > div:first-child {
        height: 70px !important;
        min-height: 70px !important;
    }

    header #mobileMenu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1001 !important;
        max-height: calc(100dvh - 108px) !important;
        overflow-y: auto !important;
        background: #ffffff !important;
    }

    .mobile-equipment-link,
    .mobile-equipment-link:hover,
    .mobile-equipment-link:focus-visible {
        background: #171717 !important;
        color: #ffffff !important;
        border: 1px solid #171717 !important;
        box-shadow: none !important;
    }

    #sobre, #servicos, #portfolio, #clientes, #contato {
        scroll-margin-top: 108px !important;
    }
}

/* Ajuste visual final da faixa superior no celular */
@media (max-width: 767px) {
  #topBar {
    height: 32px !important; min-height: 32px !important; max-height: 32px !important;
    padding: 0 14px !important; margin: 0 !important;
    display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important;
    justify-content: center !important; align-items: center !important;
    gap: 0 !important; overflow: hidden !important;
  }
  #topBar .topbar-group-link {
    display: flex !important; align-items: center !important; justify-content: center !important;
    font-size: 11px !important; line-height: 1.2 !important;
    text-align: center !important; padding: 0 !important; margin: 0 !important;
  }
  #topBar > div { display: none !important; }
  header { top: 32px !important; }
  body { padding-top: 102px !important; }
  header #mobileMenu { max-height: calc(100dvh - 102px) !important; }
  #sobre, #servicos, #portfolio, #clientes, #contato { scroll-margin-top: 102px !important; }
}


/* Gradiente institucional: TECH ART Engenharia (grafite) -> Equipamentos Elétricos (azul), da esquerda para a direita. */
#topBar {
    background: linear-gradient(90deg, #171717 0%, #343b45 48%, #075fc7 100%) !important;
    border-bottom-color: rgba(255, 255, 255, .22) !important;
}

header {
    background: linear-gradient(90deg, #f1f1f1 0%, #f7f9fc 48%, #e4f1ff 100%) !important;
    border-bottom-color: rgba(7, 95, 199, .16) !important;
}

footer {
    background: linear-gradient(90deg, #171717 0%, #252d38 48%, #064da8 100%) !important;
    border-top-color: rgba(255, 255, 255, .18) !important;
}

footer .footer-content,
footer .footer-content > div {
    background: transparent !important;
}
