
/* SOFTWORK — OPERAÇÃO PARA ELEMENTOR — 1.0.8
CSS revisado: removidas regras sem elementos correspondentes e declarações sobrescritas. */

.sw-operation, .sw-operation * { box-sizing: border-box; }

.sw-operation {
    --sw-blue: #2563EB; --sw-blue-2: #1D4ED8; --sw-cyan: #38BDF8;
    --sw-dark: #0D2B5A; --sw-title: #111C32; --sw-text: #52647E;
    --sw-muted: #8A9AB2; --sw-line: #DCE5F0; --sw-soft: #F4F7FB;
    --sw-ease: cubic-bezier(.22, .9, .24, 1);
    width: 100% !important; max-width: none !important;
    position: relative; font-family: var(--sw-font, "Montserrat", sans-serif);
}

.sw-operation *, .sw-operation h2, .sw-operation h3, .sw-operation p, .sw-operation button {
    font-family: var(--sw-font, "Montserrat", sans-serif);
}

.sw-operation__inner { width: 100%; max-width: 1180px; margin: 0 auto; }

/* ---------- Chamada fixa ---------- */
.sw-operation__intro { max-width: 900px; margin: 0 0 32px; }
.sw-operation__intro-eyebrow {
    display: flex; align-items: center; gap: 11px; margin-bottom: 18px;
    color: var(--sw-blue); font-size: 13px; font-weight: 700; line-height: 1.2;
    letter-spacing: .09em; text-transform: uppercase;
}
.sw-operation__intro-eyebrow::before {
    content: ""; width: 32px; height: 2px; flex: 0 0 32px;
    background: linear-gradient(90deg, var(--sw-blue), var(--sw-cyan)); border-radius: 999px;
}
.sw-operation__intro-title {
    max-width: 850px; margin: 0 0 20px; color: var(--sw-title);
    font-size: clamp(38px, 4.2vw, 58px); font-weight: 700; line-height: 1.05; letter-spacing: -0.045em;
}
.sw-operation__intro-text { max-width: 760px; margin: 0; color: var(--sw-text); font-size: 18px; line-height: 1.7; }
.sw-operation__divider {
    width: 100%; height: 1px; margin-bottom: 40px;
    background: linear-gradient(90deg, var(--sw-line) 0%, var(--sw-line) 72%, transparent 100%);
}

/* ---------- Palco ---------- */
.sw-operation__stage {
    display: grid; grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
    gap: 48px; align-items: stretch;
}

/* ---------- Lista de etapas ---------- */
.sw-operation__list { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sw-operation__item {
    position: relative; padding: 0 18px 0 26px; border-radius: 16px;
    transition: background-color .4s ease, box-shadow .4s ease;
}
.sw-operation__item::before {
    content: ""; position: absolute; left: 10px; top: 10px; bottom: 10px; width: 2px;
    background: var(--sw-line); border-radius: 999px; transition: background-color .3s ease;
}
.sw-operation__item::after {
    content: ""; position: absolute; left: 10px; top: 10px; bottom: 10px; width: 2px;
    background: linear-gradient(180deg, var(--sw-blue), var(--sw-cyan)); border-radius: 999px;
    transform-origin: top center; transform: scaleY(0);
}

.sw-operation .sw-operation__head,
.sw-operation .sw-operation__head:hover,
.sw-operation .sw-operation__head:focus,
.sw-operation .sw-operation__head:active {
    appearance: none !important; -webkit-appearance: none !important;
    display: flex !important; align-items: center !important; gap: 13px !important;
    width: 100% !important; margin: 0 !important; padding: 10px 0 !important;
    color: inherit !important; background: transparent !important; background-color: transparent !important;
    border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
    text-align: left !important; text-decoration: none !important;
    font-family: var(--sw-font, "Montserrat", sans-serif); font-size: inherit !important;
    font-weight: inherit !important; line-height: inherit !important;
    letter-spacing: normal !important; text-transform: none !important; cursor: pointer;
}
.sw-operation .sw-operation__head:focus-visible { outline: 2px solid #FFFFFF !important; outline-offset: 2px !important; border-radius: 10px !important; }

.sw-operation__item { color: var(--sw-muted); }
.sw-operation__item:hover, .sw-operation__item.is-active {
    color: #FFFFFF; background: linear-gradient(135deg, var(--sw-blue) 0%, var(--sw-blue-2) 100%);
    box-shadow: 0 16px 34px -12px rgba(37, 99, 235, .55);
}
.sw-operation__item:hover::before, .sw-operation__item.is-active::before { background: rgba(255, 255, 255, .28); }
.sw-operation__item.is-active::after { background: #FFFFFF; transform: scaleY(var(--p, 0)); }
.sw-operation__item.is-active .sw-operation__head { cursor: default; }

.sw-operation__num {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
    width:var(--sw-number-size,28px); min-width:var(--sw-number-size,28px); height:var(--sw-number-size,28px); padding:0; color: var(--sw-muted); background: var(--sw-soft);
    border: 1px solid var(--sw-line); border-radius: 50%; font-size: 11px; font-weight: 700; letter-spacing: 0;
    transition: color .3s ease, background .3s ease, border-color .3s ease;
}
.sw-operation__item:hover .sw-operation__num, .sw-operation__item.is-active .sw-operation__num {
    color: var(--sw-blue); background: #FFFFFF; border-color: #FFFFFF;
}
.sw-operation__name {
    flex: 1 1 auto; color: inherit; font-size: 13px; font-weight: 700; line-height: 1.2;
    letter-spacing: .09em; text-transform: uppercase;
}
.sw-operation__chev {
    flex: 0 0 auto; width: 18px; height: 18px; color: inherit; opacity: .6;
    transition: transform .4s var(--sw-ease), opacity .3s ease;
}
.sw-operation__item:hover .sw-operation__chev { opacity: 1; }
.sw-operation__item.is-active .sw-operation__chev { transform: rotate(180deg); opacity: 1; }

/* ---------- Dica "clique aqui" ---------- */
.sw-operation__hint {
    display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; color: var(--sw-blue);
    font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: 0; text-transform: none;
    white-space: nowrap; pointer-events: none; animation: swOp4HintIn .5s var(--sw-ease) both;
}
.sw-operation__hint svg { display: block; width: 20px; height: 20px; animation: swOp4Tap 1.4s ease-in-out infinite; }
.sw-operation__item.has-hint .sw-operation__num { position: relative; color: var(--sw-blue); border-color: rgba(37, 99, 235, .5); }
.sw-operation__item.has-hint .sw-operation__num::after {
    content: ""; position: absolute; inset: -5px; border: 2px solid rgba(37, 99, 235, .55);
    border-radius: 999px; animation: swOp4Ring 1.8s ease-out infinite; pointer-events: none;
}
.sw-operation__item.has-hint:hover .sw-operation__hint { color: #FFFFFF; }
.sw-operation__item.has-hint:hover .sw-operation__num::after { border-color: rgba(255, 255, 255, .6); }

@keyframes swOp4HintIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
@keyframes swOp4Tap { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-4px, 3px) scale(.9); } }
@keyframes swOp4Ring { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* ---------- Painel ---------- */
.sw-operation__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--sw-ease); }
.sw-operation__item.is-active .sw-operation__panel { grid-template-rows: 1fr; }
.sw-operation__panel-inner { min-height: 0; overflow: hidden; }
.sw-operation__title {
    margin: 2px 0 10px; color: var(--sw-title); font-size: clamp(21px, 1.9vw, 26px);
    font-weight: 700; line-height: 1.12; letter-spacing: -0.035em;
}
.sw-operation__text { margin: 0 0 16px; color: var(--sw-text); font-size: 15px; line-height: 1.6; }
.sw-operation__title, .sw-operation__text { opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .5s var(--sw-ease); }
.sw-operation__item.is-active .sw-operation__title, .sw-operation__item.is-active .sw-operation__text { opacity: 1; transform: translateY(0); }
.sw-operation .sw-operation__item.is-active .sw-operation__title { color: #FFFFFF !important; }
.sw-operation .sw-operation__item.is-active .sw-operation__text { color: rgba(255, 255, 255, .88) !important; }
.sw-operation__item.is-active .sw-operation__title { transition-delay: .18s; }
.sw-operation__item.is-active .sw-operation__text { transition-delay: .26s; }

/* ---------- Área visual ---------- */
.sw-operation__visual { position: relative; display: flex; flex-direction: column; width: 100%; min-width: 0; padding: 0 18px 0 0; }
.sw-operation__visual::before {
    content: ""; position: absolute; right: -4%; bottom: -6%; width: 62%; height: 70%; z-index: 0;
    background: radial-gradient(closest-side, rgba(37, 99, 235, .28), rgba(56, 189, 248, .10) 60%, transparent);
    filter: blur(28px); pointer-events: none;
}
.sw-operation__visual::after {
    content: ""; position: absolute; top: -18px; right: 0; width: 38%; height: 46%; z-index: 0;
    background-image: radial-gradient(rgba(37, 99, 235, .35) 1.2px, transparent 1.4px);
    background-size: 14px 14px; border-radius: 0 26px 0 0;
    -webkit-mask-image: linear-gradient(225deg, #000 30%, transparent 85%);
    mask-image: linear-gradient(225deg, #000 30%, transparent 85%); pointer-events: none;
}
.sw-operation__media {
    position: relative; z-index: 1; flex: 1 1 auto; width: 100%; height: 100%; min-height: 320px; background: linear-gradient(135deg, #F5F8FD 0%, #E8F0FC 100%);
    border: 1px solid rgba(13, 43, 90, .08); border-radius: 24px;
    box-shadow: 0 30px 60px -18px rgba(13, 43, 90, .28), 0 8px 18px rgba(13, 43, 90, .06);
}
.sw-operation__frame {
    position: absolute; inset: 0; opacity: 0; visibility: hidden; clip-path: inset(0 0 0 14%);
    transition: opacity .6s var(--sw-ease), clip-path .9s var(--sw-ease), visibility 0s linear .9s;
}
/* O recorte de saída não pode atingir o quadro ativo ao voltar. */
.sw-operation[data-dir="prev"] .sw-operation__frame:not(.is-active) { clip-path: inset(0 0 14% 0); }
.sw-operation__frame.is-active {
    z-index: 1; opacity: 1; visibility: visible; clip-path: inset(0 0 0 0);
    transition: opacity .6s var(--sw-ease), clip-path .9s var(--sw-ease), visibility 0s;
}
.sw-operation__frame img {
    position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%;
    object-fit: contain; object-position: center; -webkit-user-drag: none; user-select: none;
}
.sw-operation__frame .sw-operation__slide { z-index: 1; opacity: 0; transition: opacity 0s linear .2s; }
.sw-operation__frame .sw-operation__slide.is-shown { z-index: 2; opacity: 1; transition: opacity .2s linear; }

@media (hover: hover) and (pointer: fine) {
    .sw-operation__media { cursor: grab; user-select: none; }
    .sw-operation__visual.is-dragging .sw-operation__media { cursor: grabbing; }
}

.sw-operation__frame::after {
    content: ""; position: absolute; inset: 0; z-index: 3;
    background: linear-gradient(180deg, transparent 55%, rgba(13, 43, 90, .38) 100%); pointer-events: none;
}
.sw-operation__badge {
    position: absolute; left: 20px; bottom: 20px; z-index: 4; display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 16px 10px 12px; color: var(--sw-dark); background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 999px; box-shadow: 0 10px 24px rgba(13, 43, 90, .18); font-size: 13px; font-weight: 700; line-height: 1;
    opacity: 0; transform: translateY(14px); transition: opacity .5s var(--sw-ease), transform .6s var(--sw-ease);
}
.sw-operation__frame.is-active .sw-operation__badge { opacity: 1; transform: translateY(0); transition-delay: .5s; }
.sw-operation__badge-dot { position: relative; width: 9px; height: 9px; background: var(--sw-blue); border-radius: 50%; }
.sw-operation__badge-dot::after {
    content: ""; position: absolute; inset: -4px; border: 2px solid rgba(37, 99, 235, .45);
    border-radius: 50%; animation: swOp4Pulse 1.8s ease-out infinite;
}

.sw-operation .sw-operation__img-arrow { display: none !important; }
.sw-operation__frame img[src^="COLOQUE"], .sw-operation__frame img[src=""] { display: none; }

/* ---------- Placeholder numerado ---------- */
.sw-operation__placeholder {
    position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; padding: 36px; text-align: center;
}
.sw-operation__placeholder-number {
    margin-bottom: 13px; font-size: clamp(80px, 10vw, 140px);
    font-weight: 800; line-height: .9; letter-spacing: -0.06em;
}
.sw-operation__placeholder-name {
    color: var(--sw-dark); font-size: 14px; font-weight: 700; line-height: 1.4;
    letter-spacing: .055em; text-transform: uppercase;
}
@keyframes swOp4Pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

.sw-operation__nav { display: none; }

/* ---------- Tablet e celular ---------- */
@media (max-width: 1024px) {
    .sw-operation__inner { padding: 0 20px; }
    .sw-operation__intro { margin-bottom: 28px; }
    .sw-operation__intro-title { font-size: clamp(36px, 5vw, 50px); }
    .sw-operation__divider { margin-bottom: 32px; }
    .sw-operation__stage { display: flex; flex-direction: column; gap: 16px; }
    .sw-operation__visual { order: 1; padding: 0; }
    .sw-operation__media { flex: none; height: auto; min-height: 0; aspect-ratio: 4 / 3; border-radius: 20px; touch-action: pan-y; }
    .sw-operation__hint, .sw-operation__item.has-hint .sw-operation__num::after { display: none; }
    .sw-operation.has-multi .sw-operation__img-arrow { display: flex !important; }

    .sw-operation button.sw-operation__img-arrow,
    .sw-operation button.sw-operation__img-arrow:hover,
    .sw-operation button.sw-operation__img-arrow:focus,
    .sw-operation button.sw-operation__img-arrow:active {
        appearance: none !important; -webkit-appearance: none !important; position: absolute; top: 50%; z-index: 6;
        align-items: center; justify-content: center; width: 34px !important; height: 34px !important;
        min-width: 0 !important; min-height: 0 !important; margin: -17px 0 0 !important; padding: 0 !important;
        color: var(--sw-dark) !important; background: rgba(255, 255, 255, .9) !important; border: 0 !important;
        border-radius: 50% !important; box-shadow: 0 6px 16px rgba(13, 43, 90, .22) !important;
        cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent;
    }
    .sw-operation button.sw-operation__img-arrow[data-dir="prev"] { left: 10px; }
    .sw-operation button.sw-operation__img-arrow[data-dir="next"] { right: 10px; }
    .sw-operation button.sw-operation__img-arrow:focus-visible { outline: 3px solid rgba(255, 255, 255, .7) !important; outline-offset: 2px; }
    .sw-operation__img-arrow svg { display: block; width: 18px; height: 18px; pointer-events: none; }
    .sw-operation:not(.is-swipe-off) .sw-operation__img-arrow[data-dir="next"] svg { animation: swOp4Nudge 1.4s ease-in-out infinite; }
    @keyframes swOp4Nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
    @keyframes swOp4PillRing { 0% { transform: scale(.96); opacity: 1; } 100% { transform: scale(1.14); opacity: 0; } }

    .sw-operation__list { order: 2; width: 100%; display: grid; gap: 0; min-height: 0 !important; touch-action: pan-y; }
    .sw-operation__item {
        grid-area: 1 / 1; padding: 12px 18px 18px; opacity: 0; visibility: hidden;
        transition: opacity .35s ease, visibility .35s ease, background-color .4s ease, box-shadow .4s ease;
    }
    .sw-operation__item.is-active { opacity: 1; visibility: visible; }
    .sw-operation__item::before, .sw-operation__item::after { display: none; }
    .sw-operation__panel { grid-template-rows: 1fr; }
    .sw-operation__chev { display: none; }

    .sw-operation .sw-operation__head,
    .sw-operation .sw-operation__head:hover,
    .sw-operation .sw-operation__head:focus,
    .sw-operation .sw-operation__head:active { padding: 6px 0 12px !important; cursor: default; }

    .sw-operation__name { font-size: 12px; }
    .sw-operation__title { font-size: clamp(20px, 2.5vw, 24px); }
    .sw-operation__text { font-size: 15px; margin-bottom: 0; }

    .sw-operation__nav { order: 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; width: 100%; margin-top: 2px; }

    .sw-operation__counter {
        flex: 1 1 auto; min-width: 44px; text-align: center; color: var(--sw-muted);
        font-size: 13px; font-weight: 700; line-height: 1; letter-spacing: .02em; font-variant-numeric: tabular-nums;
    }
    .sw-operation__counter strong { color: var(--sw-dark); font-weight: 700; }
    .sw-operation button.sw-operation__arrow,
    .sw-operation button.sw-operation__arrow:hover,
    .sw-operation button.sw-operation__arrow:focus {
        appearance: none !important; -webkit-appearance: none !important; display: flex !important;
        align-items: center; justify-content: center; width: 42px !important; height: 42px !important;
        min-width: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important;
        color: var(--sw-dark) !important; background: #FFFFFF !important; border: 1px solid #E2E8F0 !important;
        border-radius: 50% !important; box-shadow: none !important; cursor: pointer; outline: none;
        transition: background-color .2s ease, border-color .2s ease, color .2s ease; -webkit-tap-highlight-color: transparent;
    }
    .sw-operation button.sw-operation__arrow:active { color: #FFFFFF !important; background: var(--sw-blue) !important; border-color: var(--sw-blue) !important; }
    .sw-operation button.sw-operation__arrow:focus-visible { outline: 3px solid rgba(37, 99, 235, .24) !important; outline-offset: 2px; }
    .sw-operation__arrow svg { display: block; width: 18px; height: 18px; pointer-events: none; }

    .sw-operation button.sw-operation__next,
    .sw-operation button.sw-operation__next:hover,
    .sw-operation button.sw-operation__next:focus,
    .sw-operation button.sw-operation__next:active {
        appearance: none !important; -webkit-appearance: none !important; position: relative; flex: 0 1 auto;
        display: inline-flex !important; align-items: center; gap: 6px; min-width: 0 !important; height: 42px !important;
        margin: 0 !important; padding: 0 14px 0 18px !important; color: #FFFFFF !important;
        background: linear-gradient(135deg, var(--sw-blue) 0%, var(--sw-blue-2) 100%) !important;
        border: 0 !important; border-radius: 999px !important; box-shadow: 0 10px 22px -10px rgba(37, 99, 235, .75) !important;
        font-size: 13px !important; font-weight: 700 !important; line-height: 1 !important; letter-spacing: 0 !important;
        text-transform: none !important; cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent;
    }
    .sw-operation button.sw-operation__next:active { background: var(--sw-blue-2) !important; }
    .sw-operation button.sw-operation__next:focus-visible { outline: 3px solid rgba(37, 99, 235, .3) !important; outline-offset: 3px; }
    .sw-operation__next-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .sw-operation__next svg { flex: 0 0 auto; display: block; width: 18px; height: 18px; pointer-events: none; animation: swOp4Nudge 1.4s ease-in-out infinite; }
    .sw-operation__next::after {
        content: ""; position: absolute; inset: -4px; border: 2px solid rgba(37, 99, 235, .55);
        border-radius: 999px; animation: swOp4PillRing 1.8s ease-out infinite; pointer-events: none;
    }
    .sw-operation__nav.is-manual .sw-operation__next::after { display: none; }
    .sw-operation__nav.is-manual .sw-operation__next svg { animation: none; }
}

/* ---------- Celular ---------- */
@media (max-width: 767px) {
    .sw-operation__inner { padding: 0 16px; }
    .sw-operation__intro { margin-bottom: 22px; }
    .sw-operation__intro-eyebrow { margin-bottom: 12px; font-size: 11px; }
    .sw-operation__intro-title { margin-bottom: 14px; font-size: clamp(32px, 10vw, 42px); line-height: 1.08; }
    .sw-operation__intro-text { font-size: 16px; line-height: 1.6; }
    .sw-operation__divider { margin-bottom: 24px; }
    .sw-operation__stage { gap: 14px; }
    .sw-operation__visual { padding: 0; }
    .sw-operation__visual::after { top: -10px; }
    .sw-operation__media { border-radius: 17px; }
    .sw-operation__badge { left: 12px; bottom: 12px; padding: 8px 13px 8px 10px; font-size: 12px; }
    .sw-operation__item { padding: 10px 16px 16px; }
    .sw-operation__title { font-size: clamp(21px, 6.2vw, 25px); }
    .sw-operation__text { font-size: 15px; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
    .sw-operation *, .sw-operation *::before, .sw-operation *::after { transition-duration: .01ms !important; transition-delay: 0s !important;
    }
    .sw-operation__frame, .sw-operation[data-dir="prev"] .sw-operation__frame { clip-path: none; }
    .sw-operation__frame img, .sw-operation__frame.is-active img { transform: none; scale: 1; }
}

/* ---------- V10: setas e espaços de fotos em todas as telas ---------- */
.sw-operation__frame .sw-operation__slide { position: absolute; inset: 0; visibility: hidden; background: #FFFFFF; }
.sw-operation__frame .sw-operation__slide.is-shown { visibility: visible; }
.sw-operation__slide .sw-operation__placeholder { background: #FFFFFF; }
.sw-operation__placeholder-number { color: var(--sw-blue); }
.sw-operation__frame img[hidden] { display: none !important; }
.sw-operation__frame::after { display: none; }
.sw-operation__media { touch-action: pan-y; }
.sw-operation.has-multi button.sw-operation__img-arrow { display: flex !important; }
.sw-operation button.sw-operation__img-arrow,
.sw-operation button.sw-operation__img-arrow:hover,
.sw-operation button.sw-operation__img-arrow:focus,
.sw-operation button.sw-operation__img-arrow:active {
    appearance: none !important; position: absolute; top: 50%; z-index: 8; align-items: center; justify-content: center;
    margin: -22px 0 0 !important; padding: 0 !important; color: #FFFFFF !important; background: var(--sw-blue-2) !important;
    border: 2px solid #FFFFFF !important; border-radius: 50% !important; box-shadow: 0 4px 14px rgba(13,43,90,.25) !important; cursor: pointer;
}
.sw-operation button.sw-operation__img-arrow:focus-visible { outline: 3px solid var(--sw-cyan) !important; outline-offset: 3px; }
.sw-operation__img-arrow svg { display: block; pointer-events: none; }

/* V18 — Contador de fotos menor e semitransparente */
.sw-operation__photo-counter {
    position: absolute; top: 19px; right: 8px; z-index: 7; display: inline-flex; align-items: center;
    height: 22px; padding: 0 9px; border-radius: 999px;
    color: rgba(255, 255, 255, .82); background: rgba(13, 43, 90, .42);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    font-size: 10px; line-height: 1.2; font-weight: 700; letter-spacing: .02em; pointer-events: none;
}

/* V18 — Botão único em ícone: mostra Pausar enquanto roda e Reproduzir quando pausado */
.sw-operation button.sw-operation__photo-play,
.sw-operation button.sw-operation__photo-play:hover,
.sw-operation button.sw-operation__photo-play:focus,
.sw-operation button.sw-operation__photo-play:active {
    appearance: none !important; -webkit-appearance: none !important; position: absolute; top: 8px; left: 8px; z-index: 8;
    display: inline-flex !important; align-items: center; justify-content: center;
    width: 44px !important; height: 44px !important; min-width: 44px !important; min-height: 44px !important;
    margin: 0 !important; padding: 0 !important; color: #FFFFFF !important; background: var(--sw-blue-2) !important;
    border: 2px solid #FFFFFF !important; border-radius: 50% !important; box-shadow: 0 4px 14px rgba(13,43,90,.25) !important;
    font-size: 0 !important; line-height: 0 !important; text-transform: none !important; cursor: pointer;
}
.sw-operation__photo-play svg { display: block; width: 20px; height: 20px; pointer-events: none; }
.sw-operation button.sw-operation__photo-play:focus-visible { outline: 3px solid var(--sw-cyan) !important; outline-offset: 3px; }
.sw-operation:not(.has-multi) button.sw-operation__photo-play { display: none !important; }
/* V21 — Desktop: botão menor; contador alinhado ao centro do botão */
@media (min-width: 1025px) {
    .sw-operation button.sw-operation__photo-play,
    .sw-operation button.sw-operation__photo-play:hover,
    .sw-operation button.sw-operation__photo-play:focus,
    .sw-operation button.sw-operation__photo-play:active {
        width: 34px !important; height: 34px !important; min-width: 34px !important; min-height: 34px !important;
    }
    .sw-operation__photo-play svg { width: 16px; height: 16px; }
    .sw-operation__photo-counter { top: 14px; }
}
/* V19 — Celular: botão com metade do tamanho; contador na mesma linha do botão */
@media (max-width: 767px) {
    .sw-operation button.sw-operation__photo-play,
    .sw-operation button.sw-operation__photo-play:hover,
    .sw-operation button.sw-operation__photo-play:focus,
    .sw-operation button.sw-operation__photo-play:active {
        width: 22px !important; height: 22px !important; min-width: 22px !important; min-height: 22px !important;
        border-width: 1.5px !important; box-shadow: 0 2px 8px rgba(13,43,90,.25) !important;
    }
    .sw-operation__photo-play svg { width: 11px; height: 11px; }
    .sw-operation__photo-counter { top: 11px; height: 16px; padding: 0 6px; font-size: 8px; }
}
.sw-operation__item::after { display: none !important; }
.sw-operation .sw-operation__head:focus-visible { outline-color: var(--sw-cyan) !important; }
@media (max-width: 1024px) {
    .sw-operation__nav { row-gap: 12px; }
    .sw-operation__nav .sw-operation__next { max-width: 100%; }
}

/* ---------- Foto inteira, sem distorcer: a caixa ocupa 100% da área ---------- */
.sw-operation__frame .sw-operation__slide { width: 100%; height: 100%; overflow: hidden; }
.sw-operation__frame img.sw-operation__photo:not([hidden]) {
    position: absolute !important; inset: 0 !important; display: block !important;
    width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important;
    margin: 0 !important; padding: 0 !important; object-fit: var(--sw-photo-fit, contain) !important; object-position: var(--sw-position, center center) !important;
}
.sw-operation__frame img.sw-operation__photo[hidden] { display: none !important; }

/* ---------- V14: esconde o quadro numerado quando a foto está pronta ---------- */
.sw-operation__slide.is-loaded .sw-operation__placeholder { display: none; }

/* =========================================================
   V17 — POSICIONAMENTO RESPONSIVO DAS SETAS DAS FOTOS
   Mantém toda a lógica do carrossel existente.
   - Desktop: 44px, quase toda fora da foto.
   - Tablet: 44px, com corredor lateral para não cortar.
   - Celular: 36px, com corredor lateral e ícone menor.
========================================================= */

/* Permite que os controles ultrapassem a borda da fotografia. */
.sw-operation__media {
    overflow: visible !important;
}

/* Mantém fotos, placeholders e transições recortados nos cantos do quadro. */
.sw-operation__frame {
    overflow: hidden;
    border-radius: inherit;
}

.sw-operation__frame .sw-operation__slide {
    border-radius: inherit;
}

/* ---------- DESKTOP ---------- */
.sw-operation button.sw-operation__img-arrow,
.sw-operation button.sw-operation__img-arrow:hover,
.sw-operation button.sw-operation__img-arrow:focus,
.sw-operation button.sw-operation__img-arrow:active {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    margin-top: -22px !important;
}

.sw-operation button.sw-operation__img-arrow[data-dir="prev"] {
    left: -34px !important;
}

.sw-operation button.sw-operation__img-arrow[data-dir="next"] {
    right: -34px !important;
}

.sw-operation__img-arrow svg {
    width: 22px !important;
    height: 22px !important;
}

/* ---------- TABLET ---------- */
@media (min-width: 768px) and (max-width: 1024px) {
    /*
       O corredor de 14px em cada lado protege a seta contra o limite
       da tela sem reduzir o botão. A seta continua com somente cerca
       de 10px sobre a fotografia.
    */
    .sw-operation__visual {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .sw-operation button.sw-operation__img-arrow,
    .sw-operation button.sw-operation__img-arrow:hover,
    .sw-operation button.sw-operation__img-arrow:focus,
    .sw-operation button.sw-operation__img-arrow:active {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        margin-top: -22px !important;
    }

    .sw-operation button.sw-operation__img-arrow[data-dir="prev"] {
        left: -34px !important;
    }

    .sw-operation button.sw-operation__img-arrow[data-dir="next"] {
        right: -34px !important;
    }

    .sw-operation__img-arrow svg {
        width: 22px !important;
        height: 22px !important;
    }
}

/* ---------- CELULAR ---------- */
@media (max-width: 767px) {
    /*
       Corredor de 10px + botão menor.
       O círculo fica quase todo fora da fotografia, mas permanece
       protegido dentro da largura útil da tela.
    */
    .sw-operation__visual {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .sw-operation button.sw-operation__img-arrow,
    .sw-operation button.sw-operation__img-arrow:hover,
    .sw-operation button.sw-operation__img-arrow:focus,
    .sw-operation button.sw-operation__img-arrow:active {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        margin-top: -18px !important;
        border-width: 2px !important;
    }

    .sw-operation button.sw-operation__img-arrow[data-dir="prev"] {
        left: -26px !important;
    }

    .sw-operation button.sw-operation__img-arrow[data-dir="next"] {
        right: -26px !important;
    }

    .sw-operation__img-arrow svg {
        width: 18px !important;
        height: 18px !important;
    }
}

/* Native widget customization and progressive enhancement. */
.sw-operation .sw-operation__inner { max-width:var(--sw-width,1180px); }
.sw-operation .sw-operation__media {border-radius:var(--sw-radius,24px);}
.sw-operation .sw-operation__intro-title {font-size:var(--sw-title-size,var(--sw-title-default,clamp(38px,4.2vw,58px)));}
.sw-operation .sw-operation__title {font-size:var(--sw-stage-size,var(--sw-stage-default,clamp(21px,1.9vw,26px)));}
.sw-operation .sw-operation__text {font-size:var(--sw-text-size,15px);}
.sw-operation .sw-operation__stage {gap:var(--sw-gap,48px);}
.sw-operation .sw-operation__frame img.sw-operation__photo:not([hidden]) {object-position:var(--sw-position,center center)!important;}
.sw-operation .sw-operation__item.is-active .sw-operation__title,
.sw-operation .sw-operation__item.is-active .sw-operation__text {color:var(--sw-active-text,#fff)!important;}
.sw-operation .sw-operation__item:hover,.sw-operation .sw-operation__item.is-active {color:var(--sw-active-text,#fff);}
.sw-operation[data-badge="no"] .sw-operation__badge,
.sw-operation[data-counter="no"] .sw-operation__photo-counter {display:none;}
.sw-operation.has-playback button.sw-operation__photo-play {display:inline-flex!important;}
.sw-operation button[hidden] {display:none!important;}
.sw-operation .sw-operation__photo-play:focus-visible,.sw-operation button:focus-visible {outline:3px solid var(--sw-cyan)!important;outline-offset:3px!important;}
@media(max-width:1024px){
 .sw-operation .sw-operation__stage{gap:var(--sw-gap,16px);}
 .sw-operation.sw-ready .sw-operation__item:not(.is-active){display:none;}
}
@media(prefers-reduced-motion:reduce){.sw-operation *,.sw-operation *::before,.sw-operation *::after{animation:none!important;transition:none!important;}}

/* 1.0.1 — Responsive controls override legacy fixed button sizes in every state. */
.sw-operation.sw-ready button.sw-operation__photo-play {
    width:var(--sw-play-size,var(--sw-play-default,34px))!important;height:var(--sw-play-size,var(--sw-play-default,34px))!important;
    min-width:var(--sw-play-size,var(--sw-play-default,34px))!important;min-height:var(--sw-play-size,var(--sw-play-default,34px))!important;
}
.sw-operation.sw-ready button.sw-operation__photo-play svg {
    width:min(var(--sw-play-icon-size,var(--sw-play-icon-default,16px)),calc(var(--sw-play-size,var(--sw-play-default,34px)) - 8px))!important;
    height:min(var(--sw-play-icon-size,var(--sw-play-icon-default,16px)),calc(var(--sw-play-size,var(--sw-play-default,34px)) - 8px))!important;
    fill:currentColor;
}
.sw-operation.sw-ready button.sw-operation__img-arrow {
    width:var(--sw-arrow-size,var(--sw-arrow-default,44px))!important;
    height:var(--sw-arrow-size,var(--sw-arrow-default,44px))!important;
    min-width:var(--sw-arrow-size,var(--sw-arrow-default,44px))!important;
    min-height:var(--sw-arrow-size,var(--sw-arrow-default,44px))!important;
    margin-top:calc(var(--sw-arrow-size,var(--sw-arrow-default,44px)) / -2)!important;
}
.sw-operation.sw-ready button.sw-operation__img-arrow[data-dir="prev"] {
    left:calc(var(--sw-arrow-center,-12px) - var(--sw-arrow-size,var(--sw-arrow-default,44px)) / 2)!important;
}
.sw-operation.sw-ready button.sw-operation__img-arrow[data-dir="next"] {
    right:calc(var(--sw-arrow-center,-12px) - var(--sw-arrow-size,var(--sw-arrow-default,44px)) / 2)!important;
}
.sw-operation.sw-ready button.sw-operation__img-arrow svg {
    width:min(var(--sw-arrow-icon-size,var(--sw-arrow-icon-default,22px)),calc(var(--sw-arrow-size,var(--sw-arrow-default,44px)) - 8px))!important;
    height:min(var(--sw-arrow-icon-size,var(--sw-arrow-icon-default,22px)),calc(var(--sw-arrow-size,var(--sw-arrow-default,44px)) - 8px))!important;
}
.sw-operation .sw-operation__hint .sw-operation__hint-hand {
    flex:0 0 auto;width:var(--sw-hand-size,20px);height:var(--sw-hand-size,20px);
    transform-origin:50% 80%;animation:swOperationHandTap 1.4s ease-in-out infinite;
}
@keyframes swOperationHandTap {
    0%,100% {transform:translate(0,0) rotate(0deg);}
    45% {transform:translate(-3px,2px) rotate(-10deg);}
    60% {transform:translate(-3px,2px) scale(.9) rotate(-10deg);}
}
@media(max-width:767px){
    .sw-operation {--sw-arrow-default:36px;--sw-arrow-icon-default:18px;--sw-arrow-center:-8px;}
}
@media(prefers-reduced-motion:reduce){
    .sw-operation .sw-operation__hint .sw-operation__hint-hand {animation:none!important;}
}

/* Original type and button defaults from the user's V22 source. */
@media(min-width:768px) and (max-width:1024px){
 .sw-operation{--sw-play-default:44px;--sw-play-icon-default:20px;--sw-title-default:clamp(36px,5vw,50px);--sw-stage-default:clamp(20px,2.5vw,24px);}
}
@media(max-width:767px){
 .sw-operation{--sw-play-default:22px;--sw-play-icon-default:11px;--sw-title-default:clamp(32px,10vw,42px);--sw-stage-default:clamp(21px,6.2vw,25px);}
}

/* 1.0.2 — Independent offsets composed with optional edge/center anchors. */
.sw-operation.sw-ready button.sw-operation__photo-play {translate:calc(var(--sw-play-anchor-x,0%) + var(--sw-play-x,0px)) calc(var(--sw-play-anchor-y,0%) + var(--sw-play-y,0px));}
.sw-operation.sw-ready button.sw-operation__img-arrow[data-dir="prev"] {translate:calc(var(--sw-prev-anchor-x,0%) + var(--sw-prev-x,0px)) calc(var(--sw-prev-anchor-y,0%) + var(--sw-prev-y,0px));}
.sw-operation.sw-ready button.sw-operation__img-arrow[data-dir="next"] {translate:calc(var(--sw-next-anchor-x,0%) + var(--sw-next-x,0px)) calc(var(--sw-next-anchor-y,0%) + var(--sw-next-y,0px));}
.sw-operation.sw-ready .sw-operation__photo-counter {translate:calc(var(--sw-counter-anchor-x,0%) + var(--sw-counter-x,0px)) calc(var(--sw-counter-anchor-y,0%) + var(--sw-counter-y,0px));}
.sw-operation.sw-ready .sw-operation__badge {translate:calc(var(--sw-badge-anchor-x,0%) + var(--sw-badge-x,0px)) calc(var(--sw-badge-anchor-y,0%) + var(--sw-badge-y,0px));}

/* 1.0.3 — No expand/collapse or photo framing animation during initialization. */
.sw-operation:not(.sw-interactive) .sw-operation__panel,
.sw-operation:not(.sw-interactive) .sw-operation__frame,
.sw-operation:not(.sw-interactive) .sw-operation__slide,
.sw-operation:not(.sw-interactive) .sw-operation__title,
.sw-operation:not(.sw-interactive) .sw-operation__text,
.sw-operation:not(.sw-interactive) .sw-operation__badge {transition:none!important;}
.sw-operation .sw-operation__nav[hidden] {display:none!important;}

.sw-operation .sw-operation__num {aspect-ratio:1;line-height:1;font-variant-numeric:tabular-nums;box-sizing:border-box;}

/* 1.0.4 — Pause decorative animations while the gallery is outside the viewport. */
.sw-operation:not(.sw-in-viewport) *,
.sw-operation:not(.sw-in-viewport) *::before,
.sw-operation:not(.sw-in-viewport) *::after {animation-play-state:paused!important;}

/* 1.0.8 — The visible image defines the frame height, on every viewport.
   Override legacy Elementor ratios, flex stretching and absolute image boxes.
   Only the selected frame/slide participates in layout; no crop transition. */
.sw-operation[data-image-layout="natural"] .sw-operation__visual {
    align-self: start;
}
.sw-operation[data-image-layout="natural"] .sw-operation__media {
    flex: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
}
.sw-operation[data-image-layout="natural"] .sw-operation__frame {
    display: none;
    position: relative;
    inset: auto;
    clip-path: none !important;
    transition: none !important;
}
.sw-operation[data-image-layout="natural"] .sw-operation__frame.is-active {
    display: block;
}
.sw-operation[data-image-layout="natural"] .sw-operation__frame .sw-operation__slide {
    display: none;
    position: relative;
    inset: auto;
    height: auto;
    transition: none !important;
}
.sw-operation[data-image-layout="natural"] .sw-operation__frame .sw-operation__slide.is-shown {
    display: block;
}
/* Keep empty/error states usable without forcing a ratio on actual images. */
.sw-operation[data-image-layout="natural"] .sw-operation__slide:not(:has(> img:not([hidden]))) {
    aspect-ratio: 4 / 3;
}
.sw-operation[data-image-layout="natural"] .sw-operation__frame img.sw-operation__photo:not([hidden]) {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    /* Auto-sizes is removed from these images in PHP/JS. Keep this box free
       of containment added by themes or image optimizers as well. */
    contain: none !important;
    contain-intrinsic-size: none !important;
    transform: none !important;
    scale: 1 !important;
}
