.page-title {
    position: relative;
    background-color: var(--color-primary);
    color: var(--color-hover-text);
    text-align: left;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 90% center;
    background-attachment: fixed;
}

.page-title .container {
    position: relative;  
    /* z-index: 2; */
}

.page-title h1 {
    font-family: 'Harabara', "Libre Franklin", sans-serif;
    font-weight: 700;
    margin: 0;
    text-align: left; /* Alinhar texto à esquerda */
    letter-spacing: 1px; /* Adiciona espaçamento entre as letras */
    white-space: pre-wrap; /* Permitir quebras de linha */
    word-break: break-word; /* Forçar quebras de linha em palavras longas */
}




@media (max-width: 768px) {
    .page-title {
        padding-top: 50px; /* Altura grande para desktop */
        background-position: center top; /* Ajusta o fundo */
        background-size: cover; /* Preenche todo o espaço */
        background-attachment: scroll; /* Remove o efeito de fixo no mobile */
    }
    .page-title h1 {
        font-size: 2rem; /* Reduz o tamanho do título no mobile */
        line-height: 1.4; /* Melhora o espaçamento no título */
    }
    .breadcrumb {
        display: flex;
        align-items: center;
        justify-content: left;
        margin-top: 10px;
        padding-bottom:  60px;
    }
    .breadcrumb span {
        color: var(--color-hover-text);
        font-size: 1rem;
    }

    .breadcrumb i {
        margin: 0 5px;
        color: var(--color-hover-text);
    }
    .breadcrumb i.fa-home {
        margin-right: 5px;
        margin-left: 0px;
        color: var(--color-hover-text); /* Ajuste a cor do ícone de casa */
    }
    
    .page-content {
        padding: 30px 0;
        margin-top: 0; /* Remove a margem superior no mobile */
        background-color: var(--color-background);
        color: var(--color-text);
    }

    .page-content h2 {
        font-size: 1.5rem;
    }

    .page-content p, 
    .page-content ul li {
        font-size: 1rem;
    }
    
    .rect-image {
        position: relative;
        width: 100%;
        height: 260px;
        background-size: cover;
        background-position: center;
        top: 0;
    }
    
}
@media (min-width: 769px) {
    .page-title {
        padding: 160px 0; /* Altura grande para desktop */
    }
    .page-title h1 {
        line-height: 1.2;
        font-size: 4rem; /* Tamanho do título para desktop */
    }
    .breadcrumb {
        display: flex;
        align-items: center;
        justify-content: left;
        margin-top: 60px;
    }
    .breadcrumb span {
        color: var(--color-hover-text);
        font-size: 1rem;
    }

    .breadcrumb i {
        margin: 0 5px;
        color: var(--color-hover-text);
    }
    
    .page-content {
        padding: 60px 0;
        background-color: var(--color-background);
        color: var(--color-text);
        margin-top: 120px;
    }
    .rect-image {
        position: absolute;
        top: 70%;
        right: 0;
        width: 50%;
        height: 420px;
        background-size: cover;
        background-position: center;
        z-index: 1;
        transform: translateY(-50%);
        border-top-left-radius: 170px;
        border-bottom-left-radius: 5px;
    }
    
}






.page-content .container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-content h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.page-content p {
    line-height: 1.6;
    color: var(--color-text);
}

.page-content ul {
    list-style-type: disc;
    margin-left: 20px;
}

.page-content ul li {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 10px;
    color: var(--color-text);
}

.page-content a.underline-effect {
    text-decoration: underline;
    color: var(--color-primary);
}

.page-content a.underline-effect:hover {
    text-decoration: none;
    color: var(--color-hover-text);
}








.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Fundo escurecido */
    display: flex; /* Mostra o modal */
    justify-content: center;
    align-items: flex-start; /* Alinha no topo para o efeito de "cair" */
    z-index: 9999;
    opacity: 0; /* Invisível por padrão */
    transform: translateY(-100%); /* Fora da tela inicialmente */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Suaviza as transições */
}

.modal.active {
    opacity: 1; /* Visível */
    transform: translateY(0); /* Move para a posição original */
}

.modal-content {
    position: relative;
    background: #fff;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 40px;
    box-shadow: none;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10000;
}

.close-modal::before,
.close-modal::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: #000;
    transform-origin: center;
    transition: background-color 0.3s ease;
}

.close-modal::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-modal::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.close-modal:hover::before,
.close-modal:hover::after {
    background-color: var(--color-secondary);
}

.modal.exiting {
    opacity: 0;
    transform: translateY(-100%); /* Retorna para fora da tela */
}




/* Quando o modal está ativo */
.modal.active .contact-info .container {
    display: grid; /* Continua usando Grid */
    grid-template-columns: 1fr; /* Força uma coluna */
    gap: 20px; /* Mantém o espaçamento */
    width: 100%; /* Garante que ocupa toda a largura do modal */
    margin: 0 auto; /* Centraliza o conteúdo */
}


/* Esconde o título para carregamento completo da página */
.ajax-title {
    display: none;
}

/* Mostra o título quando carregado no modal */
.modal .ajax-title {
    display: block;
    margin-bottom: 20px;
    color: var(--color-primary);

    font-family: 'Harabara', "Libre Franklin", sans-serif;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    text-align: left; /* Alinhar texto à esquerda */
    letter-spacing: 1px; /* Adiciona espaçamento entre as letras */
    font-size: 4rem; /* Diminuir tamanho da fonte */
    white-space: pre-wrap; /* Permitir quebras de linha */
    word-break: break-word; /* Forçar quebras de linha em palavras longas */
}

