@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,500;8..60,600;8..60,700&display=swap");

:root {
    --cejb-blue: #176f8e;
    --cejb-blue-dark: #123d50;
    --cejb-blue-deep: #0d2e3c;
    --cejb-sky: #dceff4;
    --cejb-sky-2: #eef8fa;
    --cejb-ink: #17252c;
    --cejb-muted: #5f7179;
    --cejb-line: #dbe7ea;
    --cejb-white: #ffffff;
    --cejb-warm: #f7f2eb;
    --cejb-alert: #a8473f;
    --cejb-alert-bg: #fff4f2;
    --shadow-soft: 0 22px 65px rgba(17, 62, 80, .12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Inter, Arial, sans-serif;
    color: var(--cejb-ink);
    background: #fff;
    line-height: 1.72;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: "Source Serif 4", Georgia, serif;
    color: var(--cejb-ink);
    letter-spacing: -.025em;
    font-weight: 700;
}

h4, h5, h6 {
    font-family: "Segoe UI", Inter, Arial, sans-serif;
    color: var(--cejb-ink);
    letter-spacing: -.035em;
    font-weight: 700;
}

a {
    color: var(--cejb-blue);
}

    a:hover {
        color: var(--cejb-blue-dark);
    }

.py-lg-6 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

.site-header {
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(20,70,88,.1);
    transition: all .25s ease;
    z-index: 1050;
}

    .site-header .navbar {
        min-height: 86px;
        padding: 8px 0;
    }

.navbar-brand img {
    width: 238px;
    height: auto;
    display: block;
}

.site-header .nav-link {
    color: #314850 !important;
    font-weight: 650;
    font-size: 14px;
    padding: .75rem .8rem !important;
}

    .site-header .nav-link:hover, .site-header .nav-link:focus {
        color: var(--cejb-blue) !important;
    }

.navbar-toggler {
    border: 0;
    box-shadow: none !important;
}

.btn-interest,
.btn-primary-cejb,
.btn-outline-cejb {
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid transparent;
    padding: .8rem 1.25rem;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn-interest,
.btn-primary-cejb {
    background: var(--cejb-blue);
    color: #fff !important;
    box-shadow: 0 10px 25px rgba(23,111,142,.18);
}

    .btn-interest:hover,
    .btn-primary-cejb:hover {
        background: var(--cejb-blue-dark);
        transform: translateY(-1px);
        box-shadow: 0 14px 30px rgba(18,61,80,.22);
    }

.btn-outline-cejb {
    background: rgba(255,255,255,.7);
    border-color: rgba(23,111,142,.3);
    color: var(--cejb-blue-dark) !important;
}

    .btn-outline-cejb:hover {
        background: #fff;
        border-color: var(--cejb-blue);
        transform: translateY(-1px);
    }

.hero-home {
    min-height: 770px;
    padding: 165px 0 92px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(rgba(255,255,255,.10), rgba(255,255,255,.10)), url("../img/hero-bg-acolhimento.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

    .hero-home::after {
        content: "";
        position: absolute;
        inset: auto 0 0;
        height: 110px;
        background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
        pointer-events: none;
    }

.hero-container {
    z-index: 2;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    opacity: .55;
}

.hero-orb-1 {
    width: 430px;
    height: 430px;
    right: -90px;
    top: 80px;
    background: radial-gradient(circle at 30% 30%, #fff 0%, #a8d5df 42%, rgba(168,213,223,0) 72%);
    animation: drift 10s ease-in-out infinite alternate;
}

.hero-orb-2 {
    width: 250px;
    height: 250px;
    left: -80px;
    bottom: 35px;
    background: radial-gradient(circle at center, rgba(23,111,142,.22), rgba(23,111,142,0) 72%);
    animation: drift 8s ease-in-out infinite alternate-reverse;
}

.hero-dots {
    position: absolute;
    right: 4%;
    bottom: 15%;
    width: 180px;
    height: 180px;
    opacity: .12;
    background-image: radial-gradient(var(--cejb-blue-dark) 1.5px, transparent 1.5px);
    background-size: 15px 15px;
}

@keyframes drift {
    from {
        transform: translate3d(0,0,0);
    }

    to {
        transform: translate3d(-22px,18px,0) scale(1.05);
    }
}

.eyebrow, .section-kicker {
    color: var(--cejb-blue);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .16em;
    font-weight: 800;
}

.hero-slides {
    position: relative;
    min-height: 265px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity .7s ease, transform .7s ease;
}

    .hero-slide.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .hero-slide h1, .hero-slide h2 {
        font-size: clamp(2.8rem, 5vw, 5.3rem);
        line-height: .98;
        margin-bottom: 1.45rem;
        max-width: 760px;
    }

        .hero-slide h1 span, .hero-slide h2 span {
            color: var(--cejb-blue);
        }

    .hero-slide p {
        font-size: 1.17rem;
        max-width: 690px;
        color: #4d646d;
        line-height: 1.75;
    }

.hero-actions .btn {
    min-width: 190px;
}

.hero-indicators {
    display: flex;
    gap: 9px;
}

.hero-dot {
    width: 26px;
    height: 5px;
    border: 0;
    border-radius: 99px;
    background: rgba(23,111,142,.25);
    padding: 0;
    transition: all .25s ease;
}

    .hero-dot.active {
        width: 50px;
        background: var(--cejb-blue);
    }

.hero-card-wrap {
    position: relative;
    max-width: 470px;
    margin-left: auto;
}

.hero-logo-card {
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.9);
    box-shadow: var(--shadow-soft);
    border-radius: 30px;
    padding: 42px 34px 28px;
    position: relative;
    z-index: 2;
}

.hero-logo {
    width: 100%;
    max-width: 390px;
    margin: 0 auto 24px;
    display: block;
}

.quick-facts {
    display: grid;
    gap: 10px;
}

.quick-fact {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 14px;
    border-radius: 17px;
    background: #f6fbfc;
    border: 1px solid #e5f0f2;
}

.fact-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--cejb-blue);
    background: #e1f1f5;
    flex: 0 0 42px;
}

.quick-fact span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.quick-fact strong {
    color: var(--cejb-ink);
    font-size: 15px;
}

.quick-fact small {
    color: #6e8087;
    margin-top: 2px;
}

.floating-note {
    position: absolute;
    z-index: 3;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--cejb-blue-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    box-shadow: 0 10px 28px rgba(18,61,80,.12);
}

.note-one {
    left: -35px;
    top: 110px;
    animation: float1 5s ease-in-out infinite;
}

.note-two {
    right: -32px;
    top: 190px;
    animation: float1 5.6s ease-in-out infinite reverse;
}

.note-three {
    right: 14px;
    bottom: -22px;
    animation: float1 6.2s ease-in-out infinite;
}

@keyframes float1 {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.internal-page {
    background: #fff;
}

.content-section {
    padding: 1.5rem 0 3.2rem;
    border-bottom: 1px solid var(--cejb-line);
    scroll-margin-top: 105px;
}

    .content-section:first-child {
        padding-top: 0;
    }

    .content-section:last-child {
        border-bottom: 0;
    }

    .intro-section h2, .content-section h2 {
        font-size: clamp(1.8rem, 2.5vw, 2.55rem);
        line-height: 1.15;
        margin-bottom: 1.3rem;
    }

    .content-section p {
        color: #51666f;
        font-size: 1.045rem;
    }

        .content-section p:last-child {
            margin-bottom: 0;
        }

.section-heading-inline {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 1.1rem;
}

.section-number {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--cejb-blue);
    background: var(--cejb-sky-2);
    border: 1px solid #d8ebf0;
}

.section-heading-inline h2 {
    margin: 0;
}

.section-heading-inline .section-kicker {
    margin-bottom: .35rem;
}

.meeting-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 10px;
    align-items: center;
    margin: 2rem 0;
}

.flow-item {
    min-height: 112px;
    border-radius: 18px;
    padding: 15px;
    background: #f6fbfc;
    border: 1px solid #e0eef1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .flow-item span {
        width: 30px;
        height: 30px;
        border-radius: 10px;
        display: grid;
        place-items: center;
        color: #fff;
        background: var(--cejb-blue);
        font-size: 13px;
        font-weight: 800;
    }

    .flow-item strong {
        font-size: 14px;
        line-height: 1.35;
        color: #2c434b;
    }

.flow-arrow {
    color: #9cb9c2;
    font-size: 12px;
}

.important-card {
    display: flex;
    gap: 18px;
    background: var(--cejb-warm);
    border-radius: 22px;
    padding: 24px;
    border-left: 4px solid var(--cejb-blue);
}

.important-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--cejb-blue);
}

.important-card p {
    color: #465960;
}

.heard-section {
    position: relative;
    padding: 3.3rem 2.8rem !important;
    margin: 3rem 0;
    border: 0;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cejb-blue-deep), #176f8e);
}

    .heard-section h2, .heard-section p {
        color: #fff;
        position: relative;
        z-index: 2;
    }

    .heard-section .section-kicker {
        color: #bce4ed;
    }

.heard-mark {
    position: absolute;
    right: 25px;
    top: -45px;
    font-size: 190px;
    font-family: Georgia, serif;
    line-height: 1;
    color: rgba(255,255,255,.08);
}

.emergency-section {
    background: var(--cejb-alert-bg);
    border: 1px solid #f1d4cf;
    border-radius: 25px;
    padding: 2.3rem !important;
    margin-top: 3rem;
}

.emergency-title {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.emergency-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--cejb-alert);
}

.emergency-section .section-kicker {
    color: var(--cejb-alert);
}

.emergency-section h2 {
    margin-bottom: 1.1rem;
}

.emergency-numbers {
    display: grid;
    gap: 10px;
    margin-top: 1.5rem;
}

    .emergency-numbers a {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 5px 18px;
        align-items: center;
        padding: 15px 18px;
        background: #fff;
        border: 1px solid #edd6d2;
        border-radius: 15px;
        text-decoration: none;
        color: var(--cejb-ink);
    }

        .emergency-numbers a:hover {
            border-color: var(--cejb-alert);
        }

    .emergency-numbers strong {
        font-size: 1.25rem;
        color: var(--cejb-alert);
    }

    .emergency-numbers small {
        grid-column: 1 / -1;
        color: #6c6968;
    }

.sticky-info {
    position: sticky;
    top: 118px;
}

.side-card {
    border-radius: 25px;
    padding: 28px;
    background: #fff;
    border: 1px solid #e1ebee;
    box-shadow: 0 18px 55px rgba(18,61,80,.08);
}

    .side-card h3 {
        font-size: 1.55rem;
    }

.info-list {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0 1.6rem;
}

    .info-list li {
        display: flex;
        gap: 13px;
        align-items: flex-start;
        padding: 13px 0;
        border-bottom: 1px solid #ecf1f2;
    }

        .info-list li:last-child {
            border-bottom: 0;
        }

    .info-list i {
        width: 28px;
        color: var(--cejb-blue);
        margin-top: 5px;
    }

    .info-list span {
        display: flex;
        flex-direction: column;
        color: #536870;
        font-size: 14px;
        line-height: 1.5;
    }

    .info-list strong {
        color: var(--cejb-ink);
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: .08em;
        margin-bottom: 2px;
    }

.side-note {
    margin-top: 18px;
    padding: 20px;
    border-radius: 20px;
    background: var(--cejb-sky-2);
    color: #49646d;
    display: flex;
    gap: 12px;
}

    .side-note i {
        color: var(--cejb-blue);
        margin-top: 5px;
    }

    .side-note p {
        margin: 0;
        font-size: 14px;
    }

.contact-section {
    background: var(--cejb-blue-deep);
    color: rgba(255,255,255,.8);
    scroll-margin-top: 90px;
    position: relative;
    overflow: hidden;
}

    .contact-section::before {
        content: "";
        position: absolute;
        width: 380px;
        height: 380px;
        border-radius: 50%;
        border: 70px solid rgba(255,255,255,.035);
        right: -120px;
        top: -80px;
    }

    .contact-section h2 {
        color: #fff;
        font-size: clamp(2rem, 3vw, 3.2rem);
        line-height: 1.1;
        margin-bottom: 1.4rem;
    }

    .contact-section .section-kicker.light {
        color: #85cada;
    }

.contact-card {
    position: relative;
    z-index: 2;
    background: #fff;
    color: var(--cejb-ink);
    border-radius: 26px;
    padding: 12px 28px;
    box-shadow: 0 22px 55px rgba(0,0,0,.18);
}

.contact-row {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #e9eff1;
}

    .contact-row:last-child {
        border-bottom: 0;
    }

.contact-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--cejb-sky-2);
    color: var(--cejb-blue);
}

.contact-row div {
    display: flex;
    flex-direction: column;
    line-height: 1.45;
}

.contact-row small {
    color: #73848a;
    font-weight: 700;
    margin-bottom: 3px;
}

.contact-row strong, .contact-row a {
    color: #283d45;
    font-weight: 700;
    text-decoration: none;
}

    .contact-row a:hover {
        color: var(--cejb-blue);
    }

.site-footer {
    background: #fff;
    color: #63777e;
    font-size: 13px;
}

.footer-brand img {
    width: 190px;
    height: auto;
}

.back-top {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--cejb-sky-2);
    color: var(--cejb-blue);
    text-decoration: none;
}

    .back-top:hover {
        background: var(--cejb-blue);
        color: #fff;
    }

@media (max-width: 991.98px) {
    .site-header .navbar {
        min-height: 76px;
    }

    .navbar-brand img {
        width: 205px;
    }

    .navbar-collapse {
        padding: 12px 0 18px;
    }

    .hero-home {
        min-height: auto;
        padding: 135px 0 75px;
        background-position: center center;
    }

    .hero-slides {
        min-height: 285px;
    }

    .hero-card-wrap {
        margin: 15px auto 0;
    }

    .meeting-flow {
        grid-template-columns: 1fr 1fr;
    }

    .flow-arrow {
        display: none;
    }

    .sticky-info {
        position: static;
    }
}

@media (max-width: 575.98px) {
    body {
        font-size: 15px;
    }

    .navbar-brand img {
        width: 180px;
    }

    .hero-home {
        padding-top: 122px;
    }

    .hero-slides {
        min-height: 320px;
    }

    .hero-slide h1, .hero-slide h2 {
        font-size: 2.65rem;
    }

    .hero-slide p {
        font-size: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-logo-card {
        padding: 28px 20px 20px;
        border-radius: 24px;
    }

    .floating-note {
        display: none;
    }

    .meeting-flow {
        grid-template-columns: 1fr;
    }

    .flow-item {
        min-height: auto;
    }

    .section-heading-inline {
        gap: 12px;
    }

    .section-number {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .heard-section {
        padding: 2.4rem 1.5rem !important;
    }

    .emergency-section {
        padding: 1.5rem !important;
    }

    .important-card {
        flex-direction: column;
    }

    .contact-card {
        padding: 8px 18px;
    }

    .contact-row {
        align-items: flex-start;
    }

    .footer-brand img {
        width: 165px;
    }
}

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