:root {
    --color-ink: #09111f;
    --color-paper: #f7f5ef;
    --color-sand: #d7974c;
    --color-sand-bright: #f0b96f;
    --color-accent: #b25c17;
    --color-muted: #4b5565;
    --color-line-dark: rgba(255, 255, 255, 0.12);
    --color-line-light: rgba(9, 17, 31, 0.12);
    --shadow-soft: 0 40px 120px rgba(9, 17, 31, 0.12);
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-ink);
    color: var(--color-paper);
    font-family: "Sora", "Segoe UI", sans-serif;
    text-rendering: optimizeLegibility;
}

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

button,
a,
summary {
    outline-offset: 4px;
}

img {
    max-width: 100%;
    display: block;
}

::selection {
    background: rgba(240, 185, 111, 0.28);
}

.section__eyebrow {
    margin: 0;
    color: rgba(215, 151, 76, 0.88);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.75rem;
    letter-spacing: 0.36em;
    text-transform: uppercase;
}

.section__eyebrow--sand {
    color: var(--color-sand);
}

.system-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 2rem;
    background:
        radial-gradient(circle at top left, rgba(215, 151, 76, 0.22), transparent 30%),
        linear-gradient(180deg, #09111f 0%, #0d1625 58%, #08101d 100%);
}

.system-page__content {
    max-width: 40rem;
    border: 1px solid var(--color-line-dark);
    border-radius: 2rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
}

.system-page__eyebrow {
    margin: 0 0 1rem;
    color: var(--color-sand);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.75rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.system-page__content h1 {
    margin: 0;
    font-size: clamp(2.5rem, 7vw, 4rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.system-page__content p {
    margin: 1.25rem 0 0;
    max-width: 32rem;
    color: rgba(247, 245, 239, 0.78);
    font-size: 1rem;
    line-height: 1.8;
}

.system-page__action {
    display: inline-flex;
    margin-top: 1.75rem;
    align-items: center;
    justify-content: center;
    min-height: 3.5rem;
    border-radius: 999px;
    background: var(--color-sand);
    padding: 0.875rem 1.5rem;
    color: var(--color-ink);
    font-weight: 600;
    transition: transform 180ms ease, background-color 180ms ease;
}

.system-page__action:hover {
    transform: translateY(-1px);
    background: var(--color-sand-bright);
}

@media (max-width: 767px) {
    .system-page__content {
        padding: 1.5rem;
        border-radius: 1.5rem;
    }
}

/* ── Portal & Admin ── */

.portal-loading {
    color: rgba(247, 245, 239, 0.5);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.875rem;
    padding: 3rem 0;
}

.portal-empty {
    color: rgba(247, 245, 239, 0.4);
    font-size: 0.9375rem;
    padding: 2rem 0;
}

.portal-denied {
    text-align: center;
    padding: 4rem 0;
}

.portal-denied h1 {
    font-size: 2rem;
    margin: 0 0 1rem;
}

.portal-denied p {
    color: rgba(247, 245, 239, 0.6);
    margin: 0.5rem 0;
}

.portal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.625rem 1.25rem;
    border-radius: 999px;
    border: none;
    background: var(--color-sand);
    color: var(--color-ink);
    font-weight: 600;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: transform 180ms, background 180ms;
    margin-top: 1rem;
}

.portal-btn:hover {
    transform: translateY(-1px);
    background: var(--color-sand-bright);
}

.portal-btn--outline {
    background: transparent;
    border: 1px solid var(--color-line-dark);
    color: var(--color-paper);
}

.portal-btn--outline:hover {
    border-color: var(--color-sand);
    color: var(--color-sand);
    background: transparent;
}

/* Dashboard */
.portal-dashboard h1,
.financeiro h1,
.admin-page h1,
.admin-dashboard h1,
.project-detail h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin: 0;
    letter-spacing: -0.03em;
}

.portal-greeting p,
.financeiro-subtitle {
    color: rgba(247, 245, 239, 0.55);
    margin: 0.5rem 0 0;
    font-size: 0.9375rem;
}

.portal-summary {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.portal-stat {
    flex: 1;
    min-width: 140px;
    padding: 1.25rem;
    border: 1px solid var(--color-line-dark);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.portal-stat__value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-sand);
}

.portal-stat--alert .portal-stat__value { color: #e85d5d; }
.portal-stat--success .portal-stat__value { color: #4ade80; }

.portal-stat__label {
    display: block;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    color: rgba(247, 245, 239, 0.45);
    margin-top: 0.25rem;
    text-transform: uppercase;
}

.portal-section-title {
    font-size: 1.125rem;
    margin: 2.5rem 0 1rem;
    letter-spacing: -0.02em;
}

/* Project Cards */
.portal-cards {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.portal-project-card {
    display: block;
    padding: 1.5rem;
    border: 1px solid var(--color-line-dark);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 180ms, background 180ms;
}

.portal-project-card:hover {
    border-color: rgba(215, 151, 76, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.portal-project-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.portal-project-card__header h3 {
    margin: 0;
    font-size: 1rem;
}

.portal-project-card__desc {
    color: rgba(247, 245, 239, 0.5);
    font-size: 0.8125rem;
    margin: 0.75rem 0 0;
    line-height: 1.5;
}

.portal-project-card__progress {
    margin-top: 1.25rem;
}

/* Badges */
.portal-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.6875rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.portal-badge--planning { background: rgba(90, 160, 255, 0.15); color: #5aa0ff; }
.portal-badge--inprogress { background: rgba(215, 151, 76, 0.15); color: var(--color-sand-bright); }
.portal-badge--paused { background: rgba(255, 255, 255, 0.08); color: rgba(247, 245, 239, 0.5); }
.portal-badge--completed { background: rgba(74, 222, 128, 0.15); color: #4ade80; }
.portal-badge--notstarted { background: rgba(255, 255, 255, 0.06); color: rgba(247, 245, 239, 0.4); }
.portal-badge--pending { background: rgba(215, 151, 76, 0.15); color: var(--color-sand-bright); }
.portal-badge--overdue { background: rgba(232, 93, 93, 0.15); color: #e85d5d; }
.portal-badge--paid { background: rgba(74, 222, 128, 0.15); color: #4ade80; }

/* Progress Bar */
.portal-progress-bar {
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.portal-progress-bar--lg { height: 10px; border-radius: 5px; }

.portal-progress-bar__fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--color-sand), var(--color-sand-bright));
    transition: width 400ms ease;
}

.portal-progress-label {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.6875rem;
    color: rgba(247, 245, 239, 0.45);
    margin-top: 0.375rem;
    display: block;
}

/* Project Detail */
.project-back {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.8125rem;
    color: rgba(247, 245, 239, 0.5);
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: color 180ms;
}

.project-back:hover { color: var(--color-sand); }

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.project-desc {
    color: rgba(247, 245, 239, 0.55);
    font-size: 0.9375rem;
    margin: 0.5rem 0 0;
}

.project-meta {
    display: flex;
    gap: 1.5rem;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.75rem;
    color: rgba(247, 245, 239, 0.4);
    margin-bottom: 2rem;
}

.project-progress-overview {
    margin-bottom: 2.5rem;
}

/* Phase Timeline */
.phase-timeline {
    position: relative;
    padding-left: 2rem;
}

.phase-timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-line-dark);
}

.phase-item {
    position: relative;
    margin-bottom: 2rem;
}

.phase-marker {
    position: absolute;
    left: -2rem;
    top: 0.25rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--color-line-dark);
    background: var(--color-ink);
}

.phase-item--inprogress .phase-marker {
    border-color: var(--color-sand);
    background: var(--color-sand);
    box-shadow: 0 0 8px rgba(215, 151, 76, 0.4);
}

.phase-item--completed .phase-marker {
    border-color: #4ade80;
    background: #4ade80;
}

.phase-content {
    padding: 1.25rem;
    border: 1px solid var(--color-line-dark);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.02);
}

.phase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.phase-header h3 { margin: 0; font-size: 0.9375rem; }

.phase-status {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.6875rem;
    color: rgba(247, 245, 239, 0.45);
}

.phase-dates {
    display: flex;
    gap: 1rem;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.6875rem;
    color: rgba(247, 245, 239, 0.35);
    margin-top: 0.5rem;
}

/* Milestones */
.milestone-list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

.milestone-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0;
    font-size: 0.8125rem;
    color: rgba(247, 245, 239, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.milestone-list li:first-child { border-top: none; }

.milestone--done { color: rgba(74, 222, 128, 0.7); }

.milestone-check {
    font-size: 0.75rem;
    width: 1.25rem;
    text-align: center;
    flex-shrink: 0;
}

.milestone-list small {
    display: block;
    color: rgba(247, 245, 239, 0.3);
    font-size: 0.6875rem;
    margin-left: 0.25rem;
}

/* Invoice Table */
.invoice-table-wrapper {
    overflow-x: auto;
    margin-top: 1rem;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.invoice-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(247, 245, 239, 0.4);
    border-bottom: 1px solid var(--color-line-dark);
}

.invoice-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: rgba(247, 245, 239, 0.75);
}

.invoice-amount {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 500;
}

/* Admin */
.admin-dashboard { padding: 2rem 0; }

.admin-nav-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.admin-nav-card {
    display: block;
    padding: 1.5rem;
    border: 1px solid var(--color-line-dark);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 180ms;
}

.admin-nav-card:hover { border-color: var(--color-sand); }
.admin-nav-card h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.admin-nav-card p { margin: 0; font-size: 0.8125rem; color: rgba(247, 245, 239, 0.5); }

.admin-page { padding: 1rem 0; }

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-form-card {
    padding: 1.5rem;
    border: 1px solid var(--color-line-dark);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 2rem;
}

.admin-form-card h2 { margin: 0 0 1rem; font-size: 1rem; }

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 480px;
}

.admin-form label {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.6875rem;
    letter-spacing: 0.04em;
    color: rgba(247, 245, 239, 0.5);
    text-transform: uppercase;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--color-line-dark);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-paper);
    font-family: "Sora", sans-serif;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 180ms;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    border-color: rgba(215, 151, 76, 0.5);
}

.admin-form textarea { min-height: 80px; resize: vertical; }

.admin-checkbox {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    flex-direction: row;
    text-transform: none !important;
    font-size: 0.8125rem !important;
}

.admin-checkbox input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
}

.admin-form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.admin-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(247, 245, 239, 0.4);
    border-bottom: 1px solid var(--color-line-dark);
}

.admin-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: rgba(247, 245, 239, 0.75);
}

.admin-table a { color: var(--color-sand); }
.admin-table a:hover { color: var(--color-sand-bright); }

.admin-actions {
    display: flex;
    gap: 0.5rem;
}

.admin-actions button {
    padding: 0.375rem 0.75rem;
    border: 1px solid var(--color-line-dark);
    border-radius: 0.375rem;
    background: transparent;
    color: rgba(247, 245, 239, 0.6);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 150ms;
}

.admin-actions button:hover {
    border-color: var(--color-sand);
    color: var(--color-sand);
}

.admin-delete { color: #e85d5d !important; }
.admin-delete:hover { border-color: #e85d5d !important; }

.admin-phase-card {
    padding: 1.25rem;
    border: 1px solid var(--color-line-dark);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 1rem;
}

.admin-phase-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-phase-header h3 { margin: 0; font-size: 0.9375rem; }

.admin-milestone-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.admin-milestone-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.8125rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    color: rgba(247, 245, 239, 0.65);
}

/* ── Shared Layout (hero header, sections, footer) ── */

.home {
    overflow-x: hidden;
    background: var(--color-ink);
}

.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(215, 151, 76, 0.34), transparent 35%),
        radial-gradient(circle at 90% 18%, rgba(60, 96, 255, 0.18), transparent 28%),
        linear-gradient(180deg, #09111f 0%, #0d1625 58%, #08101d 100%);
}

.hero__grid {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 88px 88px;
}

.hero__inner,
.section__inner,
.footer__inner {
    position: relative;
    width: min(var(--max-width), calc(100% - 3rem));
    margin: 0 auto;
}

.hero__inner {
    padding: 1.5rem 0 3.5rem;
}

.hero__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand,
.hero__nav a,
.footer__inner a,
.section__eyebrow,
.eyebrow {
    font-family: "IBM Plex Mono", monospace;
    text-transform: uppercase;
}

.brand {
    color: var(--color-sand);
    font-size: 0.875rem;
    letter-spacing: 0.42em;
}

.hero__nav {
    display: flex;
    gap: 2rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
}

.hero__nav a:hover,
.footer__inner a:hover {
    color: #fff;
}

.hero__outline-action,
.hero__primary-action,
.hero__secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.5rem;
    border-radius: 999px;
    padding: 0.9rem 1.6rem;
    font-weight: 600;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.hero__outline-action {
    border: 1px solid rgba(215, 151, 76, 0.7);
    color: var(--color-sand);
}

.hero__outline-action:hover {
    border-color: var(--color-sand);
    background: var(--color-sand);
    color: var(--color-ink);
}

.hero__primary-action {
    background: var(--color-sand);
    color: var(--color-ink);
}

.hero__primary-action:hover {
    transform: translateY(-1px);
    background: var(--color-sand-bright);
}

.hero__secondary-action {
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
}

.hero__secondary-action:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.section {
    padding: 6rem 0;
}

.section--light {
    background: var(--color-paper);
    color: var(--color-ink);
}

.section--dark {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #07101c;
}

.section__heading {
    max-width: 48rem;
}

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--color-ink);
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.95rem;
}

.footer__inner a {
    color: var(--color-sand);
    letter-spacing: 0.28em;
    font-size: 0.78rem;
}

@media (max-width: 820px) {
    .hero__nav {
        display: none;
    }
    .hero__outline-action {
        display: none;
    }
    .hero__header {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero__inner,
    .section__inner,
    .footer__inner {
        width: min(var(--max-width), calc(100% - 1.5rem));
    }
    .section {
        padding: 4.5rem 0;
    }
    .footer__inner {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ── Produtos Catalog ── */

.pd-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.pd-product-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border: 1px solid var(--color-line-light);
    border-radius: 1.25rem;
    background: var(--color-paper);
    transition: border-color 200ms, transform 200ms, box-shadow 200ms;
}

a.pd-product-card { cursor: pointer; }

a.pd-product-card:hover {
    border-color: rgba(215, 151, 76, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(9, 17, 31, 0.08);
}

.pd-product-card--soon {
    opacity: 0.65;
}

.pd-product-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(215, 151, 76, 0.1);
    color: var(--color-accent);
    margin-bottom: 1.25rem;
}

.pd-product-card__tag {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.pd-product-card h3 {
    margin: 0;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--color-ink);
}

.pd-product-card p {
    margin: 0.75rem 0 0;
    color: var(--color-muted);
    font-size: 0.875rem;
    line-height: 1.7;
    flex: 1;
}

.pd-product-card__link {
    display: inline-block;
    margin-top: 1.25rem;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    font-weight: 600;
}

a.pd-product-card:hover .pd-product-card__link {
    color: var(--color-sand);
}

.pd-product-card__link--disabled {
    color: var(--color-muted);
    font-weight: 400;
}

.pd-back-link {
    display: inline-block;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.8125rem;
    color: rgba(247, 245, 239, 0.5);
    transition: color 180ms;
}

.pd-back-link:hover {
    color: var(--color-sand);
}

/* ── Produtos Demo Page ── */

.pd-intro-title {
    margin: 1.5rem 0 0;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
    max-width: 36rem;
    color: #fff;
}

.pd-intro-desc {
    margin: 1.5rem 0 0;
    max-width: 38rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1.1rem;
    line-height: 1.8;
}

.pd-demo-header { margin-bottom: 2.5rem; }

.pd-tag {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-sand);
    background: rgba(215, 151, 76, 0.1);
    border: 1px solid rgba(215, 151, 76, 0.25);
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
}

.pd-demo-title {
    margin: 1.25rem 0 0;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: #fff;
}

.pd-demo-subtitle {
    margin: 1rem 0 0;
    max-width: 38rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.8;
}

/* Workspace: two panels side-by-side */
.pd-workspace {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    min-height: 520px;
}

/* Context panel */
.pd-context {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-line-dark);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.pd-context-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-line-dark);
    background: rgba(215, 151, 76, 0.04);
}

.pd-context-icon {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: rgba(215, 151, 76, 0.12);
    color: var(--color-sand);
    flex-shrink: 0;
}

.pd-context-header strong {
    display: block;
    font-size: 0.875rem;
}

.pd-context-header span {
    display: block;
    font-size: 0.75rem;
    color: rgba(247, 245, 239, 0.45);
    margin-top: 0.1rem;
}

.pd-textarea {
    flex: 1;
    padding: 1.25rem;
    border: none;
    background: transparent;
    color: rgba(247, 245, 239, 0.82);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.8rem;
    line-height: 1.8;
    resize: none;
    outline: none;
    min-height: 300px;
}

.pd-textarea::placeholder { color: rgba(255, 255, 255, 0.2); }

.pd-context-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--color-line-dark);
    background: rgba(0, 0, 0, 0.15);
}

.pd-context-footer span {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.6875rem;
    color: rgba(247, 245, 239, 0.3);
}

.pd-context-footer button {
    background: none;
    border: 1px solid var(--color-line-dark);
    color: rgba(247, 245, 239, 0.5);
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 150ms;
    font-family: "Sora", sans-serif;
}

.pd-context-footer button:hover {
    border-color: var(--color-sand);
    color: var(--color-sand);
}

/* Chat panel — reuses chat-msg, chat-bubble from chat widget */
.pd-chat {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-line-dark);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.pd-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--color-line-dark);
    background: rgba(215, 151, 76, 0.04);
}

.pd-chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pd-chat-avatar {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(215, 151, 76, 0.15);
    color: var(--color-sand);
}

.pd-chat-header-info strong {
    display: block;
    font-size: 0.875rem;
    color: var(--color-paper);
}

.pd-chat-header-info span {
    display: block;
    font-size: 0.6875rem;
    color: var(--color-sand);
    margin-top: 0.1rem;
}

.pd-chat-clear {
    background: none; border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer; padding: 6px; border-radius: 8px;
    transition: all 150ms;
}

.pd-chat-clear:hover {
    color: var(--color-paper);
    background: rgba(255, 255, 255, 0.06);
}

.pd-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 350px;
    max-height: 450px;
    scroll-behavior: smooth;
}

.pd-chat-messages::-webkit-scrollbar { width: 4px; }
.pd-chat-messages::-webkit-scrollbar-track { background: transparent; }
.pd-chat-messages::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.08); border-radius: 4px; }

.pd-chat-welcome { text-align: center; padding: 2rem 1rem; }

.pd-chat-welcome-icon {
    width: 56px; height: 56px;
    margin: 0 auto 1rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(215, 151, 76, 0.1);
    color: var(--color-sand);
}

.pd-chat-welcome > p:first-of-type {
    margin: 0;
    font-size: 0.9375rem;
    color: rgba(247, 245, 239, 0.85);
    font-weight: 500;
}

.pd-chat-welcome-sub {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    color: rgba(247, 245, 239, 0.4);
}

.pd-chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.25rem;
}

.pd-chat-suggestions button {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.6875rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(215, 151, 76, 0.3);
    background: rgba(215, 151, 76, 0.06);
    color: var(--color-sand);
    cursor: pointer;
    transition: all 150ms;
}

.pd-chat-suggestions button:hover {
    background: rgba(215, 151, 76, 0.15);
    border-color: var(--color-sand);
}

.pd-chat-input-area {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid var(--color-line-dark);
    background: rgba(0, 0, 0, 0.2);
}

/* CTA card */
.pd-cta-card {
    padding: 3rem;
    border: 1px solid var(--color-line-light);
    border-radius: 1.5rem;
    background: var(--color-paper);
}

.pd-cta-icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: rgba(215, 151, 76, 0.12);
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.pd-cta-card h2 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.03em;
    color: var(--color-ink);
}

.pd-cta-card > p {
    margin: 1rem 0 0;
    max-width: 38rem;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.85;
}

.pd-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--color-line-light);
    border-bottom: 1px solid var(--color-line-light);
}

.pd-feature h3 {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--color-ink);
}

.pd-feature span {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    color: var(--color-muted);
    line-height: 1.6;
}

@media (max-width: 1080px) {
    .pd-workspace {
        grid-template-columns: 1fr;
    }
    .pd-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .pd-cta-card {
        padding: 2rem 1.5rem;
    }
}

/* ── AI Clinic Product Page ── */

.clinic-proto-hero-link {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(247, 245, 239, 0.2);
    border-radius: 999px;
    color: var(--color-sand);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.clinic-proto-hero-link:hover {
    background: rgba(247, 245, 239, 0.06);
    border-color: var(--color-sand);
    transform: translateY(-2px);
}

.clinic-section-title {
    margin: 1rem 0 0;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-ink);
}

.clinic-section-desc {
    margin: 1rem 0 0;
    max-width: 38rem;
    color: var(--color-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Architecture */
.clinic-arch {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.clinic-arch__surface {
    background: #fff;
    border: 1px solid var(--color-line-light);
    border-radius: 1.25rem;
    padding: 2rem 1.5rem;
    text-align: center;
}

.clinic-arch__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(215, 151, 76, 0.12);
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.clinic-arch__surface h4 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: var(--color-ink);
}

.clinic-arch__surface p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-muted);
}

.clinic-core {
    margin-top: 2rem;
    text-align: center;
    padding: 1.5rem 2rem;
    background: var(--color-ink);
    border-radius: 1rem;
}

.clinic-core__label {
    display: block;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--color-sand);
    margin-bottom: 0.75rem;
}

.clinic-core__items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.clinic-core__items span {
    display: inline-block;
    padding: 0.35rem 1rem;
    border: 1px solid var(--color-line-dark);
    border-radius: 999px;
    font-size: 0.85rem;
    color: rgba(247, 245, 239, 0.82);
}

/* Journey */
.clinic-journey {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.clinic-journey__step {
    position: relative;
    padding: 1.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-line-dark);
    border-radius: 1rem;
}

.clinic-journey__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-sand);
    color: var(--color-ink);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.clinic-journey__step h4 {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    color: var(--color-paper);
}

.clinic-journey__step p {
    margin: 0;
    font-size: 0.825rem;
    line-height: 1.55;
    color: rgba(247, 245, 239, 0.6);
}

/* Surfaces detail */
.clinic-surfaces {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.clinic-surface-block {
    background: #fff;
    border: 1px solid var(--color-line-light);
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem;
}

.clinic-surface-block__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.clinic-surface-block__header h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--color-ink);
}

.clinic-surface-block__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.clinic-surface-block__list li {
    position: relative;
    padding: 0.4rem 0 0.4rem 1.25rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-muted);
}

.clinic-surface-block__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-sand);
}

/* Differentiator */
.clinic-diff {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.clinic-diff__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.clinic-diff__col li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(247, 245, 239, 0.68);
}

.clinic-diff__col li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.clinic-diff__label {
    font-size: 0.8rem;
    font-family: "IBM Plex Mono", monospace;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0 0 1rem;
}

.clinic-diff__label--old {
    color: rgba(247, 245, 239, 0.4);
}

.clinic-diff__label--new {
    color: var(--color-sand);
}

.clinic-diff__col:first-child li::before {
    background: rgba(247, 245, 239, 0.2);
}

.clinic-diff__col:last-child li::before {
    background: var(--color-sand);
}

/* Specialties */
.clinic-specialties {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.clinic-specialty {
    flex: 0 1 260px;
    padding: 2rem 1.5rem;
    background: #fff;
    border: 1px solid var(--color-line-light);
    border-radius: 1.25rem;
    text-align: center;
}

.clinic-specialty__icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.clinic-specialty h4 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    color: var(--color-ink);
}

.clinic-specialty p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--color-muted);
}

/* Migration */
.clinic-migration {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.clinic-migration__text { }

.clinic-migration__list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.clinic-migration__list li {
    position: relative;
    padding: 0.4rem 0 0.4rem 1.5rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--color-muted);
}

.clinic-migration__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-sand);
    font-weight: 700;
}

.clinic-migration__visual {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    justify-content: center;
}

.clinic-migration__from,
.clinic-migration__to {
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
}

.clinic-migration__from {
    background: rgba(9, 17, 31, 0.04);
    border: 1px dashed var(--color-line-light);
    flex: 1;
}

.clinic-migration__from > span,
.clinic-migration__to > span {
    display: block;
    font-size: 0.7rem;
    font-family: "IBM Plex Mono", monospace;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 0.75rem;
}

.clinic-migration__systems {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.clinic-migration__systems span {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border: 1px solid var(--color-line-light);
    border-radius: 999px;
    font-size: 0.8rem;
    color: var(--color-muted);
    background: #fff;
}

.clinic-migration__arrow {
    font-size: 1.5rem;
    color: var(--color-sand);
    font-weight: 700;
    flex-shrink: 0;
}

.clinic-migration__to {
    background: var(--color-ink);
    border: 1px solid var(--color-line-dark);
    flex: 0 0 auto;
    padding: 1.5rem 2rem;
}

.clinic-migration__to > span {
    color: var(--color-sand) !important;
    font-size: 0.85rem !important;
    font-weight: 600;
    margin-bottom: 0 !important;
}

@media (max-width: 900px) {
    .clinic-migration {
        grid-template-columns: 1fr;
    }

    .clinic-migration__visual {
        flex-direction: column;
    }

    .clinic-migration__arrow {
        transform: rotate(90deg);
    }
}

/* Protótipos */
.clinic-protos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.clinic-proto-card {
    display: flex;
    flex-direction: column;
    background: rgba(247, 245, 239, 0.04);
    border: 1px solid rgba(247, 245, 239, 0.08);
    border-radius: 1rem;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

.clinic-proto-card:hover {
    background: rgba(247, 245, 239, 0.07);
    border-color: rgba(247, 245, 239, 0.15);
    transform: translateY(-3px);
}

.clinic-proto-card__icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.clinic-proto-card h4 {
    color: var(--color-paper);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.clinic-proto-card p {
    color: rgba(247, 245, 239, 0.6);
    font-size: 0.85rem;
    line-height: 1.5;
    flex: 1;
}

.clinic-proto-card__link {
    display: inline-block;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(247, 245, 239, 0.06);
    color: var(--color-sand);
    font-size: 0.85rem;
    font-weight: 600;
}

.clinic-proto-card--wa:hover { border-color: rgba(37, 211, 102, 0.3); }
.clinic-proto-card--web:hover { border-color: rgba(38, 102, 191, 0.3); }
.clinic-proto-card--app:hover { border-color: rgba(26, 166, 161, 0.3); }
.clinic-proto-card--vision:hover { border-color: rgba(124, 92, 255, 0.3); }

@media (max-width: 600px) {
    .clinic-protos {
        grid-template-columns: 1fr;
    }
}

/* CTA */
.clinic-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.5rem;
    border-radius: 999px;
    background: var(--color-sand);
    padding: 0.875rem 2rem;
    color: var(--color-ink);
    font-weight: 600;
    font-size: 1.05rem;
    transition: transform 180ms ease, background-color 180ms ease;
}

.clinic-cta-btn:hover {
    transform: translateY(-2px);
    background: var(--color-sand-bright);
}

/* Responsive */
@media (max-width: 900px) {
    .clinic-arch {
        grid-template-columns: 1fr;
    }

    .clinic-journey {
        grid-template-columns: repeat(2, 1fr);
    }

    .clinic-surfaces {
        grid-template-columns: 1fr;
    }

    .clinic-diff {
        grid-template-columns: 1fr;
    }

    .clinic-specialties {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 640px) {
    .clinic-journey {
        grid-template-columns: 1fr;
    }
}

/* ── Automação Product Page ── */

/* Copilot demo */
.auto-copilot-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 2.5rem;
    align-items: start;
}

.auto-copilot-demo__explanation h4 {
    margin: 0 0 1.5rem;
    font-size: 1.15rem;
    color: var(--color-ink);
}

.auto-copilot-steps {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auto-copilot-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.auto-copilot-step__num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-sand);
    color: var(--color-ink);
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 2px;
}

.auto-copilot-step strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-ink);
    margin-bottom: 0.2rem;
}

.auto-copilot-step p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-muted);
}

/* Copilot chat example */
.auto-copilot-chat {
    border: 1px solid var(--color-line-light);
    border-radius: 1.25rem;
    overflow: hidden;
    background: #fff;
}

.auto-copilot-chat__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    background: var(--color-ink);
    color: var(--color-sand);
    font-size: 0.85rem;
    font-weight: 600;
}

.auto-copilot-chat__messages {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auto-copilot-msg {
    padding: 0.875rem 1rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    line-height: 1.6;
}

.auto-copilot-msg--user {
    background: var(--color-ink);
    color: var(--color-paper);
    align-self: flex-end;
    max-width: 90%;
    border-bottom-right-radius: 0.25rem;
}

.auto-copilot-msg--ai {
    background: rgba(215, 151, 76, 0.08);
    color: var(--color-ink);
    border-bottom-left-radius: 0.25rem;
}

/* Pipeline */
.auto-pipeline {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: 2.5rem;
}

.auto-pipeline__stage {
    flex: 1;
    padding: 1.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-line-dark);
    border-radius: 1rem;
    text-align: center;
}

.auto-pipeline__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(215, 151, 76, 0.15);
    color: var(--color-sand);
    margin-bottom: 0.75rem;
}

.auto-pipeline__stage h4 {
    margin: 0 0 0.4rem;
    font-size: 0.95rem;
    color: var(--color-paper);
}

.auto-pipeline__stage p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(247, 245, 239, 0.55);
}

.auto-pipeline__arrow {
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    color: var(--color-sand);
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* IoT example */
.auto-iot-example {
    margin-top: 2.5rem;
    border: 1px solid var(--color-line-dark);
    border-radius: 1.25rem;
    overflow: hidden;
}

.auto-iot-example__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: rgba(215, 151, 76, 0.1);
    color: var(--color-sand);
    font-size: 0.85rem;
    font-weight: 600;
}

.auto-iot-example__body {
    padding: 1.5rem;
}

.auto-iot-example__flow {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.auto-iot-flow-item {
    flex: 1;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-line-dark);
    border-radius: 0.75rem;
    text-align: center;
}

.auto-iot-flow-item__label {
    display: block;
    font-size: 0.7rem;
    font-family: "IBM Plex Mono", monospace;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-sand);
    margin-bottom: 0.4rem;
}

.auto-iot-flow-item__detail {
    display: block;
    font-size: 0.8rem;
    line-height: 1.45;
    color: rgba(247, 245, 239, 0.6);
}

.auto-iot-flow-arrow {
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    color: var(--color-sand);
    font-weight: 700;
    flex-shrink: 0;
}

.auto-iot-example__result {
    margin: 1.25rem 0 0;
    padding: 1rem 1.25rem;
    background: rgba(215, 151, 76, 0.06);
    border-radius: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(247, 245, 239, 0.75);
}

/* Delivery model */
.auto-delivery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.auto-delivery__card {
    background: #fff;
    border: 1px solid var(--color-line-light);
    border-radius: 1.25rem;
    padding: 2rem 1.5rem;
}

.auto-delivery__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(215, 151, 76, 0.12);
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.auto-delivery__card h4 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    color: var(--color-ink);
}

.auto-delivery__card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-muted);
}

/* Use cases */
.auto-usecases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.auto-usecase {
    padding: 1.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-line-dark);
    border-radius: 1rem;
}

.auto-usecase h4 {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    color: var(--color-sand);
}

.auto-usecase p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.55;
    color: rgba(247, 245, 239, 0.6);
}

/* CTA */
.auto-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.5rem;
    border-radius: 999px;
    background: var(--color-sand);
    padding: 0.875rem 2rem;
    color: var(--color-ink);
    font-weight: 600;
    font-size: 1.05rem;
    transition: transform 180ms ease, background-color 180ms ease;
}

.auto-cta-btn:hover {
    transform: translateY(-2px);
    background: var(--color-sand-bright);
}

/* Responsive */
@media (max-width: 900px) {
    .auto-copilot-demo {
        grid-template-columns: 1fr;
    }

    .auto-pipeline {
        flex-direction: column;
        gap: 0.75rem;
    }

    .auto-pipeline__arrow {
        justify-content: center;
        transform: rotate(90deg);
        padding: 0.25rem 0;
    }

    .auto-iot-example__flow {
        flex-direction: column;
        gap: 0.5rem;
    }

    .auto-iot-flow-arrow {
        justify-content: center;
        transform: rotate(90deg);
        padding: 0.25rem 0;
    }

    .auto-delivery {
        grid-template-columns: 1fr;
    }

    .auto-usecases {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .auto-delivery {
        grid-template-columns: 1fr;
    }
}

/* ── Governança Product Page ── */

/* Data sources */
.gov-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.gov-source {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1.25rem;
    border: 1px solid var(--color-line-light);
    border-radius: 999px;
    background: #fff;
    font-size: 0.875rem;
    color: var(--color-muted);
}

.gov-source__icon {
    display: flex;
    color: var(--color-accent);
}

/* Flow summary */
.gov-flow-summary {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: 2.5rem;
}

.gov-flow-summary__item {
    flex: 1;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--color-line-light);
    border-radius: 1rem;
    text-align: center;
}

.gov-flow-summary__item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-ink);
    margin-bottom: 0.35rem;
}

.gov-flow-summary__item p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--color-muted);
}

.gov-flow-summary__arrow {
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    color: var(--color-sand);
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* KPIs */
.gov-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.gov-kpi-area {
    padding: 1.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-line-dark);
    border-radius: 1rem;
}

.gov-kpi-area h4 {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    color: var(--color-sand);
}

.gov-kpi-area ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gov-kpi-area li {
    padding: 0.3rem 0;
    font-size: 0.825rem;
    line-height: 1.45;
    color: rgba(247, 245, 239, 0.6);
    position: relative;
    padding-left: 1rem;
}

.gov-kpi-area li::before {
    content: "·";
    position: absolute;
    left: 0;
    color: var(--color-sand);
    font-weight: 700;
}

/* KPI process */
.gov-kpi-process {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.gov-kpi-process__step {
    flex: 1;
    padding: 1.25rem;
    border: 1px solid var(--color-line-dark);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.03);
}

.gov-kpi-process__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-sand);
    color: var(--color-ink);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.gov-kpi-process__step strong {
    display: block;
    font-size: 0.9rem;
    color: var(--color-paper);
    margin-bottom: 0.3rem;
}

.gov-kpi-process__step p {
    margin: 0;
    font-size: 0.825rem;
    line-height: 1.5;
    color: rgba(247, 245, 239, 0.55);
}

/* Dashboard preview */
.gov-dashboard-preview {
    margin-top: 2.5rem;
    border: 1px solid var(--color-line-light);
    border-radius: 1.25rem;
    overflow: hidden;
    background: #fff;
}

.gov-dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1.5rem;
    background: var(--color-ink);
}

.gov-dash-header__title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-paper);
}

.gov-dash-header__date {
    font-size: 0.75rem;
    color: rgba(247, 245, 239, 0.5);
    font-family: "IBM Plex Mono", monospace;
}

.gov-dash-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--color-line-light);
    border-bottom: 1px solid var(--color-line-light);
}

.gov-dash-card {
    padding: 1.25rem 1.5rem;
    background: #fff;
}

.gov-dash-card--highlight {
    background: rgba(215, 151, 76, 0.06);
}

.gov-dash-card__label {
    display: block;
    font-size: 0.7rem;
    font-family: "IBM Plex Mono", monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 0.35rem;
}

.gov-dash-card__value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-ink);
    line-height: 1.1;
}

.gov-dash-card__trend {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.gov-dash-card__trend--up {
    color: #22863a;
}

.gov-dash-card__trend--down {
    color: #22863a;
}

.gov-dash-card__sub {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.75rem;
    color: var(--color-muted);
}

/* Bar chart */
.gov-dash-bar-chart {
    padding: 1.25rem 1.5rem 1.5rem;
}

.gov-dash-bar-chart__title {
    display: block;
    font-size: 0.75rem;
    font-family: "IBM Plex Mono", monospace;
    color: var(--color-muted);
    margin-bottom: 1rem;
}

.gov-dash-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 100px;
}

.gov-dash-bar {
    flex: 1;
    background: rgba(215, 151, 76, 0.2);
    border-radius: 4px 4px 0 0;
    height: var(--bar-h);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

.gov-dash-bar span {
    position: absolute;
    bottom: -1.4rem;
    font-size: 0.65rem;
    color: var(--color-muted);
}

.gov-dash-bar--current {
    background: var(--color-sand);
}

/* Audit demo */
.gov-audit-demo {
    margin-top: 2.5rem;
}

.gov-audit-chat {
    border: 1px solid var(--color-line-dark);
    border-radius: 1.25rem;
    overflow: hidden;
}

.gov-audit-chat__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: rgba(215, 151, 76, 0.1);
    color: var(--color-sand);
    font-size: 0.85rem;
    font-weight: 600;
}

.gov-audit-chat__messages {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.gov-audit-msg {
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    line-height: 1.65;
}

.gov-audit-msg--user {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--color-line-dark);
    color: var(--color-paper);
    max-width: 85%;
    align-self: flex-end;
    border-bottom-right-radius: 0.25rem;
}

.gov-audit-msg--ai {
    background: rgba(215, 151, 76, 0.06);
    border: 1px solid rgba(215, 151, 76, 0.15);
    color: rgba(247, 245, 239, 0.85);
    border-bottom-left-radius: 0.25rem;
}

/* QA demo */
.gov-qa-demo {
    margin-top: 2.5rem;
}

.gov-qa-thread {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.gov-qa-item {
    border: 1px solid var(--color-line-light);
    border-radius: 1.25rem;
    overflow: hidden;
}

.gov-qa-item__q {
    padding: 1rem 1.5rem;
    background: var(--color-ink);
    color: var(--color-paper);
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 500;
}

.gov-qa-item__a {
    padding: 1.25rem 1.5rem;
    background: #fff;
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--color-ink);
}

/* Responsive */
@media (max-width: 900px) {
    .gov-kpis {
        grid-template-columns: repeat(2, 1fr);
    }

    .gov-kpi-process {
        flex-direction: column;
    }

    .gov-flow-summary {
        flex-direction: column;
        gap: 0.75rem;
    }

    .gov-flow-summary__arrow {
        justify-content: center;
        transform: rotate(90deg);
        padding: 0.25rem 0;
    }

    .gov-dash-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .gov-kpis {
        grid-template-columns: 1fr;
    }

    .gov-dash-grid {
        grid-template-columns: 1fr;
    }

    .gov-sources {
        justify-content: flex-start;
    }
}

/* ── Chat Widget ── */
.chat-widget { position: fixed; bottom: 24px; right: 24px; z-index: 50; font-family: "Sora", sans-serif; }

.chat-fab {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--color-sand);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 24px rgba(215, 151, 76, 0.4);
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    position: relative;
}
.chat-fab:hover { transform: scale(1.08); box-shadow: 0 6px 32px rgba(215, 151, 76, 0.55); }
.chat-fab--hidden { opacity: 0; pointer-events: none; transform: scale(0.6); }

.chat-fab-pulse {
    position: absolute; inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--color-sand);
    animation: chat-pulse 2s ease-out infinite;
}
@keyframes chat-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

.chat-panel {
    position: fixed; bottom: 24px; right: 24px;
    width: 380px; max-width: calc(100vw - 32px);
    height: 560px; max-height: calc(100vh - 48px);
    border-radius: 20px; overflow: hidden;
    display: flex; flex-direction: column;
    background: var(--color-ink);
    border: 1px solid var(--color-line-dark);
    box-shadow: 0 12px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
    animation: chat-slide-up 0.25s ease-out;
}
@keyframes chat-slide-up {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px;
    background: rgba(215, 151, 76, 0.08);
    border-bottom: 1px solid var(--color-line-dark);
}
.chat-header img { width: 32px; height: 32px; }
.chat-header p { margin: 0; }
.chat-header > div { display: flex; align-items: center; gap: 12px; }
.chat-header > div > div > p:first-child { font-weight: 600; font-size: 0.875rem; color: var(--color-paper); }
.chat-header > div > div > p:last-child { font-size: 0.6875rem; color: var(--color-sand); }
.chat-close {
    background: none; border: none; color: rgba(255,255,255,0.4);
    cursor: pointer; padding: 4px; border-radius: 8px;
    transition: color 0.15s, background 0.15s;
}
.chat-close:hover { color: var(--color-paper); background: rgba(255,255,255,0.08); }
.chat-close svg { width: 20px; height: 20px; }

.chat-messages {
    flex: 1; overflow-y: auto; padding: 16px;
    display: flex; flex-direction: column; gap: 12px;
    scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 4px; }

.chat-welcome { text-align: center; padding: 20px 8px; }
.chat-welcome img { width: 64px; height: 64px; margin: 0 auto 12px; opacity: 0.8; }
.chat-welcome > p:first-of-type { font-size: 0.875rem; color: rgba(247,245,239,0.8); font-weight: 500; margin: 0; }
.chat-welcome > p:last-of-type { font-size: 0.75rem; color: rgba(247,245,239,0.45); margin: 4px 0 0; }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 14px; }
.chat-suggestion {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.6875rem; padding: 6px 12px;
    border-radius: 16px; border: 1px solid rgba(215, 151, 76, 0.3);
    background: rgba(215, 151, 76, 0.06); color: var(--color-sand);
    cursor: pointer; transition: all 0.15s;
}
.chat-suggestion:hover { background: rgba(215, 151, 76, 0.15); border-color: var(--color-sand); }

.chat-msg { display: flex; }
.chat-msg--user { justify-content: flex-end; }
.chat-msg--bot  { justify-content: flex-start; }

.chat-bubble {
    max-width: 85%; padding: 10px 14px;
    border-radius: 16px; font-size: 0.8125rem; line-height: 1.6;
    word-break: break-word;
}
.chat-bubble--user {
    background: var(--color-sand);
    color: var(--color-ink); border-bottom-right-radius: 4px;
    font-weight: 500;
}
.chat-bubble--bot {
    background: rgba(255,255,255,0.05);
    color: var(--color-paper); border-bottom-left-radius: 4px;
    border: 1px solid var(--color-line-dark);
}
.chat-bubble--bot strong { color: var(--color-sand-bright); }
.chat-bubble--typing {
    display: flex; align-items: center; gap: 4px; padding: 12px 16px; min-height: auto;
}
.typing-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(247, 245, 239, 0.4);
    animation: typingBounce 1.2s infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-5px); opacity: 1; }
}
.chat-link { color: var(--color-sand); text-decoration: underline; text-underline-offset: 2px; }
.chat-link:hover { color: var(--color-sand-bright); }

.chat-input-area {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid var(--color-line-dark);
    background: rgba(0,0,0,0.2);
}
.chat-input {
    flex: 1; background: rgba(255,255,255,0.05);
    border: 1px solid var(--color-line-dark);
    border-radius: 12px; padding: 10px 14px;
    color: var(--color-paper); font-size: 0.8125rem; outline: none;
    font-family: "Sora", sans-serif;
    transition: border-color 0.15s;
}
.chat-input::placeholder { color: rgba(255,255,255,0.25); }
.chat-input:focus { border-color: rgba(215, 151, 76, 0.5); }
.chat-send {
    width: 38px; height: 38px; border-radius: 12px;
    background: var(--color-sand);
    border: none; color: var(--color-ink); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.15s, transform 0.15s;
}
.chat-send svg { width: 20px; height: 20px; }
.chat-send:hover:not(:disabled) { transform: scale(1.05); background: var(--color-sand-bright); }
.chat-send:disabled { opacity: 0.35; cursor: not-allowed; }

@media (max-width: 480px) {
    .chat-panel {
        bottom: 0; right: 0; left: 0;
        width: 100%; max-width: 100%;
        height: 100vh; max-height: 100vh;
        border-radius: 0;
    }
    .chat-widget { bottom: 16px; right: 16px; }
}

/* =============================================
   MEU BOLSO IA — Product Page
   ============================================= */

/* Soon badge */
.pd-product-card--soon { opacity: 0.7; position: relative; }
.pd-product-card--soon:hover { opacity: 0.85; }
.pd-product-card__soon-badge {
    display: inline-block;
    background: #eab308;
    color: #0a0a0a;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 6px;
    letter-spacing: 0.5px;
    vertical-align: middle;
}
.bolso-soon-hero {
    display: inline-block;
    background: #eab308;
    color: #0a0a0a;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    margin-left: 8px;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

/* Pillar pills */
.bolso-pillars { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.bolso-pillar {
    background: rgba(247,245,239,0.08);
    border: 1px solid rgba(247,245,239,0.15);
    color: var(--color-sand);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 999px;
}

/* ── Chat Demo ── */
.bolso-chat-demo { display: flex; gap: 2.5rem; align-items: flex-start; margin-top: 2rem; }

.bolso-phone {
    width: 320px; flex-shrink: 0;
    background: #1a1a1a;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: 6px solid #1a1a1a;
}
.bolso-phone__notch {
    width: 100px; height: 22px;
    background: #1a1a1a;
    border-radius: 0 0 14px 14px;
    margin: 0 auto;
}
.bolso-phone__status {
    display: flex; justify-content: space-between;
    padding: 4px 20px 8px;
    font-size: 11px; color: #999;
    background: #f7f7f7;
}
.bolso-phone__header {
    background: var(--color-sand);
    color: #0a0a0a;
    padding: 10px 16px;
    font-size: 14px; font-weight: 700;
}
.bolso-phone__chat {
    background: #f0f2f5;
    min-height: 480px;
    max-height: 520px;
    overflow-y: auto;
    padding: 12px;
    display: flex; flex-direction: column; gap: 8px;
}
.bolso-phone__empty { text-align: center; padding: 60px 16px; color: #999; font-size: 13px; }
.bolso-phone__input {
    background: #fff;
    padding: 12px 16px;
    font-size: 13px; color: #aaa;
    border-top: 1px solid #e5e7eb;
}
.bolso-phone__home-bar {
    background: #f7f7f7;
    padding: 8px 0;
    display: flex;
    justify-content: center;
}
.bolso-phone__home-bar span {
    width: 120px;
    height: 4px;
    background: #c0c0c0;
    border-radius: 2px;
}

.bolso-msg { max-width: 85%; font-size: 13px; line-height: 1.4; }
.bolso-msg--user {
    align-self: flex-end;
    background: #d9fdd3; color: #1a1a1a;
    padding: 8px 12px; border-radius: 12px 12px 4px 12px;
}
.bolso-msg--ai { align-self: flex-start; }

.bolso-cat-card {
    background: #fff; border-radius: 12px;
    padding: 10px 12px; border: 1px solid #e5e7eb;
}
.bolso-cat-card__head { display: flex; align-items: center; gap: 8px; }
.bolso-cat-card__icon { font-size: 20px; }
.bolso-cat-card__head strong { font-size: 13px; display: block; }
.bolso-cat-card__sub { font-size: 10px; color: #6b7280; }
.bolso-cat-card__value { margin-left: auto; font-size: 15px; font-weight: 700; color: #1a1a1a; }
.bolso-cat-card__bar { height: 6px; background: #e5e7eb; border-radius: 3px; margin: 8px 0 6px; }
.bolso-cat-card__fill { height: 100%; border-radius: 3px; transition: width 0.5s ease; }
.bolso-cat-card__footer { display: flex; justify-content: space-between; font-size: 10px; color: #6b7280; }

.bolso-chat-suggestions { display: flex; flex-direction: column; gap: 8px; }
.bolso-chat-suggestions p { font-size: 0.85rem; font-weight: 600; color: var(--color-ink); margin-bottom: 4px; }
.bolso-chat-suggestions button {
    background: var(--color-sand);
    color: var(--color-ink);
    border: none; border-radius: 999px;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem; font-weight: 600;
    cursor: pointer; transition: transform 0.15s, opacity 0.15s;
    text-align: left;
}
.bolso-chat-suggestions button:hover { transform: translateY(-2px); opacity: 0.9; }
.bolso-chat-clear { background: transparent !important; color: var(--color-muted) !important; border: 1px solid var(--color-line-light) !important; }

/* ── Timeline ── */
.bolso-timeline {
    background: rgba(247,245,239,0.04);
    border: 1px solid rgba(247,245,239,0.08);
    border-radius: 1rem;
    overflow: hidden;
    margin-top: 2rem;
}
.bolso-timeline__filters {
    display: flex; gap: 6px; padding: 14px 16px;
    border-bottom: 1px solid rgba(247,245,239,0.06);
    flex-wrap: wrap;
}
.bolso-timeline__filter {
    padding: 4px 12px; border-radius: 999px;
    font-size: 11px; font-weight: 600;
    background: rgba(247,245,239,0.06);
    color: rgba(247,245,239,0.5);
    cursor: pointer;
}
.bolso-timeline__filter--active { background: var(--color-sand); color: var(--color-ink); }
.bolso-timeline__filter--ana { border: 1px solid #2ecc71; }
.bolso-timeline__filter--pedro { border: 1px solid #3498db; }
.bolso-timeline__filter--joao { border: 1px solid #f1c40f; }
.bolso-timeline__filter--maria { border: 1px solid #9b59b6; }

.bolso-timeline__date {
    padding: 10px 16px;
    font-size: 11px; font-weight: 600;
    color: rgba(247,245,239,0.4);
    letter-spacing: 0.5px;
}

.bolso-timeline__entry {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(247,245,239,0.04);
    transition: background 0.15s;
}
.bolso-timeline__entry:hover { background: rgba(247,245,239,0.03); }

.bolso-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.bolso-avatar--ana { background: #2ecc71; }
.bolso-avatar--pedro { background: #3498db; }
.bolso-avatar--joao { background: #f1c40f; color: #1a1a1a; }
.bolso-avatar--maria { background: #9b59b6; }

.bolso-timeline__info { flex: 1; min-width: 0; }
.bolso-timeline__info strong { font-size: 13px; color: var(--color-paper); display: block; }
.bolso-timeline__info span { font-size: 12px; color: rgba(247,245,239,0.5); }

.bolso-timeline__cat {
    font-size: 10px; font-weight: 600;
    padding: 3px 8px; border-radius: 999px;
    flex-shrink: 0;
}
.bolso-timeline__cat--alimentacao { background: rgba(230,126,34,0.15); color: #e67e22; }
.bolso-timeline__cat--transporte { background: rgba(52,152,219,0.15); color: #3498db; }
.bolso-timeline__cat--saude { background: rgba(231,76,60,0.15); color: #e74c3c; }
.bolso-timeline__cat--assinaturas { background: rgba(155,89,182,0.15); color: #9b59b6; }
.bolso-timeline__cat--dividas { background: rgba(241,196,15,0.15); color: #f1c40f; }

.bolso-timeline__val { font-size: 14px; font-weight: 700; color: var(--color-paper); min-width: 80px; text-align: right; }
.bolso-timeline__time { font-size: 11px; color: rgba(247,245,239,0.3); min-width: 36px; text-align: right; }

.bolso-timeline__summary {
    padding: 12px 16px;
    font-size: 12px; color: rgba(247,245,239,0.5);
    border-top: 1px solid rgba(247,245,239,0.06);
    text-align: center;
}
.bolso-timeline__summary strong { color: var(--color-paper); }

/* ── Categorization examples ── */
.bolso-cat-examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; }
.bolso-cat-example {
    background: var(--color-paper);
    border: 1px solid var(--color-line-light);
    border-radius: 1rem;
    padding: 1.2rem;
    text-align: center;
}
.bolso-cat-example__input {
    font-size: 0.85rem; color: var(--color-muted);
    font-style: italic; margin-bottom: 0.5rem;
}
.bolso-cat-example__arrow { font-size: 1.2rem; color: var(--color-sand); margin-bottom: 0.5rem; }
.bolso-cat-example__output { font-size: 0.9rem; color: var(--color-ink); }
.bolso-cat-example__output span { font-size: 1.2rem; }

/* ── Budget Dashboard ── */
.bolso-dashboard {
    background: var(--color-paper);
    border: 1px solid var(--color-line-light);
    border-radius: 1rem;
    overflow: hidden;
}
.bolso-dashboard__header {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--color-line-light);
}
.bolso-dashboard__header h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; }
.bolso-dashboard__totals { display: flex; gap: 2rem; }
.bolso-dashboard__totals div { display: flex; flex-direction: column; }
.bolso-dashboard__totals span { font-size: 0.7rem; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.bolso-dashboard__totals strong { font-size: 1.1rem; }

.bolso-dashboard__rows { padding: 0.5rem 1.5rem; }

.bolso-budget-row { display: flex; align-items: center; gap: 1rem; padding: 0.6rem 0; }
.bolso-budget-row__label { font-size: 0.85rem; font-weight: 500; min-width: 120px; }
.bolso-budget-row__bar { flex: 1; height: 8px; background: #e5e7eb; border-radius: 4px; overflow: hidden; }
.bolso-budget-row__fill { height: 100%; border-radius: 4px; transition: width 0.5s ease; }
.bolso-budget-row__fill--ok { background: #2ecc71; }
.bolso-budget-row__fill--caution { background: #f1c40f; }
.bolso-budget-row__fill--warning { background: #e67e22; }
.bolso-budget-row__fill--danger { background: #e74c3c; }
.bolso-budget-row__nums { font-size: 0.8rem; font-weight: 600; min-width: 120px; text-align: right; }
.bolso-budget-row__nums span { color: var(--color-muted); font-weight: 400; }

.bolso-dashboard__alert {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem; font-weight: 600;
    color: #e67e22;
    border-top: 1px solid var(--color-line-light);
    background: rgba(230,126,34,0.04);
}

/* ── Advice Cards ── */
.bolso-advices { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.bolso-advice {
    background: rgba(247,245,239,0.04);
    border: 1px solid rgba(247,245,239,0.08);
    border-radius: 1rem;
    padding: 1.2rem;
    border-left: 4px solid;
}
.bolso-advice--warning { border-left-color: #e67e22; }
.bolso-advice--danger { border-left-color: #e74c3c; }
.bolso-advice--ok { border-left-color: #2ecc71; }
.bolso-advice--summary { border-left-color: var(--color-sand); background: rgba(201,164,74,0.06); }

.bolso-advice__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.bolso-advice__head span:first-child { font-size: 0.9rem; font-weight: 700; color: var(--color-paper); }
.bolso-advice__badge {
    font-size: 11px; font-weight: 700;
    padding: 2px 8px; border-radius: 999px;
}
.bolso-advice__badge--warning { background: rgba(230,126,34,0.2); color: #e67e22; }
.bolso-advice__badge--danger { background: rgba(231,76,60,0.2); color: #e74c3c; }
.bolso-advice__badge--ok { background: rgba(46,204,113,0.2); color: #2ecc71; }

.bolso-advice p { font-size: 0.85rem; line-height: 1.6; color: rgba(247,245,239,0.7); }
.bolso-advice p strong { color: var(--color-paper); }

/* ── Projects ── */
.bolso-projects { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.bolso-project {
    background: var(--color-paper);
    border: 1px solid var(--color-line-light);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}
.bolso-project__ring {
    width: 100px; height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex; align-items: center; justify-content: center;
}
.bolso-project__ring-inner {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--color-paper);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 700; color: var(--color-ink);
}
.bolso-project h4 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.bolso-project__meta { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1rem; }
.bolso-project__meta div { display: flex; flex-direction: column; }
.bolso-project__meta span { font-size: 0.7rem; color: var(--color-muted); text-transform: uppercase; }
.bolso-project__meta strong { font-size: 0.95rem; }
.bolso-project__members { display: flex; justify-content: center; gap: 1rem; margin-bottom: 1rem; font-size: 0.8rem; font-weight: 500; }
.bolso-project__members > div { display: flex; align-items: center; gap: 4px; }
.bolso-project__ai {
    background: rgba(201,164,74,0.08);
    border-radius: 8px; padding: 0.6rem 0.8rem;
    font-size: 0.8rem; color: var(--color-muted);
    line-height: 1.4;
}
.bolso-project__ai strong { color: var(--color-ink); }

/* ── Debt Plan ── */
.bolso-debt { margin-top: 2rem; }
.bolso-debt__table {
    background: rgba(247,245,239,0.04);
    border: 1px solid rgba(247,245,239,0.08);
    border-radius: 1rem;
    overflow: hidden;
}
.bolso-debt__row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 0.8fr;
    padding: 0.75rem 1.2rem;
    font-size: 0.85rem;
    color: rgba(247,245,239,0.7);
    border-bottom: 1px solid rgba(247,245,239,0.04);
    align-items: center;
}
.bolso-debt__row--header {
    font-size: 0.7rem; font-weight: 700;
    color: rgba(247,245,239,0.4);
    text-transform: uppercase; letter-spacing: 0.5px;
    background: rgba(247,245,239,0.02);
}
.bolso-debt__priority {
    background: var(--color-sand); color: var(--color-ink);
    font-size: 11px; font-weight: 700;
    padding: 2px 10px; border-radius: 999px;
    text-align: center; width: fit-content;
}

.bolso-debt__chart {
    background: rgba(247,245,239,0.04);
    border: 1px solid rgba(247,245,239,0.08);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 1rem;
}
.bolso-debt__chart h4 { font-size: 0.85rem; font-weight: 600; color: rgba(247,245,239,0.5); margin-bottom: 1rem; }
.bolso-debt__bars { display: flex; align-items: flex-end; justify-content: center; gap: 1.5rem; height: 160px; }
.bolso-debt__bar-col { display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; }
.bolso-debt__bar {
    width: 48px; border-radius: 6px 6px 0 0;
    background: #e74c3c;
    transition: height 0.5s ease;
}
.bolso-debt__bar-col span { font-size: 10px; color: rgba(247,245,239,0.4); margin-top: 6px; }
.bolso-debt__bar-val { font-size: 10px; font-weight: 600; color: rgba(247,245,239,0.6); }

.bolso-debt__ai {
    background: rgba(201,164,74,0.08);
    border: 1px solid rgba(201,164,74,0.15);
    border-radius: 1rem;
    padding: 1rem 1.2rem;
    margin-top: 1rem;
    font-size: 0.85rem; color: rgba(247,245,239,0.7);
    line-height: 1.5;
}
.bolso-debt__ai strong { color: var(--color-paper); }

/* ── Debt Plan — Light bg overrides ── */
.section--light .bolso-debt__table {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.08);
}
.section--light .bolso-debt__row {
    color: var(--color-muted);
    border-bottom-color: rgba(0,0,0,0.06);
}
.section--light .bolso-debt__row--header {
    color: rgba(0,0,0,0.45);
    background: rgba(0,0,0,0.02);
}
.section--light .bolso-debt__chart {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.08);
}
.section--light .bolso-debt__chart h4 { color: var(--color-muted); }
.section--light .bolso-debt__bar-col span { color: rgba(0,0,0,0.4); }
.section--light .bolso-debt__bar-val { color: rgba(0,0,0,0.6); }
.section--light .bolso-debt__ai {
    background: rgba(201,164,74,0.1);
    border-color: rgba(201,164,74,0.2);
    color: var(--color-muted);
}
.section--light .bolso-debt__ai strong { color: var(--color-ink); }

/* ── Tracker Cards ── */
.bolso-tracker-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.bolso-tracker {
    background: rgba(247,245,239,0.04);
    border: 1px solid rgba(247,245,239,0.08);
    border-radius: 1rem;
    padding: 1.5rem;
}
.bolso-tracker__head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
}
.bolso-tracker__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.bolso-tracker__head > div {
    flex: 1;
    min-width: 0;
}
.bolso-tracker__head strong {
    display: block;
    font-size: 1rem;
    color: var(--color-paper);
}
.bolso-tracker__origin {
    display: block;
    font-size: 0.75rem;
    color: rgba(247,245,239,0.5);
    margin-top: 2px;
}
.bolso-tracker__status {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
}
.bolso-tracker__status--active {
    background: rgba(46,204,113,0.15);
    color: #2ecc71;
}
.bolso-tracker__status--late {
    background: rgba(231,76,60,0.15);
    color: #e74c3c;
}
.bolso-tracker__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1.2rem;
    margin-bottom: 1.2rem;
}
.bolso-tracker__grid > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.bolso-tracker__grid span {
    font-size: 0.7rem;
    color: rgba(247,245,239,0.45);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.bolso-tracker__grid strong {
    font-size: 0.9rem;
    color: var(--color-paper);
}
.bolso-tracker__bar {
    position: relative;
    height: 8px;
    background: rgba(247,245,239,0.08);
    border-radius: 4px;
    overflow: visible;
    margin-bottom: 0.5rem;
}
.bolso-tracker__fill {
    height: 100%;
    border-radius: 4px;
    background: var(--color-sand);
    transition: width 0.6s ease;
}
.bolso-tracker__fill--late {
    background: #e74c3c;
}
.bolso-tracker__bar > span {
    position: absolute;
    right: 0;
    top: -18px;
    font-size: 10px;
    font-weight: 600;
    color: rgba(247,245,239,0.5);
}
.bolso-tracker__ai {
    background: rgba(201,164,74,0.08);
    border: 1px solid rgba(201,164,74,0.15);
    border-radius: 0.75rem;
    padding: 0.8rem 1rem;
    font-size: 0.8rem;
    color: rgba(247,245,239,0.7);
    line-height: 1.5;
    margin-top: 0.5rem;
}
.bolso-tracker__ai strong {
    color: var(--color-paper);
}

/* ── Investments ── */
.bolso-invest {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}
.bolso-invest__profile {
    background: rgba(247,245,239,0.04);
    border: 1px solid rgba(247,245,239,0.08);
    border-radius: 1rem;
    padding: 1.5rem;
}
.bolso-invest__profile-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
}
.bolso-invest__profile-head span:first-child {
    font-size: 1.5rem;
}
.bolso-invest__profile-head strong {
    display: block;
    font-size: 1rem;
    color: var(--color-paper);
}
.bolso-invest__profile-sub {
    font-size: 0.75rem;
    color: rgba(247,245,239,0.5);
}
.bolso-invest__profile-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.bolso-invest__profile-stats > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.bolso-invest__profile-stats span {
    font-size: 0.7rem;
    color: rgba(247,245,239,0.45);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.bolso-invest__profile-stats strong {
    font-size: 0.95rem;
    color: var(--color-paper);
}

.bolso-invest__wallet {
    background: rgba(247,245,239,0.04);
    border: 1px solid rgba(247,245,239,0.08);
    border-radius: 1rem;
    padding: 1.5rem;
}
.bolso-invest__wallet h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(247,245,239,0.5);
    margin-bottom: 1rem;
}
.bolso-invest__alloc {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.bolso-invest__alloc-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.bolso-invest__alloc-bar {
    height: 10px;
    border-radius: 5px;
    flex-shrink: 0;
    min-width: 24px;
}
.bolso-invest__alloc-label {
    flex: 1;
    font-size: 0.85rem;
    color: rgba(247,245,239,0.7);
}
.bolso-invest__alloc-row strong {
    font-size: 0.85rem;
    color: var(--color-paper);
    min-width: 36px;
    text-align: right;
}

.bolso-invest__projection {
    background: rgba(247,245,239,0.04);
    border: 1px solid rgba(247,245,239,0.08);
    border-radius: 1rem;
    padding: 1.5rem;
}
.bolso-invest__projection h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(247,245,239,0.5);
    margin-bottom: 1.5rem;
}
.bolso-invest__timeline {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2rem;
    height: 200px;
    padding-bottom: 2rem;
}
.bolso-invest__point {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}
.bolso-invest__point-bar {
    width: 48px;
    border-radius: 6px 6px 0 0;
    background: #3498db;
    transition: height 0.5s ease;
}
.bolso-invest__point--goal .bolso-invest__point-bar {
    background: var(--color-sand);
}
.bolso-invest__point-val {
    font-size: 11px;
    font-weight: 600;
    color: rgba(247,245,239,0.7);
    margin-top: 4px;
}
.bolso-invest__point-year {
    font-size: 10px;
    color: rgba(247,245,239,0.4);
    margin-top: 2px;
}
.bolso-invest__goal-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(247,245,239,0.6);
    background: rgba(201,164,74,0.08);
    border: 1px solid rgba(201,164,74,0.15);
    border-radius: 0.75rem;
    padding: 0.8rem 1rem;
}
.bolso-invest__goal-note strong {
    color: var(--color-sand);
}

.bolso-invest__advices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}
.bolso-invest__advice {
    border-radius: 1rem;
    padding: 1.2rem;
    font-size: 0.8rem;
    line-height: 1.5;
}
.bolso-invest__advice strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-paper);
}
.bolso-invest__advice p {
    margin: 0;
    color: rgba(247,245,239,0.65);
}
.bolso-invest__advice--green {
    background: rgba(46,204,113,0.08);
    border: 1px solid rgba(46,204,113,0.15);
}
.bolso-invest__advice--blue {
    background: rgba(52,152,219,0.08);
    border: 1px solid rgba(52,152,219,0.15);
}
.bolso-invest__advice--orange {
    background: rgba(230,126,34,0.08);
    border: 1px solid rgba(230,126,34,0.15);
}

/* ── Family Grid ── */
.bolso-family-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin: 2rem 0; }
.bolso-mini-phone {
    text-align: center;
}
.bolso-mini-phone__label {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    font-size: 0.75rem; font-weight: 600; color: var(--color-muted);
    margin-bottom: 0.5rem;
}
.bolso-mini-phone__screen {
    background: #f7f7f7;
    border: 2px solid #d1d5db;
    border-radius: 1.2rem;
    padding: 1rem 0.8rem;
    min-height: 140px;
}
.bolso-mini-screen__title { font-size: 10px; font-weight: 700; color: #374151; margin-bottom: 8px; }
.bolso-mini-screen__bar { height: 6px; border-radius: 3px; margin-bottom: 6px; }
.bolso-mini-screen__text { font-size: 9px; color: #6b7280; margin-top: 8px; line-height: 1.3; }
.bolso-mini-screen__big { font-size: 22px; font-weight: 800; color: #374151; margin: 8px 0; }

.bolso-features {
    list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
    justify-content: center; margin-top: 1.5rem; padding: 0;
}
.bolso-features li {
    font-size: 0.85rem; color: var(--color-muted);
    padding-left: 1.2rem;
    position: relative;
}
.bolso-features li::before {
    content: '✓'; position: absolute; left: 0;
    color: var(--color-sand); font-weight: 700;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .bolso-chat-demo { flex-direction: column; align-items: center; }
    .bolso-phone { width: 100%; max-width: 340px; }
    .bolso-cat-examples { grid-template-columns: 1fr; }
    .bolso-advices { grid-template-columns: 1fr; }
    .bolso-projects { grid-template-columns: 1fr; }
    .bolso-family-grid { grid-template-columns: 1fr 1fr; }
    .bolso-debt__row { grid-template-columns: 1fr 1fr; gap: 4px; font-size: 0.8rem; }
    .bolso-debt__row--header { display: none; }
    .bolso-timeline__entry { flex-wrap: wrap; gap: 6px; }
    .bolso-timeline__val { min-width: auto; }
    .bolso-timeline__time { min-width: auto; }
    .bolso-tracker-cards { grid-template-columns: 1fr; }
    .bolso-invest__profile-stats { grid-template-columns: 1fr 1fr; }
    .bolso-invest__advices { grid-template-columns: 1fr; }
    .bolso-invest__timeline { gap: 1rem; }
    .bolso-invest__point-bar { width: 36px; }
}

@media (max-width: 600px) {
    .bolso-family-grid { grid-template-columns: 1fr; max-width: 200px; margin-left: auto; margin-right: auto; }
    .bolso-dashboard__totals { flex-direction: column; gap: 0.5rem; }
    .bolso-tracker__grid { grid-template-columns: 1fr; }
    .bolso-invest__profile-stats { grid-template-columns: 1fr; }
    .bolso-invest__timeline { gap: 0.5rem; height: 160px; }
    .bolso-invest__point-bar { width: 28px; }
    .bolso-invest__point-val { font-size: 9px; }
}

/* ── Skeleton loading ── */
.skeleton-loading {
    min-height: 100vh;
    background: var(--color-bg, #0a0a0a);
}
.skeleton-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.skeleton-nav__links {
    display: flex;
    gap: 1.5rem;
}
.skeleton-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}
.skeleton-box {
    background: linear-gradient(90deg, rgba(255,255,255,.04) 25%, rgba(255,255,255,.08) 50%, rgba(255,255,255,.04) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
}
/* ============================
   PRODUTO 06 — Automação de Processos
   ============================ */

/* Layers */
.proc-layers { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.5rem; }
.proc-layer {
    display: flex; gap: 1.5rem; align-items: flex-start;
    background: rgba(9,17,31,0.03); border-radius: 12px; padding: 1.5rem;
    border: 1px solid var(--color-line-light);
}
.proc-layer__number {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
    background: var(--color-sand); color: #fff; font-weight: 700; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
}
.proc-layer__content h4 { margin: 0 0 0.5rem; font-size: 1.1rem; color: var(--color-ink); }
.proc-layer__content p { margin: 0 0 0.75rem; color: var(--color-muted); font-size: 0.95rem; line-height: 1.5; }
.proc-layer__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.proc-layer__tags span {
    background: rgba(215,151,76,0.12); color: var(--color-accent);
    padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600;
}

/* Workflow demo */
.proc-workflow-demo {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
    margin-top: 2.5rem; align-items: start;
}
.proc-workflow-canvas {
    display: flex; flex-direction: column; align-items: center; gap: 0;
    background: rgba(247,245,239,0.04); border: 1px solid rgba(247,245,239,0.1);
    border-radius: 12px; padding: 2rem 1.5rem;
}
.proc-wf-node {
    display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
    padding: 0.75rem 1.25rem; border-radius: 10px; min-width: 140px; text-align: center;
}
.proc-wf-node--trigger { background: rgba(215,151,76,0.15); border: 1px solid rgba(215,151,76,0.4); }
.proc-wf-node--ai { background: rgba(99,179,237,0.15); border: 1px solid rgba(99,179,237,0.4); }
.proc-wf-node--decision { background: rgba(237,187,99,0.15); border: 1px solid rgba(237,187,99,0.4); }
.proc-wf-node--action { background: rgba(104,211,145,0.15); border: 1px solid rgba(104,211,145,0.4); }
.proc-wf-node__icon { color: var(--color-paper); margin-bottom: 0.15rem; }
.proc-wf-node__label { color: var(--color-paper); font-size: 0.85rem; font-weight: 600; }
.proc-wf-node__type { color: rgba(247,245,239,0.5); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; }

.proc-wf-connector {
    width: 2px; height: 24px;
    background: linear-gradient(to bottom, rgba(247,245,239,0.3), rgba(247,245,239,0.1));
}
.proc-wf-connector--short { height: 16px; }

.proc-wf-branches { display: flex; gap: 2rem; margin-top: 0; }
.proc-wf-branch { display: flex; flex-direction: column; align-items: center; gap: 0; }
.proc-wf-branch__label {
    font-size: 0.75rem; font-weight: 700; padding: 0.15rem 0.6rem; border-radius: 10px;
    margin-bottom: 4px;
}
.proc-wf-branch__label--yes { background: rgba(104,211,145,0.2); color: #68d391; }
.proc-wf-branch__label--no { background: rgba(99,179,237,0.2); color: #63b3ed; }

.proc-workflow-detail {
    background: rgba(247,245,239,0.05); border: 1px solid rgba(247,245,239,0.1);
    border-radius: 12px; overflow: hidden;
}
.proc-workflow-detail__header {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1.25rem; background: rgba(99,179,237,0.12);
    color: #63b3ed; font-size: 0.85rem; font-weight: 600;
}
.proc-workflow-detail__body { padding: 1.25rem; }
.proc-wf-config {
    display: flex; flex-direction: column; gap: 0.15rem;
    padding: 0.6rem 0; border-bottom: 1px solid rgba(247,245,239,0.06);
}
.proc-wf-config:last-child { border-bottom: none; }
.proc-wf-config__label { color: rgba(247,245,239,0.5); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.proc-wf-config__value { color: var(--color-paper); font-size: 0.9rem; line-height: 1.4; }

/* Agents */
.proc-agents { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.proc-agent-card {
    background: #fff; border: 1px solid var(--color-line-light);
    border-radius: 12px; padding: 1.5rem; transition: box-shadow 0.2s;
}
.proc-agent-card:hover { box-shadow: 0 8px 32px rgba(9,17,31,0.08); }
.proc-agent-card__header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.proc-agent-card__avatar {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(215,151,76,0.12); color: var(--color-accent);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.proc-agent-card__header h4 { margin: 0; font-size: 1rem; color: var(--color-ink); }
.proc-agent-card__badge {
    font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
    color: var(--color-accent); letter-spacing: 0.03em;
}
.proc-agent-card p { margin: 0 0 0.75rem; color: var(--color-muted); font-size: 0.9rem; line-height: 1.5; }
.proc-agent-card__example {
    font-size: 0.8rem; color: var(--color-sand); font-style: italic;
    padding-top: 0.5rem; border-top: 1px solid var(--color-line-light);
}

/* Integrations */
.proc-integrations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.proc-integration-group h4 {
    color: var(--color-paper); font-size: 0.8rem; text-transform: uppercase;
    letter-spacing: 0.05em; margin: 0 0 0.75rem; opacity: 0.7;
}
.proc-integration-list { display: flex; flex-direction: column; gap: 0.5rem; }
.proc-integration-item {
    background: rgba(247,245,239,0.06); border: 1px solid rgba(247,245,239,0.1);
    border-radius: 8px; padding: 0.5rem 0.75rem; color: var(--color-paper);
    font-size: 0.85rem; transition: background 0.15s;
}
.proc-integration-item:hover { background: rgba(247,245,239,0.1); }

/* Example timeline */
.proc-example-timeline { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0; }
.proc-example-step { display: flex; gap: 1.25rem; }
.proc-example-step__marker { display: flex; flex-direction: column; align-items: center; }
.proc-example-step__dot {
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--color-sand); flex-shrink: 0; margin-top: 4px;
}
.proc-example-step__dot--ai { background: #63b3ed; }
.proc-example-step__dot--done { background: #68d391; }
.proc-example-step__line { width: 2px; flex: 1; background: var(--color-line-light); min-height: 24px; }
.proc-example-step__content { padding-bottom: 1.5rem; }
.proc-example-step__time {
    font-size: 0.75rem; font-weight: 700; color: var(--color-sand);
    text-transform: uppercase; letter-spacing: 0.05em;
}
.proc-example-step__content h4 { margin: 0.25rem 0 0.25rem; font-size: 1rem; color: var(--color-ink); }
.proc-example-step__content p { margin: 0; color: var(--color-muted); font-size: 0.9rem; line-height: 1.4; }

.proc-example-result {
    margin-top: 1.5rem; padding: 1.25rem; border-radius: 10px;
    background: rgba(215,151,76,0.08); border: 1px solid rgba(215,151,76,0.2);
    color: var(--color-ink); font-size: 0.95rem; line-height: 1.5;
}
.proc-example-result strong { color: var(--color-accent); }

/* Dashboard */
.proc-dashboard {
    margin-top: 2.5rem; background: rgba(247,245,239,0.04);
    border: 1px solid rgba(247,245,239,0.1); border-radius: 12px; overflow: hidden;
}
.proc-dash-kpis {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid rgba(247,245,239,0.08);
}
.proc-dash-kpi {
    display: flex; flex-direction: column; align-items: center;
    padding: 1.5rem 1rem; gap: 0.25rem;
    border-right: 1px solid rgba(247,245,239,0.08);
}
.proc-dash-kpi:last-child { border-right: none; }
.proc-dash-kpi__value { font-size: 1.8rem; font-weight: 800; color: var(--color-sand); }
.proc-dash-kpi__label { font-size: 0.8rem; color: rgba(247,245,239,0.6); }

.proc-dash-processes { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.proc-dash-process { display: flex; flex-direction: column; gap: 0.5rem; }
.proc-dash-process__info { display: flex; justify-content: space-between; align-items: center; }
.proc-dash-process__name { color: var(--color-paper); font-weight: 600; font-size: 0.95rem; }
.proc-dash-process__status {
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    padding: 0.15rem 0.6rem; border-radius: 10px;
}
.proc-dash-process__status--active { background: rgba(104,211,145,0.15); color: #68d391; }
.proc-dash-process__status--warning { background: rgba(237,187,99,0.15); color: #edbb63; }

.proc-dash-process__bar {
    height: 6px; background: rgba(247,245,239,0.08); border-radius: 3px; overflow: hidden;
}
.proc-dash-process__fill { height: 100%; background: #68d391; border-radius: 3px; transition: width 0.5s; }
.proc-dash-process__fill--warning { background: #edbb63; }
.proc-dash-process__meta { display: flex; gap: 1.5rem; }
.proc-dash-process__meta span { font-size: 0.8rem; color: rgba(247,245,239,0.5); }

/* Templates */
.proc-templates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.proc-template-card {
    background: #fff; border: 1px solid var(--color-line-light);
    border-radius: 12px; padding: 1.5rem; position: relative;
    transition: box-shadow 0.2s;
}
.proc-template-card:hover { box-shadow: 0 8px 32px rgba(9,17,31,0.08); }
.proc-template-card h4 { margin: 0 0 0.5rem; font-size: 1rem; color: var(--color-ink); }
.proc-template-card p { margin: 0 0 1rem; color: var(--color-muted); font-size: 0.85rem; line-height: 1.5; }
.proc-template-card__tag {
    display: inline-block; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em;
    background: rgba(215,151,76,0.1); color: var(--color-accent);
    padding: 0.2rem 0.6rem; border-radius: 10px;
}

/* CTA button */
.proc-cta-btn {
    display: inline-block; padding: 0.9rem 2.2rem;
    background: var(--color-sand); color: #fff; border-radius: 8px;
    font-weight: 700; font-size: 1rem; text-decoration: none;
    transition: background 0.15s, transform 0.15s;
}
.proc-cta-btn:hover { background: var(--color-sand-bright); transform: translateY(-1px); }

/* Responsive */
@media (max-width: 900px) {
    .proc-workflow-demo { grid-template-columns: 1fr; }
    .proc-agents { grid-template-columns: 1fr; }
    .proc-integrations { grid-template-columns: repeat(2, 1fr); }
    .proc-templates { grid-template-columns: repeat(2, 1fr); }
    .proc-dash-kpis { grid-template-columns: repeat(2, 1fr); }
    .proc-dash-kpi { border-bottom: 1px solid rgba(247,245,239,0.08); }
}
@media (max-width: 600px) {
    .proc-layer { flex-direction: column; gap: 1rem; }
    .proc-integrations { grid-template-columns: 1fr; }
    .proc-templates { grid-template-columns: 1fr; }
    .proc-dash-kpis { grid-template-columns: 1fr; }
    .proc-wf-branches { flex-direction: column; gap: 1rem; }
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@media (max-width: 767px) {
    .skeleton-nav__links { display: none; }
    .skeleton-hero { padding: 4rem 1.5rem 3rem; }
}

/* ── Language Switcher ── */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}
.lang-switcher__btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.35rem;
    border-radius: 4px;
    color: rgba(247, 245, 239, 0.45);
    font-family: inherit;
    font-size: inherit;
    font-weight: 500;
    letter-spacing: inherit;
    transition: color 180ms ease, background 180ms ease;
}
.lang-switcher__btn:hover {
    color: var(--color-paper);
}
.lang-switcher__btn--active {
    color: var(--color-sand);
    background: rgba(215, 151, 76, 0.12);
}
.lang-switcher__sep {
    color: rgba(247, 245, 239, 0.2);
}
