/* ============================================================
   SmarterONE Design System — unificação visual SmarterApp
   Fonte: Poppins | Paleta: azul #2563EB | Fundo: #F7F8FA
   ============================================================ */

:root {
    --so-blue: #2563EB;
    --so-blue-dark: #1D4ED8;
    --so-blue-light: #3B82F6;
    --so-blue-soft: #EFF4FF;
    --so-ink: #0F172A;
    --so-slate: #475569;
    --so-muted: #64748B;
    --so-border: #E2E8F0;
    --so-bg: #F7F8FA;
    --so-white: #FFFFFF;
    --so-radius: 18px;
    --so-radius-lg: 28px;
    --so-shadow: 0 8px 30px rgba(15, 23, 42, .08);
    --so-shadow-lg: 0 20px 60px rgba(37, 99, 235, .18);
    --so-font: 'Poppins', 'Plus Jakarta Sans', sans-serif;
}

/* ---------- Base ---------- */
body.so-theme {
    font-family: var(--so-font);
    background: var(--so-bg);
    color: var(--so-ink);
    -webkit-font-smoothing: antialiased;
}

.so-theme h1, .so-theme h2, .so-theme h3,
.so-theme h4, .so-theme h5, .so-theme h6 {
    font-family: var(--so-font);
    color: var(--so-ink);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.so-theme p { color: var(--so-slate); }

.so-section { padding: 90px 0; }
.so-section--tight { padding: 56px 0; }

.so-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Header / pill nav ---------- */
.so-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--so-border);
}

.so-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
}

.so-header__logo img { height: 38px; width: auto; }

/* ---------- Logo hover effect (network pulse) ---------- */
.so-header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.so-header__logo-icon {
    display: inline-flex;
    line-height: 0;
}

.so-header__logo-icon img {
    transition: transform .5s ease;
    transform-origin: center;
    will-change: transform;
}

.so-header__logo:hover .so-header__logo-icon img,
.so-header__logo:focus-visible .so-header__logo-icon img {
    animation: so-logo-spin .7s ease-in-out;
}

@keyframes so-logo-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.so-header__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.so-header__logo-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--so-ink);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.so-header__logo-title strong {
    color: var(--so-ink);
    font-weight: 800;
}

.so-header__logo-subtitle {
    font-size: 11px;
    font-weight: 500;
    color: var(--so-muted);
    letter-spacing: .02em;
    white-space: nowrap;
}

.so-logo-letter {
    display: inline-block;
    will-change: opacity, transform;
}

@keyframes so-logo-letter-wave {
    0% { opacity: 1; transform: translateY(0); }
    35% { opacity: .25; transform: translateY(-2px); }
    65% { opacity: .7; transform: translateY(1px); }
    100% { opacity: 1; transform: translateY(0); }
}


.so-pill-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--so-white);
    border: 1px solid var(--so-border);
    border-radius: 999px;
    padding: 6px;
    box-shadow: var(--so-shadow);
}

.so-pill-nav > li { list-style: none; position: relative; }

.so-pill-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--so-slate);
    text-decoration: none;
    transition: all .2s ease;
    white-space: nowrap;
}

.so-pill-nav a:hover,
.so-pill-nav a.active {
    background: var(--so-blue-soft);
    color: var(--so-blue);
}

/* dropdown do menu de produtos */
.so-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 560px;
    background: var(--so-white);
    border: 1px solid var(--so-border);
    border-radius: var(--so-radius);
    box-shadow: var(--so-shadow-lg);
    padding: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transition: all .22s ease;
}

.so-pill-nav > li:hover .so-dropdown,
.so-pill-nav > li:focus-within .so-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.so-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    color: var(--so-ink);
}

.so-dropdown a:hover { background: var(--so-blue-soft); color: var(--so-blue); }

.so-dropdown__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--so-blue-soft);
    color: var(--so-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex: 0 0 auto;
}

.so-dropdown__title { font-weight: 600; display: block; line-height: 1.2; }
.so-dropdown__desc { font-size: 12px; color: var(--so-muted); display: block; }

/* área direita do header: idioma + login + demo */
.so-header__actions { display: flex; align-items: center; gap: 10px; }

.so-lang {
    position: relative;
}

.so-lang__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--so-white);
    border: 1px solid var(--so-border);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--so-slate);
    cursor: pointer;
}

.so-lang__toggle img { width: 20px; height: 14px; border-radius: 3px; object-fit: cover; }

.so-lang__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--so-white);
    border: 1px solid var(--so-border);
    border-radius: 14px;
    box-shadow: var(--so-shadow-lg);
    padding: 6px;
    min-width: 170px;
    display: none;
    z-index: 1010;
}

.so-lang.open .so-lang__menu { display: block; }

.so-lang__menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    color: var(--so-ink);
    text-decoration: none;
}

.so-lang__menu a:hover { background: var(--so-blue-soft); color: var(--so-blue); }
.so-lang__menu img { width: 20px; height: 14px; border-radius: 3px; object-fit: cover; }

/* ---------- Botões ---------- */
.so-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .25s ease;
}

.so-btn--primary {
    background: var(--so-blue);
    color: #fff !important;
    box-shadow: 0 10px 25px rgba(37, 99, 235, .35);
}

.so-btn--primary:hover {
    background: var(--so-blue-dark);
    transform: translateY(-2px);
    color: #fff;
}

.so-btn--ghost {
    background: transparent;
    border-color: var(--so-border);
    color: var(--so-ink) !important;
}

.so-btn--ghost:hover { border-color: var(--so-blue); color: var(--so-blue) !important; }

.so-btn--white {
    background: #fff;
    color: var(--so-blue) !important;
}

.so-btn--sm { padding: 8px 18px; font-size: 13px; }

/* botão com seta animada */
.so-btn-arrow .so-arrow {
    display: inline-flex;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    align-items: center;
    justify-content: center;
    transition: transform .25s ease;
}

.so-btn-arrow:hover .so-arrow { transform: translateX(4px); }

/* ---------- Badge neon animado (conic-gradient) ---------- */
@property --nb-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.so-neon-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--so-blue);
    background: var(--so-white);
    isolation: isolate;
}

.so-neon-badge::before {
    content: "";
    position: absolute;
    inset: -1.5px;
    border-radius: inherit;
    background: conic-gradient(from var(--nb-angle), transparent 0%, var(--so-blue) 20%, transparent 40%);
    z-index: -2;
    animation: so-nb-spin 3s linear infinite;
}

.so-neon-badge::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--so-white);
    z-index: -1;
}

@keyframes so-nb-spin {
    to { --nb-angle: 360deg; }
}

/* ---------- Hero ---------- */
.so-hero {
    position: relative;
    padding: 90px 0 70px;
    overflow: hidden;
    background:
        radial-gradient(1000px 500px at 80% -10%, rgba(37, 99, 235, .10), transparent 60%),
        var(--so-bg);
}

.so-hero-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 40%, transparent 100%);
            mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 40%, transparent 100%);
    pointer-events: none;
}

.so-hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.12;
    font-weight: 700;
}

.so-hero h1 .accent { color: var(--so-blue); }

.so-hero p.lead {
    font-size: 18px;
    color: var(--so-slate);
    max-width: 640px;
}

/* ---------- Cards ---------- */
.so-card {
    background: var(--so-white);
    border: 1px solid var(--so-border);
    border-radius: var(--so-radius);
    padding: 28px;
    box-shadow: var(--so-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
}

.so-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--so-shadow-lg);
}

.so-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--so-blue-soft);
    color: var(--so-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.so-card h4 { font-size: 18px; margin-bottom: 8px; }
.so-card p { font-size: 14px; margin-bottom: 0; }

/* flip card */
.so-flip-card { perspective: 1200px; height: 100%; min-height: 260px; }

.so-flip-card__inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .6s;
    transform-style: preserve-3d;
}

.so-flip-card:hover .so-flip-card__inner { transform: rotateY(180deg); }

.so-flip-card__face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: var(--so-radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.so-flip-card__front { background: var(--so-white); border: 1px solid var(--so-border); box-shadow: var(--so-shadow); }
.so-flip-card__back { background: var(--so-blue); color: #fff; transform: rotateY(180deg); }
.so-flip-card__back h4, .so-flip-card__back p { color: #fff; }

/* ---------- Marquee de marcas ---------- */
.so-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.so-marquee__track {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    animation: so-marquee 32s linear infinite;
}

.so-marquee__track img {
    height: 34px;
    width: auto;
    opacity: .65;
    filter: grayscale(100%);
    transition: all .25s ease;
}

.so-marquee__track img:hover { opacity: 1; filter: none; }

@keyframes so-marquee {
    to { transform: translateX(-50%); }
}

/* ---------- Banner azul (CTA) ---------- */
.so-blue-banner {
    background: linear-gradient(135deg, var(--so-blue) 0%, var(--so-blue-dark) 100%);
    border-radius: var(--so-radius-lg);
    padding: 64px 48px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.so-blue-banner h2, .so-blue-banner h3 { color: #fff; }
.so-blue-banner p { color: rgba(255, 255, 255, .85); }

.so-blue-banner::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

/* ---------- FAQ ---------- */
.so-faq {
    background: var(--so-white);
    border: 1px solid var(--so-border);
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
}

.so-faq summary {
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 600;
    font-size: 15px;
    color: var(--so-ink);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.so-faq summary::-webkit-details-marker { display: none; }

.so-faq summary::after {
    content: "+";
    font-size: 20px;
    color: var(--so-blue);
    transition: transform .2s;
}

.so-faq[open] summary::after { transform: rotate(45deg); }

.so-faq p { padding: 0 22px 18px; font-size: 14px; margin: 0; }

/* ---------- Pricing toggle ---------- */
.so-pricing-toggle {
    display: inline-flex;
    background: var(--so-white);
    border: 1px solid var(--so-border);
    border-radius: 999px;
    padding: 5px;
    gap: 4px;
}

.so-pricing-toggle button {
    border: 0;
    background: transparent;
    padding: 9px 22px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--so-slate);
    cursor: pointer;
    font-family: var(--so-font);
}

.so-pricing-toggle button.active {
    background: var(--so-blue);
    color: #fff;
}

/* ---------- Pricing cards ---------- */
.so-pricing-card {
    background: var(--so-white);
    border: 1px solid var(--so-border);
    border-radius: var(--so-radius-lg);
    padding: 32px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--so-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}

.so-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--so-shadow-lg);
}

.so-pricing-card--featured {
    background: linear-gradient(160deg, var(--so-blue) 0%, var(--so-blue-dark) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--so-shadow-lg);
    transform: scale(1.03);
}

.so-pricing-card--featured:hover { transform: scale(1.03) translateY(-4px); }

.so-pricing-card--featured h3,
.so-pricing-card--featured h5 { color: #fff; }

.so-pricing-card--featured .so-pricing-card__for,
.so-pricing-card--featured .so-pricing-card__price small { color: rgba(255, 255, 255, .8); }

.so-pricing-card__badge {
    align-self: flex-start;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: var(--so-blue-soft);
    color: var(--so-blue);
    margin-bottom: 16px;
}

.so-pricing-card--featured .so-pricing-card__badge {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.so-pricing-card__price {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    margin: 4px 0 6px;
}

.so-pricing-card__price small {
    font-size: 14px;
    font-weight: 500;
    color: var(--so-muted);
}

.so-pricing-card__name { font-size: 20px; margin-bottom: 10px; }

.so-pricing-card__for {
    font-size: 13px;
    color: var(--so-slate);
    min-height: 54px;
    margin-bottom: 20px;
}

.so-pricing-card .so-btn { width: 100%; justify-content: center; margin-bottom: 24px; }

.so-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.so-pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    padding: 9px 0;
    border-top: 1px solid var(--so-border);
}

.so-pricing-features li:first-child { border-top: 0; }

.so-pricing-card--featured .so-pricing-features li { border-top-color: rgba(255, 255, 255, .18); }

.so-pricing-features li i {
    margin-top: 3px;
    font-size: 13px;
    color: var(--so-blue);
}

.so-pricing-card--featured .so-pricing-features li i { color: #fff; }

.so-pricing-features li.is-off {
    opacity: .45;
}

.so-pricing-features li.is-off i { color: var(--so-muted); }

.so-pricing-card--featured .so-pricing-features li.is-off i { color: rgba(255, 255, 255, .6); }

/* ---------- Reveal on scroll ---------- */
.so-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
}

.so-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Footer ---------- */
.so-footer {
    background: var(--so-white);
    border-top: 1px solid var(--so-border);
    padding: 64px 0 0;
}

.so-footer h6 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--so-muted);
    margin-bottom: 18px;
}

.so-footer ul { list-style: none; padding: 0; margin: 0; }
.so-footer ul li { margin-bottom: 10px; }

.so-footer ul a {
    color: var(--so-slate);
    text-decoration: none;
    font-size: 14px;
    transition: color .2s;
}

.so-footer ul a:hover { color: var(--so-blue); }

.so-footer__bottom {
    border-top: 1px solid var(--so-border);
    margin-top: 48px;
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--so-muted);
}

.so-social {
    display: inline-flex;
    gap: 10px;
}

.so-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--so-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--so-slate);
    transition: all .2s;
}

.so-social a:hover {
    background: var(--so-blue);
    border-color: var(--so-blue);
    color: #fff;
}

/* ---------- Overrides do tema legado (crocus) para views internas ---------- */
/* Re-tematiza as views internas sem alterar seu conteúdo/markup */
.so-theme .bg--white-smoke,
.so-theme .bg--snow,
.so-theme .light--background { background: var(--so-bg) !important; }

.so-theme .btn {
    border-radius: 999px !important;
    font-family: var(--so-font);
    font-weight: 600;
    transition: all .25s ease;
}

.so-theme .btn--theme,
.so-theme .btn--black,
.so-theme .btn--primary {
    background: var(--so-blue) !important;
    border-color: var(--so-blue) !important;
    color: #fff !important;
    box-shadow: 0 10px 25px rgba(37, 99, 235, .3);
}

.so-theme .btn--theme:hover,
.so-theme .btn--black:hover,
.so-theme .btn--primary:hover {
    background: var(--so-blue-dark) !important;
    border-color: var(--so-blue-dark) !important;
    transform: translateY(-2px);
}

.so-theme .btn--tra-black,
.so-theme .btn--tra-grey {
    border-color: var(--so-border) !important;
    color: var(--so-ink) !important;
}

.so-theme .section-id,
.so-theme .sub-title {
    color: var(--so-blue) !important;
}

.so-theme .color--theme,
.so-theme .color--blue { color: var(--so-blue) !important; }

.so-theme .theme--background,
.so-theme .bg--theme { background: var(--so-blue) !important; }

.so-theme .fbox-11,
.so-theme .fbox-12,
.so-theme .cbox-1,
.so-theme .pricing-table {
    background: var(--so-white);
    border: 1px solid var(--so-border);
    border-radius: var(--so-radius) !important;
    box-shadow: var(--so-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}

.so-theme .fbox-11:hover,
.so-theme .fbox-12:hover,
.so-theme .pricing-table:hover {
    transform: translateY(-4px);
    box-shadow: var(--so-shadow-lg);
}

.so-theme input.form-control,
.so-theme textarea.form-control,
.so-theme select.form-select {
    border-radius: 12px;
    border-color: var(--so-border);
    font-family: var(--so-font);
}

.so-theme input.form-control:focus,
.so-theme textarea.form-control:focus {
    border-color: var(--so-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

/* ---------- Mobile ---------- */
.so-mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--so-border);
    border-radius: 12px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--so-ink);
    cursor: pointer;
}

.so-mobile-menu {
    display: none;
}

@media (max-width: 991px) {
    .so-pill-nav { display: none; }
    .so-mobile-toggle { display: inline-flex; }
    .so-header__actions .so-btn--ghost { display: none; }

    .so-mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--so-white);
        border-bottom: 1px solid var(--so-border);
        box-shadow: var(--so-shadow-lg);
        padding: 16px 24px 24px;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }

    .so-mobile-menu.open { display: block; }

    .so-mobile-menu a {
        display: block;
        padding: 12px 6px;
        font-size: 15px;
        font-weight: 500;
        color: var(--so-ink);
        text-decoration: none;
        border-bottom: 1px solid var(--so-border);
    }

    .so-mobile-menu a:hover { color: var(--so-blue); }
    .so-mobile-menu .so-mobile-sub a { padding-left: 22px; font-size: 14px; color: var(--so-slate); border-bottom: 0; }

    .so-blue-banner { padding: 42px 26px; }
    .so-section { padding: 60px 0; }
    .so-dropdown { display: none !important; }
}

/* ---------- Header compacto (celulares) ---------- */
@media (max-width: 576px) {
    .so-header__inner {
        flex-wrap: wrap;
        row-gap: 10px;
        min-height: auto;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .so-header__logo-title { font-size: 15px; }
    .so-header__logo-subtitle { font-size: 9px; }

    /* seletor de idioma vira um bot\u00E3o compacto, s\u00F3 com a bandeira */
    .so-lang__toggle {
        padding: 8px 10px;
        gap: 0;
    }

    .so-lang__toggle-text { display: none; }

    /* bot\u00E3o do assistente IA quebra para uma segunda linha, ocupando a largura total */
    .so-header__actions .so-btn-arrow {
        order: 10;
        flex: 1 1 100%;
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   UX Refinement — contraste em seções escuras, tipografia
   fluida e mídia responsiva (deve permanecer no fim do arquivo)
   ============================================================ */

/* ---------- Seções escuras (.so-dark) ---------- */
.so-theme .so-dark h1,
.so-theme .so-dark h2,
.so-theme .so-dark h3,
.so-theme .so-dark h4,
.so-theme .so-dark h5,
.so-theme .so-dark h6 {
    color: #fff;
}

.so-theme .so-dark p,
.so-theme .so-dark li,
.so-theme .so-dark span:not(.so-btn *):not([class*="badge"]) {
    color: rgba(255, 255, 255, .82);
}

.so-theme .so-dark .lead { color: rgba(255, 255, 255, .88); }

.so-theme .so-dark a:not(.so-btn) {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, .4);
}

.so-theme .so-dark a:not(.so-btn):hover { color: rgba(255, 255, 255, .85); }

.so-theme .so-dark .so-muted,
.so-theme .so-dark small { color: rgba(255, 255, 255, .65); }

/* ---------- Tipografia fluida (reduz volume de leitura) ---------- */
.so-theme h1 {
    font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem);
    line-height: 1.25;
}

.so-theme h2 {
    font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
    line-height: 1.28;
}

.so-theme h3 {
    font-size: clamp(1.25rem, 1rem + .8vw, 1.5rem);
    line-height: 1.3;
}

.so-theme h4 { font-size: clamp(1.1rem, .95rem + .5vw, 1.25rem); }

@media (max-width: 992px) {
    .so-theme .so-section { padding: 56px 0; }
    .so-theme .so-section--tight { padding: 40px 0; }
}

/* ---------- Mídia responsiva (vídeos/iframes) ---------- */
.so-video-frame {
    position: relative;
    width: 100%;
    max-width: min(100%, calc(70vh * 16 / 9));
    aspect-ratio: 16 / 9;
    max-height: 70vh;
    margin: 0 auto;
    border-radius: var(--so-radius);
    overflow: hidden;
    box-shadow: var(--so-shadow);
    background: #000;
}

.so-video-frame iframe,
.so-video-frame video,
.so-video-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    display: block;
}

/* Variante para vídeos em formato retrato (mockup de celular),
   para não cortar o conteúdo com um enquadramento 16:9 */
.so-video-frame--phone {
    max-width: none;
    width: auto;
    aspect-ratio: auto;
    height: 100%;
    max-height: 560px;
    background: transparent;
    box-shadow: none;
}

.so-video-frame--phone video,
.so-video-frame--phone img {
    width: auto;
    height: 100%;
    max-height: 560px;
    object-fit: contain;
    margin: 0 auto;
    border-radius: var(--so-radius);
    box-shadow: var(--so-shadow);
}
