/* ===========================
   PÁGINAS DAS EMPRESAS DO GRUPO
=========================== */

.vertical-page, .vertical-page * {
    font-family: "Montserrat", sans-serif;
}
.vertical-page {
    --vertical-accent: var(--gold);
    --vertical-accent-light: var(--gold-lt);
    --vertical-navy: var(--navy);
    background: var(--white);
}
.vertical-page--jt {
    --vertical-accent: #c98d23;
    --vertical-accent-light: #e0a830;
    --vertical-navy: #042f1f;
}

/* ── JT HERO ── */
.jt-hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: right center;
    overflow: hidden;
    padding-top: 72px;
}

.jt-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(4, 47, 31, .92) 50%, rgba(4, 47, 31, .3) 80%, transparent 100%);
}

.jt-hero__content {
    position: relative;
    z-index: 1;
    max-width: 580px;
    padding: 64px 0;
}

.jt-hero__logo {
    margin-bottom: 28px;
}

.jt-hero__logo img {
    height: 80px;
    width: auto;
}

.jt-green {
    color: #0B6B49;
}

.jt-hero__title {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 18px;
    font-family: var(--font-title);
}

.jt-hero__divider {
    width: 56px;
    height: 3px;
    background: rgba(255, 255, 255, .5);
    margin-bottom: 20px;
    border-radius: 2px;
}

.jt-hero__desc {
    font-size: .92rem;
    color: rgba(255, 255, 255, .85);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 460px;
    font-family: var(--font-body);
}

.jt-hero__btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.jt-btn-primary {
    display: inline-flex;
    align-items: center;
    height: 52px;
    padding: 0 32px;
    background: #0B6B49;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    border-radius: 6px;
    text-decoration: none;
    transition: background .2s;
}

.jt-btn-primary:hover {
    background: #085637;
    color: #ffffff;
}

@media (max-width: 768px) {
    .jt-hero {
        background-position: center;
        min-height: auto;
    }
    .jt-hero__overlay {
        background: rgba(4, 47, 31, .85);
    }
    .jt-hero__content {
        padding: 48px 0;
    }
}

/* ── SEÇÕES COMPARTILHADAS ── */
.vertical-page p {
    font-family: "Inter", sans-serif;
}
.vertical-kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--vertical-accent-light);
    margin-bottom: 14px;
}
.vertical-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.vertical-about,
.vertical-areas,
.vertical-process {
    padding: 84px 0;
    background: var(--white);
    position: relative;
}
.vertical-about-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 64px;
    align-items: center;
    perspective: 1200px;
}
.vertical-about-text {
    will-change: transform, opacity;
}
.vertical-about-text h2,
.vertical-final-content h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 22px;
}
.vertical-about-text h2 span,
.vertical-final-content h2 span { color: var(--vertical-accent); }
.vertical-about-text p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}
.vertical-about-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(3,36,70,.18);
    border: 1px solid rgba(3,36,70,.08);
    will-change: transform, opacity;
}
.vertical-about-card img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}
.section-header.compact { margin-bottom: 38px; }
.section-header.compact h2 span { color: var(--vertical-accent); }
.section-header.light h2 { color: var(--white); }
.section-header.light h2 span { color: var(--vertical-accent-light); }
.vertical-card-grid.six {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}
.vertical-info-card {
    min-height: 210px;
    background: var(--white);
    border: 1px solid rgba(3,36,70,.09);
    border-radius: 14px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 8px 28px rgba(3,36,70,.06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.vertical-info-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201,141,35,.45);
    box-shadow: 0 16px 40px rgba(3,36,70,.12);
}
.vertical-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--navy);
    color: var(--vertical-accent-light);
    font-size: 24px;
    font-weight: 800;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.1);
}
.vertical-info-card h3,
.vertical-step h3 {
    color: var(--navy);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 10px;
}
.vertical-info-card p,
.vertical-step p {
    color: var(--gray);
    font-size: 13px;
    line-height: 1.55;
}
.vertical-diff {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--navy) 0%, #02172d 100%);
    color: var(--white);
}
.vertical-diff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    align-items: center;
}
.vertical-diff-grid article {
    padding: 18px 32px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.18);
    transition: box-shadow 0.3s ease;
}
.vertical-diff-grid article:last-child { border-right: 0; }
.vertical-diff-grid article:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,.2);
}
.vertical-diff-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.25);
    color: #ffffff;
}
.vertical-diff-grid strong {
    display: block;
    color: var(--white);
    font-family: var(--font-title);
    font-size: 16px;
    margin-bottom: 10px;
}
.vertical-diff-grid p {
    color: rgba(255,255,255,.68);
    font-size: 13px;
    line-height: 1.6;
}

/* ===========================
   CARROSSEL DE SEGURADORAS
=========================== */
.clientes-section {
    padding: 48px 0;
    background: var(--white);
    overflow: hidden;
}

.clientes-carousel {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    -webkit-mask: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
    mask: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.clientes-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
}

.clientes-track .cliente-item {
    margin-right: 56px;
}

.cliente-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cliente-item img {
    height: 52px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.55;
    transition: filter .3s, opacity .3s, transform .3s;
}

.cliente-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}

.cliente-item--grande img {
    height: 82px;
    max-width: 190px;
}

.vertical-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}
.vertical-step {
    position: relative;
    background: var(--white);
    border: 1px solid rgba(3,36,70,.1);
    border-radius: 16px;
    padding: 34px 24px 26px;
    text-align: center;
    box-shadow: 0 8px 28px rgba(3,36,70,.07);
    transition: box-shadow 0.3s ease;
}
.vertical-step:hover {
    box-shadow: 0 20px 40px rgba(4, 47, 31, .15);
}
.vertical-step > img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    display: block;
    margin: 0 auto 16px;
}
.vertical-step span {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--vertical-accent-light);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(201,141,35,.3);
}
.vertical-metrics {
    padding: 0 0 72px;
    background: var(--white);
}
.vertical-metrics-box {
    background: linear-gradient(135deg, var(--navy), #02172d);
    border-radius: 18px;
    padding: 34px 42px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    box-shadow: 0 18px 50px rgba(3,36,70,.22);
    color: var(--white);
}
.vertical-metrics-box div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.16);
}
.vertical-metrics-box div:last-child { border-right: 0; }
.vertical-metrics-box strong {
    font-size: clamp(2rem, 3.2vw, 3rem);
    color: var(--vertical-accent-light);
    line-height: 1;
    font-family: var(--font-title);
    font-weight: 900;
}
.vertical-metrics-box span {
    margin-top: 8px;
    color: rgba(255,255,255,.8);
    font-size: 14px;
    max-width: 120px;
}

/* ===========================
   CTA — JT SEGUROS
=========================== */
body.is-jt-seguros .vertical-final-cta {
    position: relative;
    min-height: 430px;
    background-color: #042f1f;
    background-image: url('../../images/empresas/seguro/final-seguros.png');
    background-size: auto 100%;
    background-position: right center;
    background-repeat: no-repeat;
    color: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
}

body.is-jt-seguros .vertical-final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(4, 47, 31, 0.98) 28%,
        rgba(4, 47, 31, 0.95) 32%,
        rgba(4, 47, 31, 0.8)  38%,
        rgba(4, 47, 31, 0.45) 46%,
        rgba(4, 47, 31, 0.15) 60%,
        rgba(4, 47, 31, 0)    100%
    );
    z-index: 1;
}

body.is-jt-seguros .vertical-final-cta .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

body.is-jt-seguros .vertical-final-content {
    max-width: 520px;
    padding: 72px 0;
}

body.is-jt-seguros .vertical-final-content h2 {
    max-width: 500px;
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1.2px;
}

body.is-jt-seguros .vertical-final-content h2 span,
body.is-jt-seguros .vertical-final-content .highlight {
    color: #ffffff;
}

body.is-jt-seguros .vertical-final-content p {
    max-width: 480px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .9);
    font-size: 15px;
    line-height: 1.65;
}

body.is-jt-seguros .vertical-final-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

body.is-jt-seguros .vertical-final-actions .btn {
    min-height: 64px;
    padding: 0 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
}

body.is-jt-seguros .vertical-final-actions .btn-primary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, .55);
}

body.is-jt-seguros .vertical-final-actions .btn-primary:hover {
    background: #ffffff;
    color: #042f1f;
    border-color: #ffffff;
}

body.is-jt-seguros .vertical-final-actions .btn-outline {
    background: #ffffff;
    color: #042f1f;
    border: 2px solid #ffffff;
}

body.is-jt-seguros .vertical-final-actions .btn-outline:hover {
    background: #f7f7f7;
    color: #042f1f;
}

.vertical-final-cta {
    min-height: 360px;
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
    color: var(--white);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.vertical-final-content {
    position: relative;
    z-index: 2;
    padding: 64px 24px;
}
.vertical-final-content h2 {
    color: var(--white);
    max-width: 620px;
}
.vertical-final-content p {
    max-width: 560px;
    color: rgba(255,255,255,.78);
    margin-bottom: 26px;
}
.vertical-final-content .btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vertical-final-content .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 28px rgba(0,0,0,.18);
}

/* ===========================
   MENU DROPDOWN
=========================== */
.menu-item-has-children .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0,0,0,.15);
    min-width: 210px;
    padding: 8px 0;
    z-index: 200;
}
.menu-item-has-children:hover .sub-menu { display: block; }
.menu-item-has-children .sub-menu a {
    color: var(--navy);
    padding: 10px 20px;
}
.menu-item-has-children .sub-menu a:hover { background: var(--gray-lt); color: var(--gold); }

/* ===========================
   AJUSTES JT SEGUROS
=========================== */
body.is-jt-seguros .site-header,
body.is-jt-seguros .site-nav,
body.is-jt-seguros .site-footer {
    background: #042f1f;
}

body.is-jt-seguros .nav-list > li > a:hover,
body.is-jt-seguros .section-label {
    color: #ffffff;
}

body.is-jt-seguros .nav-list .btn-header {
    border-color: #ffffff;
    color: #ffffff;
}

body.is-jt-seguros .nav-list .btn-header:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #042f1f;
}

body.is-jt-seguros .menu-item-has-children .sub-menu a {
    color: var(--navy);
}

body.is-jt-seguros .menu-item-has-children .sub-menu a:hover {
    color: var(--gold);
}

.vertical-page--jt .vertical-icon {
    background: #042f1f;
}

.vertical-page--jt .vertical-about-text h2,
.vertical-page--jt .vertical-final-content h2,
.vertical-page--jt .vertical-info-card h3,
.vertical-page--jt .vertical-step h3,
.vertical-page--jt .section-header h2 {
    color: #042f1f;
}

.vertical-page--jt .vertical-about-text h2 span,
.vertical-page--jt .vertical-final-content h2 span,
.vertical-page--jt .section-header.compact h2 span,
.vertical-page--jt .highlight {
    color: #0B6B49;
}

.vertical-page--jt .vertical-diff,
.vertical-page--jt .vertical-metrics-box {
    background: linear-gradient(135deg, #042f1f 0%, #021b12 100%);
}

.vertical-page--jt .btn-primary {
    background: #ffffff;
    border-color: #ffffff;
    color: #042f1f;
}

.vertical-page--jt .btn-primary:hover {
    background: #eaf4ef;
    border-color: #eaf4ef;
    color: #042f1f;
}

body.is-jt-seguros .vertical-info-card {
    min-height: 210px;
    background: #ffffff;
    border: 1px solid rgba(4, 47, 31, .12);
    border-radius: 14px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 8px 28px rgba(4, 47, 31, .07);
    transition: box-shadow .25s ease, border-color .25s ease;
}

body.is-jt-seguros .vertical-info-card:hover {
    border-color: rgba(4, 47, 31, .35);
    box-shadow: 0 16px 40px rgba(4, 47, 31, .13);
}

body.is-jt-seguros .vertical-info-card.reveal,
body.is-jt-seguros .vertical-step.reveal,
body.is-jt-seguros .vertical-diff-grid article.reveal,
body.is-jt-seguros .vertical-about-text.reveal,
body.is-jt-seguros .vertical-about-card.reveal,
body.is-jt-seguros .vertical-final-content.reveal {
    opacity: 1 !important;
    transition: none;
}

/* ===========================
   RESPONSIVO
=========================== */
@media (max-width: 1100px) {
    .vertical-card-grid.six { grid-template-columns: repeat(3, 1fr); }
    .vertical-about-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
    .vertical-card-grid.six,
    .vertical-diff-grid,
    .vertical-metrics-box { grid-template-columns: 1fr; }

    .vertical-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .vertical-step {
        padding: 24px 14px 20px;
    }
    .vertical-step img {
        width: 64px;
        height: 64px;
        object-fit: contain;
        display: block;
        margin: 0 auto 12px;
    }
    .vertical-diff-grid article,
    .vertical-metrics-box div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
    .vertical-diff-grid article:last-child,
    .vertical-metrics-box div:last-child { border-bottom: 0; }
    .vertical-actions .btn { width: 100%; justify-content: center; }

    .clientes-section { padding: 36px 0; }
    .clientes-carousel {
        -webkit-mask: none;
        mask: none;
        transform: translateZ(0);
    }
    .clientes-track .cliente-item { margin-right: 40px; }
    .cliente-item--grande img {
        height: 68px;
        max-width: 160px;
    }

    body.is-jt-seguros .vertical-final-cta {
        background-image: none;
        min-height: unset;
    }
    body.is-jt-seguros .vertical-final-cta::before {
        display: none;
    }

    .menu-item-has-children .sub-menu { position: static; box-shadow: none; background: rgba(255,255,255,.05); }
    .menu-item-has-children.open .sub-menu { display: block; }
    .menu-item-has-children .sub-menu a { color: rgba(255,255,255,.75); }
}
