/* Estilização Geral */
body {
    background-color: #2d2d2d;
    margin: 0;
    padding: 0;
}

/* Força o alinhamento vertical de todos os links no header */
header nav a, 
header nav .group button {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Ajuste do Hero (Altura 450px) */
.hero-section {
    position: relative;
    height: 450px; 
    overflow: hidden;
    width: 100%;
}

@media (max-width: 768px) {
    .hero-section {
        height: 380px;
    }
}

.hero-slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 10;
}

/* CAMADA DE CLARIDADE COM GRADIENTE SUAVE */
.overlay {
    /* Gradiente que escurece apenas o suficiente para dar leitura ao texto */
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

/* EFEITO GLASSMORPHISM NOS BOTÕES DO HERO */
.btn-glass {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-glass:hover {
    backdrop-filter: blur(15px);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Animação suave para o dropdown */
.animate-fade-in {
    animation: fadeIn 0.2s ease-in-out forwards;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.carousel-indicator.active {
    background-color: #f58220 !important;
    opacity: 1 !important;
}

/* Efeito de destaque nas marcas */
.grayscale {
    filter: grayscale(100%);
}

.grayscale:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Garante que o fundo cinza claro contraste com o conteúdo */
.bg-gray-50 {
    background-color: #f9fafb;
}

/* Efeito de destaque nos números do Passo a Passo */
.text-balance {
    text-wrap: balance; /* Garante que o texto de descrição não fique com linhas muito desiguais */
}

/* Animação de entrada suave quando o mouse passa nos passos */
.group:hover span {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}