/* --- DEFINIÇÕES GERAIS DA ASA CONSULTING --- */
:root {
    --asa-gold: #e6a545;
    /* Tom dourado aproximado do PDF */
    --asa-gold-dark: #c5882e;
    --asa-dark-bg: #1a1a1a;
    /* Fundo quase preto */
    --asa-footer-bg: #222222;
    --asa-white: #ffffff;
    --asa-blue: #2e4e61;
    --asa-gradient: linear-gradient(90deg, #c5882e 0%, #f9d478 50%, #c5882e 100%);
    --asa-box-contador: #efefef;
    --asa-box-sobre: #b0b2b3;
}

body {
    font-family: 'Montserrat', sans-serif;
    /* Fonte sugerida, configure no Helix Typography */
    /* background-color: var(--asa-dark-bg); */
    color: var(--asa-white);
}

.fa-rotate-69 {
    transform: rotate(69deg);
}

.com-content-article__body {
    position: relative;
    top: -15px;
}

.com-content-article__body p {
    margin-bottom: 0;
}

/* Oculta os detalhes dos artigos */
.article-details .article-header {
    display: none;
}

.sobre-nos {
    background-color: var(--asa-box-sobre);
}

/* Títulos com cor Dourada se necessário */
h1, h2, h3, h4, h5, h6 {
    color: var(--asa-white);
}

/****************** Estilos do Menu ********************/
.sp-megamenu-parent>li>a, .sp-megamenu-parent>li>span {
    line-height: 0px;
}

.sp-megamenu-parent>li>a {
    color: var(--asa-dark-bg);
}

.sp-megamenu-parent>li:hover>a {
    color: var(--asa-gold-dark);
}

.sp-megamenu-parent>li.active>a, .sp-megamenu-parent>li.active:hover>a {
    color: var(--asa-dark-bg);
    font-weight: bold;
    box-sizing: border-box;
    padding: 10px;
    line-height: 10px;
    border-top: 1px solid var(--asa-gold-dark);
    border-bottom: 1px solid var(--asa-gold-dark);
    border-left: 2px solid var(--asa-gold-dark);
    border-right: 2px solid var(--asa-gold-dark);
}

/* Botões Estilo ASA */
.btn-asa {
    background: var(--asa-gradient);
    color: #000;
    font-weight: bold;
    border: none;
    padding: 10px 25px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-asa:hover {
    filter: brightness(1.1);
    color: #000;
}



/* --- JSHOPPING CUSTOMIZAÇÃO ASA --- */

/* Grid de Produtos (Layout Escuro) */
.jshop_list_product .block_product {
    background-color: #2a2a2a;
    /* Fundo do card */
    border: 1px solid #444;
    margin-bottom: 30px;
    position: relative;
    transition: transform 0.3s;
}

.jshop_list_product .block_product:hover {
    transform: translateY(-5px);
    border-color: var(--asa-gold);
}

/* Imagem */
.jshop_list_product .image_block img {
    width: 100%;
    height: auto;
}

/* Título da Aeronave */
.jshop_list_product .name a {
    color: var(--asa-gold);
    font-size: 1.2rem;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
}

/* Etiqueta À VENDA (Overlay na imagem) */
.jshop_list_product .product_label {
    position: absolute;
    top: 10px;
    left: -5px;
    background: var(--asa-gold);
    color: #000;
    padding: 5px 15px;
    font-weight: bold;
    transform: skewX(-10deg);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

/* Botão Detalhes */
.jshop_list_product .buttons .btn {
    background: transparent;
    border: 1px solid var(--asa-gold);
    color: var(--asa-gold);
    width: 100%;
    margin-top: 10px;
}

.jshop_list_product .buttons .btn:hover {
    background: var(--asa-gold);
    color: var(--asa-dark-bg);
}

/*********** Contador animado de Números ************/
.asa-numbers-container {
    color: var(--asa-blue);
    background-color: var(--asa-box-contador);
}

/* Ajuste do Contador ASA */
.asa-numbers-container h3 {
    display: flex;
    align-items: baseline;
    font-weight: bold;
    justify-content: center;
    gap: 8px;
    /* Espacinho entre o "+ de" e o número */
}

.asa-numbers-texto {
    font-size: 20px;
}

/* Estilo do Prefixo (+ de) */
.asa-prefix {
    font-size: 0.5em;
    /* Tamanho reduzido */
    font-weight: 600;
    color: var(--asa-blue);
    position: relative;
    top: -5px;
    /* Ajuste fino vertical se necessário */
}

.asa-numbers-container h3, .asa-numbers-container h4 {
    color: var(--asa-blue);
}

.asa-numbers-container p {
    color: var(--asa-dark-bg);
}

/* --- Detalhe Azul no Rodapé do Módulo de Números --- */

.asa-numbers-container {
    position: relative;
    /* Necessário para fixar o detalhe azul na base */
    padding-bottom: 80px !important;
    /* Espaço extra para o detalhe não tapar o texto */
    overflow: hidden;
    /* Garante que nada sai fora da caixa arredondada */
}


.asa-numbers-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 34%;
    height: 55px;
    background-image: url(../../../images/asa/sobre_elementos_01.png);
    background-position: right bottom;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

/* Ajuste para Telemóveis (Mobile) */
@media (min-width: 1619px) {
    .asa-numbers-container::after {
        background-position: left bottom;
    }
}


@media (max-width: 767px) {
    .asa-numbers-container::after {
        width: 70%;
        /* No telemóvel fica um pouco mais largo para se notar */
        height: 45px;
        border-top-right-radius: 280px 55px;
    }

    .asa-numbers-container {
        padding-bottom: 60px !important;
    }
}

/* --- SEÇÃO SOBRE NÓS (ASA) --- */
/* --- LAYOUT SOBRE NÓS (FINAL) --- */
.asa-sobre-completo {
    background-color: var(--asa-box-sobre);
}

/* 1. Coluna da Imagem */
.asa-imagem-col {
    min-height: 700px;
    position: relative;
    z-index: 1;
}

.asa-bg-aviao {
    width: 100%;
    height: 100%;
    background-image: url(../../../images/asa/sobre_aviao.png);
    background-size: contain;
    background-position: left top;
    background-repeat: no-repeat;
}



/* 2. Coluna de Texto (Cinza e Curva) */
.asa-texto-col {
    /* background-color: #b0b2b3; */
    margin-left: -10%;
    /* Invasão sobre a imagem */
    border-top-left-radius: 250px;
    /* Curva da caixa */
    z-index: 2;
    position: relative;
    display: block;
    /* Essencial para o shape-outside funcionar */
    /* Padding ajustado para dar espaço mas permitir o fluxo */
    padding: 35px 40px 50px 60px;
}

/* 3. O Espaçador (Shape Outside) */
.asa-curve-spacer {
    float: left;
    width: 200px;
    height: 200px;
    shape-outside: ellipse(100% 92% at 0 0);
    margin-right: 4px;
    margin-bottom: 109px;
    opacity: 0;
    pointer-events: none;
}

/* 4. Títulos e Texto */
.asa-main-title {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.asa-sub-title {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.asa-description p {
    text-align: justify;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}

/* 5. Estilos Específicos dos Diretores (Restaurados) */

/* Ajuste de Quebra de E-mail */
.asa-directors-wrapper .email {
    overflow-wrap: break-word;
    /* Permite quebrar palavras muito longas se não houver espaço */
    word-wrap: break-word;
    /* Compatibilidade */
    word-break: normal;
    /* IMPORTANTE: Remove o corte no meio das letras */
    line-height: 1.2;
    /* Ajusta altura da linha para não ficar muito espaçado se quebrar */
    display: inline-block;
    /* Garante que o bloco de texto flua corretamente */
}

.asa-avatar {
    width: 100px;
    height: 132px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.asa-info {
    line-height: 1.4;
    font-size: 0.75rem;
    /* Texto pequeno para caber tudo */
    color: #222;
}

.asa-info i {
    width: 18px;
    /* Largura fixa para alinhar ícones */
    text-align: center;
    color: #444;
}

/* Ajuste Mobile */
@media (min-width: 1620px) and (max-width: 1860px) {
    .asa-bg-aviao {
        width: 115%;
    }
}

@media (min-width: 1460px) and (max-width: 1620px) {
    .asa-bg-aviao {
        width: 126%;
    }
}

@media (min-width: 1280px) and (max-width: 1460px) {
    .asa-bg-aviao {
        width: 130%;
    }
}

@media (min-width: 991px) and (max-width: 1280px) {
    .asa-bg-aviao {
        width: 140%;
    }
}

@media (max-width: 991px) {
    .asa-texto-col {
        margin-left: 0;
        border-top-left-radius: 0;
        padding: 40px 20px;
        margin-top: -50px;
        border-radius: 30px 30px 0 0;
    }

    .asa-curve-spacer {
        display: none;
    }

    /* Desliga a curva no mobile */
    .asa-imagem-col {
        min-height: 300px;
    }

    /* Alinha diretores à esquerda no mobile */
    .text-md-end {
        text-align: left !important;
    }
}


/* --- AJUSTES DE CONTEÚDO E DIFERENCIAIS --- */

/* --- LAYOUT PÁGINA CONSULTORIA --- */

/* 1. Barra de Título (Retângulo Cinza Full-Width) */
.asa-title-bar {
    width: 100%;
    background-color: var(--asa-box-sobre);
    padding: 20px 0;
    text-align: center;
    color: var(--asa-dark-bg);
}



.asa-title-bar p {
    text-align: left;
    font-size: 21px;
}

.asa-page-title {
    color: var(--asa-blue);
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    padding: 1%;
    letter-spacing: 1px;
}

/* 2. Secção Principal (Container do Layout) */
.asa-consultoria-section {
    position: relative;
    /* Importante para as imagens laterais */
    padding: 60px 0;
    background-color: #ffffff;
    overflow-x: hidden;
    /* Evita rolagem lateral se a imagem sair um pouco */
}

/* 3. Elementos Decorativos (Full Width / Fora do Container) */
.asa-deco-img {
    position: absolute;
    z-index: 1;
    max-width: 250px;
    pointer-events: none;
}

.asa-deco-left {
    top: 0;
    left: 0;
    /* Cola na esquerda da tela */
}

.asa-deco-right {
    bottom: 0;
    /* Ou 'top: 50%' se quiser no meio */
    right: 0;
    /* Cola na direita da tela */
}

/* 4. Texto Geral (Preto) */
.asa-consultoria-text {
    position: relative;
    z-index: 5;
    /* Garante que o texto fica sobre as imagens */
    color: #000000;
    /* Letra preta como pedido */
    font-size: 1rem;
    line-height: 1.8;
}

.asa-consultoria-text p {
    margin-bottom: 0.15rem;
}

.btn-primary-custom {
    color: var(--asa-gold-dark);
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 30px;
    margin-bottom: 20px;
}

.asa-consultoria-titulo-h3 {
    text-align: center;
}

.asa-consultoria-titulo-h3>h3 {
    display: inline-block;
    background-color: var(--asa-blue);
    color: var(--asa-white);
    padding: 1% 10%;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-top: 2rem;
}

.asa-consultoria-text h4, .fa-rotate-69 {
    display: inline-block;
    color: var(--asa-blue);
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 20px;
}

.asa-consultoria-list {
    list-style-type: disc;
    padding: 0 25%;
    text-align: left;
}

/* --- NOVO ESTILO: QUADRO DIFERENCIAIS (IDÊNTICO À IMAGEM) --- */

.asa-diff-outer-wrapper {
    background-color: #dadada;
    /* Cinza da borda externa */
    border-radius: 30px;
    /* Arredondamento externo */
    padding: 40px 15px 15px 15px;
    /* Padding topo maior para o título encaixar */
    position: relative;
    margin-top: 60px;
    /* Espaço para não colar no conteúdo acima */
    max-width: 1100px;
    /* Largura máxima para não esticar demais */
    margin-left: auto;
    margin-right: auto;
}

/* A Aba Branca do Título */
.asa-diff-title-pill {
    background-color: #ffffff;
    width: fit-content;
    margin: 0 auto;
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    padding: 12px 60px;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.asa-diff-title-pill h3 {
    margin: 0;
    color: var(--asa-blue);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

/* A Caixa Azul Interna */
.asa-diff-inner-blue {
    background-color: #004a63;
    /* Azul Petróleo Escuro da imagem (ajuste se preferir var(--asa-blue)) */
    /* Se quiser usar a variável exata: background-color: var(--asa-blue); */
    border-radius: 20px;
    padding: 50px 30px 30px 30px;
    color: #ffffff;
}

/* Colunas e Separador */
.asa-diff-col {
    padding: 0 30px;
}

/* Linha Dourada Vertical */
.asa-diff-separator {
    border-right: 3px solid var(--asa-gold);
}

/* Lista de Itens */
.asa-diferenciais-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.asa-diferenciais-list li {
    margin-bottom: 20px;
    display: block;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #e0e0e0;
    /* Branco levemente cinza para leitura */
}

/* O Ponto Dourado (Bullet) */
.asa-bullet {
    color: var(--asa-gold);
    font-size: 1.5rem;
    line-height: 1rem;
    /* Ajuste para alinhar verticalmente com o texto */
    margin-right: 12px;
    font-weight: bold;
}

/* Títulos dos itens (Experiência, Localização...) */
.asa-strong {
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
}

.asa-footer-bar {
    left background-image: url(/../images/asa/consultoria_banner.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    width: 100%;
    height: 30vh;
    top: 15px;
}

.mod-languages {
    position: relative;
    top: 30px;
}

.mod-languages .btn-secondary {
    background-color: transparent !important;
    color: var(--asa-blue);
    border: 0;
    font-size: 14px;
}

.mod-languages .btn-secondary img {
    border-radius: 50% 50%;
}

/* Responsividade (Celular e Tablet Vertical) */
@media (max-width: 768px) {
    .asa-diff-outer-wrapper {
        padding-top: 50px;
        /* Mais espaço para o título não cortar */
        margin-top: 50px;
    }

    .asa-diff-title-pill {
        width: 90%;
        /* Ocupa quase tudo no celular */
        padding: 15px 10px;
        text-align: center;
    }

    .asa-diff-title-pill h3 {
        font-size: 1.1rem;
    }

    /* Remove a linha vertical no celular e adiciona margem */
    .asa-diff-separator {
        border-right: none;
        border-bottom: 2px solid var(--asa-gold);
        /* Linha horizontal */
        margin-bottom: 30px;
        padding-bottom: 30px;
    }

    .asa-diff-col {
        padding: 0 10px;
    }
}