/* Camada editorial — portal público */
body.has-mobile-nav {
    background: var(--ds-bg, #f6f7f9);
}

.top-strip {
    background: var(--brand-navy);
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    padding: 0.4rem 0;
}

.masthead {
    background: #fff;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--ds-border, #e8edf3);
    text-align: left;
}
.masthead .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}
.masthead__brand {
    flex-direction: row;
    align-items: center;
    gap: 0.9rem;
    text-align: left;
}
.masthead__brand:hover { transform: none; }
.masthead__logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    border: 1px solid var(--ds-border, #e8edf3);
    box-shadow: none;
    padding: 4px;
}
.masthead__name {
    font-size: clamp(1.3rem, 2.4vw, 1.8rem);
    color: var(--brand-navy);
}
.masthead__tagline {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    color: var(--ds-muted, #64748b);
    font-size: 0.8rem;
}
.masthead__aside {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cat-nav {
    background: #fff;
    border-bottom: 1px solid var(--ds-border, #e8edf3);
    box-shadow: none;
}
.cat-nav__link {
    font-size: 0.86rem;
    font-weight: 600;
    color: #334155;
    padding: 0.9rem 0.7rem;
    border-bottom: 2px solid transparent;
}
.cat-nav__link:hover,
.cat-nav__link.is-active {
    color: var(--brand-navy);
    border-bottom-color: var(--primary);
    background: transparent;
}
.cat-nav__link--cta { color: var(--primary); }

.site-main > .container { max-width: 1140px; }

.urgente-bar {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    background: #fff;
    border: 1px solid var(--ds-border, #e8edf3);
    border-left: 3px solid var(--accent);
    border-radius: var(--ds-radius);
    padding: 0.7rem 1rem;
    margin-bottom: 1.25rem;
}
.urgente-bar__label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: var(--accent, #ea580c);
    white-space: nowrap;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}
.urgente-bar__text {
    color: var(--ds-text);
    font-weight: 600;
    text-decoration: none;
}

.mosaic-hero {
    gap: 0.75rem;
    min-height: 440px;
    margin-bottom: 2rem;
}
.mosaic-hero__main,
.mosaic-hero__item {
    border-radius: 14px;
    overflow: hidden;
}
.mosaic-hero__main img,
.mosaic-hero__item img {
    transition: transform 0.35s ease;
}
.mosaic-hero__main:hover img,
.mosaic-hero__item:hover img {
    transform: scale(1.02);
}

.feed-head { margin-bottom: 1.1rem; }

.feed-card {
    background: #fff;
    border: 1px solid var(--ds-border, #e8edf3);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: none;
    transition: border-color 0.15s ease;
}
.feed-card:hover {
    transform: none;
    box-shadow: none;
    border-color: #d5dbe3;
}
.feed-card__image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.feed-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-rail,
.cat-rail { margin: 2rem 0 0.5rem; }
.video-rail__grid,
.cat-rail__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
}

.media-tile {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    min-height: 150px;
    color: #fff;
    text-decoration: none;
}
.media-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}
.media-tile:hover img { transform: none; color: #fff; }
.media-tile__body {
    position: relative;
    z-index: 1;
    min-height: 150px;
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.78));
}
.media-tile h3 {
    font-size: 0.95rem;
    margin: 0;
    color: #fff;
    font-family: var(--ds-serif);
}

.site-footer {
    background: var(--brand-navy);
    margin-top: auto;
    padding-top: 3rem;
}

.ad-slot {
    border: 1px solid var(--ds-border);
    border-radius: 12px;
    padding: 0.75rem;
    background: #fff;
    margin: 1rem 0;
    text-align: center;
}
.ad-slot-img { max-width: 100%; height: auto; border-radius: 8px; }

.article-shell { background: #fff; border: 1px solid var(--ds-border); border-radius: 16px; overflow: hidden; }
.article-hero-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0f172a;
}
.article-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
}
.article-title {
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    margin: 0.35rem 0 0.75rem;
}
.article-body {
    font-size: 1.12rem;
    line-height: 1.75;
    color: #1e2937;
}
.article-body p { margin-bottom: 1.1rem; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.5rem;
    margin: 1.25rem 0;
}
.gallery-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
}

.auth-card,
.glass-card {
    background: #fff;
    border: 1px solid var(--ds-border);
    box-shadow: var(--ds-shadow);
    border-radius: 16px;
}

.hero-banner {
    background: var(--brand-navy);
    color: #fff;
    border-radius: 16px;
    padding: 1.75rem;
}

.mobile-bottom-nav {
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--ds-border);
}

.sidebar-box {
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: 14px;
    padding: 1.1rem 1.15rem;
    margin-bottom: 1rem;
}

.related-thumb {
    aspect-ratio: 16/10;
    object-fit: cover;
}

/* Página comercial (sem chrome de tenant) */
.sales-body {
    background: #f7f8fa;
    color: #0f172a;
    min-height: 100vh;
}
.sales-nav {
    background: #fff;
    border-bottom: 1px solid var(--ds-border);
    padding: 0.9rem 0;
}
.sales-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.sales-brand {
    font-weight: 700;
    letter-spacing: -0.03em;
    text-decoration: none;
    color: inherit;
    font-size: 1.05rem;
}
.sales-hero {
    padding: 4rem 0 2.5rem;
    text-align: center;
}
.sales-hero h1 {
    font-size: clamp(2rem, 5vw, 3.1rem);
    max-width: 16ch;
    margin: 0.4rem auto 1rem;
}
.sales-hero p.lead {
    max-width: 38rem;
    margin: 0 auto 1.5rem;
    color: var(--ds-muted);
    font-size: 1.1rem;
}
.sales-kicker {
    color: var(--primary, #0f766e);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.plan-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.4rem;
}
.plan-card--featured {
    border-color: var(--primary, #0f766e);
    box-shadow: var(--ds-shadow-md);
    position: relative;
}
.plan-card .price {
    font-family: var(--ds-serif);
    font-size: 2rem;
    letter-spacing: -0.03em;
}
.cmp-table th, .cmp-table td { font-size: 0.9rem; }
.faq-item { margin-bottom: 0.65rem; }
.sales-cta {
    background: #0c1220;
    color: #fff;
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    margin: 2rem 0 3rem;
}

@media (max-width: 991px) {
    .masthead .container { flex-wrap: wrap; }
    .masthead__aside { display: none; }
    .video-rail__grid,
    .cat-rail__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575px) {
    .video-rail__grid,
    .cat-rail__grid { grid-template-columns: 1fr; }
    .masthead__logo { width: 44px; height: 44px; }
    .urgente-bar { flex-direction: column; align-items: flex-start; }
    .sales-hero { padding-top: 2.2rem; }
}

/* Landing SaaS da home pública (`/`) — não altera o chrome de /comece/ */
.home-saas {
    background: #f6f7f9;
    color: #0f172a;
    min-height: 100vh;
}
.home-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--ds-border);
}
.home-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
}
.home-brand {
    font-weight: 700;
    text-decoration: none;
    color: inherit;
    font-size: 1.05rem;
    letter-spacing: -0.03em;
}
.home-nav__links {
    display: flex;
    gap: 1.15rem;
    font-size: 0.92rem;
    font-weight: 500;
}
.home-nav__links a {
    color: #334155;
    text-decoration: none;
}
.home-nav__links a:hover { color: var(--primary, #0f766e); }
.home-hero {
    padding: 4.2rem 0 3.4rem;
    text-align: center;
    background:
        radial-gradient(1200px 420px at 50% -10%, rgba(15, 118, 110, 0.14), transparent 60%),
        linear-gradient(180deg, #fff 0%, #f6f7f9 100%);
}
.home-hero h1 {
    font-size: clamp(2.05rem, 5.4vw, 3.35rem);
    max-width: 18ch;
    margin: 0.55rem auto 1rem;
}
.home-hero .lead {
    max-width: 40rem;
    margin: 0 auto 1.6rem;
    color: var(--ds-muted);
    font-size: 1.12rem;
}
.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}
.home-section { padding: 4rem 0; }
.home-section--alt { background: #fff; }
.home-section__intro {
    max-width: 40rem;
    margin: 0 auto 2.2rem;
    text-align: center;
}
.home-section__intro h2,
.home-section h2 {
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    margin-bottom: 0.7rem;
}
.home-section__intro p,
.home-section__lead {
    color: var(--ds-muted);
    max-width: 38rem;
}
.home-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.home-feature {
    padding: 1.25rem 1.2rem;
}
.home-feature i {
    color: var(--primary, #0f766e);
    margin-bottom: 0.65rem;
}
.home-feature h3 {
    font-size: 1.02rem;
    margin-bottom: 0.35rem;
}
.home-feature p {
    margin: 0;
    color: var(--ds-muted);
    font-size: 0.92rem;
}
.home-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.home-steps li {
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: 16px;
    padding: 1.3rem 1.15rem;
}
.home-steps span {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary, #0f766e);
    margin-bottom: 0.45rem;
}
.home-steps h3 { font-size: 1.05rem; }
.home-steps p { margin: 0; color: var(--ds-muted); font-size: 0.92rem; }
.home-panel {
    max-width: 920px;
    margin: 0 auto;
    border: 1px solid var(--ds-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--ds-shadow-md);
    background: #fff;
}
.home-panel__chrome {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1rem;
    background: #0f172a;
    color: #94a3b8;
    font-size: 0.78rem;
}
.home-panel__chrome span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #64748b;
}
.home-panel__chrome em {
    margin-left: 0.6rem;
    font-style: normal;
}
.home-panel__body {
    display: grid;
    grid-template-columns: 180px 1fr;
    min-height: 280px;
}
.home-panel__body aside {
    background: #0f172a;
    color: #cbd5e1;
    padding: 1.1rem 1rem;
    font-size: 0.82rem;
}
.home-panel__body aside strong {
    display: block;
    color: #fff;
}
.home-panel__body aside small {
    display: block;
    color: #64748b;
    margin-bottom: 1rem;
}
.home-panel__body aside p { margin: 0 0 0.45rem; }
.home-panel__main { padding: 1rem; background: #f8fafc; }
.home-panel__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
    margin-bottom: 0.85rem;
}
.home-panel__stats div,
.home-panel__list div {
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: 12px;
    padding: 0.7rem 0.8rem;
}
.home-panel__stats span,
.home-panel__list small {
    display: block;
    color: var(--ds-muted);
    font-size: 0.75rem;
}
.home-panel__stats b { font-size: 1.2rem; }
.home-panel__list { display: grid; gap: 0.5rem; }
.home-audience {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}
.home-audience li {
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-weight: 500;
    font-size: 0.92rem;
}
.home-faq { max-width: 720px; }
.home-faq summary {
    font-weight: 600;
    cursor: pointer;
}
.home-faq details p { margin-top: 0.65rem; }
.home-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 3rem 0 2.4rem;
    font-size: 0.92rem;
}
.home-footer .home-brand { color: #fff; }
.home-footer__label {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.55rem;
}
.home-footer a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 0.35rem;
}
.home-footer a:hover { color: #fff; }

@media (max-width: 991px) {
    .home-features,
    .home-steps { grid-template-columns: 1fr 1fr; }
    .home-nav__links { display: none; }
    .home-panel__body { grid-template-columns: 1fr; }
    .home-panel__body aside { display: none; }
}

@media (max-width: 575px) {
    .home-hero { padding: 2.4rem 0 2rem; }
    .home-section { padding: 2.6rem 0; }
    .home-features,
    .home-steps,
    .home-panel__stats { grid-template-columns: 1fr; }
    .home-nav__cta { font-size: 0.78rem; padding: 0.45rem 0.85rem; }
}
