/* Ajustes específicos para containers do header */
.sf-header .sf-container,
.sf-topbar .sf-container {
    max-width: 1320px;
    padding-left: 32px;
    padding-right: 32px;
}

/* Layout geral usa variáveis de style.css */

/* ===== TOPO AZUL (FRASE) ===== */
.sf-topbar {
    color: #ffffff;
    position: relative;
    width: 100%;
    z-index: 1100;
    height: 90px;
    background-size: cover;
    background-position: center;
}



.sf-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    text-align: center;
    padding: 0;
}

.sf-topbar-img {
    height: 90px;
    width: auto;
    max-width: 100%;
    display: block;
}

.sf-topbar-text {
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* ===== HEADER DUPLO ===== */
.sf-header {
    position: relative;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    z-index: 1000;
}


.sf-header-top {
    border-bottom: 1px solid #eef1f7;
}

.sf-header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 14px 0;
}

.sf-logo img {
    max-height: 80px;
}

.sf-site-title {
    font-weight: 700;
    font-size: 22px;
    color: var(--sf-blue);
}

.sf-header-info {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.sf-header-info-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #f5f7ff;
}

.sf-header-info-icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--sf-blue);
    box-shadow: 0 4px 10px rgba(15,23,42,0.12);
}

.sf-header-info-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.sf-header-info-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #6b7280;
}

.sf-header-info-sub {
    font-size: 13px;
    color: #111827;
}

/* ===== BARRA DO MENU ===== */
.sf-header-bottom {
    background: #ffffff;
}

.sf-header-bottom-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 56px;
}

.sf-header-bottom-inner > *:first-child {
    justify-self: flex-start;
}

.sf-header-bottom-inner > *:nth-child(2) {
    justify-self: center;
}

.sf-header-bottom-inner > *:last-child {
    justify-self: flex-end;
}

/* Navegação */
.sf-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sf-menu {
    list-style: none;
    display: flex;
    gap: 34px;
    margin: 0;
    padding: 0;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.sf-menu li {
    position: relative;
}

.sf-menu li a {
    position: relative;
    padding-bottom: 6px;
    color: #1f2933;
}

.sf-menu li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--sf-light-blue), var(--sf-blue));
    transition: width .25s ease;
}

.sf-menu li a:hover::after,
.sf-menu li.current-menu-item > a::after {
    width: 100%;
}

/* Submenus */
.sf-menu li ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    padding: 10px 0;
    margin: 12px 0 0;
    list-style: none;
    min-width: 190px;
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(10,23,60,0.18);
    display: none;
    z-index: 20;
}

.sf-menu li:hover > ul.sub-menu {
    display: block;
}

.sf-menu li ul.sub-menu li a {
    padding: 7px 18px;
    display: block;
    font-size: 13px;
    white-space: nowrap;
}

.sf-menu li ul.sub-menu li a::after {
    display: none;
}

.sf-menu li ul.sub-menu li a:hover {
    background: #f2f5ff;
}

/* Social header */
.sf-header-social a {
    margin-left: 8px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #374151;
}

.sf-header-social a:hover {
    background: var(--sf-light-blue);
    color: #ffffff;
    border-color: var(--sf-light-blue);
}

/* Toggle mobile */
.sf-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-right: 10px;
}

.sf-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--sf-blue);
    margin: 4px 0;
    border-radius: 999px;
    transition: .2s;
}

/* ===== SLIDER FULL ===== */
.sf-slider-wrapper {
    margin: 0;
    padding: 0;
}

.sf-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 65vh;
    min-height: 380px;
    max-height: 900px;
    border-radius: 0;
}

.sf-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity .9s ease, transform 1.6s ease;
}

.sf-slide.is-active {
    opacity: 1;
    transform: scale(1.0);
    z-index: 2;
}

.sf-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 45%, rgba(0,0,0,0.45) 100%);
}

/* Controles slider */
.sf-slide-prev,
.sf-slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(0,0,0,0.35);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    cursor: pointer;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.sf-slide-prev { left: 22px; }
.sf-slide-next { right: 22px; }

.sf-slide-prev:hover,
.sf-slide-next:hover {
    background: rgba(255,255,255,0.9);
    color: var(--sf-blue);
}

.sf-slide-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.sf-slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,0.85);
    background: transparent;
    cursor: pointer;
    opacity: .7;
    transition: background .25s, width .25s, opacity .2s;
}

.sf-slide-dot.is-active {
    background: #ffffff;
    width: 24px;
    opacity: 1;
}

/* ===== BLOCO DESTAQUE ===== */
.sf-highlight {
    padding: 56px 0 48px;
    background: radial-gradient(circle at top left, #f5f8ff 0, #ffffff 60%);
}

.sf-highlight-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.sf-highlight-image {
    position: relative;
}

.sf-highlight-image::before {
    content: '';
    position: absolute;
    inset: 14px -18px -18px 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--sf-blue-soft), var(--sf-light-blue-soft));
    opacity: .12;
    z-index: 0;
}

.sf-highlight-image img {
    position: relative;
    border-radius: 22px;
    box-shadow: 0 18px 38px rgba(8,24,60,0.35);
    z-index: 1;
}

.sf-highlight-content h2 {
    color: var(--sf-blue);
    margin-top: 0;
    font-size: 26px;
}

.sf-highlight-subtitle {
    margin-top: 6px;
    margin-bottom: 22px;
    font-size: 15px;
}

.sf-highlight-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sf-highlight-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--sf-blue), var(--sf-light-blue));
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .08em;
    border: none;
    box-shadow: 0 10px 24px rgba(15,35,70,0.35);
    transition: transform .15s, box-shadow .15s, filter .15s;
}

.sf-highlight-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
    box-shadow: 0 16px 30px rgba(15,35,70,0.45);
}

/* ===== CONTEÚDO ===== */
.sf-home-content {
    padding: 40px 0 36px;
}

.sf-page,
.sf-single,
.sf-main-loop {
    padding: 40px 0 60px;
}

.sf-page-title,
.sf-single-title {
    color: var(--sf-blue);
}

/* ===== FOOTER CARDS ===== */
.sf-footer-cards {
    background: #ffffff;
    padding: 30px 0 24px;
}

.sf-footer-cards-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.sf-footer-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #f7f8fc;
    box-shadow: 0 10px 24px rgba(15,35,70,0.08);
    transition: transform .16s, box-shadow .16s, background .2s;
}

.sf-footer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(15,35,70,0.16);
    background: #eff3ff;
}

.sf-footer-card-icon span {
    font-size: 28px;
}

.sf-footer-card-content h3 {
    margin: 0 0 4px;
    color: var(--sf-blue);
    font-size: 15px;
}

.sf-footer-card-content p {
    margin: 0;
    font-size: 13px;
}

/* ===== FOOTER PRINCIPAL ===== */
.sf-footer-main {
    background: var(--sf-blue);
    color: var(--sf-footer-text);
    padding: 32px 0 8px;
}

.sf-footer-main-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    font-size: 14px;
}

.sf-footer-col h4 {
    margin-top: 0;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
}

.sf-footer-logo {
    margin-bottom: 10px;
}

.sf-footer-logo img {
    max-height: 44px;
    width: auto;
    display: block;
}

.sf-footer-bottom {
    background: var(--sf-dark-blue);
    color: #fff;
    padding: 10px 0;
    font-size: 12px;
}

.sf-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sf-footer-social a {
    margin-left: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1100px) {
    .sf-header-info {
        gap: 18px;
    }
    .sf-slider {
        height: 70vh;
    }
}

@media (max-width: 900px) {
    .sf-header-top-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .sf-header-info {
        justify-content: flex-start;
    }
    .sf-header-bottom-inner {
        grid-template-columns: auto auto;
    }
    .sf-header-bottom-inner > *:first-child {
        order: 2;
    }
    .sf-header-bottom-inner > *:nth-child(2) {
        order: 1;
        justify-self: flex-start;
    }
    .sf-header-bottom-inner > *:last-child {
        order: 3;
    }
}

@media (max-width: 768px) {
    .sf-header-info {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 10px;
    }

    .sf-header-bottom-inner {
        min-height: 54px;
    }

    .sf-nav-toggle {
        display: block;
    }

    .sf-nav {
        position: absolute;
        top: 54px;
        left: 0;
        right: 0;
        background: #ffffff;
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
        box-shadow: 0 12px 30px rgba(0,0,0,0.18);
        margin-left: 0;
        z-index: 5;
    }

    .sf-nav.is-open {
        max-height: 320px;
    }

    .sf-menu {
        flex-direction: column;
        padding: 14px 18px 18px;
        gap: 12px;
    }

    .sf-menu li ul.sub-menu {
        position: relative;
        box-shadow: none;
        margin: 0;
        border-radius: 0;
    }

    .sf-header-social {
        display: none;
    }

    .sf-slider {
        height: 260px;
    }

    .sf-footer-cards-inner,
    .sf-footer-main-inner {
        grid-template-columns: 1fr;
    }

    .sf-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}



/* ===== BARRA DO MENU REFINADA ===== */
.sf-header-bottom {
    background: #ffffff;
    border-top: 1px solid #edf0f6;
    border-bottom: 1px solid #edf0f6;
}

.sf-header-bottom-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 58px;
}

.sf-header-bottom-inner > *:first-child {
    justify-self: flex-start;
}

.sf-header-bottom-inner > *:nth-child(2) {
    justify-self: center;
}

.sf-header-bottom-inner > *:last-child {
    justify-self: flex-end;
}

/* Navegação principal */
.sf-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sf-menu {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.sf-menu li {
    position: relative;
}

.sf-menu li a {
    position: relative;
    padding: 4px 0 8px;
    color: #111827;
}

.sf-menu li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--sf-light-blue), var(--sf-blue));
    transition: width .22s ease;
}

.sf-menu li a:hover::after,
.sf-menu li.current-menu-item > a::after,
.sf-menu li.current-menu-ancestor > a::after {
    width: 100%;
}

.sf-menu li a:hover {
    color: var(--sf-blue);
}

/* Submenus */
.sf-menu li ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    padding: 10px 0;
    margin: 12px 0 0;
    list-style: none;
    min-width: 190px;
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(10,23,60,0.18);
    display: none;
    z-index: 20;
}

.sf-menu li:hover > ul.sub-menu {
    display: block;
}

.sf-menu li ul.sub-menu li a {
    padding: 7px 18px;
    display: block;
    font-size: 13px;
    white-space: nowrap;
    text-transform: none;
    letter-spacing: normal;
}

.sf-menu li ul.sub-menu li a::after {
    display: none;
}

.sf-menu li ul.sub-menu li a:hover {
    background: #f2f5ff;
    color: var(--sf-blue);
}

/* Social à direita do menu */
.sf-header-social a {
    margin-left: 10px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #374151;
    background: #ffffff;
    transition: background .2s, color .2s, border-color .2s, transform .12s;
}

.sf-header-social a:hover {
    background: var(--sf-light-blue);
    color: #ffffff;
    border-color: var(--sf-light-blue);
    transform: translateY(-1px);
}



@media (max-width: 768px) {
    .sf-header-bottom-inner {
        grid-template-columns: auto auto;
        min-height: 52px;
    }

    .sf-nav-toggle {
        display: block;
    }

    .sf-header-bottom-inner > *:first-child {
        display: none;
    }

    .sf-nav {
        position: absolute;
        top: 54px;
        left: 0;
        right: 0;
        background: #ffffff;
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
        box-shadow: 0 12px 30px rgba(0,0,0,0.18);
        margin-left: 0;
        z-index: 5;
    }

    .sf-nav.is-open {
        max-height: 320px;
    }

    .sf-menu {
        flex-direction: column;
        padding: 14px 18px 18px;
        gap: 12px;
        letter-spacing: .05em;
    }

    .sf-header-social {
        display: none;
    }
}


/* v1.5.1 center menu bar */
.sf-header-bottom-inner {
    max-width: 1320px;
    margin: 0 auto;
    width: 100%;
}


/* ===== v1.6 - HEADER MENU CENTERED & MORE STYLED ===== */

/* container da barra do menu alinhado ao topo */
.sf-header-bottom {
    border-top: 1px solid #edf0f6;
    border-bottom: 1px solid #edf0f6;
    background: #ffffff;
}

.sf-header-bottom .sf-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

/* layout da linha do menu */
.sf-header-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
}

/* botão mobile + nav + sociais */
.sf-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* menu mais forte e central */
.sf-menu {
    list-style: none;
    display: flex;
    gap: 42px;
    margin: 0 auto;
    padding: 0;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.sf-menu li {
    position: relative;
}

.sf-menu li a {
    position: relative;
    padding: 6px 0 10px;
    color: #111827;
}

.sf-menu li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--sf-light-blue), var(--sf-blue));
    transition: width .22s ease;
}

.sf-menu li a:hover::after,
.sf-menu li.current-menu-item > a::after,
.sf-menu li.current-menu-ancestor > a::after {
    width: 100%;
}

.sf-menu li a:hover {
    color: var(--sf-blue);
}

/* sociais alinhados à direita */
.sf-header-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.sf-header-social a {
    margin-left: 10px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #374151;
    background: #ffffff;
    transition: background .2s, color .2s, border-color .2s, transform .12s;
}

.sf-header-social a:hover {
    background: var(--sf-light-blue);
    color: #ffffff;
    border-color: var(--sf-light-blue);
    transform: translateY(-1px);
}

/* mobile mantém menu bonito, porém em coluna */
@media (max-width: 768px) {
    .sf-header-bottom .sf-container {
        padding: 0 18px;
    }

    .sf-header-bottom-inner {
        min-height: 54px;
    }

    .sf-nav {
        position: absolute;
        top: 54px;
        left: 0;
        right: 0;
        background: #ffffff;
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
        box-shadow: 0 12px 30px rgba(0,0,0,0.18);
        margin-left: 0;
        z-index: 5;
        justify-content: flex-start;
    }

    .sf-nav.is-open {
        max-height: 320px;
    }

    .sf-menu {
        flex-direction: column;
        padding: 14px 18px 18px;
        gap: 12px;
        letter-spacing: .06em;
        margin: 0;
    }

    .sf-header-social {
        display: none;
    }
}


/* ===== FIXO: HEADER MENU CENTRALIZADO ESTILO REFERÊNCIA ===== */

.sf-header-bottom {
    border-top: 1px solid #edf0f6;
    border-bottom: 1px solid #edf0f6;
    background: #ffffff;
}

/* container da barra do menu */
.sf-header-bottom .sf-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

/* linha do menu com 3 colunas: vazio | menu | social */
.sf-header-bottom-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 60px;
}

/* primeira coluna (normalmente vazia) encosta à esquerda */
.sf-header-bottom-inner > *:first-child {
    justify-self: flex-start;
}

/* segunda coluna (MENU) fica exatamente no centro */
.sf-header-bottom-inner > *:nth-child(2) {
    justify-self: center;
}

/* terceira coluna (SOCIAIS) à direita */
.sf-header-bottom-inner > *:last-child {
    justify-self: flex-end;
}

/* navegação centralizada */
.sf-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* MENU mais forte, espaçado e bonito */
.sf-menu {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.sf-menu li {
    position: relative;
}

.sf-menu li a {
    position: relative;
    padding: 6px 0 10px;
    color: #111827;
}

.sf-menu li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--sf-light-blue), var(--sf-blue));
    transition: width .22s ease;
}

.sf-menu li a:hover::after,
.sf-menu li.current-menu-item > a::after,
.sf-menu li.current-menu-ancestor > a::after {
    width: 100%;
}

.sf-menu li a:hover {
    color: var(--sf-blue);
}

/* sociais alinhados à direita, com hover azul */
.sf-header-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.sf-header-social a {
    margin-left: 10px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #374151;
    background: #ffffff;
    transition: background .2s, color .2s, border-color .2s, transform .12s;
}

.sf-header-social a:hover {
    background: var(--sf-light-blue);
    color: #ffffff;
    border-color: var(--sf-light-blue);
    transform: translateY(-1px);
}

/* MOBILE: mantém vertical bonitinho */
@media (max-width: 768px) {
    .sf-header-bottom .sf-container {
        padding: 0 18px;
    }

    .sf-header-bottom-inner {
        grid-template-columns: auto auto;
        min-height: 54px;
    }

    .sf-nav {
        position: absolute;
        top: 54px;
        left: 0;
        right: 0;
        background: #ffffff;
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
        box-shadow: 0 12px 30px rgba(0,0,0,0.18);
        margin-left: 0;
        z-index: 5;
        justify-content: flex-start;
    }

    .sf-nav.is-open {
        max-height: 320px;
    }

    .sf-menu {
        flex-direction: column;
        padding: 14px 18px 18px;
        gap: 12px;
        letter-spacing: .06em;
        margin: 0;
    }

    .sf-header-social {
        display: none;
    }
}

/* v2.1 - imagem fixa no topo usando a própria topbar */
.sf-topbar {
    background-size: cover;
    background-position: center;
}
.sf-topbar-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(37,99,235,0.75), rgba(79,70,229,0.75));
    mix-blend-mode: multiply;
}
.sf-topbar-inner {
    position: relative;
}
.sf-topbar-text {
    text-shadow: 0 2px 8px rgba(15,23,42,0.6);
}

/* ícones sociais simples para Facebook e Instagram */
.sf-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.sf-icon-facebook,
.sf-icon-instagram {
    text-transform: lowercase;
}

/* v2.3 fixes */
.sf-header{top:0;}
.sf-slider{margin:0!important;padding:0!important;}


/* === v2.7 - AJUSTE DA IMAGEM DO TOPO E SLIDER FULL === */
.sf-topbar {
    height: 90px !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sf-topbar::before {
    content: none !important;
}

/* Slider ocupando 100% da largura real da viewport */
.sf-slider-wrapper,
.sf-slider {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    overflow: hidden !important;
}

.sf-slide {
    width: 100vw !important;
}


/* v2.9 - slider full largura sem 100vw hack */
.sf-slider-wrapper,
.sf-slider {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.sf-slide {
    width: 100% !important;
}

/* ===== v3.0 ajustes solicitados ===== */

/* Topbar: banner 90px e sempre preenchendo largura */
.sf-topbar-inner{
  justify-content: center;
}
.sf-topbar-banner{
  height: 90px;
  width: 100%;
  max-width: 1320px;
  border-radius: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  margin: 0;
}

/* Menu sem sublinhado */
.sf-menu li a{ text-decoration: none !important; }
.sf-menu li a::after{ display:none !important; }
.sf-menu li a:hover,
.sf-menu li.current-menu-item > a,
.sf-menu li.current-menu-ancestor > a{
  color: var(--sf-blue);
}

/* Redes sociais (SVG) */
.sf-social-link svg{
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.sf-header-social a:hover,
.sf-footer-social a:hover{
  background: var(--sf-blue);
  color: #ffffff;
  border-color: var(--sf-blue);
}

/* Slider sempre full e sem "borda" lateral */
.sf-slider,
.sf-slide{ width:100%; }
.sf-slider{ overflow:hidden; }

/* ===== Home: Eventos (carrossel 2 por vez) ===== */
.sf-section{
  padding: 46px 0;
}
.sf-section-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.sf-section-title-row h2{
  margin:0;
  color: var(--sf-blue);
  font-size: 26px;
}
.sf-carousel-controls{
  display:flex;
  gap: 10px;
}
.sf-carousel-btn{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background:#fff;
  box-shadow: 0 10px 22px rgba(15,35,70,0.08);
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size: 18px;
}
.sf-carousel-btn:hover{
  background:#f2f5ff;
  border-color:#c7d2fe;
}

.sf-events-viewport{
  overflow:hidden;
}
.sf-events-track{
  display:flex;
  gap: 18px;
  transition: transform .35s ease;
  will-change: transform;
}
.sf-event-card{
  flex: 0 0 calc(50% - 9px);
  background:#fff;
  border-radius: 22px;
  overflow:hidden;
  box-shadow: 0 12px 28px rgba(15,35,70,0.10);
}
.sf-event-card a{ color: inherit; text-decoration:none; display:block; }
.sf-event-thumb{
  aspect-ratio: 16 / 10;
  background:#e5e7eb;
  overflow:hidden;
}
.sf-event-thumb img{
  width:100%; height:100%; object-fit:cover;
}
.sf-event-meta{ padding: 14px 16px 16px; }
.sf-event-meta h3{ margin:0; font-size: 16px; line-height:1.25; }
.sf-event-meta .sf-date{ margin-top:6px; font-size: 12px; color:#6b7280; }

/* ===== Home: Ação Social (grid 4 col) ===== */
.sf-social-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.sf-post-card{
  background:#fff;
  border-radius: 22px;
  overflow:hidden;
  box-shadow: 0 12px 28px rgba(15,35,70,0.10);
}
.sf-post-card a{ color: inherit; text-decoration:none; display:block; }
.sf-post-thumb{ aspect-ratio: 16 / 11; background:#e5e7eb; overflow:hidden; }
.sf-post-thumb img{ width:100%; height:100%; object-fit:cover; }
.sf-post-body{ padding: 14px 16px 16px; }
.sf-post-body h3{ margin:0; font-size: 15px; line-height:1.25; }
.sf-post-body .sf-date{ margin-top:6px; font-size:12px; color:#6b7280; }

.sf-pill-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 16px;
  border-radius: 14px;
  background: #fde2e8;
  color: #e11d48;
  text-decoration:none;
  font-weight:600;
  font-size: 14px;
}
.sf-pill-button:hover{ filter: brightness(0.98); }

@media (max-width: 980px){
  .sf-social-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px){
  .sf-event-card{ flex-basis: 100%; }
  .sf-social-grid{ grid-template-columns: 1fr; }
}


/* ===== v3.2 - Palavra da Fundadora ===== */
.sf-founder-section {
    padding: 48px 0 28px;
    background: #f5f7fb;
}

.sf-founder-card {
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 36px;
    align-items: center;
    background: #ffffff;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .10);
}

.sf-founder-media img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .14);
}

.sf-founder-title {
    margin: 0 0 10px;
    font-size: 42px;
    line-height: 1.1;
    color: #0f172a;
    font-weight: 800;
}

.sf-founder-subtitle {
    margin: 0 0 18px;
    font-size: 18px;
    color: #475569;
    font-weight: 500;
}

.sf-founder-text {
    color: #1e293b;
    font-size: 18px;
    line-height: 1.7;
    max-width: 760px;
}

.sf-founder-text p {
    margin: 0 0 14px;
}

.sf-founder-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 14px 24px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--sf-blue), var(--sf-light-blue));
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .18);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.sf-founder-button:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, .22);
    filter: brightness(1.03);
}

@media (max-width: 900px) {
    .sf-founder-card {
        grid-template-columns: 1fr;
    }

    .sf-founder-media img {
        height: 320px;
    }

    .sf-founder-title {
        font-size: 32px;
    }

    .sf-founder-subtitle,
    .sf-founder-text {
        font-size: 16px;
    }
}


/* ===== v3.3 - Agenda ===== */
.sf-agenda-section {
    padding: 18px 0 20px;
    background: #f7f8fb;
}

.sf-section-title.sf-title-blue {
    color: #1d9bf0;
}

.sf-section-title.sf-title-blue::after {
    background: #1d9bf0;
}

.sf-agenda-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sf-agenda-card {
    display: flex;
    flex-direction: column; /* 🔥 muda para vertical */
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid #d9dde8;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
}

.sf-agenda-thumb img {
    width: 100%;
    height: 160px; /* pode ajustar entre 140 e 180 */
    object-fit: cover;
    border-radius: 12px;
}

.sf-agenda-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sf-agenda-card-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
    color: #0f172a;
    font-weight: 800;
}

.sf-agenda-card-title a {
    color: inherit;
    text-decoration: none;
}

.sf-agenda-date {
    color: #6b7280;
    font-size: 15px;
}

/* ===== v3.3 - quatro categorias ===== */
.sf-categories-grid-section {
    padding: 18px 0 40px;
    background: #f7f8fb;
}

.sf-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.sf-category-block:first-child {
    grid-column: span 3;
}

.sf-category-block:first-child .sf-category-card {
    max-width: 610px;
}

.sf-section-title[style*="--sf-local-title-color"] {
    color: var(--sf-local-title-color);
}

.sf-section-title[style*="--sf-local-title-color"]::after {
    background: var(--sf-local-title-color);
}

.sf-category-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .12);
}

.sf-category-thumb img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.sf-category-overlay {
    background: var(--sf-local-card-color);
    color: #fff;
    padding: 18px 18px 16px;
}

.sf-category-card-title {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 800;
}

.sf-category-card-title a {
    color: #fff;
    text-decoration: none;
}

.sf-category-date {
    font-size: 14px;
    color: rgba(255,255,255,.9);
}

@media (max-width: 1100px) {
    .sf-agenda-track {
        grid-template-columns: 1fr;
    }

    .sf-categories-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sf-category-block:first-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .sf-categories-grid {
        grid-template-columns: 1fr;
    }

    .sf-category-block:first-child {
        grid-column: span 1;
    }

    .sf-agenda-card {
        flex-direction: column;
    }

    .sf-agenda-thumb img {
        width: 100%;
        height: 180px;
    }
}


/* v3.6 - corrigir leitura dos campos da Fundadora/Agenda e botão visível */
.sf-founder-button {
    background: linear-gradient(90deg, #2563eb, #0ea5e9) !important;
    color: #ffffff !important;
    min-width: 220px;
}
.sf-founder-button:hover {
    background: linear-gradient(90deg, #1d4ed8, #0284c7) !important;
    color: #ffffff !important;
}
.sf-founder-media {
    overflow: hidden;
    border-radius: 24px;
}
.sf-founder-media img {
    object-fit: cover !important;
    object-position: center !important;
}


/* v3.7 - categorias: bloco 1 com 2 publicações e links para categoria */
.sf-category-block.is-featured {
    grid-column: span 3;
}

.sf-category-featured-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.sf-category-card.is-featured .sf-category-thumb img {
    height: 300px;
}

@media (max-width: 1100px) {
    .sf-category-block.is-featured {
        grid-column: span 2;
    }
    .sf-category-featured-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sf-category-block.is-featured {
        grid-column: span 1;
    }
}


/* v3.8 - agenda mais compacta */
.sf-agenda-card {
    min-height: 0 !important;
    align-items: center;
}
.sf-agenda-body {
    justify-content: center;
}
.sf-agenda-card-title {
    margin: 0 0 4px;
}
.sf-agenda-date {
    margin-top: 2px;
}

/* v3.8 - notícias */
.sf-news-section {
    padding: 10px 0 44px;
    background: #f7f8fb;
}
.sf-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.sf-news-card {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .10);
}
.sf-news-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.sf-news-body {
    padding: 16px 18px 18px;
}
.sf-news-card-title {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 800;
    color: #0f172a;
}
.sf-news-card-title a {
    color: inherit;
    text-decoration: none;
}
.sf-news-date {
    font-size: 14px;
    color: #6b7280;
}
@media (max-width: 1100px) {
    .sf-news-grid {
        grid-template-columns: 1fr;
    }
}


/* v3.9 - agenda em carrossel com setas */
.sf-agenda-section .sf-section-header {
    align-items: center;
}

.sf-agenda-nav {
    display: flex;
    gap: 10px;
}

.sf-agenda-prev,
.sf-agenda-next {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid #d5d9e6;
    background: #ffffff;
    color: #0f172a;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
}

.sf-agenda-prev:disabled,
.sf-agenda-next:disabled {
    opacity: .45;
    cursor: default;
}

.sf-agenda-carousel {
    overflow: hidden;
}

.sf-agenda-track {
    display: flex;
    gap: 18px;
    transition: transform .28s ease;
    will-change: transform;
}

.sf-agenda-card {
    flex: 0 0 calc((100% - 36px) / 3);
}

@media (max-width: 1100px) {
    .sf-agenda-card {
        flex: 0 0 calc((100% - 18px) / 2);
    }
}

@media (max-width: 700px) {
    .sf-agenda-card {
        flex: 0 0 100%;
    }
}


/* v4.0 - setas agenda estilo do layout */
.sf-agenda-nav{
    display:flex;
    gap:12px;
}

.sf-agenda-prev,
.sf-agenda-next{
    width:44px;
    height:44px;
    border-radius:50%;
    border:none;
    background:#f1f3f8;
    color:#4b5563;
    font-size:20px;
    font-weight:700;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 6px 14px rgba(0,0,0,.08);
    transition:all .18s ease;
}

.sf-agenda-prev:hover,
.sf-agenda-next:hover{
    background:#2563eb;
    color:#ffffff;
    transform:translateY(-2px);
}

.sf-agenda-prev:disabled,
.sf-agenda-next:disabled{
    opacity:.35;
    cursor:default;
    background:#f1f3f8;
    color:#9ca3af;
    transform:none;
}



/* v4.1 - ajustes finos agenda e categorias */
.sf-agenda-section .sf-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.sf-agenda-nav {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.sf-agenda-prev,
.sf-agenda-next {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid #d8dce8;
    background: #ffffff;
    color: #6b7280;
    box-shadow: none;
    transform: none !important;
}

.sf-agenda-prev:hover,
.sf-agenda-next:hover {
    background: #f3f4f6;
    color: #111827;
}

.sf-agenda-carousel {
    overflow: hidden;
    width: 100%;
}

.sf-agenda-track {
    display: flex;
    gap: 18px;
    transition: transform .28s ease;
    will-change: transform;
    padding-right: 0;
}

.sf-agenda-card {
    flex: 0 0 calc((100% - 36px) / 3);
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 1100px) {
    .sf-agenda-card {
        flex: 0 0 calc((100% - 18px) / 2);
    }
}

@media (max-width: 700px) {
    .sf-agenda-card {
        flex: 0 0 100%;
    }
}

/* remove faixa branca sob cards do bloco 1 */
.sf-category-card {
    background: transparent !important;
}

.sf-category-card.is-featured {
    overflow: hidden;
    border-radius: 22px;
}

.sf-category-card.is-featured .sf-category-thumb,
.sf-category-card.is-featured .sf-category-thumb img {
    display: block;
}

.sf-category-card.is-featured .sf-category-thumb img {
    margin-bottom: 0 !important;
}

.sf-category-card.is-featured .sf-category-overlay {
    margin-top: 0 !important;
}


/* v4.2 - alinhamento header/menu e hover social */
.sf-header-top-inner {
    gap: 20px;
}
.sf-logo {
    flex: 0 0 auto;
}
.sf-header-info {
    margin-left: auto;
}
.sf-header-bottom .sf-container {
    max-width: 1320px;
    padding-left: 32px;
    padding-right: 32px;
}
.sf-header-bottom-inner {
    grid-template-columns: 1fr auto 1fr;
}
.sf-header-bottom-left {
    display: block;
}
.sf-nav {
    justify-content: center;
}
.sf-menu {
    margin: 0 auto;
}

.sf-header-social a {
    background: #ffffff;
    color: #1f2937 !important;
}
.sf-header-social a svg,
.sf-header-social a i,
.sf-header-social a span {
    color: #1f2937 !important;
    fill: #1f2937 !important;
}
.sf-header-social a:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}
.sf-header-social a:hover svg,
.sf-header-social a:hover i,
.sf-header-social a:hover span {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* v4.2 - agenda com destaque no item mais recente */
.sf-agenda-carousel {
    overflow: hidden;
}
.sf-agenda-track {
    align-items: stretch;
}
.sf-agenda-card:first-child {
    flex: 0 0 calc(46% - 12px) !important;
    min-height: 138px;
}
.sf-agenda-card:not(:first-child) {
    flex: 0 0 calc(27% - 12px) !important;
    min-height: 104px;
}
.sf-agenda-card:first-child .sf-agenda-thumb img {
    width: 130px;
    height: 94px;
}
.sf-agenda-card:not(:first-child) .sf-agenda-thumb img {
    width: 92px;
    height: 66px;
}
.sf-agenda-card:first-child .sf-agenda-card-title {
    font-size: 18px;
}
.sf-agenda-card:not(:first-child) .sf-agenda-card-title {
    font-size: 14px;
}
.sf-agenda-card:not(:first-child) .sf-agenda-date {
    font-size: 12px;
}

@media (max-width: 1100px) {
    .sf-agenda-card:first-child,
    .sf-agenda-card:not(:first-child) {
        flex: 0 0 calc((100% - 18px) / 2) !important;
    }
}
@media (max-width: 700px) {
    .sf-header-top-inner {
        gap: 12px;
    }
    .sf-agenda-card:first-child,
    .sf-agenda-card:not(:first-child) {
        flex: 0 0 100% !important;
    }
}


/* v4.3 - agenda com imagem destacada separada */
.sf-agenda-section {
    padding-top: 18px;
}
.sf-agenda-featured-wrap {
    margin: 4px 0 18px;
    max-width: 320px;
}
.sf-agenda-featured-card {
    display: block;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15,23,42,.10);
    background: #fff;
}
.sf-agenda-featured-card img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.sf-agenda-carousel {
    overflow: hidden;
    width: 100%;
}
.sf-agenda-track {
    display: flex;
    gap: 18px;
}
.sf-agenda-card {
    flex: 0 0 calc((100% - 36px) / 3) !important;
    min-height: 0 !important;
}
.sf-agenda-card:first-child,
.sf-agenda-card:not(:first-child) {
    min-height: 0 !important;
}
.sf-agenda-thumb img {
    width: 92px !important;
    height: 66px !important;
    object-fit: cover;
}
.sf-agenda-card-title {
    font-size: 14px !important;
}
.sf-agenda-date {
    font-size: 12px !important;
}

@media (max-width: 1100px) {
    .sf-agenda-featured-wrap {
        max-width: 100%;
    }
    .sf-agenda-card {
        flex: 0 0 calc((100% - 18px) / 2) !important;
    }
}
@media (max-width: 700px) {
    .sf-agenda-card {
        flex: 0 0 100% !important;
    }
    .sf-agenda-featured-card img {
        height: 180px;
    }
}


/* v4.4 - agenda layout alinhado ao print */
.sf-agenda-section .sf-section-header {
    justify-content: flex-start !important;
    gap: 18px !important;
    margin-bottom: 16px !important;
}

.sf-agenda-section .sf-section-title {
    margin: 0 !important;
    flex: 0 0 auto;
}

.sf-agenda-nav {
    margin-left: 0 !important;
    display: flex !important;
    gap: 10px !important;
    align-items: center;
}

.sf-agenda-featured-wrap {
    margin: 0 0 18px !important;
    max-width: 300px !important;
}

.sf-agenda-featured-card img {
    height: 215px !important;
    border-radius: 20px;
}

.sf-agenda-carousel {
    max-width: 980px;
}

.sf-agenda-track {
    justify-content: flex-start;
    align-items: stretch;
}

.sf-agenda-card {
    min-height: 96px !important;
}

@media (min-width: 1101px) {
    .sf-agenda-card {
        flex: 0 0 calc((100% - 18px) / 2) !important;
    }
}

@media (max-width: 700px) {
    .sf-agenda-section .sf-section-header {
        justify-content: space-between !important;
    }
    .sf-agenda-nav {
        margin-left: auto !important;
    }
    .sf-agenda-featured-wrap,
    .sf-agenda-carousel {
        max-width: 100% !important;
    }
}


/* v4.5 - agenda layout igual ao print: imagem destacada à esquerda e lista à direita */
.sf-agenda-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 28px;
    align-items: start;
}
.sf-agenda-featured-col {
    min-width: 0;
}
.sf-agenda-featured-card {
    display: block;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15,23,42,.10);
    background: #fff;
}
.sf-agenda-featured-card img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.sf-agenda-list-col {
    min-width: 0;
}
.sf-agenda-header-right {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 16px !important;
}
.sf-agenda-nav {
    margin-left: auto !important;
}
.sf-agenda-carousel {
    overflow: hidden;
    width: 100%;
}
.sf-agenda-track {
    display: flex;
    gap: 18px;
    transition: transform .28s ease;
}
.sf-agenda-card {
    flex: 0 0 calc((100% - 18px) / 2) !important;
    min-height: 96px !important;
}
.sf-agenda-thumb img {
    width: 92px !important;
    height: 66px !important;
    object-fit: cover;
}
.sf-agenda-card-title {
    font-size: 14px !important;
    margin: 0 0 4px !important;
}
.sf-agenda-date {
    font-size: 12px !important;
}
@media (max-width: 1100px) {
    .sf-agenda-layout {
        grid-template-columns: 1fr;
    }
    .sf-agenda-featured-card img {
        height: 220px;
    }
}
@media (max-width: 700px) {
    .sf-agenda-card {
        flex: 0 0 100% !important;
    }
}


/* v4.6 - padronizar tamanho dos itens antigos da agenda */
.sf-agenda-card {
    flex: 0 0 calc((100% - 18px) / 2) !important;
    height: 92px !important;
    display: flex;
    align-items: center;
    padding: 10px 14px;
    box-sizing: border-box;
}

.sf-agenda-thumb {
    flex: 0 0 70px;
    margin-right: 12px;
}

.sf-agenda-thumb img {
    width: 70px !important;
    height: 70px !important;
    object-fit: cover;
    border-radius: 10px;
}

.sf-agenda-body {
    flex: 1;
    min-width: 0;
}

.sf-agenda-card-title {
    font-size: 14px !important;
    line-height: 1.2;
    margin-bottom: 4px;
}

.sf-agenda-date {
    font-size: 12px !important;
    opacity: .8;
}


/* v4.7 - páginas internas, single, arquivos e hover rodapé */
.sf-inner-hero{
  background-size:cover;
  background-position:center;
  padding:46px 0 44px;
  color:#fff;
}
.sf-inner-hero-inner{max-width:980px}
.sf-inner-hero-meta{
  font-size:14px;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.92;
  margin-bottom:8px;
}
.sf-inner-hero-title{
  margin:0;
  font-size:44px;
  line-height:1.1;
  font-weight:800;
}
.sf-archive-description{
  margin-top:12px;
  max-width:760px;
  line-height:1.7;
  color:rgba(255,255,255,.95);
}

.sf-page,.sf-single,.sf-archive{
  padding:40px 0 60px;
}
.sf-page-card,.sf-single-post{
  background:#fff;
  border-radius:26px;
  box-shadow:0 14px 34px rgba(15,23,42,.10);
  overflow:hidden;
}
.sf-page-featured img,.sf-single-featured img{
  display:block;
  width:100%;
  height:auto;
}
.sf-page-content,.sf-single-body{
  padding:34px 36px;
  font-size:18px;
  line-height:1.9;
  color:#1f2937;
}
.sf-page-content h2,.sf-page-content h3,.sf-single-body h2,.sf-single-body h3{
  color:#0f172a;
  margin-top:1.6em;
}
.sf-page-content p,.sf-single-body p{
  margin:0 0 1.1em;
}
.sf-page-content img,.sf-single-body img{
  max-width:100%;
  height:auto;
  border-radius:18px;
}

/* Arquivos/categorias */
.sf-archive-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
.sf-archive-card{
  background:#fff;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 12px 26px rgba(15,23,42,.10);
}
.sf-archive-thumb img,.sf-archive-thumb-placeholder{
  display:block;
  width:100%;
  height:220px;
  object-fit:cover;
  background:linear-gradient(135deg,#dbeafe,#bfdbfe);
}
.sf-archive-body{
  padding:18px 20px 22px;
}
.sf-archive-date{
  color:#64748b;
  font-size:14px;
  margin-bottom:8px;
}
.sf-archive-title{
  margin:0 0 10px;
  font-size:24px;
  line-height:1.25;
}
.sf-archive-title a{
  color:#0f172a;
  text-decoration:none;
}
.sf-archive-title a:hover{
  color:#2563eb;
}
.sf-archive-excerpt{
  color:#475569;
  line-height:1.7;
}
.sf-pagination{margin-top:30px}
.sf-pagination .nav-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.sf-pagination .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:40px;
  height:40px;
  padding:0 14px;
  border-radius:999px;
  background:#fff;
  color:#0f172a;
  text-decoration:none;
  box-shadow:0 8px 18px rgba(15,23,42,.08);
}
.sf-pagination .page-numbers.current,
.sf-pagination .page-numbers:hover{
  background:#2563eb;
  color:#fff;
}

/* Hover redes sociais do rodapé */
.sf-footer-social a{
  background:transparent;
  color:#1d4ed8;
}
.sf-footer-social a svg,
.sf-footer-social a path{
  fill:currentColor;
}
.sf-footer-social a:hover{
  background:#2563eb !important;
  border-color:#2563eb !important;
  color:#ffffff !important;
}
.sf-footer-social a:hover svg,
.sf-footer-social a:hover path{
  fill:#ffffff !important;
}

@media (max-width:1100px){
  .sf-archive-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .sf-inner-hero-title{font-size:38px}
}
@media (max-width:768px){
  .sf-archive-grid{
    grid-template-columns:1fr;
  }
  .sf-page-content,.sf-single-body{
    padding:24px 22px;
    font-size:16px;
  }
  .sf-inner-hero{
    padding:34px 0 32px;
  }
  .sf-inner-hero-title{font-size:30px}
}


/* ===== FIX submenu ===== */
.sf-nav li {
  position: relative;
}

.sf-nav li ul {
  position: absolute;
  top:100%;
  left:0;
  background:#ffffff;
  border-radius:16px;
  padding:12px 0;
  min-width:220px;
  box-shadow:0 12px 26px rgba(0,0,0,.12);
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:.2s;
  z-index:999;
}

.sf-nav li:hover > ul,
.sf-nav li:focus-within > ul {
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

/* ===== Agenda cards ===== */
.sf-event-card{
  display:flex;
  align-items:center;
  gap:18px;
  padding:18px 22px;
  border-radius:20px;
  background:#f7f9fc;
  border:1px solid rgba(0,0,0,.06);
  min-height:92px;
  width:360px;
}

.sf-event-card img{
  width:72px;
  height:72px;
  border-radius:12px;
  object-fit:cover;
}

.sf-event-title{
  font-size:18px;
  font-weight:700;
  color:#0f172a;
}

.sf-event-date{
  font-size:14px;
  color:#64748b;
}



/* v4.9 - agenda exatamente com destaque à esquerda e 3 cards à direita */
.sf-agenda-section {
    padding: 22px 0 28px;
    background: #f7f8fb;
}

.sf-agenda-layout {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.sf-agenda-featured-col {
    min-width: 0;
}

.sf-agenda-featured-card {
    display: block;
    width: 100%;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15,23,42,.10);
    background: #fff;
}

.sf-agenda-featured-card img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.sf-agenda-list-col {
    min-width: 0;
}

.sf-agenda-header-right {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px;
    margin-bottom: 14px !important;
}

.sf-agenda-header-right .sf-section-title {
    margin: 0 !important;
}

.sf-agenda-nav {
    display: flex !important;
    align-items: center;
    gap: 10px !important;
    margin-left: auto !important;
}

.sf-agenda-prev,
.sf-agenda-next {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid #d9dde8;
    background: #ffffff;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    box-shadow: none;
}

.sf-agenda-prev:hover,
.sf-agenda-next:hover {
    background: #f3f4f6;
    color: #111827;
}

.sf-agenda-carousel {
    overflow: hidden;
    width: 100%;
}

.sf-agenda-track {
    display: flex;
    gap: 20px;
    align-items: stretch;
    transition: transform .28s ease;
    will-change: transform;
}

.sf-agenda-card {
    flex: 0 0 320px !important;
    width: 320px !important;
    min-width: 320px !important;

    display: flex !important;
    flex-direction: column !important; /* 👈 ESSENCIAL */
    
    border-radius: 20px;
    background: #ffffff !important;
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 6px 18px rgba(15,23,42,.04);
    overflow: hidden;
    padding: 0 !important; /* remove padding lateral antigo */
}

.sf-agenda-thumb {
    width: 100% !important;
}

.sf-agenda-thumb img {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover;
    border-radius: 0 !important; /* remove arredondado interno */
}

.sf-agenda-body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sf-agenda-card-title {
    margin: 0 0 8px !important;
    font-size: 14px !important;
    line-height: 1.25;
    font-weight: 800;
}

.sf-agenda-card-title a {
    color: #0f172a;
    text-decoration: none;
}

.sf-agenda-date {
    font-size: 12px !important;
    color: #6b7280;
    line-height: 1.35;
}

@media (max-width: 1100px) {
    .sf-agenda-layout {
        grid-template-columns: 1fr;
    }

    .sf-agenda-featured-col {
        max-width: 420px;
    }

    .sf-agenda-card {
        flex: 0 0 calc((100% - 20px) / 2) !important;
    }
}

@media (max-width: 700px) {
    .sf-agenda-card {
        flex: 0 0 100% !important;
    }

    .sf-agenda-featured-card img {
        height: 190px;
    }
}


/* v5.0 - agenda profissional com cards fixos */
/* v5.0 - agenda profissional com cards fixos */
.sf-agenda-section {
    padding: 28px 0 34px;
    background: #f7f8fb;
}

.sf-agenda-layout {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.sf-agenda-featured-col,
.sf-agenda-list-col {
    min-width: 0;
}

.sf-agenda-featured-card {
    display: block;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 30px rgba(15,23,42,.10);
}

.sf-agenda-featured-card img {
    display: block;
    width: 100%;
    height: auto !important;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.sf-agenda-header-right {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px;
    margin-bottom: 14px !important;
}

.sf-agenda-header-right .sf-section-title {
    margin: 0 !important;
    font-size: 24px;
}

.sf-agenda-nav {
    display: flex !important;
    align-items: center;
    gap: 10px !important;
    margin-left: auto !important;
}

.sf-agenda-prev,
.sf-agenda-next {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid #d9dde8;
    background: #ffffff;
    color: #a3a8b4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.sf-agenda-prev:hover,
.sf-agenda-next:hover {
    background: #f3f4f6;
    color: #111827;
}

.sf-agenda-carousel {
    overflow: hidden;
    width: 100%;
}

.sf-agenda-track {
    display: flex;
    gap: 22px;
    align-items: stretch;
    transition: transform .28s ease;
    will-change: transform;
}

/* trava todos os cards exatamente na mesma largura */
.sf-agenda-track > .sf-agenda-card {
    flex: 0 0 220px !important;
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
    box-sizing: border-box !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;

    background: #ffffff !important;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 22px;
    box-shadow: 0 6px 18px rgba(15,23,42,.04);
    overflow: hidden;
    padding: 0 !important;
    min-height: unset !important;
    height: auto !important;
}

.sf-agenda-thumb {
    display: block;
    width: 100% !important;
    flex: none !important;
    margin: 0 !important;
}

.sf-agenda-thumb img {
    display: block;
    width: 100% !important;
    height: 240px !important;
    min-width: 100% !important;
    max-width: 100% !important;
    object-fit: cover;
    border-radius: 0 !important;
}

.sf-agenda-body {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px;
    padding: 18px 18px 20px !important;
    min-width: 0;
    box-sizing: border-box !important;
}

.sf-agenda-card-title {
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    word-break: break-word;
}

.sf-agenda-card-title a {
    color: #0f172a;
    text-decoration: none;
}

.sf-agenda-date {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    color: #64748b;
}

/* responsivo */
@media (max-width: 1100px) {
    .sf-agenda-track > .sf-agenda-card {
        flex: 0 0 280px !important;
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
    }

    .sf-agenda-thumb img {
        height: 190px !important;
    }
}

@media (max-width: 700px) {
    .sf-agenda-track > .sf-agenda-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }

    .sf-agenda-thumb img {
        height: 220px !important;
    }
}


/* v5.1 - projetos acima de notícias */
.sf-projects-section {
    padding: 10px 0 20px;
    background: #f7f8fb;
}
.sf-projects-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.sf-project-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 16px;
    border-radius: 20px;
    /*background: #ffffff;
    box-shadow: 0 12px 26px rgba(15,23,42,.08);*/
    text-decoration: none;
    color: #0f172a;
    min-height: 180px;
}
.sf-project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(15,23,42,.12);
}
.sf-project-logo {
    width: 140px;
    height: 140px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sf-project-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}
.sf-project-title {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
}
.sf-project-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
}
@media (max-width: 1100px) {
    .sf-projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 700px) {
    .sf-projects-grid {
        grid-template-columns: 1fr;
    }
}

/* centralizar títulos das seções */
.sf-projects-section .sf-section-header,
.sf-news-section .sf-section-header {
    text-align: center;
}

.sf-projects-section .sf-section-title,
.sf-news-section .sf-section-title {
    margin: 0 auto;
}





/* v5.3 - arquivo em pastas para Palavra da Fundadora */
.sf-founder-archive{
  padding:40px 0 70px;
}
.sf-folder-grid,
.sf-month-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px;
}
.sf-folder-card,
.sf-month-card{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  padding:26px 24px;
  background:#fff;
  border-radius:24px;
  text-decoration:none;
  box-shadow:0 12px 28px rgba(15,23,42,.08);
  border:1px solid rgba(37,99,235,.10);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.sf-folder-card:hover,
.sf-month-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 34px rgba(15,23,42,.12);
  border-color:rgba(37,99,235,.28);
}
.sf-folder-icon,
.sf-month-icon{
  font-size:40px;
  line-height:1;
}
.sf-folder-title,
.sf-month-title{
  font-size:28px;
  line-height:1.15;
  font-weight:800;
  color:#0f172a;
}
.sf-folder-meta,
.sf-month-meta{
  font-size:14px;
  color:#64748b;
}
.sf-month-subtitle{
  color:#1e293b;
  font-weight:600;
  line-height:1.5;
}
.sf-founder-toolbar{
  margin-bottom:24px;
}
.sf-founder-back{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  border-radius:999px;
  background:#eef4ff;
  color:#2563eb;
  text-decoration:none;
  font-weight:700;
}
.sf-founder-back:hover{
  background:#dbeafe;
}
@media (max-width: 1100px){
  .sf-folder-grid,
  .sf-month-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 700px){
  .sf-folder-grid,
  .sf-month-grid{
    grid-template-columns:1fr;
  }
  .sf-folder-title,
  .sf-month-title{
    font-size:24px;
  }
}
