/*
 * Banco homepage visual system.
 *
 * Scoped to the existing front page so GenerateBlocks markup, content and
 * project-wide GeneratePress presentation remain unchanged.
 */

body.home {
    --banco-blue: #0b5b9e;
    --banco-blue-dark: #073e70;
    --banco-ink: #10243d;
    --banco-sky: #eaf5fb;
    --banco-surface: #f7fbfe;
    --banco-white: #ffffff;
    --banco-gold: #f0b20e;
    --banco-coral: #f25343;
    --banco-line: #c8ddec;
    --banco-shadow: 0 1rem 2.5rem rgb(11 91 158 / 12%);
    --banco-radius: 1.25rem;
    color: var(--banco-ink);
    background: var(--banco-surface);
}

body.home .site-header {
    position: relative;
    z-index: 20;
    background: rgb(255 255 255 / 96%);
    border-bottom: 1px solid rgb(11 91 158 / 12%);
    box-shadow: 0 0.35rem 1.1rem rgb(16 36 61 / 5%);
}

body.home .inside-header {
    min-height: 5.25rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

body.home .site-logo .header-image {
    width: 3rem;
    max-height: 3rem;
    object-fit: contain;
}

body.home .main-title,
body.home .main-title a {
    color: var(--banco-blue-dark);
    font-weight: 800;
    letter-spacing: -0.025em;
}

body.home #site-navigation .main-nav ul li a,
body.home .main-navigation .menu-toggle {
    min-height: 2.75rem;
    color: var(--banco-ink);
    font-weight: 700;
}

body.home #site-navigation .main-nav ul li.current-menu-item > a,
body.home #site-navigation .main-nav ul li > a:hover,
body.home #site-navigation .main-nav ul li > a:focus-visible,
body.home .main-navigation .menu-toggle:hover,
body.home .main-navigation .menu-toggle:focus-visible {
    color: var(--banco-blue);
    background: var(--banco-sky);
}

body.home .site.grid-container,
body.home .site-content,
body.home .site-main,
body.home .inside-article {
    max-width: none;
    padding: 0;
    background: transparent;
}

body.home.page-id-6 main#main.site-main {
    margin-top: 0;
}

body.home .entry-content > .gbp-section {
    position: relative;
    padding: clamp(4.5rem, 8vw, 7.5rem) clamp(1.25rem, 4vw, 2.5rem);
}

body.home .entry-content > .gbp-section:first-child {
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 20%, rgb(240 178 14 / 18%), transparent 20rem),
        radial-gradient(circle at 10% 90%, rgb(242 83 67 / 11%), transparent 18rem),
        linear-gradient(135deg, #edf8fe 0%, #f8fcff 56%, #ffffff 100%);
}

body.home .entry-content > .gbp-section:first-child::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    content: '';
    background-image: linear-gradient(90deg, rgb(11 91 158 / 4%) 1px, transparent 1px);
    background-size: 3.5rem 3.5rem;
    mask-image: linear-gradient(to right, #000, transparent 72%);
}

body.home .gbp-section__inner {
    max-width: 75rem;
}

body.home .gbp-section__tagline {
    margin-bottom: 0.85rem;
    color: var(--banco-blue);
    font-size: clamp(0.77rem, 1.2vw, 0.9rem);
    font-weight: 800;
    letter-spacing: 0.095em;
    line-height: 1.3;
    text-transform: uppercase;
}

body.home .gbp-section__headline {
    max-width: 17ch;
    margin-bottom: 1.15rem;
    color: var(--banco-ink);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.04;
    text-wrap: balance;
}

body.home h1.gbp-section__headline {
    max-width: 13ch;
    font-size: clamp(2.45rem, 5vw, 4.85rem);
}

body.home h2.gbp-section__headline,
body.home .gb-element-317b9631 h2 {
    font-size: clamp(2rem, 3.8vw, 3.35rem);
}

body.home h3.gbp-section__headline {
    font-size: clamp(1.5rem, 2.2vw, 1.95rem);
}

body.home .gbp-section__text {
    max-width: 40rem;
    color: #36506c;
    font-size: clamp(1rem, 1.4vw, 1.13rem);
    line-height: 1.72;
}

body.home .gb-element-80ba18fb {
    column-gap: clamp(2.5rem, 7vw, 6.5rem);
}

body.home .gb-element-6bc17409 {
    margin-bottom: 0;
}

body.home .gb-media-f7849d88 {
    display: block;
    width: min(100%, 28rem);
    max-height: 29rem;
    margin: 0 auto;
    object-fit: contain;
}

body.home .gb-element-3ca5cef6,
body.home .gb-element-bdf838ea,
body.home .gb-element-516bf268,
body.home .gb-element-4d12238f,
body.home .gb-element-9e6cf1d4 {
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

body.home .gbp-button--primary,
body.home .gbp-button--secondary {
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.75rem 1.3rem;
    border: 2px solid transparent;
    border-radius: 999px;
    box-shadow: 0 0.35rem 0.8rem rgb(16 36 61 / 9%);
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: 0.005em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

body.home .gbp-button--primary {
    color: var(--banco-white);
    background: var(--banco-blue);
    border-color: var(--banco-blue);
}

body.home .gbp-button--primary:hover {
    color: var(--banco-white);
    background: var(--banco-blue-dark);
    border-color: var(--banco-blue-dark);
    box-shadow: 0 0.65rem 1.25rem rgb(11 91 158 / 24%);
    transform: translateY(-2px);
}

body.home .gbp-button--secondary {
    color: var(--banco-blue-dark);
    background: rgb(255 255 255 / 82%);
    border-color: rgb(11 91 158 / 48%);
}

body.home .gbp-button--secondary:hover {
    color: var(--banco-blue-dark);
    background: var(--banco-sky);
    border-color: var(--banco-blue);
    box-shadow: 0 0.65rem 1.25rem rgb(11 91 158 / 16%);
    transform: translateY(-2px);
}

body.home .gbp-button--primary:focus-visible,
body.home .gbp-button--secondary:focus-visible,
body.home .gb-accordion__toggle:focus-visible,
body.home .main-navigation .menu-toggle:focus-visible,
body.home #site-navigation .main-nav ul li > a:focus-visible,
body.home .site-logo a:focus-visible,
body.home .site-info a:focus-visible {
    outline: 3px solid var(--banco-gold);
    outline-offset: 3px;
}

body.home .entry-content > .gbp-section:nth-child(2) {
    background: var(--banco-white);
}

body.home .gb-element-1c94a9cd {
    max-width: 46rem;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

body.home .gb-element-1c94a9cd .gbp-section__headline,
body.home .gb-element-1c94a9cd .gbp-section__text {
    margin-right: auto;
    margin-left: auto;
}

body.home .gb-element-32759b1c {
    column-gap: 1.5rem;
    row-gap: 1.5rem;
}

body.home .gb-element-32759b1c > div {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: clamp(1.2rem, 2.2vw, 1.65rem);
    overflow: hidden;
    background: var(--banco-white);
    border: 1px solid var(--banco-line);
    border-top: 0.35rem solid var(--banco-blue);
    border-radius: var(--banco-radius);
    box-shadow: 0 0.65rem 1.5rem rgb(11 91 158 / 8%);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body.home .gb-element-32759b1c > div:nth-child(2) {
    border-top-color: var(--banco-gold);
}

body.home .gb-element-32759b1c > div:nth-child(3) {
    border-top-color: var(--banco-coral);
}

body.home .gb-element-32759b1c > div:hover {
    border-color: rgb(11 91 158 / 45%);
    box-shadow: var(--banco-shadow);
    transform: translateY(-0.3rem);
}

body.home .gb-element-32759b1c .gb-media-d60100e0,
body.home .gb-element-32759b1c .gb-media-51e95305,
body.home .gb-element-32759b1c .gb-media-026865ee {
    width: 100%;
    max-height: 11.5rem;
    margin-bottom: 1.45rem;
    object-fit: cover;
    border-radius: calc(var(--banco-radius) - 0.35rem);
}

body.home .gb-element-32759b1c .gbp-section__headline {
    max-width: none;
}

body.home .gb-element-32759b1c .gbp-section__text {
    margin-bottom: 1.8rem;
}

body.home .gb-element-bdf838ea,
body.home .gb-element-516bf268,
body.home .gb-element-4d12238f {
    margin-top: auto;
    padding-top: 0.5rem;
}

body.home .gb-element-32759b1c .gbp-button--primary {
    width: 100%;
}

body.home .entry-content > .gbp-section:nth-child(3) {
    background: linear-gradient(180deg, #f4faff 0%, #edf7fd 100%);
}

body.home .gb-element-783f6720,
body.home .gb-element-1a2de2e5 {
    margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

body.home .gb-element-487edfcb {
    max-width: 46rem;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

body.home .gb-element-487edfcb .gbp-section__headline,
body.home .gb-element-487edfcb .gbp-section__text {
    max-width: none;
}

body.home .gb-element-1a2de2e5 {
    max-width: 46rem;
}

body.home .gb-accordion__item {
    overflow: hidden;
    margin-bottom: 0.85rem;
    padding: 0;
    background: var(--banco-white);
    border: 1px solid var(--banco-line);
    border-radius: 0.9rem;
    box-shadow: 0 0.3rem 0.85rem rgb(11 91 158 / 5%);
}

body.home .gb-accordion__toggle {
    min-height: 3.8rem;
    padding: 1rem 1.1rem;
    color: var(--banco-ink);
    font-size: 1.03rem;
    font-weight: 750;
    line-height: 1.4;
    transition: background-color 160ms ease, color 160ms ease;
}

body.home .gb-accordion__toggle:hover,
body.home .gb-accordion__toggle.gb-block-is-current {
    color: var(--banco-blue-dark);
    background: var(--banco-sky);
}

body.home .gb-accordion__toggle-icon {
    flex: 0 0 auto;
    color: var(--banco-blue);
}

body.home .gb-accordion__content {
    padding: 0 1.1rem 1.15rem;
    color: #36506c;
    line-height: 1.7;
}

body.home .gb-accordion__content > :last-child {
    margin-bottom: 0;
}

body.home .entry-content > .gbp-section:nth-child(4) {
    padding-top: clamp(3.5rem, 6vw, 5.5rem);
    background: var(--banco-white);
}

body.home .gb-element-317b9631 {
    padding: clamp(1.65rem, 4vw, 3.2rem);
    overflow: hidden;
    color: var(--banco-white);
    background:
        radial-gradient(circle at 90% 12%, rgb(240 178 14 / 30%), transparent 13rem),
        radial-gradient(circle at 6% 90%, rgb(242 83 67 / 25%), transparent 15rem),
        linear-gradient(135deg, #063e70 0%, #0b5b9e 55%, #0a4c85 100%);
    border: 0;
    border-radius: calc(var(--banco-radius) + 0.25rem);
    box-shadow: 0 1.25rem 2.5rem rgb(7 62 112 / 24%);
}

body.home .gb-element-317b9631 h2,
body.home .gb-element-317b9631 .gbp-section__text {
    color: var(--banco-white);
}

body.home .gb-element-317b9631 .gbp-section__text {
    max-width: 37rem;
    opacity: 0.94;
}

body.home .gb-element-317b9631 .gbp-button--primary {
    color: var(--banco-ink);
    background: var(--banco-gold);
    border-color: var(--banco-gold);
}

body.home .gb-element-317b9631 .gbp-button--primary:hover {
    color: var(--banco-ink);
    background: #ffd15a;
    border-color: #ffd15a;
}

body.home .gb-element-317b9631 .gbp-button--secondary {
    color: var(--banco-white);
    background: transparent;
    border-color: rgb(255 255 255 / 75%);
}

body.home .gb-element-317b9631 .gbp-button--secondary:hover {
    color: var(--banco-white);
    background: rgb(255 255 255 / 14%);
    border-color: var(--banco-white);
}

body.home .gb-element-3410fd8c {
    align-self: center;
}

body.home .gb-media-6b7343df {
    width: min(100%, 17rem);
    margin-left: auto;
}

body.home .site-footer,
body.home .site-info {
    color: rgb(255 255 255 / 88%);
    background: var(--banco-ink);
}

body.home .inside-site-info {
    padding-top: 1.35rem;
    padding-bottom: 1.35rem;
    font-size: 0.93rem;
}

body.home .site-info a {
    color: var(--banco-gold);
    font-weight: 700;
}

body.home .site-info a:hover {
    color: var(--banco-white);
}

@media (max-width: 1024px) {
    body.home .gb-element-80ba18fb {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        row-gap: 2.75rem;
    }

    body.home .gb-media-f7849d88 {
        width: min(100%, 22rem);
    }

    body.home .gb-element-32759b1c {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.home .gb-element-32759b1c > div:last-child {
        grid-column: 1 / -1;
        width: min(100%, 33rem);
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 767px) {
    body.home .inside-header {
        min-height: 4.5rem;
    }

    body.home .site-logo .header-image {
        width: 2.55rem;
        max-height: 2.55rem;
    }

    body.home .entry-content > .gbp-section {
        padding: 4rem 1.25rem;
    }

    body.home .entry-content > .gbp-section:first-child::before {
        background-size: 2.5rem 2.5rem;
        mask-image: none;
    }

    body.home .gbp-section__headline {
        max-width: 100%;
    }

    body.home h1.gbp-section__headline {
        font-size: clamp(2.25rem, 11vw, 3.15rem);
    }

    body.home .gb-element-3ca5cef6,
    body.home .gb-element-9e6cf1d4 {
        align-items: stretch;
        flex-direction: column;
    }

    body.home .gbp-button--primary,
    body.home .gbp-button--secondary {
        width: 100%;
    }

    body.home .gb-element-32759b1c {
        grid-template-columns: minmax(0, 1fr);
    }

    body.home .gb-element-32759b1c > div:last-child {
        width: auto;
    }

    body.home .gb-element-32759b1c .gb-media-d60100e0,
    body.home .gb-element-32759b1c .gb-media-51e95305,
    body.home .gb-element-32759b1c .gb-media-026865ee {
        max-height: 12.5rem;
    }

    body.home .gb-element-317b9631 {
        grid-template-columns: minmax(0, 1fr);
        text-align: left;
    }

    body.home .gb-element-3410fd8c {
        justify-self: start;
    }

    body.home .gb-media-6b7343df {
        width: min(100%, 13rem);
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home *,
    body.home *::before,
    body.home *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (forced-colors: active) {
    body.home .gbp-button--primary,
    body.home .gbp-button--secondary,
    body.home .gb-accordion__item,
    body.home .gb-element-32759b1c > div {
        border: 1px solid CanvasText;
    }
}
