/* Botão Âncora - Container */
.botao-ancora-container {
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

/* Botão Âncora - Base */
.botao-ancora {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    min-width: 160px;
}

.botao-ancora:focus {
    outline: 2px solid #1f8563;
    outline-offset: 2px;
}

/* Estilo: Primário (Verde Preenchido) */
.botao-ancora--primary {
    background-color: #1f8563;
    color: #ffffff;
    border-color: #1f8563;
}

.botao-ancora--primary:hover {
    background-color: #1a6f52;
    border-color: #1a6f52;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 133, 99, 0.3);
}

.botao-ancora--primary:active {
    background-color: #176b4f;
    border-color: #176b4f;
    transform: translateY(0);
}

/* Estilo: Outline (Borda Verde) */
.botao-ancora--outline {
    background-color: transparent;
    color: #1f8563;
    border-color: #1f8563;
}

.botao-ancora--outline:hover {
    background-color: #1f8563;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 133, 99, 0.2);
}

.botao-ancora--outline:active {
    background-color: #1a6f52;
    border-color: #1a6f52;
    transform: translateY(0);
}

/* Responsividade */
@media (max-width: 768px) {
    .botao-ancora {
        padding: 12px 24px;
        font-size: 14px;
        min-width: 140px;
    }

    .botao-ancora-container {
        padding: 16px 0;
    }
}

@media (max-width: 480px) {
    .botao-ancora {
        width: 100%;
        max-width: 100%;
    }
}

/* Animação de scroll suave */
@keyframes highlight-target {
    0%, 100% {
        background-color: transparent;
    }
    50% {
        background-color: rgba(31, 133, 99, 0.1);
    }
}

.anchor-target-highlight {
    animation: highlight-target 1.5s ease-in-out;
}
