:root {
    --amarelo: #ffd20a;
    --laranja: #ff7a00;
    --preto: #030303;
    --branco: #f7f7f7;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    min-width: 320px;
    background: var(--preto);
}

body {
    color: var(--branco);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.fase-a {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background-color: #020202;
    background-image:
        linear-gradient(90deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.06) 39%, rgba(0,0,0,0) 61%),
        url("/ebartesgraficas/assets/img/hero-leao-eb-artes-graficas.webp?v=resgate-20260821-0055");
    background-repeat: no-repeat;
    background-position: center center, center center;
    background-size: cover, cover;
}

.topo {
    position: relative;
    z-index: 10;
    height: 92px;
}

.topo__conteudo {
    position: relative;
    width: min(100% - 48px, 1380px);
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.marca {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: 0 0 auto;
}

.marca__logo {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.marca__texto {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    color: var(--preto);
    white-space: nowrap;
    font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    font-stretch: condensed;
    font-weight: 800;
    font-size: 27px;
    line-height: 1;
    letter-spacing: -1px;
}

.marca__texto strong {
    color: var(--amarelo);
}

.marca__texto i {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 118px;
    height: 4px;
    border-radius: 4px;
    background: var(--amarelo);
}

.menu {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.1vw, 31px);
    white-space: nowrap;
    font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
}

.menu a:hover,
.menu a:focus-visible {
    color: var(--amarelo);
}

.whatsapp-topo {
    width: 129px;
    height: 46px;
    margin-left: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 0 0 129px;
    border-radius: 8px;
    background: var(--amarelo);
    color: #111;
    font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    font-size: 17px;
    font-weight: 800;
}

.whatsapp-topo svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.menu-botao {
    display: none;
}

.hero {
    min-height: 468px;
}

.hero__conteudo {
    width: min(100% - 48px, 1380px);
    margin: 0 auto;
    padding-top: 43px;
    padding-left: clamp(0px, 4.2vw, 56px);
}

.hero h1 {
    margin: 0;
    width: 390px;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
    font-size: clamp(46px, 5vw, 64px);
    font-weight: 900;
    line-height: .98;
    letter-spacing: .1px;
    text-transform: uppercase;
}

.hero h1 span {
    display: block;
}

.hero h1 .destaque {
    color: var(--amarelo);
}

.hero p {
    margin: 22px 0 0;
    color: #e9e9e9;
    font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    font-size: 21px;
    line-height: 1.28;
}

.hero__acoes {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 27px;
}

.cta {
    min-width: 302px;
    height: 57px;
    padding: 0 20px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--laranja);
    color: #fff;
    font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: inset 0 1px rgba(255,255,255,.18), 0 3px 8px rgba(0,0,0,.25);
}

.whatsapp-hero {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border: 4px solid #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25b83f;
    color: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,.35);
}

.whatsapp-hero svg {
    width: 37px;
    height: 37px;
    fill: currentColor;
}

.cta:hover,
.whatsapp-topo:hover,
.whatsapp-hero:hover {
    filter: brightness(1.06);
}

.cta:focus-visible,
.whatsapp-topo:focus-visible,
.whatsapp-hero:focus-visible,
.menu a:focus-visible,
.menu-botao:focus-visible {
    outline: 3px solid rgba(255,210,10,.55);
    outline-offset: 3px;
}

/* Notebook */
@media (max-width: 1100px) {
    .topo__conteudo,
    .hero__conteudo {
        width: min(100% - 36px, 1000px);
    }

    .marca__texto {
        font-size: 23px;
    }

    .menu {
        gap: 17px;
        font-size: 13px;
    }

    .whatsapp-topo {
        margin-left: 18px;
    }
}

/* Tablet e celular */
@media (max-width: 880px) {
    .fase-a {
        min-height: 700px;
        background-image:
            linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.58) 52%, rgba(0,0,0,.12) 100%),
            url("/ebartesgraficas/assets/img/hero-leao-eb-artes-graficas-mobile.webp?v=resgate-20260821-0055");
        background-position: center center, 62% center;
        background-size: cover, auto 100%;
    }

    .topo {
        height: 82px;
    }

    .topo__conteudo,
    .hero__conteudo {
        width: calc(100% - 32px);
    }

    .marca__logo {
        width: 56px;
        height: 56px;
    }

    .marca__texto {
        font-size: clamp(18px, 4.7vw, 24px);
    }

    .whatsapp-topo {
        display: none;
    }

    .menu-botao {
        margin-left: auto;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid rgba(255,255,255,.32);
        border-radius: 7px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        background: rgba(0,0,0,.42);
        color: #fff;
        cursor: pointer;
    }

    .menu-botao span {
        width: 22px;
        height: 2px;
        background: currentColor;
        border-radius: 2px;
    }

    .menu {
        position: absolute;
        top: 72px;
        right: 0;
        width: min(290px, calc(100vw - 32px));
        padding: 12px;
        border: 1px solid rgba(255,255,255,.15);
        border-radius: 8px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(3,3,3,.97);
        box-shadow: 0 16px 30px rgba(0,0,0,.45);
        font-size: 16px;
    }

    .menu.aberto {
        display: flex;
    }

    .menu a {
        padding: 13px 12px;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .menu a:last-child {
        border-bottom: 0;
    }

    .hero {
        min-height: 618px;
    }

    .hero__conteudo {
        padding-top: 65px;
        padding-left: 0;
    }

    .hero h1 {
        width: min(430px, 100%);
        font-size: clamp(42px, 10vw, 58px);
        line-height: 1;
    }

    .hero p {
        width: min(380px, 100%);
        font-size: clamp(19px, 4.7vw, 23px);
    }
}

@media (max-width: 520px) {
    .fase-a {
        min-height: 680px;
        background-position: center center, 66% center;
    }

    .topo {
        height: 76px;
    }

    .marca__logo {
        width: 51px;
        height: 51px;
    }

    .marca {
        gap: 8px;
    }

    .marca__texto {
        font-size: 18px;
        letter-spacing: -.65px;
    }

    .marca__texto i {
        width: 88px;
        height: 3px;
    }

    .hero {
        min-height: 604px;
    }

    .hero__conteudo {
        padding-top: 58px;
    }

    .hero h1 {
        font-size: clamp(38px, 10.7vw, 49px);
    }

    .hero p {
        margin-top: 23px;
        line-height: 1.32;
    }

    .desktop-only {
        display: none;
    }

    .hero__acoes {
        gap: 12px;
        margin-top: 28px;
    }

    .cta {
        min-width: 0;
        flex: 1 1 auto;
        height: 55px;
        padding: 0 12px;
        font-size: clamp(15px, 4.4vw, 18px);
    }

    .whatsapp-hero {
        width: 55px;
        height: 55px;
        flex-basis: 55px;
    }
}

/* =========================================================
   FORMULÁRIO DE ORÇAMENTO EM MODAL
   ========================================================= */

.modal-orcamento {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity .28s ease,
        visibility 0s linear .28s;
}

.modal-orcamento.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
        opacity .28s ease,
        visibility 0s linear 0s;
}

.modal-orcamento__fundo {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity .28s ease;
}

.modal-orcamento.is-open .modal-orcamento__fundo {
    opacity: 1;
}

.modal-orcamento__painel {
    position: relative;
    z-index: 1;
    width: min(820px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 15px;
    background:
        radial-gradient(circle at 82% 10%, rgba(255, 210, 10, .08), transparent 30%),
        #0d0d0d;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .65);
    opacity: 0;
    transform: translateY(34px) scale(.965);
    transition:
        transform .32s cubic-bezier(.2, .75, .2, 1),
        opacity .24s ease;
}

.modal-orcamento.is-open .modal-orcamento__painel {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.modal-orcamento__fechar {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #171717;
    color: #fff;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
    transition:
        transform .2s ease,
        background-color .2s ease,
        border-color .2s ease;
}

.modal-orcamento__fechar:hover {
    transform: rotate(90deg);
    background: #242424;
    border-color: var(--amarelo);
}

.modal-orcamento__fechar:focus-visible {
    outline: 3px solid rgba(255, 210, 10, .55);
    outline-offset: 3px;
}

body.modal-orcamento-aberto {
    overflow: hidden;
}

.orcamento__container {
    width: 100%;
    margin: 0 auto;
}

.orcamento__cabecalho {
    padding-right: 52px;
    margin-bottom: 28px;
}

.orcamento__linha {
    display: block;
    width: 72px;
    height: 5px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: var(--amarelo);
}

.orcamento__cabecalho h2 {
    margin: 0;
    color: #fff;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
    font-size: clamp(32px, 4.5vw, 48px);
    line-height: 1;
    letter-spacing: .2px;
}

.orcamento__cabecalho p {
    margin: 13px 0 0;
    color: #cfcfcf;
    font-size: 16px;
    line-height: 1.45;
}

.orcamento-form {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.orcamento-form__grade {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.campo {
    min-width: 0;
}

.campo--inteiro {
    grid-column: 1 / -1;
}

.campo label {
    display: block;
    margin-bottom: 7px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.campo input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #3b3b3b;
    border-radius: 7px;
    outline: none;
    background: #111;
    color: #fff;
    font: inherit;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.campo input[type="file"] {
    height: auto;
    min-height: 48px;
    padding: 10px 12px;
    color: #d6d6d6;
}

.campo input:focus {
    border-color: var(--amarelo);
    box-shadow: 0 0 0 3px rgba(255, 210, 10, .13);
}

.campo small {
    display: block;
    margin-top: 7px;
    color: #9e9e9e;
    font-size: 12px;
}

.orcamento-form__enviar {
    min-width: 190px;
    height: 54px;
    margin-top: 24px;
    padding: 0 30px;
    border: 0;
    border-radius: 7px;
    background: var(--laranja);
    color: #fff;
    cursor: pointer;
    font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    font-size: 19px;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: inset 0 1px rgba(255,255,255,.18), 0 3px 9px rgba(0,0,0,.26);
}

.orcamento-form__enviar:hover {
    filter: brightness(1.06);
}

.orcamento-form__enviar:focus-visible {
    outline: 3px solid rgba(255,210,10,.55);
    outline-offset: 3px;
}

.form-alerta {
    margin: 0 0 22px;
    padding: 16px 18px;
    border-radius: 8px;
    display: grid;
    gap: 6px;
    line-height: 1.45;
}

.form-alerta--sucesso {
    border: 1px solid rgba(57, 201, 86, .45);
    background: rgba(57, 201, 86, .10);
}

.form-alerta--erro {
    border: 1px solid rgba(255, 90, 90, .45);
    background: rgba(255, 90, 90, .10);
}

.form-alerta__whatsapp {
    width: max-content;
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 6px;
    background: #25d366;
    color: #0c2414;
    font-weight: 900;
    font-size: 13px;
}

.campo-armadilha {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 680px) {
    .modal-orcamento {
        padding: 12px;
        align-items: end;
    }

    .modal-orcamento__painel {
        width: 100%;
        max-height: calc(100vh - 24px);
        padding: 26px 16px 22px;
        border-radius: 16px 16px 10px 10px;
        transform: translateY(60px) scale(.99);
    }

    .modal-orcamento__fechar {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
        font-size: 27px;
    }

    .orcamento__cabecalho {
        padding-right: 46px;
        margin-bottom: 23px;
    }

    .orcamento-form__grade {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .campo--inteiro {
        grid-column: auto;
    }

    .orcamento-form__enviar {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .modal-orcamento,
    .modal-orcamento__fundo,
    .modal-orcamento__painel,
    .modal-orcamento__fechar {
        transition-duration: .01ms !important;
    }
}

/* =========================================================
   NOSSOS SERVIÇOS — seção aprovada
   ========================================================= */
.servicos {
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #111111;
}

.servicos__conteudo {
    width: min(100% - 56px, 1120px);
    margin: 0 auto;
    padding: 19px 0 26px;
}

.servicos__titulo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 0 15px;
}

.servicos__titulo-wrap h2 {
    margin: 0;
    color: #171717;
    font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.6px;
    text-align: center;
}

.servicos__traco {
    width: 39px;
    height: 2px;
    flex: 0 0 39px;
    background: #ff9b26;
}

.servicos__grade {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 17px;
    align-items: stretch;
}

.servico-card {
    min-width: 0;
    height: 226px;
    padding: 15px 10px 17px;
    border: 1px solid #ffad45;
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow:
        0 2px 5px rgba(0, 0, 0, .035),
        inset 0 0 0 rgba(0, 0, 0, 0);
    transform: translateY(0) scale(1);
    transform-origin: center center;
    transition:
        transform .20s ease,
        box-shadow .20s ease,
        border-color .20s ease;
}

.servico-card__icone {
    height: 66px;
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servico-card__icone img {
    display: block;
    width: 82px;
    height: 60px;
    object-fit: contain;
}

.servico-card h3 {
    min-height: 43px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #151515;
    font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.35px;
}

.servico-card p {
    margin: auto 0 0;
    color: #202020;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.38;
}

/* Hover somente em dispositivos com mouse:
   leve pressão/encaixe para dentro, sem pulo ou zoom forte. */
@media (hover: hover) and (pointer: fine) {
    .servico-card:hover {
        border-color: #f49a27;
        transform: translateY(3px) scale(.985);
        box-shadow:
            0 1px 1px rgba(0, 0, 0, .02),
            inset 0 4px 12px rgba(0, 0, 0, .09),
            inset 0 -1px 4px rgba(255, 164, 43, .08);
    }
}

/* Tablet */
@media (max-width: 900px) {
    .servicos__conteudo {
        width: min(100% - 32px, 760px);
        padding: 20px 0 28px;
    }

    .servicos__grade {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .servico-card {
        height: 218px;
    }

    .servico-card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 8px);
        justify-self: center;
    }
}

/* Celular */
@media (max-width: 560px) {
    .servicos__conteudo {
        width: calc(100% - 28px);
        padding: 18px 0 24px;
    }

    .servicos__titulo-wrap {
        gap: 10px;
        margin-bottom: 14px;
    }

    .servicos__titulo-wrap h2 {
        font-size: 21px;
    }

    .servicos__traco {
        width: 27px;
        flex-basis: 27px;
    }

    .servicos__grade {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .servico-card,
    .servico-card:last-child {
        width: 100%;
        height: auto;
        min-height: 195px;
        grid-column: auto;
    }

    .servico-card p {
        margin-top: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .servico-card {
        transition: none !important;
    }
}

/* =========================================================
   AJUSTE HERO -> NOSSOS SERVIÇOS
   Sem gap externo; ~16px de respiro interno abaixo do CTA.
   ========================================================= */
.fase-a {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hero {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hero__conteudo {
    padding-bottom: 16px !important;
}

.servicos {
    margin-top: 0 !important;
    margin-bottom: 0;
    border-top: 0;
}

@media (max-width: 880px) {
    .fase-a,
    .hero {
        min-height: 0 !important;
    }

    .hero__conteudo {
        padding-bottom: 16px !important;
    }
}

@media (max-width: 520px) {
    .fase-a,
    .hero {
        min-height: 0 !important;
    }

    .hero__conteudo {
        padding-bottom: 16px !important;
    }
}


/* =========================================================
   PERSONALIZE DO SEU JEITO — destaque ampliado
   ========================================================= */
.personalize {
    margin: 0;
    padding: 0;
    background:
        radial-gradient(circle at 88% 42%, rgba(255, 124, 0, .16), transparent 26%),
        linear-gradient(90deg, #070707 0%, #050505 52%, #070707 100%);
    color: #fff;
    overflow: hidden;
}

.personalize__conteudo {
    width: min(100% - 56px, 1120px);
    min-height: 172px; /* ~40px maior */
    margin: 0 auto;
    padding: 14px 0 12px;
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.personalize__texto {
    position: relative;
    z-index: 2;
}

.personalize__texto h2 {
    margin: 0;
    color: #ffffff;
    font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -.25px;
    text-transform: uppercase;
    white-space: nowrap;
}

.personalize__texto p {
    margin: 12px 0 0;
    color: #f2f2f2;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.34;
}

.personalize__botao {
    min-width: 220px;
    height: 40px;
    margin-top: 18px;
    padding: 0 18px;
    border: 0;
    border-radius: 5px;
    background: #f2ca11;
    color: #111111;
    cursor: pointer;
    font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: inset 0 1px rgba(255,255,255,.25), 0 3px 8px rgba(0,0,0,.22);
    transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.personalize__botao:hover {
    filter: brightness(1.035);
    transform: translateY(1px) scale(.992);
    box-shadow: inset 0 2px 7px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.18);
}

.personalize__botao:active {
    transform: translateY(2px) scale(.985);
}

.personalize__botao:focus-visible {
    outline: 3px solid rgba(255,210,10,.55);
    outline-offset: 3px;
}

.personalize__vitrine {
    position: relative;
    min-height: 148px;
    isolation: isolate;
    padding-right: 22px;
}

.personalize__grupo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* empurra os itens para a direita */
    gap: 30px;
    padding: 0 8px 0 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(4px) scale(.992);
    filter: blur(.45px);
    transition:
        opacity .62s ease,
        transform .62s cubic-bezier(.2,.72,.25,1),
        filter .62s ease,
        visibility 0s linear .62s;
    will-change: opacity, transform;
}

.personalize__grupo.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    filter: blur(0);
    transition:
        opacity .62s ease,
        transform .62s cubic-bezier(.2,.72,.25,1),
        filter .62s ease,
        visibility 0s linear 0s;
}

.personalize__grupo .item {
    position: static;
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    flex: 0 1 auto;
    filter: drop-shadow(0 7px 12px rgba(0,0,0,.24));
    opacity: .98;
    transform: translateY(2px) scale(.995);
    transition: transform .58s cubic-bezier(.2,.72,.25,1), opacity .58s ease;
}

.personalize__grupo.is-active .item {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Grupo 1 */
.personalize__grupo--1 {
    gap: 32px;
}

.personalize__grupo--1 .item--camiseta-branca {
    max-height: 138px;
    max-width: 165px;
}

.personalize__grupo--1 .item--camiseta-preta {
    max-height: 138px;
    max-width: 165px;
}

.personalize__grupo--1 .item--caneca {
    max-height: 104px;
    max-width: 120px;
}

/* Grupo 2 */
.personalize__grupo--2 {
    gap: 36px;
}

.personalize__grupo--2 .item--cartao {
    max-height: 102px;
    max-width: 235px;
}

.personalize__grupo--2 .item--panfletos {
    max-height: 122px;
    max-width: 205px;
}

/* Grupo 3 */
.personalize__grupo--3 {
    gap: 28px;
}

.personalize__grupo--3 .item--display-promocional {
    max-height: 128px;
    max-width: 160px;
}

.personalize__grupo--3 .item--wind-banner {
    max-height: 138px;
    max-width: 98px;
}

.personalize__grupo--3 .item--selos {
    max-height: 108px;
    max-width: 120px;
}

.servicos + .personalize {
    margin-top: 0;
}

/* Desktop médio */
@media (max-width: 1180px) {
    .personalize__conteudo {
        width: min(100% - 36px, 980px);
        grid-template-columns: 380px minmax(0, 1fr);
        gap: 10px;
    }

    .personalize__texto h2 {
        font-size: 18px;
    }

    .personalize__texto p {
        font-size: 15px;
    }

    .personalize__vitrine {
        padding-right: 10px;
    }

    .personalize__grupo {
        gap: 18px;
    }

    .personalize__grupo--1 .item--camiseta-branca,
    .personalize__grupo--1 .item--camiseta-preta {
        max-height: 126px;
        max-width: 148px;
    }

    .personalize__grupo--1 .item--caneca {
        max-height: 98px;
        max-width: 112px;
    }

    .personalize__grupo--2 .item--cartao {
        max-height: 96px;
        max-width: 220px;
    }

    .personalize__grupo--2 .item--panfletos {
        max-height: 112px;
        max-width: 190px;
    }

    .personalize__grupo--3 .item--display-promocional {
        max-height: 118px;
        max-width: 150px;
    }

    .personalize__grupo--3 .item--wind-banner {
        max-height: 130px;
        max-width: 92px;
    }

    .personalize__grupo--3 .item--selos {
        max-height: 102px;
        max-width: 112px;
    }
}

/* Tablet */
@media (max-width: 900px) {
    .personalize__conteudo {
        width: min(100% - 32px, 760px);
        min-height: 0;
        padding: 18px 0 16px;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .personalize__texto h2 {
        font-size: 21px;
        white-space: normal;
    }

    .personalize__texto p {
        max-width: 420px;
        font-size: 15px;
    }

    .personalize__botao {
        min-width: 198px;
        height: 38px;
    }

    .personalize__vitrine {
        min-height: 132px;
        padding-right: 0;
    }

    .personalize__grupo {
        justify-content: center;
        gap: 16px;
        padding: 0;
    }

    .personalize__grupo .item {
        max-width: 31%;
    }

    .personalize__grupo--2 .item {
        max-width: 44%;
    }
}

/* Celular */
@media (max-width: 620px) {
    .personalize__conteudo {
        width: calc(100% - 28px);
        padding: 16px 0 14px;
        gap: 12px;
    }

    .personalize__texto h2 {
        font-size: 19px;
    }

    .personalize__texto p {
        margin-top: 10px;
        font-size: 14px;
    }

    .personalize__botao {
        width: 100%;
        max-width: 235px;
        height: 36px;
        margin-top: 14px;
        font-size: 13px;
    }

    .personalize__vitrine {
        min-height: 102px;
    }

    .personalize__grupo {
        gap: 8px;
    }

    .personalize__grupo--1 .item--camiseta-branca,
    .personalize__grupo--1 .item--camiseta-preta {
        max-height: 92px;
        max-width: 31%;
    }

    .personalize__grupo--1 .item--caneca {
        max-height: 72px;
        max-width: 21%;
    }

    .personalize__grupo--2 .item--cartao {
        max-height: 74px;
        max-width: 44%;
    }

    .personalize__grupo--2 .item--panfletos {
        max-height: 86px;
        max-width: 37%;
    }

    .personalize__grupo--3 .item--display-promocional {
        max-height: 88px;
        max-width: 34%;
    }

    .personalize__grupo--3 .item--wind-banner {
        max-height: 96px;
        max-width: 18%;
    }

    .personalize__grupo--3 .item--selos {
        max-height: 74px;
        max-width: 22%;
    }
}

@media (hover: none) and (pointer: coarse) {
    .personalize__botao:hover {
        transform: none;
        box-shadow: inset 0 1px rgba(255,255,255,.25), 0 3px 8px rgba(0,0,0,.22);
    }
}

@media (prefers-reduced-motion: reduce) {
    .personalize__grupo,
    .personalize__grupo .item,
    .personalize__botao {
        transition: none !important;
        transform: none !important;
        filter: none !important;
    }
}

/* =========================================================
   POR QUE ESCOLHER A EB?
   Implementação fiel à referência aprovada
   ========================================================= */
.porque-eb {
    margin: 0;
    padding: 0;
    background: #ffffff;
}

.personalize + .porque-eb {
    margin-top: 0;
}

.porque-eb__container {
    width: min(100%, 1266px);
    margin: 0 auto;
    padding: 0;
}

.porque-eb__imagem {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    border: 0;
}

@media (max-width: 900px) {
    .porque-eb__container {
        width: 100%;
    }
}

/* =========================================================
   ÚLTIMOS TRABALHOS — carrossel
   ========================================================= */
.ultimos-trabalhos {
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #111111;
    overflow: hidden;
}

.porque-eb + .ultimos-trabalhos {
    margin-top: 0;
}

.ultimos-trabalhos__conteudo {
    width: min(100% - 56px, 1120px);
    margin: 0 auto;
    padding: 16px 0 20px;
}

.ultimos-trabalhos__titulo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 0 16px;
}

.ultimos-trabalhos__titulo-wrap h2 {
    margin: 0;
    color: #171717;
    font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.5px;
    text-align: center;
}

.ultimos-trabalhos__traco {
    width: 39px;
    height: 2px;
    flex: 0 0 39px;
    background: #ff9b26;
}

.ultimos-trabalhos__carousel {
    position: relative;
    --carousel-gap: 18px;
    --carousel-visible: 4;
}

.ultimos-trabalhos__viewport {
    overflow: hidden;
    width: 100%;
}

.ultimos-trabalhos__track {
    display: flex;
    gap: var(--carousel-gap);
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.ultimos-trabalhos__slide {
    flex: 0 0 calc(
        (100% - (var(--carousel-gap) * (var(--carousel-visible) - 1)))
        / var(--carousel-visible)
    );
    min-width: 0;
    height: 190px;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f3f3;
    box-shadow: 0 2px 7px rgba(0,0,0,.10);
}

.ultimos-trabalhos__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ultimos-trabalhos__seta {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.94);
    color: #151515;
    box-shadow: 0 3px 10px rgba(0,0,0,.14);
    cursor: pointer;
    transform: translateY(-50%);
    transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.ultimos-trabalhos__seta:hover {
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
    transform: translateY(-50%) scale(1.04);
}

.ultimos-trabalhos__seta:active {
    transform: translateY(-50%) scale(.96);
}

.ultimos-trabalhos__seta:focus-visible {
    outline: 3px solid rgba(255,155,38,.48);
    outline-offset: 3px;
}

.ultimos-trabalhos__seta span {
    display: block;
    margin-top: -3px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 34px;
    line-height: 1;
}

.ultimos-trabalhos__seta--esquerda {
    left: -18px;
}

.ultimos-trabalhos__seta--direita {
    right: -18px;
}

.ultimos-trabalhos__ver-todos {
    min-width: 126px;
    height: 38px;
    margin: 16px auto 0;
    padding: 0 22px;
    border: 1px solid #f5a128;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #171717;
    cursor: default;
    font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0,0,0,.10);
    transform: translateY(0) scale(1);
    transition:
        transform .16s ease,
        box-shadow .16s ease;
}

@media (hover: hover) and (pointer: fine) {
    .ultimos-trabalhos__ver-todos:hover {
        transform: translateY(1px);
        box-shadow: 0 1px 3px rgba(0,0,0,.12);
    }
}

.ultimos-trabalhos__ver-todos:active {
    transform: translateY(2px) scale(.98);
    box-shadow:
        inset 0 2px 4px rgba(0,0,0,.10),
        0 1px 1px rgba(0,0,0,.05);
}

.ultimos-trabalhos__ver-todos:focus-visible {
    outline: 3px solid rgba(245,161,40,.35);
    outline-offset: 3px;
}

@media (max-width: 1100px) {
    .ultimos-trabalhos__conteudo {
        width: min(100% - 44px, 980px);
    }

    .ultimos-trabalhos__carousel {
        --carousel-visible: 3;
        --carousel-gap: 16px;
    }

    .ultimos-trabalhos__slide {
        height: 186px;
    }

    .ultimos-trabalhos__seta--esquerda {
        left: -15px;
    }

    .ultimos-trabalhos__seta--direita {
        right: -15px;
    }
}

@media (max-width: 820px) {
    .ultimos-trabalhos__conteudo {
        width: min(100% - 36px, 720px);
        padding: 15px 0 18px;
    }

    .ultimos-trabalhos__carousel {
        --carousel-visible: 2;
        --carousel-gap: 14px;
    }

    .ultimos-trabalhos__slide {
        height: 210px;
    }

    .ultimos-trabalhos__seta {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 560px) {
    .ultimos-trabalhos__conteudo {
        width: calc(100% - 28px);
        padding: 14px 0 18px;
    }

    .ultimos-trabalhos__titulo-wrap {
        gap: 10px;
        margin-bottom: 14px;
    }

    .ultimos-trabalhos__titulo-wrap h2 {
        font-size: 21px;
    }

    .ultimos-trabalhos__traco {
        width: 26px;
        flex-basis: 26px;
    }

    .ultimos-trabalhos__carousel {
        --carousel-visible: 1;
        --carousel-gap: 12px;
    }

    .ultimos-trabalhos__slide {
        height: min(70vw, 300px);
        min-height: 220px;
    }

    .ultimos-trabalhos__seta--esquerda {
        left: 8px;
    }

    .ultimos-trabalhos__seta--direita {
        right: 8px;
    }

    .ultimos-trabalhos__seta {
        background: rgba(255,255,255,.90);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ultimos-trabalhos__track,
    .ultimos-trabalhos__seta {
        transition-duration: .01ms !important;
    }
}

/* =========================================================
   FAIXA FINAL DE WHATSAPP — ASSET VISUAL APROVADO
   ========================================================= */
.faixa-final-whatsapp {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow: hidden;
    background: #050505;
}

.faixa-final-whatsapp img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    border: 0;
}

/* =========================================================
   BLOCO INSTITUCIONAL FINAL
   ========================================================= */
.institucional-final {
    margin: 0;
    padding: 0;
    background: #0b0b0b;
    color: #f4f4f4;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.institucional-final__conteudo {
    width: min(100% - 56px, 1120px);
    margin: 0 auto;
    padding: 30px 0 32px;
}

.institucional-final__conteudo > h2 {
    margin: 0 0 22px;
    color: #ffffff;
    font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: .25px;
    text-transform: uppercase;
    text-align: center;
}

.institucional-final__conteudo > h2::after {
    content: "";
    display: block;
    width: 58px;
    height: 3px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: #f5a128;
}

.institucional-final__grade {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
}

.institucional-final__bloco {
    min-width: 0;
}

.institucional-final__bloco + .institucional-final__bloco {
    padding-left: 42px;
    border-left: 1px solid rgba(255, 255, 255, .12);
}

.institucional-final__bloco h3 {
    margin: 0 0 13px;
    color: #f2ca11;
    font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.institucional-final__bloco p {
    margin: 0 0 9px;
    color: #d7d7d7;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

.institucional-final__bloco strong {
    color: #ffffff;
    font-weight: 700;
}

.institucional-final__aviso {
    margin-top: 13px !important;
    color: #f3f3f3 !important;
}

@media (max-width: 760px) {
    .institucional-final__conteudo {
        width: calc(100% - 32px);
        padding: 25px 0 27px;
    }

    .institucional-final__conteudo > h2 {
        font-size: 17px;
        margin-bottom: 19px;
    }

    .institucional-final__grade {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .institucional-final__bloco + .institucional-final__bloco {
        padding-left: 0;
        padding-top: 23px;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .12);
    }

    .institucional-final__bloco p {
        font-size: 14px;
    }
}

