/* =============================================
   Material Symbols
   ============================================= */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

/* =============================================
   Full-bleed Apple-inspired layout
   ============================================= */
:root {
    --page-gutter: clamp(1rem, 2vw, 2rem);
}

html,
body {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.apple-home {
    min-width: 320px;
    overflow-x: hidden;
    background: #f5f5f7;
    color: #161c27;
    font-family: "DM Sans", "Inter", sans-serif;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
}

.apple-home *,
.apple-home *::before,
.apple-home *::after {
    box-sizing: border-box;
}

.apple-home .apple-shell {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: var(--page-gutter);
}

.apple-home .apple-narrow-shell {
    width: 100%;
    max-width: 64rem;
    margin-inline: auto;
    padding-inline: var(--page-gutter);
}

.apple-home .apple-mobile-menu {
    padding-inline: var(--page-gutter);
}

.apple-home .apple-section {
    width: 100%;
    margin: 0;
}

.apple-home section[id] {
    scroll-margin-top: 5rem;
}

.apple-home section,
.apple-home nav,
.apple-home footer {
    max-width: 100%;
}

.apple-home img,
.apple-home video {
    max-width: 100%;
}

.apple-home h1,
.apple-home h2,
.apple-home h3,
.apple-home p,
.apple-home a,
.apple-home span {
    overflow-wrap: break-word;
}

.apple-home nav {
    border-bottom: 1px solid rgba(2, 36, 72, 0.08);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: none;
}

.apple-home #nav-menu {
    gap: clamp(0.85rem, 1.35vw, 2rem);
}

.apple-home #nav-menu a {
    font-size: 0.82rem;
    line-height: 1;
}

.apple-home #nav-cta {
    border-radius: 9999px;
}

/* #home deixou de ser uma segunda hero: agora e a secao de produto
   e tem altura natural. #ecossistema e a unica dobra de tela cheia. */
.apple-home #ecossistema {
    min-height: 100svh;
    display: flex;
    align-items: center;
}

.apple-home #home {
    background:
        linear-gradient(180deg, #ffffff 0%, #f6f8fb 56%, #edf2f8 100%);
}

.apple-home #segmentos,
.apple-home #faq {
    background: #f5f5f7;
}

/* Painel de contato preenche a tela abaixo do cabecalho fixo (5rem). */
.apple-home #contato .cta-panel {
    min-height: clamp(36rem, calc(100svh - 5rem), 54rem);
    box-shadow: none;
    align-items: stretch;
}

/* O cabecalho fixo tem 5rem: sem esta folga, "Agendar reuniao" deixa o
   titulo do painel de contato escondido atras do menu. */
.apple-home #contato {
    scroll-margin-top: 5rem;
}

.apple-home #contato .cta-panel > div {
    padding: clamp(2rem, 5vw, 5.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.apple-home #contato form {
    width: min(100%, 38rem);
    margin-inline: auto;
}

.apple-home .segment-card,
.apple-home .tab-content,
.apple-home .accordion-trigger,
.apple-home #faq .bg-surface-container-low {
    border: 1px solid rgba(2, 36, 72, 0.08);
}

.apple-home .segment-card {
    min-height: 100%;
    box-shadow: 0 18px 44px rgba(2, 36, 72, 0.06);
}

.apple-home .tab-content {
    /* 34rem existia para acomodar a ilustracao de obra que havia antes.
       Os paineis de sistema sao mais compactos e precisam de 28rem. */
    min-height: 28rem;
    box-shadow: 0 24px 64px rgba(2, 36, 72, 0.08);
}

.apple-home .tab-btn {
    min-height: 4.25rem;
}

.apple-home .tracking-tight,
.apple-home .tracking-wider,
.apple-home .tracking-widest {
    letter-spacing: 0;
}

@media (min-width: 1536px) {
    .apple-home #home img {
        min-height: 34rem;
        object-fit: cover;
    }
}

@media (max-width: 767px) {
    :root {
        --page-gutter: 1rem;
    }

    .apple-home section[id] {
        scroll-margin-top: 4rem;
    }

    .apple-home #ecossistema,
    .apple-home #home {
        min-height: auto;
    }

    .apple-home #contato .cta-panel {
        min-height: auto;
    }

    .apple-home #contato {
        scroll-margin-top: 4rem;
    }

    .apple-home #contato .cta-panel > div {
        padding: 2rem 1rem;
        justify-content: flex-start;
    }

    .apple-home #contato form {
        margin-inline: 0;
    }
}

/* =============================================
   Glass Nav
   ============================================= */
.glass-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
}

/* =============================================
   Tab System
   ============================================= */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* =============================================
   FAQ Accordion
   ============================================= */
.accordion-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out, opacity 0.35s ease-in-out;
}

.accordion-body.open {
    opacity: 1;
}

.accordion-icon {
    transition: transform 0.3s ease;
    display: inline-block;
}

.accordion-icon.rotated {
    transform: rotate(180deg);
}

/* =============================================
   Editorial hub, comparisons and segment pages
   ============================================= */
.editorial-page {
    --editorial-primary: #022448;
    --editorial-secondary: #1960a3;
    --editorial-accent: #febb2f;
    --editorial-surface: #f9f9ff;
    --editorial-muted: #edf2fb;
    --editorial-text: #161c27;
    --editorial-subtle: #4b5565;
    background: var(--editorial-surface);
    color: var(--editorial-text);
}

.editorial-page .editorial-shell {
    width: min(100% - 2rem, 78rem);
    margin-inline: auto;
}

.editorial-page .editorial-narrow {
    width: min(100% - 2rem, 52rem);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: .75rem;
    left: .75rem;
    transform: translateY(-200%);
    border-radius: .6rem;
    background: #fff;
    color: #022448;
    padding: .75rem 1rem;
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(2, 36, 72, .18);
}

.skip-link:focus { transform: translateY(0); }

/* Cabeçalho institucional único — usado em todas as páginas principais. */
.site-header {
    position: fixed;
    z-index: 50;
    inset: 0 0 auto;
    height: 5rem;
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid rgba(2, 36, 72, .08);
    box-shadow: 0 12px 35px rgba(2, 36, 72, .04);
    backdrop-filter: blur(20px);
}

.site-header-shell {
    width: 100%;
    height: 5rem;
    padding-inline: clamp(1rem, 2vw, 2rem);
    display: grid;
    grid-template-columns: minmax(10rem, 1fr) auto minmax(10rem, 1fr);
    align-items: center;
    gap: 1rem;
}

.site-logo { justify-self: start; display: inline-flex; align-items: center; }
.site-logo img { display: block; width: 98px; height: 40px; object-fit: contain; }
.site-nav-links { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 1.6vw, 1.75rem); }
.site-nav-link { position: relative; color: #46546a; font-size: .84rem; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap; }
.site-nav-link:hover,
.site-nav-link.is-active { color: #1765c1; }
.site-nav-link.is-active { font-weight: 800; }
.site-nav-link.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.75rem; height: 2px; border-radius: 2px; background: #febb2f; }
.site-header-actions { justify-self: end; display: flex; align-items: center; gap: .75rem; }
.site-nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 2.65rem; border-radius: .7rem; padding: .65rem 1.4rem; background: #febb2f; color: #022448; box-shadow: 0 8px 22px rgba(254, 187, 47, .24); font-size: .78rem; font-weight: 800; letter-spacing: .025em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.site-nav-cta:hover { filter: brightness(1.04); transform: translateY(-1px); }
.site-menu-toggle { display: none; align-items: center; justify-content: center; border: 0; border-radius: .65rem; padding: .55rem; background: #edf2fb; color: #022448; }
.site-mobile-menu { position: absolute; inset: 5rem 0 auto; padding: .75rem 1rem 1.1rem; background: rgba(255, 255, 255, .98); box-shadow: 0 18px 35px rgba(2, 36, 72, .1); }
.site-mobile-menu.hidden { display: none; }
.site-mobile-menu a { display: block; padding: .72rem .25rem; border-bottom: 1px solid rgba(2, 36, 72, .08); color: #34445b; font-weight: 650; text-decoration: none; }
.site-mobile-menu a:last-child { margin-top: .55rem; border: 0; border-radius: .7rem; background: #febb2f; color: #022448; text-align: center; }
.editorial-page main { padding-top: 5rem; }

.editorial-page :focus-visible {
    outline: 3px solid #febb2f;
    outline-offset: 3px;
}

.editorial-nav {
    position: sticky;
    z-index: 50;
    top: 0;
    min-height: 4.75rem;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(2, 36, 72, .08);
}

.editorial-nav-inner {
    min-height: 4.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.editorial-logo { flex: 0 0 auto; }
.editorial-logo img { width: auto; height: 2.5rem; }
.editorial-nav-desktop { margin-left: auto; display: flex; align-items: center; gap: clamp(.7rem, 1.5vw, 1.5rem); }
.editorial-nav-link,
.editorial-nav-dropdown > summary {
    color: #4b5565;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}
.editorial-nav-link:hover,
.editorial-nav-link.is-active,
.editorial-nav-dropdown > summary:hover { color: #1960a3; }
.editorial-nav-link.is-active { font-weight: 800; }
.editorial-nav-dropdown { position: relative; }
.editorial-nav-dropdown > summary { display: flex; align-items: center; list-style: none; }
.editorial-nav-dropdown > summary::-webkit-details-marker { display: none; }
.editorial-nav-dropdown > summary .material-symbols-outlined { font-size: 1.1rem; transition: transform .2s ease; }
.editorial-nav-dropdown[open] > summary .material-symbols-outlined { transform: rotate(180deg); }
.editorial-nav-popover {
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    width: 14rem;
    transform: translateX(-50%);
    border-radius: 1rem;
    padding: .55rem;
    background: #fff;
    box-shadow: 0 24px 70px rgba(2, 36, 72, .16);
}
.editorial-nav-popover a { display: block; border-radius: .65rem; padding: .7rem .8rem; color: #2d486d; font-size: .875rem; text-decoration: none; }
.editorial-nav-popover a:hover { background: #edf2fb; color: #022448; }
.editorial-menu-toggle { display: none; margin-left: auto; border: 0; border-radius: .65rem; background: #edf2fb; padding: .55rem; color: #022448; }
.editorial-mobile-menu { padding: .75rem 1rem 1.25rem; background: rgba(255, 255, 255, .98); }
.editorial-mobile-menu.hidden { display: none; }
.editorial-mobile-menu a,
.editorial-mobile-label { display: block; padding: .7rem .25rem; color: #2d486d; text-decoration: none; font-weight: 600; }
.editorial-mobile-label { padding-top: 1rem; color: #687386; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.editorial-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    border-radius: .75rem;
    padding: .8rem 1.25rem;
    background: linear-gradient(135deg, #febb2f, #ffd876);
    color: #022448;
    font-size: .875rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(254, 187, 47, .22);
    transition: transform .2s ease, box-shadow .2s ease;
}
.editorial-button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(254, 187, 47, .3); }
.editorial-button-small { min-height: 2.65rem; margin-left: .25rem; padding: .65rem 1rem; white-space: nowrap; }
.editorial-button-secondary { background: #e8eeff; color: #022448; box-shadow: none; }

.editorial-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3.5rem, 8vw, 7.5rem) 0 clamp(4rem, 8vw, 7rem);
    background:
        radial-gradient(circle at 82% 16%, rgba(254, 187, 47, .2), transparent 24rem),
        linear-gradient(145deg, #fff, #edf3ff 70%);
}
.editorial-hero::after {
    content: "";
    position: absolute;
    width: 24rem;
    height: 24rem;
    right: -8rem;
    bottom: -14rem;
    border-radius: 50%;
    background: rgba(25, 96, 163, .09);
}
.editorial-breadcrumb { margin-bottom: clamp(2rem, 5vw, 4rem); }
.editorial-breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.editorial-breadcrumb li { display: flex; gap: .5rem; color: #687386; font-size: .8rem; }
.editorial-breadcrumb a { color: inherit; text-decoration: none; }
.editorial-breadcrumb [aria-current="page"] { color: #022448; font-weight: 700; }
.hero-grid,
.segment-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(18rem, .72fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.editorial-hero h1 { max-width: 16ch; margin: .7rem 0 1.25rem; color: #022448; font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(2.45rem, 6vw, 5.6rem); font-weight: 800; line-height: 1.02; letter-spacing: -.045em; }
.hero-lead { max-width: 46rem; margin: 0; color: #434f61; font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.65; }
.eyebrow { margin: 0; color: #1960a3; font-size: .73rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.review-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; margin-top: 1.75rem; color: #5f6c7c; font-size: .8rem; }
.review-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.review-meta span::before { content: ""; width: .42rem; height: .42rem; border-radius: 50%; background: #febb2f; }
.hero-note { border-radius: 1.25rem; padding: clamp(1.5rem, 4vw, 2.25rem); background: rgba(255, 255, 255, .78); box-shadow: 0 26px 70px rgba(2, 36, 72, .1); backdrop-filter: blur(16px); }
.hero-note > .material-symbols-outlined { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: .9rem; background: #d5e3ff; color: #022448; }
.hero-note h2 { margin: 1rem 0 .7rem; color: #022448; font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.25rem; line-height: 1.25; }
.hero-note p { margin: 0; color: #536174; line-height: 1.65; }

.editorial-section { padding: clamp(4rem, 8vw, 7rem) 0; }
.editorial-section-muted { background: #edf2fb; }
.editorial-section-dark { background: #022448; color: #eef4ff; }
.section-heading { display: flex; align-items: flex-start; gap: 1.25rem; margin-bottom: 2.25rem; }
.section-number { color: #1960a3; font-family: "Plus Jakarta Sans", sans-serif; font-size: .8rem; font-weight: 800; }
.editorial-section h2,
.method-grid h2,
.related-links h2 { margin: .45rem 0 1rem; color: #022448; font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(1.75rem, 4vw, 3.25rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; }
.editorial-section-dark h2 { color: #fff; }

.category-index { display: flex; flex-wrap: wrap; gap: .65rem; }
.category-index a { border-radius: 999px; padding: .7rem 1rem; background: #e8eeff; color: #2d486d; font-size: .85rem; font-weight: 700; text-decoration: none; }
.category-index a:hover { background: #d5e3ff; color: #022448; }

.integration-showcase-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 5%, rgba(41, 114, 255, .24), transparent 30rem),
        radial-gradient(circle at 90% 100%, rgba(254, 187, 47, .15), transparent 28rem),
        #061d38;
    color: #d7e4f4;
}
.integration-showcase-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .18;
    background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000, transparent 78%);
}
.integration-showcase-section .editorial-shell { position: relative; }
.integration-showcase-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .65fr); align-items: end; gap: 3rem; margin-bottom: 2.5rem; }
.integration-showcase-heading .eyebrow { color: #9fc5ff; }
.integration-showcase-heading h2 { max-width: 18ch; margin: .5rem 0 0; color: #fff; }
.integration-showcase-heading > p { margin: 0; color: #b9c9dc; font-size: 1.02rem; line-height: 1.7; }
.integration-showcase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.integration-tile {
    --integration-accent: #5f8fe6;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 1.15rem;
    padding: 1.25rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .045));
    box-shadow: 0 20px 50px rgba(0, 0, 0, .14);
    backdrop-filter: blur(12px);
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.integration-tile:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--integration-accent) 70%, white); background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .065)); }
.integration-tile-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.integration-icon { position: relative; display: inline-flex; width: 3.25rem; height: 3.25rem; align-items: center; justify-content: center; overflow: hidden; border: 1px solid color-mix(in srgb, var(--integration-accent) 35%, white); border-radius: .9rem; background: #fff; color: var(--integration-accent); box-shadow: 0 10px 28px color-mix(in srgb, var(--integration-accent) 24%, transparent); }
.integration-icon > .material-symbols-outlined { font-size: 1.65rem; }
.integration-icon img { position: absolute; inset: .52rem; width: calc(100% - 1.04rem); height: calc(100% - 1.04rem); border-radius: .35rem; background: #fff; object-fit: contain; }
.integration-connected { display: inline-flex; align-items: center; gap: .38rem; color: #c9d8e9; font-size: .66rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.integration-connected > span { width: .45rem; height: .45rem; border-radius: 50%; background: #5ee39a; box-shadow: 0 0 0 4px rgba(94, 227, 154, .12); }
.integration-label { margin: 1.35rem 0 .32rem; color: #9fb0c5; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.integration-tile h3 { margin: 0; color: #fff; font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.3rem; font-weight: 800; }
.integration-description { min-height: 3.2em; margin: .65rem 0 1.15rem; color: #b9c9dc; line-height: 1.55; }
.integration-tile-links { display: flex; align-items: center; justify-content: space-between; gap: .75rem; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: .9rem; }
.integration-tile-links a { display: inline-flex; align-items: center; gap: .3rem; color: #fff; font-size: .76rem; font-weight: 800; text-decoration: none; }
.integration-tile-links a:hover { color: #febb2f; }
.integration-official-link { color: #aebfd2 !important; font-weight: 650 !important; }
.integration-official-link:hover { color: #fff !important; }
.integration-official-link .material-symbols-outlined { font-size: 1rem; }
.integration-tone-green { --integration-accent: #18b979; }
.integration-tone-violet { --integration-accent: #8b6be8; }
.integration-tone-blue { --integration-accent: #3d88e8; }
.integration-tone-amber { --integration-accent: #e8a326; }
.integration-tone-red { --integration-accent: #e76363; }
.integration-tone-cyan { --integration-accent: #22a8bd; }
.integration-tone-navy { --integration-accent: #5079bd; }
.integration-tone-purple { --integration-accent: #a063d7; }
.integration-tone-orange { --integration-accent: #e86d32; }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.feature-card { display: flex; flex-direction: column; min-width: 0; border-radius: 1.25rem; padding: clamp(1.35rem, 3vw, 2rem); background: #fff; box-shadow: 0 20px 50px rgba(2, 36, 72, .065); }
.editorial-section:not(.editorial-section-muted) .feature-card { background: #f1f3ff; box-shadow: none; }
.feature-card-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.feature-card h3 { margin: 1.25rem 0 .5rem; color: #022448; font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.35rem; font-weight: 800; line-height: 1.2; }
.feature-summary { margin: 0 0 1.5rem; color: #4b586b; line-height: 1.6; }
.feature-card dl { display: grid; gap: 1rem; margin: 0 0 1.5rem; }
.feature-card dl > div { padding: 1rem; border-radius: .85rem; background: rgba(232, 238, 255, .72); }
.feature-card dt { margin-bottom: .25rem; color: #687386; font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.feature-card dd { margin: 0; color: #303b4c; line-height: 1.55; }
.feature-card .text-link { margin-top: auto; }
.status-badge { display: inline-flex; align-items: center; gap: .45rem; border-radius: 999px; padding: .38rem .65rem; background: #e8eeff; color: #233d61; font-size: .7rem; font-weight: 800; line-height: 1.2; }
.status-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #1960a3; }
.status-experimental { background: #fff1cf; color: #5e4200; }
.status-experimental .status-dot { background: #c18400; }
.status-unconfirmed { background: #eceef3; color: #4f5561; }
.status-unconfirmed .status-dot { background: #6f7580; }
.status-evolving { background: #e6f1ff; color: #00477f; }
.status-evolving .status-dot { background: #1960a3; }
.status-integration { background: #e9edff; color: #303f76; }
.status-integration .status-dot { background: #5266b4; }
.review-date { color: #687386; font-size: .72rem; white-space: nowrap; }
.text-link { display: inline-flex; align-items: center; gap: .35rem; color: #12558f; font-weight: 800; text-decoration: none; }
.text-link:hover { color: #022448; }
.compliance-note { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; border-radius: 1.25rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: #fff2cf; color: #4e3907; }
.compliance-note > .material-symbols-outlined { font-size: 2rem; }
.compliance-note h2 { margin-top: 0; color: #4e3907; font-size: 1.45rem; }
.compliance-note p { margin: 0; line-height: 1.65; }

.method-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.method-grid ol { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: method; }
.method-grid ol li { counter-increment: method; position: relative; border-radius: 1rem; padding: 1.15rem 1.15rem 1.15rem 3.7rem; background: #edf2fb; color: #3e4a5c; line-height: 1.55; }
.method-grid ol li::before { content: counter(method, decimal-leading-zero); position: absolute; left: 1rem; top: 1.05rem; color: #1960a3; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; }
.method-note { border-radius: 1rem; padding: 1.5rem; background: #fff; color: #465267; line-height: 1.65; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin: 3rem 0 1.25rem; }
.filter-bar button { border: 0; border-radius: 999px; padding: .7rem 1rem; background: #edf2fb; color: #334259; font-weight: 700; cursor: pointer; }
.filter-bar button.is-active { background: #022448; color: #fff; }
.comparison-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.comparison-card { display: flex; flex-direction: column; min-width: 0; border-radius: 1.25rem; padding: 1.75rem; background: #fff; box-shadow: 0 22px 54px rgba(2, 36, 72, .07); }
.comparison-card h2 { margin: .65rem 0 .8rem; font-size: 1.55rem; }
.comparison-card > p:not(.eyebrow) { color: #526075; line-height: 1.6; }
.comparison-card-meta { display: grid; gap: .3rem; margin: auto 0 1.25rem; padding-top: 1.25rem; color: #687386; font-size: .75rem; }
.editorial-warning { margin-top: 2rem; border-radius: 1rem; padding: 1.25rem 1.4rem; background: #e8eeff; color: #34445b; line-height: 1.6; }

.quick-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.quick-compare > div { border-radius: 1.25rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: #edf2fb; }
.quick-compare > div:last-child { background: #022448; color: #eef4ff; }
.quick-compare span { display: inline-flex; border-radius: 999px; padding: .4rem .7rem; background: #fff; color: #022448; font-size: .72rem; font-weight: 800; }
.quick-compare h2 { margin: 1rem 0 .75rem; font-size: clamp(1.5rem, 3vw, 2.25rem); }
.quick-compare > div:last-child h2 { color: #fff; }
.quick-compare p { margin: 0; line-height: 1.65; }
.table-wrap { margin-top: 2.5rem; overflow-x: auto; border-radius: 1.1rem; box-shadow: 0 20px 50px rgba(2, 36, 72, .06); }
.comparison-table { width: 100%; min-width: 48rem; border-collapse: collapse; background: #fff; text-align: left; }
.comparison-table th,
.comparison-table td { padding: 1.15rem 1.25rem; vertical-align: top; line-height: 1.55; }
.comparison-table thead th { background: #022448; color: #fff; font-family: "Plus Jakarta Sans", sans-serif; font-size: .85rem; }
.comparison-table tbody th { width: 20%; color: #022448; font-size: .85rem; }
.comparison-table tbody tr:nth-child(even) { background: #f3f6fc; }
.comparison-table td { color: #445165; }
.two-column,
.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 4vw, 3rem); }
.two-column article { border-radius: 1.25rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: #fff; box-shadow: 0 20px 50px rgba(2, 36, 72, .06); }
.two-column h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
.check-list,
.dependency-list { display: grid; gap: .9rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.check-list li,
.dependency-list li { position: relative; padding-left: 2rem; color: #425064; line-height: 1.5; }
.check-list li::before,
.dependency-list li::before { position: absolute; left: 0; top: -.05rem; font-family: "Material Symbols Outlined"; color: #1960a3; font-size: 1.25rem; }
.check-list li::before { content: "check_circle"; }
.dependency-list li::before { content: "tune"; color: #9d6c00; }
.fit-grid article { border-radius: 1.25rem; padding: clamp(1.5rem, 4vw, 2.75rem); background: rgba(255, 255, 255, .08); }
.fit-grid .eyebrow { color: #adc8f5; }
.fit-grid p:last-child { color: #d6deeb; line-height: 1.7; }
.faq-list { display: grid; gap: .75rem; margin-top: 2rem; }
.faq-list details { border-radius: 1rem; background: #fff; box-shadow: 0 14px 40px rgba(2, 36, 72, .05); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.35rem; color: #022448; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .material-symbols-outlined { transition: transform .2s ease; }
.faq-list details[open] summary .material-symbols-outlined { transform: rotate(45deg); }
.faq-list details p { margin: 0; padding: 0 1.35rem 1.35rem; color: #4b586b; line-height: 1.65; }
.source-list { display: grid; gap: .8rem; margin: 2rem 0; padding: 0; list-style: none; }
.source-list li { border-radius: 1rem; padding: 1.2rem 1.35rem; background: #edf2fb; }
.source-list a { color: #075391; font-weight: 800; }
.source-list span { display: block; margin-top: .3rem; color: #687386; font-size: .76rem; }
.source-list p { margin: .65rem 0 .3rem; color: #445165; line-height: 1.55; }
.source-list small { color: #687386; }

.segment-hero-grid img { width: 100%; border-radius: 1.35rem; box-shadow: 0 30px 80px rgba(2, 36, 72, .17); transform: rotate(1.5deg); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2rem; }
.problem-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.problem-grid article { border-radius: 1rem; padding: 1.35rem; background: #fff; box-shadow: 0 16px 44px rgba(2, 36, 72, .06); }
.problem-grid .material-symbols-outlined { color: #b07b00; }
.problem-grid p { margin: 1rem 0 0; color: #3d4a5e; font-weight: 700; line-height: 1.45; }
.process-grid,
.integration-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.process-grid > div:first-child > p:last-child,
.integration-grid > div > p:last-child { color: #4c5a6d; font-size: 1.05rem; line-height: 1.75; }
.area-panel { border-radius: 1.25rem; padding: 2rem; background: #fff; box-shadow: 0 20px 55px rgba(2, 36, 72, .07); }
.area-panel h3 { margin: 0 0 1rem; color: #022448; font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.2rem; }
.area-panel ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin: 0; padding: 0; list-style: none; }
.area-panel li { border-radius: .7rem; padding: .75rem; background: #edf2fb; color: #34445b; font-size: .85rem; font-weight: 700; }
.journey-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .75rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.journey-list li { position: relative; border-radius: 1rem; padding: 1.15rem; background: #edf2fb; }
.journey-list li:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; top: 1.15rem; right: -.75rem; color: #1960a3; font-weight: 800; }
.journey-list span { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #022448; color: #fff; font-family: "Plus Jakarta Sans", sans-serif; font-size: .8rem; font-weight: 800; }
.journey-list p { margin: 1rem 0 0; color: #3b495e; font-weight: 700; line-height: 1.45; }
.integration-grid > div > p:last-child { color: #ced8e8; }
.integration-grid ul { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.integration-grid li { display: flex; align-items: flex-start; gap: .8rem; border-radius: 1rem; padding: 1rem 1.1rem; background: rgba(255, 255, 255, .08); color: #e8eef8; }
.integration-grid li span { color: #febb2f; }
.related-links { display: grid; grid-template-columns: 1fr .62fr .62fr; gap: 1rem; align-items: stretch; }
.related-links > a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-radius: 1rem; padding: 1.25rem; background: #edf2fb; color: #022448; font-weight: 800; text-decoration: none; }
.related-links > a:hover { background: #d5e3ff; }

.editorial-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: clamp(3rem, 7vw, 6rem); border-radius: 1.5rem; padding: clamp(1.75rem, 5vw, 3.5rem); background: #022448; color: #d7e0ee; }
.editorial-cta h2 { max-width: 17ch; color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.8rem); }
.editorial-cta p:not(.eyebrow) { max-width: 46rem; margin-bottom: 0; line-height: 1.65; }
.editorial-cta .eyebrow { color: #adc8f5; }
.editorial-cta .editorial-button { flex: 0 0 auto; }

.editorial-footer { padding: 4rem 0 1.5rem; background: #071727; color: #aeb9c8; }
.editorial-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; }
.editorial-footer-grid img { height: 2.4rem; width: auto; filter: brightness(0) invert(1); }
.editorial-footer-grid p { max-width: 25rem; line-height: 1.6; }
.editorial-footer h2 { margin: 0 0 1rem; color: #fff; font-family: "Plus Jakarta Sans", sans-serif; font-size: .9rem; }
.editorial-footer a { display: block; margin: .65rem 0; color: #aeb9c8; text-decoration: none; }
.editorial-footer a:hover { color: #febb2f; }
.editorial-footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .72rem; }

@media (max-width: 1023px) {
    .site-header-shell { grid-template-columns: 1fr auto; }
    .site-nav-links { display: none; }
    .site-menu-toggle { display: inline-flex; }
    .site-header-actions .site-nav-cta { display: none; }
    .editorial-nav-desktop { display: none; }
    .editorial-menu-toggle { display: inline-flex; }
    .editorial-nav-inner > .editorial-button-small { display: none; }
    .hero-grid,
    .segment-hero-grid,
    .method-grid,
    .process-grid,
    .integration-grid { grid-template-columns: 1fr; }
    .hero-note { max-width: 38rem; }
    .comparison-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .integration-showcase-heading { grid-template-columns: 1fr; gap: 1.25rem; }
    .integration-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .problem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .journey-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .journey-list li:nth-child(3)::after { display: none; }
    .related-links { grid-template-columns: 1fr 1fr; }
    .related-links > div { grid-column: 1 / -1; }
}

@media (max-width: 639px) {
    .editorial-page .editorial-shell,
    .editorial-page .editorial-narrow { width: min(100% - 1.5rem, 78rem); }
    .editorial-hero { padding-top: 2.75rem; }
    .editorial-hero h1 { font-size: clamp(2.2rem, 12vw, 3.4rem); }
    .hero-note { padding: 1.35rem; }
    .feature-grid,
    .integration-showcase-grid,
    .comparison-grid,
    .quick-compare,
    .two-column,
    .fit-grid,
    .problem-grid,
    .related-links { grid-template-columns: 1fr; }
    .feature-card-top { align-items: flex-start; flex-direction: column; }
    .review-date { white-space: normal; }
    .compliance-note { grid-template-columns: 1fr; }
    .area-panel ul { grid-template-columns: 1fr; }
    .journey-list { grid-template-columns: 1fr; }
    .journey-list li:not(:last-child)::after { content: "↓"; top: auto; right: 1rem; bottom: -.8rem; }
    .editorial-cta { align-items: stretch; flex-direction: column; }
    .editorial-footer-grid { grid-template-columns: 1fr 1fr; }
    .editorial-footer-grid > div:first-child { grid-column: 1 / -1; }
    .editorial-footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .editorial-page *,
    .editorial-page *::before,
    .editorial-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =============================================
   Form Validation
   ============================================= */
.field-invalid {
    outline: 2px solid rgba(186, 26, 26, 0.6) !important;
    outline-offset: 0;
}

.field-valid {
    outline: 2px solid rgba(34, 197, 94, 0.6) !important;
    outline-offset: 0;
}

.error-msg {
    color: #ffdad6;
    font-size: 0.7rem;
    margin-top: 0.25rem;
    display: none;
    font-weight: 500;
}

.error-msg.visible {
    display: block;
}

/* =============================================
   Mobile Menu
   ============================================= */
#mobile-menu {
    transition: opacity 0.2s ease;
}

/* =============================================
   Scroll Reveal
   ============================================= */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
[data-reveal="slide-right"] {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
[data-reveal].revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* =============================================
   Ecosystem Section
   ============================================= */
.ecosystem-section {
    --ecosystem-scale: 0.98;
    --ecosystem-lift: 16px;
    --ecosystem-tilt: -0.8deg;
    --ecosystem-card-lift: 14px;
    --ecosystem-card-slide: 18px;
    --ecosystem-card-opacity: 0.88;
    --ecosystem-shine: -130%;
    background:
        linear-gradient(115deg, rgba(254,187,47,0.16), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f4f8ff 46%, #e9f1ff 100%);
    isolation: isolate;
}

.ecosystem-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(25,96,163,0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(25,96,163,0.06) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
    opacity: 0.5;
    pointer-events: none;
}

.ecosystem-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.82), transparent 26%, rgba(255,255,255,0.52)),
        linear-gradient(90deg, rgba(255,255,255,0.72), transparent 32%, transparent 68%, rgba(255,255,255,0.58));
    pointer-events: none;
}

.ecosystem-inner {
    position: relative;
    z-index: 1;
}

.ecosystem-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1960a3;
    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ecosystem-media {
    position: relative;
    width: calc(100% + (var(--page-gutter) * 2));
    margin-block: 0;
    margin-inline: calc(var(--page-gutter) * -1);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 0.5rem;
    background: #edf5ff;
    box-shadow: 0 28px 70px rgba(2,36,72,0.16);
    overflow: hidden;
    transform: perspective(1400px) translateY(var(--ecosystem-lift)) scale(var(--ecosystem-scale)) rotateX(var(--ecosystem-tilt));
    transform-origin: center;
    transition: transform 0.16s linear, box-shadow 0.16s linear;
}

.ecosystem-media[data-reveal],
.ecosystem-media[data-reveal].revealed {
    transform: perspective(1400px) translateY(var(--ecosystem-lift)) scale(var(--ecosystem-scale)) rotateX(var(--ecosystem-tilt));
}

.ecosystem-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 34%, rgba(255,255,255,0.5) 50%, transparent 66%);
    opacity: 0.24;
    transform: translateX(var(--ecosystem-shine));
    pointer-events: none;
}

.ecosystem-media-scroll {
    overflow-x: auto;
    scrollbar-color: rgba(254,187,47,0.7) rgba(255,255,255,0.16);
    scrollbar-width: thin;
}

.ecosystem-media-scroll::-webkit-scrollbar {
    height: 8px;
}

.ecosystem-media-scroll::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.16);
}

.ecosystem-media-scroll::-webkit-scrollbar-thumb {
    background: rgba(254,187,47,0.78);
    border-radius: 999px;
}

.ecosystem-copy-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    border: 1px solid rgba(116,119,127,0.18);
    border-radius: 0.5rem;
    background: rgba(255,255,255,0.84);
    color: #43474e;
    line-height: 1.7;
    box-shadow: 0 18px 40px rgba(2,36,72,0.08);
    backdrop-filter: blur(12px);
    transform: translateY(var(--ecosystem-card-lift));
    transition: transform 0.16s linear, background 0.2s ease, border-color 0.2s ease;
}

.ecosystem-copy-card[data-reveal],
.ecosystem-copy-card[data-reveal].revealed {
    transform: translateY(var(--ecosystem-card-lift));
}

.ecosystem-copy-card[data-reveal].revealed {
    opacity: var(--ecosystem-card-opacity);
}

.ecosystem-copy-grid .ecosystem-copy-card:first-child[data-reveal].revealed {
    transform: translate3d(calc(var(--ecosystem-card-slide) * -1), var(--ecosystem-card-lift), 0);
}

.ecosystem-copy-grid .ecosystem-copy-card:last-child[data-reveal].revealed {
    transform: translate3d(var(--ecosystem-card-slide), var(--ecosystem-card-lift), 0);
}

.ecosystem-copy-card:hover {
    background: rgba(255,255,255,0.96);
    border-color: rgba(25,96,163,0.28);
}

.ecosystem-copy-icon {
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .ecosystem-section {
        --ecosystem-scale: 1;
        --ecosystem-lift: 0px;
        --ecosystem-tilt: 0deg;
        --ecosystem-card-lift: 0px;
        --ecosystem-card-slide: 0px;
        --ecosystem-card-opacity: 1;
    }

    .ecosystem-media {
        transform: none;
    }

    .ecosystem-media[data-reveal],
    .ecosystem-media[data-reveal].revealed {
        transform: none;
    }

    .ecosystem-copy-card {
        transform: none;
    }

    .ecosystem-copy-card[data-reveal],
    .ecosystem-copy-card[data-reveal].revealed {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ecosystem-section {
        --ecosystem-scale: 1;
        --ecosystem-lift: 0px;
        --ecosystem-tilt: 0deg;
        --ecosystem-card-lift: 0px;
        --ecosystem-card-slide: 0px;
        --ecosystem-card-opacity: 1;
        --ecosystem-shine: 130%;
    }

    .ecosystem-media,
    .ecosystem-copy-card {
        transform: none;
        transition: none;
    }

    .ecosystem-media[data-reveal],
    .ecosystem-media[data-reveal].revealed,
    .ecosystem-copy-card[data-reveal],
    .ecosystem-copy-card[data-reveal].revealed {
        transform: none;
    }
}

/* =============================================
   Segment Cards
   ============================================= */
.segment-card {
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
}
.segment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 24px 48px rgba(22,28,39,0.10);
}

/* =============================================
   Navbar Sliding Indicator
   ============================================= */
#nav-menu {
    position: relative;
}
#nav-indicator {
    position: absolute;
    bottom: -4px;
    height: 2px;
    background: #febb2f;
    border-radius: 1px;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), width 0.2s ease;
    pointer-events: none;
}

/* =============================================
   Toast Notification
   ============================================= */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #022448;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 20px 40px rgba(2, 36, 72, 0.25);
    z-index: 9999;
    transform: translateY(120px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    max-width: 320px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* =============================================
   Alvos de toque (WCAG 2.5.8 Target Size)
   Só em ponteiro grosso, para não engordar o layout no mouse.
   ============================================= */
@media (pointer: coarse) {
    .apple-home footer a,
    .apple-home #mobile-menu a,
    .apple-home #nav-menu a,
    .apple-home nav > .apple-shell > a,
    .apple-home .segment-card a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

/* Exceção da própria norma: links dentro de uma frase corrida
   (como o "LGPD" do aviso de privacidade do formulário) não
   precisam de área ampliada. */

/* =============================================
   Ecossistema integrado: diagrama desenhado em código
   O estado default é o completo. O js/hero.js adiciona
   .net-motion no <html> e só então esconde para animar,
   entao sem JS a secao aparece inteira.
   ============================================= */
.apple-home .net-section {
    /* compacta para o titulo, o diagrama e o fecho caberem
       juntos numa tela de desktop */
    padding-block: clamp(3rem, 6vw, 4.5rem);
    background: #ffffff;
}

.apple-home .net-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.apple-home .net-eyebrow {
    margin: 0;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1960a3;
}

.apple-home .net-title {
    margin: 0.9rem 0 0;
    max-width: 22ch;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.028em;
    line-height: 1.08;
    color: #022448;
    text-wrap: balance;
}

.apple-home .net-lead {
    margin: 1rem 0 0;
    max-width: 62ch;
    font-size: clamp(0.92rem, 1.1vw, 1.05rem);
    line-height: 1.65;
    color: #43474e;
}

.apple-home .net-figure {
    width: 100%;
    max-width: 590px;
    margin: clamp(1rem, 2vw, 1.5rem) auto 0;
}

.apple-home .net-foot {
    margin: clamp(1rem, 2vw, 1.5rem) 0 0;
    max-width: 54ch;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #646b7a;
}

.net {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

/* ---- conectores ---- */
.net__link {
    fill: none;
    stroke: #9dbbdc;
    stroke-width: 2;
    stroke-linecap: round;
}

/* ---- nucleo ---- */
.net__hub rect {
    fill: #022448;
}

.net__hub-name {
    fill: #ffffff;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.net__hub-sub {
    fill: #8aa4cf;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 15px;
    font-weight: 600;
}

/* ---- modulos ---- */
.net__node rect {
    fill: #ffffff;
    stroke: #d6e0ec;
    stroke-width: 1.5;
}

.net__node text {
    fill: #022448;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 19px;
    font-weight: 700;
}

/* ---- estado inicial, so quando o JS assume ----
   So a opacidade fica no CSS; a escala inicial e aplicada
   pelo proprio GSAP (js/hero.js) para nao conflitar com a
   matematica de transform-origin dele em SVG. */
.net-motion .net__node {
    opacity: 0;
}

/* ---- telas estreitas: o viewBox encolhe, o traco precisa crescer ---- */
@media (max-width: 767px) {
    .net__hub-name { font-size: 32px; }
    .net__hub-sub { font-size: 18px; }
    .net__node text { font-size: 23px; }
    .net__link { stroke-width: 3; }
    .net__node rect { stroke-width: 2; }
}

@media (prefers-reduced-motion: reduce) {
    .net-motion .net__node {
        opacity: 1;
        transform: none;
    }
}

/* =============================================
   Painéis de sistema das abas: desenhados em código,
   no lugar da ilustração de obra que havia antes.
   ============================================= */
.panel {
    display: block;
    width: 100%;
    height: auto;
    max-width: 460px;
    margin-inline: auto;
    filter: drop-shadow(0 18px 40px rgba(2, 36, 72, 0.1));
}

.panel__frame { fill: #ffffff; stroke: #dfe6ef; stroke-width: 1.5; }
.panel__rule  { stroke: #eef2f7; stroke-width: 1.5; }
.panel__dot   { fill: #d6e0ec; }

.panel__title {
    fill: #646b7a;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 15px;
    font-weight: 600;
}

.panel__kpi {
    fill: #022448;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.panel__row {
    fill: #43474e;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 15px;
    font-weight: 500;
}

.panel__val {
    fill: #022448;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.panel__track { fill: #eef2f7; }
.panel__fill  { fill: #1960a3; }
.panel__fill.is-over { fill: #febb2f; }

.panel__spark {
    fill: none;
    stroke: #1960a3;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.panel__sparkdot { fill: #febb2f; stroke: #ffffff; stroke-width: 2.5; }

.panel__pill { fill: #dcebe1; }
.panel__pill.is-late { fill: #fdecea; }
.panel__pill-text {
    fill: #17492c;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 12px;
    font-weight: 700;
}
.panel__pill-text.is-late { fill: #8f1d16; }

.panel__lot { fill: #eef2f7; }
.panel__lot.is-held { fill: #ffdea9; }
.panel__lot.is-sold { fill: #1960a3; }

.panel__legend {
    fill: #646b7a;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
}

/* telas estreitas: o viewBox encolhe, o texto precisa crescer */
@media (max-width: 767px) {
    .panel__title, .panel__row, .panel__val { font-size: 18px; }
    .panel__kpi { font-size: 25px; }
    .panel__legend { font-size: 16px; }
    .panel__pill-text { font-size: 14px; }
}

/* =============================================
   Cards de segmento: o "Saiba mais" ficava em altura
   diferente em cada card porque a lista tem quantidade
   de linhas variavel. Empurrando a lista para ocupar o
   espaco livre, o link encosta na base em todos.
   ============================================= */
.apple-home .segment-card {
    display: flex;
    flex-direction: column;
}

.apple-home .segment-card > ul {
    flex: 1 1 auto;
}

.apple-home .segment-card > a {
    margin-top: auto;
}

.apple-home .segment-card {
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.apple-home .segment-card:hover {
    border-color: rgba(25, 96, 163, 0.3);
    box-shadow: 0 22px 52px rgba(2, 36, 72, 0.1);
    transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
    .apple-home .segment-card,
    .apple-home .segment-card:hover {
        transition: none;
        transform: none;
    }
}

/* =============================================
   Implantação: as três etapas, com a numeração
   servindo de sequência real e não de enfeite.
   ============================================= */
.apple-home .deploy-section {
    padding-block: clamp(4rem, 9vw, 7rem);
    background: #f5f5f7;
}

.apple-home .deploy-eyebrow {
    margin: 0;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1960a3;
}

.apple-home .deploy-title {
    margin: 0.9rem 0 0;
    max-width: 24ch;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: clamp(1.7rem, 3.4vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -0.028em;
    line-height: 1.08;
    color: #022448;
    text-wrap: balance;
}

.apple-home .deploy-lead {
    margin: 1rem 0 0;
    max-width: 58ch;
    font-size: clamp(0.92rem, 1.1vw, 1.05rem);
    line-height: 1.65;
    color: #43474e;
}

.apple-home .deploy-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    margin: clamp(2.25rem, 4vw, 3.25rem) 0 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

@media (min-width: 768px) {
    .apple-home .deploy-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(1.5rem, 3vw, 2.5rem);
    }
}

.apple-home .deploy-step {
    position: relative;
    padding-top: 1.75rem;
    border-top: 2px solid rgba(2, 36, 72, 0.12);
}

/* a linha do topo acende no passo, indicando a sequencia */
.apple-home .deploy-step::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 3.25rem;
    height: 2px;
    background: #febb2f;
}

.apple-home .deploy-num {
    display: block;
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #1960a3;
    font-variant-numeric: tabular-nums;
}

.apple-home .deploy-step-title {
    margin: 0.6rem 0 0;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #022448;
}

.apple-home .deploy-step-text {
    margin: 0.6rem 0 0;
    font-size: 0.94rem;
    line-height: 1.62;
    color: #43474e;
}

.apple-home .deploy-foot {
    margin: clamp(2rem, 4vw, 3rem) 0 0;
    max-width: 62ch;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.88rem;
    line-height: 1.62;
    color: #646b7a;
}

/* =============================================
   Fluxo de caixa: console escuro no lugar do console de
   planejamento, não como canteiro de obra.
   Fundo escuro para separar da narrativa clara.
   Contrastes conferidos sobre #04203f.
   ============================================= */
.apple-home .cash-section {
    padding-block: clamp(4rem, 9vw, 7rem);
    background: linear-gradient(160deg, #04203f 0%, #06294f 58%, #04203f 100%);
    color: #c3d3e6;
}

/* com o JS ativo, a secao vira pista: a tela fica presa
   ate o grafico de saldo terminar de se desenhar */
.cash-motion .cash-section {
    height: calc(100svh + 160vh);
    padding-block: 0;
}

.apple-home .cash-sticky {
    display: flex;
    align-items: center;
    width: 100%;
}

.cash-motion .cash-sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
    padding-top: 4rem;
}

@media (min-width: 768px) {
    .cash-motion .cash-sticky {
        padding-top: 5rem;
    }
}


.apple-home .cash-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 3.5rem);
    align-items: center;
    width: 100%;
}

@media (min-width: 1024px) {
    .apple-home .cash-inner {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }
}

.apple-home .cash-eyebrow {
    margin: 0;
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9fc3ea;
}

.apple-home .cash-title {
    margin: 0.9rem 0 0;
    max-width: 20ch;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: clamp(1.7rem, 3.4vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -0.028em;
    line-height: 1.08;
    color: #ffffff;
    text-wrap: balance;
}

.apple-home .cash-lead {
    margin: 1rem 0 0;
    max-width: 58ch;
    font-size: clamp(0.92rem, 1.1vw, 1.05rem);
    line-height: 1.65;
    color: #c3d3e6;
}

.apple-home .cash-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin: 1.75rem 0 0;
}

.apple-home .cash-stats dt {
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8aa4cf;
}

.apple-home .cash-stats dd {
    margin: 0.3rem 0 0;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
}

.apple-home .cash-figure {
    position: relative;
    min-width: 0;
    margin: 0;
}

/* =============================================
   O gráfico de saldo agora vive na seção escura:
   mesma peça, paleta invertida. Contrastes
   conferidos sobre #04203f.
   ============================================= */
.cash-section .hero-chart__grid { stroke: rgba(255, 255, 255, 0.09); }
.cash-section .hero-chart__axis { stroke: rgba(255, 255, 255, 0.28); }
.cash-section .hero-chart__in { fill: #6fb1ec; }
.cash-section .hero-chart__out { fill: rgba(255, 255, 255, 0.22); }
.cash-section .hero-chart__line { stroke: #ffffff; }
.cash-section .hero-chart__dot { fill: #febb2f; stroke: #04203f; }
.cash-section .hero-chart__months text { fill: #8aa4cf; }

.cash-section .hero-chart__legend { color: #8aa4cf; }
.cash-section .hero-chart__legend .is-in::before { background: #6fb1ec; }
.cash-section .hero-chart__legend .is-out::before { background: rgba(255, 255, 255, 0.25); }
.cash-section .hero-chart__legend .is-line::before { background: #ffffff; }

/* =============================================
   Unificação visual 2026: as seções "template"
   (segmentos, tabs, FAQ, CTA, footer) passam a
   falar a mesma língua do hero orbital — bordas
   navy suaves, sombras baixas, ícones stroke,
   amarelo só como acento.
   ============================================= */

/* foco de teclado com anel da marca, em vez do
   outline default do browser */
:focus-visible {
    outline: 2px solid #1960a3;
    outline-offset: 2px;
    border-radius: 4px;
}

.cta-panel :focus-visible,
.site-footer :focus-visible {
    outline-color: #febb2f;
}

/* ---- eyebrow unificado (mesma voz do net/deploy) ---- */
.sec-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0 0 0.9rem;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1960a3;
}

.sec-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #febb2f;
}

.sec-eyebrow--left {
    justify-content: flex-start;
}

/* ---- cards de segmento ---- */
.apple-home .segment-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(2, 36, 72, 0.08);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(2, 36, 72, 0.05);
    transition:
        transform 300ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1),
        border-color 300ms ease;
}

.apple-home .segment-card:hover {
    transform: translateY(-4px);
    border-color: rgba(25, 96, 163, 0.35);
    box-shadow: 0 18px 40px rgba(2, 36, 72, 0.1);
}

.seg-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    background: #eef4fb;
    transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.segment-card:hover .seg-ico {
    transform: scale(1.08);
}

.seg-ico svg,
.li-check svg,
.tab-ico svg,
.faq-chev svg {
    display: block;
    fill: none;
    stroke: #1960a3;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* check das listas: substitui o glifo Material */
.li-check {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(254, 187, 47, 0.25);
}

.li-check svg {
    width: 12px;
    height: 12px;
    stroke: #b58500;
    stroke-width: 2.6;
}

/* anel decorativo atrás dos cards: eco do hero */
.seg-orbit {
    position: absolute;
    top: -180px;
    right: -160px;
    width: 560px;
    height: 560px;
    pointer-events: none;
    opacity: 0.55;
}

.seg-orbit circle {
    fill: none;
    stroke: #c9d5e6;
    stroke-width: 2;
    stroke-dasharray: 3 9;
    stroke-linecap: round;
}

/* ---- tabs de funcionalidades ---- */
.apple-home .tab-btn {
    border: 1px solid rgba(2, 36, 72, 0.08);
    border-radius: 12px;
    transition:
        background 250ms ease,
        color 250ms ease,
        border-color 250ms ease,
        transform 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-home .tab-btn:hover {
    transform: translateX(4px);
}

.apple-home .tab-btn.bg-primary {
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(2, 36, 72, 0.18);
}

.tab-ico {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eef4fb;
}

.tab-btn.bg-primary .tab-ico {
    background: rgba(255, 255, 255, 0.14);
}

.tab-btn.bg-primary .tab-ico svg {
    stroke: #ffffff;
}

.apple-home .tab-content {
    background: #ffffff;
    border: 1px solid rgba(2, 36, 72, 0.08);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(2, 36, 72, 0.05);
}

/* bolinha de check das tabs: amarelo como acento,
   nao mais um circulo azul chapado */
.apple-home .tab-check {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #eef4fb;
}

.apple-home .tab-check svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #1960a3;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---- FAQ ---- */
.apple-home .faq-item {
    background: #ffffff;
    border: 1px solid rgba(2, 36, 72, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 250ms ease, box-shadow 250ms ease;
}

.apple-home .faq-item:hover {
    border-color: rgba(25, 96, 163, 0.3);
    box-shadow: 0 10px 28px rgba(2, 36, 72, 0.07);
}

.faq-chev {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #eef4fb;
    transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-chev svg {
    width: 14px;
    height: 14px;
}

.faq-chev.rotated {
    transform: rotate(180deg);
}

/* ---- CTA final: navy profundo no lugar do
   gradiente, com brilho radial discreto ---- */
.cta-panel {
    position: relative;
    background: #04203f;
    overflow: hidden;
}

.cta-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(640px 420px at 12% 0%, rgba(25, 96, 163, 0.5), transparent 68%),
        radial-gradient(520px 380px at 96% 100%, rgba(254, 187, 47, 0.14), transparent 70%);
    pointer-events: none;
}

.cta-panel > * {
    position: relative;
}

/* ---- footer no navy da marca ---- */
.site-footer {
    background: #022448;
    color: #8aa4cf;
}

.site-footer h3 {
    color: #ffffff;
}

/* ---- alvos de toque >= 44px no menu mobile ---- */
@media (max-width: 1023px) {
    #mobile-menu a {
        display: flex;
        align-items: center;
        min-height: 44px;
    }
}

/* Widget Cloudflare Turnstile injetado pelo js/main.js antes do botão de envio */
.turnstile-holder {
  margin: 12px 0;
  min-height: 65px;
}
