/*
 Theme Name: Astra Child
 Theme URI: https://voximmigration.com/blog-post/
 Description: Tema filho para o blog da VOX Immigration.
 Author: [Seu Nome]
 Author URI: https://voximmigration.com/
 Template: astra
 Version: 1.0.0
 Text Domain: astra-child
*/

/* Estilos personalizados para aprimorar UI/UX e eficiência do Bootstrap */
body {
    font-family: 'Inter', sans-serif;
    color: #333; /* Cor de texto padrão para melhor contraste */
    line-height: 1.6; /* Aumenta a altura da linha para melhor legibilidade */
}

/* Header */
.header {
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Transição para suavizar a mudança */
}

.header .top-bar {
    background-color: #1a1a1a !important; /* Escurece um pouco para maior contraste */
    color: #f8f9fa;
    font-size: 0.85rem; /* Texto menor para um visual mais clean */
}

.header .navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08); /* Sombra mais suave */
    background-color: rgba(255, 255, 255, 1); /* Fundo branco sólido por padrão */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Transição para suavizar a mudança */
}

/* Estilo do header quando a página é rolada */
.header-scrolled .navbar {
    background-color: rgba(255, 255, 255, 0.9); /* Levemente transparente */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Sombra mais pronunciada */
}

.navbar-brand img {
    height: 50px; /* Ajusta o tamanho do logo */
}

.nav-link {
    padding: 0.5rem 0.8rem; /* Ajusta padding para um visual mais suave */
    transition: color 0.3s ease; /* Transição suave na cor */
    font-size: 0.9rem; /* Fonte um pouco menor */
}

.nav-link:hover {
    color: #dc3545 !important; /* Cor de destaque no hover */
}

/* Botões */
.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    padding: 0.6rem 1.5rem; /* Tamanho mais suave para botões */
    border-radius: 8px; /* Bordas levemente arredondadas */
    font-weight: 600; /* Peso da fonte */
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.2); /* Sombra sutil para profundidade */
    font-size: 0.95rem; /* Tamanho da fonte do botão */
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
    transform: translateY(-2px); /* Efeito de leve elevação no hover */
    box-shadow: 0 6px 12px rgba(220, 53, 69, 0.3); /* Sombra mais pronunciada no hover */
}

.btn-outline-danger {
    border-color: #dc3545;
    color: #dc3545;
    padding: 0.6rem 1.5rem; /* Tamanho mais suave para botões */
    border-radius: 8px; /* Bordas levemente arredondadas */
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    font-size: 0.95rem; /* Tamanho da fonte do botão */
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    color: #fff;
    transform: translateY(-2px);
}

/* Ajuste específico para o botão no navbar */
.navbar-collapse .btn {
    padding: 0.5rem 1.2rem; /* Botão do navbar menor e menos chamativo */
    font-size: 0.85rem;
}

/* Seções com Imagem de Fundo */
.section-with-bg {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.section-with-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Overlay escuro padrão */
    z-index: 1;
}

.section-with-bg .container {
    position: relative;
    z-index: 2;
}

/* Hero Section */
.hero {
    background-image: url('img/hero-vox-2.jpg'); /* Imagem de fundo para a seção Hero */
    min-height: 75vh; /* Ajustado para dar mais espaço */
    display: flex;
    align-items: center;
    justify-content: center; /* Centraliza verticalmente o conteúdo */
    padding-top: 240px; /* Ajuste o padding superior */
    padding-bottom: 100px; /* Ajuste o padding inferior */
}

.hero h1 {
    font-size: 2.5rem; /* Aumenta ligeiramente para melhor leitura */
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #fff;
    padding-top: 60px; /* Ajuste o padding superior */
}

.hero p {
    font-size: 1.2rem; /* Aumenta ligeiramente para melhor leitura */
    max-width: 700px; /* Aumenta a largura máxima para melhor quebra de linha */
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    color: #fff;
    margin-bottom: 2.5rem; /* Ajusta o espaçamento inferior */
}

/* Power Numbers */
.power-numbers {
    padding-top: 3rem; /* Ajusta o padding superior da seção */
    padding-bottom: 3rem; /* Ajusta o padding inferior da seção */
}
.power-numbers .number-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.power-numbers .number-card:hover {
    transform: translateY(-3px);
}

.power-numbers .number {
    font-size: 3.2rem;
    margin-bottom: 0.3rem;
    font-weight: 800;
}

.power-numbers .label {
    font-size: 1.05rem;
    color: #6c757d;
}

/* Services Section */
.services h2, .other-visas h2, .process h2, .about h2, .faq h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.services p.lead, .other-visas p.lead, .process p.lead, .faq p.lead {
    font-size: 1.05rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

.services .card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.services .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}

.services .icon-box {
    width: 60px !important;
    height: 60px !important;
    font-size: 1.5rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
    border-radius: 10px;
}

.services .card-title {
    color: #343a40;
    font-size: 1.3rem;
    font-weight: 600;
}

.services .card-text {
    min-height: 90px;
    font-size: 0.9rem;
    color: #555;
}

/* Process Section (Parallax) */
.process-section-bg {
    background-image: url('img/paralax-vox.jpg'); /* Imagem de fundo para a seção Processo */
    background-attachment: fixed; /* Efeito Parallax para desktop */
    background-position: center center; /* Garante centralização */
    min-height: 90vh; /* Aumenta a altura mínima para o parallax e evitar vazamento */
    padding-top: 5rem; /* Ajusta o padding para melhor visualização */
    padding-bottom: 5rem; /* Ajusta o padding para melhor visualização */
    overflow: hidden; /* Garante que o fundo não vaze */
}

.process-section-bg::before {
    background-color: rgba(0, 0, 0, 0.5); /* Ajusta a opacidade do overlay para o parallax */
}

/* Textos da seção parallax */
.process-section-bg h2,
.process-section-bg p.lead {
    color: #fff; /* Cor branca para os textos maiores */
}
/* O h3 já era vermelho, então não precisa de alteração aqui */

.process-step {
    padding: 1.6rem;
    background-color: rgba(255, 255, 255, 0.9); /* Fundo semi-transparente para os cards */
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.process-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.process-step .step-number {
    width: 75px !important;
    height: 75px !important;
    font-size: 2rem !important;
    margin-bottom: 1rem;
    border-radius: 10px;
}

.process-step h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
}

.process-step p {
    font-size: 0.85rem;
    color: #555;
}

/* About Section */
.about img {
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.about p {
    font-size: 0.95rem;
    color: #555;
}

/* FAQ Section (Revertido para estilo sem imagem de fundo) */
.faq {
    background-color: #fff;
    color: #333;
}

.faq h2, .faq p.lead {
    color: #343a40;
}

.accordion-item {
    border-radius: 12px;
    margin-bottom: 0.7rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid #eee;
}

.accordion-button {
    background-color: #f8f9fa;
    color: #343a40;
    font-size: 0.95rem;
    padding: 0.9rem 1.1rem;
    border-radius: 12px;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background-color: #dc3545;
    color: #fff;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.accordion-body {
    padding: 1.1rem;
    border-top: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: #555;
}

/* Footer */
.footer {
    background-color: #1a1a1a !important;
    color: #f8f9fa;
    padding: 3rem 0;
}

.footer h3, .footer h5 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer p {
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer .social-links a {
    color: #f8f9fa;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    text-decoration: none;
}

.footer .social-links a:hover {
    color: #dc3545;
}

.footer .list-unstyled {
    padding-left: 0;
    list-style: none;
}

.footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

.footer .list-unstyled a {
    color: rgba(248, 249, 250, 0.75);
    transition: color 0.3s ease;
    font-size: 0.85rem;
    text-decoration: none;
}

.footer .list-unstyled a:hover {
    color: #dc3545;
}

.footer .contact-item span {
    color: rgba(248, 249, 250, 0.75);
    font-size: 0.85rem;
}

.footer .contact-item i {
    color: #dc3545;
    margin-right: 0.5rem;
}

/* Media Queries para Responsividade */
@media (max-width: 991.98px) {
    .hero {
        min-height: 65vh; /* Ajuste para telas menores */
        padding-top: 300px; /* Ajuste o padding superior no mobile */
        padding-bottom: 80px; /* Ajuste o padding inferior no mobile */
    }
    .hero h1 {
        font-size: 2rem; /* Reduz o tamanho da fonte no mobile */
    }
    .hero p {
        font-size: 1.05rem; /* Reduz o tamanho da fonte no mobile */
    }
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    .navbar-nav .nav-item {
        margin: 0.3rem 0;
    }
    .navbar-collapse .btn {
        width: 100%;
        margin-top: 1rem;
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    .footer .text-lg-end {
        text-align: center !important;
        margin-top: 2rem;
    }
    .process-section-bg {
        min-height: 65vh; /* Ajuste para mobile */
    }
}

@media (max-width: 767.98px) {
    .top-bar {
        display: none; /* Oculta a barra superior no mobile */
    }
    .hero {
        /* Aumenta o padding superior para garantir que o conteúdo não seja cortado */
        padding-top: 120px; /* Ajustado para dar mais espaço acima do texto */
        padding-bottom: 80px; /* Mantém um bom padding inferior */
        min-height: 70vh; /* Aumenta a altura mínima para dar mais espaço no mobile */
    }
    .hero h1 {
        font-size: 1.8rem; /* Mais redução para mobile pequeno */
    }
    .hero p {
        font-size: 1rem; /* Mais redução para mobile pequeno */
    }
    .power-numbers .number {
        font-size: 2.5rem;
    }
    .power-numbers .label {
        font-size: 0.85rem;
    }
    .services h2, .other-visas h2, .process h2, .about h2, .faq h2 {
        font-size: 1.8rem;
    }
    .services p.lead, .other-visas p.lead, .process p.lead, .faq p.lead {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    .process-step .step-number {
        width: 65px !important;
        height: 65px !important;
        font-size: 1.6rem !important;
    }
    .process-section-bg {
        /* Para mobile, vamos usar background-attachment: scroll e controlar a posição via JS */
        background-attachment: scroll; /* Garante que não haja comportamento fixed nativo */
        min-height: 65vh; /* Ajuste para mobile pequeno, um pouco mais de altura */
    }
}