/* Joinlegis — identidade e ajustes sobre o layout base */

.atf-hero-area {
    background-color: #0B1F33;
}

.atf-hero-area.atf-cover-bg::before {
    width: 68%;
    background: linear-gradient(
        to right,
        rgba(11, 31, 51, 0.96) 0%,
        rgba(11, 31, 51, 0.82) 42%,
        rgba(0, 174, 239, 0.22) 100%
    );
}

.atf-hero-content .sub-title {
    color: var(--atf-thm-black);
    border-color: var(--atf-thm-color);
    letter-spacing: 1.5px;
}

.atf-hero-content .hero-title {
    font-size: 58px;
    letter-spacing: -1.5px;
}

.atf-hero-btn .atf-themes-btn {
    border-color: var(--atf-thm-color);
}

/* Barra superior em navy */
.atf-top-header.style1 {
    background-color: #0B1F33;
    border-bottom: none;
}
.atf-top-header.style1 .atf-top-header-list li,
.atf-top-header.style1 .atf-top-header-list li a,
.atf-top-header.style1 .atf-top-header-list li i {
    color: #e8f6fc;
}
.atf-top-header.style1 .atf-top-header-list li a:hover {
    color: #00AEEF;
}
.atf-top-header.style1 .atf-header-top-social a {
    color: #e8f6fc;
}
.atf-top-header.style1 .atf-header-top-social a:hover {
    color: #00AEEF;
}

/* Menu branco: a logo apoia no próprio header, sem caixa */
.atf_bg_skew {
    background: #ffffff;
    border-bottom: 1px solid #d7eaf4;
}
.atf_bg_skew::after {
    left: -8px;
    width: 14px;
    transform: skewX(-18deg);
    background: linear-gradient(180deg, #00AEEF 0%, #0077B6 100%);
    border-right: none;
}

.atf-site-header .atf-site-logo a.logo-black {
    display: inline-block;
}
.atf-site-header .atf-site-logo a.logo-white {
    display: none;
}
.atf-site-header.atf-style1.atf-sticky-active .atf-site-logo a.logo-white {
    display: none;
}
.atf-site-header.atf-style1.atf-sticky-active .atf-site-logo a.logo-black {
    display: inline-block;
}

.atf-site-logo {
    position: relative;
}
.atf-site-logo::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 78px;
    height: 78px;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(0, 174, 239, 0.28) 0%, rgba(0, 174, 239, 0) 70%);
    pointer-events: none;
    z-index: 0;
}
.atf-site-logo a {
    position: relative;
    z-index: 1;
}

.atf-site-logo img,
.atf-hamburger-logo img,
.footer-logo img {
    height: 56px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    background: none;
    padding: 0;
    border-radius: 0;
}

.atf-single-service .atf-service-thumb img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.jl-process-card,
.jl-product-card,
.jl-comply-card {
    background: #fff;
    border: 1px solid var(--atf-border-1);
    border-radius: 18px;
    padding: 32px 28px;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.jl-process-card:hover,
.jl-product-card:hover,
.jl-comply-card:hover {
    transform: translateY(-6px);
    border-color: var(--atf-thm-color);
}

.jl-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--atf-thm-base);
    color: var(--atf-thm-color);
    font-family: var(--atf-ff-heading);
    font-weight: 700;
    margin-bottom: 16px;
}

.jl-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--atf-thm-base);
    color: var(--atf-thm-color);
    font-size: 22px;
    margin-bottom: 18px;
}

.jl-product-card .jl-thumb {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 22px;
}

.jl-product-card .jl-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.jl-product-card .jl-thumb img[src*="ia-menu"] {
    object-position: top center;
    background: #eef6fb;
}

.jl-product-card .read,
.jl-product-card a.read {
    color: var(--atf-thm-color);
    font-weight: 700;
    display: inline-block;
    margin-top: 8px;
}

.service-details-wrapper h3 {
    font-size: 22px;
}

.jl-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jl-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
}

.jl-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--atf-thm-color);
}

.jl-cta-band {
    background: linear-gradient(120deg, #0B1F33 0%, #0077B6 55%, #00AEEF 100%);
    border-radius: 24px;
    padding: 56px 48px;
    color: #fff;
}

.jl-cta-band h2,
.jl-cta-band p {
    color: #fff;
}

.breadcrumb-area {
    background-size: cover;
    background-position: center;
}

.breadcrumb-area::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(11, 31, 51, 0.9) 0%, rgba(0, 119, 182, 0.62) 100%);
}

.breadcrumb-title,
.breadcrumb-single-content span,
.breadcrumb-single-content a {
    color: #fff !important;
}

.atf-footer-area {
    background-color: #0B1F33;
}

.atf-footer-area .col-lg-3:first-child .atf-single-footer {
    background: #f4fbfe;
    border-radius: 20px;
    padding: 28px 24px;
}

.atf-footer-area .col-lg-3:first-child .atf-single-footer .describtion,
.atf-footer-area .col-lg-3:first-child .atf-single-footer p {
    color: #4A5568;
}

.footer-logo img {
    height: auto;
    max-width: 220px;
}

.form-message.success {
    color: #0077B6;
    margin-top: 12px;
}

.form-message.error {
    color: #c0392b;
    margin-top: 12px;
}

.jl-scope-grid .jl-scope-item {
    background: #fff;
    border-radius: 16px;
    padding: 22px 20px;
    border: 1px solid var(--atf-border-1);
    height: 100%;
}

.jl-scope-item i {
    color: var(--atf-thm-color);
    margin-right: 8px;
}

.jl-whatsapp-card {
    background: #f4fbfe;
    border: 1px solid var(--atf-border-1);
    border-radius: 24px;
    padding: 48px 40px;
    height: 100%;
}

.jl-whatsapp-card .jl-icon-wrap {
    background: #dcf8c6;
    color: #128C7E;
}

.jl-whatsapp-card p {
    margin-bottom: 28px;
}

/* JoinlegisIA — página da plataforma */
.jl-shot {
    margin: 0;
    background: #0B1F33;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #d7eaf4;
}

.jl-shot__bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 13px;
    letter-spacing: 0.2px;
    color: #d7eaf4;
    background: #0B1F33;
}

.jl-shot__bar span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 2px 10px;
    border-radius: 999px;
    background: #00AEEF;
    color: #0B1F33;
    font-weight: 700;
    font-size: 12px;
}

.jl-shot img {
    display: block;
    width: 100%;
    height: auto;
    background: #eef6fb;
}

span.jl-ia {
    color: #00AEEF !important;
    font-weight: 700;
}

.jl-ia-home__panel .sub-title span.jl-ia {
    color: #ffffff !important;
}

.jl-ia-nav-section {
    padding: 40px 0 80px;
    background: #f4fbfe;
}

.jl-ia-nav-card {
    display: block;
    height: 100%;
    background: #fff;
    border: 1px solid var(--atf-border-1);
    border-radius: 18px;
    padding: 28px 24px;
    color: inherit;
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.jl-ia-nav-card:hover {
    transform: translateY(-6px);
    border-color: var(--atf-thm-color);
    color: inherit;
}

.jl-ia-nav-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.jl-ia-nav-card p {
    margin: 0;
}

.jl-ia-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--atf-thm-color);
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-size: 13px;
}

#documentos,
#copiloto,
#avaliacao,
#emails {
    scroll-margin-top: 120px;
}

.jl-ia-alt {
    background: #f4fbfe;
}

.jl-ia-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.jl-ia-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    background: #e8f6fc;
    color: #0B1F33;
}

.jl-ia-pill--ok {
    background: #d9f3e3;
    color: #176b3a;
}

.jl-ia-pill--no {
    background: #fde4e1;
    color: #9b2c2c;
}

.jl-ia-nav-section .jl-ia-nav-card .jl-icon-wrap,
.jl-ia-nav-card .jl-icon-wrap {
    margin-bottom: 18px;
}

.jl-product-card--featured {
    position: relative;
    border-color: var(--atf-thm-color);
    background: #f4fbfe;
}

.jl-featured-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    padding: 4px 12px;
    border-radius: 999px;
    background: #0B1F33;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.jl-ia-home__panel {
    background: #0B1F33;
    border-radius: 24px;
    padding: 56px 48px;
}

.jl-ia-home__panel .sub-title {
    color: #00AEEF;
    border-color: #00AEEF;
}

.jl-ia-home__panel .section-title,
.jl-ia-home__panel p,
.jl-ia-home__panel li {
    color: #e8f6fc;
}

.jl-ia-home__panel p {
    margin-bottom: 24px;
}

.jl-ia-home__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jl-ia-home__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.jl-ia-home__list i {
    color: #00AEEF;
    margin-top: 4px;
}

.jl-ia-home__panel .atf-themes-btn,
.jl-ia-home__panel .atf-themes-btn span {
    color: #fff !important;
    border-color: #00AEEF;
}

.jl-ia-home__panel .atf-themes-btn:hover,
.jl-ia-home__panel .atf-themes-btn:hover span {
    color: #fff !important;
}

/* Vídeos institucionais */
.jl-videos__panel {
    position: relative;
    background: #0B1F33;
    border-radius: 24px;
    padding: 56px 48px;
    overflow: hidden;
}

.jl-videos__panel::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 174, 239, 0.28) 0%, rgba(0, 174, 239, 0) 70%);
    pointer-events: none;
}

.jl-videos__panel .sub-title {
    color: #00AEEF;
    border-color: #00AEEF;
}

.jl-videos__panel .section-title,
.jl-videos__panel p {
    color: #e8f6fc;
}

.jl-videos__panel .atf-themes-btn,
.jl-videos__panel .atf-themes-btn span {
    color: #fff !important;
    border-color: #00AEEF;
}

.jl-video-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 174, 239, 0.28);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.jl-video-card:hover {
    transform: translateY(-6px);
    border-color: #00AEEF;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.jl-video-card--featured {
    border-color: #00AEEF;
    box-shadow: 0 0 0 1px rgba(0, 174, 239, 0.35);
}

.jl-video-card--light {
    background: #fff;
    border-color: var(--atf-border-1);
    box-shadow: 0 12px 32px rgba(11, 31, 51, 0.08);
}

.jl-video-card--light .jl-video-card__body h3,
.jl-video-card--light .jl-video-card__body p,
.jl-video-card--light .jl-video-card__time {
    color: var(--atf-thm-black);
}

.jl-video-card__player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #06121e;
}

.jl-video-card__player video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #06121e;
}

.jl-video-card__play {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: linear-gradient(180deg, rgba(11, 31, 51, 0.12) 0%, rgba(11, 31, 51, 0.48) 100%);
    cursor: pointer;
}

.jl-video-card.is-playing .jl-video-card__play {
    display: none;
}

.jl-video-card__play-icon {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00AEEF;
    color: #0B1F33;
    font-size: 26px;
    padding-left: 4px;
    box-shadow: 0 0 0 14px rgba(0, 174, 239, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jl-video-card__play:hover .jl-video-card__play-icon {
    transform: scale(1.08);
    box-shadow: 0 0 0 18px rgba(0, 174, 239, 0.32);
}

.jl-video-card__body {
    padding: 22px 24px 26px;
}

.jl-video-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.jl-video-card__tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: #00AEEF;
    color: #0B1F33;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.jl-video-card__tag--ia {
    background: #0B1F33;
    color: #e8f6fc;
    border: 1px solid #00AEEF;
}

.jl-video-card--light .jl-video-card__tag--ia,
.jl-videos__panel .jl-video-card__tag--ia {
    background: #06121e;
}

.jl-video-card__tag .jl-ia {
    color: #00AEEF !important;
}

.jl-video-card__time {
    color: #b7d7e8;
    font-size: 13px;
    font-weight: 600;
}

.jl-video-card__time i {
    margin-right: 6px;
    color: #00AEEF;
}

.jl-video-card__body h3 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 8px;
}

.jl-video-card__body p {
    margin: 0;
    color: #cfe6f2;
}

@media (max-width: 1199px) {
    .atf-hero-content .hero-title {
        font-size: 42px;
    }
}

@media (max-width: 767px) {
    .atf-hero-content .hero-title {
        font-size: 34px;
    }
    .jl-cta-band {
        padding: 36px 24px;
    }
    .jl-ia-home__panel,
    .jl-videos__panel {
        padding: 36px 24px;
    }
    .jl-video-card__play-icon {
        width: 60px;
        height: 60px;
        font-size: 20px;
        box-shadow: 0 0 0 10px rgba(0, 174, 239, 0.22);
    }
    .atf-site-logo img,
    .atf-hamburger-logo img {
        height: 42px;
        max-width: 180px;
    }
}
