/* =========================================================================
   home.css — CSS consolidado das páginas A4
   -------------------------------------------------------------------------
   Raízes de página:  #a4-home (inicio)
                      #a4-contato-page (contato)
                      #a4-equip-page (equipamentos)
                      #a4-grafica-page (grafica)

   Componentes compartilhados são definidos UMA vez sob o prefixo :is(...)
   As seções exclusivas de cada página ficam escopadas ao ID da página.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1) :root — variáveis unificadas
   ------------------------------------------------------------------------- */
:root {
    --a4-navy: #3F4099;
    --a4-navy-2: #2E2F7A;
    --a4-navy-soft: #4A4BAA;
    --a4-navy-light: #6162B8;
    --a4-orange: #F76E17;
    --a4-orange-2: #FF8A3A;
    --a4-paper: #FFFFFF;
    --a4-paper-2: #F4F4FC;
    --a4-ink: #1A1A3A;
    --a4-ink-soft: #5A5A7A;
    --a4-line: rgba(63, 64, 153, .12);
    --a4-line-dark: rgba(255, 255, 255, .12);
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --font-mono: 'SF Mono', 'IBM Plex Mono', ui-monospace, monospace;
    --ease: cubic-bezier(.16, .84, .44, 1);
    --container: 1280px;
}

/* Contato e gráfica usavam container de 1200px — preserva o visual atual */
:is(#a4-contato-page, #a4-grafica-page) {
    --container: 1200px;
}

/* -------------------------------------------------------------------------
   2) Resets base (isolados do tema WordPress)
   ------------------------------------------------------------------------- */
:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) * {
    box-sizing: border-box;
}

/*
:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) {
    font-family: var(--font-body);
    color: var(--a4-ink);
    background: var(--a4-paper);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
    */

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) img {
    max-width: 100%;
    display: block;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) a {
    text-decoration: none;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width:768px) {
    :is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-wrap {
        padding: 0 20px;
    }
}

/* -------------------------------------------------------------------------
   3) Movimento reduzido
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    :is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) * {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* -------------------------------------------------------------------------
   4) Sistema de reveal (scroll reveal)
   ------------------------------------------------------------------------- */
:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    will-change: opacity, transform;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) [data-reveal="fade"] {
    transform: none;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) [data-reveal-delay="1"] {
    transition-delay: .1s;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) [data-reveal-delay="2"] {
    transition-delay: .2s;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) [data-reveal-delay="3"] {
    transition-delay: .3s;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) [data-reveal-delay="4"] {
    transition-delay: .4s;
}

/* -------------------------------------------------------------------------
   5) Hero — base compartilhada + overrides por página
   ------------------------------------------------------------------------- */
:is(#a4-home, #a4-grafica-page, #a4-equip-page) .a4-hero {
    --a4-hero-gradient: linear-gradient(120deg, rgba(20, 21, 64, .90) 0%, rgba(30, 31, 90, .80) 34%, rgba(63, 64, 153, .50) 62%, rgba(63, 64, 153, .18) 100%);
    position: relative;
    min-height: 64vh;
    display: flex;
    align-items: center;
    padding: 120px 0 90px;
    background-image: var(--a4-hero-gradient);
    background-size: cover;
    background-position: center 30%;
    overflow: hidden;
}

:is(#a4-home, #a4-grafica-page, #a4-equip-page) .a4-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .8) 0%, transparent 80%);
    pointer-events: none;
}

:is(#a4-home, #a4-grafica-page, #a4-equip-page) .a4-hero::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, var(--a4-orange) 0%, transparent 100%);
    pointer-events: none;
}

/* fundos (imagem) específicos de cada página */
#a4-home .a4-hero {
    min-height: 94vh;
    padding: 150px 0 100px;
    background-image: var(--a4-hero-gradient), url("https://a4print.com.br/wp-content/uploads/2024/03/wallpaper-hp-1024x656-1.webp");
}

#a4-grafica-page .a4-hero {
    min-height: 74vh;
    background-image: var(--a4-hero-gradient), url("http://a4print.com.br/wp-content/uploads/2023/12/Loja-01.jpg");
}

#a4-equip-page .a4-hero {
    background-image: var(--a4-hero-gradient), url("https://www.a4print.com.br/wp-content/uploads/2023/12/equipamentos_wall.jpg");
}

/* partículas flutuantes */
:is(#a4-home, #a4-grafica-page, #a4-equip-page) .a4-hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

:is(#a4-home, #a4-grafica-page, #a4-equip-page) .a4-hero-particles i {
    position: absolute;
    display: block;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    opacity: 0;
    animation: a4floatUp linear infinite;
}

:is(#a4-home, #a4-grafica-page, #a4-equip-page) .a4-hero-particles i:nth-child(1) {
    left: 8%;
    bottom: -20px;
    width: 6px;
    height: 6px;
    animation-duration: 11s;
}

:is(#a4-home, #a4-grafica-page, #a4-equip-page) .a4-hero-particles i:nth-child(2) {
    left: 22%;
    bottom: -20px;
    width: 4px;
    height: 4px;
    animation-duration: 9s;
    animation-delay: 2s;
}

:is(#a4-home, #a4-grafica-page, #a4-equip-page) .a4-hero-particles i:nth-child(3) {
    left: 38%;
    bottom: -20px;
    width: 8px;
    height: 8px;
    animation-duration: 13s;
    animation-delay: 1s;
}

:is(#a4-home, #a4-grafica-page, #a4-equip-page) .a4-hero-particles i:nth-child(4) {
    left: 52%;
    bottom: -20px;
    width: 5px;
    height: 5px;
    animation-duration: 10s;
    animation-delay: 3s;
}

:is(#a4-home, #a4-grafica-page, #a4-equip-page) .a4-hero-particles i:nth-child(5) {
    left: 66%;
    bottom: -20px;
    width: 7px;
    height: 7px;
    animation-duration: 14s;
    animation-delay: .5s;
}

:is(#a4-home, #a4-grafica-page, #a4-equip-page) .a4-hero-particles i:nth-child(6) {
    left: 78%;
    bottom: -20px;
    width: 4px;
    height: 4px;
    animation-duration: 9s;
    animation-delay: 2.5s;
}

:is(#a4-home, #a4-grafica-page, #a4-equip-page) .a4-hero-particles i:nth-child(7) {
    left: 90%;
    bottom: -20px;
    width: 6px;
    height: 6px;
    animation-duration: 12s;
    animation-delay: 1.5s;
}

/* inicio tem 8 partículas — reposiciona as 7 e adiciona a 8ª */
#a4-home .a4-hero-particles i:nth-child(2) {
    left: 18%;
}

#a4-home .a4-hero-particles i:nth-child(3) {
    left: 28%;
}

#a4-home .a4-hero-particles i:nth-child(4) {
    left: 42%;
}

#a4-home .a4-hero-particles i:nth-child(5) {
    left: 55%;
}

#a4-home .a4-hero-particles i:nth-child(6) {
    left: 66%;
}

#a4-home .a4-hero-particles i:nth-child(7) {
    left: 78%;
}

#a4-home .a4-hero-particles i:nth-child(8) {
    left: 90%;
    bottom: -20px;
    width: 5px;
    height: 5px;
    animation-duration: 10s;
    animation-delay: 4s;
}

/* texto do hero */
:is(#a4-home, #a4-grafica-page, #a4-equip-page) .a4-hero-grid,
:is(#a4-home, #a4-grafica-page, #a4-equip-page) .a4-hero-inner {
    position: relative;
    z-index: 2;
}

:is(#a4-home, #a4-grafica-page, #a4-equip-page) .a4-hero-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 600px;
    margin: 0;
    width: 100%;
}

#a4-grafica-page .a4-hero-inner {
    max-width: 680px;
}

#a4-equip-page .a4-hero-inner {
    max-width: 640px;
}

:is(#a4-home, #a4-grafica-page, #a4-equip-page) .a4-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .95);
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .45);
}

:is(#a4-grafica-page, #a4-equip-page) .a4-eyebrow {
    margin-bottom: 22px;
}

:is(#a4-home, #a4-grafica-page, #a4-equip-page) .a4-eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .5);
    animation: a4pulse-white 2s infinite;
}

:is(#a4-home, #a4-grafica-page, #a4-equip-page) .a4-hero h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(34px, 4.4vw, 54px);
    line-height: 1.1;
    color: #fff;
    letter-spacing: -.02em;
    margin: 0 0 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .55);
}

:is(#a4-grafica-page, #a4-equip-page) .a4-hero h1 {
    font-size: clamp(36px, 4.6vw, 56px);
    line-height: 1.08;
}

#a4-equip-page .a4-hero h1 {
    margin: 0 0 18px;
}

:is(#a4-home, #a4-grafica-page, #a4-equip-page) .a4-hero h1 em {
    font-style: normal;
    color: #fff;
    background: linear-gradient(90deg, #FF8A3A, #FFD08A, #FF8A3A);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: a4shine 3.5s linear infinite;
}

:is(#a4-home, #a4-grafica-page, #a4-equip-page) .a4-hero p.lead {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .96);
    margin: 0 0 34px;
    font-weight: 500;
    max-width: 460px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}

#a4-grafica-page .a4-hero p.lead {
    font-size: 16.5px;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 0 32px;
}

#a4-equip-page .a4-hero p.lead {
    max-width: 520px;
    margin: 0 0 32px;
}

@media (max-width:600px) {
    :is(#a4-home, #a4-grafica-page, #a4-equip-page) .a4-hero {
        padding: 110px 0 70px;
    }

    :is(#a4-home, #a4-grafica-page, #a4-equip-page) .a4-hero h1 {
        font-size: clamp(30px, 9vw, 40px);
    }

    #a4-home .a4-hero {
        padding: 130px 0 90px;
    }

    #a4-home .a4-hero h1 {
        font-size: clamp(30px, 9vw, 42px);
    }

    #a4-home .a4-hero p.lead {
        font-size: 16px;
    }

    #a4-grafica-page .a4-hero h1 {
        font-size: clamp(32px, 9vw, 40px);
    }
}

/* -------------------------------------------------------------------------
   6) Botões
   ------------------------------------------------------------------------- */
:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--a4-orange);
    color: #fff !important;
    font-weight: 700;
    font-size: 15.5px;
    line-height: 1;
    padding: 16px 28px;
    border-radius: 10px;
    text-decoration: none !important;
    font-family: var(--font-body);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(247, 110, 23, .38);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(247, 110, 23, .52);
    background: var(--a4-orange-2);
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-btn-primary svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid rgba(255, 255, 255, .40);
    color: #fff !important;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    padding: 15px 26px;
    border-radius: 10px;
    text-decoration: none !important;
    font-family: var(--font-body);
    background: transparent;
    cursor: pointer;
    transition: border-color .25s, background .25s, transform .3s var(--ease);
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .08);
    transform: translateY(-2px);
}

/* -------------------------------------------------------------------------
   7) Eyebrow escuro + cabeçalho de seção
   ------------------------------------------------------------------------- */
:is(#a4-home, #a4-contato-page, #a4-grafica-page) .a4-eyebrow-dark {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .08em;
    color: var(--a4-orange);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 16px;
    display: block;
}

:is(#a4-home, #a4-contato-page, #a4-grafica-page) .a4-section-head {
    max-width: 680px;
    margin-bottom: 60px;
}

:is(#a4-home, #a4-contato-page, #a4-grafica-page) .a4-section-head h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 3.6vw, 44px);
    color: var(--a4-ink);
    line-height: 1.12;
    margin: 0 0 18px;
    letter-spacing: -.01em;
}

:is(#a4-home, #a4-contato-page, #a4-grafica-page) .a4-section-head h2 em {
    font-style: normal;
    color: var(--a4-orange);
}

:is(#a4-home, #a4-contato-page, #a4-grafica-page) .a4-section-head p {
    font-size: 17px;
    color: var(--a4-ink-soft);
    line-height: 1.65;
    margin: 0;
}

#a4-contato-page .a4-section-head {
    margin-bottom: 56px;
}

#a4-contato-page .a4-section-head h2 {
    margin: 0;
}

#a4-grafica-page .a4-section-head {
    max-width: 720px;
    margin: 0 auto 60px;
    text-align: center;
}

#a4-grafica-page .a4-section-head h2 {
    margin: 0;
}

/* -------------------------------------------------------------------------
   8) Footer (idêntico nas 4 páginas)
   ------------------------------------------------------------------------- */
:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-footer {
    background: #0E0F2A;
    padding: 72px 0 32px;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 56px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--a4-line-dark);
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, .50);
    line-height: 1.75;
    max-width: 340px;
    margin: 16px 0 0;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-footer .sub {
    font-size: 11px;
    color: rgba(255, 255, 255, .45);
    font-weight: 500;
    display: block;
    margin-top: 2px;
    font-family: var(--font-body);
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-footer h4 {
    font-family: var(--font-display);
    font-size: 12px;
    color: rgba(255, 255, 255, .40);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0 0 20px;
    font-weight: 700;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-footer-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-footer-list a {
    font-size: 14.5px;
    color: rgba(255, 255, 255, .90);
    font-weight: 500;
    transition: color .2s;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-footer-list a:hover {
    color: var(--a4-orange-2);
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-footer-list .item {
    font-size: 14px;
    color: rgba(255, 255, 255, .55);
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-footer-list .item strong {
    color: rgba(255, 255, 255, .80);
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 3px;
}

@media (max-width:860px) {
    :is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* -------------------------------------------------------------------------
   9) FAB WhatsApp — igual em todas as páginas (abre com 2 opções)
   ------------------------------------------------------------------------- */
:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab-backdrop {
    position: fixed;
    inset: 0;
    z-index: 290;
    background: rgba(15, 16, 40, .32);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ease);
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab-wrap {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab-options {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 16px;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab-option {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    color: var(--a4-ink);
    padding: 9px 20px 9px 9px;
    border-radius: 40px;
    box-shadow: 0 10px 28px rgba(26, 26, 58, .22);
    font-weight: 700;
    font-size: 14.5px;
    font-family: var(--font-body);
    white-space: nowrap;
    opacity: 0;
    transform: translateY(14px) scale(.85);
    pointer-events: none;
    transition: opacity .38s var(--ease), transform .38s var(--ease);
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab-option .ico {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab-option .ico svg {
    width: 19px;
    height: 19px;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab-option.opt-locacao .ico {
    background: var(--a4-navy);
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab-option.opt-grafica .ico {
    background: var(--a4-orange);
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab-option:hover {
    transform: translateY(0) scale(1.05) !important;
    box-shadow: 0 14px 34px rgba(26, 26, 58, .3);
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab-wrap.is-open .a4-fab-option {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab-wrap.is-open .a4-fab-option:nth-child(1) {
    transition-delay: .1s;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab-wrap.is-open .a4-fab-option:nth-child(2) {
    transition-delay: .02s;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab {
    position: relative;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #25D366 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 32px rgba(37, 211, 102, .45);
    transition: transform .35s var(--ease);
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab svg {
    width: 30px;
    height: 30px;
    color: #fff;
    position: absolute;
    transition: opacity .3s var(--ease), transform .4s var(--ease);
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab .a4-fab-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab .a4-fab-close {
    opacity: 0;
    transform: rotate(-70deg) scale(.4);
    width: 26px;
    height: 26px;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab-wrap.is-open .a4-fab .a4-fab-icon {
    opacity: 0;
    transform: rotate(70deg) scale(.4);
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab-wrap.is-open .a4-fab .a4-fab-close {
    opacity: 1;
    transform: rotate(0) scale(1);
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab:hover {
    transform: scale(1.09);
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: transparent;
    border: 2.5px solid #25D366;
    opacity: 1;
    animation: a4fabping 2.4s infinite;
    z-index: -1;
    pointer-events: none;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab-wrap.is-open .a4-fab::before {
    animation-play-state: paused;
    opacity: 0;
}

@media (max-width:600px) {
    :is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab-wrap {
        bottom: 18px;
        right: 18px;
    }

    :is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab {
        width: 54px;
        height: 54px;
    }

    :is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab svg {
        width: 26px;
        height: 26px;
    }

    :is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab .a4-fab-close {
        width: 22px;
        height: 22px;
    }

    :is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab-option {
        font-size: 13.5px;
        padding: 7px 16px 7px 7px;
    }

    :is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab-option .ico {
        width: 33px;
        height: 33px;
    }

    :is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-fab-option .ico svg {
        width: 17px;
        height: 17px;
    }
}

/* -------------------------------------------------------------------------
   10) Voltar ao topo
   ------------------------------------------------------------------------- */
:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-top {
    position: fixed;
    bottom: 240px;
    right: 45px;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9EA0C0;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity .35s, transform .35s var(--ease), color .25s;
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-top:hover {
    color: var(--a4-orange-2);
}

:is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-top svg {
    width: 28px;
    height: 28px;
}

@media (max-width:600px) {
    :is(#a4-home, #a4-contato-page, #a4-equip-page, #a4-grafica-page) .a4-top {
        bottom: 86px;
        right: 22px;
    }
}

/* -------------------------------------------------------------------------
   11) Keyframes compartilhados
   ------------------------------------------------------------------------- */
@keyframes a4floatUp {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0);
    }

    12% {
        opacity: .85;
    }

    85% {
        opacity: .35;
    }

    100% {
        opacity: 0;
        transform: translateY(-90vh) translateX(30px);
    }
}

@keyframes a4pulse-white {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, .5);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes a4shine {
    to {
        background-position: 200% center;
    }
}

@keyframes a4fabping {
    0% {
        transform: scale(1);
        opacity: .9;
    }

    60% {
        transform: scale(1.4);
        opacity: 0;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* -------------------------------------------------------------------------
   12) Badge de suporte ativo (só inicio)
   ------------------------------------------------------------------------- */
#a4-home .a4-support-badge {
    display: none;
    align-items: center;
    gap: 8px;
    background: rgba(37, 211, 102, .15);
    border: 1px solid rgba(37, 211, 102, .30);
    color: rgba(255, 255, 255, .90);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    margin: 0 0 22px;
}

#a4-home .a4-support-badge.is-active {
    display: inline-flex;
}

#a4-home .a4-support-badge .blink {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25D366 !important;
    flex-shrink: 0;
    animation: a4pulse 1.5s infinite;
}

@keyframes a4pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(247, 110, 23, .55);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(247, 110, 23, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(247, 110, 23, 0);
    }
}

/* -------------------------------------------------------------------------
   13) Compartilhado entre contato e gráfica — galeria + card de texto
   ------------------------------------------------------------------------- */
:is(#a4-contato-page, #a4-grafica-page) .a4-gallery-layout,
:is(#a4-contato-page, #a4-grafica-page) .a4-grafica-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}

:is(#a4-contato-page, #a4-grafica-page) .a4-text-card {
    background: var(--a4-paper-2);
    border: 1.5px solid var(--a4-line);
    border-radius: 20px;
    padding: 36px 34px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

:is(#a4-contato-page, #a4-grafica-page) .a4-text-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(63, 64, 153, .12);
}

:is(#a4-contato-page, #a4-grafica-page) .a4-text-card p {
    font-size: 16px;
    color: var(--a4-ink-soft);
    line-height: 1.75;
    margin: 0;
}

:is(#a4-contato-page, #a4-grafica-page) .a4-service-group + .a4-service-group {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1.5px solid var(--a4-line);
}

:is(#a4-contato-page, #a4-grafica-page) .a4-service-group h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--a4-navy);
    margin: 0 0 14px;
}

:is(#a4-contato-page, #a4-grafica-page) .a4-service-emoji {
    font-size: 16px;
}

:is(#a4-contato-page, #a4-grafica-page) .a4-service-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

:is(#a4-contato-page, #a4-grafica-page) .a4-service-list li {
    position: relative;
    padding-left: 24px;
    font-size: 15.5px;
    color: var(--a4-ink-soft);
    line-height: 1.6;
}

:is(#a4-contato-page, #a4-grafica-page) .a4-service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 3px;
    background: var(--a4-orange);
}

:is(#a4-contato-page, #a4-grafica-page) .a4-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

:is(#a4-contato-page, #a4-grafica-page) .a4-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    transition: transform .45s var(--ease), box-shadow .35s var(--ease);
}

:is(#a4-contato-page, #a4-grafica-page) .a4-gallery img:hover {
    transform: scale(1.04);
    box-shadow: 0 16px 38px rgba(63, 64, 153, .18);
}

#a4-grafica-page .a4-gallery img {
    height: 220px;
}

@media (max-width:900px) {

    :is(#a4-contato-page, #a4-grafica-page) .a4-gallery-layout,
    :is(#a4-contato-page, #a4-grafica-page) .a4-grafica-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    :is(#a4-contato-page, #a4-grafica-page) .a4-gallery img {
        height: 160px;
    }

    #a4-grafica-page .a4-gallery img {
        height: 180px;
    }
}

/* -------------------------------------------------------------------------
   14) CTA box (centrado) — equipamentos e gráfica
   ------------------------------------------------------------------------- */
:is(#a4-equip-page, #a4-grafica-page) .a4-cta {
    padding: 90px 0;
}

#a4-grafica-page .a4-cta {
    background: #fff;
}

#a4-equip-page .a4-cta {
    background: var(--a4-paper-2);
}

:is(#a4-equip-page, #a4-grafica-page) .a4-cta-box {
    background: var(--a4-navy);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    padding: 64px 56px;
    text-align: center;
}

:is(#a4-equip-page, #a4-grafica-page) .a4-cta-box::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -120px;
    transform: translateX(-50%);
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(247, 110, 23, .16), transparent 70%);
    pointer-events: none;
}

:is(#a4-equip-page, #a4-grafica-page) .a4-cta-box h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(24px, 3vw, 38px);
    color: #fff;
    line-height: 1.18;
    margin: 0 0 16px;
    position: relative;
    z-index: 1;
}

:is(#a4-equip-page, #a4-grafica-page) .a4-cta-box h2 .hl {
    color: var(--a4-orange-2);
}

:is(#a4-equip-page, #a4-grafica-page) .a4-cta-box p {
    font-size: 15.5px;
    color: rgba(255, 255, 255, .62);
    line-height: 1.65;
    margin: 0 0 30px;
    position: relative;
    z-index: 1;
}

@media (max-width:600px) {
    :is(#a4-equip-page, #a4-grafica-page) .a4-cta-box {
        padding: 44px 26px;
    }
}

/* =========================================================================
   15) SEÇÕES EXCLUSIVAS — INICIO
   ========================================================================= */
#a4-home .a4-hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 26px;
}

#a4-home .a4-hero-benefits {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    padding: 0;
    margin: 0;
    justify-content: flex-start;
}

#a4-home .a4-hero-benefits li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, .96);
    text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}

#a4-home .a4-hero-benefits li+li::before {
    content: '•';
    color: rgba(255, 255, 255, .60);
    margin: 0 14px;
    font-weight: 700;
}

#a4-home .a4-hero-benefits li svg {
    display: none;
}

#a4-home .a4-scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .55);
    font-size: 11px;
    letter-spacing: .12em;
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-weight: 700;
}

#a4-home .a4-scroll-hint .mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-radius: 14px;
    position: relative;
}

#a4-home .a4-scroll-hint .mouse::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 7px;
    border-radius: 3px;
    background: var(--a4-orange-2);
    animation: a4wheel 1.6s infinite;
}

@keyframes a4wheel {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    70% {
        opacity: 0;
        transform: translate(-50%, 14px);
    }

    100% {
        opacity: 0;
    }
}

@media (max-width:600px) {
    #a4-home .a4-hero-benefits {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    #a4-home .a4-hero-benefits li+li::before {
        display: none;
    }

    #a4-home .a4-scroll-hint {
        display: none;
    }
}

/* marquee */
#a4-home .a4-marquee {
    background: var(--a4-orange);
    overflow: hidden;
    padding: 16px 0;
    position: relative;
    z-index: 5;
}

#a4-home .a4-marquee-track {
    display: flex;
    width: max-content;
    animation: a4marquee 22s linear infinite;
}

#a4-home .a4-marquee:hover .a4-marquee-track {
    animation-play-state: paused;
}

#a4-home .a4-marquee-group {
    display: flex;
    align-items: center;
    gap: 0;
    padding-right: 0;
}

#a4-home .a4-marquee-group span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 0 22px;
    display: flex;
    align-items: center;
    gap: 22px;
}

#a4-home .a4-marquee-group span::after {
    content: '✦';
    font-size: 13px;
    opacity: .7;
}

@keyframes a4marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* experiência + orbit */
#a4-home .a4-exp {
    background: var(--a4-paper-2);
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

#a4-home .a4-exp-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

#a4-home .a4-exp-content h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 3.4vw, 42px);
    color: var(--a4-ink);
    line-height: 1.15;
    margin: 0 0 18px;
    letter-spacing: -.01em;
}

#a4-home .a4-exp-content h2 .a4-num-20 {
    font-size: 1.18em;
    color: var(--a4-orange);
    opacity: .85;
    text-decoration: underline;
    text-decoration-color: rgba(247, 110, 23, .45);
    text-underline-offset: 6px;
    font-weight: 800;
}

#a4-home .a4-exp-content h2 em {
    font-style: normal;
    color: var(--a4-navy);
}

#a4-home .a4-exp-content p {
    font-size: 16.5px;
    color: var(--a4-ink-soft);
    line-height: 1.65;
    margin: 0 0 36px;
}

#a4-home .a4-exp-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#a4-home .a4-pill {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: #fff;
    border: 1.5px solid var(--a4-line);
    color: var(--a4-ink);
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 16px;
    max-width: 280px;
    cursor: default;
    transition: border-color .25s, background .25s, max-width .35s var(--ease), border-radius .3s var(--ease);
}

#a4-home .a4-pill-head {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

#a4-home .a4-pill-desc {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--a4-ink-soft);
    line-height: 1.5;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease), opacity .3s var(--ease);
}

#a4-home .a4-pill:hover {
    border-color: var(--a4-navy);
    background: var(--a4-paper-2);
}

#a4-home .a4-pill:hover .a4-pill-desc {
    max-height: 120px;
    opacity: 1;
}

#a4-home .a4-pill svg {
    width: 15px;
    height: 15px;
    color: var(--a4-orange);
    flex-shrink: 0;
}

#a4-home .a4-orbit {
    position: relative;
    width: 340px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

#a4-home .a4-orbit-ring {
    position: absolute;
    border-radius: 50%;
}

#a4-home .a4-orbit-ring.r1 {
    width: 340px;
    height: 340px;
    border: 1.5px dashed rgba(63, 64, 153, .20);
    animation: a4spin 60s linear infinite;
}

#a4-home .a4-orbit-ring.r2 {
    width: 240px;
    height: 240px;
    border: 1px dashed rgba(63, 64, 153, .15);
    animation: a4spin 35s linear infinite reverse;
}

@keyframes a4spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#a4-home .a4-orbit-core {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 16px rgba(63, 64, 153, .07), 0 20px 50px rgba(63, 64, 153, .18);
    z-index: 3;
    overflow: hidden;
    animation: a4corepulse 4s ease-in-out infinite;
}

@keyframes a4corepulse {

    0%,
    100% {
        box-shadow: 0 0 0 16px rgba(63, 64, 153, .07), 0 20px 50px rgba(63, 64, 153, .18);
    }

    50% {
        box-shadow: 0 0 0 26px rgba(63, 64, 153, .03), 0 20px 60px rgba(63, 64, 153, .28);
    }
}

#a4-home .a4-orbit-core img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

#a4-home .a4-orbit-node {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: #fff;
    border: 1px solid rgba(63, 64, 153, .14);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(63, 64, 153, .10);
    animation: a4float 5s ease-in-out infinite;
    z-index: 2;
}

#a4-home .a4-orbit-node svg {
    width: 20px;
    height: 20px;
    color: var(--a4-navy);
}

#a4-home .a4-orbit-node.n1 {
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

#a4-home .a4-orbit-node.n2 {
    top: 26%;
    right: -14px;
    animation-delay: .6s;
}

#a4-home .a4-orbit-node.n3 {
    bottom: 26%;
    right: -14px;
    animation-delay: 1.2s;
}

#a4-home .a4-orbit-node.n4 {
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1.8s;
}

#a4-home .a4-orbit-node.n5 {
    bottom: 26%;
    left: -14px;
    animation-delay: 2.4s;
}

#a4-home .a4-orbit-node.n6 {
    top: 26%;
    left: -14px;
    animation-delay: 3s;
}

@keyframes a4float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@media (max-width:900px) {
    #a4-home .a4-exp-inner {
        grid-template-columns: 1fr;
        gap: 56px;
        text-align: center;
    }

    #a4-home .a4-exp-pills {
        justify-content: center;
    }

    #a4-home .a4-pill {
        max-width: 100%;
        align-items: center;
        text-align: left;
    }

    #a4-home .a4-orbit {
        margin: 0 auto;
    }
}

/* soluções */
#a4-home .a4-solucoes {
    background: #fff;
    padding: 110px 0;
}

#a4-home .a4-sol-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

#a4-home .a4-sol-card {
    background: var(--a4-paper-2);
    border: 1.5px solid transparent;
    border-radius: 18px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, background .35s;
    transform-style: preserve-3d;
    will-change: transform;
}

#a4-home .a4-sol-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--a4-navy), var(--a4-navy-light));
    border-radius: 4px 0 0 4px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .35s var(--ease);
}

#a4-home .a4-sol-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(63, 64, 153, .12);
    border-color: rgba(63, 64, 153, .18);
    background: #fff;
}

#a4-home .a4-sol-card:hover::before {
    transform: scaleY(1);
}

#a4-home .a4-sol-num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .06em;
    color: var(--a4-orange);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

#a4-home .a4-sol-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #fff;
    border: 1.5px solid var(--a4-line);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background .35s, border-color .35s, transform .35s var(--ease);
}

#a4-home .a4-sol-card:hover .a4-sol-icon {
    background: var(--a4-navy);
    border-color: var(--a4-navy);
    transform: scale(1.06) rotate(-4deg);
}

#a4-home .a4-sol-icon svg {
    width: 24px;
    height: 24px;
    color: var(--a4-navy);
    transition: color .35s;
}

#a4-home .a4-sol-card:hover .a4-sol-icon svg {
    color: #fff;
}

#a4-home .a4-sol-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--a4-ink);
    margin: 0 0 10px;
}

#a4-home .a4-sol-card p {
    font-size: 14px;
    color: var(--a4-ink-soft);
    line-height: 1.6;
    margin: 0;
}

@media (max-width:1024px) {
    #a4-home .a4-sol-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:560px) {
    #a4-home .a4-sol-grid {
        grid-template-columns: 1fr;
    }
}

/* segmentos */
#a4-home .a4-segmentos {
    background: var(--a4-navy);
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

#a4-home .a4-segmentos::before {
    content: '';
    position: absolute;
    top: -300px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(247, 110, 23, .10), transparent 65%);
    pointer-events: none;
}

#a4-home .a4-seg-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 80px;
    align-items: start;
}

#a4-home .a4-seg-sidebar h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(24px, 3vw, 36px);
    color: #fff;
    line-height: 1.2;
    margin: 0 0 18px;
}

#a4-home .a4-seg-sidebar h2 .hl {
    color: var(--a4-orange-2);
}

#a4-home .a4-seg-sidebar p {
    font-size: 15.5px;
    color: rgba(255, 255, 255, .60);
    line-height: 1.65;
    margin: 0 0 32px;
}

#a4-home .a4-seg-eyebrow {
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: .08em;
    color: var(--a4-orange-2);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 16px;
    display: block;
}

#a4-home .a4-seg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

#a4-home .a4-seg-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 260px;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

#a4-home .a4-seg-card:hover {
    transform: scale(1.02);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .4);
}

#a4-home .a4-seg-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}

#a4-home .a4-seg-card:hover img {
    transform: scale(1.06);
}

#a4-home .a4-seg-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(17, 18, 56, .92) 0%, rgba(17, 18, 56, .30) 55%, transparent 100%);
}

#a4-home .a4-seg-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 22px 22px;
    transform: translateY(4px);
    transition: transform .4s var(--ease);
}

#a4-home .a4-seg-card:hover .a4-seg-caption {
    transform: translateY(0);
}

#a4-home .a4-seg-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .07em;
    color: var(--a4-orange-2);
    text-transform: uppercase;
    font-weight: 700;
    background: rgba(247, 110, 23, .14);
    border: 1px solid rgba(247, 110, 23, .28);
    padding: 3px 9px;
    border-radius: 5px;
    margin-bottom: 8px;
}

#a4-home .a4-seg-caption h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.2;
}

#a4-home .a4-seg-caption p {
    font-size: 13px;
    color: rgba(255, 255, 255, .72);
    margin: 0;
    line-height: 1.5;
}

@media (max-width:1080px) {
    #a4-home .a4-seg-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    #a4-home .a4-seg-sidebar {
        max-width: 540px;
    }
}

@media (max-width:640px) {
    #a4-home .a4-seg-grid {
        grid-template-columns: 1fr;
    }

    #a4-home .a4-seg-card {
        height: 220px;
    }
}

/* CTA final (inicio) — caixa em 2 colunas com imagem */
#a4-home .a4-cta-final {
    background: var(--a4-paper-2);
    padding: 110px 0;
}

#a4-home .a4-cta-box {
    background: var(--a4-navy);
    border-radius: 24px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    position: relative;
}

#a4-home .a4-cta-content {
    padding: 64px 56px;
    position: relative;
    z-index: 2;
}

#a4-home .a4-cta-content::before {
    content: '';
    position: absolute;
    left: -80px;
    bottom: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(247, 110, 23, .15), transparent 70%);
    pointer-events: none;
}

#a4-home .a4-cta-box h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(24px, 3vw, 38px);
    color: #fff;
    line-height: 1.18;
    margin: 0 0 20px;
    position: relative;
    z-index: 1;
}

#a4-home .a4-cta-box h2 .hl-orange {
    color: var(--a4-orange-2);
}

#a4-home .a4-cta-box h2 .hl-line {
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .28);
    text-underline-offset: 5px;
}

#a4-home .a4-cta-box p {
    font-size: 15.5px;
    color: rgba(255, 255, 255, .62);
    line-height: 1.65;
    margin: 0 0 32px;
    position: relative;
    z-index: 1;
}

#a4-home .a4-cta-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
    position: relative;
    z-index: 1;
}

#a4-home .a4-cta-mini span {
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
}

#a4-home .a4-cta-mini svg {
    width: 14px;
    height: 14px;
    color: var(--a4-orange-2);
}

#a4-home .a4-cta-img-col {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

#a4-home .a4-cta-img-col img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
    z-index: 1;
}

#a4-home .a4-cta-box:hover .a4-cta-img-col img {
    transform: scale(1.05);
}

#a4-home .a4-cta-img-col::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--a4-navy) 0%, transparent 40%);
}

@media (max-width:900px) {
    #a4-home .a4-cta-box {
        grid-template-columns: 1fr;
    }

    #a4-home .a4-cta-content {
        padding: 44px 30px;
    }

    #a4-home .a4-cta-img-col {
        height: 200px;
    }

    #a4-home .a4-cta-img-col::after {
        background: linear-gradient(180deg, var(--a4-navy) 0%, transparent 40%);
    }
}

/* =========================================================================
   16) SEÇÕES EXCLUSIVAS — CONTATO
   ========================================================================= */
#a4-contato-page .a4-contact-top {
    background: var(--a4-paper-2);
    padding: 70px 0 90px;
}

#a4-contato-page .a4-contact-head {
    max-width: 680px;
    margin-bottom: 52px;
}

#a4-contato-page .a4-contact-head h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(34px, 4.4vw, 54px);
    color: var(--a4-ink);
    line-height: 1.08;
    margin: 0 0 16px;
    letter-spacing: -.02em;
}

#a4-contato-page .a4-contact-head h1 em {
    font-style: normal;
    color: var(--a4-orange);
    background: linear-gradient(90deg, #F76E17, #FF8A3A, #F76E17);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: a4shine 3.5s linear infinite;
}

#a4-contato-page .a4-contact-head p {
    font-size: 16.5px;
    color: var(--a4-ink-soft);
    line-height: 1.65;
    margin: 0;
    max-width: 520px;
}

#a4-contato-page .a4-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

#a4-contato-page .a4-contact-card {
    background: #fff;
    border: 1.5px solid var(--a4-line);
    border-radius: 18px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}

#a4-contato-page .a4-contact-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--a4-navy), var(--a4-navy-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}

#a4-contato-page .a4-contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(63, 64, 153, .14);
    border-color: rgba(63, 64, 153, .22);
}

#a4-contato-page .a4-contact-card:hover::before {
    transform: scaleX(1);
}

#a4-contato-page .a4-contact-icon {
    width: 66px;
    height: 66px;
    border-radius: 18px;
    margin: 0 auto 22px;
    background: var(--a4-paper-2);
    border: 1.5px solid var(--a4-line);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .35s, transform .35s var(--ease), border-color .35s;
}

#a4-contato-page .a4-contact-card:hover .a4-contact-icon {
    background: var(--a4-navy);
    border-color: var(--a4-navy);
    transform: scale(1.06) rotate(-4deg);
}

#a4-contato-page .a4-contact-icon svg {
    width: 28px;
    height: 28px;
    color: var(--a4-navy);
    transition: color .35s;
}

#a4-contato-page .a4-contact-card:hover .a4-contact-icon svg {
    color: #fff;
}

#a4-contato-page .a4-contact-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--a4-ink);
    margin: 0 0 10px;
}

#a4-contato-page .a4-contact-card a.value {
    font-size: 16.5px;
    color: var(--a4-navy);
    font-weight: 700;
    transition: color .25s;
}

#a4-contato-page .a4-contact-card a.value:hover {
    color: var(--a4-orange);
}

#a4-contato-page .a4-contact-note {
    font-size: 13px;
    color: var(--a4-ink-soft);
    margin: 14px 0 0;
    line-height: 1.6;
}

@media (max-width:900px) {
    #a4-contato-page .a4-contact-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }
}

/* sobre / história */
#a4-contato-page .a4-sobre-sec {
    padding: 110px 0;
    background: var(--a4-paper);
}

#a4-contato-page .a4-historia-card {
    background: var(--a4-paper-2);
    border: 1.5px solid var(--a4-line);
    border-radius: 20px;
    padding: 44px 40px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

#a4-contato-page .a4-historia-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(63, 64, 153, .12);
}

#a4-contato-page .a4-historia-card p {
    font-size: 16px;
    color: var(--a4-ink-soft);
    line-height: 1.75;
    margin: 0;
}

#a4-contato-page .a4-historia-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 44px;
}

#a4-contato-page .a4-stat {
    background: #fff;
    border: 1.5px solid var(--a4-line);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    transition: transform .35s var(--ease), border-color .25s;
}

#a4-contato-page .a4-stat:hover {
    transform: translateY(-5px);
    border-color: rgba(63, 64, 153, .22);
}

#a4-contato-page .a4-stat b {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 34px;
    color: var(--a4-orange);
    line-height: 1;
    margin-bottom: 10px;
}

#a4-contato-page .a4-stat span {
    font-size: 14px;
    color: var(--a4-ink-soft);
    font-weight: 600;
}

@media (max-width:768px) {
    #a4-contato-page .a4-historia-stats {
        grid-template-columns: 1fr;
    }

    #a4-contato-page .a4-historia-card {
        padding: 32px 26px;
    }
}

/* parceiro oficial */
#a4-contato-page .a4-partners {
    padding: 110px 0;
    background: var(--a4-paper-2);
}

#a4-contato-page .a4-partners .a4-section-head {
    text-align: center;
    margin: 0 auto 60px;
}

#a4-contato-page .a4-partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    max-width: 900px;
    margin: 0 auto;
}

#a4-contato-page .a4-partner-card {
    background: #fff;
    border: 1.5px solid var(--a4-line);
    border-radius: 20px;
    padding: 34px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}

#a4-contato-page .a4-partner-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--a4-navy), var(--a4-navy-light));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .35s var(--ease);
}

#a4-contato-page .a4-partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(63, 64, 153, .14);
    border-color: rgba(63, 64, 153, .22);
}

#a4-contato-page .a4-partner-card:hover::before {
    transform: scaleY(1);
}

#a4-contato-page .a4-partner-media {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    margin: 0 auto 22px;
    background: var(--a4-paper-2);
    border: 1.5px solid var(--a4-line);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 14px;
    transition: transform .35s var(--ease), border-color .35s;
}

#a4-contato-page .a4-partner-card:hover .a4-partner-media {
    transform: scale(1.05) rotate(-2deg);
    border-color: rgba(63, 64, 153, .25);
}

#a4-contato-page .a4-partner-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#a4-contato-page .a4-partner-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--a4-ink);
    margin: 0 0 12px;
    line-height: 1.25;
}

#a4-contato-page .a4-partner-card p {
    font-size: 14px;
    color: var(--a4-ink-soft);
    line-height: 1.65;
    margin: 0;
}

#a4-contato-page .a4-partner-btn {
    display: inline-flex;
    margin-top: 20px;
    background: var(--a4-orange);
    color: #fff !important;
    font-weight: 700;
    font-size: 13.5px;
    padding: 11px 22px;
    border-radius: 9px;
    box-shadow: 0 6px 18px rgba(247, 110, 23, .3);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}

#a4-contato-page .a4-partner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(247, 110, 23, .45);
    background: var(--a4-orange-2);
}

@media (max-width:900px) {
    #a4-contato-page .a4-partner-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
    }
}

/* outsourcing CTA */
#a4-contato-page .a4-outsourcing {
    background: var(--a4-navy);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

#a4-contato-page .a4-outsourcing::before {
    content: '';
    position: absolute;
    top: -300px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(247, 110, 23, .12), transparent 65%);
    pointer-events: none;
}

#a4-contato-page .a4-out-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

#a4-contato-page .a4-out-eyebrow {
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: .08em;
    color: var(--a4-orange-2);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 16px;
    display: block;
}

#a4-contato-page .a4-out-inner h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(26px, 3.6vw, 42px);
    color: #fff;
    line-height: 1.15;
    margin: 0 0 20px;
}

#a4-contato-page .a4-out-inner h2 .hl {
    color: var(--a4-orange-2);
}

#a4-contato-page .a4-out-inner p {
    font-size: 15.5px;
    color: rgba(255, 255, 255, .65);
    line-height: 1.65;
    margin: 0 0 32px;
}

/* gráfica (contato) */
#a4-contato-page .a4-grafica-sec {
    padding: 110px 0;
    background: var(--a4-paper);
}

#a4-contato-page .a4-grafica-cta {
    text-align: center;
    margin-top: 48px;
}

/* =========================================================================
   17) SEÇÕES EXCLUSIVAS — GRÁFICA
   ========================================================================= */
#a4-grafica-page .a4-about-sec {
    padding: 110px 0;
    background: var(--a4-paper);
}

#a4-grafica-page .a4-visit {
    padding: 110px 0;
    background: var(--a4-paper-2);
}

#a4-grafica-page .a4-visit-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

#a4-grafica-page .a4-visit-card {
    background: #fff;
    border: 1.5px solid var(--a4-line);
    border-radius: 20px;
    padding: 38px 34px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

#a4-grafica-page .a4-visit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(63, 64, 153, .12);
}

#a4-grafica-page .a4-visit-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--a4-paper-2);
    border: 1.5px solid var(--a4-line);
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 14px;
    transition: border-color .25s, transform .3s var(--ease);
}

#a4-grafica-page .a4-visit-row:hover {
    border-color: rgba(247, 110, 23, .5);
    transform: translateX(4px);
}

#a4-grafica-page .a4-visit-row img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

#a4-grafica-page .a4-visit-row a {
    font-size: 16px;
    color: var(--a4-navy);
    font-weight: 700;
}

#a4-grafica-page .a4-visit-row a:hover {
    color: var(--a4-orange);
}

#a4-grafica-page .a4-visit-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    border: 1.5px solid var(--a4-line);
    border-radius: 14px;
    overflow: hidden;
}

#a4-grafica-page .a4-visit-table th,
#a4-grafica-page .a4-visit-table td {
    padding: 12px 14px;
    text-align: center;
    font-size: 14px;
}

#a4-grafica-page .a4-visit-table th {
    background: var(--a4-navy);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    font-size: 12.5px;
}

#a4-grafica-page .a4-visit-table td {
    color: var(--a4-ink-soft);
    border-top: 1px solid var(--a4-line);
}

#a4-grafica-page .a4-visit-table tr:nth-child(even) td {
    background: var(--a4-paper-2);
}

#a4-grafica-page .a4-visit-table td .horario {
    color: var(--a4-navy);
    font-weight: 700;
}

#a4-grafica-page .a4-visit-table td .fechado {
    color: var(--a4-orange);
    font-weight: 700;
}

#a4-grafica-page .a4-map {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1.5px solid var(--a4-line);
    box-shadow: 0 20px 48px rgba(63, 64, 153, .12);
}

#a4-grafica-page .a4-map iframe {
    display: block;
    width: 100%;
    height: 480px;
    border: 0;
}

@media (max-width:900px) {
    #a4-grafica-page .a4-visit-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    #a4-grafica-page .a4-map iframe {
        height: 360px;
    }
}

/* =========================================================================
   18) SEÇÕES EXCLUSIVAS — EQUIPAMENTOS
   ========================================================================= */
#a4-equip-page .a4-toolbar {
    padding: 44px 0 10px;
    background: var(--a4-paper);
}

#a4-equip-page .a4-search {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--a4-paper-2);
    border: 1.5px solid var(--a4-line);
    border-radius: 14px;
    padding: 4px 18px;
    max-width: 620px;
    margin: 0 auto 30px;
    transition: border-color .25s, box-shadow .25s;
}

#a4-equip-page .a4-search:focus-within {
    border-color: rgba(247, 110, 23, .55);
    box-shadow: 0 0 0 4px rgba(247, 110, 23, .12);
}

#a4-equip-page .a4-search svg {
    width: 20px;
    height: 20px;
    color: var(--a4-ink-soft);
    flex-shrink: 0;
}

#a4-equip-page .a4-search input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--a4-ink);
    padding: 14px 0;
}

#a4-equip-page .a4-search input::placeholder {
    color: #9aa0bd;
}

#a4-equip-page .a4-search-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--a4-paper-2);
    color: var(--a4-ink-soft);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: scale(.7);
    transition: opacity .25s, transform .25s, background .25s, color .25s;
}

#a4-equip-page .a4-search-clear.is-on {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

#a4-equip-page .a4-search-clear:hover {
    background: var(--a4-orange);
    color: #fff;
}

#a4-equip-page .a4-search-clear svg {
    width: 14px;
    height: 14px;
}

#a4-equip-page .a4-filter-groups {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 34px;
    margin-bottom: 10px;
}

#a4-equip-page .a4-filter-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#a4-equip-page .a4-filter-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--a4-ink-soft);
    text-transform: uppercase;
    font-weight: 700;
}

#a4-equip-page .a4-filter-label b {
    color: var(--a4-orange);
}

#a4-equip-page .a4-filter-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

#a4-equip-page .a4-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--a4-ink-soft);
    background: #fff;
    border: 1.5px solid var(--a4-line);
    border-radius: 999px;
    padding: 8px 16px;
    transition: all .25s;
    cursor: pointer;
    user-select: none;
}

#a4-equip-page .a4-chip:hover {
    border-color: rgba(63, 64, 153, .35);
    transform: translateY(-2px);
}

#a4-equip-page .a4-chip.is-on {
    background: var(--a4-navy);
    border-color: var(--a4-navy);
    color: #fff;
    box-shadow: 0 8px 18px rgba(63, 64, 153, .25);
}

#a4-equip-page .a4-chip.is-on.c-clear {
    background: #fff;
    border-color: var(--a4-line);
    color: var(--a4-ink-soft);
    box-shadow: none;
}

#a4-equip-page .a4-count {
    text-align: center;
    color: var(--a4-ink-soft);
    font-size: 13.5px;
    font-weight: 600;
    margin: 18px 0 0;
}

#a4-equip-page .a4-count b {
    color: var(--a4-orange);
}

/* grid de equipamentos */
#a4-equip-page .a4-cat {
    padding: 20px 0 60px;
    background: var(--a4-paper);
}

#a4-equip-page .a4-eq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 26px;
}

#a4-equip-page .a4-eq-card {
    display: flex;
    flex-direction: column;
    text-align: left;
    background: #fff;
    border: 1.5px solid var(--a4-line);
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    padding: 0;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
    animation: a4cardIn .5s var(--ease) both;
}

@keyframes a4cardIn {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#a4-equip-page .a4-eq-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 54px rgba(63, 64, 153, .16);
    border-color: rgba(63, 64, 153, .25);
}

#a4-equip-page .a4-eq-preview {
    position: relative;
    height: 200px;
    background: #fff;
    overflow: hidden;
}

#a4-equip-page .a4-eq-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
    background: #fff;
    opacity: 0;
    transition: opacity .5s var(--ease);
}

#a4-equip-page .a4-eq-slide.is-on {
    opacity: 1;
}

#a4-equip-page .a4-eq-desc {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    background: linear-gradient(180deg, transparent, rgba(20, 21, 64, .95));
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
    padding: 34px 16px 13px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .3s, transform .3s var(--ease);
}

#a4-equip-page .a4-eq-card:hover .a4-eq-desc {
    opacity: 1;
    transform: translateY(0);
}

#a4-equip-page .a4-eq-count {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: rgba(20, 21, 64, .55);
    backdrop-filter: blur(6px);
    padding: 4px 9px;
    border-radius: 999px;
    opacity: 0;
    transition: opacity .3s;
}

#a4-equip-page .a4-eq-card:hover .a4-eq-count {
    opacity: 1;
}

#a4-equip-page .a4-eq-body {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

#a4-equip-page .a4-eq-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

#a4-equip-page .a4-eq-tag {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .05em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 5px;
}

#a4-equip-page .a4-eq-tag.type {
    color: var(--a4-orange);
    background: rgba(247, 110, 23, .12);
    border: 1px solid rgba(247, 110, 23, .25);
}

#a4-equip-page .a4-eq-tag.color {
    color: #0e9f6e;
    background: rgba(14, 159, 110, .12);
    border: 1px solid rgba(14, 159, 110, .28);
}

#a4-equip-page .a4-eq-tag.color.mono {
    color: var(--a4-ink-soft);
    background: var(--a4-paper-2);
    border: 1px solid var(--a4-line);
}

#a4-equip-page .a4-eq-body h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--a4-ink);
    margin: 0 0 8px;
    line-height: 1.25;
}

#a4-equip-page .a4-eq-body .a4-eq-cat {
    font-size: 13px;
    color: var(--a4-ink-soft);
    line-height: 1.5;
    margin: 0 0 14px;
}

#a4-equip-page .a4-eq-open {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--a4-navy);
    transition: color .25s, gap .25s;
}

#a4-equip-page .a4-eq-open svg {
    width: 15px;
    height: 15px;
    transition: transform .25s;
}

#a4-equip-page .a4-eq-card:hover .a4-eq-open {
    color: var(--a4-orange);
}

#a4-equip-page .a4-eq-card:hover .a4-eq-open svg {
    transform: translateX(4px);
}

#a4-equip-page .a4-empty {
    text-align: center;
    padding: 80px 20px;
    display: none;
}

#a4-equip-page .a4-empty.is-on {
    display: block;
}

#a4-equip-page .a4-empty svg {
    width: 52px;
    height: 52px;
    color: var(--a4-line);
    margin: 0 auto 18px;
}

#a4-equip-page .a4-empty h3 {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--a4-ink);
    margin: 0 0 8px;
}

#a4-equip-page .a4-empty p {
    font-size: 14.5px;
    color: var(--a4-ink-soft);
    margin: 0;
}

@media (max-width:640px) {
    #a4-equip-page .a4-eq-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
}

/* override de hovers (neutraliza estilos herdados do tema do site) */
#a4-equip-page .a4-eq-card:hover {
    background: #fff !important;
    border-color: rgba(63, 64, 153, .25) !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 24px 54px rgba(63, 64, 153, .16) !important;
}

#a4-equip-page .a4-chip:hover {
    background: #fff !important;
    border-color: rgba(63, 64, 153, .35) !important;
    transform: translateY(-2px) !important;
    color: var(--a4-ink-soft) !important;
}

#a4-equip-page .a4-chip.is-on:hover {
    background: var(--a4-navy) !important;
    color: #fff !important;
}

#a4-equip-page .a4-btn-primary:hover {
    background: var(--a4-orange-2) !important;
    color: #fff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 36px rgba(247, 110, 23, .52) !important;
}

#a4-equip-page .a4-modal-close:hover {
    background: var(--a4-orange-2) !important;
    color: #fff !important;
    transform: rotate(90deg) !important;
}

#a4-equip-page .a4-modal-nav:hover {
    background: var(--a4-orange-2) !important;
    color: #fff !important;
    transform: translateY(-50%) scale(1.08) !important;
}

/* Garante que as setas e o X fiquem sempre visíveis (brancos sobre laranja)
   e perfeitamente centralizados no botão */
#a4-equip-page .a4-modal-close i,
#a4-equip-page .a4-modal-nav i {
    font-size: 22px;
    line-height: 1;
    color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    height: 100%;
}

#a4-equip-page .a4-modal-close i {
    font-size: 19px;
}

#a4-equip-page .a4-fab:hover {
    background: #25D366 !important;
    transform: scale(1.09) !important;
    color: #fff !important;
}

#a4-equip-page .a4-top:hover {
    background: none !important;
    color: var(--a4-orange-2) !important;
}

#a4-equip-page .a4-search-clear:hover {
    background: var(--a4-orange) !important;
    color: #fff !important;
}

#a4-equip-page .a4-eq-open:hover {
    color: var(--a4-orange) !important;
}

/* modal de detalhe (maior, sem bordas, specs com espaço) */
#a4-equip-page .a4-modal {
    position: fixed;
    inset: 0;
    z-index: 800;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

#a4-equip-page .a4-modal.is-open {
    display: flex;
}

#a4-equip-page .a4-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 11, 35, .8);
    backdrop-filter: blur(8px);
}

#a4-equip-page .a4-modal-box {
    position: relative;
    width: 100%;
    max-width: 1180px;
    max-height: 92vh;
    overflow: hidden;
    background: #fff;
    border-radius: 26px;
    box-shadow: 0 46px 110px rgba(0, 0, 0, .55);
    transform: translateY(28px) scale(.97);
    opacity: 0;
    transition: transform .45s var(--ease), opacity .45s var(--ease);
    display: flex;
    flex-direction: column;
}

#a4-equip-page .a4-modal.is-open .a4-modal-box {
    transform: none;
    opacity: 1;
}

#a4-equip-page .a4-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 42px;
    height: 42px;
    padding: 0 !important;
    border-radius: 50% !important;
    border: none !important;
    background: var(--a4-orange) !important;
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(247, 110, 23, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1 !important;
    transition: background .25s, transform .25s;
}

#a4-equip-page .a4-modal-close:hover {
    background: var(--a4-orange-2) !important;
    color: #fff !important;
    transform: rotate(90deg);
}

#a4-equip-page .a4-modal-close i {
    font-size: 19px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff !important;
}

/* Estrutura: imagem + descrição FIXAS no topo; specs rolam embaixo */
#a4-equip-page .a4-modal-top {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    border-bottom: 1.5px solid var(--a4-line);
}

#a4-equip-page .a4-modal-media {
    position: relative;
    background: #fff;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#a4-equip-page .a4-modal-slides {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 380px;
}

#a4-equip-page .a4-modal-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    padding: 24px;
    opacity: 0;
    transition: opacity .55s var(--ease);
}

#a4-equip-page .a4-modal-slide.is-on {
    opacity: 1;
}

#a4-equip-page .a4-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 46px;
    height: 46px;
    padding: 0 !important;
    border-radius: 50% !important;
    border: none !important;
    background: var(--a4-orange) !important;
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(247, 110, 23, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1 !important;
    transition: background .25s, color .25s, transform .25s;
}

#a4-equip-page .a4-modal-nav:hover {
    background: var(--a4-orange-2) !important;
    color: #fff !important;
    transform: translateY(-50%) scale(1.08);
}

#a4-equip-page .a4-modal-nav i {
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff !important;
}

#a4-equip-page .a4-modal-nav.prev {
    left: 16px;
}

#a4-equip-page .a4-modal-nav.next {
    right: 16px;
}

#a4-equip-page .a4-modal-dots {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: 8px;
}

#a4-equip-page .a4-modal-dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(63, 64, 153, .25);
    transition: background .25s, transform .25s;
    cursor: pointer;
}

#a4-equip-page .a4-modal-dots i.is-on {
    background: var(--a4-orange-2);
    transform: scale(1.35);
}

#a4-equip-page .a4-modal-info {
    padding: 40px 40px 30px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

#a4-equip-page .a4-modal-info .a4-eq-tags {
    margin-bottom: 14px;
}

#a4-equip-page .a4-modal-info h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(24px, 2.8vw, 34px);
    color: var(--a4-ink);
    line-height: 1.12;
    margin: 0 0 10px;
    letter-spacing: -.01em;
}

#a4-equip-page .a4-modal-info .a4-modal-cat {
    font-size: 12.5px;
    color: var(--a4-orange);
    font-weight: 700;
    margin: 0 0 18px;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-family: var(--font-mono);
}

#a4-equip-page .a4-modal-info p.a4-modal-desc {
    font-size: 15px;
    color: var(--a4-ink-soft);
    line-height: 1.7;
    margin: 0 0 24px;
    max-height: 130px;
    overflow-y: auto;
}

#a4-equip-page .a4-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

#a4-equip-page .a4-modal-actions .a4-btn-primary {
    padding: 15px 26px;
    font-size: 15px;
}

/* Specs: título fixo abaixo da imagem; só as linhas rolam */
#a4-equip-page .a4-modal-specs {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: var(--a4-paper-2);
}

#a4-equip-page .a4-specs-head {
    flex-shrink: 0;
    padding: 22px 44px 0;
    background: var(--a4-paper-2);
}

#a4-equip-page .a4-specs-head h3 {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--a4-ink);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

#a4-equip-page .a4-specs-head h3::before {
    content: '';
    width: 22px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--a4-orange), var(--a4-orange-2));
}

#a4-equip-page .a4-specs-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 44px 40px;
}

/* Specs em grid: pares label+valor lado a lado (2 fileiras = 4 colunas) */
#a4-equip-page .a4-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 18px;
}

#a4-equip-page .a4-spec-item {
    display: flex;
    align-items: stretch;
    gap: 10px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(63, 64, 153, .08);
}

#a4-equip-page .a4-spec-label {
    flex: 0 0 42%;
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--a4-ink);
    background: linear-gradient(135deg, var(--a4-navy), var(--a4-navy-light));
    color: #fff;
    display: flex;
    align-items: center;
    line-height: 1.3;
}

#a4-equip-page .a4-spec-value {
    flex: 1;
    padding: 9px 12px;
    font-size: 12.5px;
    color: var(--a4-ink);
    line-height: 1.35;
    display: flex;
    align-items: center;
    min-width: 0;
}

#a4-equip-page .a4-spec-msg {
    grid-column: 1 / -1;
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    font-size: 13px;
    background: #fff;
}

@media (max-width:1100px) {
    #a4-equip-page .a4-spec-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width:900px) {
    #a4-equip-page .a4-modal-top {
        grid-template-columns: 1fr;
    }

    #a4-equip-page .a4-modal-media {
        min-height: 280px;
    }

    #a4-equip-page .a4-modal-slides {
        min-height: 280px;
    }

    #a4-equip-page .a4-modal-info {
        padding: 26px 22px 24px;
    }

    #a4-equip-page .a4-specs-head {
        padding: 18px 22px 0;
    }

    #a4-equip-page .a4-specs-scroll {
        padding: 14px 22px 34px;
    }

    #a4-equip-page .a4-modal {
        padding: 10px;
    }

    #a4-equip-page .a4-modal-box {
        max-height: 96vh;
    }
}