:root {
    /* color */
    --Primary: #0093b4;
    --Secondary: #020022;
    --font-main2: "Red Hat Display", sans-serif;
    --font-main3: "Manrope", sans-serif;
    --font-main4: "Rethink Sans", sans-serif;
    --font-main5: "IBM Plex Sans", sans-serif;
    --font-main6: "Urbanist", sans-serif;
} 

/* Page: Clientes — sector icons size */
.tf-box-icon.style-2 .icon {
    font-size: 45px;
    color: var(--Primary);
    margin-bottom: 10px;
}

.font-2 {
    font-family: var(--font-main2);
}

.font-3 {
    font-family: var(--font-main3); 
}

.font-4 {
    font-family: var(--font-main4);
}

.font-5 {
    font-family: var(--font-main5);
}
 
.font-6 {
    font-family: var(--font-main6);
}

.parallax-video {
    position: relative;
    line-height: 0;
}

.parallax-video::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

/* Home — Hero: texto centralizado verticalmente, barra de suporte colada no bottom */
.hero-banner-3 .content > .tf-container:first-child {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 0;
}

.parallax-video .video-inner {
    width: 100%;
    height: 90vh; 
    display: block; 
    object-fit: cover;
}

.main-menu .navigation > li:hover::after {
    color: var(--Secondary);
}

.tf-box-icon.style-2 {
    border-top: 1px solid var(--Line);
}

/* Video section — better framing and centered play button */
.section-about-1 .widget-video .parallax-image {
    height: 90vh;
}

.section-about-1 .widget-video .image-inner {
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.section-about-1 .widget-video .popup-youtube {
    top: 25%;
    bottom: 0;
}

@media (max-width: 1199px) {
    .section-about-1 .widget-video .parallax-image {
        height: 420px;
    }
}

/* ================================================
   Section: Por que o CTBC — adapta a imagem landscape
   ao container portrait do section-why
   ================================================ */
.section-why .thumbs img {
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

@media (max-width: 767px) {
    .section-about-1 .widget-video .parallax-image {
        height: 260px;
    }
}

/* ================================================
   Page: Contato
   ================================================ */

/* Hero — expandido para conter o bloco intro */
.page-layout-ctbc .content { padding: 95px 0 70px; }
@media (max-width: 1199px) { .page-layout-ctbc .content { padding: 90px 0 56px; } }
@media (max-width: 991px)  { .page-layout-ctbc .content { padding: 80px 0 48px; } }

/* Tag pill dentro do hero */
.ctbc-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    padding: 6px 16px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}
.ctbc-hero-tag i { color: var(--Primary); font-size: 14px; }

/* Descricao no hero */
.ctbc-hero-desc {
    max-width: 520px;
    font-size: 15px;
    line-height: 1.65;
    opacity: 0.8;
}

/* Secao principal — fundo branco */
.section-ctbc-contact { background-color: #ffffff; }

/* Heading titulo — padrao insurance */
.section-ctbc-contact .heading-title { /*border-bottom: 1px solid var(--Line);*/ padding-bottom: 40px; }
.section-ctbc-contact .heading-title .title { color: var(--Primary); }

/* Cabecalho do formulario */
.ctbc-form-heading h4 { color: var(--Text-primary); }

/* Labels do formulario — fundo claro */
.ctbc-form-label {
    display: block;
    color: var(--Text-secondary, #474747);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
}
.ctbc-required { color: var(--Primary); }

/* Inputs — padrao claro (herda styles.css, sem override) */
.section-ctbc-contact select.style-line-bottom { -webkit-appearance: none; appearance: none; cursor: pointer; }

/* Botao menor */
.ctbc-btn-sm { height: 44px !important; font-size: 14px !important; }

/* Botao PDF — estilo secundario com borda primaria */
.ctbc-btn-pdf {
    background-color: transparent;
    border: 1.5px solid var(--Primary);
    color: var(--Primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}
.ctbc-btn-pdf:hover {
    background-color: var(--Primary);
    color: #ffffff;
}

/* Card contato geral — clean, sem borda/padding externos */
.ctbc-info-card {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 28px;
}
.ctbc-info-card .card-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--Primary);
    margin-bottom: 14px;
}

/* Linha com 2 itens lado a lado */
.ctbc-info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ctbc-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    /*padding: 14px;
    background: #EBF7FA;
    border-radius: 12px;*/
    list-style: none;
}
.ctbc-info-item:last-child { border-bottom: none; padding-bottom: 14px; }
.ctbc-info-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0, 147, 180, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--Primary);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}
.ctbc-info-label {
    font-size: 11px;
    color: var(--Primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
}
.ctbc-info-value {
    color: var(--Text-primary, #0a0a0a);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    display: block;
}
.ctbc-info-value:hover { color: var(--Primary); }
.ctbc-info-sub { color: var(--Text-secondary, #474747); font-size: 12px; }

/* Titulo secao contatos diretos */
.section-title-small {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--Primary);
    margin-bottom: 14px;
    display: block;
}

/* Grid 2 colunas para os cards de equipe */
.cp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* Cards de equipe — sem fundo, apenas borda */
.contact-person {
    padding: 14px 16px;
    background: transparent;
    border: 1px solid rgba(0, 147, 180, 0.25);
    border-radius: 12px;
    transition: border-color 0.25s ease, background 0.25s ease;
}
.contact-person:hover {
    border-color: var(--Primary);
    background: rgba(0, 147, 180, 0.04);
}
.cp-info { min-width: 0; }
.cp-name { font-weight: 600; color: var(--Text-primary, #0a0a0a); font-size: 15px; margin-bottom: 2px; }
.cp-role { font-size: 11px; color: var(--Text-secondary, #474747); margin-bottom: 8px; }
.cp-contacts { display: flex; flex-direction: column; gap: 3px; }
.cp-contacts a {
    font-size: 11px;
    color: var(--Text-secondary, #474747);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}
.cp-contacts a:hover { color: var(--Primary); }
.cp-contacts i { color: var(--Primary); font-size: 12px; flex-shrink: 0; }

/* Card reclamacoes / PDF — fundo azul clarinho */
.ctbc-appeal-card {
    background: #EBF7FA;
    border: 1px solid rgba(0, 147, 180, 0.15);
    border-radius: 14px;
    padding: 22px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 28px;
}
.appeal-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0, 147, 180, 0.1);
    border: 1px solid rgba(0, 147, 180, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--Primary);
    font-size: 22px;
    flex-shrink: 0;
}
.appeal-body { flex: 1; }
.appeal-title { color: var(--Text-primary, #0a0a0a); font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.appeal-text { color: var(--Text-secondary, #474747); font-size: 13px; line-height: 1.5; margin-bottom: 14px; }

/* Mapa — fundo neutro claro */
.ctbc-map-section { background: var(--Bg-light); }
.ctbc-map-address {
    padding: 28px 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--Text-secondary, #474747);
    font-size: 14px;
}
.ctbc-map-address i { color: var(--Primary); font-size: 20px; }
.ctbc-map-address strong { color: var(--Text-primary, #0a0a0a); }

/* ================================================
   Page: Escopos de Acreditação
   ================================================ */

/* Ícone outline com cor primária CTBC */
.section-benefit .tf-box-icon.style-3 .icon {
    color: var(--Primary);
}

/* Linha de meta-dados — bem pequena, discreta */
.ctbc-escopo-meta {
    margin-bottom: 14px;
    font-size: 10px;
    font-weight: 600;
    color: var(--Text-muted, #a2a4ab);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    line-height: 1.6;
}

/* Link "Solicitar proposta" abaixo de cada escopo */
.ctbc-escopo-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--Primary);
    text-decoration: none;
}

.ctbc-escopo-link i {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.ctbc-escopo-link:hover {
    color: var(--Primary);
    opacity: 0.8;
}

.ctbc-escopo-link:hover i {
    transform: translate(2px, -2px);
}

/* ================================================
   Sobre: callout boxes (Acreditação INMETRO, Compromisso de imparcialidade)
   ================================================ */
.ctbc-callout {
    background: #eef2fb;
    border-left: 4px solid var(--Primary);
    padding: 24px 28px;
    border-radius: 0 8px 8px 0;
    margin-top: 24px;
}
.ctbc-callout-title {
    color: var(--Primary);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
}

/* Sobre: 4° célula do grid (OCP 0073) */
.box-about .bg-accent {
    background-color: #eef2fb;
}
.box-about .bg-accent .counter {
    color: var(--Primary);
}
.ctbc-map-iframe { display: block; width: 100%; height: 280px; border: 0; }

/* ================================================
   Sobre2: section-why — layout 40/60, fonte 18px, espaçamento
   ================================================ */
.section-why .tf-box-icon.style-1 {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}
.section-why .tf-box-icon.style-1 .box {
    flex: 0 0 38%;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-why .tf-box-icon.style-1 .box h5 {
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
    margin: 0;
}
.section-why .tf-box-icon.style-1 > p {
    flex: 1;
    margin: 0;
    padding-top: 2px;
}

/* ================================================
   Sobre2: section-about — hover botão: azul escuro + texto branco
   ================================================ */
.section-about .tf-btn.btn-hover-animate-2:hover span:first-child {
    color: #fff !important;
}
.section-about .tf-btn.btn-hover-animate-2 .bg-effect {
    background: var(--Secondary);
}

/* ================================================
   Sobre2: Print 5 — img-style no grid 2x2 mesmo tamanho dos counter-items
   ================================================ */
.box-about .img-style {
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
.box-about .img-style img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================================================
   Sobre2: Print 6 — botão branco com texto primário na missão
   ================================================ */
.col-content.mission .tf-btn.btn-bg-white span {
    color: var(--Primary);
}

/* btn-bg-white hover: fundo escuro + texto branco legível */
.tf-btn.btn-bg-white .bg-effect {
    background: var(--Secondary);
}
.tf-btn.btn-bg-white:hover span:first-child {
    color: #ffffff !important;
}

/* ================================================
   Home — Escopos Acreditados: painel de detalhe
   ================================================ */
.scope-detail-name {
    font-size: 18px;
    font-weight: 500;
    color: var(--Secondary, #020022);
    margin-bottom: 6px;
}

.scope-detail span {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    margin-top: 15px;
}

.scope-portaria {
    display: inline-block;
    margin-top: 4px;
    font-size: 16px;
    font-weight: 600;
    color: var(--Primary, #0093b4);
    text-decoration: underline;
}

/* ================================================
           Home — Escopos Acreditados
           ================================================ */

        /* Fundo claro na seção inteira — só o card fica branco */
        .section-escopos {
            background: #f6f7f9;
        }

        /* Card envolvendo as tabs + painel de detalhe */
        .scope-card-wrap {
            background: #fff;
            border-radius: 10px;
                padding: 28px 42px 45px;
            box-shadow: 0 1px 4px rgba(0,0,0,0.06);
        }

        /* Uma linha só, scroll horizontal em telas pequenas */
        .scope-grid {
            display: flex;
            gap: 4px;
            margin-bottom: 12px;
            overflow-x: auto;
        }

        /* Card: coluna centralizada, linha indicadora no bottom */
        .scope-card {
            flex: 1 0 0;
            min-width: 84px;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 22px 8px 0;
            text-align: center;
            cursor: pointer;
            background: transparent;
            border-bottom: 3px solid transparent;
            transition: border-color 0.22s ease;
        }
        .scope-card:hover,
        .scope-card.active {
            border-bottom-color: var(--Primary, #0093b4);
        }

        /* Badge redondo com ícone — teal por padrão */
        .scope-number {
            width: 33px;
            height: 33px;
            border-radius: 50%;
            background: var(--Primary, #0093b4);
            border: 1.5px solid var(--Primary, #0093b4);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 21px;
            color: #fff;
            margin-bottom: 12px;
            flex-shrink: 0;
            transition: background 0.22s ease, border-color 0.22s ease;
        }
        .scope-number i { line-height: 1; }
        .scope-card:hover .scope-number,
        .scope-card.active .scope-number {
            background: var(--Secondary, #020022);
            border-color: var(--Secondary, #020022);
        }

        /* Título 16px, centralizado verticalmente entre cards */
        .scope-content {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding-bottom: 14px;
        }
        .scope-name {
            font-size: 15px;
            font-weight: 500;
            color: #374151;
            line-height: 1.35;
            margin: 0;
            text-align: center;
            transition: color 0.22s ease, font-weight 0.22s ease;
        }
        .scope-card:hover .scope-name,
        .scope-card.active .scope-name {
            color: #020022;
            font-weight: 600;
        }

        .scope-card:hover, .scope-card.active {
            border-bottom-color: #020022;
        }

        /* Info panel — agora dentro do .scope-card-wrap */
        .scope-info {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            padding: 40px 8px 8px;
        }

        /* Efeito de movimento na troca de tab, exceto mobile */
        @keyframes scopeInfoChange {
            from { opacity: 0; transform: translateY(14px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @media (min-width: 768px) {
            .scope-info.is-updating {
                animation: scopeInfoChange 0.55s cubic-bezier(0.16, 1, 0.3, 1);
            }
        }

        .scope-badge {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: var(--Primary, #0093b4);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 36px;
            color: #fff;
            flex-shrink: 0;
            line-height: 1;
        }
        .scope-badge i { line-height: 1; }

        .scope-detail { flex: 1; }

.scope-footer {
            color: #6b7280;
            margin-top: 0;
        }
        .scope-footer .cor-azul {
            color: var(--Primary, #0093b4);
        }

/* ================================================
   Page: Conhecimento — section-resume light style
   ================================================ */
.section-resume,
.section-resume .wrap-resume {
    background-color: #edf6fa;
}
.section-resume .text_white {
    color: var(--Secondary, #020022) !important;
}
.section-resume .text_muted {
    color: #6b7280 !important;
}
.section-resume .wrap-resume-item:not(:first-child) .point::after {
    background-color: rgba(0, 147, 180, 0.2);
}
.section-resume .wrap-resume-item .point {
    background-color: #fff;
}
.section-resume .resume-item {
    border-top-color: rgba(0, 147, 180, 0.12);
}

.loop_body {
    margin: 5px;
    max-width: 100%;
}

.loop_input_search {
    font-size: 15px;
}

.twdata_list-group-item {
    position: relative;
    display: block;
    padding: 13px;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .125);
    font-size: 16px;
    border-radius: 10px !important;
    max-width: 97%;
}

/* ================================================
   Ajustes mobile — CTBC
   ================================================ */

/* Hero H1 responsivo: .f-44 é fixo em 44px, causa overflow em celular */
@media (max-width: 991px) {
    .ctbc-hero-intro h1.f-44 { font-size: 34px !important; line-height: 1.2 !important; }
}
@media (max-width: 575px) {
    .ctbc-hero-intro h1.f-44 { font-size: 26px !important; line-height: 1.25 !important; }
    .ctbc-hero-intro p.text-body-2 { font-size: 14px; }
}

/* Título de seção (h2.title) — evitar overflow em mobile */
@media (max-width: 575px) {
    .heading-section .title,
    .heading-section-5 .title { font-size: 26px !important; line-height: 1.25 !important; }
    .heading-section .title br,
    .heading-section-5 .title br,
    .ctbc-hero-intro h1 br { display: none; }
}

/* Formulário — aumentar toque em mobile e evitar zoom do iOS */
@media (max-width: 767px) {
    .form-contact input.style-line-bottom,
    .form-contact select.style-line-bottom,
    .form-contact textarea.style-line-bottom { font-size: 16px !important; }
    .form-contact .tf-btn { width: 100%; justify-content: center; }
}

/* Cards de contato/pessoas — respiro mobile */
@media (max-width: 767px) {
    .ctbc-info-card, .contact-person { padding: 20px; }
    .ctbc-info-row { flex-direction: column; gap: 16px; }
    .cp-contacts a { word-break: break-all; }
}

/* Mapa não ultrapassa a viewport */
.ctbc-map-iframe { width: 100%; min-height: 320px; border: 0; display: block; }
@media (max-width: 767px) { .ctbc-map-iframe { min-height: 260px; } }

/* Menu mobile — melhorar toque e alinhar botão CTA */
@media (max-width: 991px) {
    .mobile-nav-wrap .support .text-need { display: inline-block; padding: 12px 20px; background: var(--Primary, #0093b4); color: #fff !important; border-radius: 6px; margin-top: 12px; }
    .mobile-nav-wrap .mb-info li { padding: 6px 0; }
    .mobile-nav-wrap .item-menu-mobile { padding: 14px 0; }
}

/* Grid de escopos — não estourar em telas pequenas */
@media (max-width: 575px) {
    .scope-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
    .scope-card .scope-name { font-size: 12px !important; }
}

/* Container geral: garantir gutter mínimo em mobile */
@media (max-width: 575px) {
    .tf-container { padding-left: 16px !important; padding-right: 16px !important; }
    .p-50 { padding: 24px !important; }
}

/* Footer mobile: ajustes de espaçamento */
@media (max-width: 767px) {
    .footer .footer-body .row > [class^="col-"] { margin-bottom: 32px; }
    .footer-bottom .wrap-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .footer-bottom .wrap { padding-left: 0; margin-bottom: 0; }
}
