/* Founder / platform origin article — Siversa Cloud */
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&display=swap');

.founder-page {
    --article-max: 680px;
    --aside-width: 300px;
}

.founder-page main {
    display: block;
    overflow-x: clip;
}

/* ===== NAV (alinhado ao site principal) ===== */
.founder-page #nav a {
    position: relative;
}

.founder-page #nav a::after {
    content: '';
    position: absolute;
    left: 11px;
    right: 11px;
    bottom: 5px;
    height: 2px;
    background: var(--blue);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
}

.founder-page #nav a:not(.active):hover::after {
    transform: scaleX(1);
}

.founder-page #nav a.active::after {
    transform: scaleX(1);
}

.founder-page .nav-mobile-head {
    position: relative;
    overflow: hidden;
}

.founder-page .nav-mobile-head-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    opacity: 0.45;
}

.founder-page .nav-mobile-head-glow:first-of-type {
    top: -30px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: rgba(255, 122, 0, 0.35);
}

.founder-page .nav-mobile-head-glow--blue {
    bottom: -40px;
    left: -10px;
    width: 100px;
    height: 100px;
    background: rgba(11, 76, 194, 0.28);
}

@media (max-width: 1024px) {
    .founder-page #nav a::after {
        display: none;
    }

    .founder-page #nav.open .nav-mobile-links a {
        animation: founder-nav-item-in 0.35s ease both;
    }

    .founder-page #nav.open .nav-mobile-links a:nth-child(1) { animation-delay: 0.04s; }
    .founder-page #nav.open .nav-mobile-links a:nth-child(2) { animation-delay: 0.08s; }
    .founder-page #nav.open .nav-mobile-links a:nth-child(3) { animation-delay: 0.12s; }
    .founder-page #nav.open .nav-mobile-links a:nth-child(4) { animation-delay: 0.16s; }
    .founder-page #nav.open .nav-mobile-links a:nth-child(5) { animation-delay: 0.20s; }
    .founder-page #nav.open .nav-mobile-links a:nth-child(6) { animation-delay: 0.24s; }
}

@keyframes founder-nav-item-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 1025px) {
    .founder-page #nav a[data-section="contexto"],
    .founder-page #nav a[data-section="solucoes"] {
        font-weight: 500;
    }
}

/* ===== HERO (texto apenas) ===== */
.founder-hero {
    position: relative;
    z-index: 1;
    padding: 32px 0 48px;
    background: linear-gradient(165deg, #F7FAFF 0%, #FFFFFF 60%, #F7FAFF 100%);
    border-bottom: 1px solid var(--border);
}

.founder-hero__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 24px;
}

.founder-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 16px;
    padding: 6px 12px;
    background: rgba(11, 76, 194, 0.07);
    border: 1px solid rgba(11, 76, 194, 0.1);
    border-radius: 999px;
}

.founder-hero h1 {
    font-size: clamp(2rem, 4.6vw, 2.75rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: var(--blue-deep);
    margin-bottom: 20px;
    max-width: 18em;
}

.founder-hero h1 .highlight {
    color: var(--blue);
    background: linear-gradient(transparent 62%, rgba(255, 122, 0, 0.2) 62%);
}

.founder-hero__lead {
    font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    font-size: 1.0625rem;
    line-height: 1.72;
    color: var(--text-body);
    max-width: 42em;
    margin-bottom: 22px;
}

.founder-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.founder-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 7px 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--blue-deep);
    background: var(--white);
    border: 1px solid rgba(11, 76, 194, 0.14);
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.founder-hero__badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(11, 76, 194, 0.1);
    color: var(--blue);
    flex-shrink: 0;
}

.founder-hero__badge-icon svg {
    width: 14px;
    height: 14px;
}

.founder-hero__badge--accent {
    border-color: rgba(255, 122, 0, 0.22);
}

.founder-hero__badge--accent .founder-hero__badge-icon {
    background: rgba(255, 122, 0, 0.12);
    color: var(--orange);
}

/* ===== CORPO DO ARTIGO ===== */
.founder-body {
    position: relative;
    z-index: 2;
    background: var(--white);
}

.founder-layout {
    max-width: var(--site-max);
    margin: 0 auto;
    padding: 56px 24px 72px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--aside-width);
    gap: 64px;
    align-items: start;
}

.founder-article {
    min-width: 0;
    max-width: var(--article-max);
}

.founder-article section {
    margin-bottom: 44px;
}

.founder-article section:last-child {
    margin-bottom: 0;
}

.founder-article h2 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--blue-deep);
    margin-bottom: 14px;
    line-height: 1.3;
}

.founder-article p,
.founder-article li,
.founder-article blockquote {
    font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}

.founder-article p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 1.1em;
}

.founder-article p:last-child {
    margin-bottom: 0;
}

.founder-article a {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}

.founder-article a:hover {
    color: var(--blue-dark);
    background: rgba(11, 76, 194, 0.07);
}

.founder-article blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    border-left: 3px solid var(--orange);
    background: var(--bg-alt);
    border-radius: 0 12px 12px 0;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--blue-deep);
}

.founder-article blockquote p {
    margin: 0;
}

.founder-article blockquote .founder-quote__sign {
    display: block;
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(11, 76, 194, 0.1);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    font-style: normal;
    text-align: right;
    color: var(--blue);
}

.founder-article ul {
    margin: 14px 0 18px;
    padding: 0;
    list-style: none;
}

.founder-article ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-body);
}

.founder-article ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue);
}

.founder-article ul li strong {
    color: var(--blue-deep);
    font-weight: 600;
}

/* ===== TIMELINE ===== */
.founder-timeline {
    display: flex;
    flex-direction: column;
    margin: 22px 0;
    border-left: 2px solid var(--border);
    padding-left: 22px;
}

.founder-timeline__item {
    position: relative;
    padding-bottom: 24px;
}

.founder-timeline__item:last-child {
    padding-bottom: 0;
}

.founder-timeline__item::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--blue);
}

.founder-timeline__year {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 5px;
}

.founder-timeline__text {
    font-size: 0.96875rem;
    line-height: 1.65;
    color: var(--text-body);
}

/* ===== MÓDULOS ===== */
.founder-modules__group {
    margin-bottom: 28px;
}

.founder-modules__group:last-child {
    margin-bottom: 0;
}

.founder-modules__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.founder-modules__grid {
    display: grid;
    gap: 10px;
}

@media (min-width: 520px) {
    .founder-modules__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.founder-module {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 14px 14px 12px;
    background: var(--bg-alt);
    border: 1px solid transparent;
    border-radius: 14px;
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.founder-module:hover {
    background: var(--white);
    border-color: var(--border);
    box-shadow: 0 8px 22px rgba(11, 76, 194, 0.06);
}

.founder-module:hover .founder-module__icon {
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
}

.founder-module__icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--white);
    border: 1px solid rgba(228, 234, 245, 0.95);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 5px;
    overflow: hidden;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.founder-module__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.founder-module__body {
    min-width: 0;
    flex: 1;
}

.founder-module__name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--blue-deep);
    margin-bottom: 3px;
    line-height: 1.25;
}

.founder-module__desc {
    font-size: 12px;
    line-height: 1.55;
    color: var(--text-muted);
}

/* ===== SIDEBAR ===== */
.founder-aside {
    position: sticky;
    top: calc(var(--header-top) + var(--header-h) + 20px);
    align-self: start;
}

.founder-portrait {
    margin-bottom: 16px;
}

.founder-portrait__frame {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(6, 27, 73, 0.1);
    background: var(--bg-alt);
    line-height: 0;
}

.founder-portrait__frame img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

.founder-portrait__caption {
    margin-top: 12px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.founder-portrait__caption strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--blue-deep);
    margin-bottom: 2px;
}

.founder-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 14px;
}

.founder-card__title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.founder-card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-body);
    margin-bottom: 10px;
}

.founder-card p:last-child {
    margin-bottom: 0;
}

.founder-social {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.founder-social a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--blue-deep);
    background: var(--bg-alt);
    border-radius: 10px;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.founder-social a:hover {
    background: #EEF4FF;
    color: var(--blue);
}

.founder-social a svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--blue);
}

.founder-cta {
    padding: 22px 20px;
    background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);
    border-radius: 16px;
    color: var(--white);
    text-align: center;
}

.founder-cta h2 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.founder-cta p {
    font-size: 13px;
    line-height: 1.55;
    opacity: 0.9;
    margin-bottom: 14px;
}

.founder-cta .btn {
    width: 100%;
    justify-content: center;
}

/* ===== FECHO ===== */
.founder-closer {
    padding: 0 24px 56px;
    max-width: var(--content-max);
    margin: 0 auto;
}

.founder-closer__panel {
    position: relative;
    overflow: hidden;
    padding: 22px 28px;
    background: linear-gradient(135deg, #0B4CC2 0%, #073887 55%, #061B49 100%);
    border-radius: 20px;
    color: var(--white);
    box-shadow: 0 16px 40px rgba(6, 27, 73, 0.18);
}

.founder-closer__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(56px);
    pointer-events: none;
    opacity: 0.4;
}

.founder-closer__glow--blue {
    top: -60px;
    right: -30px;
    width: 180px;
    height: 180px;
    background: rgba(11, 76, 194, 0.55);
}

.founder-closer__glow--orange {
    bottom: -50px;
    left: -30px;
    width: 160px;
    height: 160px;
    background: rgba(255, 122, 0, 0.22);
}

.founder-closer__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.founder-closer__copy {
    min-width: 0;
    text-align: left;
}

.founder-closer__panel h2 {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--white);
    margin-bottom: 4px;
}

.founder-closer__accent {
    color: #FFD4A8;
}

.founder-closer__lead {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    max-width: 28em;
}

.founder-closer__actions {
    display: flex;
    flex-shrink: 0;
    gap: 8px;
}

.founder-closer__btn {
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.founder-closer__btn.btn-primary {
    background: var(--white);
    color: var(--blue);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.founder-closer__btn.btn-primary:hover {
    background: var(--bg-alt);
    color: var(--blue-dark);
    transform: translateY(-1px);
}

.founder-closer__btn.btn-primary .arrow {
    color: var(--orange);
}

.founder-closer__btn--ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.founder-closer__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.founder-disclaimer {
    margin: 24px 0 0;
    padding: 16px 18px;
    border-radius: 12px;
    background: rgba(11, 76, 194, 0.06);
    border: 1px solid rgba(11, 76, 194, 0.12);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-body);
}

.founder-disclaimer strong {
    color: var(--blue-deep);
}

@media (max-width: 960px) {
    .founder-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 40px;
    }

    .founder-aside {
        position: static;
        display: grid;
        grid-template-columns: 140px 1fr;
        gap: 16px;
        align-items: start;
    }

    .founder-portrait {
        margin-bottom: 0;
        grid-row: span 2;
    }

    .founder-portrait__caption {
        text-align: left;
        margin-top: 8px;
    }

    .founder-card:first-of-type {
        grid-column: 2;
    }

    .founder-card:nth-of-type(2) {
        grid-column: 1 / -1;
    }

    .founder-cta {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .founder-hero {
        padding: 24px 0 36px;
    }

    .founder-hero h1 {
        max-width: none;
    }

    .founder-aside {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .founder-portrait {
        grid-row: auto;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .founder-portrait__caption {
        text-align: center;
        margin-top: 12px;
    }

    .founder-card:first-of-type {
        grid-column: auto;
        width: 100%;
    }

    .founder-card:nth-of-type(2) {
        width: 100%;
    }

    .founder-closer__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .founder-closer__copy {
        text-align: center;
    }

    .founder-closer__lead {
        max-width: none;
    }

    .founder-closer__actions {
        justify-content: center;
    }

    .founder-closer__panel {
        padding: 20px 18px;
    }
}

/* FAQ — entidade Inácio Sumbane × Siversa Cloud */
.founder-faq {
    padding: 28px 0 8px;
}

.founder-faq .container {
    max-width: 760px;
}

.founder-faq h2 {
    margin: 0 0 14px;
    font-size: 1.25rem;
    line-height: 1.35;
    color: var(--blue-deep, #0a2f7a);
}

.founder-faq__list {
    display: grid;
    gap: 8px;
}

.founder-faq__item {
    border: 1px solid rgba(11, 76, 194, 0.14);
    border-radius: 12px;
    background: #fff;
    padding: 0 14px;
}

.founder-faq__item summary {
    cursor: pointer;
    list-style: none;
    padding: 12px 0;
    font-weight: 650;
    font-size: 0.9375rem;
    color: var(--blue-deep, #0a2f7a);
}

.founder-faq__item summary::-webkit-details-marker {
    display: none;
}

.founder-faq__item p {
    margin: 0 0 12px;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-body, #334155);
}

.founder-faq__item a {
    color: var(--blue, #0b4cc2);
    font-weight: 600;
}
