/* Landings de Serviços — paleta navy/ciano do Curator */

.svc {
    --navy: #0D2142;
    --teal: #26C6DA;
    --ok: #00B5CC;
    --blue: #1976D2;
    --muted: #5d6a7d;
    --ink: #0D2142;
    --grad: linear-gradient(90deg, #26C6DA 0%, #1976D2 100%);
}

.page-title-area.svc-title {
    padding-top: 108px !important;
    padding-bottom: 28px !important;
    min-height: 0 !important;
}
.svc-title .page-title-content h2 {
    font-size: 26px !important;
    margin-bottom: 4px;
}
.svc-title .page-title-content ul {
    margin-top: 8px;
}

.case-studies-details-area.svc-page {
    padding-top: 48px;
    padding-bottom: 64px;
    background: #f4f8fb;
}

.svc-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
    gap: 36px 48px;
    align-items: center;
    margin-bottom: 8px;
    animation: svc-up 0.45s ease both;
}

.svc-intro {
    max-width: 520px;
    margin: 0;
    text-align: left;
}
.svc-intro .svc-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #00B5CC;
    margin-bottom: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(0, 181, 204, 0.1);
}
.svc-intro h1 {
    font-size: 34px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.03em;
    line-height: 1.18;
    margin: 0 0 14px;
}
.svc-intro p {
    font-size: 17px;
    line-height: 1.55;
    color: var(--muted);
    margin: 0 0 22px;
}
.svc-intro__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}
.svc-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 50px;
    background: var(--grad);
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(25, 118, 210, 0.22);
}
.svc-cta:hover { color: #fff !important; opacity: 0.92; }
.svc-cta--ghost {
    background: #fff;
    color: var(--navy) !important;
    border: 1px solid #d5e2ee;
    box-shadow: none;
}
.svc-cta--ghost:hover { color: var(--navy) !important; }

.svc-scene { max-width: none; margin: 0; }

.svc-block {
    margin-top: 48px;
}
.svc-h {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    text-align: left;
    letter-spacing: -0.02em;
}
.svc-lead {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--muted);
    max-width: 560px;
}

.svc-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0;
}
.svc-card {
    background: #fff;
    border: 1px solid #e3ecf4;
    border-radius: 18px;
    padding: 24px 22px 22px;
    box-shadow: 0 8px 24px rgba(13, 33, 66, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    animation: svc-up 0.5s ease both;
}
.svc-card:nth-child(2) { animation-delay: 0.08s; }
.svc-card:nth-child(3) { animation-delay: 0.16s; }
.svc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(13, 33, 66, 0.1);
    border-color: rgba(38, 198, 218, 0.45);
}
.svc-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--grad);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
}
.svc-card strong {
    display: block;
    font-size: 16px;
    color: var(--navy);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.svc-card p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--muted);
}
.svc-card span {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #00B5CC;
    margin-bottom: 6px;
}

.svc-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0;
    counter-reset: svcstep;
}
.svc-step {
    position: relative;
    padding: 22px 20px 20px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e3ecf4;
    box-shadow: 0 8px 24px rgba(13, 33, 66, 0.04);
    animation: svc-up 0.5s ease both;
}
.svc-step:nth-child(2) { animation-delay: 0.08s; }
.svc-step:nth-child(3) { animation-delay: 0.16s; }
.svc-step b {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--grad);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
}
.svc-step strong {
    display: block;
    color: var(--navy);
    margin-bottom: 6px;
    font-size: 16px;
    letter-spacing: -0.02em;
}
.svc-step p {
    margin: 0;
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.5;
}

.svc-more {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    align-items: stretch;
}
.svc-more a {
    display: flex;
    flex-direction: column;
    min-height: 108px;
    height: 100%;
    padding: 16px 14px 14px;
    border-radius: 14px;
    border: 1px solid #e3ecf4;
    background: #fff;
    color: var(--navy);
    text-decoration: none;
    text-align: left;
    box-sizing: border-box;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.svc-more a:hover {
    border-color: #26C6DA;
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(13, 33, 66, 0.08);
}
.svc-more a.is-on {
    border-color: #26C6DA;
    box-shadow: 0 0 0 3px rgba(38, 198, 218, 0.18);
    transform: none;
    cursor: default;
}
.svc-more a.is-on:hover {
    transform: none;
}
.svc-more a strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.svc-more a span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 6px;
    min-height: 2.7em;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--muted);
}

.svc-end {
    margin-top: 56px;
    padding: 40px 32px;
    border-radius: 20px;
    background:
        radial-gradient(ellipse 70% 80% at 90% 10%, rgba(38, 198, 218, 0.22) 0%, transparent 55%),
        var(--navy);
    text-align: left;
    color: #fff;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px 32px;
    align-items: center;
}
.svc-end h3 {
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.03em;
}
.svc-end p {
    color: #bfd2e3;
    margin: 0;
    max-width: 520px;
    font-size: 15.5px;
    line-height: 1.5;
}
.svc-end .svc-intro__actions {
    justify-content: flex-end;
}

@keyframes svc-up {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

/* —— cenas —— */
.sv {
    background: #071018;
    border: 1px solid rgba(38, 198, 218, 0.28);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(13, 33, 66, 0.16);
    padding: 16px 16px 12px;
    margin: 0;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}
.sv__top {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #26C6DA;
    margin-bottom: 10px;
}
.sv__cap {
    margin: auto 0 0;
    min-height: 38px;
    font-size: 13px;
    line-height: 1.45;
    color: #bfd2e3;
    text-align: center;
    padding-top: 10px;
}
.sv__hint {
    margin: 4px 0 0;
    font-size: 11px;
    color: #8aa3b8;
    text-align: center;
}

/* RPA */
.sv-rpa {
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    gap: 8px;
    align-items: center;
    min-height: 180px;
    flex: 1;
}
.sv-rpa__col {
    background: #0c1a2b;
    border: 1px solid rgba(191, 210, 227, 0.12);
    border-radius: 12px;
    padding: 12px;
    min-height: 148px;
}
.sv-rpa__col header {
    font-size: 11px;
    font-weight: 800;
    color: #8aa3b8;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.sv-task {
    padding: 8px 10px;
    border-radius: 8px;
    background: #10233c;
    color: #e8f1f8;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
    opacity: 0.35;
    transition: opacity 0.3s, border-color 0.3s, background 0.3s;
    border: 1px solid transparent;
}
.sv-task.is-on {
    opacity: 1;
    border-color: #26C6DA;
    background: rgba(38, 198, 218, 0.12);
}
.sv-task.is-done { opacity: 0.7; border-color: #66bb6a; }
.sv-rpa__vs {
    text-align: center;
    color: #26C6DA;
    font-weight: 800;
    font-size: 12px;
}

/* IDP */
.sv-idp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 180px;
    flex-wrap: wrap;
    flex: 1;
}
.sv-pdf {
    width: 70px;
    height: 88px;
    border-radius: 8px;
    background: linear-gradient(160deg, #ffe082, #ffb74d);
    color: #5d4037;
    font-weight: 800;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.4;
    transform: translateX(-8px);
    transition: opacity 0.35s, transform 0.35s, box-shadow 0.35s;
}
.sv-pdf.is-on {
    opacity: 1;
    transform: none;
    box-shadow: 0 8px 20px rgba(255, 183, 77, 0.35);
}
.sv-idp__fields {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 160px;
}
.sv-chip {
    padding: 7px 10px;
    border-radius: 8px;
    background: #10233c;
    color: #e8f1f8;
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s, transform 0.3s;
}
.sv-chip.is-on { opacity: 1; transform: none; }
.sv-erp {
    padding: 14px 16px;
    border-radius: 12px;
    background: #10233c;
    border: 1px solid rgba(38, 198, 218, 0.25);
    color: #e8f1f8;
    font-weight: 800;
    font-size: 13px;
    opacity: 0.35;
    transition: opacity 0.35s, box-shadow 0.35s;
}
.sv-erp.is-on {
    opacity: 1;
    box-shadow: 0 0 16px rgba(38, 198, 218, 0.25);
}

/* Map */
.sv-map {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 180px;
    flex-wrap: wrap;
    flex: 1;
}
.sv-note {
    width: 110px;
    padding: 12px 10px;
    border-radius: 8px;
    background: #10233c;
    color: #e8f1f8;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    opacity: 0.45;
    transition: transform 0.4s, opacity 0.4s, border-color 0.3s;
    border: 1px solid transparent;
}
.sv-note[data-sv-n="1"] { transform: rotate(-6deg); }
.sv-note[data-sv-n="2"] { transform: rotate(4deg); }
.sv-note[data-sv-n="3"] { transform: rotate(-3deg); }
.sv-note.is-on {
    opacity: 1;
    transform: rotate(0);
    border-color: #26C6DA;
}
.sv-arrow {
    width: 24px;
    height: 2px;
    background: rgba(38, 198, 218, 0.2);
    position: relative;
    opacity: 0;
    transition: opacity 0.3s, background 0.3s;
    flex-shrink: 0;
}
.sv-arrow.is-on { opacity: 1; background: #26C6DA; }
.sv-arrow::after {
    content: "";
    position: absolute;
    right: -1px;
    top: -3px;
    border: 4px solid transparent;
    border-left-color: inherit;
    border-left-width: 6px;
    border-left-color: #26C6DA;
}

/* Agent */
.sv-ag {
    min-height: 180px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sv-ag__goal {
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    background: #10233c;
    color: #e8f1f8;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 12px;
    opacity: 0.4;
    transition: opacity 0.3s, box-shadow 0.3s;
}
.sv-ag__goal.is-on {
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(38, 198, 218, 0.3);
}
.sv-ag__row {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.sv-ag__n {
    min-width: 100px;
    padding: 12px;
    border-radius: 12px;
    background: #0c1a2b;
    border: 1px solid rgba(191, 210, 227, 0.12);
    text-align: center;
    color: #e8f1f8;
    font-size: 12px;
    font-weight: 700;
    opacity: 0.3;
    transform: translateY(6px);
    transition: opacity 0.3s, transform 0.3s, border-color 0.3s;
}
.sv-ag__n.is-on {
    opacity: 1;
    transform: none;
    border-color: #26C6DA;
}
.sv-ag__n small { display: block; color: #8aa3b8; font-weight: 600; margin-top: 4px; }

/* RAG */
.sv-rag {
    display: grid;
    grid-template-columns: 140px 1fr 160px;
    gap: 10px;
    align-items: center;
    min-height: 180px;
    flex: 1;
}
.sv-q {
    padding: 12px;
    border-radius: 12px;
    background: #10233c;
    color: #e8f1f8;
    font-size: 12px;
    font-weight: 700;
    opacity: 0.4;
    transition: opacity 0.3s;
}
.sv-q.is-on { opacity: 1; }
.sv-docs { display: flex; flex-direction: column; gap: 6px; }
.sv-doc {
    padding: 8px 10px;
    border-radius: 8px;
    background: #0c1a2b;
    border: 1px solid rgba(191, 210, 227, 0.12);
    color: #bfd2e3;
    font-size: 12px;
    font-weight: 700;
    opacity: 0.35;
    transition: opacity 0.3s, border-color 0.3s, background 0.3s;
}
.sv-doc.is-on {
    opacity: 1;
    border-color: #26C6DA;
    background: rgba(38, 198, 218, 0.1);
}
.sv-ans {
    padding: 12px;
    border-radius: 12px;
    background: #10233c;
    border: 1px solid rgba(38, 198, 218, 0.25);
    color: #e8f1f8;
    font-size: 12px;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s, transform 0.35s;
}
.sv-ans.is-on { opacity: 1; transform: none; }
.sv-ans u {
    display: block;
    margin-top: 6px;
    text-decoration: none;
    color: #26C6DA;
    font-size: 10px;
    font-weight: 800;
}

@media (max-width: 991px) {
    .svc-hero,
    .svc-end,
    .svc-cards,
    .svc-steps { grid-template-columns: 1fr; }
    .svc-intro {
        max-width: none;
        text-align: center;
        margin: 0 auto;
    }
    .svc-intro h1 { font-size: 28px; }
    .svc-intro__actions,
    .svc-end .svc-intro__actions { justify-content: center; }
    .svc-h, .svc-lead, .svc-end { text-align: center; }
    .svc-end p { margin: 0 auto 4px; }
    .svc-more {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 8px;
    }
    .svc-more a { padding: 12px 10px; min-height: 100px; }
    .sv-rpa, .sv-rag { grid-template-columns: 1fr; }
    .sv-rpa__vs { display: none; }
    .sv { min-height: 0; }
}
@media (max-width: 767px) {
    .svc-intro h1 { font-size: 26px; }
    .svc-more { grid-template-columns: 1fr; }
    .svc-more a { min-height: 0; }
    .page-title-area.svc-title { padding-top: 96px !important; }
}

@media (prefers-reduced-motion: reduce) {
    .sv *, .sv *::before, .sv *::after {
        animation: none !important;
        transition: none !important;
    }
    .svc-card, .svc-step, .svc-hero { animation: none !important; }
}

body.dark .case-studies-details-area.svc-page { background: #0f1624; }
body.dark .svc-intro h1,
body.dark .svc-h,
body.dark .svc-card strong,
body.dark .svc-step strong,
body.dark .svc-more a,
body.dark .svc-more a strong { color: #e8eef6; }
body.dark .svc-intro p,
body.dark .svc-lead,
body.dark .svc-card p,
body.dark .svc-step p,
body.dark .svc-more a span { color: #9aabc0; }
body.dark .svc-card,
body.dark .svc-step,
body.dark .svc-more a { background: #1a2436; border-color: #2a3a52; }
body.dark .svc-cta--ghost { background: #1a2436; color: #e8eef6 !important; border-color: #2a3a52; }
body.dark .svc-end .svc-cta--ghost { background: #fff; color: #0D2142 !important; }
