@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

:root {
    --srs-radius-lg: 20px;
    --srs-radius-md: 14px;
    --srs-muted: var(--secondary-color);
    --srs-border: rgba(var(--primary-color-rgb, 0, 113, 227), 0.12);
    --srs-surface: var(--card-background);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.hero-content h1.split-text,
.hero-content h1 {
    background: none !important;
    -webkit-text-fill-color: var(--text-color) !important;
    background-clip: unset !important;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    font-size: clamp(2.25rem, 4vw, 3.25rem);
}

.hero-content .hero-lead {
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--srs-muted);
    max-width: 36rem;
    margin-bottom: 2rem;
}

.hero-cta .btn-secondary {
    border: 1px solid var(--srs-border);
    background: transparent;
    color: var(--text-color);
}

.hero-cta .btn-secondary:hover {
    background: var(--card-background);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

/* Header — pill + dropdowns (Segmentos / Especialistas) */
.main-header .main-nav .nav-shell {
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.main-nav .nav-shell {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    width: 100%;
}

.nav-pill {
    border: 1px solid var(--srs-border);
    border-radius: 999px;
    padding: 0.2rem 0.45rem;
    background: var(--card-background);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.main-nav .nav-pill-list,
.main-nav .nav-util-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.main-nav .nav-pill-list {
    gap: 0.15rem 0.35rem;
}

.main-nav .nav-util-list {
    gap: 0.5rem 0.75rem;
}

.nav-dropdown {
    position: relative;
    z-index: 0;
}

.nav-dropdown.nav-dropdown-open {
    z-index: 2;
}

.main-nav .nav-shell,
.main-nav .nav-pill,
.main-nav .nav-pill-list,
.main-nav .nav-pill-list > li.nav-dropdown {
    overflow: visible;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.65rem;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--nav-text, var(--text-color));
    font: inherit;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown-trigger:hover,
.nav-dropdown.nav-dropdown-open .nav-dropdown-trigger {
    background: rgba(var(--primary-color-rgb, 0, 113, 227), 0.08);
    color: var(--primary-color);
}

.nav-dropdown-chevron {
    font-size: 0.65rem;
    opacity: 0.75;
    transition: transform 0.2s ease;
}

.nav-dropdown.nav-dropdown-open .nav-dropdown-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-hint {
    margin: 0;
    padding: 0.45rem 0.65rem 0.55rem;
    font-size: 0.72rem;
    line-height: 1.38;
    font-weight: 500;
    color: var(--srs-muted, #64748b);
    border-bottom: 1px solid var(--srs-border);
}

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    min-width: 17.5rem;
    max-width: min(100vw - 2rem, 22rem);
    max-height: min(70vh, 26rem);
    overflow-y: auto;
    padding: 0.4rem;
    margin: 0;
    border-radius: var(--srs-radius-md);
    border: 1px solid var(--srs-border);
    background: var(--dropdown-bg, var(--card-background));
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    z-index: 10050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    scrollbar-width: thin;
}

.nav-dropdown.nav-dropdown-open .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown-item:hover {
    background: rgba(var(--primary-color-rgb, 0, 113, 227), 0.08);
    color: var(--primary-color);
}

.nav-dropdown-item--muted {
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 0.15rem;
    border-top: 1px solid var(--srs-border);
    border-radius: 0 0 10px 10px;
    color: var(--srs-muted);
}

.nav-dropdown-item--muted:hover {
    color: var(--primary-color);
}

.nav-dropdown-icon {
    width: 1.15rem;
    text-align: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.nav-dropdown-avatar-wrap {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--srs-border);
    background: var(--card-background);
}

.nav-dropdown-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.nav-dropdown-item--stack {
    align-items: center;
}

.nav-dropdown-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    line-height: 1.25;
}

.nav-dropdown-stack strong {
    font-weight: 700;
    font-size: 0.92rem;
}

.nav-dropdown-role {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--srs-muted);
}

.nav-pill-list > li > a {
    padding: 0.45rem 0.55rem;
    border-radius: 999px;
    font-size: 0.9rem;
}

.nav-pill-list > li > a::after {
    display: none;
}

@media (max-width: 768px) {
    .main-nav .nav-shell {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .nav-pill {
        border-radius: var(--srs-radius-md);
        padding: 0.35rem;
    }

    .main-nav .nav-pill-list {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-dropdown-panel {
        position: static;
        width: 100%;
        max-width: none;
        max-height: none;
        margin-top: 0.35rem;
        transform: none;
        box-shadow: inset 0 0 0 1px var(--srs-border);
    }

    .nav-dropdown.nav-dropdown-open .nav-dropdown-panel {
        transform: none;
    }

    .main-nav .nav-util-list {
        flex-direction: column;
        align-items: stretch;
    }
}

.main-nav a.nav-cta {
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.875rem;
}

.main-nav a.nav-cta::after {
    display: none;
}

.main-nav a.nav-cta:hover {
    opacity: 0.92;
    color: #fff !important;
}

.main-nav a.nav-login {
    font-weight: 600;
    font-size: 0.9rem;
}

.main-header .container {
    overflow: visible;
}

/* Device mockup — bordas suaves, menos “glow” */
.device-mockup {
    border-radius: 2.75rem;
    padding: 0.85rem;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.12),
        0 16px 40px rgba(0, 0, 0, 0.08);
    transform: perspective(900px) rotateY(-12deg) rotateX(8deg);
    transition: transform 0.65s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.5s ease;
}

.device-mockup:hover {
    transform: perspective(900px) rotateY(-6deg) rotateX(4deg);
    box-shadow:
        0 48px 96px rgba(0, 0, 0, 0.14),
        0 20px 48px rgba(0, 0, 0, 0.1);
}

.device-screen {
    border-radius: 2.1rem;
}

/* Section shell */
.srs-section {
    padding: 5.5rem 0;
}

.srs-section.alt {
    background: var(--srs-surface);
}

.section-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.section-header.srs-tight h2 {
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-header.srs-tight p {
    font-size: 1.0625rem;
    color: var(--srs-muted);
    max-width: 40rem;
    margin: 0 auto 2.5rem;
}

/* Operational problems */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    max-width: 1120px;
    margin-inline: auto;
}

@media (min-width: 1024px) {
    .problems-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.problem-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem 1.35rem 1.6rem;
    min-height: 10.5rem;
    justify-content: flex-start;
    border-radius: var(--srs-radius-md);
    border: 1px solid var(--srs-border);
    background: linear-gradient(180deg, var(--background-color) 0%, rgba(var(--primary-color-rgb, 0, 113, 227), 0.04) 100%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.problem-card-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 14px;
    background: linear-gradient(
        145deg,
        rgba(var(--primary-color-rgb, 0, 113, 227), 0.2) 0%,
        rgba(var(--primary-color-rgb, 0, 113, 227), 0.07) 100%
    );
    color: var(--primary-color);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.problem-card-svg {
    width: 1.55rem;
    height: 1.55rem;
    flex-shrink: 0;
}

.problem-card:hover {
    border-color: rgba(var(--primary-color-rgb, 0, 113, 227), 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(var(--primary-color-rgb, 0, 113, 227), 0.12);
}

.problem-card:hover .problem-card-visual {
    transform: scale(1.06);
    box-shadow: 0 4px 14px rgba(var(--primary-color-rgb, 0, 113, 227), 0.18);
}

.problem-card p {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-color);
    line-height: 1.45;
    max-width: 22rem;
}

.architecture-intro {
    max-width: 42rem;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--srs-muted);
}

.architecture {
    padding-top: 3rem;
    padding-bottom: 2.5rem;
}

.agents-ia-inner {
    margin-top: 0;
}

.specialists-grid--people .specialist-photo {
    width: 100%;
    height: 12rem;
    max-height: min(14rem, 42vw);
    border-radius: var(--srs-radius-lg);
    overflow: hidden;
    flex-shrink: 0;
    align-self: stretch;
}

.specialists-grid--people .specialist-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
}

@media (max-width: 520px) {
    .specialists-grid--people .specialist-photo {
        height: 10.5rem;
        max-height: none;
    }
}

.specialists-grid--people {
    margin-bottom: 0;
}

.agents-block--architecture {
    margin-top: 0;
    padding-top: 2.5rem;
}

.agents-block--architecture .section-header {
    margin-bottom: 2rem;
}

.agents-architecture-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 1080px;
    margin: 0 auto 2.5rem;
    align-items: stretch;
}

.agents-architecture-grid .specialist-card {
    text-align: center;
    height: 100%;
}

.agents-architecture-grid .specialist-visual {
    min-height: 7rem;
}

.agents-architecture-grid .specialist-visual img {
    max-height: 6.25rem;
}

@media (max-width: 900px) {
    .agents-architecture-grid {
        grid-template-columns: 1fr;
        max-width: 22rem;
    }
}

.agents-metaphor {
    max-width: 42rem;
    margin: 0 auto;
    padding: 1.5rem 1.35rem;
    border-radius: var(--srs-radius-md);
    border: 1px solid rgba(var(--primary-color-rgb, 0, 113, 227), 0.22);
    background: rgba(var(--primary-color-rgb, 0, 113, 227), 0.07);
}

[data-theme='dark'] .agents-metaphor {
    background: rgba(var(--primary-color-rgb, 0, 113, 227), 0.12);
    border-color: rgba(255, 255, 255, 0.12);
}

.agents-metaphor-title {
    margin: 0 0 0.65rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.agents-metaphor-intro {
    margin: 0 0 0.75rem;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--text-color);
}

.agents-metaphor-list {
    margin: 0 0 0.85rem;
    padding-left: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-color);
}

.agents-metaphor-list li {
    margin-bottom: 0.35rem;
}

.agents-metaphor-outro {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--srs-muted);
}

#arquitetura,
#agentes-ia,
#orquestracao-agentes,
#validador-documentos,
#agente-orquestrador,
#agente-qualificador,
#agente-resolutivo,
#agente-transacional,
#agente-especialista {
    scroll-margin-top: 5.75rem;
}

/* Specialists */
.specialists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.specialist-card {
    border-radius: var(--srs-radius-lg);
    border: 1px solid var(--srs-border);
    padding: 2rem 1.75rem;
    background: var(--background-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.specialist-card:hover {
    border-color: rgba(var(--primary-color-rgb, 0, 113, 227), 0.4);
    transform: translateY(-3px);
    box-shadow: var(--card-shadow);
}

.specialist-avatar {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.specialist-card:nth-child(6n + 1) .specialist-avatar {
    background: linear-gradient(135deg, #5b6cf0, #3942b8);
}

.specialist-card:nth-child(6n + 2) .specialist-avatar {
    background: linear-gradient(135deg, #e85d9a, #b0306e);
}

.specialist-card:nth-child(6n + 3) .specialist-avatar {
    background: linear-gradient(135deg, #2d9cdb, #1a5f8a);
}

.specialist-card:nth-child(6n + 4) .specialist-avatar {
    background: linear-gradient(135deg, #9b7eed, #5c3ead);
}

.specialist-card:nth-child(6n + 5) .specialist-avatar {
    background: linear-gradient(135deg, #3ecf8e, #1f8f5c);
}

.specialist-card:nth-child(6n + 6) .specialist-avatar {
    background: linear-gradient(135deg, #f0a14a, #c96d12);
}

.specialist-name {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
}

.specialist-role {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.specialist-desc {
    font-size: 0.95rem;
    color: var(--srs-muted);
    line-height: 1.55;
    margin: 0;
    flex-grow: 1;
}

.specialist-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 8.5rem;
    margin: -0.25rem 0 0.25rem;
}

.specialist-visual img {
    max-width: 100%;
    max-height: 7.5rem;
    width: auto;
    height: auto;
    object-fit: contain;
}

.specialist-visual--icon {
    font-size: 3.25rem;
    color: var(--primary-color);
    opacity: 0.9;
}

.main-header .logo--brand,
.inner-header .logo--brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: unset;
    line-height: 0;
}

.site-logo {
    display: block;
    height: auto;
    max-height: 2.5rem;
    width: auto;
}

.inner-header .site-logo--header {
    max-height: 2.1rem;
}

.logo-animation--img {
    font-size: unset;
    font-weight: unset;
    margin-bottom: 1.75rem;
}

.logo-animation--img img {
    display: block;
    margin: 0 auto;
    max-width: min(280px, 90vw);
    height: auto;
}

.footer-brand-logo {
    display: block;
    height: auto;
    max-height: 3rem;
    width: auto;
}

/* Platform placeholders */
.platform-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.platform-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.platform-row.reverse {
    direction: rtl;
}

.platform-row.reverse > * {
    direction: ltr;
}

.platform-shot {
    border-radius: var(--srs-radius-lg);
    border: 1px solid var(--srs-border);
    min-height: 220px;
    background: linear-gradient(160deg, var(--card-background) 0%, var(--background-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.platform-shot::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(var(--primary-color-rgb, 0, 113, 227), 0.08), transparent 50%);
    pointer-events: none;
}

.platform-shot--img {
    padding: 0;
    min-height: 0;
    background: var(--card-background);
}

.platform-shot--img::after {
    display: none;
}

.platform-shot-img {
    display: block;
    width: 100%;
    height: auto;
}

/* Clicks go to the parent button (fixes Safari / some engines with img inside button). */
.platform-shot-zoom .platform-shot-img {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.platform-shot-zoom {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
    border-radius: inherit;
    font: inherit;
    line-height: 0;
    color: inherit;
}

.platform-shot-zoom:focus {
    outline: none;
}

.platform-shot-zoom:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

.platform-shot-label {
    position: relative;
    z-index: 1;
    text-align: center;
    font-weight: 600;
    color: var(--srs-muted);
    font-size: 0.95rem;
    max-width: 16rem;
    line-height: 1.5;
}

.platform-copy h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.platform-copy p {
    color: var(--srs-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Operational flow — one line per step; pills don’t shrink (avoids ugly wraps) */
.flow-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem;
    padding: 1.25rem 0 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
}

.flow-track::-webkit-scrollbar {
    height: 6px;
}

.flow-track::-webkit-scrollbar-thumb {
    background: var(--srs-border);
    border-radius: 999px;
}

.flow-step {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex: 0 0 auto;
    padding: 0.7rem 1.15rem;
    border-radius: 999px;
    border: 1px solid var(--srs-border);
    background: var(--background-color);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--text-color);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    scroll-snap-align: start;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.flow-step:hover {
    border-color: var(--primary-color);
    background: rgba(var(--primary-color-rgb, 0, 113, 227), 0.06);
    box-shadow: 0 2px 8px rgba(var(--primary-color-rgb, 0, 113, 227), 0.12);
}

.flow-step-label {
    white-space: nowrap;
}

.flow-step-num {
    width: 1.625rem;
    height: 1.625rem;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flow-arrow {
    color: var(--srs-muted);
    font-size: 0.9rem;
    font-weight: 600;
    user-select: none;
    flex-shrink: 0;
    opacity: 0.65;
    display: block;
    padding: 0 0.1rem;
}

@media (min-width: 1100px) {
    .flow-track {
        justify-content: center;
        overflow-x: visible;
        flex-wrap: wrap;
        row-gap: 0.65rem;
    }

    .flow-arrow {
        align-self: center;
    }
}

@media (min-width: 1320px) {
    .flow-step {
        font-size: 1rem;
        padding: 0.75rem 1.25rem;
    }

    .flow-step-num {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.875rem;
    }
}

/* Segments */
.segments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
    gap: 1rem 1.1rem;
    justify-content: center;
    max-width: 1180px;
    margin-inline: auto;
}

@media (min-width: 1024px) {
    .segments-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.segment-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.9rem;
    padding: 1.35rem 1rem 1.25rem;
    min-height: 8.5rem;
    border-radius: var(--srs-radius-md);
    border: 1px solid var(--srs-border);
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.25;
    background: linear-gradient(180deg, var(--background-color) 0%, rgba(var(--primary-color-rgb, 0, 113, 227), 0.03) 100%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.segment-card-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 14px;
    background: linear-gradient(
        145deg,
        rgba(var(--primary-color-rgb, 0, 113, 227), 0.18) 0%,
        rgba(var(--primary-color-rgb, 0, 113, 227), 0.06) 100%
    );
    color: var(--primary-color);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.segment-card-svg {
    width: 1.65rem;
    height: 1.65rem;
    flex-shrink: 0;
}

/* Mesmos pictogramas do menu Segmentos (Font Awesome) */
.segment-card-icon {
    font-size: 1.5rem;
    line-height: 1;
    color: inherit;
}

.segment-card-label {
    display: block;
    max-width: 12rem;
}

.segment-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--primary-color-rgb, 0, 113, 227), 0.4);
    box-shadow: 0 10px 28px rgba(var(--primary-color-rgb, 0, 113, 227), 0.12);
}

.segment-card:hover .segment-card-visual {
    transform: scale(1.06);
    box-shadow: 0 4px 14px rgba(var(--primary-color-rgb, 0, 113, 227), 0.2);
}

a.segment-card {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.specialist-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.75rem;
    align-self: stretch;
    width: 100%;
}

.specialist-actions .btn {
    flex: 1 1 auto;
    min-width: min(100%, 118px);
    text-align: center;
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;
}

.specialist-card .btn-secondary {
    background: transparent;
    border: 1px solid var(--srs-border);
    color: var(--text-color);
}

.specialist-card .btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1.02rem;
    color: var(--text-color);
}

.benefit-item i {
    color: var(--primary-color);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* FAQ */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    border-radius: var(--srs-radius-md);
    border: 1px solid var(--srs-border);
    background: var(--background-color);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.15rem 1.25rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: inherit;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 0.75rem;
    color: var(--srs-muted);
    transition: transform 0.25s ease;
}

.faq-item.is-open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.25rem 1.15rem;
    color: var(--srs-muted);
    font-size: 0.975rem;
    line-height: 1.6;
    display: none;
}

.faq-item.is-open .faq-answer {
    display: block;
}

/* About */
.about-block {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

.about-block p {
    font-size: 1.0625rem;
    color: var(--srs-muted);
    line-height: 1.7;
    margin: 0;
}

.integrations {
    background-color: var(--card-background);
}

.integration-marquee.marquee-rtl .integration-marquee-content {
    animation-duration: 56s !important;
}

.integration-marquee .logo-item {
    opacity: 0.88;
    transition: opacity 0.3s ease;
}

.integration-marquee .logo-item:hover {
    opacity: 1;
}

/* Contact section heading */
#contact .section-header h2 {
    letter-spacing: -0.02em;
}

/* Responsive */
@media (max-width: 992px) {
    .platform-row,
    .platform-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .main-nav a {
        font-size: 0.95rem;
    }
}

/* Platform screenshot lightbox (index.html) */
.platform-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    box-sizing: border-box;
}

.platform-lightbox--open {
    display: flex;
}

.platform-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.platform-lightbox-dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    max-width: min(96vw, 1120px);
    max-height: min(94vh, 94dvh);
    width: 100%;
    min-height: 0;
    border-radius: var(--srs-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--card-background);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.platform-lightbox-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-shrink: 0;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid var(--srs-border);
    background: var(--card-background);
}

.platform-lightbox-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.3;
}

.platform-lightbox-close {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--secondary-color);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.platform-lightbox-close:hover {
    background: rgba(var(--primary-color-rgb, 0, 113, 227), 0.1);
    color: var(--text-color);
}

.platform-lightbox-stage {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    overflow: auto;
    padding: 0.75rem 1rem 1rem;
    -webkit-overflow-scrolling: touch;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: var(--background-color);
}

.platform-lightbox-img {
    display: block;
    margin: 0 auto;
    width: auto;
    height: auto;
    max-width: 100%;
    /* Fit inside dialog: toolbar + paddings (~5.25rem); dvh helps mobile browser chrome */
    max-height: calc(94vh - 5.25rem);
    max-height: min(calc(94vh - 5.25rem), calc(94dvh - 5.25rem));
    object-fit: contain;
    object-position: center;
    border-radius: var(--srs-radius-sm, 8px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}
